/* Experiential Box — rice paper & ink.
   One family (Geist), true black, no gradients. Colour appears only where it carries meaning (status). */
:root {
  --rice: #ECE9E1;       /* page */
  --sheet: #F7F5F0;      /* grouped surfaces */
  --sheet-2: #F1EEE7;    /* pressed / inset */
  --ink: #000000;
  --graphite: #5E5A52;   /* secondary text */
  --stone: #8C877C;      /* tertiary text, chart secondary */
  --hair: #D9D5CB;       /* hairlines */
  --hair-2: #E4E0D7;
  --leaf: #2E7D4F;  --leaf-bg: #E3EDE3;
  --ochre: #A8650B; --ochre-bg: #F2E8D6;
  --cinnabar: #B3361E; --cinnabar-bg: #F3E1DB;
  --p: #000; --on-p: #F7F5F0;
  --font: 'Geist', -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif;
  --r-sheet: 22px; --r-group: 14px; --r-ctl: 10px;
  --ease: cubic-bezier(.32, .72, 0, 1); /* iOS sheet curve */
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 14px; line-height: 1.5; color: var(--ink); background: var(--rice); -webkit-font-smoothing: antialiased; font-feature-settings: 'tnum' 1, 'ss01' 1; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.022em; line-height: 1.12; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
[data-lucide], svg.lucide { width: 18px; height: 18px; stroke-width: 1.75; flex: none; }
::selection { background: rgba(0, 0, 0, .14); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 6px; }
.hide { display: none !important; }
.row { display: flex; align-items: center; gap: 10px; }
.row.wrap { flex-wrap: wrap; }
.spacer { flex: 1; }
.stack > * + * { margin-top: 16px; }
.sub, .muted { color: var(--graphite); }
.faint { color: var(--stone); }
.small { font-size: 13px; }
.tiny { font-size: 12px; }
.link { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.split { display: grid; gap: 20px; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: start; }

/* type scale (iOS-derived) */
.t-hero { font-size: clamp(38px, 5vw, 72px); font-weight: 600; letter-spacing: -.045em; line-height: .98; }
.t-large { font-size: 28px; font-weight: 700; letter-spacing: -.03em; }
.t-title { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.t-head { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.t-num { font-size: 26px; font-weight: 600; letter-spacing: -.035em; line-height: 1; }

/* ---------- controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--hair); background: var(--sheet); font-weight: 500; font-size: 13.5px; cursor: pointer; white-space: nowrap; transition: background .15s, transform .15s var(--ease), opacity .15s; }
.btn:hover { background: #fff; }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .4; pointer-events: none; }
.btn-ink { background: var(--ink); color: var(--sheet); border-color: var(--ink); }
.btn-ink:hover { background: #262420; }
.btn-brand { background: var(--p); color: var(--on-p); border-color: var(--p); }
.btn-brand:hover { background: var(--p); opacity: .88; }
.btn-plain { background: transparent; border-color: transparent; padding: 0 10px; }
.btn-plain:hover { background: rgba(0, 0, 0, .05); }
.btn-paper { background: var(--sheet); color: var(--ink); border-color: transparent; }
.btn-ghost-dark { background: rgba(255, 255, 255, .08); color: var(--sheet); border-color: rgba(255, 255, 255, .16); }
.btn-ghost-dark:hover { background: rgba(255, 255, 255, .14); }
.btn-sm { height: 30px; padding: 0 11px; font-size: 13px; }
.btn-sm [data-lucide], .btn-sm svg.lucide { width: 15px; height: 15px; }
.btn-lg { height: 44px; padding: 0 20px; font-size: 14.5px; }
.btn-block { width: 100%; }
.icon-btn { width: 36px; padding: 0; }
.btn-sm.icon-btn { width: 30px; }

.seg { display: inline-flex; padding: 2px; border-radius: 10px; background: rgba(0, 0, 0, .07); gap: 2px; }
.seg button { height: 28px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent; font-size: 13px; font-weight: 500; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; color: var(--graphite); }
.seg button.on { background: var(--sheet); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .12), 0 0 0 .5px rgba(0, 0, 0, .06); }
.seg [data-lucide], .seg svg.lucide { width: 15px; height: 15px; }

.tag { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 12px; font-weight: 500; background: var(--sheet-2); color: var(--graphite); white-space: nowrap; border: 1px solid var(--hair-2); }
.tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; display: none; }
.tag.dot::before { display: block; }
.tag.ok { background: var(--leaf-bg); color: var(--leaf); border-color: transparent; }
.tag.wait { background: var(--ochre-bg); color: var(--ochre); border-color: transparent; }
.tag.bad { background: var(--cinnabar-bg); color: var(--cinnabar); border-color: transparent; }
.tag.ink { background: var(--ink); color: var(--sheet); border-color: var(--ink); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cinnabar); display: inline-block; }

/* forms */
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label, .lbl { font-size: 12.5px; font-weight: 500; color: var(--graphite); }
.input { width: 100%; height: 40px; font-size: 14px; border: 1px solid var(--hair); border-radius: var(--r-ctl); padding: 0 13px; background: #FBFAF7; outline: none; transition: border-color .15s, box-shadow .15s; }
textarea.input { height: auto; padding: 11px 13px; resize: vertical; min-height: 84px; line-height: 1.5; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235E5A52' stroke-width='2.4'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; padding-right: 34px; }
.input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(0, 0, 0, .08); }
.input.err { border-color: var(--cinnabar); }
.input:disabled { opacity: 1; background: #FBFAF7; }
.err-msg { font-size: 12.5px; color: var(--cinnabar); }
.err-msg:empty { display: none; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 14px; }
.form-grid .full { grid-column: 1 / -1; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--graphite); cursor: pointer; line-height: 1.45; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); margin: 1px 0 0; flex: none; }
.switch { position: relative; width: 44px; height: 26px; flex: none; display: inline-block; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch span { position: absolute; inset: 0; border-radius: 99px; background: #CFCABF; transition: background .2s; cursor: pointer; }
.switch span::after { content: ''; position: absolute; top: 2px; left: 2px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, .18); transition: transform .3s var(--ease); }
.switch input:checked + span { background: var(--leaf); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }

/* ---------- surfaces ---------- */
.sheet { background: var(--sheet); border-radius: var(--r-group); border: 1px solid var(--hair-2); }
.sheet-h { display: flex; align-items: center; gap: 10px; padding: 14px 18px 0; min-height: 40px; }
.sheet-b { padding: 14px 18px 18px; }
.sec-title { display: flex; align-items: center; gap: 10px; margin: 28px 0 10px; padding: 0 4px; min-height: 30px; }
.sec-title h2 { font-size: 16px; letter-spacing: -.012em; }
.list { background: var(--sheet); border-radius: var(--r-group); border: 1px solid var(--hair-2); overflow: hidden; }
.li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; position: relative; min-height: 50px; }
.li + .li::before { content: ''; position: absolute; top: 0; right: 0; left: 62px; height: 1px; background: var(--hair-2); }
.li.flat + .li.flat::before { left: 16px; }
.li .grow { flex: 1; min-width: 0; }
.li .grow b { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.li .grow small { display: block; color: var(--graphite); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
a.li:hover, button.li:hover { background: var(--sheet-2); }
.li.new { animation: arrive 1.6s var(--ease); }
@keyframes arrive { 0% { background: var(--leaf-bg); } 100% { background: transparent; } }
.chev { color: var(--stone); }

.avatar { width: 36px; height: 36px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 600; font-size: 13px; color: var(--ink); background: #DCD8CE; overflow: hidden; letter-spacing: -.01em; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--sheet); border: 1px solid var(--hair-2); border-radius: var(--r-group); }
.stat { padding: 16px 18px 18px; position: relative; }
.stat + .stat::before { content: ''; position: absolute; left: 0; top: 18px; bottom: 18px; width: 1px; background: var(--hair-2); }
.stats.rows-2 .stat:nth-child(n+5) { border-top: 1px solid var(--hair-2); }
.stats.rows-2 .stat:nth-child(5)::before { display: none; }
.stat .k { font-size: 12.5px; color: var(--graphite); }
.stat .v { margin-top: 8px; }
.stat .d { font-size: 12px; color: var(--stone); margin-top: 6px; }
.stat.changed .v { animation: tick .9s var(--ease); }
@keyframes tick { 0% { color: var(--leaf); } 100% { color: var(--ink); } }
.meter { height: 4px; border-radius: 99px; background: var(--hair-2); overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--ink); border-radius: 99px; transition: width .8s var(--ease); }
.chart-box { position: relative; height: 240px; }
.chart-box.sm { height: 190px; }
.empty { text-align: center; padding: 40px 20px; color: var(--graphite); }
.empty [data-lucide], .empty svg.lucide { width: 28px; height: 28px; margin: 0 auto 10px; color: var(--stone); }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .3); border-top-color: currentColor; animation: spin .8s linear infinite; display: inline-block; }
.spinner.dark { border-color: rgba(0, 0, 0, .12); border-top-color: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }

/* tables */
.table-wrap { overflow-x: auto; }
table.t { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.t th { text-align: left; font-size: 12px; color: var(--graphite); font-weight: 500; padding: 10px 16px; border-bottom: 1px solid var(--hair); white-space: nowrap; }
.t td { padding: 9px 16px; border-bottom: 1px solid var(--hair-2); vertical-align: middle; }
.t tbody tr:last-child td { border-bottom: 0; }
.t tbody tr { cursor: pointer; }
.t tbody tr:hover td { background: var(--sheet-2); }
.who { display: flex; align-items: center; gap: 12px; }
.who b { font-weight: 500; display: block; }
.who small { color: var(--graphite); font-size: 12px; }

/* toasts, sheets */
#toasts { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 300; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { pointer-events: auto; display: flex; gap: 10px; align-items: center; padding: 10px 18px 10px 12px; border-radius: 999px; background: var(--ink); color: var(--sheet); font-size: 14px; font-weight: 500; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .45); animation: drop .45s var(--ease); }
.toast.out { opacity: 0; transform: translateY(-8px); transition: .25s; }
.toast .ti { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); }
.toast.ok .ti { background: var(--leaf); } .toast.warn .ti { background: var(--ochre); } .toast.err .ti { background: var(--cinnabar); }
.toast .ti svg { width: 13px; height: 13px; stroke-width: 2.5; }
@keyframes drop { from { opacity: 0; transform: translateY(-14px) scale(.96); } }
.modal-bg { position: fixed; inset: 0; z-index: 200; background: rgba(20, 18, 14, .32); backdrop-filter: blur(3px); display: grid; place-items: center; padding: 16px; animation: fade .2s; }
.modal { width: min(540px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--sheet); border-radius: var(--r-sheet); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .45), 0 0 0 1px rgba(0, 0, 0, .04); animation: sheetUp .45s var(--ease); }
.modal.wide { width: min(780px, 100%); }
.modal-h { display: flex; align-items: center; gap: 12px; padding: 18px 20px 4px; }
.modal-h h3 { font-size: 17px; }
.modal-b { padding: 12px 20px 22px; }
@keyframes fade { from { opacity: 0; } }
@keyframes sheetUp { from { opacity: 0; transform: translateY(24px); } }
pre.code { margin: 0; background: var(--ink); color: #E8E4DA; padding: 16px; border-radius: 12px; font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: 12.5px; overflow: auto; max-height: 340px; line-height: 1.6; }
.url { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* brand mark */
.mark { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; letter-spacing: -.02em; font-size: 15px; }
.mark i { width: 26px; height: 26px; border-radius: 8px; background: var(--ink); display: grid; place-items: center; }
.mark i svg { width: 16px; height: 16px; }
.on-dark .mark i { background: var(--sheet); }
.on-dark .mark i svg path { stroke: var(--ink); }

/* ============ LANDING ============ */
.lp-nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 28px; padding: 14px clamp(16px, 4vw, 48px); background: rgba(236, 233, 225, .82); backdrop-filter: saturate(1.4) blur(18px); border-bottom: 1px solid var(--hair-2); }
.lp-links { display: flex; gap: 24px; font-size: 14px; color: var(--graphite); }
.lp-links a:hover { color: var(--ink); }
.wrap-w { max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-top: clamp(40px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); }
.hero .lead { margin: 22px 0 30px; font-size: 17px; line-height: 1.55; color: var(--graphite); max-width: 520px; }
.door { background: var(--ink); color: var(--sheet); border-radius: 28px; aspect-ratio: 4/3.4; padding: 26px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.door-top { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #A39E93; }
.door-stage { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.door-stage .ph { width: 76px; height: 76px; border-radius: 50%; background: #2A2824; color: var(--sheet); display: grid; place-items: center; font-size: 26px; font-weight: 600; margin-bottom: 22px; box-shadow: 0 0 0 1px #3A3732; }
.door-stage .hi { color: #A39E93; font-size: 17px; }
.door-stage .nm { font-size: clamp(26px, 2.8vw, 38px); font-weight: 600; letter-spacing: -.035em; line-height: 1.05; margin-top: 4px; }
.door-stage .co { color: #A39E93; margin-top: 8px; font-size: 15px; }
.door-stage .ok { margin-top: 22px; display: inline-flex; gap: 8px; align-items: center; font-size: 14px; color: #9FD4AE; }
.door-stage .ok i { width: 8px; height: 8px; border-radius: 50%; background: #5FB57A; }
.door-swap { animation: swap .7s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(14px); } }
.door-foot { display: flex; gap: 22px; font-size: 13px; color: #A39E93; border-top: 1px solid #262420; padding-top: 16px; }
.door-foot b { color: var(--sheet); font-weight: 500; }
.lp-sec { padding: 64px 0; border-top: 1px solid var(--hair); }
.lp-sec > .wrap-w > h2 { font-size: clamp(26px, 2.8vw, 36px); letter-spacing: -.035em; max-width: 720px; }
.lp-sec .intro { color: var(--graphite); font-size: 15.5px; margin-top: 14px; max-width: 600px; }
.steps { margin-top: 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.step { display: grid; grid-template-columns: 40px 1fr auto; gap: 16px; padding: 20px 0; border-top: 1px solid var(--hair); align-items: baseline; }
.step .n { font-size: 15px; color: var(--stone); font-weight: 500; }
.step h3 { font-size: 16px; }
.step p { color: var(--graphite); margin-top: 4px; font-size: 14px; }
.step a { font-size: 14px; font-weight: 500; }
.step a:hover { text-decoration: underline; text-underline-offset: 3px; }
.feat-list { margin-top: 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.feat-list .li { min-height: 72px; }
.feat-ic { width: 36px; height: 36px; border-radius: 10px; background: var(--ink); color: var(--sheet); display: grid; place-items: center; flex: none; }
.feat-ic svg { width: 18px; height: 18px; }
.price-table { margin-top: 36px; }
.price-table .li { min-height: 60px; }
.price-table .u { width: 110px; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.price-table .pr { font-size: 15px; font-weight: 500; }
.uses { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.uses span { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--hair); font-size: 14px; color: var(--graphite); }
.cta { background: var(--ink); color: var(--sheet); border-radius: 28px; padding: clamp(28px, 5vw, 56px); display: flex; gap: 30px; align-items: center; justify-content: space-between; }
.cta h2 { font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.035em; }
.cta p { color: #A39E93; margin-top: 10px; max-width: 440px; }
.cta img { width: 132px; border-radius: 12px; background: var(--sheet); padding: 8px; image-rendering: pixelated; }
.lp-foot { padding: 28px clamp(16px, 4vw, 48px) 96px; display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; color: var(--graphite); font-size: 14px; border-top: 1px solid var(--hair); }
.lp-foot a:hover { color: var(--ink); }

/* ============ ONBOARDING ============ */
.onb { min-height: 100vh; display: flex; flex-direction: column; }
.onb-top { display: flex; align-items: center; gap: 16px; padding: 16px clamp(16px, 4vw, 40px); }
.onb-progress { flex: 1; max-width: 280px; margin: 0 auto; display: flex; gap: 6px; }
.onb-progress i { flex: 1; height: 4px; border-radius: 99px; background: var(--hair); }
.onb-progress i.on { background: var(--ink); }
.onb-main { flex: 1; display: flex; justify-content: center; padding: clamp(16px, 4vw, 48px) 16px 120px; }
.onb-card { width: 100%; max-width: 640px; }
.onb-card > h1 { font-size: 28px; letter-spacing: -.03em; }
.onb-card > .sub { margin-top: 8px; font-size: 15px; }
.pkg-list { margin: 28px 0 20px; }
.pkg-list .li { cursor: pointer; border: 0; width: 100%; text-align: left; background: transparent; font: inherit; }
.pkg-list .radio { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--stone); flex: none; display: grid; place-items: center; }
.pkg-list .on .radio { border-color: var(--ink); background: var(--ink); }
.pkg-list .on .radio::after { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--sheet); }
.pkg-list .u { font-size: 16px; font-weight: 600; width: 120px; letter-spacing: -.02em; }
.summary .ln { display: flex; justify-content: space-between; padding: 6px 0; }
.summary .tot { border-top: 1px solid var(--hair); margin-top: 8px; padding-top: 12px; font-weight: 600; font-size: 17px; }
.done-mark { width: 72px; height: 72px; border-radius: 50%; background: var(--ink); color: var(--sheet); display: grid; place-items: center; margin-bottom: 26px; animation: sheetUp .6s var(--ease); }
.done-mark svg { width: 34px; height: 34px; stroke-width: 2.4; }

/* ============ CONSOLE ============ */
.shell { display: grid; grid-template-columns: 228px minmax(0, 1fr); min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; border-right: 1px solid var(--hair); padding: 18px 12px; display: flex; flex-direction: column; gap: 2px; overflow-y: auto; }
.side .mark { padding: 4px 10px 20px; }
.side-lbl { font-size: 12px; color: var(--stone); padding: 16px 12px 6px; }
.side a.nav { display: flex; align-items: center; gap: 11px; height: 34px; padding: 0 11px; border-radius: 9px; color: var(--graphite); font-size: 13.5px; font-weight: 500; }
.side a.nav:hover { background: rgba(0, 0, 0, .05); color: var(--ink); }
.side a.nav.on { background: var(--ink); color: var(--sheet); }
.side a.nav .k { margin-left: auto; font-size: 12.5px; color: var(--stone); }
.side a.nav.on .k { color: #A39E93; }
.side .plan { margin-top: auto; padding: 14px; border-radius: var(--r-group); background: var(--sheet); border: 1px solid var(--hair-2); font-size: 13px; }
.side .plan .meter { margin: 10px 0 8px; }
.main { min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 10px; padding: 8px 28px; background: rgba(236, 233, 225, .8); backdrop-filter: saturate(1.4) blur(18px); border-bottom: 1px solid var(--hair-2); min-height: 54px; }
.ev-pick { position: relative; display: flex; align-items: center; gap: 10px; padding: 5px 12px 5px 5px; border-radius: 12px; cursor: pointer; }
.ev-pick:hover { background: rgba(0, 0, 0, .05); }
.ev-pick .sw { width: 32px; height: 32px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.ev-pick b { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.2; }
.ev-pick small { color: var(--graphite); font-size: 12px; }
.ev-pick select { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.page { padding: 24px 28px 64px; max-width: 1400px; width: 100%; }
.page-h { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.page-h h1 { font-size: 26px; font-weight: 650; letter-spacing: -.028em; }
.page-h p { color: var(--graphite); margin-top: 4px; font-size: 14px; }
.flow { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.flow a { padding: 14px 12px 16px; position: relative; border-radius: 10px; }
.flow a:hover { background: var(--sheet-2); }
.flow .n { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--hair); display: grid; place-items: center; font-size: 12.5px; font-weight: 600; color: var(--stone); margin-bottom: 12px; background: var(--sheet); position: relative; z-index: 1; }
.flow a::after { content: ''; position: absolute; top: 27px; left: 40px; right: -12px; height: 1.5px; background: var(--hair); }
.flow a:last-child::after { display: none; }
.flow a.done .n { background: var(--ink); border-color: var(--ink); color: var(--sheet); }
.flow a.done::after { background: var(--ink); }
.flow a.next .n { border-color: var(--ink); color: var(--ink); }
.flow b { display: block; font-size: 13px; font-weight: 500; }
.flow small { color: var(--graphite); font-size: 12px; }
.ev-card { overflow: hidden; }
.ev-card .bn { height: 96px; padding: 14px; display: flex; align-items: flex-start; justify-content: space-between; background-size: cover; background-position: center; }
.ev-card .nums { display: grid; grid-template-columns: repeat(3, 1fr); margin: 16px 0; border-top: 1px solid var(--hair-2); border-bottom: 1px solid var(--hair-2); }
.ev-card .nums div { padding: 10px 0; }
.ev-card .nums b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.ev-card .nums small { color: var(--graphite); font-size: 12.5px; }

/* builder */
.builder { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.group { margin-bottom: 26px; }
.group > .lbl { display: block; padding: 0 4px 8px; font-size: 13px; }
.group .sheet { padding: 18px 20px; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatches button, .swatches label { width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); position: relative; background-size: cover; background-position: center; display: grid; place-items: center; color: var(--graphite); }
.swatches .on { box-shadow: 0 0 0 2px var(--rice), 0 0 0 4px var(--ink); }
.swatches label { background-color: var(--sheet); border: 1.5px dashed var(--stone); box-shadow: none; }
.logo-drop { width: 64px; height: 64px; border-radius: 14px; border: 1.5px dashed var(--stone); display: grid; place-items: center; background: #FBFAF7 center/contain no-repeat; color: var(--stone); cursor: pointer; flex: none; }
.color-in { width: 44px; height: 44px; border-radius: 50%; border: 0; padding: 0; overflow: hidden; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.color-in::-webkit-color-swatch-wrapper { padding: 0; }
.color-in::-webkit-color-swatch { border: 0; border-radius: 50%; }
.toggle-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; min-height: 48px; }
.toggle-row + .toggle-row { border-top: 1px solid var(--hair-2); }
.phone-wrap { position: sticky; top: 84px; }
.phone { width: 340px; margin: 0 auto; border-radius: 52px; padding: 11px; background: var(--ink); box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .55); }
.phone-screen { height: 680px; border-radius: 42px; overflow: hidden auto; background: var(--rice); position: relative; scrollbar-width: none; }
.phone-screen::-webkit-scrollbar { display: none; }
.phone-island { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: var(--ink); z-index: 5; }

/* ============ GUEST MICROSITE ============ */
.ms { min-height: 100vh; background: var(--rice); }
.ms-hero { color: var(--on-p); padding: 22px 20px 92px; background-size: cover !important; background-position: center !important; position: relative; }
.ms-hero.img::before { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .45); }
.ms-hero > * { position: relative; }
.ms-in { max-width: 720px; margin: 0 auto; }
.ms-top { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.ms-logo { height: 34px; min-width: 34px; border-radius: 9px; background: var(--sheet); color: var(--ink); display: grid; place-items: center; font-weight: 600; padding: 0 7px; font-size: 13px; }
.ms-logo img { height: 24px; width: auto; }
.ms-hero h1 { font-size: clamp(28px, 4.4vw, 44px); font-weight: 600; letter-spacing: -.04em; margin: 48px 0 16px; line-height: 1.02; }
.ms-meta { display: grid; gap: 4px; font-size: 14px; opacity: .82; }
.ms-meta span { display: flex; align-items: center; gap: 9px; }
.ms-meta svg { width: 16px; height: 16px; }
.ms-body { max-width: 720px; margin: -56px auto 0; padding: 0 16px 60px; position: relative; }
.ms-card { background: var(--sheet); border-radius: var(--r-sheet); box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .35); border: 1px solid var(--hair-2); overflow: hidden; }
.ms-status { display: flex; align-items: center; gap: 14px; padding: 16px 22px; border-bottom: 1px solid var(--hair-2); font-size: 14px; color: var(--graphite); }
.ms-status b { color: var(--ink); font-weight: 600; }
.countdown { display: flex; gap: 18px; margin-left: auto; }
.countdown div { text-align: center; }
.countdown b { display: block; font-size: 20px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
.countdown small { font-size: 11.5px; color: var(--stone); }
.ms-steps { display: flex; gap: 6px; padding: 18px 22px 0; }
.ms-steps i { flex: 1; height: 3px; border-radius: 9px; background: var(--hair); transition: background .3s; }
.ms-steps i.on { background: var(--p); }
.ms-form { padding: 22px; }
.ms-form h2 { font-size: 21px; letter-spacing: -.025em; }
.ms .btn-ink { background: var(--p); color: var(--on-p); border-color: var(--p); }
.cam-box { position: relative; aspect-ratio: 4/3; border-radius: 16px; overflow: hidden; background: #1C1B18; }
.cam-box video, .cam-box img.shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cam-box.mirror video { transform: scaleX(-1); }
.cam-oval { position: absolute; left: 50%; top: 47%; width: 44%; aspect-ratio: .78; transform: translate(-50%, -50%); border-radius: 50%; box-shadow: 0 0 0 999px rgba(0, 0, 0, .45); border: 2px solid rgba(247, 245, 240, .55); transition: border-color .3s; pointer-events: none; }
.cam-oval.ok { border-color: #7BC795; }
.cam-hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); background: rgba(0, 0, 0, .6); backdrop-filter: blur(10px); color: var(--sheet); padding: 7px 14px; border-radius: 99px; font-size: 13px; white-space: nowrap; display: flex; gap: 8px; align-items: center; }
.cam-hint svg { width: 15px; height: 15px; }
.cam-empty { position: absolute; inset: 0; display: grid; place-items: center; color: #CFCABF; text-align: center; padding: 20px; }
.cam-empty svg { width: 30px; height: 30px; margin: 0 auto 10px; }

.proc { position: fixed; inset: 0; z-index: 150; background: rgba(20, 18, 14, .4); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; animation: fade .25s; }
.proc-card { width: min(420px, 100%); background: var(--sheet); border-radius: var(--r-sheet); padding: 28px 24px 18px; animation: sheetUp .45s var(--ease); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); }
.proc-face { width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 18px; background: #DCD8CE center/cover; position: relative; overflow: hidden; display: grid; place-items: center; font-size: 28px; font-weight: 600; }
.proc-face::after { content: ''; position: absolute; left: 0; right: 0; height: 2px; background: rgba(255, 255, 255, .9); box-shadow: 0 0 12px rgba(255, 255, 255, .9); animation: scanY 1.6s ease-in-out infinite; }
@keyframes scanY { 0% { top: 0; } 50% { top: 100%; } 100% { top: 0; } }
.proc-card h2 { font-size: 20px; text-align: center; }
.proc-steps { margin-top: 18px; }
.proc-step { display: flex; align-items: center; gap: 12px; padding: 12px 2px; font-size: 15px; color: var(--stone); transition: color .3s; }
.proc-step + .proc-step { border-top: 1px solid var(--hair-2); }
.proc-step .s { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--hair); display: grid; place-items: center; flex: none; }
.proc-step .s svg { width: 13px; height: 13px; stroke-width: 3; }
.proc-step.run { color: var(--ink); }
.proc-step.run .s { border-color: var(--ink); border-top-color: transparent; animation: spin .8s linear infinite; }
.proc-step.ok { color: var(--ink); }
.proc-step.ok .s { background: var(--leaf); border-color: var(--leaf); color: #fff; }
.proc-step small { margin-left: auto; font-size: 12.5px; color: var(--stone); }

/* pass (wallet-style) */
.pass-wrap { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 24px; align-items: start; }
.wallet { width: 100%; max-width: 360px; border-radius: 20px; overflow: hidden; background: var(--p); color: var(--on-p); box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .55); }
.wallet .w-top { display: flex; align-items: center; gap: 10px; padding: 16px 18px; font-size: 14px; font-weight: 500; }
.wallet .w-top .ms-logo { height: 30px; min-width: 30px; }
.wallet .w-main { display: flex; align-items: center; gap: 16px; padding: 10px 18px 18px; }
.wallet .w-main .avatar { width: 64px; height: 64px; font-size: 22px; box-shadow: 0 0 0 2px rgba(255, 255, 255, .25); }
.wallet .w-lbl { font-size: 12px; opacity: .65; }
.wallet .w-name { font-size: 22px; font-weight: 600; letter-spacing: -.025em; line-height: 1.15; }
.wallet .w-fields { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; padding: 0 18px 18px; font-size: 14px; }
.wallet .w-fields b { display: block; font-weight: 500; }
.wallet .w-qr { background: var(--sheet); color: var(--ink); padding: 18px; text-align: center; }
.wallet .w-qr img { width: 150px; margin: 0 auto 6px; image-rendering: pixelated; }
.wallet .w-qr small { color: var(--graphite); font-size: 12.5px; }
.email-mock { border: 1px solid var(--hair); border-radius: 14px; overflow: hidden; background: #FBFAF7; }
.email-mock .eh { padding: 14px 18px; border-bottom: 1px solid var(--hair-2); font-size: 13.5px; color: var(--graphite); }
.email-mock .eh b { font-size: 16px; display: block; margin-bottom: 4px; color: var(--ink); font-weight: 600; }
.email-mock .eban { padding: 22px; font-size: 20px; font-weight: 600; letter-spacing: -.02em; color: var(--on-p); }
.chat { background: #E6E2D8; border-radius: 14px; padding: 20px; min-height: 260px; }
.bubble { max-width: 330px; background: #FBFAF7; border-radius: 18px 18px 18px 4px; padding: 10px 12px; font-size: 14px; line-height: 1.5; }
.bubble img { border-radius: 10px; width: 140px; image-rendering: pixelated; margin-bottom: 8px; }
.bubble .tm { text-align: right; font-size: 11.5px; color: var(--stone); margin-top: 4px; }

/* ============ CHECK-IN ============ */
.scanner { position: relative; aspect-ratio: 16/10; border-radius: 18px; overflow: hidden; background: #141310; }
.scanner video, .scanner canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scanner.mirror video, .scanner.mirror canvas { transform: scaleX(-1); }
.scan-frame { position: absolute; left: 50%; top: 50%; width: 42%; aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; }
.scan-frame i { position: absolute; width: 30px; height: 30px; border: 3px solid var(--sheet); }
.scan-frame i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; }
.scan-frame i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; border-radius: 0 10px 0 0; }
.scan-frame i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 10px; }
.scan-frame i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; border-radius: 0 0 10px 0; }
.scan-line { position: absolute; left: 8%; right: 8%; height: 1.5px; background: rgba(247, 245, 240, .85); animation: sweep 2.4s ease-in-out infinite; }
@keyframes sweep { 0%, 100% { top: 10%; } 50% { top: 88%; } }
.scan-status { position: absolute; left: 14px; bottom: 14px; display: flex; align-items: center; gap: 9px; padding: 8px 14px; border-radius: 99px; background: rgba(0, 0, 0, .6); backdrop-filter: blur(10px); color: var(--sheet); font-size: 13.5px; max-width: calc(100% - 28px); }
.scan-status .d { width: 7px; height: 7px; border-radius: 50%; background: var(--sheet); flex: none; }
.scan-status.unknown .d { background: #E0A34A; }
.scan-status.verifying .d { background: #7BC795; }
.scan-idle { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: var(--sheet); padding: 20px; }
.scan-idle svg.big { width: 34px; height: 34px; margin: 0 auto 14px; color: #A39E93; }
.scan-idle p { color: #A39E93; margin: 6px 0 18px; font-size: 14.5px; max-width: 340px; }
.scan-chip { position: absolute; top: 14px; left: 14px; background: rgba(0, 0, 0, .55); color: var(--sheet); padding: 5px 11px; border-radius: 99px; font-size: 12.5px; backdrop-filter: blur(8px); }
.result { padding: 26px 22px 22px; text-align: center; }
.result .avatar { width: 84px; height: 84px; font-size: 28px; margin: 0 auto 16px; }
.result h3 { font-size: 20px; letter-spacing: -.025em; }
.result .verdict { display: inline-flex; gap: 8px; align-items: center; margin-top: 14px; font-weight: 500; font-size: 15px; }
.result .verdict svg { width: 20px; height: 20px; }
.result.ok .verdict { color: var(--leaf); } .result.repeat .verdict { color: var(--ochre); } .result.bad .verdict { color: var(--cinnabar); }
.result.pop { animation: sheetUp .5s var(--ease); }
.result .facts { display: grid; grid-template-columns: 1fr 1fr; margin-top: 18px; text-align: left; border-top: 1px solid var(--hair-2); }
.result .facts div { padding: 10px 0; font-size: 12.5px; color: var(--graphite); }
.result .facts div:nth-child(odd) { padding-right: 10px; }
.result .facts div:nth-child(n+3) { border-top: 1px solid var(--hair-2); }
.result .facts b { display: block; color: var(--ink); font-size: 14.5px; font-weight: 500; }

/* ============ WELCOME DISPLAY ============ */
.wel { position: fixed; inset: 0; background: #000; color: var(--sheet); display: flex; flex-direction: column; overflow: hidden; }
.wel-top { display: flex; align-items: center; gap: 16px; padding: 28px 44px; color: #8C877C; font-size: 15px; }
.wel-top .clock { color: var(--sheet); font-size: 22px; font-weight: 500; }
.wel-stage { flex: 1; display: flex; align-items: center; padding: 0 clamp(28px, 7vw, 120px); }
.wel-idle .hi { font-size: clamp(18px, 1.8vw, 26px); color: #8C877C; }
.wel-idle h1 { font-size: clamp(48px, 7.5vw, 128px); font-weight: 600; letter-spacing: -.05em; line-height: .96; margin-top: 12px; max-width: 14ch; }
.wel-idle p { margin-top: 28px; font-size: clamp(16px, 1.5vw, 21px); color: #8C877C; }
.wel-guest { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; width: 100%; }
.wel-guest .ph { width: clamp(180px, 22vw, 340px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #1F1E1B; display: grid; place-items: center; font-size: clamp(60px, 7vw, 120px); font-weight: 600; animation: photoIn 1s var(--ease) both; }
.wel-guest .ph img { width: 100%; height: 100%; object-fit: cover; }
.wel-guest .hi { font-size: clamp(20px, 2.2vw, 32px); color: #8C877C; animation: lineIn .8s .15s var(--ease) both; }
.wel-guest h2 { font-size: clamp(48px, 7vw, 120px); font-weight: 600; letter-spacing: -.05em; line-height: .98; margin-top: 8px; animation: lineIn .9s .25s var(--ease) both; }
.wel-guest .co { font-size: clamp(18px, 2vw, 30px); color: #BDB8AE; margin-top: 18px; animation: lineIn .8s .4s var(--ease) both; }
.wel-guest .ck { display: inline-flex; align-items: center; gap: 12px; margin-top: 36px; font-size: clamp(16px, 1.6vw, 22px); color: #9FD4AE; animation: lineIn .8s .6s var(--ease) both; }
.wel-guest .ck i { width: 10px; height: 10px; border-radius: 50%; background: #5FB57A; }
.wel-guest .vip { margin-left: 18px; color: #E7C982; }
@keyframes photoIn { from { opacity: 0; transform: scale(.92); } }
@keyframes lineIn { from { opacity: 0; transform: translateY(22px); } }
.wel-bar { height: 2px; background: #1F1E1B; margin: 0 44px; }
.wel-bar i { display: block; height: 100%; background: var(--sheet); width: 0; }
.wel-bar i.run { animation: bar 5.5s linear forwards; }
@keyframes bar { to { width: 100%; } }
.wel-bottom { display: flex; align-items: center; gap: 24px; padding: 20px 44px 26px; color: #8C877C; font-size: 15px; }
.wel-bottom .count { color: var(--sheet); font-size: 28px; font-weight: 600; letter-spacing: -.03em; }
.marquee { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee > div { display: inline-flex; gap: 40px; white-space: nowrap; animation: marq 60s linear infinite; }
@keyframes marq { to { transform: translateX(-50%); } }
.marquee span b { color: #DAD6CC; font-weight: 500; }
.wel-cam { position: absolute; right: 28px; top: 84px; width: 240px; aspect-ratio: 4/3; border-radius: 16px; overflow: hidden; }
.unlock { position: absolute; inset: 0; z-index: 10; display: grid; place-items: center; background: #000; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .hero, .builder, .pass-wrap, .split { grid-template-columns: 1fr; }
  .phone-wrap { position: static; }
  .flow { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 8px; }
  .flow a:nth-child(4)::after { display: none; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats .stat:nth-child(odd)::before { display: none; }
  .stats .stat:nth-child(n+3) { border-top: 1px solid var(--hair-2); }
  .wel-guest { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: sticky; top: 0; z-index: 60; height: auto; flex-direction: row; align-items: center; padding: 8px 10px; overflow-x: auto; gap: 2px; border-right: 0; border-bottom: 1px solid var(--hair); background: rgba(236, 233, 225, .92); backdrop-filter: blur(18px); }
  .side .mark { padding: 0 8px 0 2px; } .side .mark span, .side-lbl, .side .plan { display: none; }
  .side a.nav { flex: none; padding: 0 10px; } .side a.nav span, .side a.nav .k { display: none; }
  .topbar { position: static; padding: 10px 16px; flex-wrap: wrap; }
  .page { padding: 20px 16px 120px; }
  .page-h h1 { font-size: 24px; }
  .g2, .g3, .steps, .feat-list { grid-template-columns: 1fr; }
  .lp-links { display: none; }
}
@media (max-width: 620px) {
  .form-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .cta { flex-direction: column; align-items: flex-start; }
  .phone { width: 100%; max-width: 340px; }
  .ms-status { flex-wrap: wrap; } .countdown { margin-left: 0; }
  .wel-top, .wel-bottom { padding-left: 20px; padding-right: 20px; } .wel-bar { margin: 0 20px; }
  .wel-cam { width: 140px; right: 12px; }
  .step { grid-template-columns: 30px 1fr; } .step a { grid-column: 2; }
  .price-table .u { width: 90px; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } .flow a::after { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; } }

/* small-screen fixes: let the nav bar scroll instead of widening the grid column */
.side { min-width: 0; }
.mark span { white-space: nowrap; }
@media (max-width: 620px) {
  .lp-nav { gap: 10px; }
  .lp-nav .btn-plain { display: none; }
}
@media (max-width: 620px) {
  .hide-sm { display: none; }
  .q-add .field { flex: 1 1 100% !important; }
}

/* ============ GUIDE ============ */
.gd-wrap { max-width: 1120px; margin: 0 auto; padding: 40px clamp(16px, 4vw, 48px) 96px; display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 56px; align-items: start; }
.gd-toc { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; }
.gd-toc b { font-weight: 600; padding: 0 10px 8px; }
.gd-toc a { padding: 6px 10px; border-radius: 8px; color: var(--graphite); }
.gd-toc a:hover { background: rgba(0, 0, 0, .05); color: var(--ink); }
.gd-toc a.on { background: var(--ink); color: var(--sheet); }
.gd-body { max-width: 720px; }
.gd-body > p, .gd-body > ol, .gd-body > ul, .gd-body > .list, .gd-body > dl { margin-top: 14px; }
.gd-body > p { line-height: 1.65; }
.gd-body h2 { font-size: 22px; letter-spacing: -.025em; margin-top: 56px; padding-top: 8px; scroll-margin-top: 80px; }
.gd-body h1 { scroll-margin-top: 80px; }
.gd-body h3 { font-size: 16px; }
.gd-lead { font-size: 17px; color: var(--graphite); margin-top: 14px !important; }
.gd-note { padding: 12px 16px; border-radius: 12px; background: var(--sheet); border: 1px solid var(--hair-2); color: var(--graphite); font-size: 13.5px; }
.gd-steps { padding-left: 22px; display: grid; gap: 14px; line-height: 1.6; }
.gd-steps li::marker { color: var(--stone); font-weight: 600; }
.gd-steps .btn { margin-top: 8px; display: flex; width: max-content; }
.gd-list { padding-left: 20px; display: grid; gap: 8px; line-height: 1.55; margin: 10px 0 0; }
.gd-step { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-top: 1px solid var(--hair); }
.gd-step:first-of-type { margin-top: 18px; }
.gd-step p { margin-top: 8px; line-height: 1.6; }
.gd-n { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--sheet); display: grid; place-items: center; font-weight: 600; font-size: 13px; }
.gd-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 16px; }
.gd-cols > div { background: var(--sheet); border: 1px solid var(--hair-2); border-radius: var(--r-group); padding: 18px 20px; }
.gd-dl { margin: 14px 0 0; }
.gd-dl dt { font-weight: 600; margin-top: 18px; }
.gd-dl dd { margin: 6px 0 0; color: var(--graphite); line-height: 1.6; }
.gd .li .grow small { line-height: 1.5; margin-top: 2px; }
@media (max-width: 900px) {
  .gd-wrap { grid-template-columns: 1fr; gap: 0; padding-top: 24px; }
  .gd-toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px; margin-bottom: 28px; }
  .gd-toc b { display: none; }
  .gd-toc a { border: 1px solid var(--hair); border-radius: 99px; padding: 5px 12px; font-size: 13px; }
  .gd-cols { grid-template-columns: 1fr; }
}
@media (max-width: 620px) { .gd-hide-sm { display: none; } }
.chart-empty { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: var(--stone); font-size: 13.5px; pointer-events: none; }
.chart-empty[hidden] { display: none; }
@media (max-width: 900px) { .side { scrollbar-width: none; } .side::-webkit-scrollbar { display: none; } }
