:root {
  --ink: #12201c;
  --ink-2: #2a4038;
  --paper: #f3f6f2;
  --paper-2: #e7eee8;
  --sand: #f8faf6;
  --line: rgba(18, 32, 28, 0.12);
  --lime: #d2f55c;
  --lime-ink: #1a2a14;
  --sea: #4f7d6e;
  --display: "Fraunces", Georgia, serif;
  --body: "Sora", system-ui, sans-serif;
  --wrap: min(1100px, calc(100% - 2.4rem));
  --narrow: min(680px, calc(100% - 2.4rem));
  --header: 4.1rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 45% at 0% 0%, rgba(210, 245, 92, 0.2), transparent 55%),
    radial-gradient(ellipse 55% 40% at 100% 10%, rgba(79, 125, 110, 0.16), transparent 50%),
    linear-gradient(168deg, #f6f9f4 0%, #ebf1ea 50%, #e2ebe4 100%);
}

.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(18, 32, 28, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 32, 28, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(#000, transparent 65%);
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.wrap--narrow { width: var(--narrow); }
.wrap--copy { max-width: 46rem; }

.wrap--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.75rem);
  align-items: center;
}

.wrap--flip > :first-child { order: 2; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 clamp(1rem, 3vw, 1.75rem);
  backdrop-filter: blur(12px);
  background: rgba(243, 246, 242, 0.82);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}

.header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(243, 246, 242, 0.94);
}

.logo {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.logo span { color: var(--sea); }
.logo--light { color: #f4faf6; }
.logo--light span { color: var(--lime); }

.logo--image {
  display: inline-flex;
  align-items: center;
  width: clamp(9.25rem, 15vw, 11.5rem);
}

.logo--image img {
  width: 100%;
  height: auto;
}

.nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-2);
}

.nav a:hover { color: var(--ink); }

.menu-btn {
  display: none;
  width: 2.45rem;
  height: 2.45rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: rgba(255,255,255,.55);
  padding: 0.6rem;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.drawer {
  display: none;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1rem 1.25rem 1.35rem;
  background: rgba(243, 246, 242, 0.98);
  border-bottom: 1px solid var(--line);
}

.drawer[hidden] { display: none !important; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn--ink { background: var(--ink); color: #f4faf6; }
.btn--lime { background: var(--lime); color: var(--lime-ink); }
.btn--clear {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.32);
  color: #f4faf6;
  backdrop-filter: blur(6px);
}
.btn--full { width: 100%; }

/* Hero */
.hero {
  position: relative;
  min-height: min(100vh, 900px);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  color: #f4faf6;
  overflow: hidden;
}

.hero__bg { position: absolute; inset: 0; }

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.03);
  animation: drift 20s ease-in-out infinite alternate;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(10, 22, 18, 0.92) 0%, rgba(10, 22, 18, 0.7) 38%, rgba(10, 22, 18, 0.28) 68%, rgba(10, 22, 18, 0.45) 100%),
    linear-gradient(to top, rgba(10, 22, 18, 0.78), transparent 42%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: var(--wrap);
  margin-inline: auto;
  padding: clamp(5rem, 12vh, 7.5rem) 0 clamp(3.25rem, 8vh, 5rem);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  animation: rise .9s ease both;
}

.hero__brand {
  margin: 0 0 0.75rem;
  max-width: 34rem;
  font-family: var(--display);
  font-size: clamp(2.5rem, 7.2vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.95;
  color: var(--lime);
}

.hero h1 {
  margin: 0 0 0.95rem;
  max-width: 34rem;
  font-family: var(--display);
  font-size: clamp(1.65rem, 3.4vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.hero__sub {
  margin: 0 0 1.5rem;
  max-width: 34rem;
  font-size: 1.02rem;
  color: rgba(244, 250, 246, 0.86);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.7rem;
}

/* Blocks */
.block {
  padding: clamp(1.75rem, 3.5vw, 2.5rem) 0;
}

.block-head {
  max-width: 38rem;
  margin-bottom: 2.25rem;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.8rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sea);
}

.kicker::before {
  content: "";
  width: 1.25rem;
  height: 2px;
  background: var(--lime);
}

.kicker--light { color: rgba(244, 250, 246, 0.7); }

h2 {
  margin: 0 0 0.85rem;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.lede,
.copy > p,
.block-head > p {
  margin: 0;
  font-size: 1.05rem;
  color: rgba(18, 32, 28, 0.76);
}

.copy h2 { max-width: 18ch; }

.shot {
  margin: 0;
  overflow: hidden;
  border-radius: 1.15rem;
  background: var(--paper-2);
}

.shot--wide { margin-top: 2.25rem; }

.ticks {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.ticks li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.98rem;
  color: var(--ink-2);
}

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 2px;
  background: var(--lime);
  box-shadow: inset 0 0 0 1px rgba(18, 32, 28, 0.15);
}

.ticks--light li { color: rgba(244, 250, 246, 0.82); }

/* Story */
.story .pain-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.pain-row h3 {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.pain-row p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(18, 32, 28, 0.7);
}

/* Feature variants */
.feature--tint { background: linear-gradient(180deg, var(--paper-2), var(--paper)); }

.feature--dark {
  background:
    radial-gradient(ellipse 60% 50% at 90% 0%, rgba(210, 245, 92, 0.1), transparent 50%),
    linear-gradient(155deg, #12201c 0%, #1a332c 55%, #0e1a16 100%);
  color: #f4faf6;
}

.feature--dark .copy > p { color: rgba(244, 250, 246, 0.78); }

/* Process */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.steps li {
  padding-top: 1rem;
  border-top: 2px solid var(--lime);
}

.steps span {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--sea);
}

.steps h3 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.steps p {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(18, 32, 28, 0.7);
}

/* Outcomes */
.outcomes {
  background: var(--sand);
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.outcome-grid article {
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.outcome-grid h3 {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.outcome-grid p {
  margin: 0;
  color: rgba(18, 32, 28, 0.72);
}

/* FAQ */
.faq-list { display: grid; gap: 0.2rem; }

.faq-list details {
  border-top: 1px solid var(--line);
  padding: 0.95rem 0 0.7rem;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--sea); font-weight: 500; }
.faq-list details[open] summary::after { content: "–"; }

.faq-list p {
  margin: 0.65rem 0 0.25rem;
  color: rgba(18, 32, 28, 0.72);
}

/* Demo */
.demo {
  background:
    radial-gradient(ellipse 45% 55% at 0% 100%, rgba(210, 245, 92, 0.18), transparent 55%),
    var(--sand);
}

.form {
  display: grid;
  gap: 1rem;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0.85rem 0.95rem;
  color: var(--ink);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid rgba(210, 245, 92, 0.6);
  border-color: transparent;
}

.form__note {
  margin: 0;
  text-align: center;
  font-size: 0.88rem;
  color: rgba(18, 32, 28, 0.62);
}

.form__note a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form__status { margin: 0; text-align: center; font-weight: 600; }
.form__status.is-ok { color: #1a5c3a; }
.form__status.is-err { color: #8a2b2b; }

/* Footer */
.footer {
  padding: 3.25rem 0 1.75rem;
  background: var(--ink);
  color: rgba(244, 250, 246, 0.8);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid rgba(244, 250, 246, 0.12);
}

.footer__grid h3 {
  margin: 0 0 0.8rem;
  font-family: var(--display);
  font-size: 1rem;
  color: #fff;
}

.footer__grid a,
.footer__grid p {
  display: block;
  margin: 0 0 0.5rem;
  font-size: 0.92rem;
}

.footer__base {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.15rem;
  font-size: 0.82rem;
  color: rgba(244, 250, 246, 0.5);
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
  transition-delay: var(--d, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes drift {
  from { transform: scale(1.03) translate3d(0, 0, 0); }
  to { transform: scale(1.07) translate3d(-1%, -0.8%, 0); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 960px) {
  .wrap--split,
  .pain-row,
  .steps,
  .outcome-grid,
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .wrap--flip > :first-child { order: 0; }

  .nav,
  .header .btn--ink { display: none; }

  .menu-btn { display: inline-flex; }
  .drawer:not([hidden]) { display: flex; }
}

@media (max-width: 680px) {
  .wrap--split,
  .pain-row,
  .steps,
  .outcome-grid,
  .form__row,
  .footer__grid,
  .footer__base {
    grid-template-columns: 1fr;
  }

  .hero { min-height: 86vh; }
  .footer__base { display: grid; }
  .copy h2 { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__bg img,
  .hero__inner,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
