  :root {
    --bg: #F5EFE4;
    --bg-2: #EDE5D3;
    --panel: #FBF7EC;
    --panel-2: #F0E8D6;
    --rule: #D8CCB2;
    --ink: #1C1A16;
    --ink-soft: #3F3B33;
    --mute: #7A7266;
    --accent: #A24A25;
    --accent-2: #8B3E1F;
    --accent-soft: #E6D3C4;
    --olive: #4A5236;
    --amber: #B98A2A;
    --shadow: 0 1px 0 rgba(60,45,25,0.06), 0 18px 40px -28px rgba(60,45,25,0.22);
    --serif: "Iowan Old Style", "Charter", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
    --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --mono: "SF Mono", "Menlo", "Consolas", "Courier New", ui-monospace, monospace;
    --radius: 3px;
  }
  :root[data-theme="dark"] {
    --bg: #17150F;
    --bg-2: #1F1C15;
    --panel: #23201A;
    --panel-2: #2A261E;
    --rule: #3A3428;
    --ink: #EFE7D5;
    --ink-soft: #C7BCA4;
    --mute: #8A8170;
    --accent: #D97949;
    --accent-2: #E88A5C;
    --accent-soft: #3A2A20;
    --olive: #8FA26A;
    --amber: #E0B45E;
    --shadow: 0 1px 0 rgba(0,0,0,0.4), 0 24px 48px -28px rgba(0,0,0,0.6);
  }

  * { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); }
  body {
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
  }
  ::selection { background: var(--accent); color: var(--panel); }
  a { color: inherit; }
  :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

  .wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

  /* micro label */
  .kicker {
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    display: inline-flex; align-items: center; gap: 10px;
  }
  .kicker::before {
    content: ""; width: 22px; height: 1px; background: var(--accent);
    display: inline-block;
  }

  /* ------------------------------- top bar ------------------------------- */
  header.top {
    position: sticky; top: 0; z-index: 20;
    background: color-mix(in oklab, var(--bg) 94%, transparent);
    backdrop-filter: saturate(1.1) blur(6px);
    border-bottom: 1px solid var(--rule);
  }
  .top-inner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 28px; max-width: 1180px; margin: 0 auto;
  }
  .brand {
    display: flex; align-items: center; gap: 14px;
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.005em;
    color: var(--ink);
    text-decoration: none;
  }
  .brand .mark {
    width: 30px; height: 30px;
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--serif); font-size: 18px; font-weight: 700;
    color: var(--panel);
    background: var(--accent);
    border-radius: 50%;
  }
  .brand .status {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--sans); font-size: 12px; font-weight: 500;
    color: var(--mute);
    padding: 4px 10px;
    border: 1px solid var(--rule);
    border-radius: 20px;
    background: var(--panel);
  }
  .brand .status::before {
    content: ""; width: 6px; height: 6px; border-radius: 50%;
    background: var(--olive);
  }
  nav.primary { display: flex; align-items: center; gap: 28px; }
  nav.primary a {
    text-decoration: none; color: var(--ink-soft);
    font-family: var(--sans); font-size: 14px; font-weight: 500;
  }
  nav.primary a:hover { color: var(--accent); }
  nav.primary .cta {
    background: var(--ink); color: var(--bg);
    padding: 10px 18px; border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
  }
  nav.primary .cta:hover { background: var(--accent); color: var(--panel); }
  @media (max-width: 780px) {
    nav.primary a:not(.cta) { display: none; }
    .top-inner { padding: 12px 20px; }
    .brand .status { display: none; }
  }

  /* --------------------------------- hero -------------------------------- */
  section.hero {
    padding: 96px 0 100px;
    position: relative;
  }
  .hero-grid {
    display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center;
  }
  h1.headline {
    font-family: var(--serif);
    font-weight: 600;
    font-size: clamp(44px, 6.4vw, 84px);
    line-height: 1.02;
    letter-spacing: -0.02em;
    margin: 22px 0 26px;
    text-wrap: balance;
    color: var(--ink);
  }
  h1.headline .hl {
    color: var(--accent);
    font-style: italic;
    font-weight: 500;
  }
  .lede {
    font-size: 19px; line-height: 1.6; color: var(--ink-soft);
    max-width: 52ch; margin: 0 0 32px;
    font-family: var(--sans);
  }
  .lede strong { color: var(--ink); font-weight: 600; }

  .cta-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
  .btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 22px; border-radius: var(--radius); text-decoration: none;
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0;
    transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
  }
  .btn-primary {
    background: var(--ink); color: var(--bg);
  }
  .btn-primary:hover { background: var(--accent); color: var(--panel); }
  .btn-primary::after { content: "→"; }
  .btn-ghost {
    color: var(--ink); border: 1px solid var(--rule); background: transparent;
  }
  .btn-ghost:hover { border-color: var(--ink); }

  .hero-tags {
    margin-top: 46px;
    display: flex; flex-wrap: wrap; gap: 8px;
  }
  .chip {
    font-family: var(--sans); font-size: 13px; font-weight: 500;
    color: var(--ink-soft);
    padding: 6px 12px;
    border: 1px solid var(--rule);
    background: var(--panel);
    border-radius: 20px;
  }
  .chip b { color: var(--accent); font-weight: 600; margin-right: 4px; }

  /* ---------- product panel / interface mock (receipt-ish) ---------- */
  .panel-stage {
    position: relative;
    display: flex; justify-content: center;
  }
  .panel {
    background: var(--panel);
    color: var(--ink);
    width: 100%;
    max-width: 460px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--rule);
    overflow: hidden;
    font-family: var(--sans);
    position: relative;
  }
  .panel .bar {
    display: flex; align-items: center; gap: 8px;
    padding: 14px 16px; border-bottom: 1px solid var(--rule);
    background: var(--panel-2);
  }
  .panel .bar .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rule); }
  .panel .bar .dot.g { background: var(--olive); }
  .panel .bar .label {
    margin-left: 6px; font-family: var(--sans); font-size: 12px; font-weight: 600; color: var(--ink-soft);
    letter-spacing: 0;
  }
  .panel-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 10px; }
  .panel-head {
    display: flex; justify-content: space-between; align-items: baseline;
    padding-bottom: 12px; border-bottom: 1px solid var(--rule);
    font-family: var(--sans); font-size: 13px;
    color: var(--mute);
  }
  .panel-head .k b { color: var(--ink); font-weight: 600; }
  .row {
    display: grid; grid-template-columns: 1fr auto;
    align-items: baseline;
    font-variant-numeric: tabular-nums;
    padding: 8px 0;
    border-bottom: 1px solid var(--rule);
    opacity: 0; animation: pop 400ms ease forwards;
    font-family: var(--sans);
  }
  .row .name { font-size: 15px; color: var(--ink); }
  .row .amt { font-size: 15px; color: var(--ink); font-weight: 600; }
  .row .sub {
    grid-column: 1 / -1; color: var(--mute); font-size: 12.5px; margin-top: 3px;
    font-style: italic;
  }
  .row:nth-child(1) { animation-delay: 0.15s; }
  .row:nth-child(2) { animation-delay: 0.5s; }
  .row:nth-child(3) { animation-delay: 0.85s; }
  .row:nth-child(4) { animation-delay: 1.2s; }
  .row:nth-child(5) { animation-delay: 1.55s; }
  @keyframes pop {
    from { opacity: 0; transform: translateY(3px); }
    to { opacity: 1; transform: none; }
  }
  @media (prefers-reduced-motion: reduce) {
    .row { opacity: 1; animation: none; }
  }
  .totals {
    display: grid; grid-template-columns: 1fr auto; row-gap: 6px;
    font-variant-numeric: tabular-nums;
    padding-top: 12px;
    font-family: var(--sans);
    font-size: 14px;
  }
  .totals .k { color: var(--mute); }
  .totals .v { text-align: right; color: var(--ink); }
  .totals .grand {
    color: var(--ink);
    font-weight: 700;
    font-family: var(--serif);
    font-size: 22px;
    padding-top: 10px;
    letter-spacing: -0.01em;
  }
  .panel-foot {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 16px; border-top: 1px solid var(--rule);
    background: var(--panel-2);
    font-family: var(--sans); font-size: 12.5px;
    color: var(--mute);
  }
  .panel-foot .pill {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--olive);
    color: var(--panel);
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 12px;
  }
  .panel-foot .pill::before {
    content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--panel);
  }

  @media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    section.hero { padding: 40px 0 56px; }
  }

  /* --------------------------- section framing --------------------------- */
  section { padding: 96px 0; border-top: 1px solid var(--rule); position: relative; }
  .section-head {
    display: grid; grid-template-columns: 1fr 2fr; gap: 60px; margin-bottom: 56px;
    align-items: end;
  }
  .section-head h2 {
    font-family: var(--serif); font-weight: 600;
    font-size: clamp(34px, 4.2vw, 56px);
    line-height: 1.05; letter-spacing: -0.015em; margin: 12px 0 0;
    text-wrap: balance;
    color: var(--ink);
  }
  .section-head h2 .hl {
    color: var(--accent);
    font-style: italic;
    font-weight: 500;
  }
  .section-head p {
    max-width: 54ch; color: var(--ink-soft); margin: 14px 0 0;
    font-family: var(--sans); font-size: 17px; line-height: 1.6;
  }
  @media (max-width: 780px) {
    .section-head { grid-template-columns: 1fr; gap: 14px; align-items: start; }
    section { padding: 68px 0; }
  }

  /* ------------------------------ product cards -------------------------- */
  .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  @media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }
  .card {
    background: var(--panel);
    border: 1px solid var(--rule);
    padding: 28px 26px 24px;
    border-radius: var(--radius);
    display: flex; flex-direction: column; gap: 16px;
    transition: border-color 160ms ease, box-shadow 160ms ease;
    position: relative;
    overflow: hidden;
  }
  .card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow);
  }
  .card .tag {
    font-family: var(--sans); font-size: 12px; font-weight: 600;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--accent);
    display: inline-flex; align-items: center; gap: 8px;
    align-self: flex-start;
  }
  .card .tag::before {
    content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  }
  .card h3 {
    font-family: var(--serif); font-weight: 600;
    font-size: 26px; margin: 0; line-height: 1.15; text-wrap: balance;
    letter-spacing: -0.01em;
    color: var(--ink);
  }
  .card p { color: var(--ink-soft); margin: 0; font-size: 15.5px; font-family: var(--sans); line-height: 1.55; }
  .card ul.mini {
    list-style: none; padding: 16px 0 0; margin: auto 0 0;
    display: flex; flex-direction: column; gap: 8px;
    font-family: var(--sans); font-size: 13px; color: var(--ink-soft);
    border-top: 1px solid var(--rule);
  }
  .card ul.mini li { display: flex; justify-content: space-between; }
  .card ul.mini li::before { content: "·"; margin-right: 8px; color: var(--accent); }
  .card ul.mini li span:last-child { color: var(--mute); font-family: var(--mono); font-size: 12px; }
  .card .diagram {
    height: 100px; margin: 4px 0 2px; position: relative;
    border-radius: var(--radius); background: var(--bg-2);
    border: 1px solid var(--rule);
    overflow: hidden;
  }
  /* diagram 1: register grid */
  .diagram-1 { display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(3, 1fr); gap: 4px; padding: 8px; }
  .diagram-1 .tile { background: var(--panel); border-radius: 2px; border: 1px solid var(--rule); }
  .diagram-1 .tile.hot { background: var(--accent); border-color: var(--accent); }
  .diagram-1 .tile.warm { background: var(--amber); border-color: var(--amber); }
  /* diagram 2: online — bars */
  .diagram-2 { display: flex; align-items: flex-end; gap: 5px; padding: 12px; }
  .diagram-2 .bar { flex: 1; background: var(--ink-soft); border-radius: 2px; opacity: 0.35; }
  .diagram-2 .bar.g { background: var(--olive); opacity: 1; }
  /* diagram 3: rewards — nodes */
  .diagram-3 { display: flex; justify-content: space-around; align-items: center; padding: 8px 12px 12px; gap: 8px; }
  .diagram-3 .node {
    width: 40px; height: 40px; border-radius: 50%;
    background: transparent; border: 1.5px solid var(--rule);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--serif); font-size: 15px; font-weight: 600; color: var(--ink-soft);
  }
  .diagram-3 .node.f {
    background: var(--accent); color: var(--panel); border-color: var(--accent);
  }
  .diagram-3 .link { flex: 1; height: 1px; background: var(--rule); position: relative; }
  .diagram-3 .link::after {
    content: ""; position: absolute; left: 0; top: 0; height: 100%;
    width: 60%; background: var(--accent);
  }

  /* --------------------------- neighborhoods --------------------------- */
  .neighborhoods {
    background: var(--bg-2);
    border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
    padding: 22px 0; overflow: hidden; position: relative;
  }
  .marquee {
    display: flex; gap: 44px; white-space: nowrap;
    font-family: var(--serif); font-size: 20px; font-weight: 500;
    color: var(--ink-soft);
    letter-spacing: -0.005em;
    animation: slide 42s linear infinite;
  }
  .marquee span::before {
    content: "·"; margin-right: 44px;
    color: var(--accent);
  }
  @keyframes slide {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }
  @media (prefers-reduced-motion: reduce) { .marquee { animation: none; } }

  /* ----------------------------- proof strip ----------------------------- */
  .proof-grid {
    display: grid; grid-template-columns: 1fr; gap: 32px; align-items: start;
    max-width: 820px; margin: 0 auto; text-align: center;
  }
  .quote {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(24px, 2.8vw, 34px); line-height: 1.4;
    color: var(--ink); text-wrap: balance; margin: 0;
    letter-spacing: -0.01em;
  }
  .quote::before { content: "\201C"; color: var(--accent); font-size: 1.4em; margin-right: 4px; vertical-align: -0.15em; }
  .quote::after { content: "\201D"; color: var(--accent); font-size: 1.4em; margin-left: 4px; vertical-align: -0.15em; }
  .quote .hl {
    color: var(--accent);
    font-style: italic;
  }
  .quote-attr {
    margin-top: 12px; font-family: var(--sans); font-size: 13px; font-weight: 500;
    letter-spacing: 0.06em; text-transform: uppercase; color: var(--mute);
  }

  /* ---------------- capabilities strip ---------------- */
  .cap-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
    margin-top: 56px;
  }
  @media (max-width: 900px) { .cap-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 520px) { .cap-grid { grid-template-columns: 1fr; } }
  .cap {
    padding: 24px 22px; border: 1px solid var(--rule); border-radius: var(--radius);
    background: var(--panel);
  }
  .cap .icon {
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--accent-soft);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent); margin-bottom: 14px;
    font-family: var(--serif); font-size: 16px; font-weight: 600;
  }
  .cap b {
    display: block; font-family: var(--serif); font-size: 18px; color: var(--ink);
    letter-spacing: -0.005em; margin-bottom: 6px;
    font-weight: 600;
  }
  .cap p { margin: 0; color: var(--ink-soft); font-size: 14.5px; font-family: var(--sans); line-height: 1.5; }

  /* ----------------------------- talk card ------------------------------ */
  .talk-card {
    background: var(--panel);
    border: 1px solid var(--rule);
    border-radius: var(--radius);
    padding: 44px;
    display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
  }
  @media (max-width: 780px) {
    .talk-card { grid-template-columns: 1fr; padding: 30px; }
  }
  .talk-card h3 {
    font-family: var(--serif); font-weight: 600;
    font-size: clamp(28px, 3.4vw, 42px); margin: 14px 0 12px;
    line-height: 1.05; text-wrap: balance; letter-spacing: -0.015em;
    color: var(--ink);
  }
  .talk-card h3 .hl {
    color: var(--accent);
    font-style: italic;
    font-weight: 500;
  }
  .talk-card p { color: var(--ink-soft); margin: 0 0 20px; font-size: 16px; font-family: var(--sans); line-height: 1.55; }
  .talk-card ul.checks {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 12px;
    font-size: 15px; color: var(--ink-soft); font-family: var(--sans); line-height: 1.5;
  }
  .talk-card ul.checks li { display: flex; align-items: flex-start; gap: 12px; }
  .talk-card ul.checks li::before {
    content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
    margin-top: 8px; flex-shrink: 0;
  }
  .talk-form { display: flex; flex-direction: column; gap: 14px; position: relative; z-index: 1; }
  .talk-form label {
    font-family: var(--sans); font-size: 12px; font-weight: 600;
    color: var(--ink-soft); margin-bottom: -8px;
  }
  .talk-form input, .talk-form select {
    width: 100%; padding: 12px 14px; border: 1px solid var(--rule);
    background: var(--bg);
    color: var(--ink);
    border-radius: var(--radius); font-family: var(--sans); font-size: 15px;
  }
  .talk-form input:focus, .talk-form select:focus {
    border-color: var(--accent); outline: none;
    box-shadow: 0 0 0 3px var(--accent-soft);
  }
  .talk-form button {
    margin-top: 10px;
    background: var(--ink); color: var(--bg);
    padding: 14px 22px; border: 0; border-radius: var(--radius);
    font-family: var(--sans); font-size: 15px; font-weight: 600;
    cursor: pointer;
    transition: background 140ms ease;
  }
  .talk-form button:hover { background: var(--accent); color: var(--panel); }

  /* -------------------------------- footer ------------------------------- */
  footer {
    padding: 40px 0 56px; border-top: 1px solid var(--rule);
    color: var(--mute); font-size: 13.5px;
    font-family: var(--sans);
    position: relative;
  }
  .foot-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
  .foot-grid a { color: var(--mute); text-decoration: none; margin-right: 22px; }
  .foot-grid a:hover { color: var(--accent); }
  .foot-grid .theme-toggle {
    font-family: var(--sans); font-size: 12px; font-weight: 500;
    background: transparent; border: 1px solid var(--rule); color: var(--mute);
    padding: 7px 14px; border-radius: var(--radius); cursor: pointer;
  }
  .foot-grid .theme-toggle:hover { color: var(--accent); border-color: var(--accent); }

  /* ------------------------- phone layout ------------------------- */
  @media (max-width: 600px) {
    .wrap { padding: 0 18px; }
    h1.headline { font-size: 40px; margin: 16px 0 18px; }
    .lede { font-size: 17px; margin-bottom: 24px; }
    .hero-tags { margin-top: 28px; }
    .panel .row .sub { display: none; }
    .panel-body { padding: 14px 16px 16px; gap: 4px; }
    .talk-card { padding: 22px; }
  }

  /* ------------------------- contact block ------------------------- */
  .contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  @media (max-width: 780px) { .contact-grid { grid-template-columns: 1fr; } }
  .contact-grid .cap a { color: var(--accent); }

  /* ------------------------- consent checkbox ------------------------- */
  .talk-form .consent {
    display: flex; gap: 10px; align-items: flex-start;
    font-size: 12.5px; line-height: 1.5; font-weight: 400; color: var(--mute);
    margin: 4px 0 0;
  }
  .talk-form .consent input { width: auto; margin-top: 3px; flex-shrink: 0; }
  .talk-form .consent a { color: var(--accent); }

  /* ------------------------- legal pages ------------------------- */
  .legal { max-width: 760px; margin: 0 auto; padding: 56px 0 80px; }
  .legal h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 5vw, 52px); line-height: 1.05; margin: 14px 0 8px; }
  .legal .updated { color: var(--mute); font-size: 14px; margin: 0 0 32px; }
  .legal h2 { font-family: var(--serif); font-weight: 600; font-size: 24px; margin: 36px 0 10px; }
  .legal p, .legal li { color: var(--ink-soft); font-size: 16px; line-height: 1.65; }
  .legal ul { padding-left: 22px; }
  .legal a { color: var(--accent); }
  .legal .box { background: var(--panel); border: 1px solid var(--rule); border-radius: var(--radius); padding: 18px 20px; }
  .foot-legal { margin-top: 18px; width: 100%; font-size: 12.5px; line-height: 1.6; }
  .foot-legal a { margin-right: 0; }
  .legal .box p:first-child { margin-top: 0; } .legal .box p:last-child { margin-bottom: 0; }
