/* Solvanta — layout concept: a clean corporate shipping docket. White ground,
   charcoal type in light Roboto, one corporate blue used sparingly, grey bands
   and a near-black footer. Mono field labels like a consignment note. */
:root {
  --paper: #FFFFFF;
  --surface: #FFFFFF;
  --tint: #F4F5F6;
  --ink: #292E36;
  --muted: #787D85;
  --line: #E2E3E5;
  --primary: #0A55A4;
  --primary-hover: #08457F;
  --on-primary: #FFFFFF;
  --bd: #0A55A4;
  --uae: #4E7FB8;
  --au: #0A55A4;
  --ok: #2E6B4E;
  --warn: #8A5A12;
  --stop: #A53A2E;
  --ok-bg: #E8F1EC;
  --warn-bg: #F6EEDF;
  --stop-bg: #F7E5E2;
  --band: #141618;
  --band-ink: #FFFFFF;
  --band-muted: #A3A8B0;
  --wa: #2E7A58;
  --wa-hover: #256448;
  --shadow: 0 1px 2px rgba(20, 22, 24, .05), 0 10px 28px -16px rgba(20, 22, 24, .22);
  --font-display: "Roboto", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Roboto", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Roboto Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --step--1: .875rem;
  --step-0: 1.125rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
  --step-4: clamp(2.4rem, 1.6rem + 3.6vw, 4rem);
  --radius: 10px;
  --wrap: 1180px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #141618; --surface: #1C1F22; --tint: #202428; --ink: #EDEFF2; --muted: #9AA0A8;
    --line: #2E3338; --primary: #5B9BE0; --primary-hover: #7AB0EA; --on-primary: #0B1420;
    --bd: #5B9BE0; --uae: #8FB6E3; --au: #5B9BE0; --ok: #8FC7A6; --warn: #E2B866; --stop: #EC9784;
    --ok-bg: #18302A; --warn-bg: #33291A; --stop-bg: #3A2020; --band: #0B0C0D; --band-ink: #EDEFF2;
    --band-muted: #9AA0A8; --wa: #2E7A58; --wa-hover: #389069; --shadow: 0 1px 2px rgba(0,0,0,.35), 0 12px 32px -14px rgba(0,0,0,.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #141618; --surface: #1C1F22; --tint: #202428; --ink: #EDEFF2; --muted: #9AA0A8;
  --line: #2E3338; --primary: #5B9BE0; --primary-hover: #7AB0EA; --on-primary: #0B1420;
  --bd: #5B9BE0; --uae: #8FB6E3; --au: #5B9BE0; --ok: #8FC7A6; --warn: #E2B866; --stop: #EC9784;
  --ok-bg: #18302A; --warn-bg: #33291A; --stop-bg: #3A2020; --band: #0B0C0D; --band-ink: #EDEFF2;
  --band-muted: #9AA0A8; --wa: #2E7A58; --wa-hover: #389069; --shadow: 0 1px 2px rgba(0,0,0,.35), 0 12px 32px -14px rgba(0,0,0,.7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 var(--step-0)/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
svg { width: 1em; height: 1em; flex: none; }
a { color: var(--primary); text-underline-offset: .18em; }
a:hover { color: var(--primary-hover); }
:focus-visible { outline: 2.5px solid var(--uae); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 300; line-height: 1.15; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
.mono { font-family: var(--font-mono); font-size: .92em; }
.muted { color: var(--muted); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--primary); color: var(--on-primary); padding: .5rem .9rem; z-index: 100; border-radius: 6px; }
.skip-link:focus { left: 12px; }

.wrap {
  max-width: var(--wrap); margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.band { padding-block: clamp(3.5rem, 7vw, 6rem); }
.band-tint { background: var(--tint); }
.band-tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.stack { display: grid; gap: 1rem; }
.prose { max-width: 66ch; display: grid; gap: 1rem; }
.prose ul { display: grid; gap: .5rem; padding-left: 1.2rem; }
.prose h2 { font-size: var(--step-2); margin-top: 1.5rem; }
.prose h3 { font-size: var(--step-1); margin-top: .75rem; }

.eyebrow {
  font: 500 .75rem/1.2 var(--font-mono); letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); display: flex; gap: .6rem; align-items: center;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; opacity: .6; }
.eyebrow-light { color: var(--band-muted); }
.h1 { font-size: var(--step-4); font-weight: 300; letter-spacing: -.02em; line-height: 1.08; }
.h2 { font-size: var(--step-3); }
.h3 { font-size: var(--step-1); font-weight: 400; }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--muted); max-width: 60ch; }
.section-head { display: grid; gap: .9rem; max-width: 62ch; margin-bottom: 2.5rem; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font: 600 1rem/1 var(--font-body); padding: .95rem 1.35rem; border-radius: 999px;
  background: var(--primary); color: var(--on-primary); text-decoration: none; border: 1.5px solid var(--primary);
  cursor: pointer; transition: background .15s, transform .15s;
}
.btn:hover { background: var(--primary-hover); border-color: var(--primary-hover); color: var(--on-primary); }
.btn:active { transform: translateY(1px); }
.btn svg { font-size: 1.1em; }
.btn-sm { padding: .65rem 1rem; font-size: .92rem; }
.btn-lg { padding: 1.1rem 1.6rem; font-size: 1.05rem; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface); color: var(--ink); border-color: var(--muted); }
.btn-light { background: var(--band-ink); color: var(--band); border-color: var(--band-ink); }
.btn-light:hover { background: #FFFFFF; color: var(--band); border-color: #FFFFFF; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.icon-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; font-size: 1.2rem;
}
.icon-btn:hover { background: var(--surface); }
.link-arrow { display: inline-flex; gap: .4rem; align-items: center; font-weight: 600; text-decoration: none; }
.link-arrow:hover svg { transform: translateX(3px); }
.link-arrow svg { transition: transform .15s; }

/* header */
.header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { font-size: 2rem; color: var(--primary); }
.brand-text { display: grid; line-height: 1.05; }
.brand-name { font: 500 1.3rem/1 var(--font-display); letter-spacing: .01em; }
.brand-sub { font: 500 .66rem/1.3 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: .2rem; }
.nav nav { margin-left: auto; }
.nav-menu { display: flex; gap: .25rem; list-style: none; }
.nav-menu a {
  display: block; padding: .5rem .75rem; border-radius: 999px; color: var(--ink);
  text-decoration: none; font-weight: 500; font-size: .96rem; white-space: nowrap;
}
.nav-menu a:hover { background: var(--tint); color: var(--ink); }
.nav-menu a[aria-current="page"] { background: var(--tint); color: var(--primary); }
.nav-actions { display: flex; gap: .6rem; align-items: center; }
.nav-toggle { display: none; }
.theme-toggle .i-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: block; }
}
@media (max-width: 1140px) {
  .nav nav { display: none; }
  .nav-actions { margin-left: auto; }
  .nav-toggle { display: inline-grid; }
}
@media (max-width: 520px) {
  .nav-cta { display: none; }
  .brand-sub { display: none; }
}

.drawer { position: fixed; inset: 0; z-index: 80; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(20, 22, 24, .5); }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); background: var(--paper);
  display: flex; flex-direction: column; gap: .2rem;
  padding: calc(1rem + env(safe-area-inset-top, 0px)) calc(1.25rem + env(safe-area-inset-right, 0px)) calc(1.25rem + env(safe-area-inset-bottom, 0px)) 1.25rem;
  overflow-y: auto; box-shadow: var(--shadow);
}
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.drawer-panel > a:not(.btn) { padding: .85rem .25rem; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 500; font-size: 1.08rem; }
.drawer-panel .btn { margin-top: 1.25rem; }
.drawer-note { margin-top: .9rem; text-align: center; font: .85rem var(--font-mono); color: var(--muted); user-select: all; }
html.nav-open { overflow: hidden; }

/* hero */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 6vw, 5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-copy { display: grid; gap: 1.4rem; min-width: 0; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero h1 .lane-bd { color: var(--bd); }
.hero h1 .lane-uae { color: var(--uae); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .4rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; list-style: none; font-size: .95rem; color: var(--muted); }
.hero-points li { display: inline-flex; gap: .45rem; align-items: center; }
.hero-points svg { color: var(--ok); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

/* the docket */
.docket {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  font-family: var(--font-mono); font-size: .82rem; overflow: hidden; min-width: 0;
}
.docket-top { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 1.2rem; border-bottom: 1px dashed var(--line); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; }
.docket-lane { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .9rem; align-items: center; padding: 1.1rem 1.2rem; }
.docket-lane + .docket-lane { border-top: 1px solid var(--line); }
.port { display: grid; gap: .1rem; }
.port b { font-size: 1.35rem; font-weight: 500; letter-spacing: .02em; color: var(--ink); }
.port span { font-size: .7rem; color: var(--muted); }
.port-end { text-align: right; }
.route { position: relative; height: 26px; color: var(--muted); }
.route > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.route .dash { stroke-dasharray: 3 5; animation: drift 1.6s linear infinite; }
.lane-bd .route { color: var(--bd); }
.lane-uae .route { color: var(--uae); }
.route-mode { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: var(--surface); padding: 0 .35rem; font-size: 1rem; }
.docket-fields { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px dashed var(--line); }
.docket-fields div { padding: .8rem 1.2rem; display: grid; gap: .2rem; min-width: 0; }
.docket-fields div:nth-child(odd) { border-right: 1px solid var(--line); }
.docket-fields div:nth-child(n+3) { border-top: 1px solid var(--line); }
.docket-fields dt { font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.docket-fields dd { margin: 0; color: var(--ink); font-size: .85rem; }
.docket-fields .you { color: var(--uae); font-weight: 500; }
.docket-foot { padding: .8rem 1.2rem; background: var(--tint); color: var(--muted); font-size: .72rem; line-height: 1.5; }
@keyframes drift { to { stroke-dashoffset: -16; } }
@media (prefers-reduced-motion: reduce) { .route .dash { animation: none; } html { scroll-behavior: auto; } }

/* lanes / origin cards */
.lanes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.lane-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.lane-card img { aspect-ratio: 16 / 8; object-fit: cover; width: 100%; }
.lane-body { padding: 1.5rem; display: grid; gap: 1rem; align-content: start; }
.lane-tag { font: 500 .72rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; display: inline-flex; gap: .5rem; align-items: center; }
.lane-tag::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.lane-card.bd .lane-tag { color: var(--bd); }
.lane-card.uae .lane-tag { color: var(--uae); }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; }
.chips li { font-size: .88rem; padding: .3rem .7rem; border-radius: 999px; background: var(--tint); }
.ports { font: .78rem/1.5 var(--font-mono); color: var(--muted); }
@media (max-width: 760px) { .lanes { grid-template-columns: minmax(0, 1fr); } }

/* responsibility split */
.split { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden; }
.split-col { padding: 1.6rem; display: grid; gap: 1rem; align-content: start; min-width: 0; }
.split-col h3 { font-size: var(--step-1); display: flex; gap: .6rem; align-items: center; }
.split-col ul { list-style: none; display: grid; gap: .65rem; }
.split-col li { display: grid; grid-template-columns: 1.3rem minmax(0, 1fr); gap: .5rem; }
.split-col li svg { margin-top: .3rem; color: var(--primary); }
.split-col.you li svg { color: var(--uae); }
.split-line { width: 64px; position: relative; background: var(--tint); display: grid; place-items: center; }
.split-line span { writing-mode: vertical-rl; transform: rotate(180deg); font: 500 .7rem var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.split-line::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; border-left: 2px dashed var(--line); }
.split-line span { position: relative; background: var(--tint); padding: .6rem 0; }
.who-label { font: 500 .7rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 760px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split-line { width: auto; height: 48px; }
  .split-line::before { top: 50%; bottom: auto; left: 0; right: 0; border-left: 0; border-top: 2px dashed var(--line); }
  .split-line span { writing-mode: horizontal-tb; transform: none; padding: 0 .8rem; }
}

/* steps (a real sequence) */
.steps { list-style: none; display: grid; gap: 0; counter-reset: s; border-top: 1px solid var(--line); }
.steps > li { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) minmax(0, 1.2fr); gap: 1.5rem; padding-block: 1.6rem; border-bottom: 1px solid var(--line); counter-increment: s; }
.steps > li::before { content: counter(s, decimal-leading-zero); font: 500 1.6rem/1 var(--font-mono); color: var(--primary); }
.steps h3 { font-size: var(--step-1); }
.steps p { color: var(--muted); }
.steps .who { font: 500 .7rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; display: block; margin-top: .4rem; color: var(--muted); }
.steps .who.you { color: var(--uae); }
@media (max-width: 760px) { .steps > li { grid-template-columns: 3rem minmax(0, 1fr); } .steps > li > p { grid-column: 2; } }

/* category grid */
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1rem; }
.cat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; display: grid; gap: .75rem; align-content: start; min-width: 0; }
.cat-head { display: flex; gap: .9rem; align-items: center; }
.cat-icon { font-size: 2.1rem; color: var(--bd); flex: none; }
.uae-grid .cat-icon { color: var(--uae); }
.cat h3 { font-size: 1.15rem; }
.cat p { color: var(--muted); font-size: .97rem; }
.cat .hs { font: .72rem/1.4 var(--font-mono); color: var(--muted); letter-spacing: .03em; }
.cat .watch { font-size: .9rem; display: grid; grid-template-columns: 1.1rem minmax(0, 1fr); gap: .45rem; padding-top: .75rem; border-top: 1px dashed var(--line); }
.cat .watch svg { margin-top: .25rem; color: var(--warn); }

/* not sourced */
.nolist { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: .75rem; list-style: none; }
.nolist li { display: grid; grid-template-columns: 1.4rem minmax(0, 1fr); gap: .6rem; padding: 1rem; border-radius: var(--radius); background: var(--stop-bg); font-size: .96rem; }
.nolist li svg { color: var(--stop); font-size: 1.25rem; margin-top: .1rem; }
.nolist strong { display: block; }

/* rule cards */
.rules { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 1rem; }
.rule { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: 1.4rem; display: grid; gap: .7rem; align-content: start; min-width: 0; }
.rule h3 { font-size: 1.15rem; }
.rule .agency { font: 500 .7rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.rule p { color: var(--muted); font-size: .97rem; }
.rule a { font-size: .92rem; display: inline-flex; gap: .3rem; align-items: center; }

/* key facts table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .96rem; }
th, td { text-align: left; padding: .9rem 1.1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font: 500 .72rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--tint); }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 600; white-space: nowrap; }

/* checker */
.checker { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: clamp(1.1rem, 3vw, 2rem); box-shadow: var(--shadow); }
.checker-pick { display: grid; gap: .4rem; align-content: start; }
.checker-pick button {
  text-align: left; padding: .7rem .9rem; border-radius: 8px; border: 1px solid var(--line); background: var(--paper);
  font: 500 .95rem var(--font-body); color: var(--ink); cursor: pointer; display: flex; gap: .6rem; align-items: center;
}
.checker-pick button[aria-pressed="true"] { border-color: var(--primary); background: var(--tint); color: var(--primary); }
.checker-pick button .o { margin-left: auto; font: 500 .65rem var(--font-mono); letter-spacing: .08em; color: var(--muted); }
.checker-out { display: grid; gap: 1rem; align-content: start; min-width: 0; }
.checker-out h3 { font-size: var(--step-2); }
.verdict { display: inline-flex; gap: .5rem; align-items: center; font: 500 .78rem var(--font-mono); letter-spacing: .06em; text-transform: uppercase; padding: .4rem .75rem; border-radius: 999px; width: fit-content; }
.verdict.ok { background: var(--ok-bg); color: var(--ok); }
.verdict.warn { background: var(--warn-bg); color: var(--warn); }
.verdict.stop { background: var(--stop-bg); color: var(--stop); }
.flags { list-style: none; display: grid; gap: .7rem; }
.flags li { display: grid; grid-template-columns: 1.3rem minmax(0, 1fr); gap: .6rem; }
.flags li svg { margin-top: .25rem; }
.flags .f-ok svg { color: var(--ok); }
.flags .f-warn svg { color: var(--warn); }
.flags .f-stop svg { color: var(--stop); }
.flags b { display: block; }
.flags span { color: var(--muted); font-size: .95rem; }
.checker-note { font-size: .85rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: .9rem; }
@media (max-width: 760px) {
  .checker { grid-template-columns: minmax(0, 1fr); }
  .checker-pick { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .checker-pick button .o { display: none; }
}

/* media + text */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.duo img { border-radius: 14px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.duo-copy { display: grid; gap: 1rem; min-width: 0; }
.ticks { list-style: none; display: grid; gap: .6rem; }
.ticks li { display: grid; grid-template-columns: 1.3rem minmax(0, 1fr); gap: .5rem; }
.ticks li svg { margin-top: .3rem; color: var(--ok); }
@media (max-width: 820px) { .duo { grid-template-columns: minmax(0, 1fr); } }

/* sister company */
.sister { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 2rem; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: 14px; border: 1px solid var(--line); background: var(--surface); align-items: center; }
.sister-copy { display: grid; gap: .9rem; min-width: 0; }
.sister-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1rem; font-size: .95rem; }
.sister-list li { padding: .55rem 0; border-bottom: 1px solid var(--line); }
@media (max-width: 820px) { .sister { grid-template-columns: minmax(0, 1fr); } }

/* faq */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.2rem 2.5rem 1.2rem 0; position: relative; font: 400 1.15rem/1.35 var(--font-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .3rem; top: 1.05rem; font: 400 1.5rem/1 var(--font-mono); color: var(--primary); }
.faq details[open] summary::after { content: "\2013"; }
.faq .answer { padding: 0 0 1.3rem; color: var(--muted); display: grid; gap: .7rem; max-width: 70ch; }
.faq-group { font: 500 .75rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 2.5rem 0 .75rem; }
.faq-group:first-child { margin-top: 0; }

/* page head */
.page-head { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 2.5rem); }
.page-head .wrap { display: grid; gap: 1rem; }
.page-head .lede { max-width: 64ch; }
.callout { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); gap: .75rem; padding: 1.1rem 1.25rem; border-radius: var(--radius); background: var(--warn-bg); color: var(--ink); font-size: .97rem; }
.callout svg { color: var(--warn); font-size: 1.3rem; margin-top: .1rem; }
.callout.info { background: var(--tint); }
.callout.info svg { color: var(--primary); }

/* form */
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.form { display: grid; gap: 2rem; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: clamp(1.2rem, 4vw, 2.2rem); min-width: 0; }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 1rem; min-width: 0; }
.form legend { font: 400 var(--step-1)/1.2 var(--font-display); padding: 0; margin-bottom: .2rem; display: flex; gap: .7rem; align-items: baseline; }
.form legend .n { font: 500 .78rem var(--font-mono); color: var(--muted); }
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 620px) { .row { grid-template-columns: minmax(0, 1fr); } }
.field { display: grid; gap: .4rem; min-width: 0; }
.field label, .field .label { font-weight: 600; font-size: .95rem; }
.field .hint { font-size: .84rem; color: var(--muted); }
.req { color: var(--stop); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="url"], select, textarea {
  width: 100%; font: 400 1rem/1.4 var(--font-body); color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: 8px; padding: .8rem .9rem; min-width: 0;
}
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 20%, transparent); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--stop); }
.field .err { font-size: .85rem; color: var(--stop); }
.field .err:empty { display: none; }
.choice { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice label { display: inline-flex; gap: .45rem; align-items: center; padding: .6rem .9rem; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 500; font-size: .95rem; background: var(--paper); }
.choice input { accent-color: var(--primary); margin: 0; }
.choice label:has(input:checked) { border-color: var(--primary); background: var(--tint); color: var(--primary); }
.consent { display: grid; grid-template-columns: 1.3rem minmax(0, 1fr); gap: .6rem; font-size: .95rem; align-items: start; }
.consent input { margin-top: .3rem; width: 1.1rem; height: 1.1rem; accent-color: var(--primary); }
.drop { border: 1.5px dashed var(--line); border-radius: 10px; padding: 1.2rem; display: grid; gap: .4rem; justify-items: start; background: var(--paper); }
.drop { min-width: 0; }
.drop input { font: .92rem var(--font-body); width: 100%; max-width: 100%; min-width: 0; }
.counter { font: .75rem var(--font-mono); color: var(--muted); justify-self: end; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 1rem 1.2rem; border-radius: 10px; font-size: .97rem; }
.form-status.ok { background: var(--ok-bg); color: var(--ink); }
.form-status.bad { background: var(--stop-bg); color: var(--ink); }
.form-side { display: grid; gap: 1rem; position: sticky; top: calc(96px + env(safe-area-inset-top, 0px)); }
.side-card { border: 1px solid var(--line); border-radius: 12px; padding: 1.3rem; background: var(--surface); display: grid; gap: .7rem; }
.side-card h2 { font-size: 1.1rem; }
.side-card ul { list-style: none; display: grid; gap: .55rem; font-size: .95rem; }
.side-card li { display: grid; grid-template-columns: 1.2rem minmax(0, 1fr); gap: .5rem; }
.side-card li svg { margin-top: .3rem; color: var(--ok); }
.copy-row { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; font-family: var(--font-mono); font-size: .9rem; }
.copy-row span { user-select: all; }
.copy-btn { border: 1px solid var(--line); background: var(--paper); border-radius: 6px; padding: .3rem .55rem; cursor: pointer; font: 500 .75rem var(--font-body); color: var(--ink); display: inline-flex; gap: .3rem; align-items: center; }
@media (max-width: 900px) { .form-layout { grid-template-columns: minmax(0, 1fr); } .form-side { position: static; } }

/* cta band + footer */
.band-cta { background: var(--band); color: var(--band-ink); }
.cta { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2rem; align-items: center; }
.cta-copy { display: grid; gap: 1rem; }
.cta-copy p { color: var(--band-muted); max-width: 56ch; }
.cta-actions { display: grid; gap: .8rem; justify-items: start; }
.cta-mail { color: var(--band-muted); font-size: .92rem; }
.cta-mail .mono { color: var(--band-ink); user-select: all; }
@media (max-width: 820px) { .cta { grid-template-columns: minmax(0, 1fr); } }

.footer { padding-block: 3.5rem calc(2rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 2rem; }
.footer-about { display: grid; gap: 1rem; align-content: start; }
.footer-about p { color: var(--muted); font-size: .95rem; max-width: 42ch; }
.footer address { font-style: normal; display: grid; gap: .5rem; font-size: .95rem; }
.footer address span { display: flex; gap: .55rem; align-items: center; }
.footer address svg { color: var(--muted); }
.footer-h { font: 500 .72rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .9rem; }
.footer ul { list-style: none; display: grid; gap: .55rem; font-size: .95rem; }
.footer ul a { color: var(--ink); text-decoration: none; }
.footer ul a:hover { color: var(--primary); text-decoration: underline; }
.footer-bar { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; font-size: .85rem; color: var(--muted); }
.footer-bar p:last-child { max-width: 60ch; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

.notfound { text-align: left; padding-block: 6rem; display: grid; gap: 1rem; }

/* WhatsApp + outline button */
.btn-outline-light { background: transparent; color: var(--band-ink); border-color: color-mix(in srgb, var(--band-ink) 45%, transparent); }
.btn-outline-light:hover { background: color-mix(in srgb, var(--band-ink) 12%, transparent); color: var(--band-ink); border-color: var(--band-ink); }
.wa-float {
  position: fixed; z-index: 40; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; gap: .5rem; align-items: center; padding: .8rem 1.05rem; border-radius: 999px;
  background: var(--wa); color: #FFFFFF; text-decoration: none; font-weight: 600; font-size: .95rem; box-shadow: var(--shadow);
}
.wa-float:hover { color: #FFFFFF; background: var(--wa-hover); }
.wa-float svg { font-size: 1.35rem; }
@media (max-width: 520px) { .wa-float span { display: none; } .wa-float { padding: .85rem; } }

/* idea cards: who imports what */
.ideas { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 1rem; }
.idea { padding: 1.3rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: grid; gap: .55rem; align-content: start; }
.idea .who-label { color: var(--primary); }
.idea h3 { font-size: 1.12rem; }
.idea p { color: var(--muted); font-size: .95rem; }

/* landed cost calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.calc-in { padding: clamp(1.2rem, 3vw, 2rem); display: grid; gap: 1rem; align-content: start; min-width: 0; }
.calc-out { padding: clamp(1.2rem, 3vw, 2rem); background: var(--tint); display: grid; gap: .9rem; align-content: start; min-width: 0; font-variant-numeric: tabular-nums; }
.calc-out dl { margin: 0; display: grid; gap: 0; }
.calc-out dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed var(--line); font-size: .97rem; }
.calc-out dt { color: var(--muted); }
.calc-out dd { margin: 0; font-family: var(--font-mono); }
.calc-out .total { border-bottom: 0; padding-top: .9rem; font-weight: 600; font-size: 1.1rem; }
.calc-out .total dd { font-size: 1.15rem; }
.big-number { font: 300 var(--step-4)/1 var(--font-display); letter-spacing: -.02em; color: var(--primary); }
.big-label { font: 500 .72rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.margin-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.calc .seg { display: flex; flex-wrap: wrap; gap: .4rem; }
.calc .seg label { padding: .5rem .8rem; }
@media (max-width: 820px) { .calc { grid-template-columns: minmax(0, 1fr); } }

/* small stat strip */
.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.strip div { padding: 1.3rem 1rem 1.3rem 0; display: grid; gap: .3rem; }
.strip div + div { padding-left: 1.2rem; border-left: 1px solid var(--line); }
.strip b { font: 500 1.05rem/1.25 var(--font-display); }
.strip span { color: var(--muted); font-size: .9rem; }
@media (max-width: 820px) { .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } .strip div:nth-child(3) { padding-left: 0; border-left: 0; } .strip div:nth-child(n+3) { border-top: 1px solid var(--line); } }

.mt { margin-top: 1.25rem; }
.small { font-size: .88rem; }
.cat .hs, .table-wrap { -webkit-font-smoothing: auto; }

.sr-only, .hp-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* product designer */
.designer { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.designer-stage { background: radial-gradient(circle at 50% 42%, var(--surface) 0, var(--tint) 70%); display: grid; place-items: center; padding: clamp(1rem, 4vw, 2.5rem); gap: .5rem; min-width: 0; }
.mock { width: min(100%, 420px); height: auto; overflow: visible; }
.mock .fill { transition: fill .35s ease; stroke: rgba(20, 22, 24, .14); stroke-width: 1.5; }
.mock .stroke { stroke: var(--mock-fill, #C8A46A); transition: stroke .35s ease; }
.brand-print { font: 800 22px/1 var(--font-body); letter-spacing: .04em; text-transform: uppercase; transition: fill .35s ease; }
.mock .tag { transform-box: view-box; }
.mock .tag.swing { animation: swing 1.4s cubic-bezier(.3,1.6,.5,1); }
@keyframes swing { 0% { rotate: 0deg; } 20% { rotate: 14deg; } 45% { rotate: -9deg; } 70% { rotate: 4deg; } 100% { rotate: 0deg; } }
.mock.pop { animation: pop .45s ease; }
@keyframes pop { 0% { scale: 1; } 40% { scale: 1.035; } 100% { scale: 1; } }
.mock { transform-origin: 50% 60%; }
.stage-note { font-size: .8rem; color: var(--muted); text-align: center; }
.designer-controls { padding: clamp(1.2rem, 3vw, 2rem); display: grid; gap: 1.1rem; align-content: start; min-width: 0; }
.swatches { display: flex; flex-wrap: wrap; gap: .55rem; }
.swatch { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--line); cursor: pointer; padding: 0; position: relative; }
.swatch[aria-checked="true"] { outline: 2.5px solid var(--primary); outline-offset: 3px; }
input[type="range"] { width: 100%; accent-color: var(--primary); }
.spec { margin: 0; display: grid; border: 1px dashed var(--line); border-radius: 10px; font-size: .95rem; }
.spec div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem .9rem; }
.spec div + div { border-top: 1px dashed var(--line); }
.spec dt { font: 500 .7rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: .2rem; }
.spec dd { margin: 0; text-align: right; }
@media (max-width: 860px) { .designer { grid-template-columns: minmax(0, 1fr); } }

/* Skipper chat */
.wa-float { bottom: calc(78px + env(safe-area-inset-bottom, 0px)); right: calc(18px + env(safe-area-inset-right, 0px)); padding: .6rem; }
.wa-float svg { font-size: 1.15rem; }
.wa-float span { display: none; }
.bot { position: fixed; z-index: 45; right: calc(14px + env(safe-area-inset-right, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); display: grid; justify-items: end; gap: .6rem; }
.bot-launch { position: relative; width: 56px; height: 56px; border-radius: 50%; border: 0; padding: 5px; cursor: pointer; background: var(--band-ink); box-shadow: var(--shadow), 0 0 0 1px var(--line); }
.bot-launch .skipper { width: 100%; height: 100%; }
.bot-bubble { position: absolute; right: 66px; bottom: 12px; white-space: nowrap; background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow); padding: .4rem .7rem; border-radius: 12px 12px 4px 12px; font: 500 .8rem var(--font-body); animation: bubble-in .5s 1.2s both; }
.bot-bubble[hidden] { display: none; }
@keyframes bubble-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.skipper .boat { animation: bob 2.6s ease-in-out infinite; transform-origin: 32px 40px; }
.skipper .waves { animation: wave 2.6s linear infinite; }
.skipper .eyes { animation: blink 4.5s infinite; transform-origin: 32px 41px; }
.skipper .puff { fill: var(--line); animation: puff 2.8s ease-out infinite; }
.skipper .p2 { animation-delay: 1.2s; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-2.5px) rotate(2deg); } }
@keyframes wave { from { transform: translateX(0); } to { transform: translateX(-8px); } }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes puff { 0% { opacity: 0; transform: translate(0, 4px) scale(.6); } 30% { opacity: .9; } 100% { opacity: 0; transform: translate(4px, -6px) scale(1.3); } }
.bot-panel { width: min(330px, calc(100vw - 28px)); height: min(470px, calc(100vh - 120px)); background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); display: grid; grid-template-rows: auto 1fr auto auto auto; overflow: hidden; }
.bot-head { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: .6rem; align-items: center; padding: .55rem .7rem; background: var(--band); color: var(--band-ink); }
.bot-head strong { display: block; font: 500 1.1rem/1.1 var(--font-display); }
.bot-head span { font-size: .82rem; color: var(--band-muted); }
.bot-head .icon-btn { color: var(--band-ink); border-color: color-mix(in srgb, var(--band-ink) 30%, transparent); width: 36px; height: 36px; }
.bot-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--band-ink); padding: 4px; display: block; }
.bot-avatar .skipper { width: 100%; height: 100%; }
.bot-log { overflow-y: auto; padding: 1rem .9rem; display: flex; flex-direction: column; gap: .6rem; }
.msg { max-width: 88%; padding: .5rem .75rem; border-radius: 12px; font-size: .9rem; line-height: 1.45; white-space: pre-line; overflow-wrap: anywhere; }
.msg.bot-msg { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg.me { align-self: flex-end; background: var(--primary); color: var(--on-primary); border-bottom-right-radius: 4px; }
.msg a { font-weight: 600; }
.msg .acts { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .55rem; white-space: normal; }
.msg .acts a { font-size: .85rem; padding: .3rem .65rem; border-radius: 999px; background: var(--tint); text-decoration: none; }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: dots 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
.bot-chips { display: flex; gap: .4rem; overflow-x: auto; padding: 0 .9rem .6rem; scrollbar-width: none; }
.bot-chips button { flex: none; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: .32rem .65rem; font: 500 .78rem var(--font-body); cursor: pointer; }
.bot-chips button:hover { border-color: var(--primary); color: var(--primary); }
.bot-input { display: flex; gap: .5rem; padding: .6rem .8rem; border-top: 1px solid var(--line); background: var(--surface); }
.bot-input input { flex: 1; min-width: 0; padding: .65rem .8rem; }
.bot-foot { font-size: .72rem; color: var(--muted); text-align: center; padding: 0 .8rem .55rem; background: var(--surface); }
@media (max-width: 520px) { .bot-bubble { display: none; } .bot-launch { width: 52px; height: 52px; } .wa-float { bottom: calc(72px + env(safe-area-inset-bottom, 0px)); right: calc(17px + env(safe-area-inset-right, 0px)); } }
@media (prefers-reduced-motion: reduce) { .skipper *, .bot-bubble, .mock, .mock .tag { animation: none !important; } }

/* long-form guide */
.guide { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.toc { position: sticky; top: calc(96px + env(safe-area-inset-top, 0px)); }
.toc ol { list-style: none; display: grid; gap: .1rem; border-left: 1px solid var(--line); }
.toc a { display: block; padding: .35rem .9rem; color: var(--muted); text-decoration: none; font-size: .93rem; }
.toc a:hover { color: var(--ink); }
.guide-body { max-width: 72ch; }
.guide-body h2 { scroll-margin-top: 96px; padding-top: .5rem; }
.guide-body .table-wrap { margin-block: .5rem; }
.guide-body td:first-child { white-space: normal; }
.guide-steps { list-style: none; counter-reset: g; display: grid; gap: .85rem; padding: 0 !important; }
.guide-steps li { counter-increment: g; display: grid; grid-template-columns: 2.2rem minmax(0, 1fr); gap: .6rem; }
.guide-steps li::before { content: counter(g, decimal-leading-zero); font: 500 .95rem/1.7 var(--font-mono); color: var(--uae); }
.guide-body .faq { margin-top: .5rem; }
@media (max-width: 900px) { .guide { grid-template-columns: minmax(0, 1fr); } .toc { position: static; } .toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

[hidden] { display: none !important; }

/* why list */
.why { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.why li { display: grid; gap: .4rem; padding: 1.4rem 1.4rem 1.4rem 0; border-bottom: 1px solid var(--line); }
.why li:not(:nth-child(3n+1)) { padding-left: 1.4rem; border-left: 1px solid var(--line); }
.why b { font: 400 1.2rem/1.25 var(--font-display); }
.why span { color: var(--muted); font-size: .97rem; }
@media (max-width: 860px) { .why { grid-template-columns: minmax(0, 1fr); } .why li, .why li:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; } }

/* jute page */
.chips a { color: inherit; text-decoration: none; }
.chips a:hover { color: var(--primary); text-decoration: underline; }
.tote-hero { margin: 0; display: grid; gap: .5rem; justify-items: center; padding: clamp(1rem, 3vw, 2rem); border-radius: 16px; background: radial-gradient(circle at 50% 45%, var(--surface) 0, var(--tint) 72%); border: 1px solid var(--line); }
.tote-hero svg { width: min(100%, 380px); height: auto; animation: sway 6s ease-in-out infinite; transform-origin: 50% 20%; }
.tote-hero figcaption { font-size: .8rem; color: var(--muted); text-align: center; }
@keyframes sway { 0%, 100% { rotate: -1.5deg; } 50% { rotate: 1.5deg; } }
.steps-compact > li { grid-template-columns: 3.2rem minmax(0, 1fr); padding-block: 1rem; }
.steps-compact > li::before { font-size: 1.2rem; }
@media (prefers-reduced-motion: reduce) { .tote-hero svg { animation: none; } }

/* demand ranking */
.demand-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); margin-bottom: 1rem; counter-reset: d; }
.demand-list li { display: grid; grid-template-columns: 2.2rem minmax(0, 15rem) minmax(0, 1fr) 5.5rem; gap: 1rem; align-items: center; padding-block: .85rem; border-bottom: 1px solid var(--line); counter-increment: d; }
.demand-list li::before { content: counter(d, decimal-leading-zero); font: 500 .85rem var(--font-mono); color: var(--muted); }
.d-name { display: grid; gap: .1rem; min-width: 0; }
.d-name a { font: 400 1.08rem/1.2 var(--font-display); color: var(--ink); text-decoration: none; }
.d-name a:hover { color: var(--primary); text-decoration: underline; }
.d-name small { font-size: .82rem; color: var(--muted); }
.d-bar { height: 10px; border-radius: 999px; background: color-mix(in srgb, var(--line) 70%, transparent); overflow: hidden; }
.d-bar i { display: block; height: 100%; width: var(--v); background: var(--primary); border-radius: 999px; transform-origin: left; animation: grow 1.1s cubic-bezier(.2,.7,.2,1) both; }
.demand-list li:nth-child(n+2) .d-bar i { animation-delay: calc(var(--i, 0) * 1ms + .08s); }
.d-val { font: 500 .95rem var(--font-mono); text-align: right; font-variant-numeric: tabular-nums; }
@keyframes grow { from { transform: scaleX(.02); } to { transform: scaleX(1); } }
@media (max-width: 700px) { .demand-list li { grid-template-columns: 1.8rem minmax(0, 1fr) auto; } .d-bar { grid-column: 2 / -1; grid-row: 2; } }
@media (prefers-reduced-motion: reduce) { .d-bar i { animation: none; } }
.chips li.top { background: color-mix(in srgb, var(--primary) 10%, var(--tint)); font-weight: 600; }
.demand { font: 500 .68rem/1.3 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--bd); }
.uae-grid .demand { color: var(--uae); }
.also-head { margin: 3rem 0 1.25rem; }
.cats-also .cat { padding: 1.1rem; gap: .5rem; background: transparent; }
.cats-also .cat p:not(.watch):not(.hs) { font-size: .92rem; }
.cats-also .cat-icon { font-size: 1.6rem; }
.cats-also .cat h3 { font-size: 1.02rem; }

/* homepage cards */
.pick-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.pick { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; transition: box-shadow .2s, transform .2s; }
.pick:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.pick img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.pick-body { padding: 1.3rem 1.4rem 1.5rem; display: grid; gap: .65rem; align-content: start; justify-items: start; }
.pick-body p:not(.lane-tag) { color: var(--muted); font-size: .98rem; }
.pick-body .btn { margin-top: .35rem; }
.lane-tag { color: var(--primary); }
.mini-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 1.25rem; }
.pick-mini { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .4rem 1rem; align-items: center; padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.pick-mini .cat-icon { font-size: 1.9rem; color: var(--primary); grid-row: span 2; }
.pick-mini h3 { font-size: 1.08rem; font-weight: 400; }
.pick-mini p { color: var(--muted); font-size: .92rem; }
.pick-mini .link-arrow { grid-column: 2; font-size: .92rem; }
.tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.tool { padding: 1.6rem; display: grid; gap: .6rem; align-content: start; justify-items: start; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.tool-icon { font-size: 1.6rem; color: var(--primary); }
.tool h3 { font-size: 1.2rem; font-weight: 400; }
.tool p { color: var(--muted); font-size: .96rem; }
.tool .btn { margin-top: .4rem; }
@media (max-width: 900px) { .pick-grid, .mini-grid, .tools { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 600px) and (max-width: 900px) { .tools, .mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* hero slideshow (auto-plays; no controls by design) */
.slides { position: relative; height: clamp(480px, 74vh, 700px); overflow: hidden; background: #141618; color: #FFFFFF; isolation: isolate; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.4s ease, visibility 0s linear 1.4s; display: grid; align-items: end; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.4s ease; z-index: 1; }
.slide-img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transform: scale(1.02); }
.slide.is-active .slide-img { animation: kenburns 9s ease-out both; }
@keyframes kenburns { from { transform: scale(1.12) translate(1%, 1%); } to { transform: scale(1.02) translate(0, 0); } }
.slide-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 12, 14, .82) 0%, rgba(10, 12, 14, .58) 50%, rgba(10, 12, 14, .18) 100%), linear-gradient(0deg, rgba(10, 12, 14, .55) 0%, rgba(10, 12, 14, 0) 55%); }
.slide-copy { position: relative; z-index: 1; display: grid; gap: 1rem; padding-block: 3rem clamp(3rem, 8vh, 5rem); max-width: var(--wrap); width: 100%; }
.slide-copy > * { max-width: 40rem; }
.slide-copy { transition: opacity .35s ease; }
.slide:not(.is-active) .slide-copy { opacity: 0; }
.slide-title { font: 400 clamp(2.2rem, 1.4rem + 3.6vw, 4rem)/1.08 var(--font-display); letter-spacing: -.02em; color: #FFFFFF; }
.slide-text { font-size: var(--step-1); line-height: 1.5; color: rgba(255, 255, 255, .86); }
.slides .eyebrow-light { color: rgba(255, 255, 255, .78); }
.slides.moved .slide.is-active .slide-copy > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.slides.moved .slide.is-active .slide-copy > :nth-child(2) { animation-delay: .12s; }
.slides.moved .slide.is-active .slide-copy > :nth-child(3) { animation-delay: .24s; }
.slides.moved .slide.is-active .slide-copy > :nth-child(4) { animation-delay: .36s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.slides .btn-outline-light { color: #FFFFFF; border-color: rgba(255, 255, 255, .55); }
.slides .btn-outline-light:hover { background: rgba(255, 255, 255, .12); color: #FFFFFF; border-color: #FFFFFF; }
.slide-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .18); z-index: 2; }
.slide-progress i { display: block; height: 100%; width: 100%; background: rgba(255, 255, 255, .85); transform-origin: left; transform: scaleX(0); }
.slides.playing .slide-progress i { animation: progress var(--slide-ms, 6500ms) linear both; }
@keyframes progress { to { transform: scaleX(1); } }
@media (max-width: 640px) { .slides { height: clamp(520px, 82vh, 640px); } .slide-shade { background: linear-gradient(0deg, rgba(10, 12, 14, .85) 0%, rgba(10, 12, 14, .45) 60%, rgba(10, 12, 14, .2) 100%); } }
@media (prefers-reduced-motion: reduce) { .slide.is-active .slide-img, .slide.is-active .slide-copy > * { animation: none; } .slide { transition: none; } }

/* simplified footer */
.footer { padding-block: 3.5rem calc(1.75rem + env(safe-area-inset-bottom, 0px)); }
.footer-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; }
.footer-about p { max-width: 36ch; }
.footer-contact { list-style: none; display: grid; gap: .5rem; font-size: .95rem; }
.footer-contact li { display: flex; gap: .6rem; align-items: center; }
.footer-contact svg { color: var(--muted); }
.footer-contact a { color: var(--ink); text-decoration: none; }
.footer-contact a:hover { color: var(--primary); text-decoration: underline; }
.footer-bar { align-items: center; }
.footer-bar ul { display: flex; gap: 1.25rem; grid-auto-flow: column; }
.footer-bar ul a { color: var(--muted); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-about { grid-column: 1 / -1; } }

/* product designer v2 (guided steps) */
.dz { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.dz-stage { background: radial-gradient(circle at 50% 40%, var(--surface) 0, var(--tint) 75%); padding: clamp(1rem, 3vw, 1.75rem); display: grid; gap: .75rem; align-content: start; min-width: 0; }
.dz-stage-bar { display: flex; justify-content: space-between; align-items: center; gap: .75rem; flex-wrap: wrap; }
.dz-stage-label { font: 500 .78rem var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.dz-views { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--surface); }
.dz-views button { border: 0; background: transparent; padding: .4rem .9rem; font: 500 .85rem var(--font-body); color: var(--ink); cursor: pointer; }
.dz-views button[aria-pressed="true"] { background: var(--primary); color: var(--on-primary); }
.dz-views button:disabled { opacity: .45; cursor: not-allowed; }
.dz .mock { width: min(100%, 440px); justify-self: center; }
.dz-summary { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); overflow: hidden; }
.dz-summary div { padding: .55rem .75rem; display: grid; gap: .1rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; }
.dz-summary dt { font: 500 .66rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.dz-summary dd { margin: 0; font-size: .9rem; overflow-wrap: anywhere; }
.dz-panel { padding: clamp(1.1rem, 3vw, 1.75rem); display: grid; gap: 1.1rem; align-content: start; min-width: 0; }
.dz-steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .4rem; }
.dz-steps button { width: 100%; display: grid; justify-items: center; gap: .3rem; padding: .55rem .25rem; border: 0; background: transparent; cursor: pointer; font: 500 .8rem var(--font-body); color: var(--muted); border-bottom: 2px solid var(--line); }
.dz-steps button span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); font: 500 .8rem var(--font-mono); }
.dz-steps button[aria-selected="true"] { color: var(--primary); border-bottom-color: var(--primary); }
.dz-steps button[aria-selected="true"] span { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.dz-steps button.done span { border-color: var(--primary); color: var(--primary); }
.dz-step { display: grid; gap: 1rem; min-height: 230px; align-content: start; }
.dz-q { font: 400 1.25rem/1.25 var(--font-display); }
.dz-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: .6rem; }
.dz-product { display: grid; justify-items: center; gap: .45rem; padding: .9rem .5rem; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); cursor: pointer; font: 500 .9rem var(--font-body); color: var(--ink); transition: border-color .15s, transform .15s; }
.dz-product svg { font-size: 2rem; color: var(--muted); }
.dz-product:hover { border-color: var(--muted); transform: translateY(-1px); }
.dz-product[aria-pressed="true"] { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 7%, var(--paper)); color: var(--primary); }
.dz-product[aria-pressed="true"] svg { color: var(--primary); }
.dz-swatches .swatch { width: 44px; height: 44px; }
.swatch-auto { background: conic-gradient(#FFFFFF 0 25%, #1E1F22 0 50%, #FFFFFF 0 75%, #1E1F22 0); }
.dz-seg { display: flex; flex-wrap: wrap; gap: .4rem; }
.dz-seg button { padding: .5rem .85rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); font: 500 .88rem var(--font-body); cursor: pointer; }
.dz-seg button[aria-checked="true"] { border-color: var(--primary); color: var(--primary); background: color-mix(in srgb, var(--primary) 7%, var(--paper)); }
.dz-upload { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.dz-upload label.btn { cursor: pointer; }
.dz-link { border: 0; background: none; color: var(--primary); font: 500 .9rem var(--font-body); cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: .2em; }
.dz-more { border-top: 1px solid var(--line); padding-top: .75rem; }
.dz-more summary { cursor: pointer; font-weight: 500; color: var(--primary); list-style: none; }
.dz-more summary::-webkit-details-marker { display: none; }
.dz-more summary::before { content: "+ "; }
.dz-more[open] summary::before { content: "\2013 "; }
.dz-more[open] { display: grid; gap: 1rem; }
.dz-sizes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .5rem; margin-top: .75rem; }
.dz-size { display: grid; gap: .25rem; text-align: center; font: 500 .8rem var(--font-mono); color: var(--muted); }
.dz-size input { text-align: center; padding: .55rem .3rem; }
.dz-moq { display: flex; gap: .5rem; align-items: center; font-size: .92rem; padding: .6rem .8rem; border-radius: 8px; background: color-mix(in srgb, var(--primary) 7%, var(--paper)); color: var(--ink); }
.dz-moq svg { color: var(--primary); }
.dz-warn { font-size: .88rem; color: var(--stop); }
.dz-nav { display: flex; justify-content: space-between; gap: .75rem; }
.dz-actions { display: grid; gap: .6rem; justify-items: center; border-top: 1px solid var(--line); padding-top: 1rem; position: relative; }
.dz-actions .btn.is-blocked { opacity: .55; }
.dz-toast { position: absolute; bottom: -.4rem; left: 50%; transform: translate(-50%, 100%); background: var(--band); color: var(--band-ink); font-size: .85rem; padding: .45rem .8rem; border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity .2s; white-space: nowrap; }
.dz-toast.on { opacity: 1; }
input[type="range"]:disabled { opacity: .45; }
@media (max-width: 900px) { .dz { grid-template-columns: minmax(0, 1fr); } .dz-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .dz-steps button { font-size: .72rem; } .dz-sizes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* compact designer section */
.dz-band { padding-block: clamp(2.5rem, 5vw, 3.75rem); }
.dz-band .section-head { margin-bottom: 1.5rem; }
.dz { max-width: 980px; margin-inline: auto; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.dz .mock { width: min(100%, 320px); }
.dz-stage { gap: .6rem; padding: 1rem 1.1rem; }
.dz-panel { gap: .85rem; padding: 1.1rem 1.25rem; }
.dz-step { min-height: 170px; gap: .8rem; }
.dz-q { font-size: 1.1rem; }
.dz-products { grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: .5rem; }
.dz-product { padding: .65rem .4rem; font-size: .84rem; }
.dz-product svg { font-size: 1.6rem; }
.dz-swatches .swatch { width: 38px; height: 38px; }
.dz-summary dd { font-size: .84rem; }
.dz-summary div { padding: .45rem .65rem; }
.dz-actions { padding-top: .8rem; }
.dz-actions .btn-lg { padding: .9rem 1.2rem; font-size: 1rem; }

/* designer as a pop-up: slim teaser on the page */
.dz-band { padding-block: clamp(1.75rem, 4vw, 2.5rem); }
.dz-teaser { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.25rem; align-items: center; padding: 1.1rem 1.4rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.dz-teaser-icon { font-size: 2.4rem; color: var(--primary); }
.dz-teaser-copy { display: grid; gap: .25rem; }
.dz-teaser-copy .h3 { font-size: 1.2rem; }
.dz-teaser-copy p.muted { font-size: .95rem; }
@media (max-width: 700px) { .dz-teaser { grid-template-columns: minmax(0, 1fr); } .dz-teaser-icon { display: none; } }
.dz-dialog { width: min(980px, calc(100vw - 24px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 16px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .45); overflow: auto; }
.dz-dialog::backdrop { background: rgba(20, 22, 24, .55); }
.dz-dialog-head { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: .7rem 1rem .7rem 1.25rem; background: var(--paper); border-bottom: 1px solid var(--line); }
.dz-dialog .dz { border: 0; border-radius: 0; box-shadow: none; max-width: none; }
@media (max-width: 760px) {
  .dz { grid-template-columns: minmax(0, 1fr); }
  .dz .mock { width: min(100%, 230px); }
  .dz-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dz-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dz-step { min-height: 0; }
  .dz-dialog { width: calc(100vw - 16px); max-height: calc(100vh - 16px); border-radius: 12px; }
}

/* fixed headline over the rotating background */
.slides-overlay { position: absolute; inset: 0; z-index: 2; display: grid; align-items: end; pointer-events: none; }
.slides-overlay .slide-copy { pointer-events: auto; }

/* homepage chooser: one click to the right page */
.chooser-band { padding: clamp(1.8rem, 4vw, 2.6rem) 0 0; }
.chooser-h { font-size: var(--step-1); font-weight: 400; margin-bottom: 1rem; }
.chooser { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
.choice-tile { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .8rem; align-items: center; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.choice-tile:hover, .choice-tile:focus-visible { border-color: var(--primary); box-shadow: 0 4px 14px rgba(10, 85, 164, .1); }
.choice-tile b { display: block; font-weight: 500; }
.choice-tile small { display: block; color: var(--muted); font-size: .85rem; line-height: 1.35; margin-top: .15rem; }
.choice-tile .cat-icon { width: 1.9rem; height: 1.9rem; color: var(--primary); }
.choice-tile .go { width: 1rem; height: 1rem; color: var(--primary); transition: transform .15s; }
.choice-tile:hover .go { transform: translateX(3px); }
.chooser-more { margin-top: .9rem; color: var(--muted); font-size: .95rem; }
@media (max-width: 1000px) { .chooser { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .chooser { grid-template-columns: minmax(0, 1fr); } }

/* product card quote link */
.cat-quote { justify-self: start; display: inline-flex; gap: .4rem; align-items: center; font-weight: 500; font-size: .95rem; text-decoration: none; padding: .45rem .9rem; border: 1.5px solid var(--primary); border-radius: 999px; color: var(--primary); }
.cat-quote svg { width: .9rem; height: .9rem; transition: transform .15s; }
.cat-quote:hover { background: var(--primary); color: var(--on-primary, #fff); }
.cat-quote:hover svg { transform: translateX(3px); }

/* short enquiry form */
.prefill-note { padding: .8rem 1rem; border-radius: 10px; background: var(--tint); border-left: 3px solid var(--primary); font-size: .95rem; }
.form-more { border: 1px dashed var(--line); border-radius: 10px; }
.form-more > summary { cursor: pointer; padding: .9rem 1rem; font-weight: 500; list-style: none; display: flex; gap: .5rem; align-items: baseline; flex-wrap: wrap; }
.form-more > summary::-webkit-details-marker { display: none; }
.form-more > summary::before { content: "+"; font: 500 1.1rem/1 var(--font-mono); color: var(--primary); }
.form-more[open] > summary::before { content: "\2212"; }
.form-more-body { display: grid; gap: 1rem; padding: 0 1rem 1rem; min-width: 0; }
.next-steps { list-style: none; counter-reset: ns; display: grid; gap: .8rem; padding: 0; margin: 0; font-size: .95rem; }
.next-steps li { counter-increment: ns; display: grid; grid-template-columns: 1.7rem minmax(0, 1fr); column-gap: .6rem; }
.next-steps li::before { content: counter(ns); grid-row: span 2; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--tint); color: var(--primary); font: 500 .8rem/1.6rem var(--font-mono); text-align: center; }
.next-steps b { font-weight: 500; }
.next-steps span { color: var(--muted); }
.next-steps.compact { margin-top: .8rem; }
.form-status.ok .next-steps li::before { background: var(--surface); }
.calc-send { margin-top: 1rem; }

/* route diagram: who does each step, at a glance */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .5rem; counter-reset: fl; }
.flow li { position: relative; display: grid; justify-items: center; align-content: start; gap: .55rem; text-align: center; padding: 1.1rem .6rem; border-radius: var(--radius); font-size: .92rem; line-height: 1.3; }
.flow li svg { width: 1.7rem; height: 1.7rem; }
.flow b { font-weight: 500; }
.flow .we { background: var(--primary); color: var(--on-primary); }
.flow .you { background: var(--surface); color: var(--ink); border: 1.5px dashed var(--primary); }
.flow .you svg { color: var(--primary); }
.flow li:not(:last-child)::after { content: ""; position: absolute; right: -.42rem; top: 50%; width: .5rem; height: .5rem; border-top: 2px solid var(--muted); border-right: 2px solid var(--muted); transform: translateY(-50%) rotate(45deg); z-index: 1; }
.flow-key { display: flex; gap: 1.2rem; justify-content: center; margin-top: .8rem; font-size: .85rem; color: var(--muted); }
.flow-key .k { display: inline-flex; align-items: center; gap: .4rem; }
.flow-key .k::before { content: ""; width: .9rem; height: .9rem; border-radius: 3px; }
.flow-key .we::before { background: var(--primary); }
.flow-key .you::before { border: 1.5px dashed var(--primary); }
@media (max-width: 760px) {
  .flow { grid-template-columns: minmax(0, 1fr); gap: .7rem; }
  .flow li { grid-template-columns: auto minmax(0, 1fr); justify-items: start; text-align: left; padding: .8rem 1rem; }
  .flow li:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -.55rem; transform: translateX(-50%) rotate(135deg); }
}
@media (max-width: 1000px) and (min-width: 761px) { .tools { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* delivery-term coverage chart */
.cover th[scope="row"] { font: 500 1rem var(--font-mono); white-space: nowrap; }
.cover th[scope="row"] small { display: block; font: 400 .8rem var(--font-body, inherit); color: var(--muted); white-space: normal; margin-top: .15rem; text-transform: none; letter-spacing: 0; }
.cover td { text-align: center; }
.cov { display: inline-block; min-width: 5.5rem; padding: .35rem .6rem; border-radius: 6px; font-size: .82rem; font-weight: 500; }
.cov.we { background: var(--primary); color: var(--on-primary); }
.cov.you { border: 1.5px dashed var(--primary); color: var(--primary); }
.cov.part { background: var(--tint); color: var(--primary); border: 1.5px solid var(--primary); }

/* to-scale mattress shapes in the size guide (1px per 4cm) */
.bed { display: inline-block; vertical-align: middle; width: calc(var(--w) * .25px); height: calc(var(--h) * .25px); max-height: 52px; max-width: 52px; border: 1.5px solid var(--primary); border-radius: 4px; background: var(--tint); }
