/* Layout: spec-sheet LP. Left-aligned columns and label/value rows like a line-provisioning sheet;
   the single-mode fiber yellow is the one loud element (hero fiber + section connectors). */
:root {
  --paper: #F2F4F3;
  --surface: #FFFFFF;
  --ink: #0F1E28;
  --muted: #53616A;
  --rule: #D2D9D8;
  --fiber: #F2C200;
  --fiber-ink: #1B1600;
  --signal: #1C55C6;
  --ok: #17734A;
  --warn-bg: #FFF6D6;
  --term-bg: #0F1E28;
  --term-fg: #DCE6EA;
  --term-dim: #7E929C;
  --term-rule: #22343F;
  --danger: #B3261E;
  --em-fg: var(--ink);
  --em-mark: var(--fiber);
  --us-cell: color-mix(in srgb, var(--fiber) 10%, var(--surface));
  --pick-bg: color-mix(in srgb, var(--fiber) 18%, var(--surface));

  --font-display: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", sans-serif;
  --font-body: "IBM Plex Sans JP", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --fs-xs: 0.75rem; --fs-sm: 0.875rem; --fs-md: 1rem; --fs-lg: 1.25rem;
  --fs-xl: 1.75rem; --fs-2xl: 2.5rem; --fs-3xl: clamp(2rem, 1.2rem + 2.6vw, 2.9rem);
  --radius: 6px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0B1318; --surface: #111C23; --ink: #E3EAED; --muted: #93A3AC; --rule: #23323B;
    --fiber: #F2C200; --fiber-ink: #1B1600; --signal: #8EB0FF; --ok: #5CC48A; --warn-bg: #2A2410;
    --term-bg: #060C10; --term-fg: #DCE6EA; --term-dim: #7E929C; --term-rule: #1C2B34; --danger: #FF8A80;
    --em-fg: var(--fiber); --em-mark: transparent; --us-cell: var(--surface); --pick-bg: var(--surface);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0B1318; --surface: #111C23; --ink: #E3EAED; --muted: #93A3AC; --rule: #23323B;
  --fiber: #F2C200; --fiber-ink: #1B1600; --signal: #8EB0FF; --ok: #5CC48A; --warn-bg: #2A2410;
  --term-bg: #060C10; --term-fg: #DCE6EA; --term-dim: #7E929C; --term-rule: #1C2B34; --danger: #FF8A80;
  --em-fg: var(--fiber); --em-mark: transparent; --us-cell: var(--surface); --pick-bg: var(--surface);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: var(--fs-md); line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--paper); }
a { color: var(--signal); }
:focus-visible { outline: 3px solid var(--fiber); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; word-break: auto-phrase; line-height: 1.35; margin: 0; letter-spacing: 0.01em; }
p { margin: 0; }
.wrap {
  max-width: 1120px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }


/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; padding-block: 12px; }
.brand { display: flex; align-items: baseline; gap: 10px; color: var(--ink); text-decoration: none; }
.brand b { font-family: var(--font-mono); font-weight: 500; font-size: 1.25rem; letter-spacing: 0.04em; }
.brand b i { font-style: normal; background: var(--fiber); color: var(--fiber-ink); padding: 0 3px; border-radius: 2px; }
.brand span { font-size: var(--fs-xs); color: var(--muted); letter-spacing: 0.08em; }
.nav { display: flex; gap: 20px; margin-left: auto; font-size: var(--fs-sm); }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 var(--fs-sm)/1 var(--font-body); padding: 14px 20px; border-radius: var(--radius);
  text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
}
.btn.primary { background: var(--ink); color: var(--paper); }
.btn.primary:hover { background: color-mix(in srgb, var(--ink) 86%, var(--fiber)); }
.btn.ghost { border-color: var(--rule); color: var(--ink); background: var(--surface); }
.btn.ghost:hover { border-color: var(--ink); }
.btn.small { padding: 10px 14px; }
@media (max-width: 860px) { .nav { display: none; } .site-header .btn { margin-left: auto; } }

/* Hero */
.hero { position: relative; padding-block: 64px 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: center; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; } .hero { padding-block: 40px 56px; } }
.eyebrow { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; }
.hero h1 { font-size: var(--fs-3xl); font-weight: 900; margin-top: 16px; line-height: 1.3; }
.hero h1 em { font-style: normal; color: var(--em-fg); background: linear-gradient(transparent 62%, var(--em-mark) 62%, var(--em-mark) 92%, transparent 92%); }
.lead { margin-top: 20px; font-size: 1.0625rem; color: var(--muted); max-width: 34em; }
.hero-cta { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 36px 0 0; border-top: 1px solid var(--rule); }
.hero-facts div { padding: 14px 16px 0 0; min-width: 0; }
.hero-facts div + div { padding-left: 16px; border-left: 1px solid var(--rule); }
.hero-facts dt { font-size: var(--fs-xs); color: var(--muted); letter-spacing: 0.06em; }
.hero-facts dd { margin: 4px 0 0; font-weight: 700; font-size: var(--fs-sm); line-height: 1.5; }
.hero-facts dd .mono { font-size: 1.125rem; }
@media (max-width: 520px) {
  .hero-facts { grid-template-columns: minmax(0, 1fr); }
  .hero-facts div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
  .hero-facts div { padding-bottom: 12px; }
}

/* Lookup card */
.lookup { background: var(--term-bg); color: var(--term-fg); border-radius: 10px; overflow: hidden; box-shadow: 0 24px 48px -28px rgba(15, 30, 40, 0.55); min-width: 0; }
.lookup-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--term-rule); }
.lookup-head span { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--term-dim); letter-spacing: 0.06em; }
.lookup-tabs { display: flex; gap: 4px; padding: 12px 12px 0; flex-wrap: wrap; }
.lookup-tabs button {
  font: 500 var(--fs-xs)/1 var(--font-body); color: var(--term-dim); background: transparent;
  border: 1px solid var(--term-rule); border-radius: 999px; padding: 8px 12px; cursor: pointer;
}
.lookup-tabs button[aria-selected="true"] { color: var(--fiber-ink); background: var(--fiber); border-color: var(--fiber); }
.lookup pre { margin: 0; padding: 16px 20px 20px; font: 400 0.8125rem/1.95 var(--font-mono); overflow-x: auto; }
.lookup pre .k { color: var(--term-dim); }
.lookup pre .hl { color: var(--fiber); }
.lookup pre .ok { color: #7CE0A6; }
.lookup-foot { padding: 10px 16px; border-top: 1px solid var(--term-rule); font-size: var(--fs-xs); color: var(--term-dim); }

/* Fiber line */
.fiber { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--fiber); overflow: hidden; }
.fiber::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 160px; left: -160px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
  animation: pulse 2.6s cubic-bezier(.4, 0, .2, 1) 0.4s 2;
}
@keyframes pulse { to { left: 100%; } }
@media (prefers-reduced-motion: reduce) { .fiber::after { animation: none; display: none; } }

/* Sections */
section.block { padding-block: 88px; border-bottom: 1px solid var(--rule); }
@media (max-width: 640px) { section.block { padding-block: 56px; } }
.sec-head { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 16px 48px; margin-bottom: 40px; }
@media (max-width: 860px) { .sec-head { grid-template-columns: minmax(0, 1fr); } }
.sec-label { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; padding-top: 10px; }
.sec-label::before { content: ""; width: 10px; height: 10px; background: var(--fiber); border-radius: 2px; flex: none; }
.sec-head h2 { font-size: var(--fs-2xl); font-weight: 900; }
@media (max-width: 640px) { .sec-head h2 { font-size: var(--fs-xl); } }
.sec-head p { margin-top: 12px; color: var(--muted); max-width: 40em; }

/* Why */
.why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.why article { padding: 24px 24px 8px 0; min-width: 0; }
.why article + article { padding-left: 24px; border-left: 1px solid var(--rule); }
.why h3 { font-size: var(--fs-lg); font-weight: 700; }
.why .tag { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--danger); letter-spacing: 0.06em; }
.why p { margin-top: 10px; color: var(--muted); font-size: 0.9375rem; }
.why-answer { margin-top: 40px; padding: 24px 28px; background: var(--surface); border: 1px solid var(--rule); border-left: 0; position: relative; font-size: 1.0625rem; }
.why-answer::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--fiber); }
.why-answer strong { font-family: var(--font-display); }
@media (max-width: 760px) {
  .why { grid-template-columns: minmax(0, 1fr); }
  .why article + article { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
}

/* Lines */
.lines { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .lines { grid-template-columns: minmax(0, 1fr); } }
.line { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 24px; display: grid; grid-template-rows: auto auto 1fr auto; gap: 12px; min-width: 0; }
.line .carrier { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--muted); letter-spacing: 0.08em; }
.line h3 { font-size: var(--fs-xl); font-weight: 900; }
.line h3 small { display: block; font-size: var(--fs-sm); font-family: var(--font-body); font-weight: 500; color: var(--muted); margin-top: 2px; }
.line p { font-size: 0.9375rem; color: var(--muted); }
.line .chip { justify-self: start; font-size: var(--fs-xs); font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--rule); }
.line .chip.pick { background: var(--fiber); color: var(--fiber-ink); border-color: var(--fiber); }

.spec { margin: 40px 0 0; border-top: 1px solid var(--ink); }
.spec div { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 8px 32px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.spec dt { font-size: var(--fs-sm); color: var(--muted); }
.spec dd { margin: 0; font-size: 0.9375rem; min-width: 0; }
.spec .todo { font-size: var(--fs-xs); font-family: var(--font-mono); background: var(--warn-bg); color: var(--ink); padding: 1px 6px; border-radius: 3px; margin-left: 6px; white-space: nowrap; }
@media (max-width: 640px) { .spec div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* Compare */
.table-scroll { overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); }
table.compare { border-collapse: collapse; width: 100%; min-width: 880px; font-size: 0.9375rem; }
.compare th, .compare td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.compare thead th { font-size: var(--fs-sm); color: var(--muted); font-weight: 500; background: var(--paper); }
.compare thead th.us { color: var(--fiber-ink); background: var(--fiber); font-weight: 700; }
.compare tbody th { font-weight: 500; color: var(--muted); font-size: var(--fs-sm); width: 15%; }
.compare td.us { font-weight: 700; background: var(--us-cell); box-shadow: inset 3px 0 0 var(--fiber); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.note { margin-top: 12px; font-size: var(--fs-xs); color: var(--muted); }

/* Use cases */
.uses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.uses article { padding: 22px 24px 24px 0; border-bottom: 1px solid var(--rule); min-width: 0; }
.uses article:not(:nth-child(3n + 1)) { padding-left: 24px; border-left: 1px solid var(--rule); }
.uses h3 { font-size: 1.0625rem; font-weight: 700; }
.uses p { margin-top: 6px; font-size: 0.9375rem; color: var(--muted); }
@media (max-width: 860px) {
  .uses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .uses article:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .uses article:nth-child(2n) { padding-left: 24px; border-left: 1px solid var(--rule); }
}
@media (max-width: 560px) {
  .uses { grid-template-columns: minmax(0, 1fr); }
  .uses article:nth-child(2n) { padding-left: 0; border-left: 0; }
}

/* Pricing */
.price { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; background: var(--surface); border: 1px solid var(--rule); border-radius: 10px; overflow: hidden; }
@media (max-width: 860px) { .price { grid-template-columns: minmax(0, 1fr); } }
.price-main { padding: 36px; border-right: 1px solid var(--rule); }
@media (max-width: 860px) { .price-main { border-right: 0; border-bottom: 1px solid var(--rule); padding: 28px 20px; } }
.price-main .plan { font-size: var(--fs-sm); color: var(--muted); }
.price-main .amount { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: 8px; }
.price-main .amount .num { font-family: var(--font-mono); font-size: clamp(2.5rem, 1.6rem + 4vw, 4rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.price-main .amount .unit { font-family: var(--font-display); font-weight: 900; font-size: var(--fs-xl); }
.price-main .amount .tax { font-size: var(--fs-sm); color: var(--muted); }
.price-main .flat { margin-top: 16px; display: inline-flex; gap: 8px; align-items: center; font-weight: 700; font-size: var(--fs-sm); background: var(--fiber); color: var(--fiber-ink); padding: 6px 12px; border-radius: 3px; }
.price-main p.desc { margin-top: 18px; color: var(--muted); font-size: 0.9375rem; }
.price-main .btn { margin-top: 24px; }
.price-side { padding: 36px; }
@media (max-width: 860px) { .price-side { padding: 28px 20px; } }
.price-side h3 { font-size: var(--fs-md); font-weight: 700; }
.checks { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; font-size: 0.9375rem; }
.checks li::before { content: ""; width: 14px; height: 8px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg) translate(2px, 6px); }
.price-side .fine { margin-top: 20px; font-size: var(--fs-xs); color: var(--muted); }

/* Flow */
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); counter-reset: step; border-top: 1px solid var(--ink); }
.flow li { counter-increment: step; padding: 20px 20px 0 0; min-width: 0; position: relative; }
.flow li + li { padding-left: 20px; border-left: 1px solid var(--rule); }
.flow li::before { content: "STEP " counter(step); display: block; font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: 0.1em; color: var(--muted); }
.flow h3 { font-size: var(--fs-md); font-weight: 700; margin-top: 6px; }
.flow p { margin-top: 6px; font-size: var(--fs-sm); color: var(--muted); }
@media (max-width: 960px) {
  .flow { grid-template-columns: minmax(0, 1fr); }
  .flow li, .flow li + li { padding: 16px 0; border-left: 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 72px minmax(0, 1fr); column-gap: 12px; }
  .flow li::before { grid-row: span 2; padding-top: 4px; }
  .flow h3 { margin-top: 0; }
}

/* AUP */
.aup { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .aup { grid-template-columns: minmax(0, 1fr); } }
.aup > div { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 24px; }
.aup h3 { font-size: var(--fs-md); font-weight: 700; }
.aup ul { margin: 12px 0 0; padding-left: 1.2em; display: grid; gap: 6px; font-size: 0.9375rem; color: var(--muted); }

/* FAQ */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; display: grid; grid-template-columns: 28px minmax(0, 1fr) 20px; gap: 12px; padding: 18px 0; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font-family: var(--font-mono); color: var(--muted); font-weight: 500; }
.faq summary::after { content: "+"; font-family: var(--font-mono); font-weight: 400; color: var(--muted); text-align: right; }
.faq details[open] summary::after { content: "−"; }
.faq .a { padding: 0 32px 20px 40px; color: var(--muted); font-size: 0.9375rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; }
@media (max-width: 920px) { .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.contact-aside h2 { font-size: var(--fs-2xl); font-weight: 900; margin-top: 12px; }
@media (max-width: 640px) { .contact-aside h2 { font-size: var(--fs-xl); } }
.contact-aside p { margin-top: 14px; color: var(--muted); }
.contact-aside dl { margin: 28px 0 0; border-top: 1px solid var(--rule); }
.contact-aside dl div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: var(--fs-sm); }
.contact-aside dt { color: var(--muted); }
.contact-aside dd { margin: 0; }

form.inquiry { background: var(--surface); border: 1px solid var(--rule); border-radius: 10px; padding: 32px; display: grid; gap: 22px; }
@media (max-width: 640px) { form.inquiry { padding: 22px 16px; } }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px 16px; }
@media (max-width: 560px) { .row2 { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: 6px; min-width: 0; }
.field > label, .field > .legend { font-size: var(--fs-sm); font-weight: 700; display: flex; gap: 8px; align-items: center; }
.req, .opt { font-size: 0.6875rem; font-weight: 700; padding: 1px 6px; border-radius: 3px; letter-spacing: 0.04em; }
.req { background: var(--ink); color: var(--paper); }
.opt { border: 1px solid var(--rule); color: var(--muted); font-weight: 500; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="number"], .field select, .field textarea {
  width: 100%; font: 400 var(--fs-md)/1.5 var(--font-body); color: var(--ink); background: var(--paper);
  border: 1px solid var(--rule); border-radius: var(--radius); padding: 11px 12px;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--fiber) 55%, transparent); }
.field .hint { font-size: var(--fs-xs); color: var(--muted); }
.field .err { font-size: var(--fs-xs); color: var(--danger); font-weight: 700; }
.field[data-invalid] input, .field[data-invalid] select, .field[data-invalid] textarea { border-color: var(--danger); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.isp-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 560px) { .isp-options { grid-template-columns: minmax(0, 1fr); } }
.isp-options label { position: relative; display: grid; gap: 2px; padding: 12px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--paper); cursor: pointer; font-size: var(--fs-sm); font-weight: 700; line-height: 1.4; }
.isp-options label small { font-weight: 400; color: var(--muted); font-size: var(--fs-xs); }
.isp-options input { position: absolute; opacity: 0; pointer-events: none; }
.isp-options label:has(input:checked) { border-color: var(--fiber); box-shadow: inset 0 0 0 1px var(--fiber); background: var(--pick-bg); }
.isp-options label:has(input:focus-visible) { outline: 3px solid var(--fiber); outline-offset: 2px; }
.agree { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; font-size: var(--fs-sm); align-items: start; }
.agree input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--ink); }
.turnstile-slot { min-height: 65px; }
.submit-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.submit-row .btn { padding: 16px 28px; font-size: var(--fs-md); }
.submit-row .btn[disabled] { opacity: 0.6; cursor: progress; }
.form-msg { font-size: var(--fs-sm); }
.form-msg.error { color: var(--danger); font-weight: 700; }

.done { background: var(--surface); border: 1px solid var(--rule); border-radius: 10px; padding: 32px; }
.done h3 { font-size: var(--fs-xl); font-weight: 900; display: flex; align-items: center; gap: 10px; }
.done h3::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 25%, transparent); }
.done p { margin-top: 12px; color: var(--muted); }
.done .receipt { margin-top: 18px; font-family: var(--font-mono); font-size: var(--fs-lg); }
.done pre { margin: 20px 0 0; background: var(--term-bg); color: var(--term-fg); padding: 16px; border-radius: var(--radius); font: 400 0.75rem/1.7 var(--font-mono); overflow-x: auto; }

/* Footer */
footer { padding-block: 40px 56px; font-size: var(--fs-sm); color: var(--muted); }
footer .wrap { display: grid; gap: 16px; }
footer .links { display: flex; gap: 20px; flex-wrap: wrap; }
footer .links a { color: var(--muted); }
footer .tm { font-size: var(--fs-xs); }
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* Production additions */
.price-terms { margin: 22px 0 0; border-top: 1px solid var(--rule); }
.price-terms div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: var(--fs-sm); }
.price-terms dt { color: var(--muted); }
.price-terms dd { margin: 0; font-weight: 700; }
.privacy { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: 14px 16px; font-size: var(--fs-xs); color: var(--muted); line-height: 1.7; }
.privacy-title { font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.done:focus { outline: none; }
.done-note { font-size: var(--fs-sm); }
.done-actions { margin-top: 20px; }
.notfound { position: relative; padding-block: 120px; }
.notfound .wrap { display: grid; gap: 16px; }
.notfound h1 { font-size: var(--fs-2xl); font-weight: 900; }
.notfound p { color: var(--muted); }
