/* Product pages (Aster, Connect): the home page's tokens, type, buttons and square-dot language,
   so the three pages read as one site. Mock-up, 14 Nov 2026. */
:root {
  --font: 'Schibsted Grotesk', system-ui, sans-serif;
  --ground: #071c37; --ink: #ffffff; --flag: #E97824;
  --muted: color-mix(in oklch, var(--ink) 70%, oklch(from var(--ground) 0.78 0.09 h));
  --line: color-mix(in srgb, var(--ink) 20%, var(--ground));
  --line-soft: color-mix(in srgb, var(--ink) 11%, var(--ground));
  --dot-faint: color-mix(in srgb, var(--ink) 16%, var(--ground));
  --deep: color-mix(in srgb, var(--ground) 82%, black);
  --col: 1100px; --gutter: clamp(16px, 5vw, 64px); --ease-out: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; }
html { background: var(--ground); color-scheme: dark; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 18px/1.65 var(--font);
       -webkit-font-smoothing: antialiased; overflow-x: hidden; }
::selection { background: var(--ink); color: var(--ground); }
a { color: var(--ink); text-decoration-color: var(--line); text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--ink); }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 6px; }
h1, h2, h3 { font-weight: 300; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p, ul, dl, dd { margin: 0; padding: 0; }
.col { width: min(var(--col), 100% - 2 * var(--gutter)); margin-inline: auto; }
.flag { color: var(--flag); }

/* --- The site bar: the logo home, and the three products. Same on every page. --- */
.bar { padding: 28px 0; }
.bar .col { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.bar .home { display: block; width: 240px; color: var(--ink); }
.bar .home svg { display: block; width: 100%; height: auto; }
.bar nav { display: flex; gap: 28px; font-size: 15px; }
.bar nav a { text-decoration: none; color: var(--muted); padding-bottom: 4px; border-bottom: 1px solid transparent; }
.bar nav a:hover { color: var(--ink); }
.bar nav a[aria-current] { color: var(--ink); border-bottom-color: var(--ink); }

/* --- Hero: the product's name as a word, one claim, one ask, then the product itself. --- */
.p-hero { padding: 88px 0 0; }
.p-name { display: flex; align-items: center; gap: 14px; font-size: 18px; color: var(--muted); }
.p-name i { width: 10px; height: 10px; background: var(--flag); display: block; }
.p-hero h1 { margin-top: 22px; font-size: clamp(40px, 5.4vw, 72px); line-height: 1.1; max-width: 16ch; }
.p-hero .lead { margin-top: 26px; font-size: clamp(20px, 1.9vw, 24px); line-height: 1.45; color: var(--muted); max-width: 44ch; }
.p-hero .go { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.p-hero .go span { color: var(--muted); font-size: 15px; }
.btn { display: inline-flex; align-items: center; gap: 16px; padding: 15px 24px 15px 26px; border: 1px solid var(--ink);
       border-radius: 2px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 16px; white-space: nowrap;
       transition: background-color 280ms var(--ease-out), color 280ms var(--ease-out); }
.btn::after { content: ""; width: 8px; height: 8px; background: currentColor; transition: transform 280ms var(--ease-out); }
.btn:hover { background: var(--ink); color: var(--ground); }
.btn:hover::after { transform: translateX(4px); }

/* The product picture: a real window, set on the page like a document, never tilted or glowing. */
.shot { margin-top: 80px; position: relative; }
.shot img { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line);
            box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.7); }
.shot figcaption { margin-top: 14px; font-size: 14px; color: var(--muted); }
.shot.narrow { max-width: 820px; }

/* --- Sections: the home page's rhythm. --- */
.screen { padding: 136px 0; border-top: 1px solid var(--line-soft); }
.p-hero + .screen { margin-top: 136px; }
.screen h2 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.14; max-width: 18ch; }
.screen .intro { margin-top: 22px; font-size: 21px; line-height: 1.5; color: var(--muted); max-width: 46ch; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px 88px; align-items: start; }
.two.mid { align-items: center; }

/* Points: a short statement and its line, beside a square, like the home page's "what it does". */
.points { margin-top: 64px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 88px; }
.points.stack { grid-template-columns: 1fr; gap: 36px; margin-top: 48px; }
.pt { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 0 18px; }
.pt::before { content: ""; width: 10px; height: 10px; background: var(--ink); margin-top: 11px; }
.pt.f::before { background: var(--flag); }
.pt h3 { font-weight: 400; font-size: clamp(22px, 2.1vw, 27px); line-height: 1.35; }
.pt p { grid-column: 2; margin-top: 8px; color: var(--muted); max-width: 44ch; }

/* Evidence: a figure with its source, quoted like the home page's document lines. */
.figs { margin-top: 64px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 88px; }
.fig { padding-left: 20px; border-left: 1px solid var(--line); }
.fig.f { border-left-color: var(--flag); }
.fig b { display: block; font-weight: 300; font-size: clamp(44px, 5vw, 68px); line-height: 1; letter-spacing: -0.03em; }
.fig p { margin-top: 14px; font-size: 19px; line-height: 1.45; max-width: 30ch; }
.fig small { display: block; margin-top: 10px; font-size: 14px; color: var(--muted); }

/* The four stops: a rail of record squares, each stop a square on it. */
.stops { margin-top: 64px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.stop { padding: 28px 28px 0 0; }
.stop i { display: block; width: 10px; height: 10px; background: var(--flag); margin: -33px 0 30px; }
.stop h3 { font-weight: 400; font-size: 24px; line-height: 1.3; }
.stop p { margin-top: 8px; color: var(--muted); font-size: 16px; max-width: 24ch; }
.after-stops { margin-top: 48px; color: var(--muted); max-width: 60ch; }

/* Square-dot diagrams, drawn inline. */
.dots { display: block; width: 100%; height: auto; overflow: visible; }
.dots rect { shape-rendering: crispEdges; }
.dots text { font: 500 12px var(--font); fill: var(--muted); }
.d-ink { fill: var(--ink); } .d-faint { fill: var(--dot-faint); } .d-flag { fill: var(--flag); }
.d-open { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.d-link { fill: none; stroke: var(--ink); stroke-width: 1.5; }

/* Comparison: plain rows, Connect's row marked, every cell sourced in the notes. */
.cmp { margin-top: 64px; width: 100%; border-collapse: collapse; font-size: 16px; }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: 18px 20px 18px 0; border-bottom: 1px solid var(--line-soft); }
.cmp th { font-weight: 500; font-size: 14px; color: var(--muted); }
.cmp td:first-child { font-weight: 500; white-space: nowrap; }
.cmp td { color: var(--muted); }
.cmp tr.us td { color: var(--ink); border-bottom-color: var(--line); }
.cmp tr.us td:first-child { box-shadow: inset 3px 0 0 var(--flag); padding-left: 14px; }
.cmp .no { color: var(--flag); }
.notes { margin-top: 24px; font-size: 13px; color: var(--muted); max-width: 80ch; }

/* Crops: the sharp-text proof at real pixels. */
.crop { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #0b0b0e; }
.crop img { display: block; width: 100%; height: auto; image-rendering: pixelated; }

/* The suite, at the foot of each product page: the other two, as lines, not cards. */
.suite { margin-top: 56px; border-top: 1px solid var(--line); }
.suite a { display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; gap: 24px; align-items: baseline; padding: 26px 0;
           border-bottom: 1px solid var(--line); text-decoration: none; }
.suite b { font-weight: 400; font-size: 26px; }
.suite span { color: var(--muted); }
.suite a::after { content: ""; width: 8px; height: 8px; background: var(--ink); transition: transform 280ms var(--ease-out); }
.suite a:hover::after { transform: translateX(6px); }

.ask h2 { font-size: clamp(44px, 6vw, 84px); line-height: 1.08; max-width: 12ch; }
.ask p { margin-top: 22px; color: var(--muted); max-width: 46ch; }
.ask .btn { margin-top: 40px; }
footer { border-top: 1px solid var(--line-soft); padding: 40px 0 56px; color: var(--muted); font-size: 14px; }
footer .col { display: flex; flex-wrap: wrap; gap: 8px 32px; }
footer a { color: var(--muted); }

@media (max-width: 760px) {
  body { font-size: 17px; }
  .bar .home { width: 132px; } .bar nav { gap: 16px; font-size: 14px; }
  .p-hero { padding-top: 48px; }
  .shot { margin-top: 56px; }
  .screen { padding: 96px 0; } .p-hero + .screen { margin-top: 96px; }
  .two, .points, .figs { grid-template-columns: 1fr; gap: 44px; }
  .stops { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .cmp { font-size: 14px; display: block; overflow-x: auto; }
  .suite a { grid-template-columns: 1fr auto; } .suite span { grid-column: 1; }
}
@media (prefers-reduced-motion: reduce) { .btn, .btn::after, .suite a::after { transition: none; } }

/* A small dialog shown at its own size, not stretched to the column. */
.shot.signin { justify-self: end; max-width: 420px; }
.shot.signin img { border-radius: 14px; }
@media (max-width: 760px) { .shot.signin { justify-self: start; } }
