/* Astroyds — site styles */
:root {
  --bg: #0a0a0a;
  --deep: #000000;
  --surface: #151515;
  --surface-2: #1e1e1e;
  --ink: #efefef;
  --muted: #9a9a9a;
  --accent: #b11226;
  --accent-ink: #ffffff;
  --field-1: #efefef;
  --field-1-ink: #0a0a0a;

  --ok: #3ccf7a;
  --warn: #e8a23a;
  --bad: #ff4d5e;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.75rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(2.5rem, 1rem + 6vw, 7rem);

  --m: 32px;
  --gap: 24px;
  --sec: clamp(120px, 14vw, 200px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Clash Grotesk", "Helvetica Neue", Arial, sans-serif;
}
@media (max-width: 760px) { :root { --m: 16px; --gap: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: var(--step-body); line-height: 1.45; font-weight: 400; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-weight: 500; letter-spacing: -0.03em; line-height: 0.98; }
button, input, select { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 500; font-size: var(--step-small); border: 0; border-radius: 0; cursor: pointer; transition: transform .2s var(--ease), background-color .2s var(--ease); }
.btn:hover { background: #c8162c; }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-sm { min-height: 40px; padding: 0 16px; }
.btn-ghost { background: var(--surface-2); color: var(--ink); }
.btn-ghost:hover { background: #2b2b2b; }
.btn-inv { background: var(--accent-ink); color: var(--accent); }
.btn-inv:hover { background: #ffe9ec; }

/* Bar */
.bar { position: absolute; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 20px var(--m); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 1.25rem; letter-spacing: -0.02em; }
.wordmark svg { color: var(--accent); }
.bar nav { display: flex; align-items: center; gap: 28px; font-size: var(--step-small); }
.bar nav a:not(.btn) { text-decoration: none; color: var(--ink); transition: opacity .2s; }
.bar nav a:not(.btn):hover { opacity: .7; }
@media (max-width: 760px) { .bar nav a:not(.btn) { display: none; } }

/* ---------- Interface fragments (data-ui) ---------- */
[data-ui] { font-size: 14px; line-height: 1.35; color: var(--ink); font-variant-numeric: tabular-nums; }
.ui-title { font-weight: 500; font-size: 15px; }
.ui-dim { color: var(--muted); font-size: 13px; }
.ui-btn { display: inline-flex; align-items: center; justify-content: center; height: 36px; padding: 0 14px; background: var(--accent); color: #fff; border: 0; border-radius: 6px; font-weight: 500; font-size: 14px; cursor: pointer; transition: background-color .15s, transform .15s; }
.ui-btn:hover { background: #c8162c; }
.ui-btn:active { transform: scale(.97); }
.ui-btn-wide { width: 100%; }
.ui-btn-big { height: 46px; font-size: 15px; }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.dot-red { background: var(--bad); box-shadow: 0 0 0 4px rgba(255,77,94,.18); animation: pulse 1.6s infinite; } /* taste-skill-ignore: inside data-ui fragment */
.dot-green { background: var(--ok); }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(255,77,94,0); } } /* taste-skill-ignore: inside data-ui fragment */
.t-red { color: var(--bad); } .t-amber { color: var(--warn); } .t-green { color: var(--ok); }
.pn-lab { display: block; font-size: 13px; color: var(--muted); margin: 0 0 8px; }
.pn-lab em { font-style: normal; color: var(--ink); margin-left: 6px; }

/* ---------- Hero ---------- */
.hero { --fw: clamp(400px, 35vw, 640px); --fh: calc(var(--fw) * .75); height: 250vh; position: relative; }
.hero-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.hero-h { position: absolute; inset: 0; pointer-events: none; z-index: 2; font-size: clamp(40px, 3.6vw, 68px); }
.hh { position: absolute; top: 50%; transform: translateY(-50%); max-width: calc((100vw - var(--fw)) / 2 - var(--m) - 24px); }
.hh-l { left: var(--m); }
.hh-r { right: var(--m); text-align: right; }
.reel { position: absolute; left: 50%; top: 0; bottom: 0; width: var(--fw); transform: translateX(-50%); z-index: 3; }
.reel-track { position: absolute; left: 0; right: 0; top: calc(50% - var(--fh) / 2); display: flex; flex-direction: column; gap: 24px; will-change: transform; }
.frame { width: var(--fw); height: var(--fh); flex: none; border-radius: 4px; overflow: hidden; }
.frame-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: drift 24s ease-in-out infinite alternate; }
@keyframes drift { to { transform: scale(1.14) translate(-2%, 1%); } }
.frame-ui { background: var(--surface); border: 1px solid #262626; padding: clamp(18px, 1.6vw, 28px); display: flex; } /* taste-skill-ignore: inside data-ui fragment */
.hero-foot { position: absolute; left: var(--m); bottom: 32px; width: calc((100vw - var(--fw)) / 2 - var(--m) - 32px); max-width: 420px; display: grid; gap: 20px; justify-items: start; z-index: 4; }
.hero-foot p { font-size: 18px; line-height: 1.45; }

/* probe */
.probe { display: flex; flex-direction: column; width: 100%; gap: 12px; }
.probe-top { display: flex; justify-content: space-between; align-items: baseline; }
.probe-row { display: flex; gap: 8px; }
.probe-row input, .pn-req input, .pn-req select, #hs-url, .ws-field input, #ws-plan { flex: 1; min-width: 0; height: 36px; padding: 0 10px; background: var(--bg); border: 1px solid #333; border-radius: 6px; font-size: 14px; color: var(--ink); } /* taste-skill-ignore: inside data-ui fragment */
.probe-row input:focus, .pn-req input:focus, #hs-url:focus, .ws-field input:focus { outline: none; border-color: var(--ink); }
.probe-out { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; flex: 1; align-content: start; }
.probe-out li, .inc-regions li, .asserts li, .esc li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 10px; background: var(--bg); border-radius: 4px; }
.probe-out li b, .inc-regions b { font-weight: 500; }
.probe-out li.ok b { color: var(--ok); } .probe-out li.slow b { color: var(--warn); } .probe-out li.bad b { color: var(--bad); }
.probe-out li { transition: background-color .3s; }
.probe-out li.now { background: var(--surface-2); }
.probe-sum { color: var(--muted); font-size: 13px; }
.probe-sum b { color: var(--ink); font-weight: 500; }

/* incident */
.inc { display: flex; flex-direction: column; width: 100%; gap: 12px; }
.inc-head { display: flex; align-items: center; gap: 10px; }
.inc-head .ui-dim { margin-left: auto; }
.inc-regions { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; flex: 1; align-content: start; }
.inc-foot { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.inc-foot b { font-weight: 500; }

@media (max-width: 1100px) {
  .hero { height: auto; --fw: 100%; }
  .hero-stage { position: relative; height: auto; overflow: visible; padding: 96px var(--m) 72px; display: flex; flex-direction: column; gap: 20px; }
  .hero-h { position: static; display: contents; font-size: 9vw; }
  .hh { position: static; transform: none; max-width: none; display: block; }
  .hh-l { order: 1; }
  .reel { position: static; transform: none; width: 100%; order: 2; }
  .reel-track { position: static; }
  .frame { width: 100%; height: auto; min-height: 330px; }
  .reel .frame:not(:first-child) { display: none; }
  .hh-r { order: 3; }
  .hero-foot { position: static; width: auto; order: 4; margin-top: 12px; }
  .hero-foot p { font-size: 17px; }
}
@media (min-width: 761px) and (max-width: 1100px) { .hero-h { font-size: 7vw; } .reel { max-width: 640px; } }

/* ---------- Features: panel with margin notes ---------- */
.sec { padding: var(--sec) var(--m) 0; }
.feat-grid { display: grid; grid-template-columns: 1fr 392px 1fr; gap: 56px; max-width: 1400px; margin: 0 auto; }
.notes { position: relative; }
.notes-l { text-align: right; }
.feat-h { font-size: var(--step-head); margin-left: auto; max-width: 9ch; }
.js .feat-grid .note { position: absolute; }
.notes-l .note { right: 0; }
.notes-r .note { left: 0; }
.note { display: block; width: 26ch; max-width: 100%; text-align: inherit; background: none; border: 0; padding: 0; cursor: pointer; margin-top: 32px; }
.js .note { margin-top: 0; }
.note b { display: block; font-weight: 500; font-size: 18px; margin-bottom: 4px; transition: color .2s; }
.note span { display: block; font-size: 15px; color: var(--muted); line-height: 1.4; }
.note:hover b, .note:focus-visible b, .note.on b { color: var(--bad); }

.panel { position: relative; background: var(--surface); border: 1px solid #262626; border-radius: 10px; padding: 8px; display: flex; flex-direction: column; gap: 4px; align-self: start; } /* taste-skill-ignore: inside data-ui fragment */
.pn-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 12px 10px; }
.pill-up { font-size: 12.5px; color: var(--ok); background: rgba(60,207,122,.12); padding: 3px 8px; border-radius: 99px; }
.pn-part { padding: 14px 12px; border-radius: 6px; transition: background-color .25s, box-shadow .25s; }
.pn-part.hl { background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--accent); } /* taste-skill-ignore: inside data-ui fragment */
.pn-req { display: flex; gap: 6px; }
.pn-req select { flex: none; width: 76px; }
.pn-sub { margin-top: 8px; font-size: 13px; color: var(--muted); }
.pn-sub b { color: var(--ink); font-weight: 500; }
.seg { display: flex; background: var(--bg); border: 1px solid #333; border-radius: 6px; padding: 2px; gap: 2px; } /* taste-skill-ignore: inside data-ui fragment */
.seg button { flex: 1; height: 30px; background: none; border: 0; border-radius: 4px; font-size: 13px; color: var(--muted); cursor: pointer; transition: background-color .15s, color .15s; }
.seg button:hover { color: var(--ink); }
.seg button[aria-checked="true"] { background: var(--surface-2); color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 4px; }
.chips span { font-size: 12.5px; padding: 3px 8px; background: var(--bg); border-radius: 4px; }
.chips .more { color: var(--muted); }
.asserts, .esc { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.asserts b { font-weight: 500; }
.esc i { font-style: normal; color: var(--muted); white-space: nowrap; }
.esc b { font-weight: 500; }
.tog { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; }
.tog input { accent-color: var(--accent); width: 16px; height: 16px; }
.tog b { font-weight: 500; }

@media (max-width: 1100px) {
  .feat-grid { grid-template-columns: 1fr; gap: 32px; }
  .notes-l { text-align: left; order: -1; }
  .feat-h { margin-left: 0; max-width: none; font-size: 30px; }
  .js .feat-grid .note { position: static; }
  .panel { max-width: 420px; width: 100%; justify-self: center; }
  .notes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 20px; align-items: start; }
  .notes-l .feat-h { grid-column: 1 / -1; }
  .note, .js .note { width: auto; margin: 0; }
  .note span { font-size: 15px; }
}

/* ---------- Band ---------- */
.band { margin-top: var(--sec); display: grid; grid-template-columns: 7fr 5fr; min-height: 88vh; background: var(--deep); }
.band-img { overflow: hidden; position: relative; }
.band-img img { width: 100%; height: 100%; object-fit: cover; animation: drift 30s ease-in-out infinite alternate; }
.band-text { padding: 64px var(--m) 48px 56px; display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.band-text h2 { font-size: var(--step-head); max-width: 11ch; }
.statement { font-size: var(--step-lead); line-height: 1.3; max-width: 30ch; }
.cap { font-size: var(--step-small); color: var(--muted); }
@media (max-width: 900px) {
  .band { grid-template-columns: 1fr; min-height: 0; }
  .band-img { aspect-ratio: 4 / 3; }
  .band-text { padding: 40px var(--m) 56px; }
}

/* ---------- Showcase ---------- */
.show { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 1fr auto; min-height: 92svh; }
.show-in { grid-column: 1; grid-row: 1; background: var(--deep); padding: 15svh var(--m) 24px calc(var(--m) + 2vw); }
.show-out { grid-column: 2; grid-row: 1; background: var(--field-1); color: var(--field-1-ink); padding: 15svh var(--m) 24px; display: flex; justify-content: center; align-items: flex-start; }
.show-h { display: contents; }
.show-h span { font-size: clamp(40px, 5vw, 80px); padding: 0 var(--m) 32px; display: block; }
.sh-l { grid-column: 1; grid-row: 2; background: var(--deep); color: var(--ink); }
.sh-r { grid-column: 2; grid-row: 2; background: var(--field-1); color: var(--field-1-ink); text-align: right; }
.show-hint { font-size: var(--step-small); color: var(--muted); margin-bottom: 20px; }
.cfg { margin: 0; font-size: clamp(15px, 1.25vw, 20px); line-height: 1.5; max-width: 100%; white-space: pre; overflow-x: auto; }
.cfg code { display: block; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; outline: none; color: #e6e6e6; caret-color: var(--bad); padding: 4px 0; }
.cfg code:focus-visible { outline: 1px dashed #555; outline-offset: 8px; }
.mons { width: min(500px, 100%); background: #fff; color: #111; border-radius: 10px; box-shadow: 0 0 0 1px #dcdcdc; padding: 8px; } /* taste-skill-ignore: inside data-ui fragment */
.mons-head, .mons-foot { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 12px; }
.mons .ui-dim { color: #6b6b6b; }
.mons-foot { font-size: 13px; color: #444; }
.mons-foot b { font-weight: 500; color: #111; }
#mons { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
#mons li { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 12px; align-items: center; padding: 10px 12px; background: #f4f4f4; border-radius: 6px; animation: rowin .35s var(--ease); }
#mons li .dot { grid-row: span 2; }
#mons .m-name { font-weight: 500; font-size: 15px; }
#mons .m-host { grid-column: 2; font-size: 13px; color: #555; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#mons .m-ms { grid-column: 3; grid-row: 1; font-weight: 500; text-align: right; }
#mons .m-every { grid-column: 3; grid-row: 2; font-size: 13px; color: #555; text-align: right; }
#mons .m-empty { display: block; color: #555; }
@keyframes rowin { from { opacity: 0; transform: translateY(6px); } }
@media (max-width: 760px) {
  .show { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; min-height: 0; }
  .show-in { grid-column: 1; grid-row: 1; padding: 56px 20px 24px; }
  .sh-l { grid-column: 1; grid-row: 2; }
  .sh-r { grid-column: 1; grid-row: 3; text-align: left; padding-top: 32px !important; padding-bottom: 8px !important; }
  .show-out { grid-column: 1; grid-row: 4; padding: 16px 16px 56px; }
  .show-h span { font-size: 11vw; padding: 0 20px 28px; }
  .cfg { font-size: 14px; }
}

/* ---------- How it works ---------- */
.how { display: grid; grid-template-columns: 5fr 1fr 6fr; max-width: 1400px; margin: 0 auto; }
.how-text { grid-column: 1; }
.how-h { font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.01em; margin-bottom: 8vh; }
.step { min-height: 68vh; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.step:first-of-type { min-height: 52vh; justify-content: flex-start; }
.step-s { font-size: clamp(26px, 2.2vw, 34px); line-height: 1.15; letter-spacing: -0.02em; color: var(--muted); transition: color .4s var(--ease); max-width: 20ch; }
.step p:not(.step-s) { max-width: 40ch; color: var(--muted); }
.step.on .step-s { color: var(--ink); }
.how-stage-wrap { grid-column: 3; }
.how-stage { position: sticky; top: 14vh; background: var(--surface); aspect-ratio: 1; max-width: 560px; padding: 40px; display: grid; place-items: center; }
.hs { width: 100%; max-width: 420px; background: var(--bg); border: 1px solid #2a2a2a; border-radius: 10px; padding: 20px; position: relative; min-height: 340px; } /* taste-skill-ignore: inside data-ui fragment */
.hs-s { display: flex; flex-direction: column; gap: 12px; position: absolute; inset: 20px; opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease), transform .45s var(--ease); pointer-events: none; }
.hs-s .pn-lab { margin: 4px 0 -4px; }
.how-stage[data-state="0"] .hs-0, .how-stage[data-state="1"] .hs-1, .how-stage[data-state="2"] .hs-2 { opacity: 1; transform: none; pointer-events: auto; }
.hs-s #hs-url { flex: none; }
.esc-big li { padding: 10px 12px; }
.rota { display: flex; gap: 4px; }
.rota span { flex: 1; padding: 8px 10px; background: var(--surface); border-radius: 4px; font-size: 13px; color: var(--muted); }
.rota .on { background: var(--surface-2); color: var(--ink); box-shadow: inset 3px 0 0 var(--accent); } /* taste-skill-ignore: inside data-ui fragment */
.tl { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.tl li { display: grid; grid-template-columns: 70px 1fr; gap: 10px; padding: 7px 10px; background: var(--surface); border-radius: 4px; font-size: 13.5px; }
.tl i { font-style: normal; color: var(--muted); }
@media (max-width: 900px) {
  .how { grid-template-columns: 1fr; }
  .how-stage-wrap { grid-column: 1; position: sticky; top: 0; z-index: 2; background: var(--bg); padding: 12px 0; }
  .how-stage { position: static; aspect-ratio: auto; padding: 16px; height: 46svh; min-height: 360px; }
  .hs { min-height: 0; height: 100%; }
  .how-text { display: contents; }
  .how-h { grid-row: 1; margin: 0 0 8px; font-size: 26px; }
  .how-stage-wrap { grid-row: 2; }
  .step, .step:first-of-type { min-height: 60svh; justify-content: center; }
  .step-s { font-size: 22px; }
}

/* ---------- Pricing ---------- */
.ptable-wrap { overflow-x: auto; }
.ptable { width: 100%; border-collapse: collapse; font-size: var(--step-lead); max-width: 1440px; margin: 0 auto; }
.ptable th, .ptable td { text-align: left; padding: 20px 24px; vertical-align: top; font-weight: 400; }
.ptable thead th { vertical-align: bottom; padding-top: 32px; padding-bottom: 32px; }
.ptable thead th:first-child { width: 32%; }
.ptable h2 { font-size: var(--step-head); max-width: 8ch; }
.pl { display: block; font-size: clamp(28px, 3vw, 48px); font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.pp { display: block; font-size: clamp(28px, 3vw, 48px); letter-spacing: -0.03em; line-height: 1.1; margin-top: 6px; }
.pp small { font-size: 16px; letter-spacing: 0; }
.ptable tbody tr:nth-child(odd) { background: var(--surface); }
.ptable .rec { background: var(--accent) !important; color: var(--accent-ink); }
.ptable tbody tr:nth-child(odd) .rec { background: #a50f22 !important; }
.ptable tbody th { color: var(--ink); }
.ptable .pbtn td, .ptable .pbtn th { padding-top: 28px; padding-bottom: 32px; background: var(--bg); }
.ptable .pbtn .btn { width: 100%; }
.pnote { max-width: 1440px; margin: 28px auto 0; color: var(--muted); font-size: var(--step-small); }
.pblocks { display: none; }
@media (max-width: 860px) {
  .js .ptable-wrap { display: none; }
  .js .pblocks { display: grid; gap: 48px; }
  .pblocks h2 { font-size: 9vw; margin-bottom: 12px; }
  .pb { background: var(--surface); padding: 24px 20px; }
  .pb.rec { background: var(--accent); color: var(--accent-ink); }
  .pb .pb-n { font-size: 9vw; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
  .pb .pb-p { font-size: 9vw; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 20px; }
  .pb .pb-p small { font-size: 16px; letter-spacing: 0; }
  .pb dl { margin: 0 0 24px; display: grid; gap: 14px; font-size: 17px; }
  .pb dt { color: var(--muted); }
  .pb.rec dt { color: #ffd6db; }
  .pb dd { margin: 2px 0 0; }
  .pb .btn { width: 100%; min-height: 52px; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 4fr 8fr; gap: var(--gap); max-width: 1440px; margin: 0 auto; padding-bottom: var(--sec); }
.faq-h { font-size: var(--step-head); position: sticky; top: 96px; align-self: start; max-width: 7ch; }
.faq-list { display: grid; gap: 8px; }
.faq details { background: var(--surface); transition: background-color .25s var(--ease); }
.faq summary { list-style: none; cursor: pointer; min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 24px; font-size: 20px; font-weight: 500; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; flex: none; width: 16px; height: 3px; background: currentColor; position: absolute; right: 24px; top: 50%; margin-top: -1.5px; transition: transform .3s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq summary { padding-right: 64px; }
.faq summary:hover { background: var(--surface-2); }
.faq details[open] { background: var(--accent); color: var(--accent-ink); }
.faq details[open] summary:hover { background: transparent; }
.faq details[open] summary::after { transform: rotate(0); }
.faq details p { padding: 0 24px 26px; max-width: 52ch; font-size: 17px; }
@media (max-width: 860px) {
  .faq { grid-template-columns: 1fr; }
  .faq-h { position: static; font-size: 9vw; max-width: none; margin-bottom: 12px; }
  .faq-list { gap: 6px; }
  .faq summary { font-size: 18px; min-height: 64px; padding: 16px 56px 16px 20px; }
  .faq summary::before, .faq summary::after { right: 20px; }
  .faq details p { padding: 0 20px 22px; font-size: 16px; }
}

/* ---------- CTA ---------- */
.cta { background: var(--accent); color: var(--accent-ink); min-height: 90svh; display: grid; grid-template-columns: 6fr 1fr 5fr; padding: 40px var(--m); align-items: center; }
.cta-text { grid-column: 1; align-self: end; display: grid; gap: 20px; padding-bottom: 8px; }
.cta-h { font-size: var(--step-display); line-height: 0.92; max-width: 9ch; }
.cta-text p { font-size: 17px; max-width: 40ch; }
.dlg { grid-column: 3; width: 100%; max-width: 440px; background: #fff; color: #111; border-radius: 12px; padding: 24px; box-shadow: 0 30px 60px -20px rgba(40,0,6,.55), 0 0 0 1px rgba(0,0,0,.06); display: flex; flex-direction: column; gap: 6px; } /* taste-skill-ignore: inside data-ui fragment */
.dlg .pn-lab { color: #555; margin-top: 12px; }
.dlg .ui-dim { color: #666; }
.dlg-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.dlg-head .ui-title { font-size: 18px; }
.ws-field { display: flex; align-items: center; border: 1px solid #cfcfcf; border-radius: 6px; padding-right: 10px; background: #fff; } /* taste-skill-ignore: inside data-ui fragment */
.ws-field:focus-within { border-color: #111; }
.ws-field input { border: 0 !important; background: transparent !important; color: #111 !important; height: 42px !important; font-size: 15px !important; }
.ws-suffix { color: #666; font-size: 14px; }
.dlg .seg { background: #f1f1f1; border-color: #dcdcdc; }
.dlg .seg button { color: #555; height: 34px; font-size: 14px; }
.dlg .seg button[aria-checked="true"] { background: #fff; color: #111; } /* taste-skill-ignore: inside data-ui fragment */
.dlg #ws-plan { background: #fff; color: #111; border-color: #cfcfcf; height: 42px; font-size: 15px; }
.dlg .ui-btn { margin-top: 20px; }
.dlg-note { margin-top: 4px; text-align: center; }
@media (max-width: 900px) {
  .cta { grid-template-columns: 1fr; align-content: space-between; gap: 40px; padding: 56px var(--m) 32px; min-height: 84svh; }
  .cta-text { grid-column: 1; align-self: start; }
  .cta-h { font-size: 13vw; }
  .dlg { grid-column: 1; max-width: none; }
  .dlg .ui-btn-big { height: 52px; }
}

/* ---------- Footer of tiles ---------- */
.foot { display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px; padding: 8px; }
.tile { background: var(--surface); padding: 24px; min-height: 220px; display: flex; flex-direction: column; text-decoration: none; }
.t-state { grid-column: span 4; justify-content: space-between; gap: 20px; }
.t-state p { font-size: var(--step-lead); line-height: 1.25; max-width: 24ch; }
.t-state small { font-size: 13px; color: var(--muted); line-height: 1.45; }
.t-nav { grid-column: span 3; gap: 8px; }
.t-nav a { text-decoration: none; font-size: 17px; width: fit-content; transition: color .2s; }
.t-nav a:hover { color: var(--bad); }
.t-time { grid-column: span 2; gap: 4px; }
.t-time b { font-weight: 500; font-size: var(--step-lead); font-variant-numeric: tabular-nums; margin-top: auto; }
.t-time span { color: var(--muted); font-size: 15px; }
.t-time span:first-child { color: var(--ink); }
.t-mail { grid-column: span 3; justify-content: space-between; }
.t-mail span { color: var(--muted); font-size: 15px; }
.t-mail a { font-size: 20px; text-decoration: none; width: fit-content; transition: color .2s; }
.t-mail a:hover { color: var(--bad); }
.t-word { grid-column: span 8; min-height: 320px; background: var(--field-1); color: var(--field-1-ink); align-items: center; justify-content: center; overflow: hidden; }
.t-word span { font-size: 10.4vw; font-weight: 500; letter-spacing: -0.05em; line-height: 1; }
.t-go { grid-column: span 4; min-height: 320px; background: var(--accent); color: var(--accent-ink); justify-content: space-between; transition: background-color .25s; }
.t-go span { font-size: 28px; font-weight: 500; line-height: 1.1; max-width: 10ch; }
.t-go svg { align-self: flex-end; transition: transform .35s var(--ease); }
.t-go:hover { background: #c8162c; }
.t-go:hover svg { transform: translate(6px, -6px); }
.t-pic { grid-column: span 6; padding: 0; min-height: 0; aspect-ratio: 16 / 7; overflow: hidden; }
.t-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.t-pic:hover img { transform: scale(1.04); }
@media (max-width: 900px) {
  .foot { grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; }
  .tile { padding: 20px; min-height: 160px; }
  .t-word { grid-column: 1 / -1; order: -2; min-height: 160px; }
  .t-word span { font-size: 18vw; }
  .t-go { grid-column: 1 / -1; order: -1; min-height: 180px; }
  .t-nav, .t-mail, .t-time, .t-state { grid-column: span 1; }
  .t-state { grid-column: 1 / -1; }
  .t-mail a { font-size: 16px; word-break: break-all; }
  .t-pic { grid-column: span 1; aspect-ratio: 1; }
}

/* ---------- Entrance motion ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .frame-img img, .band-img img, .dot-red { animation: none; }
  .hs-s { transition: opacity .2s; transform: none !important; }
}

/* ---------- Legal pages ---------- */
.legal { max-width: 760px; padding: 140px var(--m) var(--sec); }
.legal h1 { font-size: var(--step-head); margin-bottom: 12px; }
.legal .upd { color: var(--muted); margin-bottom: 48px; font-size: var(--step-small); }
.legal h2 { font-size: var(--step-lead); letter-spacing: -0.01em; margin: 40px 0 12px; line-height: 1.2; }
.legal p, .legal li { margin: 0 0 14px; max-width: 64ch; }
.legal a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 3px; }
