/* Brightfern Labs — "the product performs".
   Real plugin screens are the pictures, shown at true size. A green-black
   stage with bone-coloured sections for contrast; Hubot Sans for headings,
   Schibsted Grotesk for reading; one accent (fern green); one botanical
   signature (the fern spiral, drawn as a line). No scripts: every
   interaction is HTML and CSS. */

@font-face {
  font-family: "Hubot Sans";
  src: url("/assets/fonts/hubot-sans-latin-variable.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/assets/fonts/schibsted-grotesk-latin-wght.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Dark stage, from the logo's forest night */
  --bg: #07120e;
  --bg-2: #0c1a15;
  --panel: #10221b;
  --panel-2: #173029;
  --line: #1f342c;
  --line-2: #2c473d;
  --ink: #e8eee9;
  --muted: #a1b1a8;
  /* Fern green: the one accent */
  --accent: #34d075;
  --accent-hover: #5ade91;
  --accent-ink: #04170f;
  --moss: #135f37;
  --moss-hover: #0e4a2b;
  /* Bone sections */
  --bone: #eef1ea;
  --bone-2: #e2e7dd;
  --bone-ink: #0c1d17;
  --bone-muted: #44554d;
  --bone-line: #cfd7cc;
  /* WordPress admin grey behind real screenshots */
  --screen: #f0f0f1;

  --display: "Hubot Sans", "Segoe UI", system-ui, sans-serif;
  --text: "Schibsted Grotesk", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --size-display: clamp(2.5rem, 5.2vw, 5rem);
  --size-heading: clamp(1.875rem, 3.3vw, 3rem);
  --size-statement: clamp(1.5rem, 2.2vw, 2rem);
  --size-title: 1.25rem;
  --size-lead: clamp(1.125rem, 1.04rem + 0.35vw, 1.3125rem);
  --size-body: 1.0625rem;
  --size-small: 0.875rem;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;

  --gutter: clamp(20px, 4.4vw, 64px);
  --section: clamp(96px, 11vw, 168px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-press: cubic-bezier(.23, 1, .32, 1);
  --lift: 0 40px 80px -32px rgba(0, 0, 0, .7), 0 12px 24px -12px rgba(0, 0, 0, .5);

  color-scheme: dark;
  font-family: var(--text);
  font-size: 16px;
  accent-color: var(--accent);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; color: var(--ink); background: var(--bg); font-size: var(--size-body); line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
img { display: block; max-width: 100%; height: auto; }
p { margin: 0 0 1rem; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 640; font-stretch: 108%; letter-spacing: -0.03em; word-spacing: .04em; line-height: 1.02; text-wrap: balance; overflow-wrap: break-word; }
h3, h4 { font-size: var(--size-title); font-stretch: 104%; letter-spacing: -0.012em; line-height: 1.25; font-weight: 620; }
ul, ol { margin: 0; padding: 0; }
p, li, dd, figcaption { text-wrap: pretty; }
strong { font-weight: 640; }
em { font-style: normal; font-weight: 560; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.wrap { width: min(1280px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 30; transform: translateY(-160%); padding: 12px 16px; border-radius: var(--radius); background: var(--accent); color: var(--accent-ink); font-weight: 640; }
.skip-link:focus { transform: none; }
.lead { font-size: var(--size-lead); line-height: 1.5; color: var(--muted); max-width: 40rem; }
.small { font-size: var(--size-small); line-height: 1.5; }
.muted { color: var(--muted); }
.sr-input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Navigation: a solid bar that stays with you */
.nav { position: sticky; top: 0; z-index: 20; background: var(--bg); }
.nav-in { position: relative; display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; text-decoration: none; font-family: var(--display); font-weight: 680; font-stretch: 106%; letter-spacing: -0.02em; font-size: 1.0625rem; }
.brand img { width: 30px; height: 30px; }
.brand-labs { color: var(--muted); font-weight: 480; }
.nav-links { display: flex; gap: 4px; }
.nav-links a, .lang { padding: 8px 12px; border-radius: var(--radius-sm); font-size: var(--size-small); color: var(--muted); text-decoration: none; transition: color 160ms ease, background-color 160ms ease; }
.nav-links a[aria-current="page"] { color: var(--ink); }
.lang { font-weight: 640; color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .nav-links a:hover, .lang:hover { color: var(--ink); background: var(--panel); } }
.menu { display: none; }

/* Buttons: one shape */
.btn { --b-bg: var(--accent); --b-ink: var(--accent-ink); --b-hover: var(--accent-hover); --b-line: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: 12px 20px; border-radius: var(--radius); background: var(--b-bg); color: var(--b-ink); box-shadow: 0 0 0 1px var(--b-line) inset; font-weight: 640; font-size: 0.9375rem; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: background-color 180ms ease, box-shadow 180ms ease, transform 160ms var(--ease-press); }
.btn:active { transform: scale(.97); }
.btn-ghost { --b-bg: transparent; --b-ink: var(--ink); --b-hover: var(--panel); --b-line: var(--line-2); }
.btn-moss { --b-bg: var(--moss); --b-ink: #fff; --b-hover: var(--moss-hover); }
.btn-bone { --b-bg: transparent; --b-ink: var(--bone-ink); --b-hover: var(--bone-2); --b-line: var(--bone-line); }
.btn-sm { min-height: 40px; padding: 9px 14px; font-size: var(--size-small); }
.btn .arrow { flex: none; transition: transform 220ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--b-hover); }
  .btn:hover .arrow { transform: translateX(3px); }
  .btn:hover .arrow-out { transform: translate(2px, -2px); }
  .btn:hover .arrow-down { transform: translateY(2px); }
}
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

/* Hero: the headline across the top, then the product at true size */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 104px) clamp(72px, 8vw, 120px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); grid-template-areas: "crumbs crumbs" "title aside" "stage stage" "caption caption"; column-gap: clamp(32px, 4vw, 64px); align-items: end; }
.hero h1 { grid-area: title; font-size: var(--size-display); line-height: .96; letter-spacing: -0.035em; word-spacing: .06em; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero h1 .line > span { display: block; }
.hero-aside { grid-area: aside; padding-bottom: 6px; }
.hero-aside .lead { font-size: 1.0625rem; margin-bottom: 0; }
.crumbs { grid-area: crumbs; margin: 0 0 28px; font-size: var(--size-small); color: var(--muted); }
.crumbs a { color: var(--muted); }
.trust { display: grid; gap: 6px; margin: 24px 0 0; list-style: none; font-size: var(--size-small); color: var(--muted); }
.trust li { display: flex; align-items: center; gap: 10px; }
.trust li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }

.stage { grid-area: stage; position: relative; margin-top: clamp(48px, 6vw, 80px); }
.stage-caption { grid-area: caption; margin: 18px 0 0; font-size: var(--size-small); color: var(--muted); max-width: 30rem; }
.spiral { position: absolute; right: -10%; top: -46%; width: 52%; max-width: 680px; height: auto; color: var(--accent); opacity: .32; pointer-events: none; z-index: 0; }
.spiral path { fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.stage-bar { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.switch { display: inline-flex; gap: 4px; padding: 4px; border-radius: 14px; background: var(--panel); box-shadow: 0 0 0 1px var(--line) inset; }
.switch label { cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; border-radius: var(--radius); color: var(--muted); font-size: var(--size-small); font-weight: 600; transition: background-color 200ms ease, color 200ms ease, transform 160ms var(--ease-press); user-select: none; -webkit-tap-highlight-color: transparent; }
.switch label img { width: 20px; height: 20px; border-radius: 5px; }
.switch label:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .switch label:hover { color: var(--ink); } }
#show-ei:checked ~ .stage-bar [for="show-ei"], #show-pk:checked ~ .stage-bar [for="show-pk"] { background: var(--bg-2); color: var(--ink); box-shadow: 0 0 0 1px var(--line-2) inset; }
#show-ei:focus-visible ~ .stage-bar [for="show-ei"], #show-pk:focus-visible ~ .stage-bar [for="show-pk"] { outline: 2px solid var(--accent); outline-offset: 2px; }
.stage-note { font-size: var(--size-small); color: var(--muted); }

.frame { position: relative; z-index: 1; display: grid; height: clamp(420px, 46vw, 640px); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-2); box-shadow: 0 0 0 1px var(--line-2) inset, var(--lift); }
.screen { grid-area: 1 / 1; display: flex; overflow: auto hidden; direction: rtl; scrollbar-width: thin; scrollbar-color: #b9c2bc transparent; overscroll-behavior-x: contain; transition: opacity 320ms ease, transform 480ms var(--ease-out), visibility 0s linear 320ms; }
.screen > * { direction: ltr; flex: none; }
.screen-top { align-items: flex-start; background: var(--screen); }
.screen-bottom { align-items: flex-end; background: var(--screen); }
.screen-center { direction: ltr; justify-content: safe center; }
.frame-fit { height: auto; max-height: 640px; }
.only-narrow { display: none; }
.screen img { max-width: none; }
.w-1280 { width: 1280px; }
#show-ei:checked ~ .frame .screen-pk, #show-pk:checked ~ .frame .screen-ei { opacity: 0; visibility: hidden; transform: translateY(14px); }
#show-ei:checked ~ .frame .screen-ei, #show-pk:checked ~ .frame .screen-pk { transition-delay: 0s; }
.stage-caption.cap-pk { display: none; }
#show-pk:checked ~ .cap-ei { display: none; }
#show-pk:checked ~ .cap-pk { display: block; }

/* A composed stage: the PDF invoice with the real panel on top */
.compose { position: relative; width: 100%; min-width: 720px; height: 100%; background: var(--bg-2); direction: ltr; }
.compose .sheet { position: absolute; left: 6%; top: 8%; width: min(62%, 720px); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--lift); }
.compose .panel-shot { position: absolute; right: 8%; top: 12%; width: 279px; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--lift); }
.compose figure { margin: 0; }
.compose .sheet img { width: 100%; max-width: 100%; }
.compose .panel-shot img { width: 279px; }

/* Bands */
.band { padding-block: var(--section); }
.band-2 { background: var(--bg-2); }
.bone { background: var(--bone); color: var(--bone-ink); color-scheme: light; }
.bone .lead, .bone .muted { color: var(--bone-muted); }
.bone :focus-visible { outline-color: var(--moss); }
.bone ::selection { background: var(--moss); color: #fff; }

.head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.head h2 { font-size: var(--size-heading); max-width: 16em; }
.head p { margin: 0; }
.head-stack { grid-template-columns: minmax(0, 1fr); max-width: 52rem; }
.head-stack .lead { margin-top: 4px; }
.lockup { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; font-family: var(--display); font-weight: 660; font-stretch: 104%; letter-spacing: -0.015em; font-size: 1.0625rem; }
.lockup img { width: 36px; height: 36px; border-radius: var(--radius); flex: none; }

/* Rows: a statement beside a real screen; the text travels with tall screens */
.rows { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(72px, 9vw, 128px); }
.row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.row-flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.row-flip .row-text { order: 2; }
.row-narrow { grid-template-columns: max-content minmax(0, 34rem); justify-content: start; }
.row-text { position: sticky; top: 112px; }
.row-text h3 { font-size: var(--size-statement); font-stretch: 106%; letter-spacing: -0.025em; line-height: 1.1; margin-bottom: 16px; font-weight: 640; }
.row-text p { color: var(--muted); max-width: 30rem; }
.bone .row-text p { color: var(--bone-muted); }
.row-stack { display: grid; gap: 32px; }
.row-stack .row-text { position: static; max-width: 40rem; }

/* Real screenshots: true size, own grey ground, one lift */
.fragment { margin: 0; min-width: 0; }
.shot { overflow: auto hidden; width: fit-content; max-width: 100%; border-radius: var(--radius-lg); background: var(--screen); box-shadow: 0 0 0 1px var(--line) inset, var(--lift); scrollbar-width: thin; scrollbar-color: #b9c2bc transparent; overscroll-behavior-x: contain; }
.bone .shot { box-shadow: 0 0 0 1px var(--bone-line) inset, 0 24px 48px -28px rgba(12, 29, 23, .35); }
.shot img { max-width: none; }
.shot-pad { padding: 20px 0 0 24px; }
.shot-pad-all { padding: 16px; }
/* wide screens whose point sits on the right (the order panel) open scrolled to that edge */
.shot-end { direction: rtl; }
.fragment figcaption { margin-top: 14px; font-size: var(--size-small); color: var(--muted); max-width: 30rem; }
.bone .fragment figcaption { color: var(--bone-muted); }
.w-1076 { width: 1076px; } .w-1101 { width: 1101px; } .w-600 { width: 600px; } .w-580 { width: 580px; }
.w-520 { width: 520px; } .w-279 { width: 279px; } .w-625 { width: 625px; } .w-1282 { width: 1282px; } .w-1284 { width: 1284px; } .w-1070 { width: 1070px; } .w-278 { width: 278px; } .w-232 { width: 232px; }

/* Country picker: the format your customer's country asks for */
.picker { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.picker legend { grid-column: 1 / -1; float: left; width: 100%; padding: 0; margin-bottom: 14px; font-weight: 620; }
.picker input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.picker label { cursor: pointer; display: flex; flex-direction: column; gap: 2px; padding: 14px 14px 12px; border-radius: var(--radius); background: var(--panel); box-shadow: 0 0 0 1px var(--line) inset; transition: background-color 200ms ease, box-shadow 200ms ease, transform 160ms var(--ease-press); user-select: none; -webkit-tap-highlight-color: transparent; }
.picker label b { font-family: var(--display); font-size: 1.375rem; font-weight: 680; font-stretch: 110%; letter-spacing: -0.02em; line-height: 1.1; }
.picker label span { font-size: var(--size-small); color: var(--muted); }
.picker label:active { transform: scale(.97); }
.picker input:checked + label { background: var(--panel-2); box-shadow: 0 0 0 1px var(--accent) inset; }
.picker input:checked + label b { color: var(--accent); }
.picker input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .picker input:not(:checked) + label:hover { box-shadow: 0 0 0 1px var(--line-2) inset; } }
.picker-panels { grid-column: 1 / -1; display: grid; margin-top: 12px; }
.picker-panel { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 40px; align-content: center; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg); background: var(--panel); box-shadow: 0 0 0 1px var(--line) inset; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 260ms var(--ease-out), transform 360ms var(--ease-out), visibility 0s linear 260ms; }
.picker-panel h4 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-stretch: 108%; letter-spacing: -0.025em; color: var(--accent); margin-bottom: 8px; line-height: 1.1; }
.picker-panel p { margin: 0; color: var(--muted); }
.picker-panel ul { list-style: none; display: grid; gap: 10px; align-content: start; }
.picker-panel li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.tier { display: inline-block; font-size: 0.8125rem; font-weight: 640; color: var(--accent); }
.tier-pro { color: var(--ink); }
#land-be:checked ~ .picker-panels .for-be,
#land-nl:checked ~ .picker-panels .for-nl,
#land-de:checked ~ .picker-panels .for-de,
#land-fr:checked ~ .picker-panels .for-fr,
#land-pl:checked ~ .picker-panels .for-pl,
#country-be:checked ~ .picker-panels .for-be,
#country-nl:checked ~ .picker-panels .for-nl,
#country-de:checked ~ .picker-panels .for-de,
#country-fr:checked ~ .picker-panels .for-fr,
#country-pl:checked ~ .picker-panels .for-pl { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

/* Free and Pro, side by side as a real table */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; }
.compare th, .compare td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { font-size: var(--size-small); color: var(--muted); font-weight: 500; border-bottom-color: var(--line-2); }
.compare thead th strong { display: block; font-family: var(--display); font-size: 1.625rem; color: var(--ink); font-stretch: 108%; letter-spacing: -0.02em; font-weight: 660; margin-bottom: 4px; }
.compare td { width: 24%; }
.compare tbody th { font-weight: 480; color: var(--ink); }
.compare .yes { color: var(--accent); font-weight: 640; }
.compare .no { color: var(--muted); }
.compare .col-pro { background: var(--panel); }
.compare thead .col-pro { border-top-left-radius: var(--radius); border-top-right-radius: var(--radius); }
.compare tfoot td, .compare tfoot th { border-bottom: 0; padding-top: 22px; }
.compare tfoot .col-pro { border-bottom-left-radius: var(--radius); border-bottom-right-radius: var(--radius); }
.price-note { margin-top: 24px; max-width: 34rem; }

/* Walkthrough: three steps change one framed stage */
.walk { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 24px 12px; align-items: stretch; }
.walk > input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.walk > label { grid-row: 1; cursor: pointer; display: block; padding: 18px 20px; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--bone-line) inset; transition: background-color 220ms ease, box-shadow 220ms ease, transform 160ms var(--ease-press); -webkit-tap-highlight-color: transparent; }
.walk > label b { display: block; font-family: var(--display); font-size: 1.125rem; font-weight: 660; font-stretch: 106%; letter-spacing: -0.015em; margin-bottom: 4px; }
.walk > label span { display: block; color: var(--bone-muted); line-height: 1.5; }
.walk > label:active { transform: scale(.985); }
.walk > input:checked + label { background: #fff; box-shadow: 0 0 0 1px var(--moss) inset, 0 18px 36px -24px rgba(12, 29, 23, .4); }
.walk > input:focus-visible + label { outline: 2px solid var(--moss); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .walk > input:not(:checked) + label:hover { background: var(--bone-2); } }
.walk-stage { display: grid; min-width: 0; grid-column: 1 / -1; grid-row: 2; }
.walk-screen { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 320ms var(--ease-out), transform 420ms var(--ease-out), visibility 0s linear 320ms; }
.walk-screen .shot { width: 100%; height: 640px; overflow: auto hidden; display: flex; justify-content: safe center; }
.walk-screen .shot img { height: auto; align-self: flex-start; }
.walk-screen .shot .w-278 { width: 278px; margin-inline: auto; }
.walk-desc { display: none; margin: 0 0 14px; color: var(--bone-muted); }
#step-1:checked ~ .walk-stage .screen-1, #step-2:checked ~ .walk-stage .screen-2, #step-3:checked ~ .walk-stage .screen-3,
#stap-1:checked ~ .walk-stage .screen-1, #stap-2:checked ~ .walk-stage .screen-2, #stap-3:checked ~ .walk-stage .screen-3 { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.shots-note { margin: 24px 0 0; }

/* Statements: three principles, set as type */
.statements { list-style: none; display: grid; }
.statements li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px 64px; padding-block: clamp(28px, 3.4vw, 44px); border-top: 1px solid var(--line); }
.statements li:last-child { border-bottom: 1px solid var(--line); }
.statements h3 { font-size: var(--size-statement); font-stretch: 106%; letter-spacing: -0.025em; line-height: 1.1; }
.statements p { margin: 0; color: var(--muted); font-size: 1.125rem; max-width: 38rem; }

/* About: a short letter from Kortgene */
.letter { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.letter h2 { font-size: var(--size-heading); }
.letter-body p { font-size: 1.1875rem; line-height: 1.6; max-width: 38rem; }
.letter-body p:first-child { font-family: var(--display); font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.3; font-stretch: 104%; letter-spacing: -0.015em; font-weight: 560; }
.map { margin: clamp(28px, 3vw, 40px) 0 0; }
.map img { width: 100%; height: auto; mix-blend-mode: multiply; }
.map figcaption { margin-top: 10px; font-size: var(--size-small); color: var(--bone-muted); }
.footer-credits { margin: 28px 0 0; font-size: var(--size-small); color: var(--muted); max-width: 46rem; }

/* Install: both plugins, one step away */
.install { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.install-card { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3.4vw, 44px); border-radius: var(--radius-lg); background: var(--panel); box-shadow: 0 0 0 1px var(--line) inset; transition: box-shadow 260ms ease, transform 260ms var(--ease-out); }
.install-card .lockup { margin: 0; }
.install-card p { margin: 0; color: var(--muted); }
.install-card .actions { margin-top: auto; padding-top: 10px; }
@media (hover: hover) and (pointer: fine) { .install-card:hover { box-shadow: 0 0 0 1px var(--line-2) inset; transform: translateY(-3px); } }
.contact-line { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px 64px; align-items: end; }
.install + .contact-line { margin-top: clamp(64px, 8vw, 112px); }
.contact-line h2 { font-size: var(--size-heading); margin-bottom: 16px; }
.mail { font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 600; font-stretch: 104%; letter-spacing: -0.025em; color: var(--accent); overflow-wrap: anywhere; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: .3em; transition: text-decoration-color 200ms ease, text-underline-offset 280ms var(--ease-out); }
.mail:hover, .mail:focus-visible { text-decoration-color: currentColor; text-underline-offset: .18em; }
.contact-line p { margin: 0; color: var(--muted); }
.contact-line p + p { margin-top: 12px; }

/* Footer: the spiral, signed, then the legal details */
.footer { padding-block: 72px 40px; background: var(--bg); color: var(--muted); font-size: var(--size-small); overflow: hidden; }
.footer-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding-bottom: 48px; }
.footer-word { margin: 0; font-family: var(--display); font-size: clamp(2.5rem, 7vw, 6rem); font-weight: 680; font-stretch: 110%; letter-spacing: -0.045em; line-height: .9; color: var(--ink); }
.footer-word span { color: var(--muted); font-weight: 400; }
.footer-spiral { width: clamp(120px, 16vw, 220px); height: auto; color: var(--accent); flex: none; }
.footer-spiral path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); gap: 32px 48px; padding-top: 40px; border-top: 1px solid var(--line); }
.footer p { margin: 0 0 6px; }
.footer address { font-style: normal; line-height: 1.75; }
.footer ul { list-style: none; line-height: 2.1; }
.footer a { color: var(--ink); }

/* Product pages */
.features { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 64px; }
.features li { position: relative; padding-left: 28px; }
.features li::before { content: ""; position: absolute; left: 0; top: .45em; width: 10px; height: 10px; border-radius: 50%; background: var(--moss); }
.features h3 { margin-bottom: 8px; }
.features p { margin: 0; color: var(--bone-muted); }
.checks { list-style: none; columns: 2; column-gap: 40px; }
.checks li { break-inside: avoid; position: relative; padding: 10px 0 10px 26px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 1.15em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.table-wrap { overflow-x: auto; }
.countries { width: 100%; max-width: 54rem; border-collapse: collapse; }
.countries th, .countries td { padding: 20px 18px 20px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.countries thead th { font-size: var(--size-small); color: var(--muted); font-weight: 500; padding-top: 0; }
.countries tbody th { width: 32%; font-family: var(--display); font-size: var(--size-title); font-weight: 620; font-stretch: 104%; letter-spacing: -0.012em; }
.countries td { color: var(--muted); }
.countries .later th { color: var(--accent); }
.country-shot { margin-top: clamp(40px, 5vw, 64px); }
.spec { margin: 0; display: grid; }
.spec div { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--bone-line); }
.spec dt { font-weight: 620; }
.spec dd { margin: 0; color: var(--bone-muted); }
.limits { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.note { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg); background: var(--panel); box-shadow: 0 0 0 1px var(--line) inset; }
.note h3 { color: var(--accent); margin-bottom: 12px; }
.note p { color: var(--muted); }
.note p:last-child { margin-bottom: 0; }
.bone .note { background: var(--bone-ink); color: var(--ink); box-shadow: none; }
.bone .note p { color: var(--muted); }
.split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.split .h2 { font-size: var(--size-heading); margin-bottom: 24px; }
.split .lead { margin-bottom: 24px; }
.split p:not(.lead) { color: var(--muted); max-width: 36rem; }

/* Legal text and 404 */
.prose { max-width: 40rem; padding-block: clamp(48px, 6vw, 96px) var(--section); }
.prose h1 { font-size: clamp(2.25rem, 4vw, 3.5rem); margin-bottom: 1.5rem; }
.prose h2 { font-size: 1.5rem; margin: 2.75rem 0 .75rem; }
.prose p, .prose li, .prose address { color: var(--bone-muted); }
.prose ul { padding-left: 1.2rem; margin-bottom: 1rem; }
.prose li { margin-bottom: .5rem; }
.prose address { font-style: normal; margin-bottom: 1rem; }
.prose a { color: var(--bone-ink); }
.not-found { position: relative; min-height: 64svh; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: center; padding-block: 64px; }
.not-found h1 { font-size: var(--size-display); margin-bottom: 16px; }
.not-found .footer-spiral { width: min(100%, 360px); justify-self: end; }

/* Motion: content is visible without it; it only adds travel when supported and wanted */
@media (prefers-reduced-motion: no-preference) {
  @keyframes line-up { from { transform: translateY(105%); } }
  @keyframes rise { from { opacity: 0; transform: translateY(20px); } }
  @keyframes stage-in { from { opacity: 0; transform: translateY(40px) scale(.985); } }
  @keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

  .hero h1 .line > span { animation: line-up 900ms var(--ease-out) both; }
  .hero h1 .line:nth-child(2) > span { animation-delay: 110ms; }
  .hero-aside, .crumbs { animation: rise 800ms var(--ease-out) 260ms both; }
  .hero .stage-bar { animation: rise 700ms var(--ease-out) 380ms both; }
  .hero .frame { animation: stage-in 1100ms var(--ease-out) 420ms both; }
  .spiral path, .not-found .footer-spiral path { stroke-dasharray: 1; stroke-dashoffset: 0; animation: draw 2600ms var(--ease-out) 300ms both; }

  @supports (animation-timeline: view()) {
    .head h2, .head p, .lockup, .row-text > *, .fragment, .picker, .compare, .walk > label, .walk-stage, .statements li,
    .letter-body > *, .map, .install-card, .contact-line > *, .features li, .countries tr, .spec, .note, .checks, .split > *, .footer-spiral {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 60%;
    }
    .footer-spiral path { stroke-dasharray: 1; animation: draw linear both; animation-timeline: view(); animation-range: entry 10% cover 50%; }
    .head p, .row-text > :nth-child(2), .install-card:nth-child(2), .features li:nth-child(2n), .note { animation-range: entry 6% entry 66%; }
  }
}

/* Mobile menu (details), shown from 1080px down */
.menu summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line-2) inset; font-size: var(--size-small); font-weight: 620; -webkit-tap-highlight-color: transparent; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--panel); }
.menu:not([open]) nav { display: none; }
.menu nav { position: absolute; left: 0; right: 0; top: 64px; z-index: 25; display: grid; padding: 10px; border-radius: var(--radius-lg); background: var(--panel); box-shadow: 0 0 0 1px var(--line-2) inset, 0 24px 48px -16px rgba(0, 0, 0, .7); transform-origin: top right; }
.menu nav a { display: block; padding: 14px; border-radius: var(--radius); text-decoration: none; font-family: var(--display); font-size: 1.25rem; font-weight: 600; font-stretch: 106%; letter-spacing: -0.02em; }
.menu nav a:active { background: var(--panel-2); }
@media (prefers-reduced-motion: no-preference) {
  .menu nav { transition: opacity 200ms var(--ease-out), transform 260ms var(--ease-out); }
  @starting-style { .menu[open] nav { opacity: 0; transform: translateY(-6px) scale(.98); } }
}

@media (max-width: 1080px) {
  .nav-links { display: none; }
  .menu { display: block; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "crumbs" "title" "aside" "stage" "caption"; }
  .stage { margin-top: 32px; }
  .hero-aside { margin: 24px 0 36px; }
  .frame { height: 560px; }
  .compose .panel-shot { top: 24px; }
  .head, .row, .row-flip, .letter, .contact-line, .limits, .split, .statements li, .not-found { grid-template-columns: minmax(0, 1fr); }
  .head { align-items: start; }
  .row-flip .row-text { order: 0; }
  .row-text { position: static; }
  .walk { column-gap: 8px; row-gap: 20px; }
  .walk > label { padding: 14px 8px; text-align: center; }
  .walk > label span { display: none; }
  .walk-desc { display: block; }
  .walk-screen .shot { height: 420px; overflow: auto hidden; }
  .walk-screen .shot img:not(.w-278) { width: 760px; }
  .picker label { padding: 12px 8px; text-align: center; }
  .picker label b { font-size: 1.125rem; }
  .picker label span { font-size: 0.8125rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .picker-panel { grid-template-columns: minmax(0, 1fr); }
  .features { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 600px) {
  :root { --size-body: 1rem; }
  .nav-in { gap: 10px; min-height: 64px; }
  .nav-cta { display: none; }
  .hero { padding-top: 32px; }
  .hero h1 { font-size: clamp(2rem, 8vw, 2.75rem); }
  .actions .btn { flex: 1 1 auto; }
  .frame { height: 580px; }
  .only-wide { display: none; }
  .only-narrow { display: block; }
  .frame-fit .w-278 { margin: 20px auto; }
  .trust { display: none; }
  .compose { min-width: 0; }
  .compose .sheet { left: 16px; top: 16px; width: calc(100% - 32px); }
  .compose .panel-shot { right: 12px; top: 150px; width: 240px; }
  .compose .panel-shot img { width: 240px; }
  .picker { gap: 6px; }
  .picker label span { display: none; }
  .install { grid-template-columns: minmax(0, 1fr); }
  .checks { columns: 1; }
  .spec div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-top { align-items: center; }
  .shot-pad { padding: 14px 0 0 14px; }
  /* Free and Pro as two stacked plans on a phone */
  .compare, .compare thead, .compare tbody, .compare tfoot, .compare tr { display: block; }
  .compare thead tr, .compare tfoot tr { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .compare thead th:first-child, .compare tfoot th { display: none; }
  .compare thead th, .compare tfoot td { border: 0; border-radius: var(--radius); padding: 14px; }
  .compare thead th:not(.col-pro) { background: var(--bg); box-shadow: 0 0 0 1px var(--line) inset; }
  .compare tbody tr { display: grid; grid-template-columns: 1fr 1fr; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .compare tbody th { grid-column: 1 / -1; padding: 0 0 6px; border: 0; }
  .compare tbody td, .compare tbody .col-pro { width: auto; padding: 0; border: 0; background: none; }
  .compare tbody td::before { content: attr(data-label) ": "; color: var(--muted); }
  .compare tfoot tr { grid-template-columns: minmax(0, 1fr); }
  .walk > label { padding: 14px 6px; }
  .walk > label b { font-size: 1rem; font-stretch: 100%; }
  .compare tfoot td { width: auto; padding: 12px 0 0; background: none; }
  .compare tfoot .btn { width: 100%; white-space: normal; text-align: center; }
  .countries thead { display: none; }
  .countries tr { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .countries th, .countries td { display: block; width: auto; padding: 0; border: 0; }
  .countries tbody th { margin-bottom: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
