@font-face { font-family: "Hanken Grotesk"; src: url(fonts/hanken-grotesk-var-latin.woff2) format("woff2"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url(fonts/plex-mono-400-latin.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url(fonts/plex-mono-500-latin.woff2) format("woff2"); font-weight: 500; font-display: swap; }

:root {
  /* Taken from the app: crates/its/ui/theme.slint (light) and the tray icon gradient. */
  --bg: #ffffff;
  --bg-2: #f3f3f3;
  --ink: #1a1a1a;
  --ink-2: #5d5d5d;
  --ink-3: #6b6b6b; /* was #8a8a8a: 3.4:1 on white fails WCAG AA for small text; this is 5.3:1 */
  --line: #e0e0e0;
  --accent: #005fb8;
  --accent-ink: #fff;
  --icon-a: #4aa0ff;
  --icon-b: #0a5bd6;
  --stage: #eef2f8;
  --stage-2: #ffffff;
  --stage-3: #f3f3f3;
  --stage-ink: #1a1a1a;
  --stage-ink-2: #5d5d5d;
  --stage-accent: #005fb8;
  --hl: #ffe45c;

  --sans: "Hanken Grotesk", system-ui, sans-serif;
  --mono: "Plex Mono", ui-monospace, monospace;

  --wrap: 76rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --r-sm: 6px; --r-md: 9px; --r-lg: 20px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.5 var(--sans); -webkit-font-smoothing: antialiased; font-feature-settings: "ss01"; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .18em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-weight: 650; letter-spacing: -0.035em; line-height: 1.02; text-wrap: balance; }
h3 { font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; }
p { text-wrap: pretty; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: var(--r-sm); z-index: 50; }
.skip:focus { top: 1rem; }

/* ---------- Nav ---------- */
.nav-bar { position: sticky; top: 0; z-index: 40; background: rgb(255 255 255 / .82); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid rgb(0 0 0 / .06); }
.nav-bar .wrap { display: flex; align-items: center; height: 3.25rem; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .5rem; color: var(--ink); font-weight: 650; letter-spacing: -0.02em; font-size: 1.08rem; }
.brand:hover { text-decoration: none; }
.brand .icon { width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; background: linear-gradient(135deg, var(--icon-a), var(--icon-b)); }
.brand .icon svg { width: 15px; height: 15px; }
.nav-links { display: flex; gap: 1.75rem; margin-left: auto; align-items: center; font-size: .9rem; }
.nav-links a { color: var(--ink); opacity: .8; }
.nav-links a:hover { opacity: 1; text-decoration: none; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 99px; padding: 2px; font: 500 .75rem/1 var(--sans); }
.lang a { color: var(--ink-2); padding: .45rem .65rem; border-radius: 99px; font: inherit; min-height: 32px; display: inline-flex; align-items: center; opacity: 1; }
.lang a:hover { text-decoration: none; color: var(--ink); }
.lang a[aria-current="true"] { background: var(--accent); color: #fff; }
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 2.25rem; padding: 0 1rem; border-radius: 99px; background: var(--accent); color: var(--accent-ink) !important; font-weight: 600; font-size: .9rem; opacity: 1 !important; }
.pill:hover { text-decoration: none; filter: brightness(1.08); }
.pill.lg { min-height: 3rem; padding: 0 1.5rem; font-size: 1rem; }
.link-arrow::after { content: " ›"; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; color: var(--ink); }
@media (max-width: 54rem) {
  .menu-btn { display: inline-grid; place-items: center; }
  .nav-links { display: none; position: absolute; top: 3.25rem; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem var(--gutter) 1.25rem; background: var(--bg); border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav-links.open { display: flex; }
  .nav-links > a:not(.pill) { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .nav-links .lang { align-self: flex-start; margin-top: 1rem; }
  .nav-links .pill { margin-top: 1rem; min-height: 3rem; }
}

/* ---------- Hero ---------- */
.hero { text-align: center; padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.hero .kicker { font-weight: 600; font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); letter-spacing: -0.01em; color: var(--ink-2); margin-bottom: .9rem; }
.hero h1 { font-size: clamp(3rem, 1.4rem + 6.6vw, 7rem); max-width: 13ch; margin: 0 auto; }
.hero h1 .soft { color: var(--ink-3); }
.hero .sub { font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); color: var(--ink-2); max-width: 38ch; margin: 1.5rem auto 0; line-height: 1.4; letter-spacing: -0.01em; }
.hero .ctas { display: flex; gap: 1.5rem; justify-content: center; align-items: center; margin-top: 2.25rem; flex-wrap: wrap; font-size: 1.05rem; }
.hero .meta { margin-top: 1.25rem; font-size: .85rem; color: var(--ink-3); }

/* ---------- Hero video (web/motion/, played by hero-video.js) ---------- */
/* The box is reserved by aspect-ratio before a byte arrives: 16:9 on desktop, 9:16 below 760 px
   (the same breakpoint as the <picture> sources and hero-video.js). The background is the video's
   own, so the box never flashes white or black while the poster loads. */
.hero-video-wrap { padding: 0 var(--gutter); }
.hero-video { position: relative; max-width: 82rem; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: #ececec; }
.hero-video-still img, .hero-video-v { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-video[data-theme="dark"] { background: #151515; } /* set by hero-video.js from the site's own theme */
@media (max-width: 759px) { .hero-video { aspect-ratio: 9 / 16; width: min(100%, calc(86svh * 9 / 16)); } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.src-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 14px; font-size: 13px; transition: opacity .5s var(--ease), transform .5s var(--ease), border-color .3s; }
.src-card.pre { opacity: 0; transform: translateY(14px); }
.src-card.hot { border-color: var(--stage-accent); }
.src-card .path { font: 12px/1.4 var(--mono); color: var(--stage-ink-2); }
.src-card .path b { color: var(--stage-accent); font-weight: 500; margin-right: 6px; }
.page { margin-top: 12px; background: #fafafa; border: 1px solid var(--line); color: #222; border-radius: 6px; padding: 14px 14px 16px; font-size: 12.5px; line-height: 1.55; }
.page .ph { height: 6px; border-radius: 3px; background: #dedede; margin-top: 7px; }
.page .ph.s { width: 62%; }
.page mark { background: linear-gradient(90deg, var(--hl) 50%, transparent 50%) right / 200% 100% no-repeat; color: inherit; transition: background-position 1.1s var(--ease); padding: 0 1px; }
.page mark.on { background-position: left; }

/* ---------- Sections ---------- */
section.block { padding: clamp(5rem, 10vw, 9rem) 0; }
.eyebrow-h { font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); font-weight: 600; color: var(--accent); margin-bottom: .8rem; letter-spacing: -0.01em; }
.big-h { font-size: clamp(2.4rem, 1.4rem + 4vw, 4.75rem); max-width: 16ch; }
.lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); color: var(--ink-2); max-width: 46ch; margin-top: 1.25rem; line-height: 1.45; letter-spacing: -0.01em; }

.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
.tile { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.5rem); min-height: 22rem; display: flex; flex-direction: column; overflow: hidden; position: relative; }
.tile h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); letter-spacing: -0.025em; max-width: 18ch; }
.tile p { color: var(--ink-2); margin-top: .75rem; max-width: 40ch; }
.tile.w4 { grid-column: span 4; } .tile.w3 { grid-column: span 3; } .tile.w2 { grid-column: span 2; }
.tile.blue { background: linear-gradient(135deg, var(--icon-a), var(--icon-b)); color: #fff; border: 0; }
.tile.blue p { color: rgb(255 255 255 / .88); }
.stat { font-size: clamp(4rem, 2.5rem + 6vw, 8.5rem); font-weight: 700; letter-spacing: -0.055em; line-height: .9; margin-top: auto; font-variant-numeric: tabular-nums; }
.stat small { font-size: .3em; letter-spacing: -0.01em; font-weight: 600; color: var(--ink-2); margin-left: .25em; }
.tile.blue .stat small { color: rgb(255 255 255 / .85); }
.tile .art { margin-top: auto; padding-top: 1.75rem; }
.quote-pair { display: grid; gap: .6rem; font-size: .95rem; }
.quote-pair div { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: .9rem 1rem; }
.quote-pair .lbl { display: block; font: 500 .68rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-bottom: .45rem; }
.switch { display: inline-flex; align-items: center; gap: .75rem; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: .75rem 1rem; font-weight: 600; font-size: .95rem; }
.switch i { width: 40px; height: 20px; border-radius: 99px; background: var(--accent); position: relative; }
.switch i::after { content: ""; position: absolute; right: 4px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.scan { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.scan > div { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: .9rem; min-height: 7.5rem; font-size: .8rem; color: var(--ink-2); }
.scan .blur { font-family: "Comic Sans MS", "Segoe Print", cursive; color: #555; filter: blur(.3px); transform: rotate(-1.5deg); }
.scan .lbl { display: block; font: 500 .68rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-bottom: .45rem; }
@media (max-width: 60rem) { .tile.w4, .tile.w3, .tile.w2 { grid-column: span 6; } .tile { min-height: 0; } .tile .stat { margin-top: 2rem; } }

.clients { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: 3rem; }
.clients > div { padding: 1.75rem 1.5rem 0 0; }
.clients h3 { font-size: 1.35rem; }
.clients p { color: var(--ink-2); margin-top: .4rem; font-size: .95rem; }
@media (max-width: 44rem) { .clients { grid-template-columns: 1fr; } .clients > div { padding: 1.25rem 0; border-bottom: 1px solid var(--line); } }

.private { background: var(--bg-2); text-align: center; }
.private .big-h { margin: 0 auto; max-width: 18ch; }
.private .lead { color: var(--ink-2); margin: 1.25rem auto 0; }
.never { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 4rem; text-align: left; }
.never h3 { font-size: 1.1rem; }
.never p { color: var(--ink-2); font-size: .95rem; margin-top: .4rem; }
@media (max-width: 54rem) { .never { grid-template-columns: 1fr 1fr; } }
@media (max-width: 30rem) { .never { grid-template-columns: 1fr; } }

/* Pricing */
.pricing-head { text-align: center; }
.pricing-head .big-h, .pricing-head .lead { margin-left: auto; margin-right: auto; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 3.5rem; align-items: stretch; }
.plan { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2rem; display: flex; flex-direction: column; background: #fff; }
.plan.featured { border: 2px solid var(--accent); padding: calc(2rem - 1px); }
.plan .tag { align-self: flex-start; font-size: .72rem; font-weight: 600; background: rgb(0 95 184 / .1); color: var(--accent); padding: .3rem .55rem; border-radius: 4px; margin-bottom: 1rem; }
.plan h3 { font-size: 1.35rem; }
.plan .for { color: var(--ink-2); font-size: .95rem; margin-top: .3rem; min-height: 2.9em; }
.price { margin-top: 1.5rem; font-size: 3rem; font-weight: 700; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.price span { font-size: 1rem; font-weight: 500; color: var(--ink-2); letter-spacing: 0; margin-left: .35rem; }
.plan ul { list-style: none; padding: 0; margin: 1.75rem 0 2rem; display: grid; gap: .7rem; font-size: .97rem; }
.plan li { padding-left: 1.6rem; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: .35em; width: 1rem; height: .55rem; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg) scale(.8); }
.plan .pill { margin-top: auto; min-height: 3rem; }
.plan:not(.featured) .pill { background: var(--bg-2); color: var(--ink) !important; }
.price-note { text-align: center; color: var(--ink-3); font-size: .85rem; margin-top: 1.5rem; }
@media (max-width: 60rem) { .plans { grid-template-columns: 1fr; max-width: 30rem; margin-left: auto; margin-right: auto; } .plan .for { min-height: 0; } }

/* FAQ */
.faq { max-width: 50rem; margin: 3rem auto 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.4rem 2.5rem 1.4rem 0; font-size: 1.2rem; font-weight: 600; letter-spacing: -0.015em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; color: var(--ink-2); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--ink-2); padding: 0 2.5rem 1.5rem 0; max-width: 62ch; }

/* Closer + footer */
.closer { text-align: center; padding: clamp(5rem, 10vw, 8rem) 0; }
.closer .big-h { margin: 0 auto; }
.closer .ctas { margin-top: 2rem; display: flex; gap: 1.5rem; justify-content: center; align-items: center; flex-wrap: wrap; }
footer { background: var(--bg-2); color: var(--ink-2); font-size: .82rem; padding: 3rem 0 2rem; }
footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
footer h4 { margin: 0 0 .8rem; color: var(--ink); font-size: .82rem; font-weight: 600; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
footer a { color: var(--ink-2); }
footer .legal { padding-top: 1.25rem; display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; }
@media (max-width: 44rem) { footer .cols { grid-template-columns: 1fr 1fr; } }
.todo { background: var(--hl); color: var(--ink); padding: 0 .25em; border-radius: 3px; font-style: normal; }

/* Inner page */
.legal-doc { max-width: 44rem; margin: 0 auto; padding: clamp(4rem, 8vw, 6rem) var(--gutter) 6rem; }
.legal-doc h1 { font-size: clamp(2.5rem, 1.6rem + 3.5vw, 4rem); }
.legal-doc .lead { margin-bottom: 3rem; }
.legal-doc h2 { font-size: 1.6rem; letter-spacing: -0.02em; margin: 3rem 0 .9rem; }
.legal-doc p { color: #3a3a40; margin-top: .9rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.stat small { display: block; margin: .6rem 0 0 .1em; }

/* ============ Site-wide additions (multi-page) ============ */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.show-ph .phv { background: var(--hl); outline: 1px dashed #b38f00; border-radius: 2px; }

/* Nav: brand left, a floating link group in the middle, language + download right (Norma). */
.nav-bar .wrap { height: 3.75rem; }
.nav-links { margin-left: 0; flex: 1; display: flex; align-items: center; gap: 1rem; }
.nav-group { margin: 0 auto; display: flex; gap: .15rem; padding: .25rem; border: 1px solid var(--line); border-radius: 99px; background: rgb(255 255 255 / .7); }
.nav-group a { padding: .4rem .85rem; border-radius: 99px; color: var(--ink-2); font-size: .88rem; font-weight: 500; opacity: 1; }
.nav-group a:hover { color: var(--ink); background: var(--bg-2); text-decoration: none; }
.nav-group a[aria-current="page"] { color: var(--ink); background: var(--bg-2); }
.nav-end { display: flex; align-items: center; gap: .75rem; }
@media (max-width: 54rem) {
  .nav-links { display: none; position: absolute; top: 3.75rem; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: .75rem var(--gutter) 1.25rem; background: var(--bg); border-bottom: 1px solid var(--line); gap: 0; }
  .nav-links.open { display: flex; }
  .nav-group { flex-direction: column; border: 0; padding: 0; margin: 0; background: none; border-radius: 0; }
  .nav-group a { border-radius: 0; padding: .9rem 0; font-size: 1.1rem; color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav-group a[aria-current="page"] { background: none; text-decoration: underline; }
  .nav-end { justify-content: space-between; margin-top: 1rem; }
  .nav-end .pill { min-height: 2.75rem; }
}

/* Buttons */
.pill.dark { background: var(--ink); }
.pill.ghost { background: #fff; color: var(--ink) !important; box-shadow: inset 0 0 0 1px var(--line); }
.pill.ghost:hover { background: var(--bg-2); filter: none; }

/* Home hero: left-aligned (Norma) */
.hero.left { text-align: left; padding-bottom: clamp(2rem, 4vw, 3rem); }
.hero.left h1 { margin: 0; max-width: 12ch; font-size: clamp(3rem, 1.6rem + 5.6vw, 6.25rem); }
.hero.left .sub { margin: 1.5rem 0 0; max-width: 34ch; }
.hero.left .ctas { justify-content: flex-start; gap: .75rem; }
.hero.left .meta { margin-top: 1rem; }
html[data-os="mobile"] .desk-only { display: none; }
.mobile-note { display: none; margin-top: 1rem; font-size: .9rem; color: var(--ink-2); }
html[data-os="mobile"] .mobile-note { display: block; }

/* Generic section header */
.sec-head { max-width: 46rem; }
.sec-head.center { margin: 0 auto; text-align: center; }
.sec-head.center .big-h, .sec-head.center .lead { margin-left: auto; margin-right: auto; }

/* Light feature panel with an icon grid (Norma "What makes it work", in light) */
.panel { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(2rem, 5vw, 4rem); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem 2rem; margin-top: 2.5rem; }
.grid3 h3 { font-size: 1.1rem; margin-top: .9rem; }
.grid3 p { color: var(--ink-2); margin-top: .35rem; font-size: .97rem; }
.ico { width: 2.25rem; height: 2.25rem; border-radius: 8px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--accent); }
.ico svg { width: 1.1rem; height: 1.1rem; }
@media (max-width: 54rem) { .grid3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 34rem) { .grid3 { grid-template-columns: 1fr; } }

/* Pricing switch */
.periods { display: inline-flex; gap: 2px; padding: 3px; border-radius: 99px; background: var(--bg-2); border: 1px solid var(--line); margin-top: 2rem; flex-wrap: wrap; justify-content: center; }
.periods button { border: 0; background: none; font: 500 .9rem var(--sans); color: var(--ink-2); padding: .55rem 1rem; border-radius: 99px; cursor: pointer; min-height: 2.5rem; }
.periods button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgb(0 0 0 / .08); }
.periods button small { color: #0e6b0e; font-weight: 600; margin-left: .3rem; }
.price .amt { all: unset; }
.price .kr { font-size: .5em; font-weight: 600; margin-left: .15em; letter-spacing: -0.01em; }
.price .per { font-size: 1rem; font-weight: 500; color: var(--ink-2); letter-spacing: 0; margin-left: .35rem; }
.pm { min-height: 1.4em; font-size: .85rem; color: #0e6b0e; margin-top: .4rem; font-weight: 500; }
.soon { display: inline-block; font-size: .68rem; font-weight: 600; color: var(--ink-2); background: var(--bg-2); border: 1px solid var(--line); border-radius: 4px; padding: .05rem .35rem; margin-left: .35rem; vertical-align: 1px; }
.trial { text-align: center; margin-top: 1.25rem; font-weight: 500; }
.plan .everything { color: var(--ink-2); font-size: .9rem; margin: 1.75rem 0 -1rem; }

/* Comparison table */
.compare-wrap { overflow-x: auto; margin-top: 3rem; border: 1px solid var(--line); border-radius: var(--r-md); }
table.compare { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 40rem; }
.compare th, .compare td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--bg-2); font-weight: 600; }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; width: 18%; }
.compare tr.grp td { background: #fafafa; font-weight: 600; color: var(--ink-2); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.compare .y { color: var(--accent); font-weight: 700; }
.compare .n { color: var(--ink-3); }
.compare tbody tr:last-child td { border-bottom: 0; }

/* Inner pages */
.page-hero { padding: clamp(4rem, 8vw, 6rem) 0 clamp(2rem, 4vw, 3rem); }
.page-hero h1 { font-size: clamp(2.6rem, 1.6rem + 4vw, 4.75rem); max-width: 16ch; }
.page-hero .lead { margin-top: 1.25rem; }
.split2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (max-width: 54rem) { .split2 { grid-template-columns: 1fr; } }
.prose { max-width: 65ch; color: #333; }
.prose > * + * { margin-top: 1rem; }
.prose h2 { font-size: 1.6rem; letter-spacing: -0.02em; margin-top: 3rem; color: var(--ink); scroll-margin-top: 5rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin-top: 2rem; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: .4rem; }
.prose table { border-collapse: collapse; width: 100%; font-size: .93rem; }
.prose th, .prose td { text-align: left; border-bottom: 1px solid var(--line); padding: .55rem .75rem .55rem 0; vertical-align: top; }
.prose .note { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1rem 1.15rem; }
.doc-layout { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 4rem; padding-bottom: 6rem; }
.toc { position: sticky; top: 5.5rem; align-self: start; font-size: .9rem; }
.toc p { font-weight: 600; margin-bottom: .6rem; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.toc a { color: var(--ink-2); }
.updated { font-size: .9rem; color: var(--ink-3); margin-top: 1rem; }
@media (max-width: 54rem) { .doc-layout { grid-template-columns: 1fr; gap: 2rem; } .toc { position: static; } }

/* Download cards */
.dl-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.dl-card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.75rem; display: flex; flex-direction: column; background: #fff; }
.dl-card.yours { border: 2px solid var(--accent); padding: calc(1.75rem - 1px); }
.dl-card .you { display: none; align-self: flex-start; font-size: .72rem; font-weight: 600; color: var(--accent); background: rgb(0 95 184 / .1); border-radius: 4px; padding: .2rem .5rem; margin-bottom: .75rem; }
.dl-card.yours .you { display: inline-block; }
.dl-card h2 { font-size: 1.6rem; letter-spacing: -0.02em; }
.dl-card p { color: var(--ink-2); margin-top: .5rem; }
.dl-card .pill { margin-top: auto; }
.dl-card dl { margin: 1.25rem 0 1.5rem; font-size: .88rem; display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem; }
.dl-card dt { color: var(--ink-3); } .dl-card dd { margin: 0; }
@media (max-width: 60rem) { .dl-cards { grid-template-columns: 1fr; } }
.steps-list { counter-reset: s; list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.steps-list li { counter-increment: s; border-top: 2px solid var(--ink); padding-top: 1rem; }
.steps-list li::before { content: counter(s); font-weight: 700; font-size: 2.2rem; letter-spacing: -0.04em; display: block; line-height: 1; margin-bottom: .75rem; color: var(--accent); }
.steps-list h3 { font-size: 1.1rem; } .steps-list p { color: var(--ink-2); font-size: .95rem; margin-top: .35rem; }
@media (max-width: 54rem) { .steps-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 34rem) { .steps-list { grid-template-columns: 1fr; } }

/* FAQ in a bordered container (Norma) */
.faq.boxed { border: 1px solid var(--line); border-radius: var(--r-md); padding: 0 1.25rem; background: #fff; margin-top: 0; }
.faq.boxed details:last-child { border-bottom: 0; }
.faq.boxed summary { font-size: 1.02rem; padding: 1.1rem 2.5rem 1.1rem 0; }
h2.grp { font-size: 1.05rem; color: var(--ink-2); margin: 2.75rem 0 .75rem; letter-spacing: 0; font-weight: 600; }

/* Contact, people, changelog */
.contact-card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2rem; background: var(--bg-2); scroll-margin-top: 5rem; }
.contact-card h2 { font-size: 1.5rem; letter-spacing: -0.02em; }
.contact-card dl { display: grid; grid-template-columns: auto 1fr; gap: .6rem 1.5rem; margin: 1.25rem 0 0; }
.contact-card dt { color: var(--ink-2); } .contact-card dd { margin: 0; font-weight: 500; }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.person { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; }
.person .avatar { width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--icon-a), var(--icon-b)); }
.person h3 { margin-top: 1rem; } .person p { color: var(--ink-2); margin-top: .3rem; font-size: .95rem; }
@media (max-width: 40rem) { .people { grid-template-columns: 1fr; } }
.release { display: grid; grid-template-columns: 12rem 1fr; gap: 2rem; padding: 2.5rem 0; border-top: 1px solid var(--line); }
.release .v { font-weight: 700; font-size: 1.4rem; letter-spacing: -0.02em; }
.release .d { color: var(--ink-3); font-size: .9rem; margin-top: .2rem; }
.release ul { margin: .75rem 0 0; padding-left: 1.2rem; color: #333; }
.release li + li { margin-top: .35rem; }
.chip-tag { display: inline-block; font-size: .7rem; font-weight: 600; padding: .15rem .45rem; border-radius: 4px; margin-right: .35rem; }
.chip-tag.new { background: rgb(0 95 184 / .1); color: var(--accent); } .chip-tag.fix { background: rgb(14 107 14 / .1); color: #0e6b0e; }
@media (max-width: 40rem) { .release { grid-template-columns: 1fr; gap: .5rem; } }

/* Withdrawal form */

/* Footer with a giant wordmark (Givingli) */
.site-foot { background: var(--bg-2); color: var(--ink-2); font-size: .88rem; padding: 4rem 0 2rem; border-top: 1px solid var(--line); overflow: hidden; }
.site-foot .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
.site-foot h2 { margin: 0 0 .9rem; color: var(--ink); font-size: .88rem; font-weight: 600; letter-spacing: 0; line-height: 1.3; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.site-foot a { color: var(--ink-2); }
.site-foot a:hover { color: var(--ink); }
.foot-brand p { max-width: 30ch; }
.foot-mail { margin-top: 1rem; }
.foot-mail a { color: var(--ink); font-weight: 500; }
.wordmark { font-weight: 700; letter-spacing: -0.06em; line-height: .8; font-size: clamp(4rem, 17vw, 15rem); color: var(--ink); margin: 3.5rem 0 1.5rem; white-space: nowrap; text-align: center; }
.site-foot .legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: .8rem; }
@media (max-width: 44rem) { .site-foot .cols { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 4rem 0; }
.notfound .code { font-size: clamp(6rem, 20vw, 12rem); font-weight: 700; letter-spacing: -0.06em; line-height: .9; color: var(--line); }
.plan { position: relative; }
.plan.featured .tag { position: absolute; top: -.8rem; left: 2rem; margin: 0; background: var(--accent); color: #fff; }
.plans.two { grid-template-columns: repeat(2, minmax(0, 24rem)); justify-content: center; }
@media (max-width: 60rem) { .plans.two { grid-template-columns: 1fr; } }
.coming { text-align: center; color: var(--ink-2); margin-top: 1.5rem; font-size: .95rem; }
.plan .pm { color: var(--ink-2); font-weight: 400; }
.plan.featured .pm { color: #0e6b0e; font-weight: 500; }

/* ============ Extension product (2026-10-09) ============ */
html, body { overflow-x: clip; }
img, svg, video { max-width: 100%; }
.nav-login { color: var(--ink); font-weight: 500; font-size: .9rem; padding: .4rem .25rem; }
.nav-login[aria-current="page"] { text-decoration: underline; text-underline-offset: .25em; }
@media (max-width: 54rem) {
  .nav-end { flex-wrap: wrap; gap: .75rem; }
  .nav-login { padding: .6rem 0; font-size: 1.05rem; }
}
@media (max-width: 24rem) { .brand { font-size: 1rem; } .nav-bar .wrap { gap: .75rem; } }

/* While site.js swaps the page into the chosen language (at most 2.5 s): no flash of the other one */
html.lang-swap body { visibility: hidden; }

/* Pills that cannot be clicked yet */
.pill.pending { background: var(--bg-2); color: var(--ink-2) !important; box-shadow: inset 0 0 0 1px var(--line); cursor: default; font-weight: 500; }
.pill.pending:hover { filter: none; }
button.pill { border: 0; cursor: pointer; font-family: inherit; }
button.pill:disabled { opacity: .55 !important; cursor: progress; }
.pill.danger { background: #b3261e; }
.pill.ghost.danger { background: #fff; color: #b3261e !important; box-shadow: inset 0 0 0 1px #e3b4b0; }

/* Three tier cards; the AI tier is shown but not sold */
.plans.tiers { margin-top: 2rem; }
.plan .plan-name { font-size: 1.35rem; letter-spacing: -0.015em; }
.plan.unavailable { background: var(--bg-2); color: var(--ink-2); border-style: dashed; }
.plan.unavailable .tag { position: absolute; top: -.8rem; left: 2rem; margin: 0; background: var(--ink-2); color: #fff; }
.plan.unavailable .price, .plan.unavailable .plan-name { color: var(--ink-2); }
.plan.unavailable li::before { border-color: var(--ink-3); }
.plan .soon-label { margin-top: auto; min-height: 3rem; background: transparent !important; color: var(--ink-2) !important; box-shadow: inset 0 0 0 1px var(--line); cursor: default; justify-content: center; }
.plans-consent { max-width: 40rem; margin: 1.75rem auto 0; display: grid; gap: .75rem; }
.plans-common { max-width: 40rem; margin: 3rem auto 0; }
.plans-common h2 { font-size: 1.2rem; }
.plans-common > ul:first-of-type { list-style: none; padding: 0; margin: 1rem 0 1.5rem; display: grid; gap: .6rem; }
.plans-common > ul:first-of-type li { padding-left: 1.6rem; position: relative; }
.plans-common > ul:first-of-type li::before { content: ""; position: absolute; left: 0; top: .35em; width: 1rem; height: .55rem; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg) scale(.8); }
.price-facts { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .35rem; font-size: .9rem; color: var(--ink-2); text-align: center; }

/* Forms */
.form { display: grid; gap: 1.1rem; }
.field label, .field .label { display: block; font-weight: 600; font-size: .95rem; }
.field .hint { color: var(--ink-2); font-size: .85rem; margin-top: .2rem; }
.field input[type="email"], .field input[type="text"], .field textarea, .field select {
  display: block; width: 100%; margin-top: .45rem; min-height: 2.9rem; padding: .6rem .9rem; border: 1px solid #767676; border-radius: 6px; font: inherit; background: #fff; color: var(--ink);
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.check { display: flex; gap: .65rem; align-items: flex-start; font-size: .95rem; }
.check input { width: 1.2rem; height: 1.2rem; margin-top: .15rem; flex: none; accent-color: var(--accent); }
.form .pill { width: 100%; min-height: 3rem; }
.msg { border-radius: var(--r-md); padding: .85rem 1rem; font-size: .95rem; }
.msg.ok { background: #e8f3e8; color: #0b4d0b; }
.msg.err { background: #fbeceb; color: #8c1d18; }
.msg.info { background: var(--bg-2); color: var(--ink); }
.or { display: flex; align-items: center; gap: .75rem; color: var(--ink-2); font-size: .85rem; margin: .25rem 0; }
.or::before, .or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.provider { display: flex; align-items: center; justify-content: space-between; gap: .5rem; min-height: 3rem; border: 1px solid var(--line); border-radius: 99px; padding: 0 1.1rem; color: var(--ink-2); background: #fff; font: 500 .95rem var(--sans); width: 100%; }
.provider .soon { margin: 0; }
.narrow-page { max-width: 30rem; margin: 0 auto; }

/* Account */
.acct-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding-bottom: 6rem; }
.card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.25rem, 3vw, 1.75rem); background: #fff; min-width: 0; }
.card.wide { grid-column: 1 / -1; }
.card h2 { font-size: 1.25rem; letter-spacing: -0.015em; line-height: 1.25; }
.card > p { color: var(--ink-2); margin-top: .5rem; font-size: .95rem; }
.card .actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem; }
.card .actions .pill { min-height: 2.6rem; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: .45rem 1.25rem; margin: 1rem 0 0; font-size: .95rem; }
.kv dt { color: var(--ink-2); } .kv dd { margin: 0; font-weight: 500; min-width: 0; overflow-wrap: anywhere; }
.badge { display: inline-block; font-size: .78rem; font-weight: 600; padding: .15rem .55rem; border-radius: 99px; }
.badge.ok { background: #e8f3e8; color: #0b4d0b; } .badge.warn { background: #fff4d6; color: #6b4a00; } .badge.bad { background: #fbeceb; color: #8c1d18; }
.meter { height: 8px; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; margin-top: .5rem; }
.meter i { display: block; height: 100%; background: var(--accent); }
.table-wrap { overflow-x: auto; margin-top: 1rem; }
table.data { border-collapse: collapse; width: 100%; font-size: .9rem; min-width: 32rem; }
table.data th, table.data td { text-align: left; padding: .55rem .75rem .55rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { color: var(--ink-2); font-weight: 600; font-size: .8rem; }
table.data td.num { font-variant-numeric: tabular-nums; }
.token-box { margin-top: 1rem; border: 2px solid var(--accent); border-radius: var(--r-md); padding: 1rem; background: rgb(0 95 184 / .05); }
.token-box code { display: block; font: 500 .9rem/1.5 var(--mono); overflow-wrap: anywhere; margin: .5rem 0; }
.empty { color: var(--ink-2); font-size: .92rem; margin-top: 1rem; }
.fine { color: var(--ink-2); font-size: .85rem; }
/* In-page "are you sure?" (app.js askInline), in a table cell or under the plan buttons */
.confirm-inline { display: grid; gap: .5rem; min-width: 14rem; }
.confirm-inline p { margin: 0; font-size: .9rem; color: var(--ink); }
.confirm-inline .confirm-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.confirm-inline .pill { min-height: 2.4rem; }
.tier-confirm { margin-top: 1rem; border: 1px solid var(--line); border-radius: var(--r-md); padding: 1rem; background: var(--bg-2); }
@media (max-width: 54rem) { .acct-grid { grid-template-columns: 1fr; } }
dialog { border: 0; border-radius: var(--r-lg); padding: 1.75rem; max-width: min(28rem, calc(100vw - 2rem)); box-shadow: 0 30px 80px -20px rgb(0 0 0 / .35); }
dialog::backdrop { background: rgb(0 0 0 / .35); }
dialog h2 { font-size: 1.35rem; }
dialog p { color: var(--ink-2); margin-top: .6rem; }

/* Guides */
.browsers { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: 1rem; margin-top: 2rem; }
.bcard { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; background: #fff; display: flex; flex-direction: column; gap: .6rem; scroll-margin-top: 5rem; }
.bcard h3 { font-size: 1.2rem; }
.bcard ol { margin: 0; padding-left: 1.2rem; color: #333; font-size: .95rem; }
.bcard ol li + li { margin-top: .3rem; }
.bcard .pill { align-self: flex-start; margin-top: auto; }
.bcard.no { background: var(--bg-2); }
.code { background: #1a1a1a; color: #f3f3f3; border-radius: var(--r-md); padding: 1rem 1.1rem; padding-right: 4.5rem; font: 400 .85rem/1.6 var(--mono); overflow-x: auto; white-space: pre; margin: .75rem 0 0; }
.code-wrap { position: relative; }
.code-wrap .copy { position: absolute; top: .5rem; right: .5rem; background: #3a3a3a; color: #fff; border: 0; border-radius: 6px; font: 500 .75rem var(--sans); padding: .35rem .6rem; cursor: pointer; min-height: 2rem; }
.code-wrap .copy:focus-visible { outline-color: #9cc8ff; }
code.inline { font: .9em var(--mono); background: var(--bg-2); border: 1px solid var(--line); border-radius: 4px; padding: .05em .35em; overflow-wrap: anywhere; }
.guide { display: grid; gap: 1rem; padding-bottom: 5rem; }
.guide > section { border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.25rem, 3vw, 2rem); scroll-margin-top: 5rem; min-width: 0; }
.guide h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); letter-spacing: -0.02em; }
.guide h3 { font-size: 1.05rem; margin-top: 1.5rem; }
.guide p, .guide li { color: #333; }
.guide p { margin-top: .6rem; max-width: 65ch; }
.guide ol, .guide ul { padding-left: 1.2rem; margin: .75rem 0 0; } .guide li + li { margin-top: .4rem; }
.tagline { display: inline-block; font-size: .75rem; font-weight: 600; color: var(--accent); background: rgb(0 95 184 / .1); padding: .2rem .5rem; border-radius: 4px; margin-bottom: .6rem; }
.jump { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.jump a { border: 1px solid var(--line); border-radius: 99px; padding: .45rem .9rem; color: var(--ink); font-size: .9rem; background: #fff; }
.jump a:hover { background: var(--bg-2); text-decoration: none; }

/* Facts list (security / how it works) */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2.5rem; margin-top: 2.5rem; }
.facts > div { border-top: 1px solid var(--line); padding: 1.25rem 0 1.5rem; }
.facts h3 { font-size: 1.1rem; }
.facts p { color: var(--ink-2); margin-top: .35rem; }
@media (max-width: 44rem) { .facts { grid-template-columns: 1fr; } }
.yesno { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; text-align: left; }
.yesno > div { border-radius: var(--r-lg); padding: 1.5rem; border: 1px solid var(--line); background: #fff; }
.yesno h3 { font-size: 1.1rem; }
.yesno ul { margin: .75rem 0 0; padding-left: 1.2rem; color: #333; } .yesno li + li { margin-top: .4rem; }
@media (max-width: 44rem) { .yesno { grid-template-columns: 1fr; } }

.src-card .path .link { color: var(--stage-accent); text-decoration: underline; text-underline-offset: 2px; }
.steps-list.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 54rem) { .steps-list.three { grid-template-columns: 1fr; } }
.split2.wide-left { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
@media (max-width: 54rem) { .split2.wide-left { grid-template-columns: 1fr; } }
.split2 > * { min-width: 0; }
.prose table { display: block; overflow-x: auto; max-width: 100%; }
.doc-layout > * { min-width: 0; }
.contact-card dd { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 30rem) { .contact-card { padding: 1.25rem; } .contact-card dl { grid-template-columns: 1fr; gap: .15rem; } .contact-card dd { margin-bottom: .6rem; } }
/* Withdrawal page: the online form leads; the statutory model form sits collapsed below it. */
.prose .withdraw-form { margin-top: 1.25rem; }
.field .opt { font-weight: 400; color: var(--ink-2); }
.model-form { border: 1px solid var(--line); border-radius: var(--r-md); padding: 0 1.15rem; margin-top: 3rem; scroll-margin-top: 5rem; }
.model-form summary { cursor: pointer; font-weight: 600; padding: 1rem 0; color: var(--ink); }
.model-form[open] { padding-bottom: 1.15rem; }
.model-form > * + * { margin-top: .9rem; }
.model-text { white-space: pre-wrap; overflow-wrap: anywhere; font: 400 .95rem/1.6 var(--sans); background: #fff; border: 1px dashed var(--ink-3); border-radius: var(--r-md); padding: 1.15rem; margin: .9rem 0 0; }
.withdraw-acct { margin-top: 1rem; font-size: .9rem; color: var(--ink-2); }

/* The real extension popup (generated by extension/dev/preview/export-embed.mjs) in a toolbar
   dropdown frame: 372 px like the browser draws it, scaled down on phones, never clickable. */
.popup-shots { display: flex; flex-wrap: wrap; gap: 2rem 1.5rem; margin: 1.75rem 0 .5rem; align-items: flex-start; }
.popup-shot { margin: 0; width: 394px; max-width: 100%; }
.popup-frame { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 0 10px 10px; width: 394px; box-sizing: border-box; }
.popup-bar { display: flex; align-items: center; justify-content: space-between; gap: .75rem; height: 36px; }
.popup-url { flex: 1; font: 12px/1.6 var(--mono); color: var(--ink-2); background: var(--bg); border-radius: 6px; padding: 1px 10px; }
.popup-icon { width: 18px; height: 18px; border-radius: 5px; background: linear-gradient(var(--icon-a), var(--icon-b)); flex: none; }
.popup-drop { width: 372px; height: var(--h); background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 6px 24px rgb(0 0 0 / .14); }
.popup-drop iframe { display: block; width: 372px; height: var(--h); border: 0; }
.popup-shot figcaption { margin-top: .75rem; font-size: .92rem; color: var(--ink-2); }
@media (max-width: 440px) { .popup-frame { zoom: .8; } }
@media (max-width: 360px) { .popup-frame { zoom: .72; } }
[hidden] { display: none !important; }
