/* Moving Volume Estimator — "spec sheet": survey-paper grid, navy ink, measuring-tape yellow, petrol. */

@font-face { font-family: "Oswald"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/oswald-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Oswald"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/oswald-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Lexend"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/lexend-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lexend"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/lexend-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Lexend"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/lexend-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lexend"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/lexend-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Roboto Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/roboto-mono-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/roboto-mono-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --paper: #f4f6f8;
  --grid: #e2e8ed;
  --grid-major: #d3dae0;
  --card: #ffffff;
  --ink: #14212b;
  --ink-2: #23323e;
  --soft: #4b5a66;
  --line: #d3dae0;
  --tape: #f5b700;
  --tape-tint: #fff3c4;
  --petrol: #0e5e6f;
  --petrol-light: #7fd3e3;
  --display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --text: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Roboto Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

body {
  margin: 0;
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-major) 1px, transparent 1px),
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 160px 160px, 160px 160px, 32px 32px, 32px 32px;
  overflow-wrap: anywhere;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--petrol); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--tape); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3 { hyphens: auto; font-family: var(--display); font-weight: 700; line-height: 1.08; margin: 0; letter-spacing: 0.005em; text-transform: uppercase; }
h1 { font-size: clamp(2.4rem, 7.4vw, 5.4rem); }
h2 { font-size: clamp(1.8rem, 4.4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.unit { text-transform: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 10; border-radius: var(--radius); }
.skip:focus { top: 12px; }

.kicker { font-family: var(--mono); font-weight: 500; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--petrol); margin: 0 0 12px; }

/* Measuring tape: yellow with centimetre ticks, longer every fifth and tenth */
.tape {
  height: 14px;
  background:
    repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 100px) 0 0 / 100% 11px no-repeat,
    repeating-linear-gradient(90deg, var(--ink) 0 1.5px, transparent 1.5px 50px) 0 0 / 100% 8px no-repeat,
    repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 10px) 0 0 / 100% 5px no-repeat,
    var(--tape);
}

/* Header */
.top { background: var(--card); position: relative; z-index: 2; }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0.02em; min-width: 0; }
.nav { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 6px; margin: 0; padding: 0; }
.nav a { display: inline-block; padding: 8px 12px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.95rem; border-radius: var(--radius); }
.nav a:hover, .nav a[aria-current="page"] { background: var(--tape-tint); color: var(--ink); }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--tape); }

/* Hero */
.hero { padding: 56px 0 24px; }
.hero h1 > span { display: block; }
.hero h1 .accent { color: var(--petrol); }
.hero-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; margin-top: 28px; align-items: start; }
.lead { font-size: 1.2rem; line-height: 1.55; color: var(--ink-2); max-width: 46ch; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; }
.facts li { font-family: var(--mono); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; border: 1.5px solid var(--ink); background: var(--card); padding: 5px 10px; border-radius: 3px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.text-link { font-weight: 600; }
.text-link.light { color: var(--tape); }

.play { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 20px 8px 14px; background: var(--ink); color: #fff; border-radius: var(--radius); text-decoration: none; border: 2px solid var(--ink); }
a.play:hover { background: var(--ink-2); color: #fff; }
.play-icon { width: 26px; height: 26px; flex: none; background: var(--tape); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.play-text { display: flex; flex-direction: column; line-height: 1.15; }
.play-small { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: #c9d4db; }
.play-big { font-family: var(--display); font-size: 1.35rem; text-transform: uppercase; }
.play-soon { background: var(--card); color: var(--ink); cursor: default; }
.play-soon .play-small { color: var(--soft); }
.play-soon .play-icon { background: var(--line); }

/* Screen strip under the hero, each screen with a dimension line above it */
.strip { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.dim { position: relative; margin: 0 0 16px; padding-top: 14px; text-align: center; font-family: var(--mono); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--soft); }
.dim::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: var(--ink); }
.dim::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; border-left: 2px solid var(--ink); border-right: 2px solid var(--ink); }
.dim span { position: relative; top: 4px; background: var(--paper); padding: 0 8px; }

.shot { margin: 0; position: relative; max-width: 340px; margin-inline: auto; }
.shot img { width: 100%; border: 3px solid var(--ink); border-radius: 18px 18px 6px 6px; background: var(--card); box-shadow: 12px 12px 0 var(--tape); }

/* How it works: the sum as a line of cells */
.how { padding: 72px 0 40px; }
.section-head { max-width: 760px; margin-bottom: 32px; }
.section-lead { color: var(--soft); font-size: 1.1rem; margin-top: 12px; }
.formula { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border: 2px solid var(--ink); border-radius: var(--radius); background: var(--card); }
.cell { position: relative; padding: 22px 14px 20px 26px; border-left: 1px dashed var(--line); display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cell:first-child { border-left: none; }
.op { position: absolute; left: -15px; top: 18px; width: 28px; height: 28px; display: grid; place-items: center; background: var(--tape); border: 2px solid var(--ink); border-radius: 50%; font-family: var(--mono); font-weight: 500; font-size: 0.95rem; line-height: 1; }
.cell-value { font-family: var(--display); font-weight: 700; font-size: 1.6rem; text-transform: uppercase; line-height: 1.1; }
.cell-note { font-size: 0.9rem; color: var(--soft); line-height: 1.45; }
.cell-result { background: var(--ink); color: #fff; }
.cell-result .cell-value { color: var(--tape); }
.cell-result .cell-note { color: #c9d4db; }
.aside { margin-top: 20px; color: var(--soft); max-width: 70ch; }

/* Feature rows */
.features { padding: 56px 0; }
.rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 64px; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 48px; align-items: center; padding-top: 28px; border-top: 2px solid var(--ink); }
.row-flip { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); }
.row-flip .row-copy { order: 2; }
.row-no { font-family: var(--mono); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--soft); margin-bottom: 10px; }
.row-no span { background: var(--tape); color: var(--ink); padding: 2px 8px; margin-right: 8px; border-radius: 3px; }
.row h3 { margin-bottom: 14px; }
.row-copy > p { color: var(--ink-2); max-width: 58ch; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 14px; height: 8px; border-left: 2px solid var(--petrol); border-bottom: 2px solid var(--petrol); transform: rotate(-45deg); }

/* Typical load spaces */
.loads { padding: 40px 0 64px; }
.loads-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.loads-inner p { color: var(--ink-2); margin-top: 14px; }
.load-table { width: 100%; border-collapse: collapse; background: var(--card); border: 2px solid var(--ink); }
.load-table th, .load-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.load-table thead th { font-family: var(--mono); font-weight: 500; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--soft); background: var(--paper); }
.load-table td { font-family: var(--mono); white-space: nowrap; text-align: right; }
.load-table tbody th { font-weight: 600; }

/* Privacy band */
.private { background: var(--ink); color: #fff; padding: 64px 0; }
.private .kicker { color: var(--petrol-light); }
.private-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
.private h2 { margin-bottom: 18px; }
.private-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #3a4c5a; }
.private-list li { padding: 14px 0 14px 34px; border-bottom: 1px solid #3a4c5a; position: relative; }
.private-list li::before { content: ""; position: absolute; left: 0; top: 19px; width: 18px; height: 12px; background: var(--tape); }

/* FAQ */
.faq { padding: 64px 0; }
.faq-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; }
.faq-list { display: grid; gap: 10px; }
details { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); }
details[open] { border-color: var(--ink); }
summary { cursor: pointer; padding: 14px 18px; font-weight: 600; list-style-position: inside; }
details p { padding: 0 18px 4px; color: var(--ink-2); }

/* Download */
.download { padding: 0 0 64px; }
.download-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 32px; background: var(--tape); border: 2px solid var(--ink); border-radius: var(--radius); }
.download-inner h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); margin-bottom: 10px; }
.download-inner p { margin: 0; }
.download-inner a:not(.play) { color: var(--ink); font-weight: 600; }

/* Inner pages */
.page { padding: 48px 0 72px; }
.page h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); margin-bottom: 18px; }
.legal { background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius); padding: 36px 40px 28px; }
.legal h2 { font-size: clamp(1.3rem, 3.2vw, 1.7rem); margin: 34px 0 12px; }
.legal p, .legal li { color: var(--ink-2); }
.legal .lead { max-width: none; }
.legal .faq-list { margin-top: 8px; }
.toc { border: 1.5px dashed var(--line); border-radius: var(--radius); padding: 14px 18px; margin: 24px 0 8px; background: var(--paper); }
.toc ol { margin: 0; padding-left: 22px; columns: 2; column-gap: 32px; }
.note { border-left: 4px solid var(--tape); padding: 8px 14px; background: var(--tape-tint); }
.small { font-size: 0.9rem; color: var(--soft); }

/* Footer */
.foot { background: var(--card); border-top: 2px solid var(--ink); padding: 32px 0 24px; }
.foot-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.foot-brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.foot-brand img { border-radius: 10px; }
.foot-name { font-family: var(--display); font-weight: 700; font-size: 1.2rem; text-transform: uppercase; margin: 0; }
.foot-small { margin: 0; font-size: 0.9rem; color: var(--soft); }
.foot-links { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 0; }
.foot-links a { color: var(--ink); font-weight: 600; }
.foot-note { margin-top: 22px; font-size: 0.85rem; color: var(--soft); }

/* Tablet */
@media (max-width: 980px) {
  .formula { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cell:nth-child(4) { border-left: none; }
  .cell:nth-child(n + 4) { border-top: 1px dashed var(--line); }
  .loads-inner, .private-inner, .faq-inner { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}

/* Phone */
@media (max-width: 760px) {
  body { font-size: 1rem; hyphens: auto; }
  .hero { padding-top: 36px; }
  .hero-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .strip { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .strip-item:nth-child(n + 2) { display: none; }
  .shot { max-width: 300px; }
  .formula { grid-template-columns: minmax(0, 1fr); }
  .cell { border-left: none; border-top: 1px dashed var(--line); padding: 18px 16px 18px 52px; }
  .cell:first-child { border-top: none; }
  .op { left: 12px; top: 20px; }
  .row, .row-flip { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .row-flip .row-copy { order: 0; }
  .rows { gap: 48px; }
  .download-inner { padding: 24px 20px; }
  .toc ol { columns: 1; }
  .legal { border-left: none; border-right: none; border-radius: 0; padding: 28px 20px 20px; }
  .nav a { padding: 8px 10px; }
}

@media (max-width: 380px) {
  .wrap { padding: 0 16px; }
  .brand { font-size: 1.1rem; }
  .brand img { width: 34px; height: 34px; }
  .nav a { padding: 6px 8px; font-size: 0.9rem; }
  .play-big { font-size: 1.2rem; }
}
