/* Page styles: layout and components only. Agent, 2026-11-25.
   Every colour, font, radius, border and shadow is a token from tokens.css; this file defines none and
   holds no colour value (npm test checks it). Everything that gives a box its size or place is here (sized
   by tokens); theme.css only paints (a grid, a headline's shadow, a title bar's colours), so the page keeps
   every position with theme.css emptied. A value only one component uses is private to it (--_name).
   Each block from the copy file has its own part below and depends on no other block. */

/* ---------- Base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%; text-size-adjust:100%; overflow-x:clip}
@media (prefers-reduced-motion: no-preference){ html{scroll-behavior:smooth} }
body{
  margin:0; min-width:320px; overflow-x:clip;
  font-family:var(--font-body); font-weight:var(--weight-body); font-size:var(--fs-base); line-height:var(--leading-body);
  color:var(--color-text); background:var(--color-bg);
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4,p,figure,ul,ol,dl,dd{margin:0}
/* :where keeps this reset weightless, so a list's own padding (the shadow inset below) is not undone by it */
:where(ul[role="list"], ol){list-style:none; padding:0}
img{display:block; max-width:100%; height:auto}
picture{display:contents}
a{color:var(--color-accent)}
a:hover{color:var(--color-accent-strong)}
:is(a, button, summary, input, select, textarea, [tabindex]):focus-visible{outline:var(--focus-width) solid var(--color-focus); outline-offset:var(--focus-offset)}
main:focus{outline:none}
[hidden]{display:none !important}
.sr-only{position:absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0}

/* No line ends on a single word: headings, buttons and short blocks are balanced, text read at length is set
   "pretty". The build also keeps the last two words of each string together, for browsers without these. */
p, li, summary, label{text-wrap:pretty}
figcaption, td, th, dt, dd, legend{text-wrap:balance}

.icon, .chips__icon, .card__icon, .plan__check, .faq__icon{
  fill:none; stroke:currentColor; stroke-width:var(--icon-stroke); stroke-linecap:var(--icon-cap); stroke-linejoin:var(--icon-join); flex:none;
}

.container{width:100%; max-width:calc(var(--container) + 2 * var(--gutter)); margin:0 auto; padding:0 var(--gutter)}
.container--narrow{max-width:calc(var(--container-narrow) + 2 * var(--gutter))}

/* ---------- Type ---------- */
/* Wherever the display face is set its ligatures are off (a token: the pixel face joins letters into one cell) */
.display, .h2, .h4, .btn, .plan__amount, .site-header__brand, .site-footer__brand, .step::before{
  font-family:var(--font-display); font-weight:var(--weight-display); font-variant-ligatures:var(--display-ligatures); font-feature-settings:var(--display-features);
}
.display, .h2, .h4{color:var(--color-heading); overflow-wrap:anywhere; text-wrap:balance}
.display{font-size:var(--fs-display); line-height:var(--leading-tight); letter-spacing:var(--tracking-display)}
.h2{font-size:var(--fs-2xl); line-height:var(--leading-heading); letter-spacing:var(--tracking-display); color:var(--color-title)}
.h4{font-size:var(--fs-lg); line-height:var(--leading-heading)}
.lead{font-size:var(--fs-md); color:var(--color-text-muted); max-width:var(--measure)}
.fineprint{margin-top:var(--space-6); font-size:var(--fs-xs); color:var(--color-text-muted); max-width:var(--measure)}

/* ---------- The build's own marks: nothing here is copy, and none of it can pass a strict build ---------- */
/* A fact with no value: a filled box with a dashed edge */
.tbc{
  padding:0 var(--space-1); font-family:var(--font-label); font-weight:var(--weight-label); font-size:.85em; font-style:normal;
  letter-spacing:0; text-transform:none; overflow-wrap:anywhere; -webkit-box-decoration-break:clone; box-decoration-break:clone;
  color:var(--color-on-highlight); background:var(--color-highlight); border:var(--border-width) dashed var(--color-on-highlight);
}
/* A proposed sentence, not confirmed: the sentence itself inside a dashed outline, behind a small TBC tag */
.tbc--proposed{
  padding:0 var(--space-1) 0 0; font-family:inherit; font-weight:inherit; font-size:inherit; letter-spacing:inherit;
  color:inherit; background:none; border:var(--border-width) dashed var(--color-highlight);
}
.tbc__tag{
  margin-right:var(--space-1); padding:0 var(--space-1); font-family:var(--font-label); font-weight:var(--weight-label); font-size:.75em; letter-spacing:var(--tracking-label);
  color:var(--color-on-highlight); background:var(--color-highlight);
}
/* A block that is not confirmed (the plans) says so above itself */
.build-flag{
  display:inline-block; margin-bottom:var(--space-7); padding:var(--space-1) var(--space-3); font-family:var(--font-label); font-weight:var(--weight-label); font-size:var(--fs-xs);
  letter-spacing:var(--tracking-label); color:var(--color-on-highlight); background:var(--color-highlight); border:var(--border-width) dashed var(--color-on-highlight);
}

/* ---------- Skip link ---------- */
.skip-link{
  position:absolute; z-index:100; left:var(--gutter); top:var(--space-2);
  padding:var(--space-3) var(--space-5); border-radius:var(--radius-md);
  font-family:var(--font-label); font-weight:var(--weight-label); font-size:var(--fs-sm);
  color:var(--color-on-accent); background:var(--color-accent); text-decoration:none;
}
.skip-link:hover{color:var(--color-on-accent)}
.skip-link:not(:focus){width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap}

/* ---------- Buttons. The tokens say how a button stands and how far it travels when pressed. ---------- */
.btn{
  --_h:var(--control-h);
  --_bg:var(--color-accent); --_bg-hover:var(--color-accent-strong); --_bg-press:var(--color-accent-press); --_fg:var(--color-on-accent);
  --_shadow:var(--shadow-button); --_shadow-hover:var(--shadow-button-hover); --_shadow-press:var(--shadow-button-press);
  display:inline-flex; align-items:center; justify-content:center; gap:var(--space-2);
  min-height:var(--_h); padding:var(--space-2) var(--space-6); margin-bottom:var(--button-lip);
  font-size:var(--fs-button); line-height:var(--leading-heading);
  letter-spacing:var(--tracking-button); text-transform:var(--case-button); text-align:center; text-decoration:none; overflow-wrap:anywhere; text-wrap:balance;
  color:var(--_fg); background:var(--_bg); border:var(--border-button); border-radius:var(--radius-md);
  box-shadow:var(--_shadow); cursor:pointer;
  transition:transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background-color var(--dur-fast) var(--ease);
}
.btn:hover{color:var(--_fg); background:var(--_bg-hover); box-shadow:var(--_shadow-hover); transform:translate(var(--button-hover-x), var(--button-hover-y))}
.btn:active{background:var(--_bg-press); box-shadow:var(--_shadow-press); transform:translate(var(--button-press-x), var(--button-press-y))}
.btn--secondary{
  --_bg:var(--color-secondary); --_bg-hover:var(--color-secondary-strong); --_bg-press:var(--color-secondary); --_fg:var(--color-on-secondary);
  --_shadow:var(--shadow-button-2); --_shadow-hover:var(--shadow-button-2-hover); --_shadow-press:var(--shadow-button-2-press);
}
/* The small button (the header's) and a button that is busy speak in the label face: a status, said quietly,
   and short enough to hold one line on the narrowest phone */
.btn--sm, .btn[aria-busy="true"]{font-family:var(--font-button-sm); font-weight:var(--weight-button-sm); font-size:var(--fs-button-sm); letter-spacing:var(--tracking-button-sm)}
.btn--sm{--_h:var(--control-h-sm); padding-inline:var(--space-4)}
.btn--block{display:flex; width:100%; padding-inline:var(--space-2)}
.btn[aria-busy="true"]{cursor:progress}
.btn:disabled{cursor:default}

/* ---------- Panels and chips ---------- */
.panel{background:var(--color-panel); border:var(--border-card); border-radius:var(--radius-lg); box-shadow:var(--shadow-panel); padding:var(--space-4)}
@media (min-width:768px){ .panel{padding:var(--space-6)} }
.chips{display:flex; flex-wrap:wrap; gap:var(--space-2) var(--space-3)}
.chips li{
  display:inline-flex; align-items:center; gap:var(--space-2); min-width:0; min-height:32px; padding:var(--space-1) var(--space-3);
  font-family:var(--font-label); font-weight:var(--weight-label); font-size:var(--fs-xs); letter-spacing:var(--tracking-label); text-transform:var(--case-label);
  color:var(--color-text); overflow-wrap:anywhere;
  background:var(--color-field); border:var(--border-card); border-radius:var(--radius-sm);
}
.chips__icon{width:16px; height:16px; color:var(--color-accent)}

/* ---------- Sections ---------- */
.section{padding:var(--section-y) 0}
.section--alt{background:var(--color-bg-alt); border-block:var(--border-line)}
.section-head{max-width:var(--container-narrow); margin-bottom:clamp(1.75rem, 1.4rem + 1.6vw, 3rem)}
.section-head .h2 + .lead{margin-top:var(--space-3)}
/* Anchors and focus land clear of the sticky header */
section[id], form[id]{scroll-margin-top:calc(var(--header-h) + var(--space-4))}
main :is(a, button, summary, .input){scroll-margin-top:calc(var(--header-h) + var(--space-8))}

/* A box with a hard shadow is set in from the column's right edge by exactly its shadow, so box and shadow
   together end on that edge, everywhere. */
.cards, .plans, .photo-grid, .compare__cards{padding-right:var(--shadow-inset-card)}
.compare__wide{margin-right:var(--shadow-inset-card)}
.hero__form, .closing__form, .hero__media{padding-right:var(--shadow-inset-panel)}

/* =====================================================================================
   Block: header
   ===================================================================================== */
.site-header{
  position:sticky; top:0; z-index:var(--z-sticky); min-height:var(--header-h);
  display:flex; align-items:center; justify-content:space-between; gap:var(--space-3);
  /* its contents sit on the page's column, not on the window's edges */
  padding:var(--space-1) max(var(--gutter), calc((100% - var(--container)) / 2)); background:var(--color-bg); border-bottom:var(--border-width) solid var(--color-line);
}
.site-header__brand{
  display:flex; align-items:center; gap:var(--space-2); min-height:var(--control-h-sm); min-width:0;
  font-size:var(--fs-brand); line-height:var(--leading-tight);
  text-transform:var(--case-button); color:var(--color-text); text-decoration:none; overflow-wrap:anywhere;
}
.site-header__brand:hover{color:var(--color-accent-strong)}
/* the brand's mark: a square the theme paints (a size of 0 in the tokens leaves it out) */
.site-header__brand::before{content:""; flex:none; width:var(--brand-mark-size); height:var(--brand-mark-size)}
.site-header__brand img{height:28px; width:auto}
.site-header__cta{flex:none}

/* =====================================================================================
   Block: hero. In the page and on phones: headline, subline, form, the hero's own button, chips,
   photo, so the form's button is on the first screen. Wide screens: copy and form beside the
   photo (or, with no photo, the form beside the copy).
   ===================================================================================== */
.hero{padding:var(--space-3) 0 var(--section-y); border-bottom:var(--border-width) solid var(--color-line)}
.hero__grid{display:grid; gap:var(--space-3); grid-template-columns:minmax(0, 1fr)}
.hero__sub{color:var(--color-text)}
.hero__chips{margin-top:var(--space-2)}
.hero__media{margin-top:var(--space-5)}
@media (max-width:767px){
  .hero__cta{margin-top:var(--space-3)}
  .hero .panel{padding:var(--space-3)}
  .hero .lead{font-size:var(--fs-base); line-height:var(--leading-heading)}
  .hero .lead-form__fields{gap:var(--space-2)}
  .hero .lead-form__submit{margin-top:var(--space-3)}
  .hero .input{min-height:var(--control-h-sm)}
  /* one main action: the form's button is the tall one, the hero's own button the small one */
  .hero__cta .btn{--_h:var(--control-h-sm)}
}
/* A short phone screen (toolbars showing, or a small phone): the hero form is name, email and send, so the
   button is on the first screen with room under it. The plan is asked in the closing form. */
@media (max-width:767px) and (max-height:619px){
  .hero .field--plan{display:none}
}
/* The shortest screens (a small phone with the browser's bars showing, about 454px): the form comes straight
   after the headline and the subline follows it, so the button is still on the first screen. Nothing is
   hidden, and the order a keyboard or a screen reader meets is unchanged. */
@media (max-width:767px) and (max-height:532px){
  .hero__sub{order:1}
  .hero__cta, .hero__chips, .hero__media{order:2}
}
@media (min-width:768px){
  .hero{padding-top:var(--space-8)}
  .hero__grid{gap:var(--space-5)}
  .hero__form{max-width:572px}
  .hero__media{max-width:760px}
  .hero--media .lead-form__fields{grid-template-columns:repeat(2, minmax(0, 1fr))}
  .hero--media .lead-form__fields > .field:last-child:nth-child(odd){grid-column:1 / -1}
}
@media (min-width:1024px){
  .hero{padding-top:clamp(2.5rem, 1rem + 3.5vw, 4.5rem)}
  /* no photo: the form stands beside the copy */
  .hero__grid{
    grid-template-columns:minmax(0, 1fr) minmax(0, 452px); column-gap:clamp(2.5rem, 5vw, 5rem); row-gap:var(--space-5);
    grid-template-areas:"title form" "sub form" "cta form" "chips form" "rest form"; grid-template-rows:auto auto auto auto 1fr;
  }
  .hero__title{grid-area:title; align-self:end}
  .hero__sub{grid-area:sub}
  .hero__cta{grid-area:cta}
  .hero__chips{grid-area:chips; margin-top:0}
  .hero__form{grid-area:form; max-width:none; align-self:start}
  /* with a photo: headline, subline and form on one side, the photo on the other, the rest in a row beneath */
  .hero--media .hero__grid{
    grid-template-columns:minmax(0, 11fr) minmax(0, 9fr);
    grid-template-areas:"title media" "sub media" "form media" "cta chips"; grid-template-rows:auto auto 1fr auto;
  }
  .hero--media .hero__title{align-self:start}
  .hero--media .hero__media{grid-area:media; align-self:center; margin-top:0; max-width:none}
  .hero--media .hero__cta{margin-top:var(--space-3)}
  .hero--media .hero__chips{align-self:center; margin-top:var(--space-3)}
}

/* A framed photo with a caption bar (the hero's) */
.screen{background:var(--color-field); border:var(--border-frame); border-radius:var(--radius-md); box-shadow:var(--shadow-frame)}
.hero__media.screen{padding-right:0; margin-right:var(--shadow-inset-panel)}
.screen__img{position:relative}
/* what lies over the photo (the look's scan lines): a token, "none" for a look without any */
.screen__img::after{content:""; position:absolute; inset:0; pointer-events:none; background:var(--screen-overlay)}
.screen__img img{width:100%; aspect-ratio:5 / 4; object-fit:cover}
.screen__bar{
  display:flex; justify-content:space-between; gap:var(--space-4); padding:var(--space-3) var(--space-4);
  font-family:var(--font-label); font-weight:var(--weight-label); font-size:var(--fs-xs); letter-spacing:var(--tracking-label); text-transform:var(--case-label);
  color:var(--color-text-muted); background:var(--color-panel); border-top:var(--border-frame); overflow-wrap:anywhere;
}
.screen__bar b{font-weight:var(--weight-label); color:var(--color-accent); text-align:right}

/* =====================================================================================
   The lead form (used by the hero and the closing block)
   ===================================================================================== */
.lead-form{min-width:0}
.lead-form__title{margin-bottom:var(--space-4)}
.lead-form__fields{display:grid; gap:var(--space-3); grid-template-columns:minmax(0, 1fr)}
.field{display:grid; gap:var(--space-1); min-width:0; align-content:start}
.field__label{
  font-family:var(--font-label); font-weight:var(--weight-label); font-size:var(--fs-xs); line-height:var(--leading-heading);
  letter-spacing:var(--tracking-label); text-transform:var(--case-label); color:var(--color-text);
}
.field__req{color:var(--color-highlight)}
.input{
  display:block; width:100%; min-width:0; min-height:var(--field-h); padding:var(--space-2) var(--space-3);
  font-family:var(--font-body); font-size:var(--fs-base); line-height:var(--leading-heading); color:var(--color-text);
  background-color:var(--color-field); border:var(--border-control); border-radius:var(--radius-sm); box-shadow:var(--shadow-field);
  transition:border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.input::placeholder{color:var(--color-text-muted); opacity:1}
.input:hover, .input:focus{border-color:var(--color-accent)}
.input:focus{box-shadow:var(--shadow-field-focus)}
.input[aria-invalid="true"]{border-color:var(--color-error)}
.textarea{min-height:calc(var(--field-h) * 2); resize:vertical}
/* The select keeps its native menu; the arrow is drawn from two gradients so it follows the tokens */
.select{
  appearance:none; -webkit-appearance:none; padding-right:var(--space-8);
  background-image:linear-gradient(45deg, transparent 50%, var(--color-accent) 50%), linear-gradient(135deg, var(--color-accent) 50%, transparent 50%);
  background-position:right 20px center, right 14px center; background-size:6px 6px; background-repeat:no-repeat;
}
.field__error{font-size:var(--fs-xs); font-weight:var(--weight-strong); color:var(--color-error); text-wrap:balance}
.lead-form__submit{display:grid; gap:var(--space-2); margin-top:var(--space-4)}
.lead-form__send-error{padding:var(--space-2) var(--space-3); background:var(--color-error-soft); border-left:var(--border-width) solid var(--color-error)}
.lead-form__note{font-size:var(--fs-xs); line-height:var(--leading-heading); color:var(--color-text-muted)}
.lead-form__done{display:grid; gap:var(--space-2); min-width:0; overflow-wrap:anywhere; padding-left:var(--space-4); border-left:var(--border-width) solid var(--color-success)}
.lead-form__done-title{color:var(--color-success)}
.lead-form__done-title:focus{outline:none}
.lead-form__done-title:focus-visible{outline:var(--focus-width) solid var(--color-focus); outline-offset:var(--focus-offset)}
.lead-form__done p{color:var(--color-text)}
@media (min-width:600px){
  .closing .lead-form__fields{grid-template-columns:repeat(2, minmax(0, 1fr))}
  .field--wide{grid-column:1 / -1}
}
/* The privacy line: its link is a full tap target, so it stands on a line of its own */
.lead-form__privacy :is(a, span){font-weight:var(--weight-strong)}
.lead-form__privacy a{display:inline-block; padding:var(--space-3) 0}

/* The plain page the endpoint answers a script-less form with: one panel, the answer, a way back */
.result{min-height:100vh; display:grid; align-items:center}
.result__panel{display:grid; gap:var(--space-4); justify-items:start}
.result__body{color:var(--color-text); max-width:var(--measure)}

/* =====================================================================================
   Block: features ("what you get")
   ===================================================================================== */
.cards{display:grid; gap:var(--space-6) var(--space-5); grid-template-columns:minmax(0, 1fr)}
@media (min-width:600px){ .cards{grid-template-columns:repeat(2, minmax(0, 1fr))} }
@media (min-width:1024px){ .cards{grid-template-columns:repeat(3, minmax(0, 1fr)); gap:var(--space-7) var(--space-6)} }
.card{display:grid; align-content:start; gap:var(--space-2); min-width:0; padding:var(--space-5); background:var(--color-surface); border:var(--border-card); border-radius:var(--radius-md); box-shadow:var(--shadow-card)}
.card__icon{width:var(--icon-tile-size); height:var(--icon-tile-size); padding:var(--icon-tile-pad); margin-bottom:var(--space-3); color:var(--color-accent); border:var(--border-icon-tile)}
.card__title{margin-bottom:var(--space-1)}
.card__body{color:var(--color-text)}

/* =====================================================================================
   Block: compare. Our column (`is-us`, one at most) is tinted in the light accent with dark
   text, in the table and as a card, so it is easy to find on any screen (Valera 2026-12-02).
   A row marked as the decision row is tinted too. From 960px it is the table. Under that each
   column is a card (the place, then each criterion and its answer), two across from 600px,
   so it reads on a 320px screen and nothing scrolls sideways. CSS shows one, never both.
   ===================================================================================== */
.compare__wide{display:none}
.compare__cards{display:grid; gap:var(--space-6) var(--space-5); grid-template-columns:minmax(0, 1fr)}
@media (min-width:600px){ .compare__cards{grid-template-columns:repeat(2, minmax(0, 1fr))} }
.compare__card{min-width:0; background:var(--color-surface); border:var(--border-card); border-radius:var(--radius-md); box-shadow:var(--shadow-card)}
.compare__place{padding:var(--space-3) var(--space-4); border-bottom:var(--border-card)}
/* one grid for the whole list, so the criteria share a column wide enough for the longest of them on one line */
.compare__list{display:grid; grid-template-columns:fit-content(46%) minmax(0, 1fr)}
.compare__list > div{display:contents}
.compare__list :is(dt, dd){padding:var(--space-2) var(--space-4); border-top:var(--border-line)}
.compare__list > div:first-child :is(dt, dd){border-top:0}
.compare__list dt{
  padding-right:0; padding-top:calc(var(--space-2) + .25em);
  font-family:var(--font-label); font-weight:var(--weight-label); font-size:var(--fs-xs); line-height:var(--leading-heading); letter-spacing:var(--tracking-label);
  text-transform:var(--case-label); color:var(--color-text-muted);
}
.compare__list dd{font-size:var(--fs-sm); line-height:var(--leading-body); color:var(--color-text); overflow-wrap:anywhere}
.compare__list .is-decision :is(dt, dd){background:var(--color-accent-soft)}
.compare__list .is-decision dd{color:var(--color-heading)}
/* our card: the whole card in the light accent, its words dark; alone on its row (an odd count, two across), it spans the row */
.compare__card.is-us{background:var(--color-ours); border-color:var(--color-ours)}
.compare__card.is-us :is(.compare__place, dt, dd){color:var(--color-on-ours)}
.compare__card.is-us .compare__place{border-bottom-color:var(--color-ours-line)}
.compare__card.is-us .compare__list :is(dt, dd){border-top-color:var(--color-ours-line)}
.compare__card.is-us .is-decision :is(dt, dd){background:var(--color-ours-strong)}
@media (min-width:600px) and (max-width:959px){ .compare__card.is-us:last-child:nth-child(odd){grid-column:1 / -1} }
@media (min-width:960px){
  .compare__cards{display:none}
  .compare__wide{display:block}
  .compare__table{width:100%; table-layout:fixed; border-collapse:collapse; background:var(--color-panel); box-shadow:var(--shadow-card)}
  .compare__table :is(th, td){padding:var(--space-3); text-align:left; vertical-align:top; border:var(--border-width) solid var(--color-line); overflow-wrap:anywhere}
  .compare__table th{
    font-family:var(--font-label); font-weight:var(--weight-label); font-size:var(--fs-xs); line-height:var(--leading-heading); letter-spacing:var(--tracking-label);
    text-transform:var(--case-label); color:var(--color-text-muted);
  }
  .compare__table thead th{color:var(--color-text); background:var(--color-field)}
  .compare__corner{width:15%}
  .compare__table td{color:var(--color-text)}
  .compare__table .is-decision :is(th, td){color:var(--color-heading); background:var(--color-accent-soft)}
  .compare__table :is(thead th, td).is-us{color:var(--color-on-ours); background:var(--color-ours)}
  .compare__table .is-decision td.is-us{background:var(--color-ours-strong)}
}

/* =====================================================================================
   Block: space (photo grid). Cards in a row share one height.
   ===================================================================================== */
.photo-grid{display:grid; gap:var(--space-6) var(--space-5); grid-template-columns:minmax(0, 1fr)}
@media (min-width:520px){ .photo-grid{grid-template-columns:repeat(2, minmax(0, 1fr))} .photo-grid--1{grid-template-columns:minmax(0, 720px)} }
@media (min-width:900px){ .photo-grid{gap:var(--space-6)} .photo-grid--3{grid-template-columns:repeat(3, minmax(0, 1fr))} }
.photo-grid > li{display:flex; min-width:0}
.photo{flex:1; display:flex; flex-direction:column; min-width:0; background:var(--color-panel); border:var(--border-card); border-radius:var(--radius-md); box-shadow:var(--shadow-card); overflow:hidden}
.photo img{width:100%; aspect-ratio:4 / 3; object-fit:cover; background:var(--color-bg-alt)}
.photo figcaption{flex:1; padding:var(--space-3) var(--space-4); font-size:var(--fs-sm); line-height:var(--leading-heading); color:var(--color-text-muted); border-top:var(--border-card); overflow-wrap:anywhere}

/* =====================================================================================
   Block: pricing (one to three plans). Each card's six parts sit on shared rows, so names,
   prices, lists and buttons line up across the cards whatever their text runs to.
   ===================================================================================== */
.plans{display:grid; gap:var(--space-8) var(--space-6); grid-template-columns:minmax(0, 1fr); margin-top:var(--space-8)}
@media (min-width:860px){
  .plans--2, .plans--3{grid-template-columns:repeat(2, minmax(0, 1fr))}
  .plans--1{max-width:460px}
}
/* three across only where the longest button label holds one line */
@media (min-width:1200px){ .plans--3{grid-template-columns:repeat(3, minmax(0, 1fr))} }
.plan{
  position:relative; display:grid; grid-template-rows:auto auto auto auto 1fr auto; row-gap:var(--space-3); align-content:start; min-width:0;
  padding:0 var(--space-5) var(--space-5); background:var(--color-surface); border:var(--border-plan); border-radius:var(--radius-md); box-shadow:var(--shadow-card);
}
@supports (grid-template-rows:subgrid){ .plan{grid-row:span 6; grid-template-rows:subgrid} }
.plan.is-featured{border:var(--border-frame)}
/* the name is a bar across the top of the card, edge to edge (the theme gives it its ground) */
.plan__name{grid-row:1; margin:0 calc(-1 * var(--space-5)); padding:var(--space-3) var(--space-5); border-bottom:var(--border-card)}
.plan__for{grid-row:2; padding-top:var(--space-1); color:var(--color-text-muted); font-size:var(--fs-sm)}
.plan__price{grid-row:3; display:flex; flex-wrap:wrap; align-items:baseline; gap:var(--space-1) var(--space-3)}
.plan__label{grid-row:4; font-family:var(--font-label); font-weight:var(--weight-label); font-size:var(--fs-xs); letter-spacing:var(--tracking-label); text-transform:var(--case-label); color:var(--color-text-muted); padding-top:var(--space-3); border-top:var(--border-line)}
.plan__includes{grid-row:5; display:grid; align-content:start; margin-bottom:var(--space-3)}
.plan__cta{grid-row:6}   /* stretched: the buttons in a row are one height, whatever their labels run to */
/* The badge is a tab standing on the card's top edge, on its own ground: it never touches the plan's name */
.plan__badge{
  position:absolute; bottom:100%; left:calc(-1 * var(--border-width-heavy)); max-width:100%; padding:var(--space-1) var(--space-3);
  font-family:var(--font-label); font-weight:var(--weight-label); font-size:var(--fs-xs); line-height:var(--leading-heading);
  letter-spacing:var(--tracking-label); text-transform:var(--case-label); color:var(--color-on-badge); background:var(--color-badge);
  border:var(--border-frame); border-bottom:0; border-radius:var(--radius-sm); overflow-wrap:anywhere;
}
.plan__amount{font-size:var(--fs-xl); line-height:var(--leading-tight); color:var(--color-heading); min-width:0; overflow-wrap:anywhere}
.plan__amount .tbc{font-size:var(--fs-xs)}
.plan__unit{color:var(--color-text-muted)}
.plan__includes li{display:flex; align-items:flex-start; gap:var(--space-3); min-width:0; padding:var(--space-2) 0; border-bottom:var(--border-line)}
.plan__includes span{min-width:0; overflow-wrap:anywhere}
.plan__check{width:var(--check-size); height:var(--check-size); margin-top:var(--check-drop); color:var(--color-accent)}

/* =====================================================================================
   Block: steps ("how it works")
   ===================================================================================== */
.steps__list{display:grid; gap:var(--space-6); grid-template-columns:minmax(0, 1fr); counter-reset:step}
@media (min-width:760px){
  .steps__list--2{grid-template-columns:repeat(2, minmax(0, 1fr))}
  .steps__list--3{grid-template-columns:repeat(3, minmax(0, 1fr))}
  .steps__list--4{grid-template-columns:repeat(4, minmax(0, 1fr))}
}
.step{display:grid; align-content:start; gap:var(--space-3); min-width:0; padding-top:var(--space-4); border-top:var(--border-accent); counter-increment:step}
.step::before{
  content:counter(step, decimal-leading-zero); justify-self:start; padding:var(--space-2) var(--space-2) var(--space-1) var(--space-3);
  font-size:var(--fs-brand); line-height:1; color:var(--color-on-accent); background:var(--color-accent); border-radius:var(--radius-sm);
}
.step__body{color:var(--color-text)}

/* =====================================================================================
   Block: FAQ (native details and summary). Answers keep to the page's measure.
   ===================================================================================== */
.faq__list{display:grid; gap:var(--space-3)}
.faq__item{background:var(--color-bg); border:var(--border-card); border-radius:var(--radius-md)}
.faq__item[open]{border-color:var(--color-accent)}
.faq__q{
  display:flex; align-items:center; justify-content:space-between; gap:var(--space-4); min-height:var(--control-h); padding:var(--space-3) var(--space-4);
  font-weight:var(--weight-strong); line-height:var(--leading-heading); color:var(--color-heading); cursor:pointer; list-style:none; overflow-wrap:anywhere;
}
.faq__q::-webkit-details-marker{display:none}
.faq__q span{min-width:0; text-wrap:balance}
.faq__icon{width:20px; height:20px; color:var(--color-accent); transition:transform var(--dur-base) var(--ease)}
.faq__item[open] .faq__icon{transform:rotate(180deg)}
.faq__a{padding:0 var(--space-4) var(--space-4); color:var(--color-text); overflow-wrap:anywhere}
.faq__a p{max-width:var(--measure)}

/* =====================================================================================
   Block: closing (the form again)
   ===================================================================================== */
.closing{border-top:var(--border-width) solid var(--color-line)}
.closing__grid{display:grid; gap:var(--space-6); grid-template-columns:minmax(0, 1fr)}
.closing__copy{display:grid; align-content:start; gap:var(--space-4); min-width:0}
.closing__form{min-width:0}
@media (min-width:960px){
  .closing__grid{grid-template-columns:minmax(0, 5fr) minmax(0, 6fr); column-gap:clamp(2.5rem, 5vw, 5rem); align-items:start}
}

/* =====================================================================================
   Block: footer
   ===================================================================================== */
.site-footer{padding:var(--space-8) 0; background:var(--color-bg); border-top:var(--border-width) solid var(--color-line); font-size:var(--fs-sm); color:var(--color-text-muted)}
.site-footer__grid{display:grid; gap:var(--space-4); grid-template-columns:minmax(0, 1fr)}
.site-footer__brand{font-size:var(--fs-brand); line-height:var(--leading-tight); text-transform:var(--case-button); color:var(--color-text); overflow-wrap:anywhere}
.site-footer__address{font-style:normal}
.site-footer__address a{display:inline-block; padding:var(--space-2) 0; color:var(--color-text)}
.site-footer__address a:hover{color:var(--color-accent-strong)}
.site-footer__links{display:flex; flex-wrap:wrap; gap:var(--space-2) var(--space-5)}
.site-footer__links a{display:inline-block; padding:var(--space-3) 0}
.site-footer__note{font-size:var(--fs-xs)}
@media (min-width:768px){
  .site-footer__grid{grid-template-columns:minmax(0, 1fr) auto; align-items:start}
  .site-footer__address{text-align:right}
  .site-footer__links, .site-footer__note{grid-column:1 / -1}
}

/* =====================================================================================
   High-contrast mode (forced colours). The system drops backgrounds and shadows, which are
   all a button is drawn with here, so each control gets a real edge in the system's own
   colours and the marks that were only a fill keep a shape.
   ===================================================================================== */
@media (forced-colors: active){
  .btn{border:2px solid ButtonText}
  .btn:hover, .btn:focus-visible{border-color:Highlight}
  .skip-link, .plan__badge, .build-flag, .tbc, .tbc__tag, .step::before{border:1px solid CanvasText}
  .lead-form__send-error{border:1px solid CanvasText}
  .plan__check, .site-header__brand::before{forced-color-adjust:none; background:CanvasText}
  .screen__img::after{display:none}
}
