/* ============================================================
   Paredra rebrand system V7, "NIGHT GRAPH: THE STORY"
   (staging only). Shared stylesheet for the full staged site:
   index + pricing + security + about + docs + blog.
   OWN-WORLD: ink #070B14, frost, one amber accent, Schibsted
   Grotesk + JetBrains Mono. Waveform signature: hero recording
   pulse, section divider, capture-diagram audio lanes.
   Every visual sits beside the text it explains; features lead,
   screenshots are evidence. MOBILE-FIRST: single column default,
   >=44px taps, zero horizontal overflow. Sample content = demo
   corpora per their manifests.
   ============================================================ */
:root {
  color-scheme: dark;

  --ink: #070B14;
  --ink-2: #0C1220;
  --ink-3: #131B2E;
  --rule: #1E2942;
  --rule-soft: #16203A;
  --frost: #E9EDF6;
  --frost-2: #A9B4CC;
  --frost-3: #6E7A96;
  --amber: #FFB224;
  --porcelain: #F3F1EA;
  --stone-ink: #1E211C;
  --stone-mute: #5A5F55;
  --pine: #2E4B40;
  --red-soft: #FF7A6E;

  --sans: "Schibsted Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, h4, p, figure, ul, ol, dl, dd, blockquote { margin: 0; }
img, svg, canvas { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
table { border-collapse: collapse; }

html { scroll-behavior: smooth; scroll-padding-block-start: 5rem; }
body {
  background: var(--ink);
  color: var(--frost);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: tabular-nums;
  overflow-x: clip;
}

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 3rem); }

::selection { background: var(--amber); color: #14100A; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--frost); color: var(--ink);
  padding: .6rem 1rem; z-index: 100; font-family: var(--mono); font-size: .8rem;
}
.skip-link:focus { left: 0; }

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---- nav ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 11, 20, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule-soft);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 1rem; }
.nav__brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.12rem; letter-spacing: -0.01em; min-height: 44px; }
.nav__brand svg { width: 26px; height: 26px; }
.nav__links { display: flex; gap: clamp(.8rem, 2.2vw, 1.7rem); align-items: center; }
.nav__links > a:not(.nav__cta) {
  font-size: .92rem; font-weight: 500; color: var(--frost-2);
  padding: .6rem .45rem; margin-inline: -.45rem;
  min-height: 44px; min-width: 44px; justify-content: center;
  display: inline-flex; align-items: center;
  transition: color 180ms var(--ease-out);
}
.nav__links > a:not(.nav__cta):hover { color: var(--frost); }
.nav__links > a[aria-current="page"] { color: var(--frost); }
.nav__cta {
  font-weight: 600; font-size: .92rem;
  background: var(--frost); color: var(--ink);
  padding: .6rem 1.1rem; border-radius: 8px; min-height: 44px;
  display: inline-flex; align-items: center;
  transition: transform 140ms var(--ease-out), background-color 180ms var(--ease-out);
}
.nav__cta:hover { background: var(--amber); }
.nav__cta:active { transform: scale(0.97); }
@media (max-width: 880px) { .nav__links > a:not(.nav__cta) { display: none; } }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-weight: 600; font-size: .98rem;
  padding: .85rem 1.5rem; border-radius: 10px; min-height: 48px;
  border: 1px solid transparent;
  transition: transform 140ms var(--ease-out), background-color 180ms var(--ease-out), color 180ms var(--ease-out), border-color 180ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn--solid { background: var(--amber); color: #14100A; }
.btn--solid:hover { background: #FFC14A; }
.btn--ghost { background: rgba(233,237,246,0.04); color: var(--frost); border-color: var(--rule); }
.btn--ghost:hover { border-color: var(--frost-3); }
.btn svg { width: 18px; height: 18px; }

/* ---- reveal on scroll ---- */
[data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity 650ms var(--ease-out), transform 650ms var(--ease-out);
}
[data-reveal].is-in { opacity: 1; transform: translateY(0); }

/* ---- sections ---- */
.section { padding-block: clamp(4rem, 10vh, 7.5rem); }
.section--ruled { border-top: 1px solid var(--rule-soft); }
.section__head { margin-block-end: clamp(2rem, 5vh, 3.25rem); }
.section__label {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--amber); margin-block-end: .9rem;
}
.section__label svg { width: 17px; height: 17px; }
.section__head h1,
.section__head h2 {
  font-weight: 800;
  font-size: clamp(1.85rem, 3.8vw, 2.9rem);
  line-height: 1.05; letter-spacing: -0.025em;
  max-width: 22ch;
}
.section__head h1 em, .section__head h2 em { font-style: normal; color: var(--amber); }
.section__head p { margin-block-start: 1rem; color: var(--frost-2); font-size: 1.06rem; max-width: 56ch; }

/* ---- the waveform rule: the brand's audio signature as a divider.
   One line of quiet signal with a single amber peak. ---- */
.wave-rule { display: flex; justify-content: center; padding-block: 0; pointer-events: none; }
.wave-rule svg { width: min(100%, 520px); height: 28px; color: var(--rule); }
.wave-rule .peak { color: var(--amber); }

.split {
  display: grid; grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 4rem); align-items: center;
}
@media (min-width: 920px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
  .split--flip { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .split--flip .split__text { order: 2; }
}
.split h3 { font-weight: 700; font-size: clamp(1.35rem, 2.3vw, 1.8rem); letter-spacing: -0.02em; line-height: 1.15; }
.split p { color: var(--frost-2); margin-block-start: .85rem; max-width: 50ch; }
.split__specs {
  margin-block-start: 1.2rem;
  font-family: var(--mono); font-size: .76rem; line-height: 2.1; color: var(--frost-3);
  border-left: 2px solid var(--rule); padding-left: 1rem;
}
.split__specs b { color: var(--amber); font-weight: 500; }
.panel {
  border: 1px solid var(--rule); border-radius: 14px; overflow: hidden;
  background: var(--ink-2);
}

/* ---- hero ---- */
.hero { padding-block: clamp(2.75rem, 8vh, 6rem) clamp(3rem, 8vh, 6rem); border-bottom: 1px solid var(--rule-soft); position: relative; overflow: hidden; }
.hero__glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 55% at 80% 20%, rgba(255,178,36,0.06) 0%, rgba(255,178,36,0) 60%);
}
.hero__grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center;
}
@media (min-width: 960px) { .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } }
.hero h1 {
  font-weight: 800;
  font-size: clamp(2.4rem, 6.6vw, 4.3rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
  max-width: 15ch;
}
.hero h1 em { font-style: normal; color: var(--amber); }
.hero__line {
  display: block; opacity: 0; transform: translateY(24px);
  animation: rise 700ms var(--ease-out) forwards;
}
.hero__line:nth-child(2) { animation-delay: 90ms; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }
@keyframes fade { to { opacity: 1; } }
.hero__sub {
  margin-block-start: 1.35rem;
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  color: var(--frost-2);
  max-width: 46ch;
  opacity: 0; animation: fade 700ms var(--ease-out) 260ms forwards;
}
.hero__ctas {
  display: flex; gap: .8rem; flex-wrap: wrap; margin-block-start: 1.9rem;
  opacity: 0; animation: fade 700ms var(--ease-out) 400ms forwards;
}

/* ---- hero shot: the Mac recording window, as shipped ---- */
.hero-shot { opacity: 0; animation: fade 700ms var(--ease-out) 480ms forwards; margin: 0; }
.hero-shot__frame {
  border: 1px solid var(--rule); border-radius: 14px; overflow: hidden;
  background: var(--ink-2);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}
.hero-shot__note {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  flex-wrap: wrap;
  padding: .7rem .2rem 0;
  font-family: var(--mono); font-size: .72rem; color: var(--frost-3);
}
.hero-shot__live { display: inline-flex; align-items: center; gap: .6rem; color: var(--amber); }
/* the wave, living where it was born: audio being heard */
.eq { display: inline-flex; align-items: center; gap: 2px; height: 14px; }
.eq i { width: 2px; border-radius: 1px; background: var(--amber); height: 30%; animation: eq 1.1s ease-in-out infinite; }
.eq i:nth-child(1) { animation-delay: 0ms; }
.eq i:nth-child(2) { animation-delay: 150ms; height: 65%; }
.eq i:nth-child(3) { animation-delay: 300ms; height: 100%; }
.eq i:nth-child(4) { animation-delay: 450ms; height: 55%; }
.eq i:nth-child(5) { animation-delay: 600ms; height: 80%; }
.eq i:nth-child(6) { animation-delay: 750ms; height: 40%; }
@keyframes eq { 0%, 100% { transform: scaleY(0.55); } 50% { transform: scaleY(1); } }

/* ---- streams: two meetings converge, two notes leave.
   The input lanes carry the wave (audio in); the output lanes
   carry text (notes out). ---- */
.streams { padding: clamp(1.25rem, 3vw, 2rem); }
.streams__grid {
  display: grid; grid-template-columns: minmax(0,1fr) 2.5rem minmax(0,1.1fr) 2.5rem minmax(0,1fr);
  gap: .6rem; align-items: center;
}
.snode {
  border: 1px solid var(--rule); border-radius: 10px; background: var(--ink);
  padding: .7rem .8rem;
}
.snode h4 { font-size: .88rem; font-weight: 700; letter-spacing: -0.01em; display: flex; align-items: center; gap: .45rem; }
.snode h4 svg { width: 13px; height: 13px; color: var(--amber); flex: none; }
.snode p { font-family: var(--mono); font-size: .66rem; color: var(--frost-3); line-height: 1.7; margin-top: .1rem; }
.snode--core { border-color: var(--amber); background: var(--ink-2); }
.snode--core h4 { color: var(--amber); }
.scol { display: grid; gap: .6rem; }
.sflow {
  height: 2px; width: 100%;
  background: repeating-linear-gradient(90deg, var(--amber) 0 5px, transparent 5px 10px);
  background-size: 10px 2px;
  animation: flow-h 900ms linear infinite;
  opacity: .7;
}
@keyframes flow-h { to { background-position-x: 10px; } }
.sflow--dim {
  background: repeating-linear-gradient(90deg, #7F96C8 0 5px, transparent 5px 10px);
  background-size: 10px 2px; opacity: .5;
}
.streams__foot {
  margin-block-start: 1rem; padding-block-start: .9rem; border-top: 1px solid var(--rule-soft);
  font-family: var(--mono); font-size: .7rem; color: var(--frost-3); line-height: 1.7;
}
.streams__foot b { color: var(--frost-2); font-weight: 500; }
@media (max-width: 560px) {
  .streams__grid { grid-template-columns: 1fr; }
  .sflow, .sflow--dim {
    width: 2px; height: 1.6rem; margin-inline: auto;
    background: repeating-linear-gradient(180deg, var(--amber) 0 5px, transparent 5px 10px);
    background-size: 2px 10px;
    animation: flow-v 900ms linear infinite;
  }
  .sflow--dim { background: repeating-linear-gradient(180deg, #7F96C8 0 5px, transparent 5px 10px); background-size: 2px 10px; }
  @keyframes flow-v { to { background-position-y: 10px; } }
}

/* ---- the graph, beside the memory claim it illustrates.
   Not a full-width band: a panel next to the paragraph that
   says "one map", showing exactly that. ---- */
.split--graph { align-items: stretch; }
.graph-side { display: flex; flex-direction: column; }
.graph-side__canvas { position: relative; flex: 1; min-height: clamp(18rem, 44vh, 26rem); }
.graph-side__canvas canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.graph-side__note {
  padding: .8rem 1rem; border-top: 1px solid var(--rule-soft);
  font-family: var(--mono); font-size: .72rem; color: var(--frost-3); line-height: 1.7;
}

/* second feature heading inside a split's text column */
.split__second { margin-block-start: 1.6rem; }

/* when the evidence shot is much taller than the copy, keep the
   copy pinned to the top instead of floating mid-gap */
#act .split { align-items: start; }
#act .split__text { padding-block-start: clamp(0rem, 4vh, 2.5rem); }

/* extra top space when a second split follows one in the same section */
.split--stacked { margin-block-start: clamp(2.5rem, 6vh, 4rem); }

/* phone/tool screenshots as evidence under a feature claim */
.phone-shot { max-width: 340px; margin-inline: auto; }
.phone-shot--wide { max-width: 460px; }
.phone-shot img { width: 100%; height: auto; }
.phone-shot figcaption {
  padding: .8rem 1rem; border-top: 1px solid var(--rule-soft);
  font-family: var(--mono); font-size: .7rem; color: var(--frost-3); line-height: 1.7;
}

/* intro row that hands the memory story from the map to the layers */
.strata-head { margin-block: clamp(3rem, 7vh, 4.5rem) clamp(1.5rem, 3vh, 2rem); }
.strata-head h3 {
  font-weight: 700; font-size: clamp(1.35rem, 2.3vw, 1.8rem); letter-spacing: -0.02em;
  display: flex; align-items: center; gap: .6rem;
}
.strata-head h3 svg { width: 22px; height: 22px; color: var(--amber); flex: none; }
.strata-head p { color: var(--frost-2); margin-block-start: .8rem; max-width: 56ch; }

/* ---- the five layers: one diagram family, one per layer.
   Same grid, same stroke (1.5), same three inks (frost-2 dots,
   rule-strong edges, one amber accent). Each diagram carries
   the previous layer's result as a faded ghost, so the five
   read as one system assembling. ---- */
.strata { border-top: 1px solid var(--rule-soft); }
.strata__row {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem 2.5rem; align-items: center;
  padding-block: 1.6rem; border-bottom: 1px solid var(--rule-soft);
}
@media (min-width: 720px) { .strata__row { grid-template-columns: minmax(0, 240px) minmax(0, 1fr); } }
.strata__fig {
  border: 1px solid var(--rule-soft); border-radius: 12px; background: var(--ink-2);
  padding: .9rem 1rem; max-width: 300px;
}
.strata__fig svg { width: 100%; height: auto; }
.strata__num {
  font-family: var(--mono); font-weight: 400; font-size: .74rem; color: var(--frost-3);
  margin-right: .7rem;
}
.strata__name { font-weight: 700; font-size: 1.08rem; letter-spacing: -0.01em; }
.strata__tag { font-family: var(--mono); font-weight: 400; font-size: .7rem; color: var(--amber); margin-left: .55rem; letter-spacing: .02em; }
.strata__body { color: var(--frost-2); font-size: .95rem; margin-top: .35rem; max-width: 58ch; }
.strata__closer { margin-block-start: 1.4rem; font-family: var(--mono); font-size: .76rem; color: var(--frost-3); line-height: 1.9; max-width: 62ch; }
.strata__closer b { color: var(--frost-2); font-weight: 500; }

/* ---- mark G1.5 "pulling up a chair": the amber chair slides
   in once when the card scrolls into view ---- */
.mark-motion .g1-slide { animation: chair-in 900ms var(--ease-out) both; animation-delay: 300ms; }
@keyframes chair-in {
  from { transform: translateX(-8px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ---- charter: the one porcelain block ---- */
.charter { background: var(--porcelain); color: var(--stone-ink); }
.charter .wrap { padding-block: clamp(3.5rem, 9vh, 6.5rem); }
.charter__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
@media (min-width: 880px) { .charter__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.charter h2 {
  font-weight: 800; font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1.04; letter-spacing: -0.025em; color: var(--stone-ink);
}
.charter h2 em { font-style: normal; color: var(--pine); }
.charter__body { margin-block-start: 1.2rem; color: var(--stone-mute); max-width: 46ch; font-size: 1.05rem; }
.charter__more {
  display: inline-flex; align-items: center; gap: .5rem; margin-block-start: 1.3rem;
  font-weight: 600; color: var(--pine); min-height: 44px;
  text-decoration: underline; text-underline-offset: 4px;
}
.charter__more svg { width: 17px; height: 17px; }
.charter__rules { border-top: 1px solid var(--stone-ink); }
.charter__rule {
  display: grid; grid-template-columns: 2.2rem 1fr; gap: 1rem; align-items: start;
  padding-block: 1.05rem; border-bottom: 1px solid #D6D2C4;
}
.charter__rule svg { width: 21px; height: 21px; color: var(--pine); margin-top: .15rem; }
.charter__rule span { color: var(--stone-ink); font-weight: 500; }

/* ---- get paredra ---- */
.get-row { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.store-badge img { height: 44px; width: auto; }
.store-badge--play img { height: 62px; margin-block: -9px; }
.store-badge { transition: transform 140ms var(--ease-out); display: inline-block; min-height: 44px; }
@media (hover: hover) and (pointer: fine) { .store-badge:hover { transform: translateY(-2px); } }
.get-alt { margin-block-start: 1.5rem; color: var(--frost-3); font-family: var(--mono); font-size: .82rem; }
.get-alt a {
  color: var(--frost-2); text-decoration: underline; text-underline-offset: 3px;
  display: inline-block; padding: .8rem .7rem; margin: -.8rem -.7rem;
}
.get-alt a:hover { color: var(--amber); }
.get-foot { margin-block-start: .75rem; color: var(--frost-3); font-size: .92rem; max-width: 62ch; }
.get-foot a, .mark-note a, .strata__closer a {
  color: var(--frost-2); text-decoration: underline; text-underline-offset: 3px;
  display: inline-block; padding-block: .8rem; margin-block: -.8rem;
}
.get-foot a:hover, .mark-note a:hover, .strata__closer a:hover { color: var(--amber); }

/* ---- pricing ---- */
.plans { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
@media (min-width: 900px) { .plans { grid-template-columns: 1fr 1fr 1fr; } }
.plans--four { }
@media (min-width: 1100px) { .plans--four { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 720px) and (max-width: 1099px) { .plans--four { grid-template-columns: 1fr 1fr; } }
.plan {
  background: var(--ink-2); border: 1px solid var(--rule); border-radius: 14px;
  padding: clamp(1.5rem, 3vw, 2rem); display: flex; flex-direction: column; gap: 1.1rem;
}
.plan--featured { border-color: var(--amber); }
.plan__name { font-weight: 700; font-size: 1.15rem; display: flex; align-items: center; gap: .7rem; letter-spacing: -0.01em; flex-wrap: wrap; }
.plan__flag { font-family: var(--mono); font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); border: 1px solid var(--amber); border-radius: 999px; padding: .2rem .6rem; }
.plan__flag--soon { color: var(--frost-3); border-color: var(--rule); }
.plan__price { font-weight: 800; font-size: clamp(1.9rem, 3vw, 2.4rem); letter-spacing: -0.02em; line-height: 1; }
.plan__price small { font-family: var(--mono); font-weight: 400; font-size: .76rem; color: var(--frost-3); }
.plan__tag { color: var(--frost-2); }
.plan__features { border-top: 1px solid var(--rule); }
.plan__features li {
  padding-block: .6rem; color: var(--frost-2); font-size: .93rem;
  display: flex; gap: .6rem; align-items: baseline;
}
.plan__features li + li { border-top: 1px solid var(--rule-soft); }
.plan__features svg { width: 15px; height: 15px; flex: none; color: var(--amber); transform: translateY(2px); }
.plan .btn { margin-block-start: auto; justify-content: center; }
.plan__soon { color: var(--frost-3); font-size: .93rem; }

.billing-toggle {
  display: inline-flex; border: 1px solid var(--rule); border-radius: 10px; overflow: hidden;
  margin-block-end: 2rem; font-family: var(--mono); font-size: .8rem;
}
.billing-toggle__opt { padding: .7rem 1.2rem; min-height: 44px; color: var(--frost-3); transition: color 160ms var(--ease-out), background-color 160ms var(--ease-out); }
.billing-toggle__opt.is-active { background: var(--ink-3); color: var(--amber); }

.compare { margin-block-start: clamp(2.5rem, 6vh, 4rem); overflow-x: auto; }
.compare table { width: 100%; font-size: .93rem; }
.compare th, .compare td { text-align: left; padding: .75rem .9rem; }
.compare thead th {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--amber); border-bottom: 1px solid var(--rule);
}
.compare tbody th { font-weight: 500; color: var(--frost-2); }
.compare tbody td { color: var(--frost); }
.compare tbody tr { border-bottom: 1px solid var(--rule-soft); }

.trial-line { font-family: var(--mono); font-size: .8rem; color: var(--frost-2); border: 1px solid var(--rule); border-radius: 10px; padding: .9rem 1.1rem; margin-block-end: 2rem; max-width: 62ch; line-height: 1.8; }
.trial-line b { color: var(--amber); font-weight: 500; }

/* ---- brand marks ---- */
.brand-intro { color: var(--frost-2); max-width: 60ch; margin-block-end: 2rem; }
.marks { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
@media (min-width: 700px) { .marks { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .marks { grid-template-columns: repeat(3, 1fr); } }
.mark-card {
  background: var(--ink-2); border: 1px solid var(--rule); border-radius: 14px;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
}
.mark-card h3 { font-weight: 700; font-size: 1.02rem; letter-spacing: -0.01em; }
.mark-card__family { font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); display: block; margin-block-end: .3rem; }
.mark-card > p { color: var(--frost-3); font-size: .88rem; margin-block-start: .35rem; min-height: 3.4em; }
.mark-card__stage {
  margin-block-start: 1.1rem;
  background: var(--ink); border: 1px solid var(--rule-soft); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; gap: 2rem;
  padding: 1.75rem 1rem;
}
.mark-card__stage svg { height: 48px; width: auto; }
.mark-card__lockup {
  margin-block-start: .6rem;
  background: var(--ink); border: 1px solid var(--rule-soft); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  padding: 1.1rem 1rem;
}
.mark-card__lockup svg { height: 30px; width: auto; }
.mark-note { margin-block-start: 1.5rem; font-family: var(--mono); font-size: .78rem; color: var(--frost-3); max-width: 70ch; line-height: 1.8; }

/* ---- faq ---- */
.faq { max-width: 76ch; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary {
  cursor: pointer; list-style: none;
  padding-block: 1.2rem;
  font-weight: 600; font-size: 1.05rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  transition: color 180ms var(--ease-out);
  min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--amber); font-size: 1.2rem; }
.faq details[open] summary::after { content: "-"; }
.faq summary:hover { color: var(--amber); }
.faq p { padding-block-end: 1.4rem; color: var(--frost-2); max-width: 68ch; }
.faq a {
  color: var(--frost); text-decoration: underline; text-underline-offset: 3px;
  display: inline-block; padding-block: .6rem; margin-block: -.6rem;
}

/* ---- from the blog strip ---- */
.blogrow { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
@media (min-width: 880px) { .blogrow { grid-template-columns: repeat(3, 1fr); } }
.blogcard {
  border: 1px solid var(--rule); border-radius: 14px; background: var(--ink-2);
  padding: clamp(1.25rem, 2.5vw, 1.6rem);
  display: flex; flex-direction: column; gap: .7rem;
  transition: border-color 180ms var(--ease-out);
}
.blogcard:hover { border-color: var(--frost-3); }
.blogcard__kicker { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
.blogcard h3 { font-weight: 700; font-size: 1.12rem; letter-spacing: -0.015em; line-height: 1.25; }
.blogcard p { color: var(--frost-2); font-size: .93rem; }
.blogcard__meta { margin-block-start: auto; font-family: var(--mono); font-size: .7rem; color: var(--frost-3); }

/* ---- closing over the night room ---- */
.close { position: relative; border-top: 1px solid var(--rule-soft); overflow: hidden; }
.close__glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 65% 70% at 20% 80%, rgba(255,178,36,0.07) 0%, rgba(255,178,36,0) 60%);
}
.close .wrap { position: relative; z-index: 2; padding-block: clamp(5rem, 13vh, 8.5rem); }
.close h2 {
  font-weight: 800; font-size: clamp(2.3rem, 6.5vw, 5rem);
  line-height: 1.0; letter-spacing: -0.03em; max-width: 16ch;
}
.close h2 em { font-style: normal; color: var(--amber); }
.close p { margin-block-start: 1.4rem; color: var(--frost-2); max-width: 50ch; font-size: 1.08rem; }
.close .btn { margin-block-start: 2rem; }

/* ---- footer ---- */
.footer { border-top: 1px solid var(--rule-soft); }
.footer__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2rem; padding-block: clamp(2.5rem, 6vh, 4rem);
}
@media (min-width: 860px) { .footer__grid { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); } }
.footer__brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; min-height: 44px; }
.footer__brand svg { width: 22px; height: 22px; }
.footer__note { margin-block-start: .5rem; color: var(--frost-3); font-size: .9rem; max-width: 30ch; }
.footer h4 { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--frost-3); margin-block-end: .9rem; font-weight: 500; }
.footer li { margin-block-end: .25rem; }
.footer__col a {
  color: var(--frost-2); font-size: .92rem; transition: color 160ms var(--ease-out);
  min-height: 44px; display: inline-flex; align-items: center;
  padding-inline: .5rem; margin-inline: -.5rem;
}
.footer__col a:hover { color: var(--amber); }
.footer__bottom {
  border-top: 1px solid var(--rule-soft);
  padding-block: 1.25rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-family: var(--mono); font-size: .74rem; color: var(--frost-3);
}

/* ============================================================
   subpage components (pricing / security / about / docs / blog)
   ============================================================ */

.page-hero { padding-block: clamp(3rem, 8vh, 5.5rem) clamp(1.5rem, 4vh, 2.5rem); border-bottom: 1px solid var(--rule-soft); }
.page-hero h1 {
  font-weight: 800; font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.04; letter-spacing: -0.028em; max-width: 18ch;
}
.page-hero h1 em { font-style: normal; color: var(--amber); }
.page-hero p { margin-block-start: 1.1rem; color: var(--frost-2); font-size: 1.08rem; max-width: 56ch; }

/* security cards */
.seccards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
@media (min-width: 720px) { .seccards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) { .seccards { grid-template-columns: repeat(3, 1fr); } }
.seccard {
  border: 1px solid var(--rule); border-radius: 14px; background: var(--ink-2);
  padding: clamp(1.25rem, 2.5vw, 1.6rem);
  display: flex; flex-direction: column; gap: .7rem;
}
.seccard h2 { font-weight: 700; font-size: 1.08rem; letter-spacing: -0.01em; display: flex; align-items: center; gap: .6rem; }
.seccard h2 svg { width: 19px; height: 19px; color: var(--amber); flex: none; }
.seccard p { color: var(--frost-2); font-size: .95rem; }

/* prose pages (about, blog posts) */
.prose { max-width: 68ch; }
.prose h2 { font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 1.8rem); letter-spacing: -0.02em; margin-block-start: 2.6rem; }
.prose h2:first-child { margin-block-start: 0; }
.prose p { color: var(--frost-2); margin-block-start: 1rem; }
.prose strong { color: var(--frost); }
.prose a {
  color: var(--frost); text-decoration: underline; text-underline-offset: 3px;
  display: inline-block; padding-block: .75rem; margin-block: -.75rem;
}
.prose a:hover { color: var(--amber); }
.prose blockquote { border-left: 2px solid var(--amber); padding-left: 1.1rem; margin-block-start: 1.2rem; color: var(--frost); font-size: 1.05rem; }
.prose .kicker { font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); }
.post-meta { font-family: var(--mono); font-size: .74rem; color: var(--frost-3); margin-block-start: .9rem; }
.post-meta a, .page-hero a, .seccard a {
  display: inline-block; padding-block: .8rem; margin-block: -.8rem;
}

/* docs chapters */
.docs-nav {
  position: sticky; top: 64px; z-index: 40;
  background: rgba(7, 11, 20, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule-soft);
  overflow-x: auto;
}
.docs-nav ul { display: flex; gap: .25rem; padding-block: .4rem; }
.docs-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: .4rem .9rem;
  font-family: var(--mono); font-size: .78rem; color: var(--frost-2);
  border-radius: 8px; white-space: nowrap;
  transition: color 160ms var(--ease-out), background-color 160ms var(--ease-out);
}
.docs-nav a:hover { color: var(--frost); }
.docs-nav a.is-here { color: var(--amber); background: var(--ink-3); }
.chapter { padding-block: clamp(3.5rem, 8vh, 5.5rem); border-top: 1px solid var(--rule-soft); }
.chapter:first-of-type { border-top: 0; }
.chapter__head { margin-block-end: clamp(1.75rem, 4vh, 2.5rem); }
.chapter__head h2 { font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 2.4rem); letter-spacing: -0.024em; line-height: 1.06; }
.chapter__head h2 em { font-style: normal; color: var(--amber); }
.chapter__head p { margin-block-start: .8rem; color: var(--frost-2); max-width: 56ch; }
.step {
  display: grid; grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 3rem); align-items: center;
  padding-block: clamp(1.5rem, 4vh, 2.25rem);
}
@media (min-width: 880px) {
  .step { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
  .step--flip .step__text { order: 2; }
}
.step h3 { font-weight: 700; font-size: 1.2rem; letter-spacing: -0.015em; }
.step p { color: var(--frost-2); margin-block-start: .6rem; max-width: 48ch; }
.step figure {
  border: 1px solid var(--rule); border-radius: 14px; overflow: hidden; background: var(--ink-2);
}
.step figure img { width: 100%; height: auto; }
.step figure.is-narrow { max-width: 420px; margin-inline: auto; }
.step figcaption {
  padding: .7rem 1rem; border-top: 1px solid var(--rule-soft);
  font-family: var(--mono); font-size: .7rem; color: var(--frost-3);
}
.docs-note { font-family: var(--mono); font-size: .76rem; color: var(--frost-3); line-height: 1.9; max-width: 66ch; }
.docs-note a {
  color: var(--frost-2); text-decoration: underline; text-underline-offset: 3px;
  display: inline-block; padding-block: .8rem; margin-block: -.8rem;
}
.docs-note a:hover { color: var(--amber); }

/* cta strip for subpages */
.cta-strip { border-top: 1px solid var(--rule-soft); }
.cta-strip .wrap { padding-block: clamp(4rem, 10vh, 6.5rem); }
.cta-strip h2 { font-weight: 800; font-size: clamp(1.9rem, 4.6vw, 3.2rem); letter-spacing: -0.027em; line-height: 1.04; max-width: 18ch; }
.cta-strip h2 em { font-style: normal; color: var(--amber); }
.cta-strip p { margin-block-start: 1.1rem; color: var(--frost-2); max-width: 50ch; }
.cta-strip .btn { margin-block-start: 1.8rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__line, .hero__sub, .hero__ctas, .hero-shot { animation: none; opacity: 1; transform: none; }
  .eq i { animation: none; }
  .sflow, .sflow--dim { animation: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn, .store-badge, .nav__cta { transition: none; }
  .mark-motion .g1-slide { animation: none; }
}
