/* =========================================================
   TPM System — Concept B · Field Operations
   High-contrast, practical, "job ticket" visual language.
   Mobile-first: base = 320–767px.
   ========================================================= */
:root {
  --ink: #15171a;
  --ink-2: #2b3038;
  --muted: #5c6370;
  --paper: #f4f1ea;
  --paper-2: #ebe6db;
  --card: #fffdf8;
  --line: #d9d2c3;
  --line-dark: #3a3f48;
  --hi: #ffc21a;          /* high-vis yellow */
  --hi-2: #ffd75e;
  --green: #1cc88a;       /* logo green = "checked in" */
  --green-ink: #0b6e4b;
  --blue: #3b78e7;        /* product UI blue, for references to the app */
  --red-ink: #b42318;
  --dark: #17191d;
  --dark-2: #20242a;
  --radius: 8px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, monospace;
  --gutter: 16px;
  --max: 1220px;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--hi); }
a:hover { text-decoration-color: var(--ink); }
h1, h2, h3 { margin: 0; line-height: 1.02; color: inherit; text-wrap: balance; }
h1, h2 { font-stretch: 75%; font-weight: 800; letter-spacing: -0.01em; text-transform: uppercase; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 6px var(--hi); border-radius: 4px; }
.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--hi); color: var(--ink); padding: 10px 14px; font-weight: 700; }
.skip-link:focus { top: 8px; }
.mono { font-family: var(--mono); font-size: .8125rem; letter-spacing: .02em; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: 64px; }
.section--card { background: var(--card); border-block: 1px solid var(--line); }
.section--dark { background: var(--dark); color: #e9eaec; }
.label {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink); background: var(--hi); padding: 5px 10px; border-radius: 4px;
}
.section--dark .label { background: var(--hi); color: var(--ink); }
.label--ghost { background: transparent; border: 1.5px solid currentColor; }
.head { max-width: 760px; margin-bottom: 32px; }
.head h2 { margin-top: 14px; font-size: clamp(2rem, 1.3rem + 3.6vw, 3.75rem); }
.head p { margin-top: 14px; font-size: 1.0625rem; color: var(--muted); max-width: 40em; }
.section--dark .head p { color: #b8bcc4; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap;
  min-height: 54px; padding: 0 22px; border-radius: 6px; border: 2px solid var(--ink);
  font-weight: 800; font-size: 1rem; letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: transform .15s, box-shadow .15s, background-color .15s;
}
.btn .ic { width: 20px; height: 20px; }
.btn--hi { background: var(--hi); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.btn--hi:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); color: var(--ink); }
.btn--hi:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.on-dark .btn--line { color: #fff; border-color: #fff; }
.on-dark .btn--line:hover { background: #fff; color: var(--ink); }
.on-dark .btn--hi { border-color: var(--hi); box-shadow: 4px 4px 0 #000; }
.btn--sm { min-height: 44px; padding: 0 14px; font-size: .9375rem; box-shadow: 3px 3px 0 var(--ink); }
.btn--block { width: 100%; }

/* Prototype annotations */
.proto-bar { background: #000; color: #c9ccd2; font-size: .8125rem; padding: 7px var(--gutter); display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; text-align: center; }
.proto-bar a { color: var(--hi); font-weight: 700; text-decoration: none; }
.proto-bar .long { display: none; }
.verify { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: .6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: #7a4b00; background: #fff3cf; border: 1.5px dashed #c98a00; padding: 4px 8px; border-radius: 4px; line-height: 1.3; }
.section--dark .verify, .footer .verify { color: var(--hi-2); background: rgb(255 194 26 / .1); border-color: rgb(255 194 26 / .6); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: var(--paper); border-bottom: 2px solid var(--ink); }
.site-header .container { height: 100%; display: flex; align-items: center; gap: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; text-decoration: none; color: var(--ink); white-space: nowrap; min-height: 44px; }
.brand img { width: 34px; height: 34px; }
.brand b { font-stretch: 75%; font-weight: 900; font-size: 1.375rem; text-transform: uppercase; letter-spacing: .01em; }
.brand small { display: none; font-family: var(--mono); font-size: .6875rem; color: var(--muted); border-left: 1.5px solid var(--line); padding-left: 10px; }
.header-cta { display: none; }
.nav-toggle { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-right: -6px; border: 2px solid var(--ink); background: var(--card); border-radius: 6px; cursor: pointer; }
.nav-toggle .ic { width: 24px; height: 24px; }
.nav-toggle[aria-expanded="true"] .i-open, .nav-toggle[aria-expanded="false"] .i-close { display: none; }
.site-nav {
  position: fixed; left: 0; right: 0; top: calc(var(--header-h) + 32px); z-index: 49; background: var(--paper); border-bottom: 2px solid var(--ink);
  padding: 4px var(--gutter) 20px; max-height: calc(100dvh - var(--header-h) - 32px); overflow: auto;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s;
}
.nav-open .site-nav { top: var(--header-h); }
.site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
.site-nav ul a { display: flex; align-items: center; justify-content: space-between; min-height: 54px; border-bottom: 1.5px solid var(--line); text-decoration: none; font-weight: 700; font-size: 1.0625rem; }
.site-nav ul a::after { content: "→"; color: var(--muted); }
.site-nav .nav-actions { display: grid; gap: 10px; margin-top: 16px; }
@media (min-width: 360px) { .header-cta { display: inline-flex; } }
@media (max-width: 389px) { .header-cta { padding: 0 10px; font-size: .875rem; } .brand b { font-size: 1.1875rem; } .brand img { width: 30px; height: 30px; } }

/* Hero */
.hero { background: var(--dark); color: #fff; position: relative; overflow: hidden; padding: 32px 0 0; }
.hero::before { /* faint site-plan grid */
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgb(255 255 255 / .05) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .05) 1px, transparent 1px);
  background-size: 32px 32px; mask-image: linear-gradient(180deg, #000 30%, transparent 95%);
}
.hero-grid { position: relative; display: grid; gap: 36px; }
.hero h1 { margin-top: 18px; font-size: clamp(2.375rem, 1.2rem + 5vw, 4.25rem); line-height: .96; }
.hero h1 mark { background: none; color: var(--hi); }
.hero-sub { margin-top: 18px; color: #c9cdd4; font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); max-width: 34em; }
.hero-ctas { display: grid; gap: 14px; margin-top: 28px; }
.hero-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 28px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: 6px; overflow: hidden; }
.hero-facts li { background: var(--dark-2); padding: 12px 14px; font-size: .875rem; color: #d7dade; display: flex; gap: 8px; align-items: flex-start; }
.hero-facts .ic { width: 18px; height: 18px; color: var(--green); margin-top: 2px; }

/* Office ↔ Field split visual */
.split { position: relative; display: grid; grid-template-columns: 1fr; gap: 0; margin-top: 4px; }
.split-side { position: relative; padding: 16px; border: 1.5px solid var(--line-dark); background: #1c1f24; }
.split-side + .split-side { border-top: 0; }
.split-tag { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.split-tag .label { background: #fff; }
.split-tag .label--field { background: var(--hi); }
.split-tag .mono { color: #9aa0aa; }
.split-office img { width: 100%; border-radius: 4px; cursor: zoom-in; }
.split-field { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: center; }
.split-field .phone { width: 112px; filter: drop-shadow(0 18px 24px rgb(0 0 0 / .5)); }
.events { display: grid; gap: 8px; }
.event { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; background: #262a31; border-left: 3px solid var(--green); padding: 9px 10px; border-radius: 4px; font-size: .875rem; line-height: 1.35; color: #e3e5e8; }
.event .ic { width: 20px; height: 20px; color: var(--green); }
.event--photo { border-left-color: var(--hi); }
.event--photo .ic { color: var(--hi); }
.event b { display: block; font-weight: 700; color: #fff; }
.link-cable { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px; background: var(--hi); color: var(--ink); font-family: var(--mono); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.link-cable .ic { width: 18px; height: 18px; }
.hero-foot { position: relative; margin-top: 40px; border-top: 1px solid var(--line-dark); padding-block: 14px; color: #9aa0aa; font-size: .8125rem; }

/* Before / after */
.ba { display: grid; gap: 12px; }
.ba-row { display: grid; border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.ba-old, .ba-new { padding: 16px 18px; display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.ba-old { background: var(--paper-2); color: var(--ink-2); }
.ba-old .ic { color: var(--red-ink); width: 24px; height: 24px; }
.ba-new { border-top: 2px dashed var(--ink); }
.ba-new .ic { color: var(--green-ink); width: 24px; height: 24px; }
.ba h3 { font-size: 1.0625rem; font-weight: 800; line-height: 1.25; }
.ba p { margin-top: 4px; font-size: .9375rem; color: var(--muted); }
.ba-legend { display: none; }

/* Day / steps */
.day { display: grid; gap: 18px; counter-reset: s; }
.day-step { background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; }
.day-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 2px solid var(--ink); background: var(--paper-2); }
.day-num { font-stretch: 75%; font-weight: 900; font-size: 2.25rem; line-height: 1; }
.day-head .label { margin-left: auto; }
.day-head .label--field { background: var(--hi); }
.day-head .label--office { background: #fff; border: 1.5px solid var(--ink); }
.day-body { padding: 18px; display: grid; gap: 16px; }
.day-body h3 { font-size: 1.375rem; font-weight: 800; font-stretch: 85%; text-transform: uppercase; }
.day-body p { color: var(--ink-2); }
.day-body ul { display: grid; gap: 6px; }
.day-body li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; font-size: .9375rem; color: var(--ink-2); }
.day-body li .ic { width: 18px; height: 18px; margin-top: 3px; color: var(--green-ink); }
.day-media { background: var(--dark); border-radius: 4px; overflow: hidden; display: grid; place-items: center; }
.day-media img { width: 100%; cursor: zoom-in; }
.day-media--phone { padding: 18px 0 0; background: repeating-linear-gradient(-45deg, #1d2025 0 10px, #202429 10px 20px); max-height: 300px; align-items: start; }
.day-media--phone img { width: 180px; cursor: default; }

/* Product: office vs field */
.prod { display: grid; gap: 20px; }
.prod-col { border: 2px solid var(--ink); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.prod-top { padding: 18px; border-bottom: 2px solid var(--ink); display: grid; gap: 6px; }
.prod-top h3 { font-size: 1.5rem; font-weight: 900; font-stretch: 75%; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.prod-top h3 .ic { width: 26px; height: 26px; }
.prod-top p { color: var(--muted); font-size: .9375rem; }
.prod-col--field .prod-top { background: var(--hi); }
.prod-col--field .prod-top p { color: var(--ink-2); }
.gallery { padding: 14px; }
.gallery-main figure { margin: 0; }
.gallery-main img { width: 100%; border: 1.5px solid var(--line); border-radius: 4px; cursor: zoom-in; }
.gallery-main figcaption { margin-top: 10px; font-size: .9375rem; color: var(--ink-2); }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.thumbs [role="tab"] { padding: 0; border: 2px solid var(--line); border-radius: 4px; background: #fff; cursor: pointer; overflow: hidden; display: grid; min-height: 44px; }
.thumbs [role="tab"] img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; }
.thumbs [role="tab"] span { font-size: .6875rem; font-weight: 700; padding: 4px 2px; text-align: center; line-height: 1.2; }
.thumbs [role="tab"][aria-selected="true"] { border-color: var(--ink); box-shadow: inset 0 -4px 0 var(--hi); }
.app-grid { display: grid; gap: 18px; padding: 18px; }
.app-grid .phone { width: 200px; justify-self: center; filter: drop-shadow(0 18px 28px rgb(0 0 0 / .25)); }
.app-buttons { display: grid; gap: 8px; }
.app-btn { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 6px; background: #fff; border: 1.5px solid var(--line); }
.app-btn .ico { width: 40px; height: 40px; border-radius: 6px; display: grid; place-items: center; background: var(--blue); color: #fff; }
.app-btn .ico .ic { width: 20px; height: 20px; }
.app-btn b { display: block; font-size: .9375rem; }
.app-btn span { font-size: .875rem; color: var(--muted); line-height: 1.4; display: block; }

/* Feature tickets */
.tickets { display: grid; gap: 14px; }
.ticket { position: relative; background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius); padding: 18px 18px 18px 22px; }
.ticket::before { /* perforated edge */
  content: ""; position: absolute; left: -2px; top: 14px; bottom: 14px; width: 8px;
  background: radial-gradient(circle at 0 50%, var(--paper) 4px, transparent 4.5px) 0 0 / 8px 14px repeat-y;
}
.ticket-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ticket-top .mono { font-weight: 700; color: var(--muted); text-transform: uppercase; }
.ticket-top .ic { width: 26px; height: 26px; }
.ticket h3 { margin-top: 12px; font-size: 1.25rem; font-weight: 800; line-height: 1.2; }
.ticket p { margin-top: 8px; color: var(--muted); font-size: .9375rem; }
.ticket .stamp { display: inline-block; margin-top: 12px; font-family: var(--mono); font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--green-ink); border: 2px solid var(--green-ink); padding: 3px 8px; border-radius: 4px; transform: rotate(-2deg); }
.ticket--alert { background: #fff4f2; }
.ticket--alert .stamp { color: var(--red-ink); border-color: var(--red-ink); }
.photos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-top: 12px; }
.photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px; }

/* Industries (tabs with scenarios) */
.ind-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 2px var(--gutter) 14px; margin-inline: calc(var(--gutter) * -1); scrollbar-width: none; scroll-snap-type: x proximity; }
.ind-tabs::-webkit-scrollbar { display: none; }
.ind-tabs [role="tab"] { flex: none; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 14px; border: 2px solid #fff; background: transparent; color: #fff; border-radius: 6px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.ind-tabs [role="tab"] .ic { width: 18px; height: 18px; }
.ind-tabs [role="tab"][aria-selected="true"] { background: var(--hi); border-color: var(--hi); color: var(--ink); }
.ind-panel { display: grid; gap: 20px; margin-top: 8px; }
.ind-panel h3 { font-size: clamp(1.625rem, 1.2rem + 2vw, 2.5rem); font-weight: 800; font-stretch: 75%; text-transform: uppercase; color: #fff; }
.ind-panel > div > p { margin-top: 12px; color: #c9cdd4; font-size: 1.0625rem; }
.ind-list { display: grid; gap: 10px; margin-top: 18px; }
.ind-list li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; color: #e3e5e8; }
.ind-list .ic { width: 22px; height: 22px; color: var(--green); }
.ind-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; color: var(--hi); font-weight: 800; text-decoration: none; min-height: 44px; }
.ind-link .ic { width: 18px; height: 18px; }
.photo-ph {
  position: relative; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; display: grid; align-content: end; padding: 16px;
  background:
    repeating-linear-gradient(135deg, rgb(255 194 26 / .12) 0 14px, transparent 14px 28px),
    linear-gradient(160deg, #2a2f37, #1a1d22);
  border: 2px dashed rgb(255 194 26 / .55); color: #e3e5e8;
}
.photo-ph .ic { position: absolute; top: 16px; left: 16px; width: 34px; height: 34px; color: var(--hi); }
.photo-ph strong { font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--hi); }
.photo-ph p { margin-top: 6px; font-size: .875rem; line-height: 1.45; color: #d2d5da; }

/* Privacy */
.privacy-grid { display: grid; gap: 28px; }
.privacy-big { font-size: clamp(2.25rem, 1.3rem + 4.8vw, 4.5rem); }
.privacy-big mark { background: var(--hi); color: var(--ink); padding: 0 .12em; }
.route { background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius); padding: 16px; }
.route svg { width: 100%; height: auto; }
.route-legend { display: grid; gap: 8px; margin-top: 12px; font-size: .875rem; }
.route-legend li { display: flex; align-items: center; gap: 10px; }
.route-legend i { width: 26px; height: 0; border-top: 3px dashed #b9b2a3; flex: none; }
.route-legend i.ev { width: 14px; height: 14px; border: 0; border-radius: 50%; background: var(--green); outline: 3px solid #fff; box-shadow: 0 0 0 4px var(--ink); margin-inline: 6px; }
.facts { display: grid; gap: 10px; margin-top: 22px; }
.facts li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; font-size: 1rem; }
.facts .ic { width: 22px; height: 22px; margin-top: 2px; }
.facts .y .ic { color: var(--green-ink); }
.facts .n .ic { color: var(--red-ink); }
.legal-note { margin-top: 18px; font-size: .875rem; color: var(--muted); border-left: 4px solid var(--hi); padding-left: 12px; }
.help { margin-top: 48px; display: grid; gap: 22px; border-top: 2px solid var(--ink); padding-top: 32px; }
.help h3 { font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.25rem); font-weight: 800; font-stretch: 75%; text-transform: uppercase; }
.help > div > p { margin-top: 10px; color: var(--ink-2); }
.help-steps { display: flex; gap: 12px; overflow-x: auto; padding: 4px var(--gutter) 12px; margin-inline: calc(var(--gutter) * -1); scroll-snap-type: x mandatory; }
.help-steps li { flex: 0 0 58%; max-width: 220px; scroll-snap-align: center; }
.help-steps img { width: 100%; }
.help-steps p { margin-top: 8px; font-weight: 700; font-size: .9375rem; }
.help-steps .mono { display: block; color: var(--muted); font-weight: 600; }

/* Pricing */
.quote { display: grid; gap: 22px; background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius); padding: 22px; box-shadow: 8px 8px 0 var(--ink); }
.quote h3 { font-size: clamp(2rem, 1.4rem + 3vw, 3.25rem); font-weight: 900; font-stretch: 75%; text-transform: uppercase; line-height: 1; }
.quote-lines { display: grid; border-top: 2px solid var(--ink); }
.quote-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1.5px dashed var(--line); font-size: .9688rem; }
.quote-lines li span:last-child { font-family: var(--mono); font-weight: 700; font-size: .8125rem; white-space: nowrap; }

/* Trust */
.trust-grid { display: grid; gap: 14px; }
.trust-card { border: 2px solid var(--ink); border-radius: var(--radius); background: var(--card); padding: 18px; }
.trust-card h3 { font-size: 1.125rem; font-weight: 800; display: flex; gap: 10px; align-items: center; }
.trust-card h3 .ic { width: 22px; height: 22px; }
.trust-card p { margin-top: 6px; color: var(--muted); font-size: .9375rem; }
.numbers { display: grid; gap: 1px; background: var(--ink); border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; margin-top: 22px; }
.numbers div { background: var(--hi); padding: 18px; }
.numbers strong { display: block; font-stretch: 75%; font-weight: 900; font-size: 2.75rem; line-height: 1; }
.numbers span { display: block; margin-top: 6px; font-weight: 600; }
.numbers .verify { margin-top: 10px; background: rgb(255 255 255 / .55); }
.voice-ph { margin-top: 14px; border: 2px dashed var(--ink); border-radius: var(--radius); padding: 20px; background: repeating-linear-gradient(135deg, transparent 0 12px, rgb(0 0 0 / .03) 12px 24px); color: var(--ink-2); }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { border: 2px solid var(--ink); border-radius: var(--radius); background: var(--card); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 60px; padding: 14px 16px; font-weight: 800; font-size: 1.0313rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 4px; background: var(--hi); font-family: var(--mono); font-weight: 700; font-size: 1.125rem; line-height: 1; }
.faq summary .pm::before { content: "+"; }
.faq details[open] summary .pm::before { content: "–"; }
.faq details[open] summary { border-bottom: 1.5px dashed var(--line); }
.faq .answer { padding: 14px 16px 18px; color: var(--ink-2); }

/* Demo */
.demo { background: var(--hi); border-top: 2px solid var(--ink); }
.demo-grid { display: grid; gap: 28px; }
.demo h2 { font-size: clamp(2.25rem, 1.3rem + 4.6vw, 4.5rem); }
.demo-lead { margin-top: 14px; font-size: 1.125rem; font-weight: 500; }
.demo-steps { display: grid; gap: 10px; margin-top: 22px; }
.demo-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; font-weight: 600; }
.demo-steps b { width: 34px; height: 34px; display: grid; place-items: center; background: var(--ink); color: var(--hi); font-family: var(--mono); border-radius: 4px; }
.demo-contacts { display: grid; gap: 4px; margin-top: 22px; }
.demo-contacts a { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; min-height: 44px; font-size: 1.0625rem; }
.demo-contacts .ic { width: 22px; height: 22px; }
.form-card { background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: 8px 8px 0 var(--ink); padding: 20px; }
.form-card h3 { font-size: 1.5rem; font-weight: 900; font-stretch: 75%; text-transform: uppercase; }
.form-card > p { margin-top: 4px; color: var(--muted); font-size: .9375rem; }
.form-grid { display: grid; gap: 14px; margin-top: 16px; }
.field label { display: block; font-weight: 800; font-size: .875rem; margin-bottom: 6px; }
.field label span { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 2px solid var(--ink); border-radius: 6px; background: #fff; font-size: 1rem; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: 0 0 0 4px var(--hi), 0 0 0 6px var(--ink); }
.field [aria-invalid="true"] { border-color: var(--red-ink); background: #fff6f5; }
.field-error { color: var(--red-ink); font-size: .8125rem; font-weight: 700; margin-top: 6px; }
.field-error:empty { display: none; }
.check { display: grid; grid-template-columns: 26px 1fr; gap: 10px; font-size: .875rem; align-items: start; }
.check input { width: 24px; height: 24px; margin: 0; accent-color: var(--ink); }
.form-status { font-size: .875rem; color: var(--red-ink); font-weight: 700; }
.form-proto { font-family: var(--mono); font-size: .6875rem; color: var(--muted); text-align: center; }
form.is-sent { display: none; }
.form-success { text-align: center; padding: 28px 8px; }
.form-success .ic { width: 52px; height: 52px; color: var(--green-ink); margin: 0 auto 10px; }
.form-success h3 { font-size: 1.5rem; }
.form-success p { margin-top: 8px; color: var(--muted); }

/* Footer */
.footer { background: var(--dark); color: #b8bcc4; padding: 56px 0 120px; font-size: .9375rem; }
.footer .brand { color: #fff; }
.footer-grid { display: grid; gap: 30px; }
.footer h2 { font-family: var(--mono); font-size: .75rem; letter-spacing: .1em; color: var(--hi); margin-bottom: 10px; text-transform: uppercase; font-stretch: 100%; font-weight: 700; }
.footer a { color: #e3e5e8; text-decoration: none; display: inline-flex; align-items: center; min-height: 40px; }
.footer a:hover { color: var(--hi); }
.footer-tag { margin-top: 12px; max-width: 32ch; }
.socials { display: flex; gap: 8px; margin-top: 14px; }
.socials a { width: 44px; height: 44px; justify-content: center; border: 1.5px solid var(--line-dark); border-radius: 6px; }
.socials .ic { width: 20px; height: 20px; }
.footer-legal { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line-dark); display: grid; gap: 8px; font-size: .8125rem; }

/* Sticky CTA */
.sticky-cta { position: fixed; inset: auto 0 0 0; z-index: 40; display: flex; gap: 10px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 2px solid var(--ink); transform: translateY(110%); transition: transform .3s; }
.sticky-cta.is-visible { transform: none; }
.sticky-cta .btn--hi { flex: 1; box-shadow: 3px 3px 0 var(--ink); }
.sticky-cta .call { flex: 0 0 54px; padding: 0; }

/* Zoom dialog */
.zoom-dialog { width: min(1200px, 96vw); max-width: none; padding: 0; border: 2px solid var(--ink); border-radius: 8px; background: #fff; }
.zoom-dialog::backdrop { background: rgb(0 0 0 / .8); }
.zoom-dialog img { width: 100%; max-height: 80vh; object-fit: contain; }
.zoom-caption { padding: 10px 14px; font-size: .875rem; border-top: 2px solid var(--ink); }
.zoom-close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 2px solid var(--ink); background: var(--hi); font-size: 1.5rem; font-weight: 800; cursor: pointer; border-radius: 6px; }

.js-reveal [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.js-reveal [data-reveal].is-in { opacity: 1; transform: none; }

/* ≥ 390 */
@media (min-width: 390px) { :root { --gutter: 20px; } }

/* ≥ 560 */
@media (min-width: 560px) {
  .hero-ctas { grid-template-columns: auto auto; justify-content: start; }
  .hero-facts { grid-template-columns: repeat(4, 1fr); }
  .split-field { grid-template-columns: 150px 1fr; }
  .split-field .phone { width: 150px; }
  .tickets, .trust-grid { grid-template-columns: 1fr 1fr; }
  .numbers { grid-template-columns: repeat(3, 1fr); }
  .help-steps { overflow: visible; margin: 0; padding: 4px 0 0; }
  .help-steps li { flex: 1 1 0; }
  .route-legend { grid-template-columns: 1fr 1fr; }
}

/* ≥ 768 */
@media (min-width: 768px) {
  :root { --gutter: 32px; --header-h: 72px; }
  .proto-bar .long { display: inline; }
  .section { padding-block: 96px; }
  .head { margin-bottom: 44px; }
  .ba-row { grid-template-columns: 1fr 1fr; }
  .ba-new { border-top: 0; border-left: 2px dashed var(--ink); }
  .ba-legend { display: grid; grid-template-columns: 1fr 1fr; font-family: var(--mono); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 0 20px 4px; }
  .day-body { grid-template-columns: 1fr 1.25fr; align-items: center; padding: 24px; gap: 28px; }
  .ind-panel { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 40px; }
  .quote { grid-template-columns: 1fr 1fr; align-items: center; padding: 36px; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .full { grid-column: 1 / -1; }
  .form-card { padding: 30px; }
  .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); }
  .faq { grid-template-columns: 1fr 1fr; align-items: start; }
  .app-grid { grid-template-columns: 200px 1fr; align-items: center; }
}

/* ≥ 1024 */
@media (min-width: 1024px) {
  .nav-toggle, .header-cta { display: none; }
  .site-nav { position: static; display: flex; align-items: center; gap: 20px; flex: 1; opacity: 1; visibility: visible; transform: none; padding: 0; border: 0; background: transparent; max-height: none; overflow: visible; }
  .site-nav ul { display: flex; margin-inline: auto; gap: 2px; }
  .site-nav ul a { border: 0; min-height: 44px; padding: 0 8px; font-size: .9375rem; border-radius: 4px; }
  .site-nav ul a::after { content: none; }
  .site-nav ul a:hover { background: var(--hi); }
  .site-nav .nav-actions { display: flex; margin: 0; }
  .brand { margin-right: 0; }
  .hero { padding-top: 56px; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
  .split-field { grid-template-columns: 130px 1fr; }
  .split-field .phone { width: 130px; }
  .split { grid-template-columns: 1fr; }
  .day { gap: 22px; }
  .prod { grid-template-columns: 1.35fr 1fr; align-items: start; }
  .tickets { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .tickets .wide { grid-column: span 2; }
  .privacy-grid { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
  .help { grid-template-columns: 1fr 1.4fr; align-items: center; gap: 48px; }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .demo-grid { grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
  .sticky-cta { display: none; }
  .footer { padding-bottom: 48px; }
}

@media (min-width: 1280px) {
  .hero-grid { grid-template-columns: 1.05fr 1fr; }
  .brand small { display: inline; }
  .site-nav ul a { padding: 0 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ===== Rework: real screenshots, crisp phones ===== */
.split-field { grid-template-columns: auto 1fr !important; }
.split-field .tpm-phone { filter: drop-shadow(0 18px 24px rgb(0 0 0 / .5)); }
.day-media--phone .tpm-phone { margin-inline: auto; }
.app-grid .tpm-phone { justify-self: center; filter: drop-shadow(0 18px 28px rgb(0 0 0 / .25)); }
.help-steps .tpm-phone { filter: drop-shadow(0 16px 24px rgb(0 0 0 / .2)); }
.thumbs [role="tab"] { display: grid; place-items: center; gap: 4px; padding: 10px 4px; min-height: 64px; }
.thumbs [role="tab"] .ic { width: 22px; height: 22px; }
.thumbs [role="tab"] span { font-size: .75rem; }
.ind-shot { border-radius: 6px; overflow: hidden; border: 2px solid rgb(255 255 255 / .18); background: #fff; }
.ind-shot img { width: 100%; cursor: zoom-in; }
.quote-title { font-size: clamp(2rem, 1.4rem + 3vw, 3.25rem); font-weight: 900; font-stretch: 75%; text-transform: uppercase; line-height: 1; }
.demo-steps li span { padding-top: 5px; }
@media (min-width: 1024px) { .trust-grid--4 { grid-template-columns: repeat(4, 1fr); } }
