/* PixelPT marketing site, built to the PixelPT design system (marketing.md, tokens.json, voice.md, logo.md).
   Schibsted Grotesk for words, Jersey 10 for numbers and the logo only. Sections change colour at a stepped edge, never a rule or shadow. */
@font-face { font-family: "Schibsted Grotesk"; src: url("../fonts/SchibstedGrotesk-Variable.ttf") format("truetype"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Jersey 10"; src: url("../fonts/Jersey10-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --bg: #faf9f6;          /* paper */
  --deep: #f2f0ec;        /* paperDeep */
  --surface: #faf9f6;
  --fg: #1c1a16;          /* ink */
  --fg2: #575550;         /* inkSecondary */
  --muted: #6b6964;       /* inkMuted */
  --rule: #dcdad6;
  --rule-strong: #928f88;
  --teal: #006d61;
  --teal-deep: #0a5a50;
  --teal-tint: #006d6114;
  --accent-text: #006d61;
  --btn-bg: #006d61;
  --btn-fg: #faf9f6;
  --violet: #7544cd;
  --canvas: #0f3630;      /* dark canvas, footer and dark sections */
  --canvas-deep: #0a2823;
  --canvas-text: #ffffff;
  --canvas-muted: #c2e5df;
  --canvas-accent: #4fd6c0;
  --paper: #faf9f6;
  --sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --num: "Jersey 10", ui-monospace, "SF Mono", Menlo, monospace;
  --gutter: 16px;
  --section: 64px;
  --edge: 48px;
}
@media (min-width: 640px) { :root { --gutter: 40px; --section: 96px; } }
@media (min-width: 1024px) { :root { --section: 128px; } }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f3630; --deep: #0b2d28; --surface: #14403a; --fg: #ffffff; --fg2: #dcefeb; --muted: #c2e5df; --rule: #ffffff2e; --rule-strong: #ffffff66;
    --accent-text: #4fd6c0; --btn-bg: #4fd6c0; --btn-fg: #0f3630; --teal-tint: #4fd6c01f; --canvas: #0a2823; --canvas-deep: #071f1b;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f3630; --deep: #0b2d28; --surface: #14403a; --fg: #ffffff; --fg2: #dcefeb; --muted: #c2e5df; --rule: #ffffff2e; --rule-strong: #ffffff66;
  --accent-text: #4fd6c0; --btn-bg: #4fd6c0; --btn-fg: #0f3630; --teal-tint: #4fd6c01f; --canvas: #0a2823; --canvas-deep: #071f1b;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 1rem/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
@media (min-width: 640px) { body { font-size: 1.0625rem; } }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: var(--bg); z-index: 40; }
img, svg { max-width: 100%; }
a { color: var(--accent-text); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
:root[data-theme="dark"] :focus-visible { outline-color: var(--canvas-accent); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) :focus-visible { outline-color: var(--canvas-accent); } }
.wrap { width: 100%; max-width: calc(1200px + 2 * var(--gutter)); margin-inline: auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -999px; top: 0; background: var(--btn-bg); color: var(--btn-fg); padding: .6rem 1rem; z-index: 60; }
.skip:focus { left: 16px; top: 8px; }

/* type: mkt-display 72/44, mkt-headline 48/32, mkt-title 28/22, body-lg 20/18, body 17/16, label 14 */
h1, h2, h3, h4 { font-family: var(--sans); margin: 0; text-wrap: balance; }
h1 { font-weight: 800; font-size: clamp(2.75rem, 6.2vw, 4.5rem); line-height: 1; letter-spacing: -0.02em; }
h2 { font-weight: 800; font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.05; letter-spacing: -0.02em; }
h3 { font-weight: 700; font-size: clamp(1.375rem, 2.2vw, 1.75rem); line-height: 1.15; }
h4 { font-weight: 600; font-size: .875rem; line-height: 1.2; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.125rem, 1.6vw, 1.25rem); line-height: 1.45; color: var(--fg2); max-width: 54ch; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.measure { max-width: 64ch; }
.num { font-family: var(--num); font-weight: 400; line-height: .8; letter-spacing: 0; }

/* header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--bg); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; line-height: 0; }
.brand img { display: block; height: 28px; width: auto; image-rendering: pixelated; }
.logo-dark { display: none !important; }
:root[data-theme="dark"] .logo-light { display: none !important; }
:root[data-theme="dark"] .logo-dark { display: block !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-light { display: none !important; }
  :root:not([data-theme="light"]) .logo-dark { display: block !important; }
}
.nav { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.nav a { color: var(--fg); text-decoration: none; font: 600 .875rem/1.2 var(--sans); padding-block: .4rem; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--rule-strong); }
.nav a[aria-current="page"] { border-bottom-color: var(--teal); }
:root[data-theme="dark"] .nav a[aria-current="page"] { border-bottom-color: var(--canvas-accent); }
.nav .btn { border-bottom: 0; color: var(--btn-fg); }
.nav .btn:hover { color: var(--paper); }
.menu-btn { display: none; background: none; border: 1.5px solid var(--rule-strong); color: var(--fg); border-radius: 10px; padding: .45rem .9rem; font: 600 .875rem var(--sans); cursor: pointer; }
@media (max-width: 1060px) {
  .menu-btn { display: inline-block; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: .25rem; padding-bottom: 1rem; }
  .nav.open { display: flex; }
  .nav a { padding-block: .6rem; }
}

/* buttons and forms: one primary per screen height, secondary is a teal text link */
.btn { display: inline-block; background: var(--btn-bg); color: var(--btn-fg); font: 600 1rem/1.2 var(--sans); text-decoration: none; padding: .85rem 1.4rem; border-radius: 12px; border: 0; cursor: pointer; }
.btn:hover { background: var(--teal-deep); color: var(--paper); }
.btn.sm { padding: .6rem 1rem; font-size: .875rem; }
.textlink { font-weight: 600; color: var(--accent-text); }
.waitlist { display: flex; gap: .75rem; flex-wrap: wrap; max-width: 540px; }
.waitlist input[type=email], .field input, .field select, .field textarea {
  font: 400 1rem var(--sans); color: var(--fg); background: var(--surface); border: 1.5px solid var(--rule-strong); border-radius: 10px; padding: .8rem .95rem; width: 100%; min-width: 0;
}
.waitlist input[type=email] { flex: 1 1 240px; width: auto; }
.form-msg { flex-basis: 100%; margin: .2rem 0 0; font-size: .92rem; color: var(--muted); }
.form-msg:empty { display: none; }
.form-msg.ok { color: var(--accent-text); font-weight: 600; }
.form-msg.err { color: var(--fg); font-weight: 600; }
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.field label { font-weight: 600; font-size: .95rem; }
.field textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute; left: -9999px; }

/* sections: paper, then paperDeep, then dark canvas, each joined by a stepped edge that climbs to the right */
.section { position: relative; padding-block: var(--section); }
.section.deep, main > .section:nth-of-type(even) { background: var(--deep); }
.section.deep::before, main > .section:nth-of-type(even)::before, .cta::before, .site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: calc(-1 * var(--edge)); height: calc(var(--edge) + 1px); background: inherit; pointer-events: none;
  clip-path: polygon(0 100%, 0 83.34%, 16.67% 83.34%, 16.67% 66.67%, 33.33% 66.67%, 33.33% 50%, 50% 50%, 50% 33.34%, 66.67% 33.34%, 66.67% 16.67%, 83.33% 16.67%, 83.33% 0, 100% 0, 100% 100%);
}
.page-head { padding-block: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 3vw, 2.5rem); }
.page-head h1 { font-size: clamp(2.5rem, 5.4vw, 4rem); max-width: 18ch; }
.page-head .lede { margin-top: 1.25rem; }
.page-head + .section { padding-top: clamp(2rem, 4vw, 3rem); }
.page-head + .section.deep, main > .page-head + .section:nth-of-type(even) { padding-top: calc(var(--section) * .75); }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--muted); }

/* hero: headline and one primary on the left, teal block bleeding off the right with the scoreboard card overlapping its lower-left corner */
.hero { padding-block: clamp(2rem, 5vw, 4rem) 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; align-items: stretch; }
.hero-copy { padding-left: max(var(--gutter), calc((100vw - 1200px) / 2)); padding-right: clamp(1.5rem, 4vw, 4rem); padding-bottom: clamp(3rem, 6vw, 6rem); display: flex; flex-direction: column; justify-content: center; }
.hero-copy h1 { margin-bottom: 1.5rem; }
.hero-copy .waitlist { margin-top: 2rem; }
.hero-copy .fine { margin-top: 1rem; color: var(--muted); font-size: .9rem; }
.hero-copy .below { margin-top: 1.25rem; }
.hero-block { position: relative; background: var(--teal); color: var(--paper); padding: clamp(1.5rem, 3vw, 2.5rem) clamp(2.5rem, 4vw, 3.5rem) clamp(9rem, 13vw, 11rem) clamp(1.5rem, 4vw, 3.5rem); min-height: 480px;
  clip-path: polygon(0 40px, 16.67% 40px, 16.67% 32px, 33.33% 32px, 33.33% 24px, 50% 24px, 50% 16px, 66.67% 16px, 66.67% 8px, 83.33% 8px, 83.33% 0, 100% 0, 100% 100%, 0 100%); }
.hero-block .climb { position: absolute; top: 56px; right: clamp(16px, 3vw, 40px); }
.hero-block svg.chart { display: block; width: 100%; height: auto; margin-top: 2rem; }
.hero-block .cap { margin: .75rem 0 0; font-size: .875rem; color: var(--canvas-muted); max-width: 46ch; }
.score { position: absolute; left: 0; bottom: calc(var(--edge) + 16px); transform: translateY(0); background: var(--surface); color: var(--fg); padding: 1rem 1.5rem 1.25rem; box-shadow: inset 0 1px 0 var(--fg); display: flex; align-items: baseline; gap: .75rem; flex-wrap: wrap; max-width: calc(100% - 16px); }
.score .num { font-size: clamp(3.5rem, 6vw, 5rem); color: var(--fg); }
.score span { font-size: .875rem; color: var(--fg2); max-width: 20ch; line-height: 1.25; }
.c-grid { stroke: #faf9f62e; stroke-width: 1; }
.c-axis { fill: var(--canvas-muted); font: 500 13px var(--sans); }
.c-dot { fill: #faf9f6; opacity: .6; shape-rendering: crispEdges; }
.c-trend { fill: none; stroke: #ffffff; stroke-width: 4; stroke-linecap: square; stroke-linejoin: miter; }
.c-note { fill: #ffffff; font: 600 14px var(--sans); }
.c-band { fill: #faf9f61f; shape-rendering: crispEdges; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)); }
  .hero-block { min-height: 0; }
}

/* pillars: alternating text and a teal scoreboard block */
.pillar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem clamp(2rem, 6vw, 6rem); align-items: center; }
.pillar + .pillar { margin-top: clamp(4rem, 8vw, 7rem); }
.pillar.flip > :first-child { order: 2; }
.pillar h2 { margin-bottom: 1.25rem; }
.pillar p { max-width: 50ch; }
.pillar ul.proof { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .75rem; }
.pillar ul.proof li { padding-left: 1.25rem; position: relative; max-width: 50ch; }
.pillar ul.proof li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; background: var(--teal); }
:root[data-theme="dark"] .pillar ul.proof li::before { background: var(--canvas-accent); }
.block { background: var(--teal); color: var(--paper); padding: 3.5rem 1.5rem 1.5rem; min-height: 340px; display: flex; align-items: flex-end; gap: 1.25rem; flex-wrap: wrap;
  clip-path: polygon(0 40px, 16.67% 40px, 16.67% 32px, 33.33% 32px, 33.33% 24px, 50% 24px, 50% 16px, 66.67% 16px, 66.67% 8px, 83.33% 8px, 83.33% 0, 100% 0, 100% 100%, 0 100%); }
.block .num { font-size: clamp(5rem, 9vw, 7.5rem); color: var(--paper); }
.block p { margin: 0; color: var(--canvas-muted); max-width: 24ch; padding-bottom: .4rem; }
@media (max-width: 800px) { .pillar { grid-template-columns: 1fr; } .pillar.flip > :first-child { order: 0; } }

/* rows: ruled content groups, used instead of grids of cards */
.rows { display: flex; flex-direction: column; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 1rem clamp(1.5rem, 4vw, 3.5rem); padding-block: 1.75rem; border-top: 1px solid var(--rule); }
.row:last-child { border-bottom: 1px solid var(--rule); }
.row h3 { max-width: 16ch; }
.row p:last-child, .row ul:last-child { margin-bottom: 0; }
@media (max-width: 760px) { .row { grid-template-columns: 1fr; gap: .6rem; } }
.section-head { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 3rem; max-width: 56ch; }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: .5rem; }
.ticks li { padding-left: 1.25rem; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; background: var(--teal); }
:root[data-theme="dark"] .ticks li::before { background: var(--canvas-accent); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2.5rem clamp(1.5rem, 4vw, 4rem); }
.split > * { min-width: 0; }
.split h2 + p, .split h3 + p { margin-top: 1rem; }

/* sequence, numbered in Jersey 10 */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 4rem minmax(0, 1fr); gap: 1rem; padding-block: 1.5rem; border-top: 1px solid var(--rule); }
.steps li:last-child { border-bottom: 1px solid var(--rule); }
.steps li::before { content: counter(s); font: 400 3rem/.8 var(--num); color: var(--accent-text); }
.steps h3 { margin-bottom: .4rem; }
.steps p { margin: 0; color: var(--fg2); max-width: 62ch; }

/* labels and evidence grades: sentence case, square, no colour outside teal, violet (PBs only) and ink */
.tag { display: inline-block; font: 600 .8125rem/1.2 var(--sans); padding: .3rem .6rem; border-radius: 0; background: var(--teal-tint); color: var(--accent-text); box-shadow: inset 0 0 0 1px #006d614d; }
.tag.warn { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px var(--rule-strong); }
.tag.alert { background: var(--deep); color: var(--fg2); box-shadow: inset 0 0 0 1px var(--rule-strong); }
.tag.pb { color: var(--violet); background: #7544cd14; box-shadow: inset 0 0 0 1px #7544cd4d; }
:root[data-theme="dark"] .tag.pb { color: #c4a8ff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tag.pb { color: #c4a8ff; } }

.callout { background: var(--deep); padding: 1.25rem 1.5rem; box-shadow: inset 0 1px 0 var(--fg); }
.section.deep .callout, main > .section:nth-of-type(even) .callout { background: var(--bg); }
.callout p:last-child { margin-bottom: 0; }

/* tables */
.table-wrap { overflow-x: auto; background: var(--surface); box-shadow: inset 0 1px 0 var(--fg); }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .96rem; }
th, td { text-align: left; padding: .9rem 1rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font-weight: 700; background: var(--deep); }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 600; width: 28%; }

/* link lists (blog, tools, compare) */
.linklist { list-style: none; margin: 0; padding: 0; }
.linklist li { border-top: 1px solid var(--rule); }
.linklist li:last-child { border-bottom: 1px solid var(--rule); }
.linklist a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .25rem 1.5rem; padding-block: 1.5rem; text-decoration: none; color: var(--fg); }
.linklist a:hover h3 { color: var(--accent-text); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.linklist .meta { color: var(--muted); font-size: .9rem; white-space: nowrap; }
.linklist p { grid-column: 1; margin: .35rem 0 0; color: var(--fg2); max-width: 62ch; }
@media (max-width: 560px) { .linklist a { grid-template-columns: 1fr; } .linklist .meta { white-space: normal; } }

/* article prose */
.prose { max-width: 66ch; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 2.5rem 0 .8rem; }
.prose h3 { margin: 1.75rem 0 .5rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1em; }
.prose li { margin-bottom: .4rem; }
.prose .refs { font-size: .92rem; color: var(--muted); border-top: 1px solid var(--rule); margin-top: 2.5rem; padding-top: 1rem; }
.prose .refs li { margin-bottom: .5rem; }

/* tools: the result is the scoreboard card, the only card on the site */
.tool { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem clamp(1.5rem, 4vw, 4rem); align-items: start; }
.tool > * { min-width: 0; }
@media (max-width: 760px) { .tool { grid-template-columns: 1fr; } }
.result { background: var(--surface); padding: 1.5rem; box-shadow: inset 0 1px 0 var(--fg); }
.result .big { font: 400 clamp(4rem, 8vw, 6rem)/.8 var(--num); color: var(--fg); }
.result .range { color: var(--fg2); margin-top: .75rem; font-variant-numeric: tabular-nums; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }

/* exercises */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.chip { font: 600 .875rem var(--sans); background: transparent; color: var(--fg); border: 1.5px solid var(--rule-strong); border-radius: 10px; padding: .45rem .95rem; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); }

/* faq */
details.qa { border-top: 1px solid var(--rule); padding-block: 1.25rem; }
details.qa:last-of-type { border-bottom: 1px solid var(--rule); }
details.qa summary { cursor: pointer; font: 700 1.25rem/1.25 var(--sans); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after { content: "+"; color: var(--accent-text); font: 400 2rem/.7 var(--num); }
details.qa[open] summary::after { content: "-"; }
details.qa .ans { padding-top: .8rem; max-width: 64ch; color: var(--fg2); }

/* closing band (teal) and footer (dark canvas) */
.cta { position: relative; background: var(--teal); color: var(--paper); padding-block: var(--section); margin-top: var(--edge); }
.cta h2 { margin-bottom: 1rem; max-width: 16ch; color: var(--paper); }
.cta .lede { color: var(--canvas-muted); }
.cta .waitlist { margin-top: 2rem; }
.cta .btn { background: var(--paper); color: var(--teal); }
.cta .btn:hover { background: #ffffff; color: var(--teal-deep); }
.cta .form-msg, .cta .form-msg.ok, .cta .form-msg.err { color: var(--paper); }
.site-footer { position: relative; background: var(--canvas); color: var(--canvas-text); padding-block: 4rem 3rem; font-size: .95rem; margin-top: var(--edge); }
.cta + .site-footer { margin-top: var(--edge); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 2.5rem 2rem; }
.footer-grid > * { min-width: 0; }
.footer-grid .brand img { height: 28px; }
.footer-grid p { color: var(--canvas-muted); }
.footer-grid h4 { margin-bottom: .75rem; color: var(--canvas-text); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.footer-grid a { color: var(--canvas-muted); text-decoration: none; }
.footer-grid a:hover { color: var(--canvas-accent); text-decoration: underline; }
.legal-line { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid #ffffff2e; color: var(--canvas-muted); font-size: .875rem; }
.legal-line a { color: var(--canvas-accent); }
.site-footer .logo-light { display: none !important; }
.site-footer .logo-dark { display: block !important; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* phone frame: a full iPhone outline, flat and straight-on, never angled. The screenshot sits inside at 1206 x 2622 (iPhone 16 Pro). */
.phone { --w: 260px; position: relative; flex: none; width: var(--w); aspect-ratio: 1206 / 2622; background: #1c1a16; padding: calc(var(--w) * .035); border-radius: calc(var(--w) * .155); margin: 0 auto; }
.phone::before { content: ""; position: absolute; left: -3px; top: 17%; width: 3px; height: 4%; background: #1c1a16; border-radius: 2px 0 0 2px; box-shadow: 0 calc(var(--w) * .27) 0 #1c1a16, 0 calc(var(--w) * .43) 0 #1c1a16; }
.phone::after { content: ""; position: absolute; right: -3px; top: 25%; width: 3px; height: 8%; background: #1c1a16; border-radius: 0 2px 2px 0; }
.phone > img, .phone > .ph { display: block; width: 100%; height: 100%; border-radius: calc(var(--w) * .12); object-fit: cover; }
.phone > .ph { position: relative; background: repeating-linear-gradient(135deg, #f2f0ec 0 14px, #e8e5df 14px 28px); color: #1c1a16; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .35rem; padding: 1rem; font-size: .8125rem; line-height: 1.3; }
.phone > .ph::before { content: ""; position: absolute; top: calc(var(--w) * .035); left: 50%; width: calc(var(--w) * .3); height: calc(var(--w) * .085); transform: translateX(-50%); background: #1c1a16; border-radius: 999px; }
.phone > .ph b { font: 400 2rem/.8 var(--num); }
.phone > .ph span { max-width: 16ch; }
.phone > .ph i { font-style: normal; color: #575550; font-size: .75rem; }
@media (max-width: 800px) { .phone { --w: 230px; } }


/* full-width colour bands for the pillar sections */
main > .section.teal { background: var(--teal); color: var(--paper); }
main > .section.deep { background: var(--deep); }
main > .section.paper { background: var(--bg); }
.section.teal::before, .section.paper::before { content: ""; position: absolute; left: 0; right: 0; top: calc(-1 * var(--edge)); height: calc(var(--edge) + 1px); background: inherit; pointer-events: none;
  clip-path: polygon(0 100%, 0 83.34%, 16.67% 83.34%, 16.67% 66.67%, 33.33% 66.67%, 33.33% 50%, 50% 50%, 50% 33.34%, 66.67% 33.34%, 66.67% 16.67%, 83.33% 16.67%, 83.33% 0, 100% 0, 100% 100%); }
.section.teal h2, .section.teal h3 { color: var(--paper); }
.section.teal .lede { color: var(--canvas-muted); }
.section.teal a.textlink { color: var(--paper); }
.section.teal ul.proof li::before { background: var(--canvas-accent); }
/* feature matrix: apps across the top, features down the side, first column sticky, PixelPT column tinted */
.wrap.wide { max-width: calc(1360px + 2 * var(--gutter)); }
.sr { position: absolute; left: -9999px; }
.matrix-wrap { overflow-x: auto; }
table.matrix { min-width: 1000px; table-layout: fixed; font-size: .9375rem; }
.matrix th, .matrix td { padding: 1rem; line-height: 1.4; }
.matrix thead th { position: sticky; top: 0; font-size: 1.0625rem; font-weight: 800; background: var(--deep); border-bottom: 1px solid var(--rule-strong); }
.matrix tbody th[scope="row"] { font-weight: 600; width: 190px; background: var(--surface); position: sticky; left: 0; z-index: 1; border-bottom: 1px solid var(--rule); border-right: 1px solid var(--rule); }
.matrix thead th:first-child { width: 190px; position: sticky; left: 0; z-index: 2; }
.matrix td:first-child { width: auto; font-weight: 400; }
.matrix .us { background: var(--teal-tint); }
.matrix thead th.us { background: var(--teal); color: var(--paper); }
.matrix tr.grp th { background: var(--deep); font: 700 1.125rem/1.2 var(--sans); padding: 1.25rem 1rem .75rem; border-bottom: 1px solid var(--rule-strong); position: static; }
.matrix td { color: var(--fg); }
@media (max-width: 640px) { .matrix tbody th[scope="row"], .matrix thead th:first-child { width: 118px; font-size: .875rem; } table.matrix { min-width: 900px; } }

/* groups of phones: two or three per pillar, flat and aligned */
.phones { display: flex; justify-content: center; align-items: flex-start; gap: 1rem; min-width: 0; }
.phones .phone { margin: 0; }
.phones.n2 .phone { --w: 220px; }
.phones.n3 .phone { --w: 172px; }
.phones .ph { padding: .5rem; font-size: .75rem; }
.phones.n3 .ph b, .phones.n2 .ph b { font-size: 1.5rem; }
.phones.n3 .ph i { display: none; }
@media (max-width: 800px) {
  .phones { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .phones .phone { scroll-snap-align: start; }
  .phones.n2 .phone, .phones.n3 .phone { --w: 200px; }
}

/* price comparison on the home page: two Jersey 10 numbers */
.price-split { align-items: center; }
.compare-nums { display: grid; gap: 1rem; }
.cn { background: var(--surface); padding: 1.5rem; box-shadow: inset 0 1px 0 var(--fg); display: flex; flex-direction: column; gap: .75rem; }
.cn .num { font-size: clamp(3rem, 6vw, 4.5rem); color: var(--fg); }
.cn span { color: var(--fg2); }
.cn.us { background: var(--teal); color: var(--paper); box-shadow: none; }
.cn.us .num, .cn.us span { color: var(--paper); }
.split.trio { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* ---- poster home: huge stepped type, one phone laid over it, a quiet number ticker ---- */
.poster { position: relative; background: var(--teal); color: var(--paper); overflow: hidden; padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(3rem, 6vw, 5rem); }
.poster-in { position: relative; }
.poster-words { font: 800 clamp(4rem, 15vw, 13rem)/.88 var(--sans); letter-spacing: -.04em; color: var(--paper); margin: 0; max-width: none; }
.poster-words span { display: block; white-space: nowrap; }
.poster-words span:nth-child(2) { margin-left: 12%; }
.poster-words span:nth-child(3) { margin-left: 0; }
.poster-words span:nth-child(4) { margin-left: 4%; }
.poster-phone { display: block; margin-top: 1.75rem; } .poster-phone .phone { --w: 210px; margin: 0; }
@media (min-width: 900px) {
  .poster-phone { display: block; position: absolute; right: max(var(--gutter), env(safe-area-inset-right, 0px)); top: 0; z-index: 2; }
  .poster-phone .phone { --w: clamp(220px, 23vw, 300px); }
}
.poster-copy { position: relative; z-index: 3; margin-top: clamp(2rem, 4vw, 3rem); max-width: 30rem; }
.poster-lead { font-size: clamp(1.25rem, 2vw, 1.625rem); line-height: 1.35; margin: 0; }
.poster-copy .waitlist { margin-top: 1.5rem; }
.poster-copy .btn { background: var(--paper); color: var(--teal); }
.poster-copy .btn:hover { background: #ffffff; color: var(--teal-deep); }
.poster-copy .form-msg, .poster-copy .form-msg.ok, .poster-copy .form-msg.err { color: var(--paper); }
.poster-copy .fine { margin-top: 1rem; color: var(--canvas-muted); font-size: .9rem; }
.ticker { position: relative; background: var(--bg); overflow-x: clip; margin-top: var(--edge); padding-block: 1.25rem calc(var(--edge) + 1.5rem); }
.ticker::before { content: ""; position: absolute; left: 0; right: 0; top: calc(-1 * var(--edge)); height: calc(var(--edge) + 1px); background: inherit; pointer-events: none;
  clip-path: polygon(0 100%, 0 83.34%, 16.67% 83.34%, 16.67% 66.67%, 33.33% 66.67%, 33.33% 50%, 50% 50%, 50% 33.34%, 66.67% 33.34%, 66.67% 16.67%, 83.33% 16.67%, 83.33% 0, 100% 0, 100% 100%); }
.ticker-track { display: flex; align-items: center; gap: 2.5rem; width: max-content; font: 400 clamp(1.5rem, 2.4vw, 2.25rem)/1 var(--num); color: var(--fg); animation: tick 45s linear infinite; padding-right: 2.5rem; }
.ticker-track span { white-space: nowrap; }
.ticker-track i { width: .6em; height: .6em; background: var(--teal); flex: none; }
:root[data-theme="dark"] .ticker-track i { background: var(--canvas-accent); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ticker-track i { background: var(--canvas-accent); } }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }
.big-h { font: 800 clamp(2.25rem, 5.5vw, 4.5rem)/1 var(--sans); letter-spacing: -.03em; max-width: 14ch; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.stairs { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.stairs li { display: grid; grid-template-columns: minmax(0, auto) minmax(0, 1fr); align-items: baseline; gap: .5rem 2rem; padding-block: .75rem; }
.stairs li b { font: 800 clamp(2.5rem, 7vw, 6rem)/1 var(--sans); letter-spacing: -.03em; }
.stairs li span { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: var(--fg2); max-width: 30ch; }
@media (min-width: 900px) { .stairs li:nth-child(2) { margin-left: 8%; } .stairs li:nth-child(3) { margin-left: 16%; } .stairs li:nth-child(4) { margin-left: 24%; } }
@media (max-width: 640px) { .stairs li { grid-template-columns: 1fr; } }
.trust-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; font-size: clamp(1.25rem, 2.2vw, 1.75rem); line-height: 1.3; max-width: 36ch; }
.trust-list b { font-weight: 800; }
.phones.n4 .phone { --w: 172px; }
.phones.n4 .ph b { font-size: 1.5rem; }
.phones.n4 .ph i { display: none; }
@media (max-width: 900px) { .phones.n4 .phone { --w: 200px; } }

/* ---- tappable demo: poster-word tabs and a small working app inside the phone ---- */
.tryit { margin-top: clamp(1.5rem, 3vw, 2.5rem); display: grid; gap: 1.5rem; justify-items: start; }
.try-tabs { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.try-tabs button { background: none; border: 0; padding: 0 0 .4rem; cursor: pointer; font: 800 clamp(2.25rem, 6.5vw, 5.5rem)/1 var(--sans); letter-spacing: -.03em; color: var(--muted); border-bottom: 6px solid transparent; }
.try-tabs button[aria-selected="true"] { color: var(--fg); border-bottom-color: var(--teal); }
:root[data-theme="dark"] .try-tabs button[aria-selected="true"] { border-bottom-color: var(--canvas-accent); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .try-tabs button[aria-selected="true"] { border-bottom-color: var(--canvas-accent); } }
.try-tabs button:hover { color: var(--fg); }
.try-phone .phone { --w: 300px; margin: 0; }
.cap-ex { margin: .75rem 0 0; font-size: .875rem; color: var(--muted); }
.app { --a-bg: #faf9f6; --a-ink: #1c1a16; --a-mut: #575550; --a-rule: #dcdad6; --a-teal: #006d61; position: relative; width: 100%; height: 100%; border-radius: calc(var(--w) * .12); background: var(--a-bg); color: var(--a-ink); overflow: hidden; font-size: 12.5px; line-height: 1.35; }
.app .scr { display: none; position: absolute; inset: 0 0 52px 0; padding: 46px 16px 8px; overflow-y: auto; }
.app .scr.on { display: block; }
.app h3 { font: 800 21px/1.05 var(--sans); color: var(--a-ink); margin: 0; }
.app .sub { margin: 2px 0 10px; color: var(--a-mut); }
.app .flag { margin: 0 0 8px; padding: 6px 8px; background: #006d6114; color: var(--a-teal); font-weight: 600; }
.app .ex { margin-bottom: 8px; }
.app .ex-h { display: flex; justify-content: space-between; font-weight: 700; padding-bottom: 4px; border-bottom: 1px solid var(--a-rule); margin-bottom: 4px; }
.app .ex-h span { font-weight: 400; color: var(--a-mut); }
.app .ex-s { display: flex; gap: 6px; }
.app .set { flex: 1; font: 600 12px var(--sans); padding: 7px 2px; border: 1.5px solid #928f88; background: transparent; color: var(--a-ink); border-radius: 8px; cursor: pointer; }
.app .set small { display: block; font-weight: 400; font-size: 10px; color: var(--a-mut); }
.app .set[aria-pressed="true"] { background: var(--a-teal); border-color: var(--a-teal); color: #faf9f6; }
.app .set[aria-pressed="true"] small { color: #dcefeb; }
.app .count { margin: 8px 0 0; display: flex; align-items: baseline; gap: 6px; }
.app .count b { font: 400 34px/.8 var(--num); color: var(--a-teal); }
.app .hint { margin: 4px 0 0; color: var(--a-mut); font-size: 11.5px; }
.app .big2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.app .big2 b, .app .ready b, .app .rv b { display: block; font: 400 34px/.85 var(--num); color: var(--a-ink); }
.app .big2 span, .app .ready span, .app .rv span { color: var(--a-mut); font-size: 11px; }
.app .pix { display: flex; gap: 3px; margin: 8px 0 10px; }
.app .pix i { flex: 1; height: 12px; background: var(--a-rule); }
.app .pix i.f { background: var(--a-teal); }
.app .adds { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.app .adds button { text-align: left; font: 700 12px var(--sans); padding: 8px; border: 1.5px solid #928f88; background: transparent; color: var(--a-ink); border-radius: 8px; cursor: pointer; }
.app .adds small { display: block; font-weight: 400; color: var(--a-mut); font-size: 10.5px; }
.app .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.app .chips button { font: 600 12px var(--sans); padding: 7px 10px; border: 1.5px solid #928f88; background: transparent; color: var(--a-ink); border-radius: 999px; cursor: pointer; }
.app .chips button[aria-pressed="true"] { background: var(--a-teal); border-color: var(--a-teal); color: #faf9f6; }
.app .ready, .app .rv { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.app .rv { grid-template-columns: 1fr; gap: 8px; }
.app .plan { margin: 0; padding-top: 8px; border-top: 1px solid var(--a-rule); }
.app .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 52px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--a-rule); background: var(--a-bg); }
.app .bar span { display: flex; align-items: center; justify-content: center; font: 600 11px var(--sans); color: var(--a-mut); cursor: pointer; }
.app .bar span.on { color: var(--a-teal); box-shadow: inset 0 3px 0 var(--a-teal); }
.app .num { font-family: var(--num); }

/* ---- scroll story: the page holds still while the colour, copy and screenshots change ---- */
.story { position: relative; --hdr: 72px; }
.step { padding-block: clamp(2.5rem, 6vw, 5rem); display: grid; gap: 2rem; align-items: center; }
.story-dots { display: none; }
.step-copy h2 { font: 800 clamp(2.25rem, 5vw, 4.5rem)/.98 var(--sans); letter-spacing: -.03em; color: inherit; max-width: 12ch; }
.step-n { display: block; font-size: clamp(2.5rem, 5vw, 4rem); line-height: .8; margin-bottom: 1rem; opacity: .75; }
.step-lines { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .5rem; font-size: clamp(1.125rem, 1.8vw, 1.5rem); line-height: 1.3; }
.step-phones { display: flex; gap: 1rem; justify-content: center; align-items: flex-start; }
.step-phones .phone { --w: min(270px, 38vw); margin: 0; }
.step-copy a.textlink { color: inherit; }
.step-copy p { margin: 1.25rem 0 0; }
.story-static .step:nth-child(3n+1) { background: var(--teal); color: var(--paper); }
.story-static .step:nth-child(3n) { background: var(--canvas); color: var(--canvas-text); }
.story.live { height: calc(100vh + (var(--n, 3) - 1) * 85vh); height: calc(100svh + (var(--n, 3) - 1) * 85svh); }
.story.live .story-stick { position: sticky; top: var(--hdr); height: calc(100vh - var(--hdr)); height: calc(100svh - var(--hdr)); overflow: hidden; background: var(--teal); color: var(--paper); transition: background-color .6s ease, color .6s ease; }
.story.live .story-stick[data-step="1"] { background: var(--deep); color: var(--fg); }
.story.live .story-stick[data-step="2"] { background: var(--canvas); color: var(--canvas-text); }
.story.live .story-in { position: relative; height: 100%; }
.story.live .step { position: absolute; inset: 0; padding: 0 max(var(--gutter), env(safe-area-inset-right, 0px)) 0 max(var(--gutter), env(safe-area-inset-left, 0px)); opacity: 0; visibility: hidden; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease, visibility 0s .5s; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.story.live .step.on { opacity: 1; visibility: visible; transform: none; transition: opacity .5s ease .1s, transform .5s ease .1s; }
.story.live .step-phones .phone { --w: min(300px, 22vw, calc((100svh - var(--hdr) - 3rem) * .458)); }
.story.live .story-dots { display: flex; gap: 6px; position: absolute; left: var(--gutter); bottom: 20px; }
.story.live .story-dots i { width: 14px; height: 14px; background: currentColor; opacity: .3; transition: opacity .3s; }
.story.live .story-dots i.on { opacity: 1; }
@media (max-width: 800px) {
  .story.live .step { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: .75rem; align-content: start; padding-top: 1rem; }
  .story.live .step-copy h2 { font-size: 2rem; max-width: none; }
  .story.live .step-n { font-size: 2rem; margin-bottom: .5rem; }
  .story.live .step-lines { margin-top: .75rem; font-size: 1rem; gap: .25rem; }
  .story.live .step-copy p { display: none; }
  .story.live .step-phones .phone { --w: min(150px, 36vw, calc((100svh - var(--hdr) - 15rem) * .458)); }
}
@media (prefers-reduced-motion: reduce) { .story.live .story-stick, .story.live .step, .story.live .step.on { transition: none; } }

/* ---- pricing: one giant number, and two apps struck through for one ---- */
.price-hero { position: relative; background: var(--teal); color: var(--paper); padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 6rem); overflow: hidden; }
.price-in { display: grid; gap: 2rem; align-items: end; }
@media (min-width: 900px) { .price-in { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }
.price-num { margin: 0; max-width: none; }
.price-num .num { display: block; font-size: clamp(9rem, 46vw, 38rem); line-height: .78; color: var(--paper); }
.price-lead { font: 800 clamp(2rem, 4.5vw, 3.5rem)/1 var(--sans); letter-spacing: -.03em; margin: 0; }
.price-sub { margin: 1rem 0 0; color: var(--canvas-muted); max-width: 32ch; }
.price-copy .waitlist { margin-top: 1.5rem; }
.price-copy .btn { background: var(--paper); color: var(--teal); }
.price-copy .form-msg, .price-copy .form-msg.ok, .price-copy .form-msg.err { color: var(--paper); }
.price-hero + .section.paper { margin-top: var(--edge); }
.swap-line { margin: 0; font: 800 clamp(1.75rem, 5.4vw, 4.75rem)/1.15 var(--sans); letter-spacing: -.03em; }
.swap-line s { text-decoration-thickness: .09em; text-decoration-color: var(--teal); color: var(--muted); }
:root[data-theme="dark"] .swap-line s { text-decoration-color: var(--canvas-accent); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .swap-line s { text-decoration-color: var(--canvas-accent); } }
.swap-line s, .swap-line b { white-space: nowrap; }
@media (max-width: 899px) { .price-num .num { font-size: 60vw; } }
.swap-line .plus { color: var(--muted); font-weight: 600; }
.swap-line b { color: var(--accent-text); }

/* ---- real screenshots: island overlay, a cross-fading phone reel, and a drifting strip of phones ---- */
.phone .isl { position: absolute; top: calc(var(--w) * .035 + var(--w) * .028); left: 50%; width: calc(var(--w) * .27); height: calc(var(--w) * .078); transform: translateX(-50%); background: #1c1a16; border-radius: 999px; z-index: 2; pointer-events: none; }
.reel .phone { position: relative; }
.reel .phone > img { position: absolute; inset: calc(var(--w) * .035); width: calc(100% - var(--w) * .07); height: calc(100% - var(--w) * .07); opacity: 0; transition: opacity .7s ease; }
.reel .phone > img.on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .reel .phone > img { transition: none; } }
.phone-strip { overflow: hidden; margin-top: clamp(1.5rem, 3vw, 2.5rem); padding-block: 1rem; }
.phone-strip-track { display: flex; gap: clamp(1rem, 2vw, 2rem); width: max-content; animation: drift 70s linear infinite; padding-left: var(--gutter); }
.phone-strip-track .dup { display: contents; }
.phone-strip .phone { --w: clamp(190px, 21vw, 280px); margin: 0; flex: none; }
@keyframes drift { to { transform: translateX(-50%); } }
.phone-strip:hover .phone-strip-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .phone-strip { overflow-x: auto; } .phone-strip-track { animation: none; } }

/* use cases hub */
.uc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 0; }
.uc-list li { border-top: 1px solid var(--rule); }
.uc-list a { display: grid; grid-template-columns: minmax(0, 1fr); gap: .25rem 2rem; padding-block: 1rem; text-decoration: none; color: var(--fg); }
.uc-list b { font: 800 clamp(1.6rem, 3.4vw, 2.75rem)/1.1 var(--sans); letter-spacing: -.02em; }
.uc-list span { color: var(--fg2); font-size: clamp(1rem, 1.4vw, 1.1875rem); }
.uc-list a:hover b, .uc-list a:focus-visible b { color: var(--accent-text); }
@media (min-width: 900px) { .uc-list a { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: baseline; } }
