/* MultiplierX site. Look: CLAUDE_REFERENCE/REF_Brand_Identity.md (27 Nov 2026).
   Cobalt-led level B: white pages, ink text, cobalt for the one thing that matters.
   One weight (400) throughout; size and space make the hierarchy. */

@font-face { font-family: "Geist"; src: url("fonts/geist-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/geist-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("fonts/newsreader-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --cobalt: #1E3AFF;
  --ink: #111111;
  --white: #FFFFFF;
  --grey: #6F6F6F;        /* text grey */
  --grid: #EBEBEB;        /* the sheet's faint grid */
  --strip: #F6F6F6;       /* column-letter strip */
  --strip-line: #DCDCDC;
  --rule: #111111;        /* thin lines */
  --rule-soft: #DCDCDC;

  --serif: "Newsreader", Georgia, serif;
  --sans: "Geist", Arial, sans-serif;
  --mono: "Geist Mono", "Courier New", monospace;

  --col: 96px;            /* sheet column width */
  --row: 48px;            /* sheet row height */
  --strip-h: 26px;
  --pad: 40px;            /* side gutter */
  --max: 1152px;          /* 12 sheet columns */
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--white); color: var(--ink);
  font-family: var(--sans); font-weight: 400; font-size: 18px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; font-weight: 400; }
ul, ol { list-style: none; }
b, strong { font-weight: 400; }
a { color: var(--cobalt); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; }
img { display: block; max-width: 100%; }

.wrap { max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--white); padding: 8px 12px; z-index: 10; }

/* ---------- top bar ---------- */
.top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 28px; }
.logo { display: block; flex: none; }
.logo img { height: 28px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 16px; }
.nav a { color: var(--ink); text-decoration: none; padding: 6px 0; white-space: nowrap; }
.nav a:hover { text-decoration: underline; }
.nav a.go { color: var(--cobalt); }

/* ---------- button ---------- */
.btn {
  display: inline-block; background: var(--cobalt); color: var(--white);
  border: 2px solid var(--cobalt); border-radius: 999px;
  padding: 11px 24px; font-size: 17px; line-height: 1.3; text-decoration: none; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease;
}
.btn:hover { background: var(--white); color: var(--cobalt); }
.btn:active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn:focus-visible { outline-offset: 4px; }

/* ---------- the sheet (opening screen only) ---------- */
/* --ox: where column A starts, the content's left edge (cqw leaves the scrollbar out) */
.sheet {
  position: relative; container-type: inline-size;
  background-color: var(--white);
  border-bottom: 1px solid var(--rule);
  padding-top: var(--strip-h);
}
.sheet::before, .cols { --ox: calc(50cqw - 576px); }
.sheet::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: var(--col) var(--row);
  background-position: var(--ox) var(--strip-h);
}
.sheet > .wrap { position: relative; }
.cols {
  position: absolute; left: 0; right: 0; top: 0; height: var(--strip-h);
  background: var(--strip); border-bottom: 1px solid var(--strip-line);
  display: flex; padding-left: var(--ox); overflow: hidden;
}
.cols span {
  flex: none; width: var(--col); text-align: center;
  font-family: var(--mono); font-size: 11px; line-height: var(--strip-h); color: var(--grey);
  border-right: 1px solid var(--strip-line);
}
.cols span:first-child { border-left: 1px solid var(--strip-line); }

.hero { min-height: min(100svh - var(--strip-h), 820px); display: flex; flex-direction: column; }
.hero-mid { flex: 1; display: flex; align-items: center; padding: 72px 0 56px; }
h1 {
  font-family: var(--serif); font-size: clamp(40px, 6.6vw, 88px);
  line-height: 1.04; letter-spacing: -0.03em;
  overflow-wrap: break-word; min-width: 0; text-wrap: balance;
}
h1 span { display: block; }
.hero-bot { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding-bottom: 56px; }
.hero-sub { color: var(--grey); font-size: 20px; line-height: 1.45; max-width: 21em; }

/* the selected cell: one per page */
.sel { position: relative; border: 2px solid var(--cobalt); background: var(--white); padding: 18px 22px 22px; flex: none; }
.sel::after {
  content: ""; position: absolute; right: -6px; bottom: -6px; width: 10px; height: 10px;
  background: var(--cobalt); border: 1px solid var(--white);
}
.sel .lab { display: block; margin-bottom: 12px; }
.sel .alt { display: block; margin-top: 12px; font-size: 15px; color: var(--grey); }
.sel .alt a { color: var(--ink); }

/* labels and figures */
.lab { font-family: var(--mono); font-size: 13px; line-height: 1.5; color: var(--grey); }

/* ---------- sections: label column + content, thin line between ---------- */
.sec { border-bottom: 1px solid var(--rule); }
.sec > .wrap { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 0 32px; padding-top: 72px; padding-bottom: 88px; }
.sec .lab { padding-top: 12px; }
.sec .lab i { font-style: normal; display: inline-block; width: 2.2em; }
h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; letter-spacing: -0.02em; max-width: 20em; overflow-wrap: break-word; text-wrap: balance; }
.lead { font-size: 22px; line-height: 1.45; max-width: 30em; margin-top: 20px; }
.body { max-width: 34em; margin-top: 20px; }
.body + .body { margin-top: 14px; }
.muted { color: var(--grey); }

/* plain lists with a thin line between rows */
.rows { margin-top: 32px; border-top: 1px solid var(--rule-soft); }
.rows li { padding: 16px 0; border-bottom: 1px solid var(--rule-soft); max-width: 40em; }
.not { margin-top: 28px; max-width: 34em; color: var(--grey); }

/* frame and cells */
.frame { margin-top: 36px; display: grid; border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.frame.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cell { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 22px 22px 28px; }
.cell h3 { font-size: 21px; line-height: 1.25; letter-spacing: -0.01em; margin-top: 14px; }
.cell p { margin-top: 10px; color: var(--grey); font-size: 16.5px; line-height: 1.5; }
.after { margin-top: 24px; color: var(--grey); max-width: 34em; }

/* questions */
.qa { margin-top: 32px; border-top: 1px solid var(--rule-soft); }
.qa > div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 8px 32px; padding: 20px 0; border-bottom: 1px solid var(--rule-soft); }
.qa dd { color: var(--grey); }

/* closing call */
.close > .wrap { align-items: start; }
.close h2 { font-size: clamp(32px, 4.4vw, 52px); }
.close .btn { margin-top: 28px; }
.close .alt { margin-top: 14px; font-size: 16px; color: var(--grey); }
.close .alt a { color: var(--ink); }

/* footer */
.foot { padding: 32px 0 48px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: baseline; }
.foot, .foot a { font-family: var(--mono); font-size: 13px; color: var(--grey); }
.foot .name { color: var(--ink); margin-right: auto; }

/* ---------- inner pages (login, terms, privacy, cancellation) ---------- */
.page-head { border-bottom: 1px solid var(--rule); }
.page-head .title { padding: 72px 0 56px; }
.page-head h1 { font-size: clamp(36px, 5vw, 64px); }
.page-head .lab { display: block; margin-top: 18px; }
.doc > .wrap { padding-top: 56px; padding-bottom: 88px; }
.doc h2 { font-size: 24px; letter-spacing: -0.01em; margin-top: 44px; }
.doc h2:first-child { margin-top: 0; }
.doc p, .doc li { max-width: 38em; margin-top: 12px; }
.doc ul { margin-top: 4px; }
.doc ul li { padding-left: 1.3em; position: relative; }
.doc ul li::before { content: "–"; position: absolute; left: 0; color: var(--grey); }
.draft { border: 1px solid var(--rule); padding: 14px 18px; max-width: 38em; margin-bottom: 40px; }
.gap { font-family: var(--mono); font-size: 0.86em; background: var(--strip); border: 1px dashed var(--grey); padding: 1px 6px; }

.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); max-width: 880px; }
.doors .cell { padding: 26px 26px 32px; }
.doors h2 { margin-top: 12px; font-size: 26px; }
.doors p { max-width: none; }
.doors .btn { margin-top: 22px; }
.off { display: inline-block; margin-top: 22px; font-family: var(--mono); font-size: 13px; color: var(--grey); border: 1px dashed var(--grey); border-radius: 999px; padding: 10px 18px; }

/* ---------- phone ---------- */
@media (max-width: 1232px) { .sheet::before, .cols { --ox: var(--pad); } }
@media (max-width: 860px) {
  :root { --col: 64px; --row: 40px; --pad: 20px; }
  body { font-size: 17px; }
  .top { padding-top: 20px; }
  .logo img { height: 22px; }
  .nav { gap: 18px; font-size: 15px; }
  .nav .more { display: none; }
  .hero { min-height: min(100svh - var(--strip-h), 700px); }
  .hero-mid { padding: 48px 0 40px; }
  .hero-bot { flex-direction: column; align-items: stretch; gap: 28px; padding-bottom: 40px; }
  .hero-sub { font-size: 18px; }
  .sel { align-self: flex-start; }
  .sec > .wrap { grid-template-columns: minmax(0, 1fr); padding-top: 44px; padding-bottom: 56px; }
  .sec .lab { padding-top: 0; margin-bottom: 14px; }
  .lead { font-size: 20px; }
  .frame.c3, .doors { grid-template-columns: minmax(0, 1fr); }
  .qa > div { grid-template-columns: minmax(0, 1fr); }
  .page-head .title { padding: 44px 0 36px; }
  .doc > .wrap { padding-top: 40px; padding-bottom: 56px; }
}
@media (max-width: 480px) {
  .nav .login { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* ---------- coming soon (served by middleware.js until launch) ---------- */
.soon { border-bottom: 0; min-height: 100svh; }
.soon .hero { min-height: calc(100svh - var(--strip-h)); }
.gate { width: 340px; max-width: 100%; }
.gate .lab { margin-bottom: 12px; }
.gate-row { display: flex; gap: 10px; }
.gate input.code {
  -webkit-text-security: disc;
  flex: 1; min-width: 0; font: inherit; font-size: 17px; color: var(--ink);
  background: var(--white); border: 1px solid var(--rule); border-radius: 0; padding: 10px 12px;
}
.gate button { font-family: inherit; cursor: pointer; }
.gate-err { font-size: 15px; margin-bottom: 10px; }
.gate-err::before { content: "✗ "; }
@media (max-width: 860px) { .gate { width: 100%; } }
