/* Premium Harvester — public site. Palette from the app icon: navy field, harvest gold. */
:root {
  --bg: #F3F5FA;
  --surface: #FFFFFF;
  --ink: #0B1733;
  --ink-2: #3B4A6B;
  --muted: #66728C;
  --line: #D9DEEA;
  --navy: #15305E;
  --gold: #B8841A;          /* gold dark enough to read on paper */
  --gold-soft: #F6E3A8;
  --gain: #17805A;
  --ticket-bg: #0B1733;
  --ticket-ink: #F3F5FA;
  --ticket-gold: #F2BC3C;
  --focus: #0A84FF;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #070D1C;
    --surface: #0E1830;
    --ink: #EEF1F8;
    --ink-2: #B9C3DA;
    --muted: #8E9AB5;
    --line: #22304F;
    --navy: #9DB6E8;
    --gold: #F2BC3C;
    --gold-soft: #3A2E10;
    --gain: #3DD598;
    --ticket-bg: #131F3B;
    --ticket-ink: #EEF1F8;
    --ticket-gold: #F2BC3C;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #070D1C;
  --surface: #0E1830;
  --ink: #EEF1F8;
  --ink-2: #B9C3DA;
  --muted: #8E9AB5;
  --line: #22304F;
  --navy: #9DB6E8;
  --gold: #F2BC3C;
  --gold-soft: #3A2E10;
  --gain: #3DD598;
  --ticket-bg: #131F3B;
  --ticket-ink: #EEF1F8;
  --ticket-gold: #F2BC3C;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  padding-inline: 20px;
}
img, svg { max-width: 100%; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--gold); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: 1080px; margin-inline: auto; }
.prose { max-width: 68ch; }

/* Header */
.site-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  padding-block: 18px; border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand span { font: 800 1.05rem/1 "Archivo", system-ui, sans-serif; font-stretch: 112%; letter-spacing: 0.01em; }
.nav { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 0.95rem; }
.nav a { color: var(--ink-2); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }

/* Type scale */
h1, h2, h3 { font-family: "Archivo", system-ui, sans-serif; text-wrap: balance; color: var(--ink); margin: 0; }
h1 { font-size: clamp(2.3rem, 5.5vw, 3.9rem); font-weight: 800; font-stretch: 118%; line-height: 1.02; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; font-stretch: 110%; line-height: 1.1; }
h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.3; }
p { margin: 0; }
.eyebrow { font: 600 0.78rem/1 "IBM Plex Mono", ui-monospace, monospace; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold); }
.lede { font-size: 1.2rem; color: var(--ink-2); max-width: 56ch; }
.small { font-size: 0.9rem; color: var(--muted); }
.mono { font-family: "IBM Plex Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums; }

section { padding-block: 64px; display: grid; gap: 28px; }
section + section { border-top: 1px solid var(--line); }
.stack { display: grid; gap: 14px; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-block: 72px 64px; }
.hero .stack { gap: 20px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 10px;
  font-weight: 600; text-decoration: none; border: 1.5px solid var(--ink); color: var(--ink);
}
.btn.primary { background: var(--ink); color: var(--bg); }
.btn.primary:hover { background: var(--navy); border-color: var(--navy); color: var(--bg); }
.btn:hover { color: var(--gold); border-color: var(--gold); }

/* The order ticket: the one bold object on the page */
.ticket {
  background: var(--ticket-bg); color: var(--ticket-ink); border-radius: 14px; padding: 22px 22px 18px;
  font-family: "IBM Plex Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums;
  position: relative; box-shadow: 0 18px 40px -22px rgba(11, 23, 51, 0.55);
  display: grid; gap: 14px;
}
.ticket::after {                          /* perforated tear line above the stub */
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 64px;
  border-top: 2px dashed rgba(242, 188, 60, 0.45);
}
.ticket .row { display: flex; justify-content: space-between; gap: 12px; font-size: 0.92rem; }
.ticket .k { color: #8E9AB5; }
.ticket .order { font-size: 1.05rem; line-height: 1.5; color: var(--ticket-ink); }
.ticket .order b { color: var(--ticket-gold); font-weight: 600; }
.ticket .stub { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; font-size: 0.85rem; }
.ticket .credit { font-size: 1.4rem; color: #3DD598; }
.ticket .tag { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: #8E9AB5; }

/* The wheel: a real four-step cycle, so it is numbered */
.wheel { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.wheel li {
  list-style: none; counter-increment: step; padding: 20px 20px 20px 0; border-top: 3px solid var(--line);
  display: grid; gap: 8px; align-content: start;
}
.wheel li + li { padding-left: 20px; }
.wheel li::before { content: counter(step); font: 700 0.85rem/1 "IBM Plex Mono", monospace; color: var(--gold); }
.wheel li.loop { border-top-color: var(--gold); }
.wheel ol { margin: 0; padding: 0; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: grid; gap: 14px; align-content: start; }
.plan.featured { border: 2px solid var(--gold); }
.price { font: 800 2.2rem/1 "Archivo", system-ui, sans-serif; font-stretch: 110%; font-variant-numeric: tabular-nums; }
.price small { font: 500 0.95rem "IBM Plex Sans", sans-serif; color: var(--muted); }
.plan ul, .ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.plan li, .ticks li { padding-left: 22px; position: relative; color: var(--ink-2); }
.plan li::before, .ticks li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 10px; height: 2px; background: var(--gold); }

/* Two-up and cards */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: grid; gap: 12px; align-content: start; }
.card .btn { justify-self: start; }
.status { display: inline-block; justify-self: start; font: 600 0.72rem/1 "IBM Plex Mono", monospace; text-transform: uppercase; letter-spacing: 0.1em; padding: 6px 8px; border-radius: 6px; background: var(--gold-soft); color: var(--ink); }
.status.live { background: color-mix(in srgb, var(--gain) 18%, transparent); color: var(--gain); }

/* Guides */
.steps { margin: 0; padding-left: 1.4em; display: grid; gap: 14px; }
.steps li::marker { font: 700 0.95rem "IBM Plex Mono", monospace; color: var(--gold); }
.note { border-left: 3px solid var(--gold); padding: 12px 16px; background: var(--surface); border-radius: 0 10px 10px 0; color: var(--ink-2); }
code, kbd { font: 0.92em "IBM Plex Mono", ui-monospace, monospace; background: var(--surface); border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; }
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 0; }
dl.facts dt { font-weight: 600; }
dl.facts dd { margin: 0; color: var(--ink-2); }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; color: var(--ink); }

/* Footer */
.site-foot { padding-block: 36px 48px; border-top: 1px solid var(--line); display: grid; gap: 16px; font-size: 0.88rem; color: var(--muted); }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-foot a { color: var(--ink-2); }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 32px; padding-block: 48px; }
  .plans, .grid-2 { grid-template-columns: 1fr; }
  .wheel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wheel li:nth-child(3) { padding-left: 0; }
  section { padding-block: 48px; }
}
@media (max-width: 480px) {
  .wheel { grid-template-columns: 1fr; }
  .wheel li, .wheel li + li { padding-left: 0; }
  dl.facts { grid-template-columns: 1fr; gap: 2px; }
  dl.facts dd { margin-bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
