
/* ---------- Tweakable tokens (JSON block is parsed by the host) ---------- */



  :root {
    /* theme: midnight-lime (default) */
    --bg: #0a0a0a;
    --bg-2: #111111;
    --bg-3: #171717;
    --line: #1f1f1f;
    --line-2: #2a2a2a;
    --ink: #f2efe8;
    --ink-2: #b8b4ab;
    --ink-3: #6c6a63;
    --accent: #c6ff5e;     /* signal lime */
    --accent-ink: #0a0a0a;
    --warn: #ff7a59;
    --card: #111111;
    --card-hi: #171717;
    /* type */
    --f-display: 'Instrument Serif', 'Times New Roman', serif;
    --f-sans: 'Inter', system-ui, sans-serif;
    --f-mono: 'JetBrains Mono', ui-monospace, monospace;
    --radius: 14px;
  }

  [data-theme="paper-ember"] {
    --bg: #f4efe6;
    --bg-2: #ece6d9;
    --bg-3: #e3dccc;
    --line: #d9d2c1;
    --line-2: #c8c0ad;
    --ink: #1a1714;
    --ink-2: #55504a;
    --ink-3: #8a847a;
    --accent: #d9542a;
    --accent-ink: #fff8ee;
    --warn: #b8471f;
    --card: #fbf7ef;
    --card-hi: #ffffff;
  }

  [data-type="editorial"] {
    --f-display: 'Instrument Serif', serif;
    --f-sans: 'Inter', system-ui, sans-serif;
    --f-mono: 'JetBrains Mono', ui-monospace, monospace;
  }
  [data-type="modern-grotesk"] {
    --f-display: 'Space Grotesk', system-ui, sans-serif;
    --f-sans: 'Inter', system-ui, sans-serif;
    --f-mono: 'IBM Plex Mono', ui-monospace, monospace;
  }
  [data-type="warm-serif"] {
    --f-display: 'Fraunces', serif;
    --f-sans: 'DM Sans', system-ui, sans-serif;
    --f-mono: 'IBM Plex Mono', ui-monospace, monospace;
  }
  [data-type="reader"] {
    --f-display: 'Newsreader', serif;
    --f-sans: 'Inter', system-ui, sans-serif;
    --f-mono: 'JetBrains Mono', ui-monospace, monospace;
  }

  * { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; }
  body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--f-sans);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
  }

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

  .mono {
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-3);
  }

  .container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 40px;
  }

  /* ---------- Nav ---------- */
  .nav {
    position: sticky; top: 0; z-index: 40;
    background: color-mix(in srgb, var(--bg) 85%, transparent);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
  }
  .nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 68px;
  }
  .brand {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--f-display);
    font-size: 22px;
    letter-spacing: -0.01em;
  }
  .brand-mark {
    width: 26px; height: 26px; border-radius: 8px;
    background: var(--accent);
    color: var(--accent-ink);
    display: grid; place-items: center;
    font-family: var(--f-mono); font-weight: 600; font-size: 13px;
  }
  .brand em { font-style: italic; color: var(--ink-2); font-family: var(--f-display); font-weight: 400; }

  .nav-links { display: flex; gap: 30px; }
  .nav-links a {
    font-size: 14px; color: var(--ink-2); font-weight: 500;
    transition: color .2s;
  }
  .nav-links a:hover { color: var(--ink); }

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

  .btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 16px; border-radius: 10px;
    font-size: 14px; font-weight: 500; font-family: var(--f-sans);
    border: 1px solid transparent; cursor: pointer;
    transition: all .2s ease;
    white-space: nowrap;
  }
  .btn-ghost { color: var(--ink-2); border-color: var(--line-2); background: transparent; }
  .btn-ghost:hover { color: var(--ink); border-color: var(--ink-3); }
  .btn-primary { background: var(--accent); color: var(--accent-ink); }
  .btn-primary:hover { transform: translateY(-1px); filter: brightness(1.05); }
  .btn-lg { padding: 14px 22px; font-size: 15px; border-radius: 12px; }

  /* ---------- Hero ---------- */
  .hero {
    position: relative;
    padding: 70px 0 40px;
    overflow: hidden;
  }
  .hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 60px;
    align-items: center;
  }
  .eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 6px 12px;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-2);
    margin-bottom: 28px;
  }
  .eyebrow .dot {
    width: 7px; height: 7px; border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent);
    animation: pulse 2s infinite;
  }
  @keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent); }
    50%      { box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 10%, transparent); }
  }

  h1.display {
    font-family: var(--f-display);
    font-size: clamp(48px, 6.4vw, 96px);
    line-height: 0.98;
    letter-spacing: -0.02em;
    font-weight: 400;
    margin: 0 0 24px;
  }
  h1.display em {
    color: var(--accent);
    font-style: italic;
  }
  [data-type="modern-grotesk"] h1.display { font-weight: 600; letter-spacing: -0.035em; }
  [data-type="warm-serif"] h1.display { font-weight: 600; letter-spacing: -0.025em; }

  .hero-sub {
    font-size: 19px;
    color: var(--ink-2);
    max-width: 520px;
    margin: 0 0 36px;
    line-height: 1.5;
  }
  .hero-cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
  .hero-trust {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
    max-width: 540px;
  }
  .stat .n {
    font-family: var(--f-display);
    font-size: 34px;
    line-height: 1;
    letter-spacing: -0.01em;
    display: block;
    margin-bottom: 4px;
  }
  [data-type="modern-grotesk"] .stat .n { font-weight: 600; }
  .stat .l { font-size: 12px; color: var(--ink-3); }

  /* ---------- Animated POS product ---------- */
  .product {
    position: relative;
    aspect-ratio: 5 / 4;
    perspective: 1600px;
  }
  .tablet {
    position: absolute; inset: 0;
    transform: rotateY(-14deg) rotateX(6deg) rotateZ(1deg);
    transform-style: preserve-3d;
    transition: transform .6s cubic-bezier(.2,.8,.2,1);
  }
  .product:hover .tablet {
    transform: rotateY(-8deg) rotateX(3deg) rotateZ(0deg) translateY(-4px);
  }
  .tablet-shell {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, #1c1c1c 0%, #0f0f0f 100%);
    border: 1px solid var(--line-2);
    border-radius: 22px;
    box-shadow:
      0 40px 80px -20px rgba(0,0,0,0.6),
      0 10px 30px -10px rgba(0,0,0,0.5),
      inset 0 1px 0 rgba(255,255,255,0.04);
    padding: 14px;
  }
  [data-theme="paper-ember"] .tablet-shell {
    background: linear-gradient(180deg, #2a2520 0%, #1a1612 100%);
    box-shadow:
      0 40px 80px -20px rgba(50,30,10,0.25),
      0 10px 30px -10px rgba(50,30,10,0.2);
  }
  .screen {
    position: absolute; inset: 14px;
    background: var(--bg-2);
    border-radius: 12px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 180px 1fr 220px;
    font-size: 12px;
    color: var(--ink);
  }
  [data-theme="paper-ember"] .screen { background: #fbf7ef; color: #1a1714; }

  /* POS sidebar */
  .pos-side {
    background: var(--bg-3);
    border-right: 1px solid var(--line);
    padding: 14px 12px;
    display: flex; flex-direction: column; gap: 6px;
  }
  [data-theme="paper-ember"] .pos-side { background: #f4efe6; border-right-color: #d9d2c1; }
  .pos-side .logo {
    font-family: var(--f-display); font-size: 18px; padding: 4px 6px 12px;
    display: flex; align-items: center; gap: 8px;
  }
  .pos-side .logo b {
    display: inline-block; width: 18px; height: 18px; border-radius: 5px;
    background: var(--accent);
  }
  .pos-side .nav-item {
    padding: 9px 10px;
    border-radius: 8px;
    font-size: 12px;
    color: var(--ink-2);
    display: flex; align-items: center; gap: 10px;
  }
  .pos-side .nav-item .ic {
    width: 14px; height: 14px; border: 1.5px solid currentColor; border-radius: 3px; opacity: 0.8;
  }
  .pos-side .nav-item.active {
    background: color-mix(in srgb, var(--accent) 15%, transparent);
    color: var(--ink);
  }
  .pos-side .nav-item.active .ic { background: var(--accent); border-color: var(--accent); }

  /* POS center */
  .pos-main {
    padding: 14px;
    display: flex; flex-direction: column; gap: 10px;
    min-width: 0;
  }
  .pos-head {
    display: flex; align-items: center; justify-content: space-between;
  }
  .pos-head h4 {
    margin: 0; font-family: var(--f-display); font-size: 18px; font-weight: 400;
    letter-spacing: -0.01em;
  }
  [data-type="modern-grotesk"] .pos-head h4 { font-weight: 600; }
  .pos-head .chip {
    font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.1em;
    text-transform: uppercase; padding: 4px 8px; border-radius: 999px;
    background: color-mix(in srgb, var(--accent) 20%, transparent);
    color: var(--ink);
    border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  }
  .cat-row {
    display: flex; gap: 6px; overflow: hidden;
  }
  .cat {
    padding: 6px 10px; border-radius: 7px;
    font-size: 11px;
    background: var(--bg-3); color: var(--ink-2); border: 1px solid var(--line);
    white-space: nowrap;
  }
  [data-theme="paper-ember"] .cat { background: #f4efe6; border-color: #d9d2c1; }
  .cat.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
  [data-theme="paper-ember"] .cat.active { background: #1a1714; color: #fbf7ef; }

  .menu-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 8px; flex: 1;
  }
  .tile {
    background: var(--bg-3);
    border: 1px solid var(--line);
    border-radius: 9px;
    padding: 10px;
    display: flex; flex-direction: column; justify-content: space-between;
    min-height: 76px;
    transition: all .2s;
    position: relative;
    overflow: hidden;
  }
  [data-theme="paper-ember"] .tile { background: #f4efe6; border-color: #d9d2c1; }
  .tile .swatch {
    width: 100%; height: 24px; border-radius: 5px; margin-bottom: 6px;
    background: linear-gradient(135deg,
      color-mix(in srgb, var(--ink) 6%, transparent),
      color-mix(in srgb, var(--accent) 25%, transparent));
  }
  .tile:nth-child(2) .swatch { background: linear-gradient(135deg, #3a2a1a, #c68a4a); }
  .tile:nth-child(3) .swatch { background: linear-gradient(135deg, #1e3a2a, #6abf7a); }
  .tile:nth-child(4) .swatch { background: linear-gradient(135deg, #3a1e2a, #c26a8a); }
  .tile:nth-child(5) .swatch { background: linear-gradient(135deg, #2a2a3a, #8a8aff); }
  .tile:nth-child(6) .swatch { background: linear-gradient(135deg, #3a3a1e, #e0c25a); }
  .tile .name { font-size: 11px; font-weight: 500; }
  .tile .price { font-family: var(--f-mono); font-size: 10px; color: var(--ink-2); }

  .tile.pop::after {
    content:''; position: absolute; inset: -1px; border-radius: 9px;
    border: 2px solid var(--accent);
    opacity: 0;
    animation: tilePop 5s infinite;
  }
  @keyframes tilePop {
    0%, 100% { opacity: 0; transform: scale(1); }
    10%, 20% { opacity: 1; transform: scale(1.02); }
    30% { opacity: 0; }
  }

  /* POS ticket */
  .ticket {
    background: var(--bg-3);
    border-left: 1px solid var(--line);
    padding: 14px;
    display: flex; flex-direction: column; gap: 8px;
  }
  [data-theme="paper-ember"] .ticket { background: #f4efe6; border-left-color: #d9d2c1; }
  .ticket h5 {
    margin: 0 0 4px; font-size: 11px; font-family: var(--f-mono);
    text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3);
  }
  .order-line {
    display: grid; grid-template-columns: 22px 1fr auto;
    gap: 8px; align-items: baseline;
    font-size: 11px;
    padding: 6px 0; border-bottom: 1px dashed var(--line);
  }
  .order-line .q { font-family: var(--f-mono); color: var(--ink-2); }
  .order-line .p { font-family: var(--f-mono); color: var(--ink-2); }
  .order-line.new {
    animation: slideIn .45s ease;
  }
  @keyframes slideIn {
    from { opacity: 0; transform: translateX(8px); }
    to { opacity: 1; transform: translateX(0); }
  }
  .order-sum {
    margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line);
    display: flex; flex-direction: column; gap: 4px;
    font-size: 11px;
  }
  .order-sum .row { display: flex; justify-content: space-between; color: var(--ink-2); }
  .order-sum .total { color: var(--ink); font-weight: 600; font-size: 14px;
    font-family: var(--f-display); font-weight: 400; letter-spacing: -0.01em;
  }
  [data-type="modern-grotesk"] .order-sum .total { font-weight: 600; }
  .pay-btn {
    margin-top: 6px;
    background: var(--accent); color: var(--accent-ink);
    text-align: center; font-weight: 600; font-size: 12px;
    padding: 10px; border-radius: 8px;
    font-family: var(--f-sans);
    position: relative; overflow: hidden;
  }
  .pay-btn::after {
    content:''; position: absolute; top:0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: sheen 3s infinite;
  }
  @keyframes sheen { to { left: 140%; } }

  /* Floating order toasts */
  .float {
    position: absolute;
    background: var(--card);
    border: 1px solid var(--line-2);
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 12px;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.4);
    display: flex; gap: 10px; align-items: center;
    backdrop-filter: blur(10px);
    z-index: 5;
  }
  [data-theme="paper-ember"] .float { background: var(--card); box-shadow: 0 20px 40px -10px rgba(40,20,0,0.15); }
  .float .ic-bubble {
    width: 32px; height: 32px; border-radius: 10px;
    display: grid; place-items: center;
    font-family: var(--f-mono); font-weight: 600;
    flex-shrink: 0;
  }
  .float .title { font-weight: 600; font-size: 12px; }
  .float .sub { color: var(--ink-3); font-size: 11px; font-family: var(--f-mono); }
  .float.f1 { top: 6%; left: -8%; animation: floatA 6s ease-in-out infinite; }
  .float.f2 { bottom: 14%; right: -10%; animation: floatB 7s ease-in-out infinite; }
  .float.f3 { bottom: -4%; left: 8%; animation: floatC 8s ease-in-out infinite; }
  @keyframes floatA { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
  @keyframes floatB { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
  @keyframes floatC { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

  .float.f1 .ic-bubble { background: color-mix(in srgb, var(--accent) 25%, transparent); color: var(--ink); }
  .float.f2 .ic-bubble { background: #2a1f1a; color: #ff9f6b; }
  [data-theme="paper-ember"] .float.f2 .ic-bubble { background: #f1ddcc; color: #b8471f; }
  .float.f3 .ic-bubble { background: #1a2a2a; color: #6abfbf; }
  [data-theme="paper-ember"] .float.f3 .ic-bubble { background: #e0ebe8; color: #3a7a7a; }

  /* ---------- Logo marquee ---------- */
  .marquee {
    padding: 40px 0 20px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-top: 60px;
    overflow: hidden;
  }
  .marquee-lead {
    text-align: center;
    color: var(--ink-3);
    margin-bottom: 24px;
  }
  .logos {
    display: flex; gap: 60px;
    align-items: center;
    animation: scroll 30s linear infinite;
    width: max-content;
  }
  @keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }
  .logo-item {
    font-family: var(--f-display);
    font-size: 26px;
    color: var(--ink-2);
    letter-spacing: -0.01em;
    white-space: nowrap;
    opacity: 0.7;
    display: flex; align-items: center; gap: 10px;
  }
  [data-type="modern-grotesk"] .logo-item { font-weight: 600; letter-spacing: -0.02em; }
  .logo-item .sq { width: 10px; height: 10px; background: currentColor; border-radius: 2px; opacity: 0.5; }

  /* ---------- Section header ---------- */
  section { padding: 120px 0; position: relative; }
  .sec-head {
    display: grid; grid-template-columns: 160px 1fr; gap: 40px;
    margin-bottom: 60px;
    align-items: start;
  }
  .sec-head .kicker { padding-top: 8px; }
  .sec-head h2 {
    margin: 0;
    font-family: var(--f-display);
    font-size: clamp(40px, 5vw, 68px);
    line-height: 1;
    letter-spacing: -0.02em;
    font-weight: 400;
    max-width: 18ch;
  }
  [data-type="modern-grotesk"] .sec-head h2 { font-weight: 600; letter-spacing: -0.03em; }
  [data-type="warm-serif"] .sec-head h2 { font-weight: 600; }
  .sec-head h2 em { color: var(--accent); font-style: italic; }
  .sec-head p {
    max-width: 48ch; color: var(--ink-2); font-size: 17px; margin-top: 18px;
  }

  /* ---------- Feature tabs ---------- */
  .tabs-wrap { display: grid; grid-template-columns: 320px 1fr; gap: 60px; align-items: start; }
  .tab-list { display: flex; flex-direction: column; gap: 2px; border-left: 1px solid var(--line); }
  .tab-btn {
    text-align: left;
    padding: 18px 22px;
    background: transparent;
    border: 0;
    border-left: 2px solid transparent;
    margin-left: -1px;
    cursor: pointer;
    color: var(--ink-3);
    font-family: var(--f-sans); font-size: 15px; font-weight: 500;
    transition: all .25s;
    display: flex; gap: 12px; align-items: baseline;
  }
  .tab-btn .n { font-family: var(--f-mono); font-size: 11px; }
  .tab-btn:hover { color: var(--ink-2); }
  .tab-btn.active {
    color: var(--ink);
    border-left-color: var(--accent);
    background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 8%, transparent), transparent);
  }
  .tab-btn .desc {
    display: block;
    font-size: 12px;
    color: var(--ink-3);
    font-weight: 400;
    margin-top: 4px;
    max-width: 28ch;
  }
  .tab-panel {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 40px;
    min-height: 420px;
    display: none;
    animation: fadeUp .4s ease;
  }
  .tab-panel.active { display: block; }
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .tab-panel h3 {
    margin: 0 0 14px; font-family: var(--f-display);
    font-size: 36px; font-weight: 400; letter-spacing: -0.01em;
  }
  [data-type="modern-grotesk"] .tab-panel h3 { font-weight: 600; }
  .tab-panel .lede { color: var(--ink-2); max-width: 50ch; margin-bottom: 28px; }
  .tab-bullets { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
  .tab-bullets li {
    display: grid; grid-template-columns: 24px 1fr; gap: 14px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
    font-size: 14px;
  }
  .tab-bullets li:last-child { border-bottom: 1px solid var(--line); }
  .tab-bullets li .k { font-family: var(--f-mono); color: var(--ink-3); font-size: 11px; padding-top: 2px; }
  .tab-bullets li b { font-weight: 600; }
  .tab-bullets li p { margin: 4px 0 0; color: var(--ink-2); font-size: 13px; }

  .tab-visual {
    margin-top: 24px;
    background: var(--bg-2);
    border-radius: 10px;
    border: 1px solid var(--line);
    padding: 24px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: center;
  }
  [data-theme="paper-ember"] .tab-visual { background: #ece6d9; }
  .visual-stat {
    font-family: var(--f-display);
    font-size: 54px;
    line-height: 1;
    letter-spacing: -0.02em;
  }
  [data-type="modern-grotesk"] .visual-stat { font-weight: 700; }
  .visual-stat em { color: var(--accent); font-style: italic; }
  .visual-note { color: var(--ink-2); font-size: 13px; line-height: 1.5; }
  .visual-chart {
    height: 120px;
    display: flex; gap: 6px; align-items: flex-end;
  }
  .bar {
    flex: 1;
    background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent) 40%, transparent));
    border-radius: 4px 4px 2px 2px;
    min-height: 12px;
    transition: height .6s cubic-bezier(.2,.8,.2,1);
  }
  .bar.dim { background: var(--line-2); opacity: 0.6; }

  /* ---------- Built for section ---------- */
  .built-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  }
  .built-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px;
    transition: all .3s;
    position: relative;
    overflow: hidden;
    min-height: 280px;
    display: flex; flex-direction: column; justify-content: space-between;
  }
  .built-card:hover {
    border-color: var(--line-2);
    transform: translateY(-3px);
  }
  .built-card::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(400px 200px at var(--mx,50%) var(--my,50%),
      color-mix(in srgb, var(--accent) 8%, transparent), transparent 60%);
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
  }
  .built-card:hover::before { opacity: 1; }
  .built-card h3 {
    margin: 16px 0 8px;
    font-family: var(--f-display);
    font-size: 28px; font-weight: 400;
    letter-spacing: -0.01em;
  }
  [data-type="modern-grotesk"] .built-card h3 { font-weight: 600; }
  .built-card p { color: var(--ink-2); font-size: 14px; margin: 0 0 20px; }
  .built-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
  .built-card ul li {
    display: flex; gap: 10px; align-items: baseline;
    font-size: 13px; color: var(--ink-2);
  }
  .built-card ul li::before {
    content: ''; width: 6px; height: 6px; border-radius: 2px;
    background: var(--accent); flex-shrink: 0;
    transform: translateY(-1px);
  }
  .built-card .badge {
    display: inline-flex;
    font-family: var(--f-mono); font-size: 10px; text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 5px 9px; border-radius: 999px;
    background: var(--bg-3); color: var(--ink-2);
    border: 1px solid var(--line);
    align-self: flex-start;
  }

  /* ---------- Pricing ---------- */
  .price-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
  }
  .price-col {
    padding: 36px 32px;
    border-right: 1px solid var(--line);
    background: var(--card);
    display: flex; flex-direction: column;
  }
  .price-col:last-child { border-right: 0; }
  .price-col.feat {
    background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 10%, var(--card)), var(--card));
  }
  .price-col h4 {
    margin: 0 0 6px;
    font-family: var(--f-mono); font-size: 12px;
    text-transform: uppercase; letter-spacing: 0.15em;
    color: var(--ink-2);
  }
  .price-col .p {
    font-family: var(--f-display);
    font-size: 56px; font-weight: 400; letter-spacing: -0.02em;
    line-height: 1;
    margin: 18px 0 4px;
  }
  [data-type="modern-grotesk"] .price-col .p { font-weight: 600; }
  .price-col .p sup { font-size: 22px; vertical-align: top; color: var(--ink-2); font-family: var(--f-mono); font-weight: 400; margin-right: 4px; }
  .price-col .p small { font-size: 14px; color: var(--ink-3); font-family: var(--f-mono); font-weight: 400; }
  .price-col .blurb { font-size: 13px; color: var(--ink-2); margin: 8px 0 22px; min-height: 40px; }
  .price-col ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
  .price-col ul li { font-size: 13px; color: var(--ink-2); padding-left: 20px; position: relative; }
  .price-col ul li::before {
    content: '+'; position: absolute; left: 0; top: 0;
    color: var(--accent); font-family: var(--f-mono);
  }
  .price-col .cta { margin-top: auto; }

  /* ---------- Testimonial ---------- */
  .quote {
    max-width: 980px; margin: 0 auto;
    font-family: var(--f-display);
    font-size: clamp(32px, 3.6vw, 52px);
    line-height: 1.15;
    letter-spacing: -0.015em;
    font-weight: 400;
    text-align: left;
  }
  [data-type="modern-grotesk"] .quote { font-weight: 500; letter-spacing: -0.025em; }
  .quote em { color: var(--accent); }
  .quote::before {
    content: '"';
    display: block;
    font-size: 140px;
    line-height: 0.6;
    color: var(--accent);
    margin-bottom: 20px;
    font-family: var(--f-display);
  }
  .quote-meta {
    display: flex; align-items: center; gap: 16px;
    margin-top: 40px;
    max-width: 980px;
    margin-left: auto; margin-right: auto;
  }
  .avatar {
    width: 48px; height: 48px; border-radius: 50%;
    background: linear-gradient(135deg, #ff9966, #ff5e62);
    font-family: var(--f-display); font-size: 20px;
    display: grid; place-items: center;
    color: #fff;
  }
  .quote-meta .who { font-size: 14px; font-weight: 500; }
  .quote-meta .role { font-size: 13px; color: var(--ink-3); }

  /* ---------- Hardware / integrations band ---------- */
  .band {
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  }
  .band-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 48px;
    min-height: 420px;
    position: relative;
    overflow: hidden;
  }
  .band-card h3 {
    margin: 0 0 12px;
    font-family: var(--f-display);
    font-size: 40px; font-weight: 400; letter-spacing: -0.02em;
  }
  [data-type="modern-grotesk"] .band-card h3 { font-weight: 600; }
  .band-card p { color: var(--ink-2); max-width: 36ch; margin: 0 0 24px; }
  .hw-stack {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 30px;
  }
  .hw-item {
    aspect-ratio: 1;
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px;
    display: flex; flex-direction: column; justify-content: space-between;
    font-size: 11px;
    transition: all .25s;
  }
  [data-theme="paper-ember"] .hw-item { background: #ece6d9; }
  .hw-item:hover { border-color: var(--accent); transform: translateY(-2px); }
  .hw-item .shape {
    flex: 1;
    margin-bottom: 8px;
    background:
      repeating-linear-gradient(45deg,
        transparent 0, transparent 6px,
        color-mix(in srgb, var(--ink) 8%, transparent) 6px,
        color-mix(in srgb, var(--ink) 8%, transparent) 7px);
    border-radius: 6px;
    border: 1px dashed var(--line-2);
    display: grid; place-items: center;
    font-family: var(--f-mono);
    color: var(--ink-3);
    font-size: 10px;
    text-align: center;
  }
  .hw-item .name { font-weight: 500; font-size: 11px; }

  .int-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 10px; margin-top: 24px;
  }
  .int-cell {
    aspect-ratio: 1.4;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--bg-2);
    display: grid; place-items: center;
    font-family: var(--f-display);
    font-size: 15px;
    color: var(--ink-2);
    transition: all .25s;
    text-align: center;
    padding: 4px;
  }
  [data-theme="paper-ember"] .int-cell { background: #ece6d9; }
  [data-type="modern-grotesk"] .int-cell { font-weight: 500; letter-spacing: -0.01em; }
  .int-cell:hover { border-color: var(--line-2); color: var(--ink); background: var(--bg-3); }
  .int-cell .sq { font-family: var(--f-mono); font-size: 10px; color: var(--ink-3); display: block; margin-top: 2px; letter-spacing: 0.08em; text-transform: uppercase; }

  /* ---------- CTA ---------- */
  .cta-block {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 80px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .cta-block::before {
    content: '';
    position: absolute;
    inset: -100px;
    background: radial-gradient(600px 300px at 50% 0%,
      color-mix(in srgb, var(--accent) 20%, transparent), transparent 60%);
    pointer-events: none;
  }
  .cta-block h2 {
    position: relative;
    margin: 0 0 18px;
    font-family: var(--f-display);
    font-size: clamp(40px, 5vw, 72px);
    line-height: 1;
    letter-spacing: -0.02em;
    font-weight: 400;
  }
  [data-type="modern-grotesk"] .cta-block h2 { font-weight: 600; }
  .cta-block h2 em { color: var(--accent); font-style: italic; }
  .cta-block p { position: relative; color: var(--ink-2); font-size: 17px; max-width: 50ch; margin: 0 auto 34px; }
  .cta-buttons { position: relative; display: inline-flex; gap: 10px; }

  /* ---------- Footer ---------- */
  footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--line);
    margin-top: 40px;
  }
  .foot-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
  }
  .foot-col h5 {
    margin: 0 0 18px;
    font-family: var(--f-mono); font-size: 11px;
    text-transform: uppercase; letter-spacing: 0.12em;
    color: var(--ink-3);
  }
  .foot-col a {
    display: block;
    font-size: 14px; color: var(--ink-2);
    padding: 6px 0;
    transition: color .2s;
  }
  .foot-col a:hover { color: var(--ink); }
  .foot-col.brand-col p {
    color: var(--ink-2); max-width: 36ch; font-size: 14px; margin: 12px 0 18px;
  }
  .foot-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 30px; border-top: 1px solid var(--line);
    font-size: 12px; color: var(--ink-3);
    font-family: var(--f-mono);
    text-transform: uppercase; letter-spacing: 0.1em;
  }
  .foot-bottom .links { display: flex; gap: 24px; }

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

  /* ---------- Tweaks panel ---------- */
  .tweaks {
    position: fixed;
    bottom: 20px; right: 20px;
    z-index: 100;
    background: var(--card-hi);
    color: var(--ink);
    border: 1px solid var(--line-2);
    border-radius: 14px;
    padding: 18px;
    width: 260px;
    box-shadow: 0 20px 50px -10px rgba(0,0,0,0.6);
    display: none;
    font-family: var(--f-sans);
  }
  .tweaks.active { display: block; }
  .tweaks h6 {
    margin: 0 0 12px;
    font-family: var(--f-mono); font-size: 11px;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--ink-3);
    display: flex; justify-content: space-between; align-items: center;
  }
  .tweaks h6 .close { cursor: pointer; color: var(--ink-3); font-size: 14px; }
  .tweaks label {
    display: block;
    font-size: 11px; font-family: var(--f-mono);
    text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--ink-3);
    margin: 14px 0 8px;
  }
  .tweak-row { display: grid; gap: 6px; }
  .tweak-row button {
    width: 100%;
    text-align: left;
    background: var(--bg-2);
    color: var(--ink);
    border: 1px solid var(--line);
    padding: 10px 12px;
    border-radius: 8px;
    font-family: var(--f-sans);
    font-size: 13px;
    cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    transition: all .2s;
  }
  .tweak-row button:hover { border-color: var(--line-2); }
  .tweak-row button.active {
    background: var(--accent);
    color: var(--accent-ink);
    border-color: var(--accent);
  }
  .swatch-row { display: flex; gap: 6px; }
  .swatch-row span { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }

  /* ---------- Responsive ---------- */
  @media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; }
    .tabs-wrap { grid-template-columns: 1fr; }
    .built-grid, .price-grid { grid-template-columns: 1fr; }
    .band { grid-template-columns: 1fr; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .nav-links { display: none; }
    .sec-head { grid-template-columns: 1fr; gap: 8px; }
  }
