/*
 * Direction "Výloha" (shop window).
 * World: a First Republic shopfront. Enamel sign plates, painted lettering, a sheet of glass, a price tag.
 * Rejects: glow, blur and gradients.
 * Signature move: every key card stands in front of an offset sheet of glass (--pane-*).
 *
 * The headline face is cut down to what this direction uses: width 84, weights 700 to 800 (see web/README.md).
 */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 700 800;
  font-stretch: 84%;
  src: url("fonts/bricolage-grotesque-latin-ext-condensed.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-display: swap;
  font-weight: 700 800;
  font-stretch: 84%;
  src: url("fonts/bricolage-grotesque-latin-condensed.woff2") format("woff2");
  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: "Instrument Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url("fonts/instrument-sans-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 400 700;
  src: url("fonts/instrument-sans-latin-wght-normal.woff2") format("woff2");
  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 {
  /* Colour roles. Text on --accent is always --panel (5.05:1). */
  --surface: #F3EDDC;        /* page, enamel cream */
  --surface-alt: #E8DDC2;    /* alternate band, kraft */
  --surface-tint: #D9E7DF;   /* cool band and the glass sheet */
  --panel: #FCF9F0;          /* cards */
  --ink: #11231C;            /* text, outlines, dark bands, bottle green */
  --ink-soft: #48584F;       /* secondary text */
  --accent: #C7351B;         /* calls to action, vermilion */
  --accent-strong: #A32A13;  /* accent as text on light, hover */
  --highlight: #F0BF2E;      /* price tags, mustard */
  --line: #CDC3A8;           /* hairlines */

  /* Type */
  --font-display: "Bricolage Grotesque", "Arial Narrow", sans-serif;
  --font-body: "Instrument Sans", "Helvetica Neue", sans-serif;
  --font-label: "Instrument Sans", "Helvetica Neue", sans-serif;
  --display-weight: 800;
  --display-stretch: 84%;
  --display-tracking: -0.025em;
  --display-leading: 0.98;
  --heading-weight: 700;
  --heading-leading: 1.12;
  --font-relic: "Times New Roman", Times, serif; /* the outdated site in the hero illustration */
  --label-weight: 700;
  --label-tracking: 0.14em;
  --label-case: uppercase;
  --body-leading: 1.5;
  --lead-weight: 500;

  --text-xs: 0.8125rem;
  --text-s: clamp(0.875rem, 0.6rem + 0.35vw, 1rem);
  --text-m: clamp(1.0625rem, 0.55rem + 0.6vw, 1.25rem);
  --text-l: clamp(1.1875rem, 0.6rem + 0.7vw, 1.4375rem);
  --text-xl: clamp(1.5rem, 0.9rem + 0.7vw, 1.75rem);
  --text-2xl: clamp(1.875rem, 1.1rem + 1.6vw, 3rem);
  --text-3xl: clamp(2.125rem, 1rem + 2.8vw, 4.25rem);
  --text-hero: clamp(2.25rem, 5.5vw, 6rem);

  /* Space */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --container: clamp(77.5rem, 80vw, 96rem);
  --measure: 44rem;
  --header: 3.5rem;          /* height of the top bar */
  --tap: 2.75rem;            /* smallest height of a link on a phone */
  --gutter: clamp(1rem, 0.4rem + 2.6vw, 2.5rem);
  --band-pad: clamp(2.5rem, 1.5rem + 3.5vw, 4.5rem);

  /* Shape */
  --radius-s: 0.375rem;
  --radius-m: 0.75rem;
  --radius-l: 1.125rem;
  --radius-pill: 999px;
  --border: 2px;
  --hairline: 1px;
  --tilt: -1.5deg;           /* hand-set tags and stickers */
  --focus: var(--accent-strong);

  /* Signature: the sheet of glass behind a card */
  --pane-offset: 0.625rem;
  --pane-fill: var(--surface-tint);
  --pane-line: var(--ink);
  --pane-fill-on-tint: var(--surface);
  --pane-fill-on-dark: var(--accent);
  --pane-line-on-dark: var(--accent);
}

/*
 * Webomat. Every colour, typeface, size, space, radius and border comes from tokens.css
 * (one file per direction in web/themes). Only layout fractions and the two breakpoints
 * (40rem, 62rem) are written here, because media queries cannot read custom properties.
 */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-m);
  line-height: var(--body-leading);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
strong, b { font-weight: 700; }
[id] { scroll-margin-top: var(--s-9); }
:focus-visible { outline: var(--border) solid var(--focus); outline-offset: var(--s-1); }
::selection { background: var(--highlight); color: var(--ink); }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--s-4); top: var(--s-4); z-index: 20; padding: var(--s-3) var(--s-4); background: var(--ink); color: var(--surface); border-radius: var(--radius-s); transform: translateY(-300%); }
.skip:focus { transform: none; }

/* Type */
h1, h2 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-stretch: var(--display-stretch);
  letter-spacing: var(--display-tracking);
  line-height: var(--display-leading);
  text-wrap: balance;
}
h1 { font-size: var(--text-hero); }
h2 { font-size: var(--text-3xl); }
h3 {
  font-family: var(--font-display);
  font-weight: var(--heading-weight);
  font-stretch: var(--display-stretch);
  font-size: var(--text-xl);
  line-height: var(--heading-leading);
}
.label {
  font-family: var(--font-label);
  font-size: var(--text-xs);
  font-weight: var(--label-weight);
  letter-spacing: var(--label-tracking);
  text-transform: var(--label-case);
  color: var(--band-soft);
}
.claim { font-family: var(--font-display); font-weight: var(--heading-weight); font-stretch: var(--display-stretch); font-size: var(--text-2xl); letter-spacing: var(--display-tracking); line-height: var(--heading-leading); color: var(--ink); }
.lead { font-size: var(--text-l); font-weight: var(--lead-weight); max-width: 38em; }
.note { margin-top: var(--s-6); font-size: var(--text-s); color: var(--band-soft); max-width: var(--measure); }
.note--center { margin-inline: auto; text-align: center; }
.tagged {
  display: inline-block;
  padding: 0 0.14em;
  background: var(--highlight);
  color: var(--ink);
  border-radius: var(--radius-s);
  transform: rotate(var(--tilt));
}
.link { font-weight: 700; text-underline-offset: var(--s-1); text-decoration-thickness: var(--border); }
.link:hover { color: var(--focus); }
mark.todo { padding: 0 var(--s-1); background: var(--highlight); color: var(--ink); }

/* Bands */
.band {
  --band: var(--surface);
  --band-ink: var(--ink);
  --band-soft: var(--ink-soft);
  --_pf: var(--pane-fill);
  --_pl: var(--pane-line);
  padding-block: var(--band-pad);
  background: var(--band);
  color: var(--band-ink);
}
.band--alt { --band: var(--surface-alt); }
.band--panel { --band: var(--panel); }
.band--tint { --band: var(--surface-tint); --_pf: var(--pane-fill-on-tint); }
.band--ink {
  --band: var(--ink);
  --band-ink: var(--surface);
  --band-soft: color-mix(in srgb, var(--surface) 80%, var(--ink));
  --focus: var(--highlight);
  --_pf: var(--pane-fill-on-dark);
  --_pl: var(--pane-line-on-dark);
}

/* Signature: the sheet of glass behind a card */
.pane {
  box-shadow:
    var(--pane-offset) var(--pane-offset) 0 calc(var(--border) * -1) var(--_pf),
    var(--pane-offset) var(--pane-offset) 0 0 var(--_pl);
}

.section-head { display: grid; gap: var(--s-3); margin-bottom: var(--s-6); max-width: 52rem; }
.section-head > p:not(.label) { font-size: var(--text-l); color: var(--band-soft); max-width: var(--measure); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }

/* Buttons */
.btn {
  --btn-bg: var(--ink);
  --btn-ink: var(--surface);
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  padding: var(--s-4) var(--s-5);
  border: var(--border) solid var(--btn-bg);
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-ink);
  font: inherit;
  font-weight: 700;
  line-height: var(--heading-leading);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.btn:hover { --btn-bg: var(--accent-strong); --btn-ink: var(--panel); }
.btn--accent { --btn-bg: var(--accent); --btn-ink: var(--panel); }
.btn--small { padding: var(--s-3) var(--s-4); gap: var(--s-3); font-size: var(--text-s); white-space: nowrap; }
.btn--wide { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: default; }
.band--ink .btn:not(.btn--accent), .tier--featured .btn { --btn-bg: var(--surface); --btn-ink: var(--ink); }
.band--ink .btn:not(.btn--accent):hover, .tier--featured .btn:hover { --btn-bg: var(--highlight); --btn-ink: var(--ink); }
.arrow { display: inline-block; transition: transform 0.15s; }
.btn:hover .arrow, a:hover > .arrow { transform: translateX(var(--s-1)); }

.chip {
  display: inline-block;
  padding: var(--s-1) var(--s-3);
  background: var(--highlight);
  color: var(--ink);
  border-radius: var(--radius-pill);
  font-family: var(--font-label);
  font-size: var(--text-xs);
  font-weight: var(--label-weight);
  letter-spacing: var(--label-tracking);
  text-transform: var(--label-case);
  white-space: nowrap;
}

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; min-height: var(--header); background: var(--surface); border-bottom: var(--hairline) solid var(--line); }
.site-header__row { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); min-height: calc(var(--header) - var(--hairline)); }
.logo { display: inline-flex; align-items: center; gap: var(--s-3); min-height: var(--tap); color: inherit; text-decoration: none; }
.logo__word { font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: var(--display-stretch); font-size: var(--text-xl); letter-spacing: var(--display-tracking); line-height: 1; }
.mark { width: var(--s-6); height: var(--s-6); flex: none; }
.mark rect { stroke: currentColor; stroke-width: 2; }
.mark__glass { fill: var(--surface-tint); }
.mark__card { fill: var(--accent); }
.site-nav { display: none; gap: var(--s-6); }
.site-nav a { font-weight: 600; text-decoration: none; }
.site-nav a:hover { text-decoration: underline; text-underline-offset: var(--s-2); text-decoration-thickness: var(--border); }
.site-header__actions { display: flex; align-items: center; gap: var(--s-4); }
.menu { position: relative; }
.menu summary { display: grid; place-items: center; width: var(--tap); height: var(--tap); border: var(--border) solid var(--ink); border-radius: var(--radius-pill); cursor: pointer; list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu__icon { width: var(--s-5); height: var(--border); background: currentColor; box-shadow: 0 calc(var(--s-2) * -0.8) 0 currentColor, 0 calc(var(--s-2) * 0.8) 0 currentColor; }
.menu__panel { position: absolute; right: 0; top: calc(100% + var(--s-3)); display: grid; gap: var(--s-1); min-width: 15rem; padding: var(--s-3); background: var(--panel); border: var(--border) solid var(--ink); border-radius: var(--radius-m); box-shadow: var(--pane-offset) var(--pane-offset) 0 0 var(--ink); }
.menu__panel a { padding: var(--s-3) var(--s-4); border-radius: var(--radius-s); font-weight: 600; text-decoration: none; }
.menu__panel a:hover { background: var(--surface-alt); }

/* Hero */
/* The hero fills the first screen. On a phone the text and the price board do, and the picture follows below the fold. */
.hero { display: grid; padding-block: var(--s-6); overflow: hidden; }
.hero__grid { display: grid; gap: var(--s-6); align-content: start; }
.hero__first { display: grid; grid-template-rows: 1fr auto; gap: var(--s-6); min-height: calc(100svh - var(--header) - 2 * var(--s-6)); }
.hero__text { display: grid; gap: var(--s-4); justify-items: start; align-content: center; }
.hero__line { display: block; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-5); margin-top: var(--s-3); }

.showcase { position: relative; display: grid; width: 100%; max-width: var(--measure); padding: 0 var(--pane-offset) var(--s-6) 0; font-size: var(--text-s); }
.win { grid-area: 1 / 1; overflow: hidden; background: var(--panel); border: var(--border) solid var(--ink); border-radius: var(--radius-m); }
.win__bar { display: flex; align-items: center; gap: var(--s-2); padding: var(--s-2) var(--s-3); background: var(--surface-alt); border-bottom: var(--border) solid var(--ink); font-family: var(--font-label); font-size: var(--text-xs); }
.win__url { flex: 1; min-width: 0; padding: var(--s-1) var(--s-3); overflow: hidden; background: var(--panel); border: var(--hairline) solid var(--ink); border-radius: var(--radius-pill); text-overflow: ellipsis; white-space: nowrap; }
.win__warn { font-weight: 700; }
.win__lock { width: var(--s-3); height: var(--s-3); flex: none; background: var(--ink); border-radius: var(--radius-pill); }
.win--old { width: 78%; align-self: start; transform: rotate(calc(var(--tilt) * 2)); transform-origin: top left; filter: grayscale(1); }
.win--old .win__bar { background: var(--line); }
.old { display: grid; gap: var(--s-3); padding: var(--s-4); background: var(--surface-alt); font-family: var(--font-relic); color: var(--ink-soft); text-align: center; }
.old__title { font-size: var(--text-l); font-weight: 700; text-decoration: underline; }
.old__cols { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: var(--s-1); height: 9rem; }
.old__cols span { border: var(--hairline) solid var(--ink-soft); background: var(--line); }
.old__foot { font-size: var(--text-xs); }
.win--new { position: relative; z-index: 1; width: 84%; margin: 22% 0 0 16%; }
.new { display: grid; gap: var(--s-3); justify-items: start; padding: var(--s-5); }
.new__nav { display: flex; flex-wrap: wrap; gap: var(--s-4); width: 100%; padding-bottom: var(--s-3); border-bottom: var(--hairline) solid var(--line); font-size: var(--text-xs); }
.new__nav b { margin-right: auto; font-family: var(--font-display); font-stretch: var(--display-stretch); font-size: var(--text-s); }
.new__h { font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: var(--display-stretch); font-size: var(--text-xl); letter-spacing: var(--display-tracking); line-height: var(--heading-leading); }
.new__p { color: var(--ink-soft); }
.new__btn { padding: var(--s-2) var(--s-4); background: var(--accent); color: var(--panel); border-radius: var(--radius-pill); font-size: var(--text-xs); font-weight: 700; }
.new__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-2); width: 100%; height: var(--s-8); margin-top: var(--s-2); }
.new__tiles span { border: var(--hairline) solid var(--ink); border-radius: var(--radius-s); background: var(--surface-tint); }
.new__tiles span:nth-child(2) { background: var(--highlight); }
.new__tiles span:nth-child(3) { background: var(--surface-alt); }
.sticker { position: absolute; z-index: 2; left: 4%; bottom: 0; display: grid; place-content: center; width: var(--s-9); height: var(--s-9); background: var(--highlight); color: var(--ink); border: var(--border) solid var(--ink); border-radius: var(--radius-pill); text-align: center; line-height: 1; transform: rotate(calc(var(--tilt) * 6)); }
.sticker span { font-family: var(--font-label); font-size: var(--text-xs); font-weight: var(--label-weight); letter-spacing: var(--label-tracking); text-transform: var(--label-case); }
.sticker b { font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: var(--display-stretch); font-size: var(--text-xl); }

.board { display: grid; border-block: var(--border) solid var(--ink); }
.board > div { display: grid; gap: var(--s-1); padding: var(--s-4) 0; }
.board > div + div { border-top: var(--hairline) solid var(--line); }
.board dt { font-family: var(--font-label); font-size: var(--text-xs); font-weight: var(--label-weight); letter-spacing: var(--label-tracking); text-transform: var(--label-case); color: var(--ink-soft); }
.board dd { font-family: var(--font-display); font-weight: var(--heading-weight); font-stretch: var(--display-stretch); font-size: var(--text-xl); line-height: var(--heading-leading); }

/* Cards */
.card { --band-soft: var(--ink-soft); display: grid; gap: var(--s-3); align-content: start; padding: var(--s-5); background: var(--panel); color: var(--ink); border: var(--border) solid var(--ink); border-radius: var(--radius-l); }
.card--highlight { --band-soft: var(--ink); background: var(--highlight); }

/* Price list */
.tiers { display: grid; gap: var(--s-5); align-items: stretch; }
.tiers > *, .steps > *, .paths > *, .split > *, .hero__grid > *, .faq > * { min-width: 0; }
.tier { --band-soft: var(--ink-soft); display: flex; flex-direction: column; gap: var(--s-4); padding: var(--s-5); background: var(--panel); color: var(--ink); border: var(--border) solid var(--ink); border-radius: var(--radius-l); }
.tier__top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: var(--s-3); min-height: var(--s-8); }
.price { display: inline-grid; padding: var(--s-2) var(--s-4); background: var(--highlight); color: var(--ink); border: var(--border) solid var(--ink); border-radius: var(--radius-s); line-height: 1; transform: rotate(var(--tilt)); }
.price b { font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: var(--display-stretch); font-size: var(--text-2xl); letter-spacing: var(--display-tracking); white-space: nowrap; }
.price span { margin-top: var(--s-1); font-family: var(--font-label); font-size: var(--text-xs); font-weight: var(--label-weight); letter-spacing: var(--label-tracking); text-transform: var(--label-case); }
.tier__lead { color: var(--band-soft); }
.checks { display: grid; gap: var(--s-2); padding-top: var(--s-4); margin-bottom: var(--s-4); border-top: var(--hairline) solid var(--line); font-weight: 600; }
.checks li { display: grid; grid-template-columns: var(--s-5) 1fr; }
.checks li::before { content: "✓"; color: var(--accent-strong); font-weight: 700; }
.tier .btn { margin-top: auto; }
.tier--featured { --band-soft: color-mix(in srgb, var(--surface) 80%, var(--ink)); --_pf: var(--pane-fill-on-dark); --_pl: var(--pane-line-on-dark); background: var(--ink); color: var(--surface); }
.tier--featured .checks { border-color: color-mix(in srgb, var(--surface) 30%, var(--ink)); }
.tier--featured .checks li::before { color: var(--highlight); }
.tier--featured .chip { background: var(--surface); }

/* Notice for businesses we wrote to first */
.notice { padding-block: var(--s-5); }
.notice__row { display: grid; gap: var(--s-3); align-items: center; }

/* Under the price list */
.after-tiers { display: grid; gap: var(--s-5); align-items: center; justify-items: start; margin-top: calc(var(--s-6) + var(--pane-offset)); }
.after-tiers p { max-width: var(--measure); color: var(--band-soft); }

/* Steps */
.steps { display: grid; gap: var(--s-4); }
.step { display: grid; gap: var(--s-3); align-content: start; padding: var(--s-5); background: var(--panel); border: var(--border) solid var(--ink); border-radius: var(--radius-l); }
.step__no { display: grid; place-items: center; width: var(--s-7); height: var(--s-7); margin-bottom: var(--s-2); background: var(--ink); color: var(--surface); border-radius: var(--radius-m); font-family: var(--font-display); font-weight: var(--heading-weight); font-stretch: var(--display-stretch); }
.step p { color: var(--ink-soft); }

/* Services */
.services { display: grid; gap: var(--s-5); }
.services p { color: var(--ink-soft); }

/* Two-column sections */
.split { display: grid; gap: var(--s-7); align-items: start; }
.stack { display: grid; gap: var(--s-6); }

/* AI search */
.prose { display: grid; gap: var(--s-4); max-width: var(--measure); font-size: var(--text-l); color: var(--band-soft); }
.reasons { display: grid; margin-top: var(--s-5); max-width: var(--measure); color: var(--band-soft); }
.reasons li { padding: var(--s-3) 0; border-top: var(--hairline) solid color-mix(in srgb, var(--band-ink) 30%, var(--band)); }
.reasons strong { color: var(--band-ink); }
.stat { display: grid; gap: var(--s-2); padding-top: var(--s-4); border-top: var(--border) solid var(--highlight); color: var(--band-soft); }
.stat__no { font-family: var(--font-display); font-weight: var(--display-weight); font-stretch: var(--display-stretch); font-size: var(--text-3xl); letter-spacing: var(--display-tracking); line-height: var(--display-leading); color: var(--highlight); }

/* Questions */
.faq { display: grid; gap: var(--s-6); align-items: start; }
.faq .section-head { margin-bottom: 0; }
.faq details { border-bottom: var(--hairline) solid color-mix(in srgb, var(--ink) 40%, var(--band)); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); padding: var(--s-4) 0; font-size: var(--text-l); font-weight: 700; line-height: var(--heading-leading); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; display: grid; place-items: center; flex: none; width: var(--s-6); height: var(--s-6); background: var(--ink); color: var(--surface); border-radius: var(--radius-pill); font-weight: 400; transition: transform 0.15s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: var(--s-4); max-width: var(--measure); color: var(--ink-soft); }

/* Contact */
.form { gap: var(--s-2); }
.form label { margin-top: var(--s-3); font-family: var(--font-label); font-size: var(--text-xs); font-weight: var(--label-weight); letter-spacing: var(--label-tracking); text-transform: var(--label-case); }
.form label:first-of-type { margin-top: 0; }
.optional { margin-left: var(--s-2); color: var(--ink-soft); font-weight: 400; letter-spacing: 0; text-transform: none; }
.form input:not([type="hidden"]), .form textarea { width: 100%; padding: var(--s-4); background: var(--surface); color: var(--ink); border: var(--hairline) solid var(--ink); border-radius: var(--radius-m); font: inherit; }
.form textarea { resize: vertical; }
.form ::placeholder { color: var(--ink-soft); opacity: 1; }
.form .btn { margin-top: var(--s-4); }
.form__status { padding: var(--s-3) var(--s-4); background: var(--surface-alt); border: var(--hairline) solid var(--ink); border-radius: var(--radius-m); font-weight: 600; }
.form__status--sent { background: var(--surface-tint); }
.form__note { font-size: var(--text-s); color: var(--ink-soft); }

/* Footer */
.site-footer { padding-block: var(--s-7) var(--s-5); font-size: var(--text-s); }
.site-footer__grid { display: grid; gap: var(--s-6); }
.site-footer__brand { display: grid; gap: var(--s-4); justify-items: start; max-width: 24rem; color: var(--band-soft); }
.site-footer__brand .logo { color: var(--band-ink); }
.site-footer nav, .site-footer__grid > div:last-child { display: grid; gap: var(--s-3); align-content: start; justify-items: start; }
.site-footer h2 { margin-bottom: var(--s-2); line-height: var(--body-leading); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: var(--s-1); }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3) var(--s-6); margin-top: var(--s-6); padding-top: var(--s-4); border-top: var(--hairline) solid color-mix(in srgb, var(--surface) 25%, var(--ink)); color: var(--band-soft); }
.site-footer__legal a { text-decoration: underline; text-underline-offset: var(--s-1); }

/* Text pages */
.doc { display: grid; gap: var(--s-5); max-width: var(--measure); }
.doc h1 { font-size: var(--text-3xl); margin-bottom: var(--s-3); }
.doc h2 { margin-top: var(--s-5); font-size: var(--text-xl); font-weight: var(--heading-weight); letter-spacing: 0; line-height: var(--heading-leading); }
.doc ul { display: grid; gap: var(--s-2); padding-left: var(--s-5); list-style: disc; }
.doc a { font-weight: 700; text-underline-offset: var(--s-1); }

@media (min-width: 40rem) {
  .board { grid-template-columns: repeat(3, 1fr); }
  .board > div { padding: var(--s-4) var(--s-5) var(--s-4) 0; }
  .board > div + div { padding-left: var(--s-5); border-top: 0; border-left: var(--hairline) solid var(--line); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: repeat(3, 1fr); }
  .site-footer__grid { grid-template-columns: 2fr 1fr 1fr; }
}

@media (min-width: 62rem) {
  .site-nav { display: flex; }
  .menu { display: none; }
  .hero { min-height: calc(100svh - var(--header)); }
  .hero__grid { grid-template: "text showcase" 1fr "board board" auto / 7fr 5fr; column-gap: var(--s-7); align-content: stretch; }
  .hero__first { display: contents; }
  .hero__text { grid-area: text; }
  .showcase { grid-area: showcase; align-self: center; justify-self: end; }
  .board { grid-area: board; }
  .tiers { grid-template-columns: repeat(3, 1fr); }
  .tier--featured { margin-block: calc(var(--s-3) * -1); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .notice__row { grid-template-columns: 1fr auto; gap: var(--s-6); }
  .after-tiers { grid-template-columns: 1fr auto; justify-items: stretch; }
  .split { grid-template-columns: 8fr 5fr; }
  .split--even { grid-template-columns: 1fr 1fr; }
  .faq { grid-template-columns: 2fr 3fr; gap: var(--s-7); }
  .faq .section-head { position: sticky; top: var(--s-9); }
}

@media (max-width: 39.99rem) {
  .btn { gap: var(--s-4); }
  .site-header__row { gap: var(--s-3); }
  .site-header__actions { gap: var(--s-2); }
  .logo { gap: var(--s-2); min-width: 0; }
  .logo__word { font-size: var(--text-l); }
  .step { grid-template-columns: auto 1fr; column-gap: var(--s-4); padding: var(--s-4); }
  .step__no { grid-row: span 2; margin-bottom: 0; }
  .step h3 { align-self: center; }
  .step p { grid-column: 2; }
  .hero__actions .btn { width: 100%; }
  .hero__more { display: none; }
  .board > div { grid-template-columns: auto 1fr; align-items: baseline; gap: var(--s-4); padding: var(--s-3) 0; }
  .board dd { font-size: var(--text-l); text-align: right; }
  .link:not(.hero__more), .site-footer a { display: inline-flex; align-items: center; min-height: var(--tap); }
  .site-footer nav, .site-footer__grid > div:last-child { gap: 0; }
}

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