/* ============================================================
   Farmer Code — marketing site styles
   Light, warm-beige editorial theme. App fonts self-hosted.
   ============================================================ */

/* ---------- Fonts (self-hosted from the app) ---------- */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/PlusJakartaSans-Regular.woff2") format("woff2"),
       url("fonts/PlusJakartaSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/PlusJakartaSans-Medium.woff2") format("woff2"),
       url("fonts/PlusJakartaSans-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/PlusJakartaSans-SemiBold.woff2") format("woff2"),
       url("fonts/PlusJakartaSans-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/PlusJakartaSans-Bold.woff2") format("woff2"),
       url("fonts/PlusJakartaSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/PlusJakartaSans-ExtraBold.woff2") format("woff2"),
       url("fonts/PlusJakartaSans-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap
}

@font-face {
  font-family: "Space Mono";
  src: url("fonts/SpaceMono-Regular.woff2") format("woff2"),
       url("fonts/SpaceMono-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap
}

@font-face {
  font-family: "Space Mono";
  src: url("fonts/SpaceMono-Bold.woff2") format("woff2"),
       url("fonts/SpaceMono-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap
}

/* ---------- Tokens ---------- */
:root {
  --bg: #F4EEE0;
  /* warm beige ground */
  --bg-2: #EDE3D0;
  /* deeper beige for alternating bands */
  --surface: #FFFFFF;
  /* clean card on beige */
  --surface-2: #FBF6EC;
  --ink: #17251C;
  /* deep green-black text */
  --muted: #5E6D62;
  /* chosen green-biased neutral */
  --muted-2: #8A968C;
  --line: rgba(23, 37, 28, .12);
  --line-2: rgba(23, 37, 28, .22);

  /* ---- GOLD: the lead brand accent, taken straight from the app logo ----
     Every step below is the SAME hue/saturation as the logo (H 25.3°, S 76.6%),
     with only lightness changing — so the ramp always reads as one colour.
     Contrast on the beige ground is noted where it matters. */
  --gold: #E27424;
  /* ← the logo colour. Primary action bg, borders, highlights */
  --gold-hover: #C76117;
  /* primary action hover / pressed */
  --gold-ink: #8E4611;
  /* gold TEXT on light: links, eyebrows, accents (5.98:1 on --bg, AA) */
  --gold-deep: #65310B;
  /* strongest step — small text on light if ever needed (9.1:1) */
  --gold-bright: #EEA56F;
  /* rings, glows, footer link hover (7.9:1 on --footer-bg) */
  --gold-soft: #F5C6A3;
  /* faint washes on light */
  --gold-fill: rgba(226, 116, 36, .12);
  --gold-fill-2: rgba(226, 116, 36, .18);
  /* tinted backgrounds — always derived from --gold, never a new hex */
  --btn-ink: #17251C;
  /* dark text on gold buttons (5.13:1 — AA) */
  /* GREEN stays as a secondary + semantic accent (product screens, "positive") */
  --green: #1E8B52;
  --green-bright: #29AD67;
  --green-ink: #0F6B3C;
  --terra: #B65E33;
  /* terracotta accent */

  --footer-bg: #12241B;
  --footer-ink: #E4EDE4;
  --footer-muted: #8CA395;

  --font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Space Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --maxw: 1160px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 20px;
  --shadow: 0 24px 50px -30px rgba(23, 37, 28, .35);
  --shadow-sm: 0 10px 26px -16px rgba(23, 37, 28, .30);
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block
}

a {
  color: inherit;
  text-decoration: none
}

:focus-visible {
  outline: 2px solid var(--gold-hover);
  outline-offset: 3px;
  border-radius: 6px
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter)
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -.02em;
  text-wrap: balance;
  margin: 0;
  color: var(--ink)
}

h2 {
  font-size: clamp(29px, 4.2vw, 48px);
  line-height: 1.06
}

h3 {
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -.01em
}

p {
  margin: 0
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-bright)
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: 999px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .2s cubic-bezier(.2, .7, .2, 1), box-shadow .2s, background .2s, border-color .2s, color .2s;
  white-space: nowrap
}

.btn svg {
  width: 17px;
  height: 17px
}

.btn-primary {
  background: var(--gold);
  color: var(--btn-ink);
  box-shadow: var(--shadow-sm)
}

.btn-primary:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -16px rgba(226, 116, 36, .75)
}

/* Store / platform button: small mark + two-line label */
.btn-store {
  gap: 12px;
  padding: 11px 22px;
  text-align: left;
  line-height: 1.15
}

.btn-store svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto
}

.btn-store .st {
  display: block;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .13em;
  text-transform: uppercase;
  font-weight: 400;
  opacity: .72
}

.btn-store .sb {
  display: block;
  font-size: 15px;
  font-weight: 700
}

.btn[aria-disabled="true"] {
  opacity: .62;
  cursor: default;
  pointer-events: none
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-2);
  color: var(--ink)
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-ink);
  transform: translateY(-2px)
}

/* ---------- Header / nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 238, 224, .72);
  backdrop-filter: blur(12px) saturate(1.3);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s
}

.nav.scrolled {
  border-bottom: 1px solid var(--line);
  background: rgba(244, 238, 224, .9)
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px var(--gutter);
  max-width: var(--maxw);
  margin: 0 auto
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -.01em;
  color: var(--ink)
}

.brand .logo {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 9px;
  object-fit: cover;
  border: 1px solid var(--line)
}

.nav-links {
  display: flex;
  gap: clamp(18px, 2.4vw, 30px);
  align-items: center
}

.nav-links a {
  font-size: 14.5px;
  color: var(--muted);
  font-weight: 500;
  transition: color .2s;
  position: relative;
  white-space: nowrap
}

.nav-links a:hover {
  color: var(--ink)
}

/* Current page gets a gold underline in the header */
.nav-links a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600
}

.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold)
}

.nav-cta {
  display: flex;
  gap: 12px;
  align-items: center
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  color: var(--ink)
}

.nav-toggle svg {
  width: 26px;
  height: 26px
}

/* Below this width the whole nav collapses into the hamburger menu.
   NOTE: the entire .nav-cta goes — the "Get the app" button lives at the
   bottom of the mobile menu only, so it never shows up twice. */
@media(max-width:1000px) {

  .nav-links,
  .nav-cta {
    display: none
  }

  .nav-toggle {
    display: inline-flex
  }
}

/* mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px var(--gutter) 20px;
  border-bottom: 1px solid var(--line);
  background: var(--bg)
}

.mobile-menu.open {
  display: flex
}

.mobile-menu a {
  padding: 12px 4px;
  font-size: 16px;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
  color: var(--ink)
}

.mobile-menu a[aria-current="page"] {
  color: var(--gold-ink)
}

.mobile-menu .btn {
  margin-top: 14px;
  border-bottom: 0
}

@media(min-width:1001px) {
  .mobile-menu {
    display: none !important
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(52px, 9vw, 104px) 0 clamp(60px, 8vw, 96px)
}

.hero-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(54% 46% at 80% 4%, rgba(238, 165, 111, .30), transparent 60%), radial-gradient(50% 50% at 8% 96%, rgba(226, 116, 36, .16), transparent 62%), radial-gradient(40% 40% at 30% 110%, rgba(41, 173, 103, .10), transparent 62%)
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(24px, 4vw, 60px);
  align-items: center
}

@media(max-width:900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 44px
  }
}

.hero h1 {
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1.0;
  font-weight: 800;
  letter-spacing: -.035em;
  margin: 20px 0 0
}

.hero h1 .accent {
  color: var(--gold-ink)
}

.hero-sub {
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 19px);
  max-width: 36ch;
  margin: 22px 0 32px
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap
}

.hero-note {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--muted-2)
}

/* stage: ring + phone */
.stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 440px
}

.ring {
  position: absolute;
  width: min(118%, 520px);
  aspect-ratio: 1;
  z-index: 0
}

.ring svg {
  width: 100%;
  height: 100%;
  animation: spin 70s linear infinite
}

@media (prefers-reduced-motion:reduce) {
  .ring svg {
    animation: none
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

/* Device frame. Real app screenshots are dark, so the bezel is dark too. */
.phone {
  position: relative;
  z-index: 2;
  width: min(74vw, 268px);
  aspect-ratio: 9/19.5;
  border-radius: 36px;
  background: #101B14;
  border: 1px solid rgba(255, 255, 255, .10);
  box-shadow: 0 44px 90px -34px rgba(23, 37, 28, .55), 0 0 0 1px rgba(23, 37, 28, .10);
  padding: 8px
}

/* A real screenshot inside the frame */
.phone-shot {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  object-fit: cover;
  object-position: top center;
  background: #1B2C22
}

.phone-screen {
  height: 100%;
  border-radius: 24px;
  background: linear-gradient(180deg, #fbfdfb, #f2f7f2);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line)
}

.ps-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 15px 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted-2);
  letter-spacing: .05em
}

.ps-hello {
  padding: 6px 15px 0
}

.ps-hello .k {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .2em;
  color: var(--muted-2);
  text-transform: uppercase
}

.ps-hello .n {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 19px;
  margin-top: 2px
}

.ring-mini {
  display: flex;
  justify-content: center;
  margin: 12px 0 4px
}

.ps-tasks {
  padding: 4px 13px
}

.ps-task {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  margin-top: 7px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 11px;
  box-shadow: var(--shadow-sm)
}

.ps-task .dot {
  width: 16px;
  height: 16px;
  border-radius: 6px;
  flex: 0 0 auto;
  display: grid;
  place-items: center
}

.ps-task .lbl {
  color: var(--ink);
  font-weight: 700
}

.ps-task .sub {
  color: var(--muted-2);
  font-size: 9.5px;
  font-family: var(--font-mono);
  margin-top: 1px
}

.ps-task.done .lbl {
  color: var(--muted-2);
  text-decoration: line-through
}

/* ---------- Trust strip ---------- */
.trust {
  background: var(--bg-2);
  border-block: 1px solid var(--line)
}

.trust-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 32px var(--gutter);
  max-width: var(--maxw);
  margin: 0 auto
}

@media(max-width:720px) {
  .trust-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 16px
  }
}

.stat .num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(25px, 3vw, 36px);
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums
}

.stat .num .u {
  color: var(--gold)
}

.stat .lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 5px
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(64px, 9vw, 120px) 0
}

.section.alt {
  background: var(--bg-2);
  border-block: 1px solid var(--line)
}

.section-head {
  max-width: 62ch
}

.section-head h2 {
  margin-top: 16px
}

.section-head p {
  color: var(--muted);
  margin-top: 16px;
  font-size: clamp(16px, 1.35vw, 18.5px)
}

/* Feature scenes */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 6vw, 86px);
  align-items: center
}

.feature+.feature {
  margin-top: clamp(48px, 7vw, 92px)
}

.feature.rev .fig {
  order: 2
}

@media(max-width:860px) {
  .feature {
    grid-template-columns: 1fr;
    gap: 40px
  }

  .feature.rev .fig {
    order: 0
  }
}

.feature .txt h2 {
  font-size: clamp(27px, 3.4vw, 40px);
  margin-top: 14px
}

.feature .txt p {
  color: var(--muted);
  margin-top: 16px;
  max-width: 44ch
}

.flist {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 11px
}

.flist li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 15.5px;
  color: var(--ink);
  font-weight: 500
}

.flist li svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--gold)
}

/* Figure cards */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow)
}

.card-k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-2)
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 150px;
  margin-top: 26px
}

.bar {
  flex: 1;
  border-radius: 7px 7px 3px 3px;
  background: linear-gradient(180deg, var(--green-bright), var(--green));
  position: relative
}

.bar.exp {
  background: linear-gradient(180deg, var(--terra), #8a4526)
}

.bars .t {
  position: absolute;
  top: -17px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--muted-2)
}

.money {
  display: flex;
  gap: 22px;
  margin-top: 6px;
  flex-wrap: wrap
}

.money .m .k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-2)
}

.money .m .v {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 22px;
  margin-top: 3px;
  font-variant-numeric: tabular-nums
}

.up {
  color: var(--green-ink)
}

.down {
  color: var(--terra)
}

.mkt {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px
}

.mkt-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 13px;
  background: var(--surface-2);
  border: 1px solid var(--line)
}

.mkt-row .c {
  font-weight: 600;
  font-size: 14px
}

.mkt-row .p {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  text-align: right
}

.chip {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 9px;
  border-radius: 999px;
  font-weight: 700
}

.chip.up {
  background: rgba(41, 173, 103, .14);
  color: var(--green-ink)
}

.chip.down {
  background: rgba(182, 94, 51, .14);
  color: var(--terra)
}

/* ---------- Real app screenshots in feature figures ---------- */
/* Portrait screen in a device frame, sized for a feature column */
.shot {
  position: relative;
  width: min(100%, 236px);
  margin-inline: auto;
  border-radius: 34px;
  background: #101B14;
  border: 1px solid rgba(255, 255, 255, .10);
  padding: 8px;
  box-shadow: 0 40px 80px -36px rgba(23, 37, 28, .55), 0 0 0 1px rgba(23, 37, 28, .10)
}

/* height:auto is required — the width/height HTML attributes set a
   presentational height, so overriding only width would stretch the shot. */
.shot img {
  width: 100%;
  height: auto;
  border-radius: 26px;
  display: block
}

/* A soft gold halo behind the device so it sits on the beige */
.shot::before {
  content: "";
  position: absolute;
  inset: -14% -22%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--gold-fill), transparent 72%)
}

.fig {
  position: relative
}

/* Landscape crop of a single app card, framed like a browser-less panel */
.shot-wide {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow)
}

.shot-wide img {
  width: 100%;
  height: auto;
  border-radius: 13px
}

/* A row of device screenshots */
.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3.4vw, 40px);
  margin-top: 48px;
  align-items: start
}

@media(max-width:760px) {
  .shots {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin-inline: auto
  }
}

.shot-cap {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-2);
  text-align: center;
  margin-top: 16px
}

/* ---------- Platform cards (download page) ---------- */
.platforms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px
}

@media(max-width:820px) {
  .platforms {
    grid-template-columns: 1fr
  }
}

.plat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm)
}

.plat.now {
  border-color: var(--gold);
  box-shadow: 0 30px 60px -34px rgba(226, 116, 36, .5)
}

.plat .ic {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--gold-fill);
  color: var(--gold-ink);
  margin-bottom: 16px
}

.plat .ic svg {
  width: 24px;
  height: 24px
}

.plat .tag {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px
}

.plat .tag.live {
  background: rgba(41, 173, 103, .16);
  color: var(--green-ink)
}

.plat .tag.soon {
  background: var(--gold-fill-2);
  color: var(--gold-ink)
}

.plat p {
  color: var(--muted);
  font-size: 14.5px;
  margin: 10px 0 22px;
  flex: 1
}

.plat .btn {
  width: 100%
}

/* Everything-else grid */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px
}

@media(max-width:820px) {
  .grid {
    grid-template-columns: 1fr 1fr
  }
}

@media(max-width:520px) {
  .grid {
    grid-template-columns: 1fr
  }
}

.mini {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  transition: transform .25s, box-shadow .25s;
  box-shadow: var(--shadow-sm)
}

.mini:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow)
}

.mini .ic {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(41, 173, 103, .12);
  color: var(--green);
  margin-bottom: 15px
}

.mini .ic svg {
  width: 22px;
  height: 22px
}

.mini h3 {
  font-size: 18px
}

.mini p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 8px
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px
}

@media(max-width:760px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 14px
  }
}

.step {
  padding: 28px 26px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-sm)
}

.step .no {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--gold-ink);
  font-weight: 700
}

.step h3 {
  margin-top: 14px;
  font-size: 20px
}

.step p {
  color: var(--muted);
  margin-top: 9px;
  font-size: 14.5px
}

/* Testimonial */
.quote {
  padding: clamp(64px, 9vw, 120px) 0;
  text-align: center
}

.quote blockquote {
  max-width: 20ch;
  margin: 0 auto;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(28px, 4.4vw, 52px);
  line-height: 1.08;
  letter-spacing: -.02em;
  text-wrap: balance
}

.quote .who {
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted)
}

.stars {
  color: var(--gold);
  letter-spacing: 3px;
  font-size: 16px;
  margin-bottom: 24px
}

/* Pricing */
.prices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px
}

@media(max-width:820px) {
  .prices {
    grid-template-columns: 1fr
  }
}

.price {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm)
}

.price.feat {
  border-color: var(--gold);
  box-shadow: 0 30px 60px -34px rgba(226, 116, 36, .55)
}

.price .tier {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted)
}

.price .feat-tag {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--btn-ink);
  background: var(--gold);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 13px;
  font-weight: 700
}

.price .amt {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 38px;
  margin-top: 10px;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums
}

.price .amt .per {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted-2);
  font-weight: 400;
  letter-spacing: 0
}

.price ul {
  list-style: none;
  padding: 0;
  margin: 22px 0 26px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1
}

.price li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--muted)
}

.price li svg {
  width: 17px;
  height: 17px;
  color: var(--gold);
  flex: 0 0 auto;
  margin-top: 2px
}

/* ---------- FAQ ---------- */
.faq {
  margin-top: 44px;
  max-width: 80ch
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  padding: 4px 22px;
  box-shadow: var(--shadow-sm)
}

.faq-item+.faq-item {
  margin-top: 12px
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0
}

.faq-item summary::-webkit-details-marker {
  display: none
}

.faq-item summary h3 {
  font-size: clamp(16.5px, 1.7vw, 19px);
  margin: 0;
  font-weight: 700
}

/* the +/- indicator */
.faq-item summary::after {
  content: "";
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  border-right: 2.5px solid var(--gold);
  border-bottom: 2.5px solid var(--gold);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform .25s
}

.faq-item[open] summary::after {
  transform: rotate(225deg) translate(-3px, -3px)
}

.faq-item p {
  color: var(--muted);
  font-size: 15.5px;
  padding: 0 0 20px;
  max-width: 68ch
}

.faq-item a {
  color: var(--gold-ink);
  text-decoration: underline;
  text-underline-offset: 2px
}

@media (prefers-reduced-motion:reduce) {
  .faq-item summary::after {
    transition: none
  }
}

/* CTA */
.cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(72px, 10vw, 140px) 0;
  background: var(--bg-2);
  border-block: 1px solid var(--line)
}

.cta-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(60% 90% at 50% 120%, rgba(238, 165, 111, .30), transparent 60%), radial-gradient(40% 60% at 50% -10%, rgba(41, 173, 103, .10), transparent 60%)
}

.cta h2 {
  position: relative;
  font-size: clamp(34px, 5.5vw, 60px);
  letter-spacing: -.03em
}

.cta p {
  position: relative;
  color: var(--muted);
  margin: 20px auto 32px;
  max-width: 46ch
}

.cta .hero-cta {
  position: relative;
  justify-content: center
}

/* ---------- Footer ---------- */
footer {
  background: var(--footer-bg);
  color: var(--footer-ink);
  padding: 60px 0 36px
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px
}

@media(max-width:820px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px 24px
  }
}

footer .brand {
  color: var(--footer-ink)
}

footer .brand .logo {
  border-color: rgba(255, 255, 255, .14)
}

.foot-brand p {
  color: var(--footer-muted);
  font-size: 14px;
  margin-top: 15px;
  max-width: 32ch
}

.foot-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--footer-muted);
  margin: 0 0 14px;
  font-weight: 700
}

.foot-col a {
  display: block;
  color: var(--footer-ink);
  font-size: 14.5px;
  padding: 6px 0;
  opacity: .85;
  transition: opacity .2s, color .2s
}

.foot-col a:hover {
  opacity: 1;
  color: var(--gold-bright)
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: var(--footer-muted);
  font-family: var(--font-mono);
  font-size: 12px
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(24px, 4vw, 40px);
  align-items: start
}

@media(max-width:860px) {
  .contact-grid {
    grid-template-columns: 1fr
  }
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 40px);
  box-shadow: var(--shadow)
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px
}

.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700
}

.field input,
.field textarea {
  font-family: var(--font-body);
  font-size: 15.5px;
  color: var(--ink);
  background: var(--surface-2);
  border: 1.5px solid var(--line);
  border-radius: 13px;
  padding: 13px 15px;
  transition: border-color .2s, box-shadow .2s;
  width: 100%
}

.field textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.5
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted-2)
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(226, 116, 36, .14)
}

.form-card .btn {
  width: 100%;
  margin-top: 4px;
  padding-block: 15px;
  font-size: 15.5px
}

.form-status {
  font-size: 14px;
  color: var(--gold-ink);
  margin-top: 16px;
  min-height: 1.2em;
  text-align: center
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3.5vw, 32px);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden
}

.contact-card .ping {
  position: absolute;
  top: -46px;
  right: -46px;
  width: 150px;
  height: 150px;
  opacity: .5;
  pointer-events: none
}

.contact-card h3 {
  font-size: 15px;
  font-family: var(--font-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  position: relative
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative
}

.contact-list a {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 15px;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  transition: border-color .2s, transform .2s, background .2s
}

.contact-list a:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  background: #fff
}

.contact-list .ic {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  background: var(--gold-fill);
  color: var(--gold-ink)
}

.contact-list .ic svg {
  width: 18px;
  height: 18px
}

.contact-note {
  color: var(--muted);
  font-size: 14px;
  margin-top: 20px;
  line-height: 1.6;
  position: relative
}

/* ---------- Legal / prose pages ---------- */
.legal-hero {
  padding: clamp(48px, 7vw, 84px) 0 clamp(20px, 3vw, 32px);
  background: var(--bg-2);
  border-bottom: 1px solid var(--line)
}

.legal-hero h1 {
  font-size: clamp(34px, 5vw, 52px);
  letter-spacing: -.03em;
  margin-top: 14px
}

.legal-hero .updated {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  margin-top: 14px;
  letter-spacing: .04em
}

.prose {
  max-width: 74ch;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) var(--gutter)
}

.prose h2 {
  font-size: clamp(21px, 2.6vw, 28px);
  margin: 44px 0 14px;
  letter-spacing: -.015em
}

.prose h2:first-child {
  margin-top: 0
}

.prose h3 {
  font-size: 18px;
  margin: 28px 0 10px
}

.prose p {
  color: var(--ink);
  opacity: .9;
  margin: 0 0 16px
}

.prose ul {
  color: var(--ink);
  opacity: .9;
  padding-left: 22px;
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 8px
}

.prose a {
  color: var(--gold-ink);
  text-decoration: underline;
  text-underline-offset: 2px
}

.prose .toc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px;
  margin-bottom: 36px;
  box-shadow: var(--shadow-sm)
}

.prose .toc h2 {
  margin: 0 0 12px;
  font-size: 14px;
  font-family: var(--font-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted)
}

.prose .toc ol {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  columns: 2;
  gap: 24px
}

@media(max-width:560px) {
  .prose .toc ol {
    columns: 1
  }
}

.prose .toc a {
  color: var(--ink);
  text-decoration: none;
  opacity: .85
}

.prose .toc a:hover {
  color: var(--green-ink);
  opacity: 1
}

.callout {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 0 0 22px;
  font-size: 14.5px;
  color: var(--muted)
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1)
}

.reveal.in {
  opacity: 1;
  transform: none
}

@media (prefers-reduced-motion:reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none
  }
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--green);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 200
}

.skip:focus {
  left: 0
}