/* Page sections. Shared tokens and components live in site.css. */

/* ---------- Email security ---------- */
.problem { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: start; }
.mail { background: var(--panel); border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.mail-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; box-shadow: inset 0 -1px 0 var(--line); font-size: 13px; color: var(--muted); }
.mail-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--panel-3); }
.mail-bar span { margin-left: 8px; }
.mail-head { padding: 22px 26px; display: grid; gap: 8px; font-size: 14px; color: var(--muted); box-shadow: inset 0 -1px 0 var(--line); overflow-wrap: anywhere; }
.mail-head b { color: var(--ink); font-weight: 600; }
.from { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.flag { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--tangerine); display: inline-flex; gap: 8px; align-items: center; white-space: nowrap; }
.flag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--tangerine); box-shadow: 0 0 10px var(--tangerine); }
.mail-body { padding: 26px; font-size: 15px; color: var(--text); }
.mail-body h3 { font: 600 22px/1.2 var(--f-text); color: var(--ink); margin-bottom: 10px; }
.amount { display: flex; justify-content: space-between; margin: 22px 0; padding: 18px 20px; border-radius: 12px; background: var(--panel-2); font-size: 13px; color: var(--muted); }
.amount b { display: block; margin-top: 4px; font: 600 22px var(--f-display); color: var(--ink); letter-spacing: -0.01em; }
.amount .right { text-align: right; }
.pay { display: inline-flex; height: 42px; align-items: center; padding: 0 18px; border-radius: 8px; background: #2e5bff; color: #fff; font-size: 14px; font-weight: 600; }
.cases { list-style: none; }
.cases li { display: grid; grid-template-columns: 56px 1fr; gap: 8px; padding: 26px 0; box-shadow: inset 0 -1px 0 var(--line); }
.cases li:first-child { box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); }
.cases .n { font-size: 12px; color: var(--accent); letter-spacing: .1em; padding-top: 4px; font-variant-numeric: tabular-nums; }
.cases p { margin-top: 6px; font-size: 15px; }

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; list-style: none; }
.step { padding-top: 22px; position: relative; }
.step::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; border-radius: 2px; background: rgba(91,124,255,.42); }
.step.now::before { background: linear-gradient(90deg, var(--accent) 0 60%, rgba(255,255,255,.1) 60%); }
.step .big { font: 800 64px/1 var(--f-display); letter-spacing: -0.04em; color: rgba(255,255,255,.07); }
.step .h3 { margin-top: 18px; }
.step .when { margin-top: 6px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.step p { margin-top: 12px; font-size: 15px; }
.policy { margin-top: 48px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding: 26px 28px; }
.policy .k { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.policy code { display: block; margin-top: 10px; font-size: 16px; color: var(--ink); overflow-wrap: anywhere; }
.policy .small { margin-top: 8px; }
.seg { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.seg button { height: 40px; padding: 0 18px; border: 0; border-radius: 9px; background: none; color: var(--muted); font: 500 13px var(--f-code); cursor: pointer; transition: background-color 160ms ease, color 160ms ease; }
.seg button[aria-pressed="true"] { background: var(--cream); color: var(--cream-ink); }
@media (hover: hover) and (pointer: fine) { .seg button[aria-pressed="false"]:hover { color: var(--ink); } }

.access { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
.access .h2 { margin-top: 20px; }
.access .lede { margin-top: 24px; }
.access .spec li { grid-template-columns: 1fr 1.2fr auto; }
.yes { color: var(--ok); } .no { color: var(--bad); }
.mark { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }

.finishes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; border: 0; }
.finish { position: relative; padding: 28px; border-radius: var(--r); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; cursor: pointer; transition: box-shadow 160ms ease, background-color 160ms ease; }
.finish input { position: absolute; opacity: 0; pointer-events: none; }
.finish:has(input:checked) { box-shadow: inset 0 0 0 1.5px var(--accent); background: var(--panel-2); }
.finish:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .finish:hover { background: var(--panel-2); } }
.finish .top { display: flex; justify-content: space-between; align-items: center; }
.radio { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-2); transition: box-shadow 160ms ease; }
.finish:has(input:checked) .radio { box-shadow: inset 0 0 0 5px var(--accent); }
.finish .price { margin-top: 40px; font: 700 64px/1 var(--f-display); letter-spacing: -0.04em; color: var(--ink); }
.finish .desc { margin-top: 12px; font-size: 15px; min-height: 48px; }
.finish ul { list-style: none; margin-top: 26px; padding-top: 20px; box-shadow: inset 0 1px 0 var(--line); display: grid; gap: 10px; font-size: 15px; }
.finish li { display: flex; gap: 10px; }
.finish li::before { content: ""; width: 5px; height: 5px; margin-top: 9px; border-radius: 50%; background: var(--accent); flex: none; }
.summary { margin-top: 16px; display: grid; grid-template-columns: 1fr auto auto; gap: 32px; align-items: center; padding: 18px 18px 18px 28px; }
.summary .what { font-size: 15px; } .summary .what b { color: var(--ink); font-weight: 600; }
.toggle { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; color: var(--ink); cursor: pointer; }
.toggle input { appearance: none; width: 40px; height: 24px; border-radius: 12px; background: var(--panel-3); position: relative; cursor: pointer; transition: background-color 160ms ease; flex: none; }
.toggle input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); transition: transform 200ms var(--ease); }
.toggle input:checked { background: var(--accent-2); } .toggle input:checked::after { transform: translateX(16px); }
.fine { margin-top: 14px; font-size: 13px; color: var(--muted); }

.report-sheet .spec li { grid-template-columns: 140px 1.1fr 120px 1.6fr; }
.report-sheet .spec code { color: var(--ink); font-size: 13px; overflow-wrap: anywhere; }
.report-meta { display: flex; justify-content: space-between; margin-bottom: 18px; }
.sheet-link { margin-top: 28px; }

.about-faq { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; }
.about-faq .h2 { margin-top: 20px; }
.about-faq p { margin-top: 22px; }
.faq details { box-shadow: inset 0 -1px 0 var(--line); }
.faq details:first-child { box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); }
.faq summary { list-style: none; display: grid; grid-template-columns: 40px 1fr 20px; gap: 12px; align-items: center; padding: 22px 0; cursor: pointer; color: var(--ink); font-size: 17px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .n { font-size: 12px; color: var(--muted); letter-spacing: .1em; }
.faq details[open] summary .n { color: var(--accent); }
.plus { width: 14px; height: 14px; position: relative; justify-self: end; }
.plus::before, .plus::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 1.5px; background: currentColor; transition: transform 200ms var(--ease); }
.plus::after { transform: rotate(90deg); }
.faq details[open] .plus::after { transform: rotate(0); }
.faq details p { margin-top: 0; padding: 0 32px 24px 52px; font-size: 16px; max-width: 64ch; }

.cta { position: relative; overflow: hidden; padding: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; isolation: isolate; }
.cta .bgword { top: auto; bottom: -40px; right: -20px; font-size: 220px; }
.cta .h2 { margin-top: 20px; }
.cta .lede { margin-top: 22px; }
.form { display: grid; gap: 14px; position: relative; }
.form .btn { margin-top: 6px; }

/* ---------- Free check ---------- */
.checkbar { display: flex; gap: 8px; margin-top: 34px; padding: 6px; border-radius: 14px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line-2); max-width: 520px; }
.checkbar input { flex: 1; min-width: 0; height: 52px; padding: 0 16px; border: 0; background: none; color: var(--ink); font: 500 17px var(--f-text); }
.checkbar input:focus-visible { outline: none; }
.checkbar:focus-within { box-shadow: inset 0 0 0 1.5px var(--accent); }
.check-hint { margin-top: 12px; font-size: 13px; color: var(--muted); min-height: 1.6em; }
.check-hint.bad { color: var(--bad); }
.hero-check .hero-copy { max-width: 660px; }
.hero-check .display { font-size: clamp(46px, 4.8vw, 78px); }

.readout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; align-items: stretch; }
.rows { padding: 8px 28px; }
.rows .spec li { grid-template-columns: 120px 1fr auto; }
.rows .spec li:first-child { box-shadow: inset 0 -1px 0 var(--line); }
.rows .spec li:last-child { box-shadow: none; }
.rows .spec .why { grid-column: 2 / -1; font-size: 15px; margin-top: -8px; }
.rows .spec code { grid-column: 2 / -1; font-size: 13px; color: var(--ink); margin-top: -8px; overflow-wrap: anywhere; }
.verdict { padding: 32px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.verdict .big { margin-top: 20px; font: 700 clamp(40px, 3.6vw, 56px)/0.95 var(--f-display); text-transform: uppercase; letter-spacing: -0.03em; color: var(--ink); }
.verdict p { margin-top: 18px; font-size: 15px; }
.verdict .actions { margin-top: auto; padding-top: 32px; display: grid; gap: 14px; }
.verdict .actions .tlink { justify-content: center; }
.dial { display: flex; gap: 6px; margin-top: 26px; }
.dial i { flex: 1; height: 6px; border-radius: 3px; background: var(--panel-3); transition: background-color 300ms ease, box-shadow 300ms ease; }
.dial i[data-s="ok"] { background: var(--ok); box-shadow: 0 0 12px rgba(123,224,106,.5); }
.dial i[data-s="warn"] { background: var(--warn); box-shadow: 0 0 12px rgba(240,196,108,.45); }
.dial i[data-s="bad"] { background: var(--bad); box-shadow: 0 0 12px rgba(255,127,112,.4); }
.stamp { margin-top: 12px; font-size: 13px; color: var(--muted); }
.readout[aria-busy="true"] .rows { opacity: .5; }

.records .spec li { grid-template-columns: 260px 1fr 1fr; align-items: start; padding: 32px 0; gap: 32px; }
.records .name { font: 700 clamp(40px, 4vw, 64px)/0.9 var(--f-display); letter-spacing: -0.04em; color: var(--ink); text-transform: uppercase; }
.records code { display: block; padding: 16px 18px; border-radius: 12px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }

.ways { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.way { padding: 36px; display: flex; flex-direction: column; min-height: 440px; }
.way.pick { box-shadow: inset 0 0 0 1.5px var(--accent); background: var(--panel-2); }
.way .h2 { margin-top: 20px; font-size: clamp(30px, 2.8vw, 44px); }
.way p { margin-top: 16px; max-width: 42ch; }
.way .price { margin-top: auto; padding-top: 32px; font: 700 72px/1 var(--f-display); letter-spacing: -0.04em; color: var(--ink); }
.way .btn { margin-top: 24px; align-self: flex-start; }

/* ---------- Guides ---------- */
.lib { display: grid; gap: 16px; }
.item { display: grid; grid-template-columns: 0.9fr 1.1fr; overflow: hidden; }
.stage { position: relative; min-height: 460px; display: flex; align-items: center; justify-content: center; background: radial-gradient(ellipse 60% 60% at 50% 55%, var(--t, #24242b) 0%, rgba(21,21,26,0) 72%); box-shadow: inset -1px 0 0 var(--line); }
.stage img { width: 44%; border-radius: 4px 10px 10px 4px; transform: perspective(1400px) rotateY(-18deg) rotateX(4deg); box-shadow: 0 40px 70px rgba(0,0,0,.6); }
.stage img + img { position: absolute; width: 28%; left: 62%; top: 32%; transform: perspective(1400px) rotateY(-24deg) rotateX(4deg); opacity: .9; }
.stage img.wide { width: 56%; }
.info { padding: 44px 48px; display: flex; flex-direction: column; }
.info .h2 { margin-top: 18px; font-size: clamp(28px, 2.6vw, 42px); }
.info p { margin-top: 16px; max-width: 48ch; }
.info .meta { margin-top: 18px; }
.buy { margin-top: auto; padding-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.buy .amount-big { font: 700 40px/1 var(--f-display); letter-spacing: -0.03em; color: var(--ink); }
.free { margin-top: 18px; font-size: 15px; color: var(--muted); }
.free a { color: var(--ink); }
.t-ai { --t: rgba(255,183,102,.22); } .t-ad { --t: rgba(92,225,230,.18); } .t-re { --t: rgba(58,211,137,.16); } .t-tpl { --t: rgba(239,230,210,.14); } .t-biz { --t: rgba(91,124,255,.22); }
.kit { width: 72%; padding: 20px 22px; border-radius: 14px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 70px rgba(0,0,0,.5); display: grid; gap: 10px; transform: perspective(1400px) rotateY(-14deg) rotateX(4deg); }
.kit code { display: block; padding: 10px 12px; border-radius: 8px; background: var(--panel-2); color: var(--ink); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Home ---------- */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.door { display: flex; flex-direction: column; overflow: hidden; min-height: 620px; }
.door .in { padding: 40px; }
.door .h2 { margin-top: 18px; font-size: clamp(30px, 2.8vw, 44px); }
.door p { margin-top: 16px; max-width: 44ch; }
.door .go { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 28px; }
.door .spec { margin: auto 40px 36px; }
.door .spec li { grid-template-columns: 1fr auto; padding: 16px 0; }
.shelf { position: relative; height: 280px; margin-top: auto; overflow: hidden; background: radial-gradient(ellipse 60% 70% at 50% 100%, rgba(91,124,255,.2), rgba(21,21,26,0) 70%); }
.shelf img { position: absolute; bottom: -40px; width: 30%; border-radius: 4px 10px 0 0; box-shadow: 0 30px 60px rgba(0,0,0,.6); }
.shelf img:nth-child(1) { left: 8%; transform: perspective(1200px) rotateY(18deg); }
.shelf img:nth-child(2) { left: 35%; width: 32%; bottom: -24px; z-index: 1; }
.shelf img:nth-child(3) { left: 64%; transform: perspective(1200px) rotateY(-18deg); }
.posts { list-style: none; }
.posts li { box-shadow: inset 0 -1px 0 var(--line); }
.posts li:first-child { box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); }
.posts a { display: grid; grid-template-columns: 60px 220px 1fr auto 20px; gap: 24px; align-items: center; padding: 26px 0; text-decoration: none; }
.posts .n { font-size: 12px; color: var(--dim); letter-spacing: .1em; }
.posts .t { font: 600 20px/1.3 var(--f-text); color: var(--ink); letter-spacing: -0.01em; }
.posts .arrow { color: var(--muted); transition: transform 160ms var(--ease), color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .posts a:hover .arrow { color: var(--ink); transform: translate(2px, -2px); } .posts a:hover .n { color: var(--accent); } }

/* ---------- Simple pages ---------- */
.page-head { padding-top: 120px; max-width: 900px; }
.page-head .display { margin-top: 24px; }
.page-head .lede { margin-top: 26px; }
.page-body { padding-top: 64px; }
.sheet { max-width: 980px; }
.sheet .spec li { grid-template-columns: 140px 1fr 110px; }
.sheet .fixbox { margin-top: 12px; grid-column: 1 / -1; padding: 18px 20px; border-radius: 12px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; }
.sheet .fixbox code { display: block; margin-top: 10px; color: var(--ink); overflow-wrap: anywhere; }
.notfound { min-height: 60vh; }

@media (max-width: 1023px) {
  .problem, .access, .about-faq, .cta, .readout, .ways, .doors { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .finishes { grid-template-columns: 1fr; }
  .summary { grid-template-columns: 1fr; gap: 16px; }
  .report-sheet .spec li { grid-template-columns: 1fr auto; } .report-sheet .spec li > :nth-child(2) { grid-column: 1 / -1; grid-row: 2; } .report-sheet .spec li > :nth-child(4) { grid-column: 1 / -1; }
  .policy { grid-template-columns: 1fr; }
  .records .spec li { grid-template-columns: 1fr; gap: 14px; }
  .item { grid-template-columns: 1fr; } .stage { min-height: 380px; box-shadow: inset 0 -1px 0 var(--line); }
  .posts a { grid-template-columns: 1fr auto; gap: 8px 16px; } .posts .n, .posts .label { display: none; }
}
@media (max-width: 767px) {
  .steps { grid-template-columns: 1fr; }
  .seg { width: 100%; } .seg button { flex: 1; padding: 0 8px; font-size: 12px; }
  .cta { padding: 32px 22px; }
  .cta .bgword { font-size: 34vw; }
  .faq details p { padding: 0 0 22px 52px; }
  .checkbar { flex-direction: column; } .checkbar .btn { width: 100%; }
  .rows { padding: 4px 20px; } .rows .spec li { grid-template-columns: 1fr auto; }
  .rows .spec .why, .rows .spec code { grid-column: 1 / -1; margin-top: 0; }
  .verdict, .way { padding: 26px 22px; } .way { min-height: 0; } .way .price { font-size: 56px; }
  .stage { min-height: 300px; } .info { padding: 28px 22px; }
  .door { min-height: 0; } .door .in { padding: 28px 22px; } .door .spec { margin: 0 22px 28px; }
  .shelf { height: 220px; }
  .page-head { padding-top: 64px; }
  .sheet .spec li { grid-template-columns: 1fr auto; }
}
[data-mt="18"] { margin-top: 18px; } [data-mt="64"] { margin-top: 64px; } [data-mt="auto"] { margin-top: auto; }

/* Process line: one glow line through the five steps, a node on each */
.steps-wrap { position: relative; }
.glow-steps { height: 40px; top: -19px; bottom: auto; overflow: visible; }
.steps-wrap .steps { position: relative; z-index: 1; }
.steps-wrap .step::before { display: none; }
.steps-wrap .step::after { content: ""; position: absolute; left: 0; top: -5px; width: 8px; height: 8px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 1.5px #9db0ff, 0 0 10px rgba(91,124,255,.6); }
.steps-wrap .step.now::after { background: var(--accent); }
/* Recommended plan: the page's tangerine marker */
.finish .rec { position: absolute; top: -11px; right: 24px; padding: 4px 10px; border-radius: 999px; background: var(--tangerine); color: var(--tangerine-ink); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
/* Booking form */
.book .book-sum { margin-top: 32px; max-width: 420px; }
.book .book-sum li { grid-template-columns: 1fr auto; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field select { width: 100%; height: 52px; padding: 0 14px; border-radius: 10px; border: 0; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); font: 16px var(--f-text); }
.field select:focus-visible { outline: none; box-shadow: inset 0 0 0 1.5px var(--accent); }
.field select[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px var(--bad); }
@media (max-width: 767px) { .glow-steps { display: none; } .steps-wrap .step::before { display: block; } .steps-wrap .step::after { display: none; } .field-row { grid-template-columns: 1fr; } }

.amount-big s, .price-line s { color: var(--muted); font-size: .55em; margin-right: .3em; text-decoration-thickness: 1px; }
