/* ============================================================
   Nomorro — design system  ("the label / full disclosure")
   Premium light. Condensed athletic display + mono data.
   Concept lives in the visuals; copy stays clear.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Saira+Condensed:wght@400;500;600;700;800&family=Saira:wght@400;500;600&family=DM+Mono:wght@400;500&display=swap');

:root {
  --paper: #faf9f6;
  --paper-2: #ffffff;
  --ink: #101113;
  --ink-soft: #3a3d3f;
  --muted: #6a6e70;
  --line: #101113;          /* label rules are full ink */
  --hair: #e4e3dd;          /* soft dividers */

  /* product / domain colors */
  --green: #16a34a;
  --magenta: #db2777;
  --data:   #2563eb;
  --tools:  #d97706;

  --display: 'Saira Condensed', 'Arial Narrow', sans-serif;
  --body: 'Saira', system-ui, sans-serif;
  --mono: 'DM Mono', ui-monospace, monospace;

  --maxw: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}
::selection { background: var(--ink); color: var(--paper); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ── type helpers ── */
.mono { font-family: var(--mono); }
.eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted);
}
.display {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  letter-spacing: -0.01em; line-height: 0.92;
}
h1.display { font-size: clamp(44px, 7.5vw, 100px); }
h2.display { font-size: clamp(28px, 4vw, 46px); }

/* ── nav ── */
.nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 28px; background: rgba(250,249,246,0.86);
  backdrop-filter: blur(10px); border-bottom: 2px solid var(--ink);
}
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 800; font-size: 21px; text-transform: uppercase; letter-spacing: 0.01em; }
.glyph { display: flex; flex-direction: column; gap: 2px; width: 22px; }
.glyph span { display: block; height: 5px; }
.glyph span:nth-child(1) { background: var(--green); }
.glyph span:nth-child(2) { background: var(--magenta); width: 78%; }
.glyph span:nth-child(3) { background: var(--data); width: 56%; }
.glyph span:nth-child(4) { background: var(--tools); width: 34%; }
.nav-links { display: flex; align-items: center; gap: 24px; font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.04em; text-transform: uppercase; }
.nav-links a { color: var(--muted); transition: color .15s; }
.nav-links a:hover { color: var(--ink); }

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); text-transform: uppercase; font-weight: 700;
  letter-spacing: 0.03em; font-size: 16px; padding: 13px 22px; cursor: pointer;
  border: 2px solid var(--ink); transition: transform .14s ease, background .14s ease, color .14s ease;
}
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-mono { font-family: var(--mono); font-size: 13px; text-transform: none; font-weight: 500; letter-spacing: 0; }

/* ── facts panel (the label) ── */
.panel {
  border: 2.5px solid var(--ink); background: var(--paper-2);
  padding: 16px 18px; width: 100%;
}
.panel-title { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 4vw, 42px); line-height: 0.9; }
.panel-rule { border-bottom: 1px solid var(--ink); padding: 6px 0; font-family: var(--mono); font-size: 12px; display: flex; justify-content: space-between; gap: 12px; }
.panel-rule.heavy { border-bottom-width: 7px; }
.panel-row {
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid var(--ink); padding: 11px 0; cursor: default;
  transition: background .15s ease;
}
.panel-row:last-child { border-bottom: none; }
.swatch { width: 11px; height: 11px; flex: none; }
.panel-row .name { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 18px; letter-spacing: 0; }
.panel-row .status { margin-left: auto; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; }
.foot-note { font-family: var(--mono); font-size: 11px; color: var(--muted); padding-top: 9px; line-height: 1.5; }

/* ── hero ── */
.hero { padding: 70px 0 60px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }
.hero h1 { margin: 22px 0 0; }
.hero .sub { margin-top: 24px; max-width: 30em; font-size: clamp(16px, 1.6vw, 19px); color: var(--ink-soft); line-height: 1.55; }
.hero .cta-row { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* color strip (reagent strip motif) */
.strip { display: flex; height: 22px; border: 1.5px solid var(--ink); margin-top: 16px; }
.strip span { flex: 1; }

/* ── section scaffolding ── */
.section { padding: 64px 0; }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  border-top: 7px solid var(--ink); padding-top: 14px; margin-bottom: 8px;
}
.section-head .meta { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.08em; white-space: nowrap; }

/* product / layer rows */
.layer {
  display: grid; grid-template-columns: 14px minmax(140px, 210px) 1fr auto; gap: 22px;
  align-items: center; border-bottom: 1.5px solid var(--ink); padding: 26px 0;
}
.layer .bar { width: 14px; height: 46px; align-self: start; margin-top: 4px; }
.layer .lname { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(26px, 3.4vw, 40px); line-height: 0.95; }
.layer .lstatus { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; margin-top: 5px; text-transform: uppercase; }
.layer .ldesc { font-size: 16px; line-height: 1.5; color: var(--ink-soft); max-width: 540px; }
.layer .lreadout { font-family: var(--mono); font-size: 12px; color: var(--muted); text-align: right; white-space: nowrap; }

/* ── inverted (transparency / manifesto) ── */
.invert { background: var(--ink); color: var(--paper); }
.invert .big {
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(30px, 5vw, 60px); line-height: 1.02; letter-spacing: -0.01em;
}
.invert .lede { margin-top: 22px; font-size: clamp(17px, 2vw, 21px); color: #c7c8c4; max-width: 40em; line-height: 1.5; }

/* ── steps / generic cards ── */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; border-left: 1.5px solid var(--ink); }
.card { border: 1.5px solid var(--ink); border-left: none; padding: 24px; }
.card .num { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.card .ct { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 22px; margin: 10px 0 6px; }
.card p { font-size: 15px; color: var(--ink-soft); line-height: 1.5; }

/* pricing */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; border-left: 1.5px solid var(--ink); }
.tier { border: 1.5px solid var(--ink); border-left: none; padding: 26px 24px; }
.tier .tname { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.tier .price { font-family: var(--display); font-weight: 800; font-size: 48px; line-height: 1; margin: 12px 0 4px; }
.tier .price small { font-family: var(--body); font-size: 14px; font-weight: 400; color: var(--muted); }
.tier ul { list-style: none; margin-top: 14px; font-size: 14px; color: var(--ink-soft); }
.tier li { padding: 5px 0; border-top: 1px solid var(--hair); }

/* faq */
.faq-item { border-bottom: 1.5px solid var(--ink); padding: 22px 0; }
.faq-q { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 20px; }
.faq-a { margin-top: 8px; font-size: 16px; color: var(--ink-soft); line-height: 1.55; max-width: 46em; }

/* ── footer ── */
.footer { border-top: 2px solid var(--ink); padding: 56px 0 44px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
.footer h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.footer ul { list-style: none; }
.footer li { padding: 4px 0; font-size: 15px; }
.footer li a { color: var(--ink-soft); }
.footer li a:hover { color: var(--ink); }
.footer-tag { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid var(--hair); padding-top: 18px; }

/* ── document (legal) pages ── */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 28px 90px; }
.doc h1 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(34px, 6vw, 60px); line-height: 0.95; }
.doc .updated { font-family: var(--mono); font-size: 12px; color: var(--muted); margin: 14px 0 36px; }
.doc h2 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 24px; margin: 34px 0 10px; border-top: 1.5px solid var(--ink); padding-top: 16px; }
.doc h3 { font-size: 17px; font-weight: 600; margin: 20px 0 6px; }
.doc p, .doc li { font-size: 16px; line-height: 1.6; color: var(--ink-soft); margin-bottom: 10px; }
.doc ul { margin: 0 0 10px 20px; }
.doc a { text-decoration: underline; }

/* ============================================================
   product-page components (Topoff) — softer than the studio's
   hard "label" aesthetic: rounded cards, email mockup, green lead.
   Same tokens/type/colors = same family; different layout.
   ============================================================ */
.shead { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.shead .meta { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.08em; white-space: nowrap; }

.fgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.fcard { background: var(--paper-2); border: 1px solid var(--hair); border-radius: 14px; padding: 26px 24px; }
.fcard .num { font-family: var(--mono); font-size: 12px; color: var(--green); }
.fcard .ct { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 22px; margin: 10px 0 6px; }
.fcard p { font-size: 15px; color: var(--ink-soft); line-height: 1.5; }

.band { border-radius: 20px; padding: clamp(36px, 6vw, 70px) clamp(28px, 5vw, 56px); }
.band-green { background: color-mix(in srgb, var(--green) 9%, var(--paper-2)); }
.band-cta { background: var(--green); color: #fff; text-align: center; }
.band .big { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(28px, 4.6vw, 56px); line-height: 1.02; letter-spacing: -0.01em; }
.band .lede { margin-top: 18px; font-size: clamp(16px, 1.8vw, 20px); line-height: 1.5; max-width: 38em; color: var(--ink-soft); }
.band-cta .lede { color: rgba(255,255,255,0.85); margin-left: auto; margin-right: auto; }

.ptiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.ptier { background: var(--paper-2); border: 1px solid var(--hair); border-radius: 14px; padding: 28px 24px; }
.ptier.featured { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.ptier .tname { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.ptier .price { font-family: var(--display); font-weight: 800; font-size: 46px; line-height: 1; margin: 12px 0 4px; }
.ptier .price small { font-family: var(--body); font-size: 14px; font-weight: 400; color: var(--muted); }
.ptier ul { list-style: none; margin-top: 14px; font-size: 14px; color: var(--ink-soft); }
.ptier li { padding: 6px 0; border-top: 1px solid var(--hair); }

.email-mock { background: var(--paper-2); border: 1px solid var(--hair); border-radius: 16px; box-shadow: 0 40px 80px -40px rgba(16,17,19,0.28); overflow: hidden; }
.email-mock .em-head { display: flex; align-items: center; gap: 8px; padding: 13px 18px; border-bottom: 1px solid var(--hair); font-family: var(--mono); font-size: 12px; color: var(--muted); }
.email-mock .em-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); flex: none; }
.email-mock .em-body { padding: 26px 22px 26px; }
.email-mock .em-eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); }
.email-mock .em-sub { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(22px, 3vw, 28px); line-height: 1.04; margin-top: 10px; }
.email-mock .em-p { font-size: 14px; color: var(--ink-soft); margin: 12px 0 20px; line-height: 1.55; }
.email-mock .em-btn { display: inline-block; background: var(--green); color: #fff; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; font-size: 15px; padding: 13px 22px; border-radius: 10px; }
.email-mock .em-foot { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 20px; border-top: 1px solid var(--hair); padding-top: 14px; }

/* ── reveal motion ── */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ── responsive ── */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .layer { grid-template-columns: 12px 1fr; gap: 14px; }
  .layer .ldesc { grid-column: 1 / -1; }
  .layer .lreadout { grid-column: 1 / -1; text-align: left; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links a:not(.btn) { display: none; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}
