/* PanelCraft site. Direction: "The product performs" (greys and mint, League Spartan + Figtree). */
@font-face { font-family: 'Figtree'; font-weight: 400 600; font-style: normal; font-display: swap; src: url(fonts/figtree-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215; }
@font-face { font-family: 'Figtree'; font-weight: 400 600; font-style: normal; font-display: swap; src: url(fonts/figtree-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113; }
@font-face { font-family: 'League Spartan'; font-weight: 700; font-style: normal; font-display: swap; src: url(fonts/spartan-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215; }
@font-face { font-family: 'League Spartan'; font-weight: 700; font-style: normal; font-display: swap; src: url(fonts/spartan-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113; }

:root {
  --bg: #ffffff;
  --surface: #f3f3f3;
  --ink: #232323;
  --muted: #6e6e6e;
  --accent: #a1ffcb;
  --accent-ink: #232323;
  --soft-on-dark: #cfcfcf;
  --ui-bg: #191c23;
  --ui-panel: #222731;
  --ui-ink: #e8eaee;
  --ui-muted: #9aa3b2;
  --ui-blue: #6ea8fe;

  --m: clamp(20px, 2.2vw, 32px);
  --axis: var(--m);
  --gap-section: clamp(88px, 12vw, 176px);
  --r: 4px;

  --step-small: 14px;
  --step-body: 18px;
  --step-lead: clamp(22px, 2vw, 28px);
  --step-head: clamp(32px, 3.6vw, 52px);
  --step-display: clamp(44px, 5.2vw, 92px);
  --step-fig: clamp(80px, 7.5vw, 124px);

  --font-display: 'League Spartan', 'Arial Narrow', system-ui, sans-serif;
  --font-text: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--step-body)/1.5 var(--font-text); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, p, ol, ul, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--ink); }

.skip { position: absolute; left: var(--m); top: -80px; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: var(--r); z-index: 10; }
.skip:focus { top: 12px; }

h1, h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.04em; line-height: 0.95; text-wrap: balance; }
h2 { font-size: var(--step-head); }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease) calc(var(--d, 0) * 80ms), transform .7s var(--ease) calc(var(--d, 0) * 80ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- header ---------- */
.top { position: absolute; z-index: 5; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 28px var(--m) 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; font: 700 18px/1 var(--font-display); letter-spacing: -0.03em; text-decoration: none; }
.mark { color: currentColor; }
.top-nav { display: flex; align-items: center; gap: 24px; font-size: var(--step-small); }
.top-nav a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.top-nav .top-cta { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.top-nav .top-cta:hover { background: var(--accent); color: var(--ink); }
.langs { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.langs a { min-width: 32px; justify-content: center; padding: 0 4px; font-weight: 600; opacity: .8; }
.langs a:hover { opacity: 1; }
.langs a[aria-current=page] { opacity: 1; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.top-nav .langs a { text-decoration: none; }
.top-nav .langs a[aria-current=page] { text-decoration: underline; }
.foot-lang { grid-column: 1 / -1; }
.foot-lang .langs { gap: 8px; }
.foot-lang .langs a { color: var(--ink); text-decoration: none; opacity: .65; min-width: 36px; }
.foot-lang .langs a[aria-current=page] { opacity: 1; }
.plain .top { color: var(--ink); }
.home .top { color: #fff; }
@media (min-width: 1101px) { .home .brand { color: var(--ink); } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; background: var(--ink); color: #fff; border-radius: var(--r); text-decoration: none; font-weight: 600; transition: transform .2s var(--ease), background-color .2s; }
.btn:hover { background: #3a3a3a; }
.btn:active { transform: translateY(1px) scale(.985); }
.btn-ink { background: var(--ink); }
.textlink { text-underline-offset: 4px; text-decoration-thickness: 2px; font-weight: 600; transition: background-color .2s; }
.textlink:hover { background: var(--accent); }

/* ---------- hero: a poster, text left, the product right ---------- */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 44fr) minmax(0, 56fr); min-height: 100svh; }
.hero-col { grid-column: 1; align-self: center; padding: 120px 48px 72px var(--m); }
.hero h1 { font-size: var(--step-display); line-height: .92; letter-spacing: -0.045em; text-wrap: balance; }
.nw { white-space: nowrap; }
html[lang=bs] .hero h1 { font-size: clamp(40px, 4.3vw, 76px); }
.lead { font-size: var(--step-body); line-height: 1.5; color: var(--ink); max-width: 34em; }
.hero .lead { margin-top: 28px; max-width: 30em; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 32px; }

.hero-pic { grid-column: 2; position: relative; min-height: 100svh; overflow: hidden; background: #1c212b; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.slide.is-on { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.js .slide img { animation: drift 12s ease-out both; }
@keyframes drift { from { transform: scale(1.03); } to { transform: scale(1); } }

/* ---------- demo ---------- */
.demo { padding: var(--gap-section) var(--m); }
.demo h2 { max-width: 14em; margin-bottom: 32px; }
.panel { background: var(--ui-bg); color: var(--ui-ink); border-radius: var(--r); padding: 20px 24px 28px; }
.panel-head { display: flex; justify-content: space-between; color: var(--ui-muted); font-size: var(--step-small); margin-bottom: 20px; }
.panel-body { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 36px; align-items: start; }
.ctl-l { display: block; font-size: var(--step-small); color: var(--ui-muted); margin-bottom: 8px; }
.ctl-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.ctl-row output { font-variant-numeric: tabular-nums; font-weight: 600; min-width: 5.2em; text-align: right; }
.ctl-s { margin-top: 12px; font-size: var(--step-small); color: var(--ui-muted); display: flex; gap: 8px; }
.ctl-s b { color: var(--ui-ink); font-weight: 600; }
input[type=range] { width: 100%; height: 44px; margin: 0; accent-color: var(--accent); background: transparent; cursor: pointer; }
.fig { margin-top: 48px; display: flex; align-items: baseline; gap: 12px; font-family: var(--font-display); font-weight: 700; line-height: .8; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; color: var(--accent); }
.fig #fig { font-size: var(--step-fig); }
.fig-u { font-size: calc(var(--step-fig) * .22); letter-spacing: -0.02em; color: var(--ui-ink); }
.fig-s { margin-top: 20px; font-size: var(--step-small); color: var(--ui-muted); line-height: 1.5; }
.sheets { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 20px 16px; }
.panel-head + .panel-body .sheets { align-content: start; }
.sheets figure svg { width: 100%; height: auto; border-radius: 2px; }
.sheets figcaption { margin-top: 8px; font-size: var(--step-small); color: var(--ui-muted); }
.nojs img { width: 100%; height: auto; }
.nojs figcaption { margin-top: 10px; font-size: var(--step-small); color: var(--ui-muted); }
.note { margin-top: 20px; max-width: 62ch; font-size: var(--step-small); color: var(--muted); }

/* ---------- features: sentences with switches ---------- */
.features { padding-bottom: clamp(56px, 7vw, 96px); }
.features h2 { padding: 0 var(--m); margin-bottom: 40px; }
.bands { display: block; }
.band { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 24px; min-height: max(20svh, 156px); padding: 24px var(--m); background: var(--bg); transition: background-color .5s var(--ease); }
.band-s { grid-column: 1; grid-row: 1; font: 400 var(--step-lead)/1.15 var(--font-text); letter-spacing: -0.01em; color: var(--muted); transition: color .4s; max-width: 28em; }
.band-d { grid-column: 1; grid-row: 2; font-size: var(--step-body); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s, margin .4s; max-width: 40em; }
.band .sw { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.band[data-on=true] .band-s { color: inherit; }
.band[data-on=true] .band-d { max-height: 10em; opacity: 1; margin-top: 10px; }
.band[data-on=true].band-mint { background: var(--accent); color: var(--ink); }
.band[data-on=true].band-ink { background: var(--ink); color: #fff; }
.band[data-on=true].band-grey { background: var(--surface); color: var(--ink); }
.sw { position: relative; width: 72px; height: 48px; background: transparent; border: 0; padding: 0; cursor: pointer; }
.sw::before { content: ''; position: absolute; left: 6px; top: 8px; width: 60px; height: 32px; border-radius: 16px; background: #cfcfcf; transition: background-color .25s; }
.sw-knob { position: absolute; left: 10px; top: 12px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); }
.sw[aria-checked=true]::before { background: var(--ink); }
.band-ink .sw[aria-checked=true]::before { background: var(--accent); }
.sw[aria-checked=true] .sw-knob { transform: translateX(28px); }
.band-ink .sw[aria-checked=true] .sw-knob { background: var(--ink); }
.band-ink[data-on=true] :focus-visible { outline-color: #fff; }

/* ---------- decor: the live picker ---------- */
.decor { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding: 0 var(--m) var(--gap-section); align-items: start; }
.decor-text { grid-column: 1 / span 5; }
.decor-text h2 { margin-bottom: 24px; }
.picker { border: 0; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.picker legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.sw-decor { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px 0 10px; background: var(--surface); border: 0; border-radius: var(--r); cursor: pointer; font-weight: 600; transition: background-color .2s, transform .15s; }
.sw-decor .chip { width: 28px; height: 28px; border-radius: var(--r); }
.sw-decor:hover { background: #e6e6e6; }
.sw-decor:active { transform: scale(.97); }
.sw-decor[aria-pressed=true] { background: var(--ink); color: #fff; }
.picker { display: none; }
.js .picker { display: flex; }
.decor-a { grid-column: 7 / span 6; position: relative; aspect-ratio: 1; }
.decor-a .dc { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); opacity: 0; transition: opacity .6s var(--ease); }
.decor-a .dc.is-on { opacity: 1; }
.decor-b { margin-top: 48px; width: min(100%, 300px); }
.decor-b img { width: 100%; height: auto; border-radius: var(--r); }

/* ---------- showcase: names on the left, the real panel on the right ---------- */
.show { background: var(--ink); color: #fff; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding: 72px var(--m); align-items: start; }
.show-side { grid-column: 1 / span 4; display: flex; flex-direction: column; }
.show h2 { margin-bottom: 40px; }
.show-tabs { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.st { background: none; border: 0; padding: 4px 0; min-height: 44px; cursor: pointer; text-align: left; font: 400 var(--step-lead)/1.15 var(--font-text); letter-spacing: -0.01em; color: var(--soft-on-dark); transition: color .25s, padding .25s var(--ease); position: relative; }
.st:hover { color: #fff; }
.st[aria-selected=true] { color: #fff; padding-left: 22px; }
.st[aria-selected=true]::before { content: ''; position: absolute; left: 0; top: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); transform: translateY(-50%); }
.show-d { margin-top: 28px; color: var(--soft-on-dark); max-width: 28em; min-height: 6em; }
.show-stage { grid-column: 5 / span 8; position: relative; min-height: min(78svh, 760px); display: grid; place-items: center; }
.pn { grid-area: 1 / 1; opacity: 0; transition: opacity .6s var(--ease); max-width: 100%; max-height: min(78svh, 760px); width: auto; height: auto; border-radius: var(--r); background: var(--ui-bg); }
.pn.is-on { opacity: 1; }
.show :focus-visible { outline-color: var(--accent); }

/* ---------- how a job goes: call on the left, response on the right ---------- */
.how { padding: var(--gap-section) var(--m); }
.how h2 { margin-bottom: 56px; }
.exs { display: block; }
.ex { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; margin-bottom: 56px; }
.ex:last-child { margin-bottom: 0; }
.ex-text { grid-column: 1 / span 4; }
.ex-s { font: 400 var(--step-lead)/1.15 var(--font-text); letter-spacing: -0.01em; }
.ex-call { margin-top: 20px; padding: 20px; background: var(--ui-bg); color: var(--ui-ink); border-radius: var(--r); font-variant-numeric: tabular-nums; }
.ex-res { grid-row: 1; }
.ex-res img { width: 100%; height: auto; border-radius: var(--r); aspect-ratio: 16 / 9; object-fit: cover; object-position: top left; }
.ex-1 .ex-res { grid-column: 5 / span 8; }
.ex-2 .ex-res { grid-column: 5 / span 8; }
.ex-3 .ex-res { grid-column: 5 / span 8; }


/* ---------- trust strip: true numbers from the product ---------- */
.trust { background: var(--ink); color: #fff; padding: 64px var(--m) 72px; }
.trust ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 32px; }
.trust .n { display: block; font: 700 var(--step-display)/.9 var(--font-display); letter-spacing: -0.045em; color: var(--accent); font-variant-numeric: tabular-nums; }
.trust .l { display: block; margin-top: 16px; color: #e4e4e4; max-width: 17em; }

/* ---------- everything: a mosaic of unlike tiles, each proved by a real piece of the app ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.all { padding: 0 var(--m) var(--gap-section); }
.all h2 { margin-bottom: 40px; }
.mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; }
.t { border-radius: var(--r); padding: 40px 40px 36px; display: flex; flex-direction: column; overflow: hidden; }
.t-ink { background: var(--ink); color: #fff; }
.t-mint { background: var(--accent); color: var(--ink); }
.t-surface { background: var(--surface); color: var(--ink); }
.t h3 { font: 700 var(--step-head)/.95 var(--font-display); letter-spacing: -0.04em; margin-bottom: 24px; text-wrap: balance; }
.t .hl li { position: relative; padding: 0 0 10px 20px; line-height: 1.35; }
.t .hl li::before { content: ''; position: absolute; left: 0; top: .5em; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.t-ink .hl li::before { background: var(--accent); }
.t .rest { margin-top: 14px; max-width: 36em; font-size: var(--step-small); line-height: 1.5; color: var(--muted); }
.t-ink .rest { color: var(--soft-on-dark); }
.t-mint .rest { color: #3a3a3a; }
.t-text { padding-bottom: 64px; min-width: 0; }
.t-fig { margin-top: auto; padding-top: 28px; min-width: 0; }
.t-fig img { width: 100%; height: auto; border-radius: var(--r); }
.t-fig.bleed { margin-left: -40px; margin-right: -40px; margin-bottom: -36px; }
.t-fig.bleed img { border-radius: 0; }
.t-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 40px; align-items: end; }
.t-wide .t-text { align-self: start; }
.t-wide .t-fig, .t-wide .t-figs { margin-top: 0; padding-top: 0; }
.t-split { grid-column: span 6; }
.t-split .t-fig { width: min(100%, 300px); margin-left: auto; padding-top: 24px; }
.t-mach .t-fig { width: min(100%, 520px); }
.t-cut { grid-column: span 5; }
.t-mat { grid-column: span 7; }
.t-figs { display: flex; gap: 12px; align-items: flex-end; }
.t-figs-price .t-fig:first-child { flex: 0 0 38%; }
.t-figs-price .t-fig:last-child { flex: 1; }
.t-figs-docs .t-fig:nth-child(1) { flex: 0 0 30%; }
.t-figs-docs .t-fig:nth-child(2) { flex: 1; }
.t-figs-docs .t-fig:nth-child(3) { flex: 0 0 26%; }
.t-figs .t-fig { margin: 0; padding: 0; min-width: 0; }
.t-work { align-items: center; }
.langshots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.langshots a { display: block; position: relative; text-decoration: none; }
.langshots img { width: 100%; height: auto; border-radius: var(--r); transition: transform .3s var(--ease); }
.langshots a:hover img { transform: translateY(-3px); }
.langshots span { display: block; margin-top: 8px; font-weight: 600; font-size: var(--step-small); }

/* ---------- flow: the screen recording ---------- */
.flow { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding: 0 var(--m) var(--gap-section); align-items: center; }
.flow-text { grid-column: 1 / span 4; }
.flow-text h2 { margin-bottom: 24px; }
.flow-video { grid-column: 5 / span 8; }
.flow-video video { width: 100%; height: auto; border-radius: var(--r); background: var(--ui-bg); }
@media (max-width: 720px) { .flow-video video { aspect-ratio: 640 / 500; object-fit: cover; } }

/* ---------- plans ---------- */
.plans { padding: 0 var(--m) var(--gap-section); }
.plans-h { margin-bottom: 40px; }
.plans-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 1fr) minmax(0, 5fr); align-items: start; }
.plan-names { grid-column: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.plan-name { position: relative; background: none; border: 0; padding: 0 0 0 0; cursor: pointer; font: 700 var(--step-display)/1 var(--font-display); letter-spacing: -0.04em; color: var(--muted); transition: color .25s, padding .25s var(--ease); min-height: 44px; text-align: left; }
.plan-name::before { content: ''; position: absolute; left: 0; top: 50%; width: .3em; height: .3em; border-radius: 50%; background: var(--ink); transform: translateY(-50%) scale(.2); opacity: 0; transition: transform .25s var(--ease), opacity .2s; }
.plan-name:hover { color: var(--ink); }
.plan-name[aria-selected=true] { color: var(--ink); padding-left: .55em; }
.plan-name[aria-selected=true]::before { transform: translateY(-50%) scale(1); opacity: 1; }
.plan-stages { grid-column: 3; min-height: 22em; }
.plan-stage { animation: fadein .25s ease both; }
.plan-stage[hidden] { display: none; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.plan-price { font: 700 var(--step-head)/1 var(--font-display); letter-spacing: -0.04em; max-width: 9em; }
.plan-text { margin: 24px 0 28px; max-width: 28em; }
.plan-trial { margin-top: 32px; font-size: var(--step-small); color: var(--muted); max-width: 30em; }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px; padding: 0 var(--m) var(--gap-section); align-items: start; }
.faq h2 { position: sticky; top: 96px; }
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq details { background: var(--surface); border-radius: var(--r); transition: background-color .3s; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; padding: 16px 24px; cursor: pointer; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] { background: var(--accent); color: var(--accent-ink); }
.faq details p { padding: 0 24px 24px; max-width: 52ch; }
.pm { position: relative; flex: none; width: 16px; height: 16px; }
.pm::before, .pm::after { content: ''; position: absolute; left: 0; top: 6.5px; width: 16px; height: 3px; background: currentColor; transition: transform .3s var(--ease); }
.pm::after { transform: rotate(90deg); }
details[open] .pm::after { transform: rotate(0); }

/* ---------- call to action ---------- */
.cta { display: grid; grid-template-columns: 15% minmax(0, 1fr) 15%; gap: 12px; margin-bottom: 0; }
.cta-a { background: var(--ink); border-radius: 0 var(--r) var(--r) 0; min-height: 520px; }
.cta-main { background: var(--accent); color: var(--accent-ink); border-radius: var(--r); padding: 48px 40px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 20px; min-height: 520px; }
.cta-main h2 { font-size: var(--step-display); line-height: .92; max-width: 11em; }
.cta-main p { max-width: 30em; margin-bottom: 12px; font-size: var(--step-lead); line-height: 1.25; }
.cta-b { border-radius: var(--r) 0 0 var(--r); overflow: hidden; min-height: 520px; }
.cta-b img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- footer ---------- */
.foot { margin-top: 30svh; padding: 0 var(--m) 30px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px 24px; align-items: baseline; font-size: var(--step-small); }
.foot-what { color: var(--muted); }
.foot-nav { display: flex; gap: 24px; }
.foot a { text-underline-offset: 3px; }
.foot-end { text-align: right; color: var(--muted); }
.foot-end a { color: var(--ink); }
.credits { grid-column: 1 / -1; margin-top: 36px; color: var(--muted); max-width: 62ch; line-height: 1.5; }

/* ---------- privacy page ---------- */
.plain .doc { max-width: 560px; padding: 200px var(--m) 120px; }
.plain .doc h1 { font-size: var(--step-head); margin-bottom: 28px; }
.plain .doc p { margin-bottom: 16px; }

/* ---------- tablet and phone ---------- */
@media (max-width: 1100px) {
  .hero { display: flex; flex-direction: column; min-height: 0; }
  .hero-pic { order: -1; min-height: 0; height: min(70svh, 700px); grid-column: auto; }
  .hero-col { padding: 40px var(--m) 56px; align-self: stretch; }
  .panel-body { grid-template-columns: 1fr; }
  .show { display: block; }
  .show-stage { margin-top: 32px; min-height: 0; }
  .pn { max-height: none; width: 100%; }
  .show-d { min-height: 0; }
  .flow { display: block; }
  .trust ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-wide { display: flex; flex-direction: column; }
  .t-wide .t-fig, .t-wide .t-figs { margin-top: 28px; }
  .t-split .t-fig { margin-left: 0; width: min(100%, 320px); }
  .t-cut, .t-mat, .t-wide, .t-split { grid-column: 1 / -1; }
  .decor { display: block; }
  .decor-a { margin-top: 32px; }
  .plans-compare thead th { padding: 18px 14px; }
  .flow-video { margin-top: 32px; }
  .decor { grid-template-columns: 1fr; }
  .decor-a, .decor-text, .decor-b { grid-column: 1; grid-row: auto; }
  .decor-text { margin-bottom: 32px; }
  .decor-b { margin-top: 40px; }
  .ex { display: block; }
  .ex-res { margin-top: 24px; max-width: 760px; }
  .plans-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
  .plan-stages { grid-column: 2; }
  .faq { grid-template-columns: 1fr; }
  .faq h2 { position: static; }
  .cta { grid-template-columns: 8% minmax(0, 1fr) 8%; }
}
@media (max-width: 720px) {
  :root { --step-body: 17px; --step-display: 11vw; }
  html[lang=bs] .hero h1 { font-size: 9.2vw; }
  .top { padding-top: 20px; }
  .top-nav .langs { display: none; }
  .hero-pic { height: 40svh; }
  .hero-col { padding-top: 32px; }
  .band { min-height: 132px; }
  .band-s { font-size: 24px; }
  .sheets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mosaic { margin: 0 calc(var(--m) * -1); gap: 8px; }
  .t { padding: 32px var(--m) 28px; border-radius: 0; }
  .t-fig.bleed { margin-left: calc(var(--m) * -1); margin-right: calc(var(--m) * -1); margin-bottom: -28px; }
  .t-figs { flex-wrap: wrap; }
  .t-figs-price .t-fig:first-child, .t-figs-price .t-fig:last-child, .t-figs-docs .t-fig:nth-child(n) { flex: 1 1 100%; }
  .langshots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust { padding: 48px var(--m); }
  .plan-cta { padding-left: 0; }
  .plan-cta .btn { flex: 1 1 100%; }
  .plans-compare .plan-trial { margin-left: 0; }
  .plans-compare table { border-spacing: 4px 0; }
  .plans-compare col.c-feat { width: 31%; }
  .plans-compare thead th { padding: 14px 8px; }
  .pl-n { font-size: 24px; letter-spacing: -0.02em; }
  .pl-d { display: none; }
  .plans-compare tbody th { font-size: 14px; padding: 14px 6px 14px 0; line-height: 1.25; }
  .decor-b { width: 200px; }
  .sw { width: 56px; }
  .sw::before { width: 48px; }
  .sw[aria-checked=true] .sw-knob { transform: translateX(16px); }
  .show { padding-top: 56px; }
  .plans-grid { grid-template-columns: 1fr; gap: 20px; }
  .plan-stages { grid-column: 1; min-height: 0; }
  .plan-name { font-size: 56px; }
  .cta { grid-template-columns: 1fr 1fr; }
  .cta-main { grid-column: 1 / -1; border-radius: var(--r); padding: 32px 24px; min-height: 300px; }
  .cta-a { grid-row: 2; min-height: 120px; border-radius: var(--r); }
  .cta-b { grid-row: 2; min-height: 120px; border-radius: var(--r); }
  .foot { display: block; margin-top: 20svh; }
  .foot > * { margin-bottom: 8px; }
  .foot-nav { flex-wrap: wrap; gap: 8px 20px; }
  .foot-end { text-align: left; }
  .plain .doc { padding-top: 140px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .slide { transition: none; }
}

/* ---------- plan comparison ---------- */
.plans { padding-bottom: var(--gap-section); }
.plans-compare { margin-top: 0; }
.plan-cta { display: grid; grid-template-columns: 34% 1fr; margin-top: 20px; }
.plan-cta { display: flex; gap: 12px; flex-wrap: wrap; padding-left: calc(34% + 8px); }
.plans-compare .plan-trial { margin: 20px 0 0 calc(34% + 8px); max-width: 34em; }
.plans-compare h3 { font: 700 var(--step-head)/.95 var(--font-display); letter-spacing: -0.04em; }
.pc-note { margin: 16px 0 32px; color: var(--muted); max-width: 40em; }
.plans-compare table { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 8px 0; font-size: var(--step-body); }
.plans-compare col.c-feat { width: 34%; }
.plans-compare thead th { background: var(--ink); color: #fff; text-align: left; vertical-align: top; padding: 24px 24px 22px; border-radius: var(--r) var(--r) 0 0; font-weight: 400; }
.plans-compare thead th:first-child { background: none; padding: 0; }
.pl-n { display: block; font: 700 var(--step-display)/.9 var(--font-display); letter-spacing: -0.045em; }
.pl-d { display: block; margin-top: 12px; font-size: var(--step-small); color: var(--soft-on-dark); line-height: 1.4; }
.plans-compare tbody th { text-align: left; font-weight: 400; padding: 18px 12px 18px 0; border-bottom: 2px solid #fff; }
.plans-compare tbody td { background: var(--surface); text-align: center; padding: 18px 0; border-bottom: 2px solid #fff; }
.plans-compare tbody tr:last-child td { border-radius: 0 0 var(--r) var(--r); border-bottom: 0; }
.plans-compare .yes, .plans-compare .no { display: inline-block; vertical-align: middle; }
.plans-compare .yes { width: 16px; height: 16px; border-radius: 50%; background: var(--ink); }
.plans-compare .no { width: 14px; height: 3px; background: #b4b4b4; }

/* plan table and last-section spacing: these must come after the base rules above */
.faq { padding-bottom: max(var(--gap-section), 160px); }
@media (max-width: 1100px) {
  .plans-compare thead th { padding: 18px 14px; }
  .pl-n { font-size: clamp(28px, 5vw, 44px); }
  .plan-cta { padding-left: 0; }
  .plans-compare .plan-trial { margin-left: 0; }
}
@media (max-width: 720px) {
  .plans-compare table { border-spacing: 4px 0; }
  .plans-compare col.c-feat { width: 31%; }
  .plans-compare thead th { padding: 14px 8px; }
  .pl-n { font-size: 21px; letter-spacing: -0.02em; }
  .pl-d { display: none; }
  .plans-compare tbody th { font-size: 14px; padding: 14px 6px 14px 0; line-height: 1.25; }
  .plans-compare tbody td { padding: 14px 0; }
  .plan-cta .btn { flex: 1 1 100%; }
}
