/* ASMT brochure — styles built on the ASMT design system tokens (light theme). */
/* Public Sans, self-hosted. Served from our own origin so no request, and no
   visitor IP address, ever reaches a third party - see the privacy policy.
   Variable font: one file covers the whole 400-700 range. The unicode-range
   split is Google's own: latin-ext carries the Polish diacritics, and a
   browser only downloads a subset once the page actually uses a character
   from it. Regenerate by re-downloading the two woff2 files from
   fonts.gstatic.com if the family is ever updated upstream. */
@font-face{
  font-family:"Public Sans";
  font-style:normal;
  font-weight:400 700;
  font-display:swap;
  src:url("fonts/public-sans-latin-ext.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:"Public Sans";
  font-style:normal;
  font-weight:400 700;
  font-display:swap;
  src:url("fonts/public-sans-latin.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{
  /* color */
  --surface:#f7f5ef;
  --surface-raised:#ffffff;
  --surface-sunken:#ebe8df;
  --ink:#1e2a35;
  --ink-muted:#4d5866;
  --hairline:#dcd8c9;
  --border:#78828f;
  --navy:#15306b;
  --navy-hover:#0f2555;
  --on-navy:#ffffff;
  --navy-soft:#e0e7f4;
  --emerald:#187a5a;
  --emerald-deep:#12634a;
  --on-emerald:#ffffff;
  --emerald-soft:#d9eee6;
  --burgundy:#7a2d3e;
  --gold:#e8b45b;
  --warning:#7a4f00;
  --logo-plate:#ffffff;
  --focus-ring:#15306b;
  /* radius */
  --radius-sm:4px;
  --radius-md:8px;
  --radius-lg:12px;
  --radius-pill:999px;
  /* shadow */
  --shadow-sm:0 1px 2px rgba(30,42,53,.08);
  --shadow-md:0 6px 20px rgba(30,42,53,.12);
  /* type */
  --font-sans:"Public Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
  --wrap:1200px;
  /* header — the card height is fixed here so it cannot be pushed around by
     label length, font swaps or the burger button on a given page/language */
  --topbar-h:65px;
  --topbar-gap:14px;
  --topbar-total:calc(var(--topbar-h) + var(--topbar-gap) * 2);
  /* the header collapses to the burger at 1080px - a media query cannot read a
     custom property, so that number lives in the @media rule below. It is set
     by the longest nav, Polish, which needs about 1040px to fit on one line. */
}
*{box-sizing:border-box}
/* The canvas colour lives on the root, not on body, so it is painted before
   the page-in animation below starts and does not fade with the content. */
html{background:var(--surface);-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:calc(var(--topbar-total) + 8px)}
body{
  margin:0;font-family:var(--font-sans);color:var(--ink);
  font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
}

/* Page arrival: content dissolves in from the canvas colour. Plain CSS, so it
   works in every browser and needs no script - but note that only this
   incoming half is possible without JavaScript. CSS cannot postpone a
   navigation, so the outgoing page always disappears at once.

   Deliberately not on <body>: an opacity below 1 makes the animated element a
   containing block for position:fixed children, which would tear .topbar off
   the viewport for the duration. On a page opened at an anchor (/#faq) or
   restored mid-scroll that is a visible jump. Leaving the fixed header out of
   the fade also makes navigation read as a change of content rather than a
   full reload. */
@keyframes asmt-page-in{from{opacity:0}}
main,.footer{animation:asmt-page-in 250ms ease-out both}
@media(prefers-reduced-motion:reduce){
  main,.footer{animation:none}
  html{scroll-behavior:auto}
}
img{max-width:100%;display:block}
a{color:var(--navy);text-decoration:none}
a:hover{color:var(--navy-hover)}
/* A link inside running text is underlined: navy alone is too close to the
   dark body copy to tell apart. Buttons and card links carry a class. */
p a:not([class]){text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
p a:not([class]):hover{text-decoration-thickness:2px}
h1,h2,h3,h4{font-family:var(--font-sans);color:var(--ink);margin:0 0 .5em;line-height:1.1}
h1{font-size:clamp(40px,6vw,64px);font-weight:700;letter-spacing:-0.02em}
h2{font-size:clamp(28px,4vw,40px);font-weight:650;letter-spacing:-0.01em}
h3{font-size:clamp(20px,2.4vw,24px);font-weight:650}
h4{font-size:18px;font-weight:600}
p{margin:0 0 1em;text-wrap:pretty;max-width:70ch}
strong{font-weight:650;color:var(--ink)}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 32px}
.eyebrow{font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--emerald-deep);margin:0 0 16px}
.lead{font-size:19px;line-height:1.5;color:var(--ink-muted);max-width:64ch}
.center{text-align:center;margin-left:auto;margin-right:auto}
/* Read out by screen readers, never painted. */
.visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
section{padding:clamp(48px,8vw,96px) 0}
.section-tight{padding:clamp(32px,5vw,56px) 0}

/* Buttons — flat, radius-md, no pills */
.btn{display:inline-flex;align-items:center;gap:8px;font-family:var(--font-sans);font-weight:600;font-size:15px;line-height:1;white-space:nowrap;
  padding:12px 18px;border-radius:var(--radius-md);border:1px solid transparent;cursor:pointer;transition:background .15s ease,color .15s ease}
.btn:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}
.btn-primary{background:var(--navy);color:var(--on-navy)}
.btn-primary:hover{background:var(--surface-sunken);color:var(--navy);border-color:var(--navy)}
.btn-navy{background:var(--navy);color:var(--on-navy)}
.btn-navy:hover{background:var(--surface-sunken);color:var(--navy);border-color:var(--navy)}
.btn-secondary,.btn-ghost{background:var(--surface-raised);color:var(--ink);border-color:var(--border)}
.btn-secondary:hover,.btn-ghost:hover{background:var(--surface-sunken);color:var(--ink)}
.btn-light{background:var(--surface-raised);color:var(--navy);border-color:transparent}
.btn-light:hover{background:var(--surface-sunken);color:var(--navy)}
.btn-on-dark{background:transparent;color:var(--on-navy);border-color:rgba(255,255,255,.55)}
.btn-on-dark:hover{background:rgba(255,255,255,.12);color:var(--on-navy)}
.btn .arw{font-size:1.05em;transform:translateY(-1px)}

/* Topbar */
.topbar{position:fixed;top:0;left:0;right:0;z-index:50;padding:var(--topbar-gap) 0;height:var(--topbar-total)}
.topbar-inner{max-width:1280px;margin:0 auto;height:100%;padding:8px 20px;display:flex;align-items:center;gap:24px;
  background:rgba(247,245,239,.86);backdrop-filter:saturate(150%) blur(14px);-webkit-backdrop-filter:saturate(150%) blur(14px);
  border:1px solid var(--hairline);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm)}
.brand{display:flex;align-items:center;gap:11px;font-weight:700;font-size:24px;line-height:1;letter-spacing:-.01em;color:var(--ink)}
.brand:hover{color:var(--ink)}
.brand img{width:30px;height:30px;flex:none}
.nav{display:flex;align-items:center;gap:24px;margin-left:auto}
.nav a{color:var(--ink);white-space:nowrap}
/* Only the plain links take the nav type scale - the .lang pills and the .btn
   carry their own, and a blanket `.nav a` would out-specify both. */
.nav > a:not(.btn){font-weight:500;font-size:15px}
.nav a:hover{color:var(--navy)}
.nav a[aria-current="page"]:not(.btn){text-decoration:underline;text-decoration-color:var(--emerald);text-decoration-thickness:2px;text-underline-offset:5px}
.nav .lang{display:flex;border:1px solid var(--border);border-radius:var(--radius-md);overflow:hidden}
.nav .lang a{padding:5px 10px;font-size:13px;font-weight:600;line-height:1.4;color:var(--ink-muted)}
.nav .lang a + a{border-left:1px solid var(--navy)}
.nav .lang a.on{background:var(--navy);color:var(--on-navy)}
.nav a.btn-primary,.nav a.btn-navy{color:var(--on-navy)}
.nav a.btn-primary:hover,.nav a.btn-navy:hover{color:var(--navy)}
.menu-toggle,.menu-btn{display:none}

/* Hero */
.hero{position:relative;min-height:min(86vh,760px);display:flex;flex-direction:column;color:var(--on-navy);overflow:hidden;
  padding-top:calc(var(--topbar-total) + 16px)}
.hero .ph{position:absolute;inset:0;border:none;border-radius:0}
.hero .ph::before{display:none}
.hero-photo{position:absolute;inset:0;background:
  linear-gradient(180deg,rgba(15,32,74,.42) 0%,rgba(13,25,58,.55) 45%,rgba(9,18,42,.86) 100%),var(--navy)}
.hero-photo .tag{position:absolute;top:calc(var(--topbar-total) + 16px);left:0;right:0;color:rgba(255,255,255,.4);font-size:12px;letter-spacing:.12em;text-transform:uppercase;text-align:center;font-weight:600}
.hero .hero-inner{position:relative;z-index:2;margin-top:auto;padding-bottom:clamp(48px,7vw,88px)}
.hero h1{color:var(--on-navy);max-width:16ch}
.hero .lead{color:rgba(255,255,255,.92);margin-bottom:28px}
.hero .cta-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:4px}
.hero .kicker{color:#9fdcc4}

/* Placeholder media */
.ph{position:relative;background:var(--surface-sunken);border:1px dashed var(--hairline);border-radius:var(--radius-lg);
  display:flex;align-items:center;justify-content:center;overflow:hidden;color:var(--ink)}
.ph::before{content:"";position:absolute;inset:0;
  background-image:linear-gradient(45deg,rgba(30,42,53,.035) 25%,transparent 25%,transparent 75%,rgba(30,42,53,.035) 75%),
  linear-gradient(45deg,rgba(30,42,53,.035) 25%,transparent 25%,transparent 75%,rgba(30,42,53,.035) 75%);
  background-size:26px 26px;background-position:0 0,13px 13px}
.ph .ph-label{position:relative;z-index:1;font-size:13px;font-weight:500;color:var(--ink-muted);text-align:center;padding:14px 18px;max-width:80%}
.ph .ph-label span{display:block;font-size:11px;color:var(--emerald-deep);letter-spacing:.1em;text-transform:uppercase;margin-bottom:4px;font-weight:600}
.ratio-16-9{aspect-ratio:16/9}
.ratio-4-3{aspect-ratio:4/3}
.ratio-1-1{aspect-ratio:1/1}
.ratio-3-2{aspect-ratio:3/2}
.ratio-21-9{aspect-ratio:21/9}

/* Photo slider - partials/slider.html, driven by slider.js. Without the
   script it is a plain scroll-snap row and the controls stay [hidden]. Every
   photo is shown whole, over a blurred copy of itself filling the frame: the
   same URL and srcset, so the copy costs no second download.
   The autoplay clock is the active dot's fill animation below - slider.js
   advances on its animationend, so --slider-interval is the only timing. */
.slider{--slider-interval:5s;position:relative}
.slider [hidden]{display:none}
/* Once max-height caps the frame, aspect-ratio narrows its width to match,
   so the auto margins keep it centred over the dots rather than at the left. */
.slider-viewport{position:relative;aspect-ratio:16/9;max-height:max(320px,75vh);margin:0 auto}
.slider-track{position:absolute;inset:0;display:flex;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;
  scroll-snap-type:x mandatory;border-radius:var(--radius-lg);background:var(--surface-sunken)}
.slider-track:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}
.slider.is-ready .slider-track{scrollbar-width:none}
.slider.is-ready .slider-track::-webkit-scrollbar{display:none}
.slide{position:relative;flex:0 0 100%;overflow:hidden;scroll-snap-align:start;scroll-snap-stop:always}
.slide-photo{position:relative;z-index:1;width:100%;height:100%;object-fit:contain}
.slide-backdrop{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transform:scale(1.2);filter:blur(28px) saturate(1.2);opacity:.6}
/* Controls over the photo take the topbar's frosted surface. */
.slider-arrow,.slider-status{position:absolute;z-index:2;background:rgba(247,245,239,.86);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  border:1px solid var(--hairline);border-radius:var(--radius-md);box-shadow:var(--shadow-sm);color:var(--ink)}
.slider-arrow{top:50%;transform:translateY(-50%);width:44px;height:44px;display:flex;align-items:center;justify-content:center;padding:0;cursor:pointer;transition:background .15s ease}
.slider-arrow:hover{background:var(--surface-raised)}
.slider-prev{left:14px}
.slider-next{right:14px}
.slider-status{right:14px;bottom:14px;display:flex;align-items:center;gap:2px;padding:3px 3px 3px 12px;font-size:13px;font-weight:600;line-height:1;font-variant-numeric:tabular-nums}
.slider-toggle{width:32px;height:32px;display:flex;align-items:center;justify-content:center;padding:0;border:0;border-radius:var(--radius-sm);background:none;color:inherit;cursor:pointer}
.slider-toggle:hover{background:var(--surface-sunken)}
.slider-toggle svg{display:block}
.slider-toggle .i-pause,.slider.is-playing .slider-toggle .i-play{display:none}
.slider.is-playing .slider-toggle .i-pause{display:block}
.slider button:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}
/* Dots: 24px targets around an 8px dot; the current one widens into a bar
   that fills while autoplay counts down, and stays full once it is stopped. */
.slider-dots{display:flex;justify-content:center;margin-top:10px}
.slider-dot{position:relative;width:24px;height:24px;padding:0;border:0;border-radius:var(--radius-sm);background:none;cursor:pointer;transition:width .25s ease}
.slider-dot::before,.slider-dot::after{content:"";position:absolute;inset:8px;border-radius:var(--radius-pill)}
.slider-dot::before{background:var(--border);transition:background .15s ease}
.slider-dot:hover::before{background:var(--ink-muted)}
.slider-dot::after{background:var(--navy);clip-path:inset(0 100% 0 0)}
.slider-dot[aria-current="true"]{width:44px}
.slider-dot[aria-current="true"]::before,.slider-dot[aria-current="true"]::after{inset:8px 6px}
.slider-dot[aria-current="true"]::after{clip-path:inset(0)}
.slider.is-playing .slider-dot[aria-current="true"]::after{animation:slider-progress var(--slider-interval) linear both}
/* As specific as the rule above and after it: the animation shorthand resets
   play-state to running, so a weaker selector here would simply lose. */
.slider.is-paused .slider-dot[aria-current="true"]::after{animation-play-state:paused}
@keyframes slider-progress{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0)}}
/* The fill keeps running here: it is the clock, and only moves after the
   visitor presses Play, since slider.js does not autoplay under this. */
@media(prefers-reduced-motion:reduce){.slider-dot{transition:none}}

/* Trust strip */
.trust{background:var(--navy);color:var(--on-navy)}
.trust .wrap{display:grid;grid-template-columns:repeat(3,1fr);gap:36px}
.trust .t{display:flex;flex-direction:column;gap:6px}
.trust .t b{font-size:22px;color:var(--on-navy);font-weight:650;letter-spacing:-.01em}
.trust .t span{color:rgba(255,255,255,.74);font-size:15px}
.trust .t .n{font-size:44px;line-height:1;color:#9fdcc4;font-weight:700;letter-spacing:-.02em}

/* Section header */
.sec-head{max-width:640px;margin-bottom:clamp(28px,4vw,48px)}
.sec-head.center{margin-left:auto;margin-right:auto}

/* Product cards */
.prod-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.prod-card{position:relative;isolation:isolate;background:var(--surface-raised);border:1px solid var(--hairline);border-radius:var(--radius-lg);overflow:hidden;
  display:flex;flex-direction:column;box-shadow:var(--shadow-sm);transition:box-shadow .18s ease,transform .18s ease}
.prod-card:hover{box-shadow:var(--shadow-md);transform:translateY(-2px)}
.prod-card .body{padding:28px}
.prod-card h3{margin-bottom:.35em}
.prod-card .specs{list-style:none;padding:0;margin:14px 0 22px;font-size:14px}
.prod-card .specs li{display:flex;justify-content:space-between;gap:16px;padding:8px 0;border-top:1px solid var(--hairline);color:var(--ink-muted)}
.prod-card .specs li b{color:var(--ink);font-weight:600;text-align:right}
.prod-card .cardlink{margin-top:auto;font-weight:600;font-size:15px;line-height:1;color:var(--navy);display:inline-flex;gap:8px;align-items:center;padding:12px 18px;border:1px solid var(--navy);border-radius:var(--radius-md);transition:background .15s ease,color .15s ease}
.prod-card .cardlink:hover{background:var(--surface-sunken);color:var(--navy)}
.prod-card .card-actions{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}
.prod-card:hover .cardlink{border-color:var(--navy-hover)}
/* The whole card opens the product page: the product link's ::after is
   stretched over the card, so it stays one real link - no nested anchors,
   nothing new for screen readers, no script. Hovering anywhere on the card
   is hovering that link, so it lights up. The quote button is lifted above
   the overlay and keeps its own destination. */
.prod-card .cardlink::after{content:"";position:absolute;inset:0}
.prod-card .card-actions .btn{position:relative;z-index:1}
.prod-card .cardlink .arw{transition:transform .15s ease}
.prod-card .cardlink:hover .arw{transform:translateX(3px)}
/* A card that spans the whole row, photo beside the text, so an odd card out
   does not sit alone in half a row. The photo drops its aspect ratio and
   stretches to the height of the text instead. */
.prod-card.wide{grid-column:1 / -1;display:grid;grid-template-columns:1fr 1fr}
.prod-card.wide .ph{aspect-ratio:auto;min-height:280px}

/* Value grid */
.val-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:32px 28px}
.val{text-align:center}
.val .ic{margin:0 auto}
.val-title{font-size:17px;font-weight:650;color:var(--ink);margin:14px 0 .4em}
.val p{font-size:15px;color:var(--ink-muted);margin:0 auto}
.val .ic{width:32px;height:32px;color:var(--emerald)}

/* Split */
.split{display:grid;grid-template-columns:1fr 1fr;gap:clamp(28px,5vw,64px);align-items:center}
.split.reverse .col-media{order:-1}

/* Tables */
.tbl-wrap{overflow-x:auto;border:1px solid var(--hairline);border-radius:var(--radius-lg);background:var(--surface-raised)}
table.spec{width:100%;border-collapse:collapse;font-size:15px;min-width:520px}
table.spec caption{text-align:left;font-weight:650;color:var(--ink);padding:16px 18px}
table.spec th,table.spec td{text-align:left;padding:13px 18px;border-top:1px solid var(--hairline)}
table.spec thead th{background:var(--surface-sunken);color:var(--ink);border:none;font-size:12px;letter-spacing:.04em;text-transform:uppercase;font-weight:600}
table.spec tbody th{color:var(--ink);font-weight:600;width:40%}
table.spec tbody tr:nth-child(even){background:var(--surface)}
.note{font-size:13px;color:var(--ink-muted);font-style:italic;margin-top:12px}

/* TOC */
.toc{background:var(--surface-raised);border:1px solid var(--hairline);border-radius:var(--radius-lg);padding:22px 24px;margin:0 0 8px;box-shadow:var(--shadow-sm)}
.toc p{font-weight:600;color:var(--ink);text-transform:uppercase;letter-spacing:.08em;font-size:12px;margin:0 0 12px}
.toc ol{margin:0;padding-left:1.2em;columns:2;column-gap:40px}
.toc li{margin:0 0 8px;font-size:15px}
.toc a{color:var(--navy)}

/* FAQ */
.faq{border-top:1px solid var(--hairline)}
.faq details{border-bottom:1px solid var(--hairline);padding:4px 0}
.faq summary{cursor:pointer;list-style:none;padding:20px 44px 20px 4px;position:relative;font-size:18px;color:var(--ink);font-weight:600}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";position:absolute;right:8px;top:50%;transform:translateY(-50%);font-size:24px;color:var(--emerald);font-weight:400;line-height:1}
.faq details[open] summary::after{content:"\2013"}
.faq details .a{padding:0 44px 22px 4px}
.faq details .a p{margin:0;color:var(--ink-muted)}

/* CTA band — flat navy */
.cta-band{background:var(--navy);color:var(--on-navy);border-radius:var(--radius-lg);padding:clamp(40px,6vw,64px);text-align:center}
.cta-band h2{color:var(--on-navy)}
.cta-band p{color:rgba(255,255,255,.82);margin:0 auto 24px;max-width:52ch}
.cta-band .cta-row{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}

/* Chips / badges */
.chips{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:18px 0 0}
.chips li{background:var(--surface-sunken);border:1px solid var(--hairline);border-radius:var(--radius-md);padding:6px 14px;font-size:14px;font-weight:500;color:var(--ink)}
.badge{display:inline-flex;align-items:center;gap:6px;background:var(--emerald-soft);color:var(--emerald-deep);
  border-radius:var(--radius-sm);padding:6px 12px;font-size:13px;font-weight:600}

/* Applications list */
.app-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;list-style:none;padding:0;margin:0}
.app-grid li{background:var(--surface-raised);border:1px solid var(--hairline);border-radius:var(--radius-lg);padding:22px;box-shadow:var(--shadow-sm)}
.app-grid li b{display:block;color:var(--ink);font-size:17px;font-weight:650;margin-bottom:6px}
.app-grid li span{color:var(--ink-muted);font-size:15px}

/* Contact / about */
.info-card{background:var(--surface-raised);border:1px solid var(--hairline);border-radius:var(--radius-lg);padding:28px;box-shadow:var(--shadow-sm)}
.info-card dl{margin:0;display:grid;grid-template-columns:auto 1fr;gap:12px 20px}
.info-card dt{color:var(--ink-muted);font-size:14px}
.info-card dd{margin:0;color:var(--ink);font-weight:600}
/* An h2 for the outline (the card follows the page's h1), sized like an h3. */
.info-card-title{font-size:clamp(20px,2.4vw,24px);letter-spacing:normal}

/* Form */
.form{background:var(--surface-raised);border:1px solid var(--hairline);border-radius:var(--radius-lg);padding:clamp(24px,4vw,36px);box-shadow:var(--shadow-sm)}
.form .grid2{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.field{display:flex;flex-direction:column;gap:6px;margin-bottom:18px}
.field label{font-weight:500;color:var(--ink);font-size:14px}
.field .req{color:var(--emerald-deep)}
.field input,.field select,.field textarea{font-family:var(--font-sans);font-size:16px;padding:0 12px;height:40px;border:1px solid var(--border);
  border-radius:var(--radius-md);background:var(--surface-raised);color:var(--ink);width:100%}
.field textarea{min-height:150px;height:auto;padding:12px;resize:vertical;line-height:1.5}
.field input:focus-visible,.field select:focus-visible,.field textarea:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px;border-color:var(--navy)}
.field .hint{font-size:14px;color:var(--ink-muted)}
/* Our own validation messages, replacing the browser's unstyleable bubbles. */
.field-error{margin:0;font-size:14px;line-height:1.4;color:var(--burgundy)}
.field-error[hidden]{display:none}
.field [aria-invalid="true"]{border-color:var(--burgundy)}
.field [aria-invalid="true"]:focus-visible{outline-color:var(--burgundy);border-color:var(--burgundy)}
.hp{position:absolute!important;left:-9999px!important;opacity:0;height:0;width:0;overflow:hidden}
.form-status{margin:0 0 18px;padding:12px 14px;border-radius:var(--radius-md);border:1px solid var(--burgundy);background:#fbf0f2;color:var(--burgundy);font-size:14px;line-height:1.5}
.form-status a{color:inherit}
.form-status[hidden]{display:none}
.consent{display:flex;gap:10px;align-items:flex-start;font-size:14px;color:var(--ink-muted)}
.consent input{width:auto;height:auto;margin-top:3px}

/* Breadcrumb */
.crumb{font-size:14px;color:var(--ink-muted);padding-top:calc(var(--topbar-total) + 24px)}
.crumb a{color:var(--ink-muted)}
.crumb a:hover{color:var(--navy)}
.page-head{padding:24px 0 8px}

/* anchor offset */
.anchor{scroll-margin-top:calc(var(--topbar-total) + 16px)}

/* Footer */
.footer{background:#0f2555;color:rgba(255,255,255,.78);padding:64px 0 32px;font-size:15px}
.footer a{color:rgba(255,255,255,.78)}
.footer a:hover{color:var(--on-navy)}
.footer .cols{display:grid;grid-template-columns:1.6fr 1fr 1fr 1fr;gap:40px;padding-bottom:40px;border-bottom:1px solid rgba(255,255,255,.14)}
.footer .brand{color:var(--on-navy);margin-bottom:14px}
/* An h2 for the outline (it follows the page's last section, and 404 has only
   an h1), so line-height is reset to the body's 1.5 that h2 would override. */
.footer .foot-title{color:var(--on-navy);font-size:12px;letter-spacing:.08em;text-transform:uppercase;margin:0 0 16px;font-weight:600;line-height:1.5}
.footer ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:10px}
.footer .foot-bottom{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;padding-top:22px;color:rgba(255,255,255,.6);font-size:13px}
.footer .about-blurb{max-width:36ch;color:rgba(255,255,255,.7)}
.footer a.foot-active{color:var(--on-navy);text-decoration:underline;text-decoration-color:var(--emerald);text-decoration-thickness:2px;text-underline-offset:4px}

/* Long-form legal, reference and product pages - a sticky index beside the text.
   This lives in the stylesheet rather than in an inline style on .split so the
   900px breakpoint below can actually collapse it: an inline declaration
   outranks a stylesheet rule even inside a media query. */
/* minmax(0,1fr), not 1fr: a bare 1fr track will not shrink below its content,
   so the spec table's min-width would push the column past the screen edge
   instead of scrolling inside .tbl-wrap. */
.doc-layout{display:grid;grid-template-columns:280px minmax(0,1fr);align-items:start;gap:48px}
.doc-layout .toc{position:sticky;top:110px}
.doc-layout .toc ol{columns:1}
.doc-section + .doc-section{margin-top:56px}
.doc-section dl{margin:0}

/* Quote form with its side notes; stylesheet-only for the same reason. */
.form-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);align-items:start;gap:48px}

/* Responsive */
@media(max-width:900px){
  .prod-grid,.split,.trust .wrap,.val-grid,.app-grid,.form .grid2,.footer .cols{grid-template-columns:1fr}
  .prod-card.wide{display:flex}
  .prod-card.wide .ph{aspect-ratio:3/2;min-height:0}
  .split.reverse .col-media{order:0}
  .val-grid{grid-template-columns:1fr 1fr}
  .toc ol{columns:1}
  .doc-layout,.form-layout{grid-template-columns:minmax(0,1fr)}
  .doc-layout .toc{position:static}
  .footer .cols{gap:32px}
}
@media(max-width:1080px){
  .nav{display:none;position:absolute;top:calc(100% + 10px);left:0;right:0;flex-direction:column;align-items:stretch;gap:0;
    background:var(--surface-raised);border:1px solid var(--hairline);border-radius:var(--radius-lg);padding:8px;box-shadow:var(--shadow-md)}
  .nav > a:not(.btn){padding:13px 15px;border-radius:var(--radius-md)}
  .nav a:hover{background:var(--surface-sunken)}
  .nav .lang{margin:10px 6px;width:max-content}
  .nav .lang a:hover{background:var(--surface-sunken)}
  .nav .btn{margin:6px;justify-content:center}
  .menu-btn{display:inline-flex;margin-left:auto;align-items:center;justify-content:center;width:44px;height:44px;
    border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-raised);cursor:pointer;color:var(--ink)}
  .menu-toggle:checked ~ .nav{display:flex}
  .topbar-inner{position:relative}
}
@media(max-width:560px){
  .val-grid{grid-template-columns:1fr}
  .wrap{padding:0 20px}
  /* Taller on a phone, so a portrait photo is not shrunk to a sliver. */
  .slider-viewport{aspect-ratio:4/3}
  .slider-prev{left:8px}
  .slider-next{right:8px}
  .slider-status{right:8px;bottom:8px}
}
