:root {
  color-scheme: light;
  --ink: #241508;
  --ink-soft: #5f4a39;
  --muted: #8a715d;
  --orange: #ff6a00;
  --red: #d81f2a;
  --hairline: rgba(122, 62, 18, 0.13);
  --font-sans: "Segoe UI Variable Display", "Segoe UI", -apple-system, BlinkMacSystemFont, "Inter", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "SFMono-Regular", Menlo, Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: #fff8f2;
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(255, 106, 0, 0.22);
  color: var(--ink);
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(1100px 700px at 12% -5%, rgba(255, 143, 45, 0.11), transparent 65%),
    radial-gradient(900px 620px at 92% 104%, rgba(216, 31, 42, 0.07), transparent 65%);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
}

.blob-a {
  top: -150px;
  left: -130px;
  width: 500px;
  height: 500px;
  opacity: 0.5;
  background: radial-gradient(circle at 35% 35%, #ffb36b, rgba(255, 179, 107, 0) 70%);
  animation: drift 16s ease-in-out infinite alternate;
}

.blob-b {
  top: 10%;
  right: -140px;
  width: 440px;
  height: 440px;
  opacity: 0.35;
  background: radial-gradient(circle at 50% 50%, #ff8d7a, rgba(255, 141, 122, 0) 70%);
  animation: drift 20s ease-in-out infinite alternate-reverse;
}

.blob-c {
  bottom: -280px;
  left: 36%;
  width: 540px;
  height: 540px;
  opacity: 0.5;
  background: radial-gradient(circle at 50% 50%, #ffcfa1, rgba(255, 207, 161, 0) 72%);
  animation: drift 24s ease-in-out infinite alternate;
}

.dots {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: radial-gradient(rgba(146, 72, 18, 0.7) 1px, transparent 1.6px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(75% 65% at 50% 42%, #000 0%, transparent 100%);
  mask-image: radial-gradient(75% 65% at 50% 42%, #000 0%, transparent 100%);
}

.watermark {
  position: absolute;
  top: -90px;
  right: -90px;
  width: clamp(320px, 40vw, 560px);
  height: auto;
  opacity: 0.055;
  transform: rotate(-9deg);
  user-select: none;
}

.page {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(40px, 7vw, 96px);
  width: min(1060px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(40px, 7vh, 84px) 0 clamp(24px, 4vh, 48px);
}

.lockup {
  position: relative;
  display: flex;
  justify-self: center;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: clamp(8px, 1vw, 12px);
  border-radius: clamp(22px, 2.4vw, 32px);
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(122, 62, 18, 0.07),
    0 32px 64px -36px rgba(140, 48, 0, 0.4),
    0 10px 24px -18px rgba(90, 40, 0, 0.16);
}

.logo {
  display: block;
  width: clamp(190px, 20vw, 280px);
  height: auto;
}

.content {
  max-width: 520px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 106, 0, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #a73a06;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 8px 20px -16px rgba(163, 58, 6, 0.5);
  backdrop-filter: blur(10px);
}

.dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff7a00, #e11d2e);
  box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.13);
  animation: pulse 2.4s ease-in-out infinite;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(2.35rem, 4.6vw, 3.5rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-wrap: balance;
}

.grad {
  background: linear-gradient(105deg, #ff7a00 0%, #f0451f 48%, #d81f2a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.lede {
  max-width: 46ch;
  margin: 0 0 30px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.2vw, 1.075rem);
  line-height: 1.75;
  text-wrap: pretty;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn .icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-primary {
  background: linear-gradient(135deg, #ff7a00 0%, #f4471d 52%, #d81f2a 100%);
  color: #fff;
  box-shadow:
    0 16px 32px -16px rgba(216, 31, 42, 0.62),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.btn-ghost {
  border-color: var(--hairline);
  background: rgba(255, 255, 255, 0.72);
  color: #4e3826;
  box-shadow:
    0 12px 26px -22px rgba(90, 44, 4, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
}

.btn:focus-visible {
  outline: 3px solid rgba(255, 106, 0, 0.38);
  outline-offset: 3px;
}

@media (hover: hover) {
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow:
      0 22px 40px -18px rgba(216, 31, 42, 0.7),
      inset 0 1px 0 rgba(255, 255, 255, 0.28);
  }

  .btn-ghost:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 106, 0, 0.4);
    background: #fff;
    color: #b23c06;
  }
}

.btn:active {
  transform: translateY(0) scale(0.99);
}

.meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: clamp(28px, 4vh, 40px) 0 0;
  color: #9b7f69;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.meta code {
  padding: 5px 9px;
  border: 1px solid var(--hairline);
  border-radius: 7px;
  background: #fff;
  color: #7c4523;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  box-shadow: 0 6px 14px -12px rgba(90, 44, 4, 0.5);
}

.foot {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 24px 26px;
  color: #ad9079;
  font-size: 0.75rem;
  text-align: center;
}

.foot .sep {
  color: rgba(173, 144, 121, 0.55);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  50% {
    box-shadow: 0 0 0 7px rgba(255, 106, 0, 0.05);
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(26px, -20px, 0) scale(1.07);
  }
}

.lockup,
.content > * {
  animation: rise 0.7s cubic-bezier(0.22, 0.72, 0.24, 1) both;
}

.lockup {
  animation-delay: 0.05s;
}

.content > :nth-child(1) {
  animation-delay: 0.13s;
}

.content > :nth-child(2) {
  animation-delay: 0.2s;
}

.content > :nth-child(3) {
  animation-delay: 0.27s;
}

.content > :nth-child(4) {
  animation-delay: 0.34s;
}

.content > :nth-child(5) {
  animation-delay: 0.41s;
}

@media (max-width: 860px) {
  .page {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: clamp(26px, 5vh, 40px);
    width: min(600px, calc(100% - 40px));
    padding-top: clamp(34px, 6vh, 56px);
    text-align: center;
  }

  .lockup {
    width: fit-content;
    padding: 8px;
    border-radius: 22px;
  }

  .logo {
    width: clamp(170px, 46vw, 214px);
  }

  .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 500px;
  }

  .badge {
    margin-bottom: 18px;
  }

  h1 {
    font-size: clamp(2.2rem, 8.4vw, 3rem);
  }

  .lede {
    margin-right: auto;
    margin-left: auto;
  }

  .actions,
  .meta {
    justify-content: center;
  }
}

@media (max-width: 440px) {
  .actions {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
