@charset "UTF-8";

/* =========================================================================
   Virtual Simulations — stylesheet
   Palette taken from the company mark: deep navy through to azure.
   Light base, dark sections for the passages that carry the imagery.
   ========================================================================= */

/* ------------------------------------------------------------------ fonts */

@font-face {
  font-family: 'Plex';
  src: url('../fonts/plex-latin-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plex';
  src: url('../fonts/plex-latin-ext-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: 'Plex';
  src: url('../fonts/plex-latin-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plex';
  src: url('../fonts/plex-latin-ext-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: 'Plex';
  src: url('../fonts/plex-latin-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plex';
  src: url('../fonts/plex-latin-ext-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: 'Plex';
  src: url('../fonts/plex-latin-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plex';
  src: url('../fonts/plex-latin-ext-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF,
    U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ----------------------------------------------------------------- tokens */

:root {
  --ink:        #081228;
  --ink-2:      #0C1A38;
  --navy:       #12224F;
  --brand:      #1668E3;
  --brand-2:    #2E9BFF;
  --brand-deep: #0F4EAC;
  --brand-soft: #EAF2FE;

  --bg:      #FFFFFF;
  --surface: #F5F8FC;
  --line:    #E1E8F2;
  --line-2:  #CFD9E8;

  --text:   #0F172A;
  --text-2: #46566E;
  --text-3: #5B6B82;

  --on-dark:   #EDF3FB;
  --on-dark-2: rgba(255,255,255,.76);
  --on-dark-3: rgba(255,255,255,.60);
  --line-dark: rgba(255,255,255,.14);

  --maxw: 1180px;
  --gap: 28px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-1: 0 1px 2px rgba(8,18,40,.05), 0 10px 30px -18px rgba(8,18,40,.35);
  --shadow-2: 0 2px 4px rgba(8,18,40,.06), 0 24px 60px -28px rgba(8,18,40,.45);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ------------------------------------------------------------------- base */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Plex', 'IBM Plex Sans', -apple-system, BlinkMacSystemFont,
    'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.022em;
  color: var(--text);
  text-wrap: balance;
}

h1 { font-size: clamp(2.35rem, 5.2vw, 4.1rem); line-height: 1.03; letter-spacing: -.036em; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); letter-spacing: -.03em; }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); letter-spacing: -.016em; }
h4 { font-size: 1.02rem; letter-spacing: -.01em; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand); }

strong { font-weight: 600; }

ul, ol { margin: 0 0 1.15em; padding-left: 1.15em; }
li { margin-bottom: .5em; }
li:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 3px;
}

::selection { background: rgba(22,104,227,.18); }

/* Available to screen readers, invisible on screen — used for the section
   headings that the visual design does not need but the outline does. */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* Short labels that introduce a line of copy but are not document sections. */
.fact-title {
  margin: 0 0 .3rem;
  font-size: 1.02rem; font-weight: 600; letter-spacing: -.01em;
  color: var(--text);
}
.dark .fact-title, .hero-facts .fact-title { color: #fff; }

/* Clipped rather than pushed off-canvas: a negative offset can widen the page
   on small screens, which is exactly the bug this element must not cause. */
.skip-link {
  position: absolute; left: 0; top: 0; z-index: 200;
  width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
  background: var(--ink); color: #fff; border-radius: 0 0 8px 0;
}
.skip-link:focus {
  width: auto; height: auto; padding: 12px 18px; clip-path: none; color: #fff;
}

/* ----------------------------------------------------------------- layout */

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.wrap-narrow { max-width: 800px; }
.wrap-mid { max-width: 960px; }

section { position: relative; }
.band { padding-block: clamp(4.25rem, 8.5vw, 7.5rem); }
.band-tight { padding-block: clamp(3rem, 5.5vw, 4.5rem); }
.band-surface { background: var(--surface); }
.band-line { border-top: 1px solid var(--line); }

.dark {
  background: var(--ink);
  color: var(--on-dark);
}
.dark h1, .dark h2, .dark h3, .dark h4 { color: #fff; }
.dark p { color: var(--on-dark-2); }
.dark a:not(.btn) { color: var(--brand-2); }

/* The wireframe plane from the company mark, used behind dark passages. */
.mesh { position: relative; overflow: hidden; isolation: isolate; }
.mesh::before {
  content: '';
  position: absolute; inset: -40% -10% auto -10%; height: 150%;
  background-image:
    linear-gradient(rgba(46,155,255,.19) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46,155,255,.19) 1px, transparent 1px);
  background-size: 46px 46px;
  transform: perspective(620px) rotateX(62deg) translateY(28%);
  transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 42%, transparent 86%);
          mask-image: linear-gradient(to bottom, transparent, #000 42%, transparent 86%);
  pointer-events: none;
  z-index: -1;
}
.mesh::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 50% -10%, rgba(22,104,227,.34), transparent 62%);
  pointer-events: none;
  z-index: -1;
}

.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.split {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}

.stack > * + * { margin-top: 1.15em; }

/* ------------------------------------------------------------- typography */

.eyebrow {
  display: inline-block;
  margin: 0 0 1.1rem;
  font-size: .715rem;
  font-weight: 600;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--brand-deep);
}
.dark .eyebrow { color: var(--brand-2); }

.lead {
  font-size: clamp(1.06rem, 1.5vw, 1.26rem);
  line-height: 1.6;
  color: var(--text-2);
  letter-spacing: -.011em;
}
.dark .lead { color: var(--on-dark-2); }

.measure { max-width: 66ch; }
.measure-tight { max-width: 54ch; }

.muted { color: var(--text-3); }
.dark .muted { color: var(--on-dark-3); }

.small { font-size: .9rem; line-height: 1.6; }
.tiny { font-size: .8rem; line-height: 1.55; }

.section-head { max-width: 62ch; margin-bottom: clamp(2.5rem, 4vw, 3.5rem); }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .82em 1.5em;
  border: 1px solid transparent;
  border-radius: 10px;
  font: inherit;
  font-size: .96rem;
  font-weight: 500;
  letter-spacing: -.008em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s var(--ease), border-color .18s var(--ease),
              transform .18s var(--ease), color .18s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); border-color: var(--brand-deep); color: #fff; }

.btn-dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

.btn-outline { background: transparent; border-color: var(--line-2); color: var(--text); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand-deep); background: var(--brand-soft); }

.btn-on-dark { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.28); color: #fff; }
.btn-on-dark:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.5); color: #fff; }

.btn-block { width: 100%; }
.btn-sm { padding: .6em 1.05em; font-size: .87rem; }

.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* A quiet text link that still reads as an action. */
.link-arrow {
  display: inline-flex; align-items: center; gap: .45em;
  font-weight: 500; text-decoration: none; color: var(--brand-deep);
}
.link-arrow::after { content: '→'; transition: transform .18s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ------------------------------------------------------------------ cards */

.card {
  position: relative;
  padding: clamp(1.6rem, 2.4vw, 2.1rem);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease),
              transform .2s var(--ease);
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--text-2); }
.card-link:hover { border-color: var(--line-2); box-shadow: var(--shadow-1); transform: translateY(-2px); }

.dark .card {
  background: rgba(255,255,255,.035);
  border-color: var(--line-dark);
}
.dark .card p { color: var(--on-dark-2); }

/* Instrument-panel corner ticks — used on the cards that matter most. */
.ticked::before, .ticked::after {
  content: '';
  position: absolute;
  width: 12px; height: 12px;
  border: 1px solid var(--brand);
  opacity: .55;
  pointer-events: none;
}
.ticked::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; border-radius: var(--radius) 0 0 0; }
.ticked::after { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; border-radius: 0 0 var(--radius) 0; }

.card-icon {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; margin-bottom: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand-deep);
}
.card .card-icon svg { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.dark .card-icon { background: rgba(46,155,255,.12); border-color: var(--line-dark); color: var(--brand-2); }

/* --------------------------------------------------------------- numerals */

.step { position: relative; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.dark .step { border-top-color: var(--line-dark); }
.step-num {
  display: block;
  margin-bottom: .9rem;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -.05em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--brand);
}
.dark .step-num { -webkit-text-stroke-color: var(--brand-2); }
.step h3 { margin-bottom: .45rem; }
.step p { color: var(--text-2); font-size: .965rem; }

/* ------------------------------------------------------------------ media */

.figure {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-2);
  border: 1px solid var(--line);
}
.dark .figure { border-color: var(--line-dark); }
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure-caption {
  padding: .85rem 1.1rem;
  font-size: .78rem;
  letter-spacing: .04em;
  color: var(--text-3);
  background: #fff;
  border-top: 1px solid var(--line);
}
.dark .figure-caption { background: rgba(255,255,255,.04); border-top-color: var(--line-dark); color: var(--on-dark-3); }

.ratio-4-3 { aspect-ratio: 4 / 3; }
.ratio-3-2 { aspect-ratio: 3 / 2; }
.ratio-16-9 { aspect-ratio: 16 / 9; }
.ratio-1-1 { aspect-ratio: 1 / 1; }

/* ----------------------------------------------------------------- header */

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
          backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 26px;
  min-height: 74px;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--text); flex: none; }
.brand:hover { color: var(--text); }
.brand img, .brand svg { width: 38px; height: 38px; flex: none; }
.brand-name { font-weight: 600; letter-spacing: -.028em; font-size: 1.05rem; line-height: 1.1; }
.brand-name span { display: block; font-size: .66rem; font-weight: 400; letter-spacing: .13em;
  text-transform: uppercase; color: var(--text-3); margin-top: 2px; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a:not(.btn) {
  padding: .5em .7em;
  font-size: .93rem;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  border-radius: 8px;
  transition: color .16s var(--ease), background-color .16s var(--ease);
}
.nav a:not(.btn):hover { color: var(--text); background: var(--surface); }
.nav a:not(.btn)[aria-current="page"] { color: var(--brand-deep); }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: 14px; }

.basket-link {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text-2);
  text-decoration: none;
  transition: border-color .16s var(--ease), color .16s var(--ease);
}
.basket-link:hover { border-color: var(--line-2); color: var(--text); }
.basket-link svg { width: 19px; height: 19px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.basket-count {
  position: absolute; top: -7px; right: -7px;
  min-width: 19px; height: 19px; padding: 0 5px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand); color: #fff;
  font-size: .68rem; font-weight: 600; line-height: 1;
  border-radius: 999px;
}

.burger {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  color: var(--text);
}
.burger svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.7; }

/* Mobile panel — collapsed by default, opened by the button. */
.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 14px 0 22px;
}
.mobile-nav.open { display: block; }
.mobile-nav a:not(.btn) {
  display: block;
  padding: .78em 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.mobile-nav .btn { margin-top: 18px; }

/* Base rule first, media query after — order decides the winner at equal
   specificity, and getting it backwards leaves the burger visible on desktop. */
@media (max-width: 1040px) {
  .nav { display: none; }
  .burger { display: inline-flex; margin-left: auto; }
  .header-actions { margin-left: 0; }
}

/* Below this width the brand, the basket, the call to action and the menu
   button no longer fit on one line and push the whole page sideways. The call
   to action is the one that can go: it is the first item in the open menu. */
@media (max-width: 700px) {
  .header-actions > .btn { display: none; }
  .header-inner { gap: 12px; min-height: 66px; }
  .brand-name { font-size: .98rem; }
  .brand-name span { letter-spacing: .1em; font-size: .6rem; }
}
@media (max-width: 380px) {
  .brand-name span { display: none; }
}

/* ---------------------------------------------------------------- notices */

.notice-bar {
  background: var(--ink-2);
  color: var(--on-dark-2);
  font-size: .82rem;
  letter-spacing: .01em;
  padding: 9px 0;
  text-align: center;
}
.notice-bar strong { color: #fff; font-weight: 600; }
.notice-bar a { color: var(--brand-2); }
/* The statement stays complete on every screen; it just stops eating a third
   of a phone's first screenful. */
@media (max-width: 560px) {
  .notice-bar { font-size: .73rem; line-height: 1.45; padding: 8px 0; }
}

.callout {
  padding: 1.35rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .95rem;
  color: var(--text-2);
}
.callout strong { color: var(--text); }
.dark .callout { background: rgba(255,255,255,.05); border-color: var(--line-dark); border-left-color: var(--brand-2); }
.dark .callout strong { color: #fff; }

/* ------------------------------------------------------------------ lists */

.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: .72rem;
  color: var(--text-2);
}
.ticks li::before {
  content: '';
  position: absolute; left: 0; top: .52em;
  width: 11px; height: 6px;
  border-left: 1.7px solid var(--brand);
  border-bottom: 1.7px solid var(--brand);
  transform: rotate(-45deg);
}
.dark .ticks li { color: var(--on-dark-2); }
.dark .ticks li::before { border-color: var(--brand-2); }

.dashes { list-style: none; padding: 0; margin: 0; }
.dashes li { position: relative; padding-left: 1.3rem; margin-bottom: .6rem; color: var(--text-2); }
.dashes li::before {
  content: ''; position: absolute; left: 0; top: .78em;
  width: 12px; height: 1px; background: var(--line-2);
}
.dark .dashes li { color: var(--on-dark-2); }
.dark .dashes li::before { background: rgba(255,255,255,.3); }

.spec { display: grid; gap: 0; margin: 0; }
.spec div {
  display: flex; justify-content: space-between; gap: 1.5rem;
  padding: .78rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .94rem;
}
.spec div:last-child { border-bottom: 0; }
.spec dt { color: var(--text-3); }
.spec dd { margin: 0; text-align: right; font-weight: 500; color: var(--text); }
.dark .spec div { border-bottom-color: var(--line-dark); }
.dark .spec dt { color: var(--on-dark-3); }
.dark .spec dd { color: #fff; }

/* ------------------------------------------------------------------ price */

.price {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1;
  color: var(--text);
}
.dark .price { color: #fff; }
.price-note { font-size: .8rem; color: var(--text-3); margin-top: .4rem; }
.dark .price-note { color: var(--on-dark-3); }

.tag {
  display: inline-flex; align-items: center; gap: .4em;
  padding: .34em .7em;
  font-size: .74rem; font-weight: 500; letter-spacing: .04em;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--text-3);
}
.dark .tag { background: rgba(255,255,255,.06); border-color: var(--line-dark); color: var(--on-dark-2); }
.tag-brand { background: var(--brand-soft); border-color: rgba(22,104,227,.2); color: var(--brand-deep); }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* ------------------------------------------------------------------ forms */

.field { margin-bottom: 1.15rem; }
.field label {
  display: block;
  margin-bottom: .42rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text);
}
.field .hint { font-size: .8rem; color: var(--text-3); margin-top: .35rem; }

input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
select, textarea {
  width: 100%;
  padding: .78em .9em;
  font: inherit;
  font-size: .96rem;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(22,104,227,.14);
}
textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%235B6B82' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 2.4em;
}

.field-row { display: grid; gap: 0 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; color: var(--text-2); }
.check input { margin-top: .28rem; flex: none; width: 16px; height: 16px; accent-color: var(--brand); }

.form-error {
  padding: .9rem 1.1rem;
  margin-bottom: 1.4rem;
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  border-radius: 10px;
  color: #991B1B;
  font-size: .92rem;
}
.form-ok {
  padding: .9rem 1.1rem;
  margin-bottom: 1.4rem;
  background: #ECFDF5;
  border: 1px solid #6EE7B7;
  border-radius: 10px;
  color: #065F46;
  font-size: .92rem;
}

/* ----------------------------------------------------------------- basket */

.line-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.2rem 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.line-item:first-child { border-top: 1px solid var(--line); }
.line-item h3 { margin-bottom: .3rem; font-size: 1.1rem; }
.line-meta { font-size: .875rem; color: var(--text-3); }
.line-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: .7rem; }
.qty { display: flex; align-items: center; gap: 6px; }
.qty input { width: 62px; text-align: center; padding: .45em .3em; }

.summary {
  padding: 1.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.summary-row { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; font-size: .95rem; color: var(--text-2); }
.summary-total {
  display: flex; justify-content: space-between; gap: 1rem;
  margin-top: .8rem; padding-top: .9rem;
  border-top: 1px solid var(--line-2);
  font-size: 1.15rem; font-weight: 600; color: var(--text);
}

/* ---------------------------------------------------------------- receipt */

.receipt {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.receipt-head {
  display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between;
  padding: 1.8rem;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.receipt-body { padding: 1.8rem; }
.receipt table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.receipt th {
  text-align: left; font-weight: 500; font-size: .76rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-3);
  padding-bottom: .7rem; border-bottom: 1px solid var(--line);
}
.receipt td { padding: .85rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.receipt td.num, .receipt th.num { text-align: right; white-space: nowrap; }
.receipt tfoot td { border-bottom: 0; padding-top: .8rem; }
.receipt tfoot tr:last-child td { font-weight: 600; font-size: 1.05rem; }

/* ----------------------------------------------------------------- footer */

.site-footer { background: var(--ink); color: var(--on-dark-2); padding-block: clamp(3.5rem, 6vw, 5rem) 0; }
.site-footer h2 {
  color: #fff; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 600; margin-bottom: 1.1rem;
}
.footer-grid {
  display: grid; gap: 2.5rem;
  /* Explicit tracks: a flexible track cannot be mixed with repeat(auto-fit, …),
     which makes the whole declaration invalid and collapses the footer to one
     column. */
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  padding-bottom: 3rem;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer a:not(.btn) { color: var(--on-dark-2); text-decoration: none; }
.site-footer a:not(.btn):hover { color: #fff; text-decoration: underline; }
/* Links sitting inside running text need more than colour to be recognisable;
   the link lists below are navigation and do not. */
.site-footer p a:not(.btn) {
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.45);
  text-underline-offset: 3px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .62rem; font-size: .93rem; }
.footer-legal {
  padding: 1.8rem 0;
  border-top: 1px solid var(--line-dark);
  font-size: .82rem;
  line-height: 1.7;
  color: var(--on-dark-3);
  display: grid; gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.footer-disclaimer {
  padding: 1.35rem 0 2.2rem;
  border-top: 1px solid var(--line-dark);
  font-size: .8rem;
  color: var(--on-dark-3);
}
.footer-disclaimer strong { color: rgba(255,255,255,.9); font-weight: 600; }

.pay-strip { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 1.1rem; }
.pay-strip img { height: 25px; width: auto; opacity: .95; }

/* --------------------------------------------------------------- cookies */

.cookie-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90;
  max-width: 560px;
  padding: 1.15rem 1.3rem;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  font-size: .88rem;
  color: var(--text-2);
  display: none;
}
.cookie-bar.show { display: block; }
.cookie-bar .btn-row { margin-top: .9rem; }

/* --------------------------------------------------------------- reveal */

/* Only armed once the document is known to run scripts — otherwise a blocked
   or failed script would leave every section invisible. */
.js .reveal { opacity: 0; transform: translateY(14px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }

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

/* ------------------------------------------------------------------- hero */

.hero { position: relative; padding-block: clamp(4.5rem, 9vw, 8rem); }
.hero-grid {
  display: grid; gap: clamp(2.5rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
}
.hero h1 { margin-bottom: 1.3rem; }
.hero .lead { max-width: 46ch; }
.hero .btn-row { margin-top: 2.2rem; }
.hero-figure {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-dark);
  aspect-ratio: 1 / 1;
  background: linear-gradient(160deg, #0E2148, #071227);
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; opacity: .92; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { aspect-ratio: 4 / 3; }
}

.hero-facts {
  display: grid; gap: 1.5rem 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-top: clamp(3rem, 5vw, 4.5rem);
  padding-top: 2.2rem;
  border-top: 1px solid var(--line-dark);
}
.hero-facts h4 { color: #fff; margin-bottom: .3rem; font-size: .95rem; }
.hero-facts p { font-size: .89rem; color: var(--on-dark-3); margin: 0; }

/* ------------------------------------------------------------------ misc */

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.dark .rule { background: var(--line-dark); }

.anchor-offset { scroll-margin-top: 96px; }

.toc { list-style: none; padding: 0; margin: 0 0 2.5rem; display: flex; flex-wrap: wrap; gap: 8px; }
.toc a {
  display: inline-block; padding: .45em .9em;
  font-size: .86rem; text-decoration: none;
  border: 1px solid var(--line); border-radius: 999px;
  color: var(--text-2); background: #fff;
}
.toc a:hover { border-color: var(--brand); color: var(--brand-deep); }

.pub {
  padding: 1.7rem 0;
  border-bottom: 1px solid var(--line);
}
.pub:first-of-type { border-top: 1px solid var(--line); }
.pub h3 { font-size: 1.12rem; margin-bottom: .45rem; line-height: 1.35; }
.pub-meta { font-size: .875rem; color: var(--text-3); margin-bottom: .7rem; }
.pub-meta em { font-style: normal; color: var(--text-2); }
.pub p { font-size: .95rem; color: var(--text-2); margin-bottom: .6rem; }

.prose h2 { margin-top: 2.8rem; }
.prose h3 { margin-top: 2rem; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose li { color: var(--text-2); }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; font-size: .94rem; }
.prose th, .prose td { text-align: left; padding: .7rem .8rem; border: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--surface); font-weight: 600; }

/* ------------------------------------------------------------------ print */

@media print {
  .site-header, .site-footer, .cookie-bar, .notice-bar, .no-print { display: none !important; }
  body { font-size: 12px; color: #000; background: #fff; }
  .band { padding-block: 0; }
  .receipt { border: 0; }
  .receipt-head { background: transparent; padding: 0 0 1rem; }
  .receipt-body { padding: 1rem 0 0; }
  a { color: #000; text-decoration: none; }
  .wrap { max-width: none; padding: 0; }
}
