/* Attendra — site styles
   Palette: cobalt (blueprint), ink, paper, signal yellow; green and orange carry status only.
   Type: Archivo variable, one family. Headlines use its wide cut, body its normal width. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; 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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --cobalt: #2340e0;
  --cobalt-deep: #1a31bd;
  --ink: #0e1740;
  --paper: #f4f6fb;
  --white: #fff;
  --yellow: #ffd23f;
  --ok: #0b8f67;        /* status on light surfaces */
  --late: #c9500f;
  --ok-bright: #3be8b0; /* status on dark surfaces */
  --late-bright: #ff8a4c;
  --muted: #56608a;
  --rule: rgba(14, 23, 64, 0.16);
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --edge: max(var(--gutter), calc((100vw - 86rem) / 2)); /* one left edge for nav, stage and sections */
  --focus: var(--cobalt);
  --nav-h: 4.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif; font-size: 1.0625rem; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
[hidden] { display: none !important; }

h1, h2 { font-stretch: 122%; font-weight: 800; letter-spacing: -0.022em; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 6.1vw, 5.75rem); line-height: 0.96; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3.25rem); line-height: 1.04; }
h3 { font-stretch: 112%; font-weight: 700; font-size: 1.2rem; line-height: 1.25; letter-spacing: -0.01em; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.5; max-width: 34em; }
.fine { font-size: 0.85rem; color: var(--muted); }
.fine--light { color: rgba(255, 255, 255, 0.62); }
.wrap { padding: 0 var(--edge); }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--yellow); color: var(--ink); padding: 0.6rem 1rem; font-weight: 700; }
.skip:focus { top: 1rem; }

/* ---------- buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3.25rem; padding: 0.75rem 1.5rem; border: 2px solid transparent; border-radius: 4px;
  font-weight: 700; font-stretch: 108%; text-decoration: none; cursor: pointer; transition: transform 0.12s ease, background-color 0.12s ease;
}
.btn:active { transform: translateY(1px); }
.btn--small { min-height: 2.6rem; padding: 0.45rem 1.05rem; font-size: 0.95rem; }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: #ffdd66; }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: #1b2760; }
.btn--ghost-ink { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ghost-ink:hover { background: rgba(14, 23, 64, 0.06); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.link-down { font-weight: 600; text-underline-offset: 0.3em; text-decoration-thickness: 2px; }
.link-down:hover { text-decoration-color: var(--yellow); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; gap: 2rem; padding: 0 var(--edge);
  color: var(--white); --focus: var(--yellow);
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.nav__logo img { height: 2rem; width: auto; }
.nav__logo-light { display: none; }
.nav__links { display: flex; gap: 1.75rem; margin-left: auto; font-size: 0.98rem; font-weight: 500; }
.nav__links a { text-decoration: none; padding: 0.4rem 0; border-bottom: 2px solid transparent; }
.nav__links a:hover { border-bottom-color: currentColor; }
.nav.is-light { background: rgba(244, 246, 251, 0.94); color: var(--ink); box-shadow: 0 1px 0 var(--rule); --focus: var(--cobalt); backdrop-filter: blur(10px); }
.nav.is-light .nav__logo-blue { display: none; }
.nav.is-light .nav__logo-light { display: block; }
.nav.is-light .btn--yellow { background: var(--cobalt); color: var(--white); }
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav .btn { margin-left: auto; }
}

/* ---------- 3D stage ---------- */
.stage { position: relative; background: var(--cobalt); color: var(--white); --focus: var(--yellow); }
.stage__view { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.stage__view canvas { width: 100%; height: 100%; }
.stage__poster { display: none; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 80% 50%; }
.no-webgl .stage__poster { display: block; }
.no-webgl .stage__view canvas { display: none; }
.stage__tags { position: absolute; inset: 0; pointer-events: none; }
.stage__panels { position: relative; margin-top: -100vh; margin-top: -100svh; pointer-events: none; }
.panel { min-height: 100vh; display: flex; align-items: center; padding: calc(var(--nav-h) + 1rem) var(--edge) 2rem; }
.panel > * { pointer-events: auto; }

.hero { max-width: 39rem; }
.hero__lede { margin-top: 1.6rem; font-size: clamp(1.1rem, 1.45vw, 1.3rem); line-height: 1.5; max-width: 31em; color: rgba(255, 255, 255, 0.92); }
.hero__actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem 1.8rem; }
.hero__note { margin-top: 2.4rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.35); font-size: 0.95rem; color: rgba(255, 255, 255, 0.8); max-width: 22rem; }

/* step panels are drawn like the title block of a technical drawing */
.block { width: min(27rem, 100%); background: rgba(22, 42, 170, 0.9); border: 1px solid rgba(255, 255, 255, 0.6); }
.block__head { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 1.25rem; border-bottom: 1px solid rgba(255, 255, 255, 0.6); font-size: 0.85rem; font-weight: 500; color: rgba(255, 255, 255, 0.85); }
.block__head span + span { color: var(--yellow); }
.block h2 { font-size: clamp(1.6rem, 2.5vw, 2.15rem); padding: 1.4rem 1.25rem 0; }
.block p { padding: 0.9rem 1.25rem 1.5rem; color: rgba(255, 255, 255, 0.92); }

/* labels that follow people in the scene */
.tag {
  position: absolute; left: 0; top: 0; display: grid; gap: 0.1rem; padding: 0.4rem 0.6rem 0.45rem; min-width: 7.2rem;
  background: var(--white); color: var(--ink); border-radius: 3px; box-shadow: 0 6px 18px rgba(6, 16, 74, 0.35);
  font-size: 0.74rem; line-height: 1.25; white-space: nowrap; will-change: transform;
  visibility: hidden; opacity: 0; transition: opacity 0.2s ease, visibility 0s linear 0.2s;
}
.tag.is-on { visibility: visible; opacity: 1; transition: opacity 0.2s ease; }
.tag::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; background: inherit; transform: translateX(-50%) rotate(45deg); }
.tag__who { display: flex; gap: 0.45rem; align-items: baseline; }
.tag__who b { font-weight: 700; font-size: 0.8rem; }
.tag__who span { color: var(--muted); }
.tag__what { display: flex; gap: 0.35rem; align-items: baseline; font-variant-numeric: tabular-nums; }
.tag__what i { font-style: normal; font-weight: 700; }
.tag__what i:empty, .tag__what time:empty, .tag__who span:empty { display: none; }
.tag__what em { font-style: normal; font-weight: 700; margin-left: auto; padding-left: 0.5rem; }
.tag[data-kind="ok"] em { color: var(--ok); }
.tag[data-kind="late"] em { color: var(--late); }
.tag[data-kind="out"] em { color: var(--cobalt); }
.tag[data-kind="scan"] { background: var(--yellow); }
.tag[data-kind="scan"] em { margin-left: 0; padding-left: 0; font-weight: 500; }
.tag--enroll[data-kind="ok"] em { margin-left: 0; padding-left: 0; }

@media (max-width: 600px) { .hero .link-down { display: none; } }
@media (max-width: 900px) {
  .panel { align-items: flex-start; }
  .panel--hero { padding-top: calc(var(--nav-h) + 1.5rem); }
  .hero__note { display: none; }
  .hero__actions { margin-top: 1.5rem; }
  .hero__lede { margin-top: 1.1rem; }
  .block p { padding-bottom: 1.2rem; }
  .tag { font-size: 0.66rem; min-width: 6.2rem; padding: 0.3rem 0.45rem; }
  .tag__who b { font-size: 0.7rem; }
}

/* ---------- shifts and late rules ---------- */
.rules { padding: clamp(5rem, 10vw, 9rem) 0; }
.rules__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.rules__text .lede { margin-top: 1.4rem; color: #2a3465; }
.chain { margin-top: 2.8rem; counter-reset: chain; }
.chain li { counter-increment: chain; position: relative; padding: 0 0 1.7rem 3.6rem; }
.chain li::before {
  content: counter(chain); position: absolute; left: 0; top: -0.15rem; width: 2.2rem; height: 2.2rem; display: grid; place-items: center;
  border: 2px solid var(--cobalt); border-radius: 50%; color: var(--cobalt); font-weight: 700; background: var(--paper);
}
.chain li::after { content: ""; position: absolute; left: calc(1.1rem - 1px); top: 2.05rem; bottom: 0.15rem; width: 2px; background: var(--cobalt); opacity: 0.3; }
.chain li:last-child { padding-bottom: 0; }
.chain li:last-child::after { display: none; }
.chain p { margin-top: 0.25rem; color: #2a3465; max-width: 30em; }

.tester { position: sticky; top: calc(var(--nav-h) + 1.5rem); background: var(--white); border: 1.5px solid var(--ink); border-radius: 4px; padding: clamp(1.25rem, 2.5vw, 2rem); }
.tester__head h3 { font-size: 1.35rem; }
.tester__head p { color: var(--muted); margin-top: 0.2rem; }
.tester__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; margin-top: 1.5rem; }
.field { display: grid; gap: 0.4rem; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field > span { font-size: 0.9rem; font-weight: 600; display: flex; justify-content: space-between; gap: 0.6rem; align-items: baseline; }
.field small { font-weight: 400; color: var(--muted); font-size: 0.82rem; }
.field output { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--cobalt); }
.field input:not([type="range"]), .field select, .field textarea {
  width: 100%; min-height: 3rem; padding: 0.65rem 0.8rem; background: var(--white); border: 1.5px solid #aab2d2; border-radius: 4px;
}
.field textarea { resize: vertical; min-height: 6.5rem; line-height: 1.45; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline-offset: 0; border-color: var(--cobalt); }
.field ::placeholder { color: #8a92b5; }
input[type="range"] { width: 100%; accent-color: var(--cobalt); height: 1.6rem; margin: 0; }

.timeline { margin-top: 1.5rem; }
.timeline label { font-size: 0.9rem; font-weight: 600; display: flex; justify-content: space-between; }
.timeline output { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--cobalt); }
.timeline__track {
  --start: 33.333%; --grace: 44.444%;
  position: relative; margin-top: 0.5rem; height: 3.4rem; border: 1.5px solid var(--ink); border-radius: 4px; overflow: hidden;
  background:
    linear-gradient(to right, rgba(11, 143, 103, 0.2) 0 var(--start), transparent var(--start)),
    repeating-linear-gradient(135deg, rgba(11, 143, 103, 0.34) 0 6px, rgba(11, 143, 103, 0.12) 6px 12px) 0 0 / var(--grace) 100% no-repeat,
    rgba(201, 80, 15, 0.2);
}
.timeline__track::before { content: ""; position: absolute; top: 0; bottom: 0; left: var(--start); width: 2px; background: var(--ink); }
.timeline__track input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: ew-resize; }
.timeline__track input::-webkit-slider-runnable-track { height: 100%; background: transparent; }
.timeline__track input::-moz-range-track { height: 100%; background: transparent; }
.timeline__track input::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 3.4rem; background: var(--ink); border: 3px solid var(--yellow); border-radius: 3px; }
.timeline__track input::-moz-range-thumb { width: 8px; height: 3rem; background: var(--ink); border: 3px solid var(--yellow); border-radius: 3px; }
.timeline__ticks { position: relative; height: 1.4rem; margin-top: 0.35rem; font-size: 0.8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.timeline__ticks span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.timeline__ticks span[data-t-tick="a"] { left: var(--start, 33.333%); font-weight: 700; color: var(--ink); }
.timeline__ticks span[data-t-tick="b"] { left: 0; transform: none; }
.timeline__ticks span[data-t-tick="c"] { right: 0; left: auto; transform: none; }

.tester__result { margin-top: 1.4rem; display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; min-height: 4rem; }
.stamp {
  display: inline-block; padding: 0.35rem 0.9rem; border: 3px solid currentColor; border-radius: 4px; transform: rotate(-3deg);
  font-stretch: 118%; font-weight: 800; font-size: 1.35rem; letter-spacing: 0.01em; color: var(--ok); white-space: nowrap;
}
.stamp[data-kind="late"] { color: var(--late); }
.stamp.is-hit { animation: stamp 0.22s ease-out; }
@keyframes stamp { from { transform: rotate(-3deg) scale(1.18); opacity: 0.4; } to { transform: rotate(-3deg) scale(1); opacity: 1; } }
.tester__result p { flex: 1 1 12rem; font-size: 0.95rem; color: #2a3465; }
.tester > .fine { margin-top: 1rem; }

@media (max-width: 900px) {
  .rules__grid { grid-template-columns: 1fr; }
  .tester { position: static; }
}

/* ---------- logs and dashboard ---------- */
.records { background: var(--ink); color: var(--white); padding: clamp(5rem, 10vw, 9rem) 0; --focus: var(--yellow); overflow: hidden; }
.records__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.records__text .lede { margin-top: 1.4rem; color: rgba(255, 255, 255, 0.86); }
.ticks { margin-top: 1.8rem; display: grid; gap: 0.7rem; }
.ticks li { position: relative; padding-left: 1.9rem; }
.ticks li::before { content: ""; position: absolute; left: 0.2rem; top: 0.32em; width: 0.5rem; height: 0.85rem; border: solid var(--yellow); border-width: 0 3px 3px 0; transform: rotate(40deg); }

.dash-wrap { perspective: 1400px; }
.dash {
  --rx: 5deg; --ry: -9deg;
  background: var(--paper); color: var(--ink); border-radius: 8px; padding: 1.1rem 1.2rem 0.6rem;
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-origin: 50% 50%; transition: transform 0.25s ease-out;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.dash-wrap > .fine { margin-top: 1.6rem; text-align: right; }
.dash__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.dash__bar strong { font-stretch: 115%; font-size: 1.15rem; font-weight: 800; }
.dash__chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chip { min-height: 2rem; padding: 0.2rem 0.75rem; border: 1.5px solid #aab2d2; border-radius: 99px; background: transparent; font-size: 0.85rem; font-weight: 600; cursor: pointer; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.dash__stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 1rem; border: 1.5px solid var(--ink); border-radius: 4px; background: var(--white); }
.dash__stats div { padding: 0.7rem 0.9rem; border-left: 1px solid var(--rule); }
.dash__stats div:first-child { border-left: 0; }
.dash__stats dt { font-size: 0.82rem; color: var(--muted); }
.dash__stats dd { font-stretch: 118%; font-weight: 800; font-size: 1.7rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.dash__stats [data-kind="ok"] dd { color: var(--ok); }
.dash__stats [data-kind="late"] dd { color: var(--late); }
.dash__table { margin-top: 0.8rem; font-size: 0.9rem; }
.dash__row { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.3fr) 3.6rem 3.6rem minmax(5.6rem, 1fr); gap: 0.75rem; align-items: center; padding: 0.5rem 0.2rem; border-top: 1px solid var(--rule); font-variant-numeric: tabular-nums; }
.dash__row--head { border-top: 0; font-size: 0.8rem; color: var(--muted); padding-bottom: 0.35rem; }
.dash__person { display: flex; align-items: center; gap: 0.65rem; min-width: 0; }
.dash__person svg { flex: none; width: 2.4rem; height: 2.4rem; border-radius: 3px; }
.dash__person b { display: block; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash__person small { display: block; color: var(--muted); font-size: 0.8rem; }
.dash__status { font-weight: 700; }
.dash__status[data-kind="ok"] { color: var(--ok); }
.dash__status[data-kind="late"] { color: var(--late); }
.dash__status[data-kind="absent"] { color: var(--muted); }
.dash__empty { padding: 1.2rem 0.2rem; color: var(--muted); border-top: 1px solid var(--rule); }

@media (max-width: 1000px) {
  .records__grid { grid-template-columns: 1fr; }
  .dash { --rx: 0deg !important; --ry: 0deg !important; }
}
@media (max-width: 560px) {
  .dash__row { grid-template-columns: minmax(0, 1fr) 3.1rem 3.1rem 4.6rem; gap: 0.5rem; font-size: 0.82rem; }
  .dash__row > :nth-child(2) { display: none; }
  .dash__stats dd { font-size: 1.3rem; }
  .dash__stats div { padding: 0.55rem 0.5rem; }
  .dash__person svg { width: 2rem; height: 2rem; }
}

/* ---------- packages ---------- */
.packages { padding: clamp(5rem, 10vw, 9rem) 0; }
.packages__intro .lede { margin-top: 1rem; color: #2a3465; }
.packages__pair { margin-top: 3rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.pkg { display: flex; flex-direction: column; padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: 6px; }
.pkg--local { background: var(--white); border: 1.5px solid var(--ink); }
.pkg--cloud { background: var(--cobalt); color: var(--white); border: 1.5px solid var(--cobalt); --focus: var(--yellow); }
.pkg__art { width: min(17.5rem, 100%); height: auto; margin-bottom: 1.6rem; opacity: 0.9; }
.pkg h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); font-stretch: 120%; font-weight: 800; letter-spacing: -0.02em; }
.pkg__what { margin-top: 0.4rem; font-size: 1.1rem; }
.pkg .ticks { margin-top: 1.5rem; }
.pkg--local .ticks li::before { border-color: var(--cobalt); }
.pkg__price { margin: 2rem 0 1.5rem; padding-top: 1.25rem; border-top: 1px solid currentColor; display: grid; gap: 0.15rem; }
.pkg--local .pkg__price { border-top-color: var(--rule); }
.pkg--cloud .pkg__price { border-top-color: rgba(255, 255, 255, 0.35); }
.pkg__price strong { font-stretch: 118%; font-weight: 800; font-size: 1.5rem; letter-spacing: -0.01em; }
.pkg__price span { font-size: 0.95rem; opacity: 0.8; }
.pkg .btn { margin-top: auto; align-self: flex-start; }

.included { margin-top: 3.5rem; padding-top: 2rem; border-top: 1.5px solid var(--ink); display: grid; grid-template-columns: minmax(0, 0.3fr) minmax(0, 1fr); gap: 2rem; }
.included__list { columns: 2; column-gap: 3rem; }
.included__list li { position: relative; break-inside: avoid; padding: 0 0 0.7rem 1.9rem; }
.included__list li::before { content: ""; position: absolute; left: 0.2rem; top: 0.32em; width: 0.5rem; height: 0.85rem; border: solid var(--cobalt); border-width: 0 3px 3px 0; transform: rotate(40deg); }
@media (max-width: 820px) {
  .packages__pair { grid-template-columns: 1fr; }
  .included { grid-template-columns: 1fr; gap: 1.2rem; }
}
@media (max-width: 520px) { .included__list { columns: 1; } }

/* ---------- request a quote ---------- */
.quote { background: var(--cobalt); color: var(--white); padding: clamp(5rem, 10vw, 9rem) 0; --focus: var(--yellow); }
.quote__grid { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.quote__text h2 { font-size: clamp(2.4rem, 5vw, 4.5rem); line-height: 0.98; }
.quote__text .lede { margin-top: 1.4rem; color: rgba(255, 255, 255, 0.92); }
.quote__facts { margin-top: 2.5rem; display: grid; gap: 1.4rem; }
.quote__facts div { padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.4); }
.quote__facts dt { font-weight: 700; }
.quote__facts dd { margin-top: 0.2rem; color: rgba(255, 255, 255, 0.86); max-width: 28em; }
.quote__contact { margin-top: 2rem; }
.quote__contact a { font-weight: 700; text-underline-offset: 0.25em; }

.rfq { background: var(--white); color: var(--ink); border-radius: 6px; padding: clamp(1.25rem, 3vw, 2.5rem); --focus: var(--cobalt); }
.rfq__body { display: grid; gap: 1.25rem; }
.rfq__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1.1rem; align-items: start; }
.field.is-invalid input, .field.is-invalid select { border-color: var(--late); border-width: 2px; }
.field__msg { font-size: 0.85rem; font-weight: 600; color: var(--late); }
.choice legend { font-size: 0.9rem; font-weight: 600; margin-bottom: 0.4rem; }
.choice { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.choice legend { float: left; width: 100%; padding: 0; }
.choice label { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice label span { display: inline-flex; align-items: center; min-height: 3rem; padding: 0.5rem 1.1rem; border: 1.5px solid #aab2d2; border-radius: 4px; font-weight: 600; }
.choice--inline label span { padding: 0.5rem 0.85rem; }
.choice label:hover span { border-color: var(--ink); }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.choice input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 3px; }
.check { display: flex; gap: 0.7rem; align-items: center; cursor: pointer; font-weight: 500; }
.check input { width: 1.3rem; height: 1.3rem; accent-color: var(--cobalt); margin: 0; flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rfq__error { padding: 0.8rem 1rem; border: 2px solid var(--late); border-radius: 4px; color: #8a3204; font-weight: 600; background: #fff3ec; }
.rfq__actions { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.rfq__done { display: grid; gap: 0.9rem; justify-items: start; }
.rfq__done:focus { outline: none; }
.rfq__done h3 { font-size: 1.9rem; font-stretch: 120%; font-weight: 800; }
.rfq__summary { width: 100%; display: grid; grid-template-columns: auto 1fr; gap: 0.35rem 1.25rem; margin: 0.6rem 0 0.8rem; padding: 1rem 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-size: 0.95rem; }
.rfq__summary dt { color: var(--muted); }
.rfq__summary dd { font-weight: 600; overflow-wrap: anywhere; }
.rfq__notice { padding: 0.8rem 1rem; border: 1.5px dashed var(--ink); border-radius: 4px; background: #fff8dd; font-size: 0.95rem; }
@media (max-width: 900px) { .quote__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .rfq__row { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, 0.8); padding: 3.5rem 0 2.5rem; --focus: var(--yellow); }
.footer__grid { display: grid; grid-template-columns: 1fr auto; gap: 2rem 3rem; align-items: start; }
.footer img { height: 2.25rem; width: auto; }
.footer p { margin-top: 0.8rem; }
.footer nav { display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem; justify-content: flex-end; max-width: 30rem; }
.footer nav a { text-decoration: none; }
.footer nav a:hover { text-decoration: underline; text-underline-offset: 0.25em; }
.footer__legal { grid-column: 1 / -1; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.2); font-size: 0.88rem; }
@media (max-width: 700px) { .footer__grid { grid-template-columns: 1fr; } .footer nav { justify-content: flex-start; } }

/* anchors land below the fixed nav */
.rules, .records, .packages, .quote { scroll-margin-top: calc(var(--nav-h) - 1.5rem); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
