/* Cevixa website — tokens follow docs/hourglass-design.md */

@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/instrument-serif-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/instrument-serif-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap;
  src: url(../fonts/instrument-serif-italic-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap;
  src: url(../fonts/instrument-serif-italic-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/inter-tight-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/inter-tight-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --paper: #f8f8f4;
  --paper-2: #efefe8;
  --ink: #192020;
  --ink-2: #222b2b;
  --muted: #6b7070;
  --line: #dfe0da;
  --lime: #cbdc4e;
  --lime-deep: #5f6b12;
  --rust: #a7483a;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 22px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ——— Header ——— */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 400 28px/1 var(--serif); letter-spacing: -.01em; }
.brand-mark { width: 26px; height: 26px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
.nav-links a { text-decoration: none; font-size: 15px; color: var(--muted); transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-tools { display: flex; align-items: center; gap: 12px; }
.lang { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-decoration: none; border: 1px solid var(--line); border-radius: 99px; padding: 6px 11px; }
.lang:hover { border-color: var(--ink); }
.menu-btn { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--ink); }
.menu-btn span { display: block; width: 22px; height: 1.5px; background: currentColor; margin: 5px 0; transition: transform .3s var(--ease), opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ——— Buttons ——— */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px;
  padding: 0 22px; border-radius: 99px; border: 1px solid var(--ink);
  font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-lime { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.btn small { display: block; font-weight: 400; font-size: 11px; opacity: .75; letter-spacing: .02em; margin-bottom: 3px; }
.btn .stack { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.btn svg { width: 20px; height: 20px; flex: none; }
.nav .btn { min-height: 40px; padding: 0 16px; font-size: 14px; }

/* ——— Type helpers ——— */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lime) 35%, transparent); }
.display { font-family: var(--serif); font-size: clamp(52px, 8.4vw, 124px); line-height: .93; letter-spacing: -.025em; }
.display em, .h2 em { font-style: italic; }
.h2 { font-family: var(--serif); font-size: clamp(40px, 5.6vw, 80px); line-height: .98; letter-spacing: -.02em; }
.h3 { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 34px); line-height: 1.08; letter-spacing: -.01em; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--muted); max-width: 34em; }
.num { font-family: var(--sans); font-variant-numeric: tabular-nums; }
.mark-lime { background: linear-gradient(transparent 58%, var(--lime) 58% 92%, transparent 92%); padding-inline: .06em; }

/* ——— Hero ——— */
.hero { position: relative; padding: clamp(36px, 6vw, 80px) 0 clamp(60px, 8vw, 110px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero-copy .display { margin: 22px 0 26px; }
.hero-copy .lead { margin-bottom: 34px; max-width: 30em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { margin-top: 22px; font-size: 14px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.hero-note svg { width: 16px; height: 16px; }

.hero-stage { position: relative; display: grid; place-items: center; min-height: 600px; }
.hero-stage::before {
  content: ""; position: absolute; inset: 6% 4% 10%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--lime) 38%, transparent), transparent 72%);
  filter: blur(20px); z-index: 0;
}
.hero-glass { position: relative; z-index: 1; width: min(330px, 70vw); }
.hero-glass .hg { filter: drop-shadow(0 40px 40px rgba(25, 32, 32, .18)); }

.callout { position: absolute; z-index: 2; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.callout b { display: block; color: var(--ink); font: 400 24px/1.1 var(--serif); }
.callout::before { content: ""; width: 40px; height: 1px; background: var(--ink); opacity: .5; order: var(--o, 0); }
.callout-top { top: 22%; right: calc(50% + 132px); --o: 2; text-align: right; }
.callout-bottom { bottom: 30%; right: calc(50% + 132px); --o: 2; text-align: right; }

.budget-card {
  position: absolute; z-index: 3; right: 0; bottom: 4%;
  width: 280px; padding: 18px 20px 16px; border-radius: 20px;
  background: rgba(255, 255, 255, .78); border: 1px solid rgba(255, 255, 255, .9);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px -20px rgba(25, 32, 32, .3);
}
.budget-card .label { font-size: 12px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; font-weight: 600; }
.budget-card .remain { font: 600 30px/1.1 var(--sans); letter-spacing: -.02em; margin: 4px 0 2px; font-variant-numeric: tabular-nums; }
.budget-card .remain.is-over { color: var(--rust); }
.budget-card .meta { font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; gap: 8px; font-variant-numeric: tabular-nums; }
.budget-card .range { margin-top: 14px; }
.budget-card .hint { font-size: 12px; color: var(--muted); margin-top: 8px; }

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--ink) var(--p, 50%), var(--line) var(--p, 50%)); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: var(--line); }
input[type="range"]::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--ink); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: var(--lime); border: 2px solid var(--ink); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--lime); border: 2px solid var(--ink); }

/* ——— Marquee ——— */
.marquee { background: var(--ink); color: var(--paper); overflow: hidden; padding: 22px 0; border-block: 1px solid var(--ink); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee ul { display: flex; gap: 0; margin: 0; padding: 0; list-style: none; }
.marquee li { font: 400 clamp(26px, 3vw, 38px)/1 var(--serif); padding: 0 28px; display: flex; align-items: center; gap: 56px; white-space: nowrap; }
.marquee li::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--lime); flex: none; margin-left: 28px; margin-right: -28px; }
.marquee li:nth-child(odd) { font-style: italic; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ——— Sections ——— */
.section { padding: clamp(80px, 11vw, 150px) 0; }
.section-head { display: grid; grid-template-columns: 200px 1fr; gap: 24px 40px; margin-bottom: clamp(44px, 6vw, 80px); align-items: start; }
.section-index { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 14px; border-top: 1px solid var(--ink); }
.section-head .lead { margin-top: 22px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.step { padding: 34px 32px 10px 0; border-right: 1px solid var(--line); }
.step + .step { padding-left: 32px; }
.step:last-child { border-right: 0; }
.step .n { font: 400 64px/1 var(--serif); color: var(--lime-deep); font-style: italic; }
.step h3 { margin: 22px 0 12px; }
.step p { color: var(--muted); }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
  padding: 30px; min-height: 280px; display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.tile:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -30px rgba(25, 32, 32, .25); }
.tile p { color: var(--muted); margin: 12px 0 0; font-size: 16px; }
.tile .tag { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: auto; padding-bottom: 28px; }
.tile.span-2 { grid-column: span 2; }
.tile.span-3 { grid-column: span 3; }
.tile.span-4 { grid-column: span 4; }
.tile.dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tile.dark p, .tile.dark .tag { color: #b9bdbb; }
.tile.lime { background: var(--lime); border-color: var(--lime); }
.tile.lime p, .tile.lime .tag { color: #3c4410; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 99px; border: 1px solid currentColor; opacity: .85; }

.fx-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 22px; }
.fx-row span { display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; background: var(--paper); font: 400 28px/1 var(--serif); color: var(--ink); }

.bill-list { list-style: none; margin: 18px 0 0; padding: 0; font-size: 15px; }
.bill-list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.bill-list li span:first-child { display: flex; align-items: center; gap: 10px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); flex: none; }
.dot.rust { background: var(--rust); }
.tile.dark .bill-list li { border-color: #3a4444; }

.receipt {
  margin: 18px auto 0; width: 170px; padding: 16px 16px 22px; background: var(--paper); color: var(--ink);
  font: 500 11px/1.6 ui-monospace, "SF Mono", Menlo, monospace; border-radius: 4px; transform: rotate(-3deg);
  box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .35);
  -webkit-mask: radial-gradient(circle 5px at 50% 100%, transparent 98%, #000) 0 0 / 14px 100%;
  mask: radial-gradient(circle 5px at 50% 100%, transparent 98%, #000) 0 0 / 14px 100%;
  position: relative;
}
.receipt div { display: flex; justify-content: space-between; }
.receipt .scan { position: absolute; left: 0; right: 0; height: 2px; background: var(--lime); box-shadow: 0 0 12px 2px var(--lime); animation: scan 3.2s ease-in-out infinite; }
@keyframes scan { 0%, 100% { top: 10%; } 50% { top: 82%; } }

.bars { display: flex; align-items: flex-end; gap: 10px; height: 120px; margin-top: 22px; }
.bars i { flex: 1; border-radius: 8px 8px 3px 3px; background: var(--paper-2); }
.bars i.on { background: var(--ink); }
.bars i:nth-child(1) { height: 52%; } .bars i:nth-child(2) { height: 70%; } .bars i:nth-child(3) { height: 44%; }
.bars i:nth-child(4) { height: 86%; } .bars i:nth-child(5) { height: 61%; } .bars i:nth-child(6) { height: 74%; }

/* Spaces (dark) */
.dark-section { background: var(--ink); color: var(--paper); }
.dark-section .section-index { border-color: var(--paper); color: #b9bdbb; }
.dark-section .lead { color: #b9bdbb; }
.spaces { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.space { border: 1px solid #344040; border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 14px; background: var(--ink-2); }
.space .icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--lime); color: var(--ink); }
.space .icon svg { width: 26px; height: 26px; }
.space p { color: #b9bdbb; margin: 0; }
.space .who { margin-top: auto; padding-top: 16px; border-top: 1px solid #344040; font-size: 14px; color: #dfe1dc; display: flex; gap: 8px; align-items: center; }
.space .who svg { width: 16px; height: 16px; color: var(--lime); }
.avatars { display: flex; }
.avatars span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; border: 2px solid var(--ink-2); margin-left: -8px; background: #dfe0da; color: var(--ink); }
.avatars span:first-child { margin-left: 0; background: var(--lime); }
.avatars span:nth-child(3) { background: #e8c9a8; }
.note-strip { margin-top: 40px; display: flex; gap: 14px; align-items: flex-start; color: #b9bdbb; font-size: 15px; max-width: 760px; }
.note-strip svg { width: 20px; height: 20px; flex: none; color: var(--lime); margin-top: 2px; }

/* Phones */
.phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 40px); align-items: start; }
.phone-fig { margin: 0; }
.phone-fig:nth-child(2) { margin-top: 70px; }
.phone-fig figcaption { margin-top: 22px; font-size: 15px; color: var(--muted); max-width: 22em; }
.phone-fig figcaption b { display: block; color: var(--ink); font: 400 24px/1.15 var(--serif); margin-bottom: 4px; }
.phone {
  position: relative; aspect-ratio: 9 / 19.2; border-radius: 46px; padding: 11px;
  background: #0f1414; box-shadow: 0 50px 80px -40px rgba(25, 32, 32, .55), inset 0 0 0 1.5px #3c4646;
  max-width: 330px; margin-inline: auto;
}
.screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: var(--paper); font-size: 12px; display: flex; flex-direction: column; }
.island { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 30%; height: 22px; border-radius: 20px; background: #0f1414; z-index: 2; }
.status { display: flex; justify-content: space-between; padding: 12px 22px 0; font-weight: 600; font-size: 11px; height: 36px; }
.scr-body { padding: 8px 16px 0; flex: 1; overflow: hidden; }
.scr-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 11px; }
.avatar-sm { width: 26px; height: 26px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; font-weight: 700; font-size: 10px; }
.month { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 12px; padding: 6px 2px 10px; color: var(--ink); }
.month i { font-style: normal; color: var(--muted); font-size: 14px; }
.ov-hero { display: grid; grid-template-columns: 1fr 78px; gap: 6px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 12px 12px 12px 14px; }
.ov-hero.solo { grid-template-columns: 1fr; }
.ov-hero .k { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.ov-hero .v { font-size: 22px; font-weight: 700; letter-spacing: -.02em; margin: 2px 0 8px; font-variant-numeric: tabular-nums; }
.ov-hero .s { font-size: 10.5px; color: var(--muted); line-height: 1.5; font-variant-numeric: tabular-nums; }
.add-btn { margin: 10px 0 12px; background: var(--ink); color: var(--paper); border-radius: 14px; text-align: center; padding: 10px; font-weight: 600; font-size: 12px; }
.list-h { font-weight: 700; font-size: 12.5px; margin: 6px 0 4px; display: flex; justify-content: space-between; }
.list-h span { color: var(--muted); font-weight: 500; font-size: 11px; }
.row { display: flex; align-items: center; gap: 9px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.row .ic { width: 28px; height: 28px; border-radius: 9px; background: var(--paper-2); display: grid; place-items: center; font-size: 13px; flex: none; }
.row .t { flex: 1; min-width: 0; }
.row .t b { display: block; font-size: 11.5px; font-weight: 600; }
.row .t small { color: var(--muted); font-size: 10px; }
.row .a { font-weight: 600; font-size: 11.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.row .a.in { color: #4d6b16; }
.row .chk { font-size: 10px; font-weight: 700; padding: 4px 8px; border-radius: 99px; background: var(--ink); color: var(--paper); }
.row .badge { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 3px 6px; border-radius: 6px; background: color-mix(in srgb, var(--rust) 14%, transparent); color: var(--rust); }
.scr-title { font: 700 22px/1.1 var(--sans); letter-spacing: -.02em; margin: 2px 0 10px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper-2); border-radius: 10px; padding: 3px; margin-bottom: 12px; font-weight: 600; font-size: 11px; text-align: center; }
.seg span { padding: 6px; border-radius: 8px; color: var(--muted); }
.seg span:first-child { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.limit-bar { height: 8px; border-radius: 8px; background: var(--paper-2); overflow: hidden; margin: 8px 0 4px; }
.limit-bar i { display: block; height: 100%; width: 68%; background: var(--lime); border-right: 2px solid var(--ink); }
.tabbar { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); background: rgba(255,255,255,.85); padding: 8px 0 18px; font-size: 9.5px; font-weight: 600; color: var(--muted); text-align: center; }
.tabbar span { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.tabbar svg { width: 18px; height: 18px; }
.tabbar .on { color: var(--ink); }

/* Privacy band */
.privacy-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.facts li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.facts svg { width: 26px; height: 26px; color: var(--lime-deep); margin-top: 3px; }
.facts b { display: block; font-weight: 600; margin-bottom: 2px; }
.facts span { color: var(--muted); font-size: 16px; }

/* Demo / CTA */
.cta-band { position: relative; overflow: hidden; border-radius: 32px; background: var(--lime); padding: clamp(40px, 7vw, 90px); display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.cta-band .h2 { max-width: 11em; }
.cta-band p { color: #3c4410; font-size: 18px; max-width: 30em; margin-top: 20px; }
.cta-band .hero-ctas { margin-top: 30px; }
.cta-band .btn-ghost { border-color: var(--ink); }
.cta-band .demo-phone { justify-self: center; width: 210px; transform: rotate(6deg); }
.cta-band .demo-phone .phone { border-radius: 34px; padding: 8px; }
.cta-band .demo-phone .screen { border-radius: 27px; }
.demo-banner { background: var(--ink); color: var(--lime); font-weight: 700; font-size: 10px; text-align: center; padding: 6px; letter-spacing: .04em; }
.signin { padding: 30px 16px; display: flex; flex-direction: column; gap: 8px; text-align: center; flex: 1; justify-content: flex-end; }
.signin .logo { font: 400 30px/1 var(--serif); margin-bottom: auto; padding-top: 40px; }
.signin span { display: block; padding: 9px; border-radius: 12px; font-weight: 600; font-size: 11px; background: #fff; border: 1px solid var(--line); }
.signin span.k { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.signin span.d { background: var(--lime); border-color: var(--ink); }

/* FAQ */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font: 400 clamp(22px, 2.2vw, 28px)/1.2 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 30px/1 var(--sans); transition: transform .3s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 26px; color: var(--muted); max-width: 46em; }
.faq .answer p:last-child { margin: 0; }

/* Footer */
.site-footer { background: var(--ink); color: var(--paper); padding: 80px 0 0; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 60px; }
.foot-grid h4 { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #8d9391; margin-bottom: 16px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-grid a { text-decoration: none; color: #dfe1dc; }
.foot-grid a:hover { color: var(--lime); }
.foot-grid p { color: #b9bdbb; max-width: 24em; }
.wordmark { font: 400 clamp(120px, 27vw, 400px)/.78 var(--serif); letter-spacing: -.045em; color: var(--paper); text-align: center; margin: 0 0 -.12em; user-select: none; }
.wordmark em { color: var(--lime); }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 22px 0; border-top: 1px solid #344040; font-size: 13px; color: #8d9391; position: relative; z-index: 1; background: var(--ink); }

/* ——— Legal / support pages ——— */
.page-hero { padding: clamp(50px, 8vw, 110px) 0 clamp(30px, 5vw, 60px); border-bottom: 1px solid var(--line); }
.page-hero .display { font-size: clamp(48px, 7vw, 100px); margin-top: 18px; }
.page-hero .lead { margin-top: 22px; }
.updated { margin-top: 26px; font-size: 14px; color: var(--muted); }
.doc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(30px, 6vw, 90px); padding: clamp(40px, 6vw, 80px) 0 clamp(80px, 10vw, 140px); }
.toc { position: sticky; top: 100px; align-self: start; font-size: 14px; }
.toc b { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc ol { margin: 0; padding: 0; list-style: none; counter-reset: t; display: grid; gap: 8px; }
.toc li { counter-increment: t; display: flex; gap: 10px; }
.toc li::before { content: counter(t, decimal-leading-zero); color: var(--muted); font-variant-numeric: tabular-nums; }
.toc a { text-decoration: none; color: var(--muted); }
.toc a:hover { color: var(--ink); }
.prose { max-width: 720px; }
.prose h2 { font: 400 clamp(30px, 3vw, 40px)/1.1 var(--serif); letter-spacing: -.01em; margin: 64px 0 18px; padding-top: 18px; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-weight: 600; font-size: 18px; margin: 28px 0 8px; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--muted); }
.prose a { text-decoration-color: var(--lime-deep); text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin: 10px 0 24px; font-size: 15px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); }
.prose th { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.table-scroll { overflow-x: auto; }
.callbox { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--lime); border-radius: 14px; padding: 18px 22px; margin: 20px 0; }
.callbox p:last-child { margin: 0; }

.contact-card { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; background: var(--ink); color: var(--paper); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); margin-bottom: 20px; }
.contact-card .h3 { margin-bottom: 8px; }
.contact-card p { color: #b9bdbb; margin: 0; }
.steps-list { counter-reset: s; list-style: none; padding: 0 !important; }
.steps-list li { counter-increment: s; position: relative; padding-left: 44px; margin-bottom: 14px; }
.steps-list li::before { content: counter(s); position: absolute; left: 0; top: -1px; width: 28px; height: 28px; border-radius: 50%; background: var(--lime); font-weight: 700; font-size: 14px; display: grid; place-items: center; }
kbd { font: 600 .88em var(--sans); background: #fff; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; padding: 1px 7px; white-space: nowrap; }

.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.notfound .display { margin: 16px 0 24px; }
.notfound .hg-wrap { width: 120px; margin: 0 auto; transform: rotate(90deg); }

/* ——— Reveal ——— */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ——— Responsive ——— */
@media (max-width: 1240px) {
  .callout { display: none; }
}
@media (max-width: 1080px) {
  .bento .span-2 { grid-column: span 3; }
  .bento .span-4 { grid-column: span 6; }
}
@media (max-width: 900px) {
  .nav-links, .nav-tools .btn { display: none; }
  .menu-btn { display: block; }
  .nav-tools { margin-left: auto; }
  .nav.is-open .nav-links {
    display: flex; flex-direction: column; gap: 0; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 22px;
  }
  .nav.is-open .nav-links a { display: block; padding: 14px 0; font-size: 20px; color: var(--ink); border-bottom: 1px solid var(--line); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stage { min-height: 0; padding-bottom: 150px; }
  .budget-card { left: 50%; right: auto; transform: translateX(-50%); bottom: 0; width: min(320px, 100%); }
  .section-head { grid-template-columns: 1fr; }
  .section-index { max-width: 200px; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .spaces { grid-template-columns: 1fr; }
  .phones { grid-template-columns: 1fr; gap: 60px; }
  .phone-fig:nth-child(2) { margin-top: 0; }
  .phone-fig figcaption { text-align: center; margin-inline: auto; }
  .privacy-grid { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band .demo-phone { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .doc { grid-template-columns: 1fr; }
  .toc { position: static; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; background: #fff; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .bento .span-2, .bento .span-3 { grid-column: span 6; }
  .tile { min-height: 0; }
  .phone { max-width: 290px; }
  .foot-grid { grid-template-columns: 1fr; }
  .contact-card { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .site-footer, .toc, .skip { display: none; }
  .doc { display: block; padding: 0; }
  body { background: #fff; }
}
.notfound .lead { margin: 0 auto 28px; }
.notfound .hero-ctas { justify-content: center; }
