/* ============================================================
   VelOps website — house style
   Ink / yellow / warm paper, Saira type family.
   ============================================================ */

@font-face { font-family: "Saira"; src: url("../fonts/Saira-Regular.woff?v=2026100404") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Saira"; src: url("../fonts/Saira-Bold.woff?v=2026100404") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Saira Condensed"; src: url("../fonts/SairaCondensed-Bold.woff?v=2026100404") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Saira ExtraCondensed"; src: url("../fonts/SairaExtraCondensed-Bold.woff?v=2026100404") format("woff"); font-weight: 700; font-display: swap; }

:root {
  --ink: #111111;
  --ink-2: #1b1b1a;
  --ink-3: #262523;
  --ink-line: #34322e;
  --yellow: #f5d920;
  --yellow-7: #c9a300;
  --yellow-soft: #fbf1b0;
  --purple: #742774;
  --paper: #eeede9;
  --paper-2: #f6f5f1;
  --white: #ffffff;
  --g700: #2a2925;
  --g500: #66635c;
  --g400: #8f8b82;
  --g300: #b9b5ab;
  --g200: #d7d4cc;
  --g100: #e7e5df;

  --ok: #1e7d43;      --ok-bg: #e2f1e6;
  --warn: #a86a00;    --warn-bg: #fbeed2;
  --res: #8a6416;     --res-bg: #f1e3c8;
  --bad: #c62828;     --bad-bg: #fbe2df;
  --info: #1f5fa8;    --info-bg: #e1ecf8;

  --r-blue: #1f6fd1;
  --r-orange: #e8670c;
  --r-purple: #6a2bc2;
  --r-teal: #0e9488;
  --r-red: #d9304a;
  --r-green: #1e9e5a;

  --font-body: "Saira", system-ui, sans-serif;
  --font-cond: "Saira Condensed", "Saira", system-ui, sans-serif;
  --font-display: "Saira ExtraCondensed", "Saira Condensed", Impact, sans-serif;

  --wrap: 1200px;
  --gutter: 24px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgb(0 0 0 / .05), 0 12px 32px -8px rgb(0 0 0 / .14);
  --shadow-dark: 0 30px 60px -20px rgb(0 0 0 / .6);
  --ease: cubic-bezier(.2, .7, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--g700);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico-lg { width: 30px; height: 30px; stroke-width: 1.6; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--yellow); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
.paper :focus-visible, .yellow :focus-visible { outline-color: var(--purple); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  line-height: .9;
  letter-spacing: -.005em;
  font-size: clamp(46px, 7vw, 96px);
  color: var(--ink);
  text-wrap: balance;
}
h1.display { font-size: clamp(58px, 9.4vw, 132px); color: var(--white); }
.ink .display { color: var(--white); }
.hl { color: var(--yellow); }
.h1-eyebrow { display: block; font-family: var(--font-cond); font-style: normal; font-weight: 700; font-size: 13px; line-height: 1.4; letter-spacing: .32em; color: var(--yellow); margin-bottom: 18px; }
.ink-hl { color: var(--ink); background: linear-gradient(transparent 62%, var(--white) 62%); padding-inline: .06em; }
.h3 {
  font-family: var(--font-display);
  font-style: italic;
  text-transform: uppercase;
  font-size: clamp(30px, 3.2vw, 40px);
  line-height: .95;
  color: var(--ink);
}
.eyebrow {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 18px;
}
.eyebrow.on-dark { color: var(--yellow); }
.eyebrow.on-yellow { color: var(--ink); }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: #c9c6be; max-width: 60ch; }
.lead.dark { color: var(--g700); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-cond); font-weight: 700; font-size: 16px;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .ico { width: 18px; height: 18px; stroke-width: 2.2; transition: transform .2s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: #ffe53a; }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: #000; }
.btn-ghost { border-color: rgb(255 255 255 / .28); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color .3s, box-shadow .3s;
}
.site-header.scrolled { background: rgb(17 17 17 / .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgb(255 255 255 / .06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) {
  font-family: var(--font-cond); font-weight: 700; font-size: 15px; letter-spacing: .1em; text-transform: uppercase;
  color: #d9d6ce; text-decoration: none; position: relative; padding: 6px 0;
}
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--yellow); transition: right .25s var(--ease); }
.nav a:not(.btn):hover { color: var(--white); }
.nav a:not(.btn):hover::after, .nav a.active::after { right: 0; }
.nav a.active { color: var(--white); }
.nav-toggle { display: none; background: none; border: 0; color: var(--white); padding: 10px; margin-right: -10px; cursor: pointer; }
.nav-toggle .ico { width: 26px; height: 26px; }
.mobile-nav { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 600px at 85% 30%, rgb(245 217 32 / .09), transparent 60%),
    repeating-linear-gradient(115deg, transparent 0 46px, rgb(255 255 255 / .018) 46px 47px),
    var(--ink);
  color: #c9c6be;
  padding: 150px 0 110px;
}
.hero::before {
  content: ""; position: absolute; right: -8%; top: -10%; width: 46%; height: 130%;
  background: linear-gradient(180deg, rgb(245 217 32 / .14), rgb(245 217 32 / 0) 70%);
  transform: skewX(-14deg); pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
.hero-copy .lead { margin-top: 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 40px; }
.hero-points li {
  font-family: var(--font-cond); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: #a9a59c;
  display: flex; align-items: center; gap: 10px;
}
.hero-points li::before { content: ""; width: 14px; height: 3px; background: var(--yellow); transform: skewX(-20deg); }
.hero-visual { position: relative; display: grid; place-items: center; min-height: 640px; }
.speed-stripe { position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background: var(--yellow); }
.speed-stripe::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 4px; background: repeating-linear-gradient(90deg, var(--yellow) 0 80px, transparent 80px 110px); opacity: .45; }

/* ---------- Phone mock ---------- */
.phone {
  width: 310px; border-radius: 46px; padding: 11px; background: #050505;
  box-shadow: var(--shadow-dark), inset 0 0 0 1.5px #2a2a2a;
  position: relative; z-index: 1;
}
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 92px; height: 24px; margin-left: -46px; background: #050505; border-radius: 20px; z-index: 3; }
.phone-screen { border-radius: 36px; overflow: hidden; background: var(--paper); min-height: 600px; color: var(--ink); }
.app-head { background: var(--yellow); padding: 52px 18px 0; }
.app-head-row { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid rgb(17 17 17 / .12); }
.app-logo { height: 46px; width: auto; }
.app-ico { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; }
.app-ico .ico { width: 15px; height: 15px; stroke-width: 2; }
.app-user { display: flex; align-items: center; justify-content: space-between; padding: 14px 0 16px; font-family: var(--font-display); font-style: italic; font-size: 19px; text-transform: uppercase; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--yellow-7); color: var(--ink); display: inline-grid; place-items: center; font-family: var(--font-cond); font-size: 13px; font-style: normal; letter-spacing: .02em; }
.avatar.sm { width: 34px; height: 34px; background: var(--ink); color: var(--white); font-size: 12px; margin-right: -6px; border: 2px solid var(--paper); }
.avatar.sm.staff { background: var(--yellow); color: var(--ink); }
.app-body { padding: 16px 14px 20px; }
.app-label { font-family: var(--font-cond); font-weight: 700; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--g500); margin: 4px 4px 10px; }
.race-card { position: relative; background: var(--white); border-radius: 16px; padding: 14px 16px 14px; margin-bottom: 10px; box-shadow: 0 1px 2px rgb(0 0 0 / .05); }
.race-card.is-dark { background: var(--ink); color: var(--white); }
.rc-date { font-family: var(--font-cond); font-weight: 700; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--g400); }
.is-dark .rc-date { color: var(--yellow); }
.rc-name { font-family: var(--font-display); font-style: italic; text-transform: uppercase; font-size: 22px; line-height: 1.05; margin: 3px 0 4px; }
.rc-class { display: flex; align-items: center; gap: 6px; font-family: var(--font-cond); font-weight: 700; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; }
.rc-chev { position: absolute; right: 14px; bottom: 16px; width: 16px; height: 16px; fill: none; stroke: var(--g400); stroke-width: 2; }
.is-dark .rc-chev { stroke: var(--yellow); }
.app-more { border: 1.5px dashed var(--g200); border-radius: 14px; text-align: center; padding: 12px; font-size: 13px; color: var(--g500); }
.cls { width: 7px; height: 7px; border-radius: 50%; display: inline-block; background: currentColor; }
.cls-wt { background: var(--yellow); }
.cls-1pro { background: var(--purple); }
.cls-pro { background: var(--ink); }
.is-dark .cls-pro { background: var(--white); }

/* Race detail phone */
.app-head-compact { padding-bottom: 18px; }
.app-back { display: flex; align-items: center; gap: 4px; font-family: var(--font-cond); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.app-back .ico { width: 16px; height: 16px; stroke-width: 2.4; }
.app-race { display: grid; gap: 2px; }
.app-race .rc-date { color: rgb(17 17 17 / .6); }
.app-race .rc-name { font-size: 28px; margin: 0; }
.app-race .rc-class { margin: 2px 0 0; }
.trip { background: var(--white); border-radius: 16px; padding: 4px 14px; margin-bottom: 18px; }
.trip-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--g100); }
.trip-item:last-child { border-bottom: 0; }
.trip-ico { width: 34px; height: 34px; border-radius: 10px; background: var(--paper); display: grid; place-items: center; flex: none; }
.trip-ico .ico { width: 17px; height: 17px; }
.trip-item strong { display: block; font-size: 13.5px; line-height: 1.3; }
.trip-item span { display: block; font-size: 12.5px; color: var(--g500); line-height: 1.45; }
.trip-item .ref { font-family: var(--font-cond); font-weight: 700; letter-spacing: .04em; color: var(--purple); font-size: 12px; }
.crew { display: flex; flex-wrap: wrap; padding: 0 4px; row-gap: 6px; }
.crew-legend { display: flex; gap: 16px; font-size: 12px; color: var(--g500); margin: 12px 4px 0; }
.crew-legend span { display: flex; align-items: center; gap: 6px; }

/* ---------- Floating hero widgets ---------- */
.float { position: absolute; z-index: 2; }
.kpi { background: var(--white); color: var(--ink); border-radius: 18px; padding: 16px 20px; min-width: 170px; box-shadow: var(--shadow-dark); display: grid; }
.kpi-yellow { background: var(--yellow); }
.kpi-label { font-family: var(--font-cond); font-weight: 700; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--g500); }
.kpi-yellow .kpi-label { color: rgb(17 17 17 / .6); }
.kpi-value { font-family: var(--font-display); font-style: italic; font-size: 52px; line-height: 1; margin-top: 4px; }
.kpi-sub { font-size: 12.5px; color: var(--g500); }
.kpi-sub.up { color: var(--ok); }
.kpi-yellow .kpi-sub { color: var(--ink); }
/* anchored to the phone (310px wide, centred) so they only overlap its bezel */
.float-a { left: max(-30px, calc(50% - 155px - 152px)); top: 168px; animation: bob 7s ease-in-out infinite; }
.float-b { right: max(0px, calc(50% - 155px - 152px)); top: 340px; animation: bob 8s ease-in-out -2s infinite; }
.float-c { left: max(-30px, calc(50% - 155px - 120px)); bottom: 30px; width: 270px; box-shadow: var(--shadow-dark); animation: bob 9s ease-in-out -4s infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.alert { display: flex; gap: 10px; align-items: flex-start; border-radius: 12px; padding: 12px 14px; border-left: 4px solid; font-size: 13px; line-height: 1.4; }
.alert strong { display: block; color: var(--ink); font-size: 13.5px; }
.alert span { color: var(--g700); }
.alert .ico { width: 18px; height: 18px; margin-top: 1px; }
.alert-warn { background: #fff4dc; border-color: #e3a21a; color: var(--warn); }
.alert-ok { background: var(--ok-bg); border-color: var(--ok); color: var(--ok); }
.alert-trip { background: var(--white); border-color: var(--yellow); color: var(--ink); }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.paper { background: var(--paper); color: var(--g700); }
.ink { background: var(--ink); color: #c9c6be; }
.yellow { background: var(--yellow); color: var(--ink); }
.section-head { max-width: 780px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head .lead { margin-top: 24px; }

/* Flow */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: flow; }
.flow-step {
  position: relative; background: var(--white); border-radius: var(--radius-lg); padding: 28px 26px 30px;
  box-shadow: var(--shadow); display: grid; gap: 10px; align-content: start;
}
.flow-step:not(.is-last)::after {
  content: ""; position: absolute; top: 50%; right: -16px; width: 14px; height: 14px; z-index: 1;
  border-top: 3px solid var(--yellow-7); border-right: 3px solid var(--yellow-7); transform: translateY(-50%) rotate(45deg);
}
.flow-num { font-family: var(--font-display); font-style: italic; font-size: 54px; line-height: 1; color: var(--paper); -webkit-text-stroke: 1.5px var(--g300); position: absolute; right: 22px; top: 18px; }
.flow-step .ico-lg { color: var(--purple); margin-bottom: 8px; }
.flow-step h3 { font-family: var(--font-display); font-style: italic; text-transform: uppercase; font-size: 27px; line-height: 1; color: var(--ink); }
.flow-step p { font-size: 15.5px; color: var(--g500); }
.flow-step.is-last { background: var(--ink); }
.flow-step.is-last h3 { color: var(--white); }
.flow-step.is-last p { color: #a9a59c; }
.flow-step.is-last .ico-lg { color: var(--yellow); }
.flow-step.is-last .flow-num { color: var(--ink); -webkit-text-stroke-color: #444; }

.lang-band {
  margin-top: 28px; display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center;
  background: var(--paper-2); border: 1px solid var(--g200); border-radius: var(--radius-lg); padding: 34px 36px;
}
.lang-band p { margin-top: 12px; color: var(--g500); font-size: 16px; }
.lang-samples { display: grid; gap: 14px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; }

/* Pills, tags */
.pill {
  display: inline-flex; align-items: center; height: 24px; padding: 0 11px; border-radius: 999px;
  font-family: var(--font-cond); font-weight: 700; font-style: normal; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
}
.pill-selected { background: var(--yellow); color: var(--ink); }
.pill-reserved { background: var(--res-bg); color: var(--res); }
.pill-ok { background: var(--ok-bg); color: var(--ok); }
.pill-warn { background: var(--warn-bg); color: var(--warn); }
.pill-bad { background: var(--bad-bg); color: var(--bad); }
.pill-info { background: var(--info-bg); color: var(--info); }
.cls-label { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-cond); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin-right: 6px; }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border: 1px solid var(--g200); border-radius: 6px; background: var(--white); font-family: var(--font-cond); font-weight: 700; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--g700); }

/* ---------- Renner-app section ---------- */
.app-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.app-copy .section-head { margin-bottom: 40px; }
.feature-list { display: grid; gap: 4px; }
.feature-list li { display: flex; gap: 18px; padding: 18px 0; border-top: 1px solid var(--ink-line); }
.feature-list li:last-child { border-bottom: 1px solid var(--ink-line); }
.feature-list .ico { width: 24px; height: 24px; color: var(--yellow); margin-top: 3px; }
.feature-list h3 { font-family: var(--font-cond); font-weight: 700; font-size: 19px; letter-spacing: .04em; text-transform: uppercase; color: var(--white); margin-bottom: 2px; }
.feature-list p { font-size: 15.5px; color: #a9a59c; }
.app-visual { display: grid; place-items: center; position: relative; }
.app-visual::before { content: ""; position: absolute; width: min(420px, 100%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgb(245 217 32 / .22), transparent 65%); }
.app-visual .phone { transform: rotate(2.5deg); }

/* ---------- Tabs / backoffice ---------- */
.tablist {
  display: flex; gap: 8px; padding: 6px; background: var(--white); border-radius: 999px; box-shadow: var(--shadow);
  overflow-x: auto; scrollbar-width: none; margin-bottom: 34px; width: max-content; max-width: 100%;
}
.tablist::-webkit-scrollbar { display: none; }
.tablist [role="tab"] {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  border: 0; background: transparent; cursor: pointer; padding: 11px 18px; border-radius: 999px;
  font-family: var(--font-cond); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--g500);
  transition: background-color .2s, color .2s;
}
.tablist [role="tab"] .ico { width: 17px; height: 17px; }
.tablist [role="tab"]:hover { color: var(--ink); }
.tablist [role="tab"][aria-selected="true"] { background: var(--ink); color: var(--white); }
.tablist [role="tab"][aria-selected="true"] .ico { color: var(--yellow); }
.panel { display: grid; grid-template-columns: 300px 1fr; gap: 44px; align-items: start; }
.panel[hidden] { display: none; }
.panel:focus-visible { outline-offset: 8px; }
.panel-copy { padding-top: 10px; }
.panel-copy > p { margin: 14px 0 20px; color: var(--g700); font-size: 16px; }
.js .panel:not([hidden]) .window { animation: panel-in .45s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.ticks { display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; font-size: 15.5px; line-height: 1.5; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 16px; height: 16px; border-radius: 50%; background: var(--yellow);
}
.ticks li::after { content: ""; position: absolute; left: 5px; top: calc(.32em + 4px); width: 5px; height: 8px; border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(40deg); }
.ticks.on-dark li { color: #d4d1c9; }

/* Window frame */
.window { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--g200); overflow: hidden; min-width: 0; color: var(--g700); }
.window-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: var(--paper-2); border-bottom: 1px solid var(--g100); }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--g200); }
.window-bar i:first-child { background: var(--yellow); }
.mock-tag { margin-left: auto; padding-left: 12px; font-style: normal; font-size: 10.5px; color: var(--g400); white-space: nowrap; }
.mock-note { margin: 14px 0 0; font-size: 12px; letter-spacing: .02em; text-align: center; color: #8f8b82; position: relative; z-index: 1; }
.hero-visual .mock-note { position: absolute; left: 0; right: 0; bottom: -34px; margin: 0; }
.window-bar span { margin-left: 10px; font-family: var(--font-cond); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--g500); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.window-body { padding: 20px; font-size: 13px; }
.scroll-x { overflow-x: auto; }

/* Overview */
.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }
.mini-kpi { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--g100); border-radius: 12px; padding: 12px 14px; }
.mini-kpi strong { display: block; font-size: 22px; line-height: 1.15; color: var(--ink); font-family: var(--font-body); }
.mk-label { display: block; font-size: 11.5px; color: var(--g500); }
.mk-sub { display: block; font-size: 11px; color: var(--g400); }
.mk-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.mk-ico .ico { width: 17px; height: 17px; }
.c-blue { background: var(--info-bg); color: var(--info); }
.c-yellow { background: var(--yellow-soft); color: #7a6300; }
.c-green { background: var(--ok-bg); color: var(--ok); }
.c-purple { background: #f1e3f1; color: var(--purple); }
.ov-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 12px; }
.card { border: 1px solid var(--g100); border-radius: 12px; padding: 14px 16px; }
.card-title { font-weight: 700; color: var(--ink); font-size: 13.5px; margin-bottom: 10px; }
.card-sub { font-weight: 700; color: var(--ink); font-size: 12px; margin: 16px 0 8px; }
.chips { display: flex; gap: 6px; margin-bottom: 12px; }
.chip { padding: 2px 10px; border-radius: 999px; background: var(--paper); font-size: 11px; color: var(--g500); }
.chip.on { background: var(--ink); color: var(--white); }
.bars { display: grid; gap: 7px; }
.bar-row { display: grid; grid-template-columns: 90px 1fr 26px 22px; gap: 10px; align-items: center; font-size: 12px; }
.bn { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-row b { text-align: right; color: var(--ink); }
.bar { height: 8px; border-radius: 99px; background: var(--paper); position: relative; overflow: hidden; }
.bar i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0 var(--done), var(--yellow) var(--done) var(--plan), transparent var(--plan)); border-radius: 99px; }
.dtag { display: inline-grid; place-items: center; min-width: 20px; height: 18px; padding: 0 6px; border-radius: 5px; font-size: 10px; font-weight: 700; font-style: normal; }
.d-men { background: var(--info-bg); color: var(--info); }
.d-women { background: #f6e1ef; color: #a0306f; }
.d-devo { background: var(--ok-bg); color: var(--ok); }
.legend { display: flex; gap: 16px; margin-top: 12px; font-size: 11px; color: var(--g500); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.sw { width: 10px; height: 10px; border-radius: 3px; }
.sw-done { background: var(--ink); }
.sw-plan { background: var(--yellow); }
.donut-wrap { display: flex; align-items: center; gap: 16px; }
.donut { width: 112px; height: 112px; flex: none; transform: rotate(-90deg); }
.donut circle { fill: none; stroke-width: 5; }
.d-track { stroke: var(--paper); }
.d-ok { stroke: var(--ok); }
.d-warn { stroke: #e3a21a; }
.d-bad { stroke: var(--bad); }
.donut text { transform: rotate(90deg); transform-origin: 21px 21px; text-anchor: middle; fill: var(--ink); }
.d-label { font-size: 3.6px; fill: var(--g500) !important; }
.d-val { font-size: 6.5px; font-weight: 700; }
.d-legend { display: grid; gap: 8px; font-size: 12px; flex: 1; }
.d-legend li { display: flex; align-items: center; gap: 8px; }
.d-legend b { margin-left: auto; color: var(--ink); }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.dot-ok { background: var(--ok); }
.dot-warn { background: #e3a21a; }
.dot-bad { background: var(--bad); }
.dot-ink { background: var(--ink); }
.dot-yellow { background: var(--yellow); box-shadow: inset 0 0 0 1px var(--yellow-7); }
.hbars { display: grid; gap: 8px; font-size: 11.5px; }
.hbars div { display: grid; gap: 4px; }
.hbars i { display: block; height: 6px; width: var(--w); border-radius: 99px; background: #e3a21a; }

/* Event / selection */
.ev-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.ev-head strong { display: block; font-size: 16px; color: var(--ink); }
.ev-head span:not(.pill) { font-size: 12px; color: var(--g500); }
.ev-tabs { display: flex; gap: 18px; border-bottom: 1px solid var(--g100); margin: 14px 0 14px; font-size: 12.5px; color: var(--g500); overflow: hidden; white-space: nowrap; }
.ev-tabs span { padding-bottom: 8px; }
.ev-tabs .on { color: var(--ink); font-weight: 700; box-shadow: inset 0 -2px 0 var(--ink); }
.tbl { display: grid; font-size: 12.5px; }
.tbl-sec { display: flex; align-items: center; gap: 8px; background: var(--paper-2); border-radius: 8px; padding: 7px 10px; font-family: var(--font-cond); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 11px; color: var(--g700); margin: 4px 0; }
.tbl-sec .ico { width: 15px; height: 15px; color: var(--purple); }
.tbl-sec b { margin-left: auto; background: var(--white); border-radius: 6px; padding: 0 7px; font-size: 10.5px; }
.tbl-row { display: grid; grid-template-columns: 1.7fr .7fr .7fr 1fr; gap: 10px; align-items: center; padding: 7px 10px; border-bottom: 1px solid var(--g100); }
.tbl-row > span:first-child { color: var(--ink); font-weight: 700; white-space: nowrap; }
.tbl-row em { margin-left: 6px; }
.tbl-h { font-family: var(--font-cond); font-weight: 700; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--g400) !important; padding-block: 5px; }
.tbl-h > span:first-child { color: var(--g400); }
.tbl-more { padding: 8px 10px; font-size: 12px; color: var(--g500); }
.rtag { display: inline-flex; height: 18px; align-items: center; padding: 0 7px; border-radius: 5px; background: var(--paper); color: var(--g500); font-size: 10px; font-style: normal; font-weight: 700; }

/* Logistics */
.leg { border: 1px solid var(--g100); border-left: 4px solid var(--info); border-radius: 10px; margin-bottom: 10px; overflow: hidden; }
.leg-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; }
.leg-head strong { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 14px; }
.leg-head strong .ico { width: 16px; height: 16px; color: var(--info); }
.leg-head span { font-size: 12px; color: var(--g500); }
.leg-head a { color: var(--info); text-decoration: none; }
.count { flex: none; background: var(--info-bg); color: var(--info) !important; font-weight: 700; border-radius: 99px; padding: 1px 9px; font-size: 11px !important; }
.leg-row { display: grid; grid-template-columns: 16px 1.4fr .8fr 1.2fr; gap: 12px; align-items: center; padding: 8px 14px; background: #f7f9fd; border-top: 1px solid var(--g100); font-size: 12px; }
.ln { color: var(--ink); font-weight: 700; white-space: nowrap; }
.lr { font-family: ui-monospace, monospace; color: var(--g500); font-size: 11.5px; }
.lb { color: var(--g500); }
.cb { width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--g300); }
.cb.on { background: var(--info); border-color: var(--info); box-shadow: inset 0 0 0 2.5px #f7f9fd; }
.also { font-style: normal; background: var(--yellow-soft); color: #7a6300; border-radius: 4px; padding: 1px 6px; font-size: 10.5px; margin-left: 6px; }
.leg-add { padding: 8px 14px; border-top: 1px solid var(--g100); background: #f7f9fd; color: var(--info); font-size: 12px; font-weight: 700; }
.alerts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }

/* Calendars (rendered by JS) */
.cal { --label: 118px; --day: 49px; display: grid; grid-template-columns: var(--label) repeat(var(--days), minmax(var(--day), 1fr)); min-width: calc(var(--label) + var(--days) * var(--day)); font-size: 11.5px; }
.cal-month { grid-column: 2 / -1; font-family: var(--font-cond); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 11px; color: var(--g500); padding: 0 0 8px 4px; }
.cal-lanes { grid-column: 2 / -1; display: grid; grid-template-columns: repeat(var(--days), 1fr); grid-auto-rows: 30px; row-gap: 4px; padding-bottom: 10px; }
.cal-lanes-label { grid-column: 1; }
.race-block {
  background: var(--c); color: var(--white); border-radius: 6px; margin: 0 2px; padding: 0 8px;
  display: flex; align-items: center; justify-content: space-between; gap: 6px; overflow: hidden; min-width: 0;
  font-family: var(--font-cond); font-weight: 700; font-size: 11.5px; letter-spacing: .02em;
}
.race-block.single { justify-content: center; padding: 0 3px; font-size: 10.5px; }
.race-block span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.race-block b { flex: none; background: rgb(255 255 255 / .25); border-radius: 4px; padding: 0 5px; font-size: 10px; }
.cal-day { text-align: center; padding: 6px 0; border-bottom: 1px solid var(--g200); border-top: 1px solid var(--g100); line-height: 1.2; }
.cal-day small { display: block; font-size: 9.5px; color: var(--g400); text-transform: uppercase; letter-spacing: .06em; }
.cal-day b { font-size: 12px; color: var(--ink); }
.cal-corner { border-bottom: 1px solid var(--g200); border-top: 1px solid var(--g100); display: flex; align-items: flex-end; padding: 6px 8px; font-weight: 700; color: var(--g700); }
.we { background: var(--paper-2); }
.cal-name { display: flex; flex-direction: column; justify-content: center; padding: 0 8px; border-bottom: 1px solid var(--g100); min-height: 36px; }
.cal-name b { color: var(--info); font-size: 11.5px; letter-spacing: .02em; white-space: nowrap; }
.cal-name small { color: var(--g400); font-size: 10px; }
.cal-cell { border-bottom: 1px solid var(--g100); display: grid; place-items: center; min-height: 36px; position: relative; }
.cal-cell .sel { width: 11px; height: 11px; border-radius: 50%; background: var(--c); }
.cal-cell .res { font-weight: 700; color: var(--c); font-size: 11px; }
.cal-cell .tr { font-weight: 700; color: var(--g400); font-size: 11px; }
.cal-cell.conflict::after { content: ""; position: absolute; inset: 5px 6px; border: 2px solid var(--bad); border-radius: 8px; }
.cal-cell.conflict .sel { box-shadow: 0 0 0 2px var(--white); }
.cal-legend { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 18px; padding-top: 12px; font-size: 11px; color: var(--g500); }
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cal-legend .sel { width: 10px; height: 10px; border-radius: 50%; background: var(--g500); }
.cal-legend .conf { width: 14px; height: 12px; border: 2px solid var(--bad); border-radius: 4px; }
/* fleet */
.fleet-chip { position: relative; z-index: 1; align-self: center; margin: 0 2px; height: 24px; border-radius: 5px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 10.5px; letter-spacing: .04em; background: color-mix(in srgb, var(--c) 14%, white); color: color-mix(in srgb, var(--c) 80%, black); border-bottom: 3px solid var(--c); overflow: hidden; white-space: nowrap; }
.fleet-chip.sc { --c: #8f8b82; background: repeating-linear-gradient(135deg, #eeede9 0 5px, #e3e1db 5px 10px); color: var(--g500); border-bottom-color: #b9b5ab; }
.fleet-chip.free { --c: #1e7d43; background: transparent; border: 1.5px dashed var(--ok); color: var(--ok); }
.cal-row-bg { border-bottom: 1px solid var(--g100); }
.warn-tag { display: inline-block; margin-top: 2px; font-size: 9.5px; font-weight: 700; color: var(--bad); background: var(--bad-bg); border-radius: 4px; padding: 0 5px; width: max-content; }

/* ---------- Modules ---------- */
.modules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--ink-line); border: 1px solid var(--ink-line); border-radius: var(--radius-lg); overflow: hidden; }
.module { background: var(--ink); padding: 30px 26px 32px; transition: background-color .25s; }
.module:hover { background: var(--ink-2); }
.module .ico { width: 28px; height: 28px; color: var(--yellow); stroke-width: 1.6; margin-bottom: 18px; transition: transform .3s var(--ease); }
.module:hover .ico { transform: translateY(-3px) rotate(-4deg); }
.module h3 { font-family: var(--font-cond); font-weight: 700; font-size: 19px; letter-spacing: .04em; text-transform: uppercase; color: var(--white); margin-bottom: 6px; }
.module p { font-size: 15px; color: #a9a59c; line-height: 1.55; }

/* ---------- Roles ---------- */
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.role { background: var(--white); border-radius: var(--radius-lg); padding: 28px 28px 30px; box-shadow: var(--shadow); border-top: 4px solid var(--yellow); }
.role-tag { display: inline-block; font-family: var(--font-cond); font-weight: 700; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--purple); margin-bottom: 10px; }
.role h3 { font-family: var(--font-display); font-style: italic; text-transform: uppercase; font-size: 30px; line-height: 1; color: var(--ink); margin-bottom: 8px; }
.role p { color: var(--g500); font-size: 15.5px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 34px; height: 3px; background: repeating-linear-gradient(90deg, var(--yellow) 0 22px, transparent 22px 34px); opacity: .5; }
.steps li { position: relative; padding-right: 28px; }
.step-num {
  position: relative; display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%;
  background: var(--yellow); color: var(--ink); font-family: var(--font-display); font-style: italic; font-size: 38px; margin-bottom: 24px;
  box-shadow: 0 0 0 8px var(--ink);
}
.steps h3 { font-family: var(--font-display); font-style: italic; text-transform: uppercase; font-size: 28px; line-height: 1; color: var(--white); margin-bottom: 10px; }
.steps p { color: #a9a59c; font-size: 15.5px; }

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.plan { background: var(--white); border-radius: var(--radius-lg); padding: 40px 40px 42px; box-shadow: var(--shadow); display: grid; gap: 22px; align-content: start; }
.plan .btn { justify-self: start; margin-top: 6px; }
.plan-dark { background: var(--ink); color: #d4d1c9; position: relative; overflow: hidden; }
.plan-dark::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; background: var(--yellow); opacity: .08; transform: rotate(25deg); border-radius: 30px; }
.plan-kicker { font-family: var(--font-cond); font-weight: 700; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--purple); }
.plan-dark .plan-kicker { color: var(--yellow); }
.plan-name { font-family: var(--font-display); font-style: italic; text-transform: uppercase; font-size: clamp(48px, 5vw, 66px); line-height: .9; color: var(--ink); }
.plan-dark .plan-name { color: var(--white); }
.plan-dark :focus-visible { outline-color: var(--yellow); }

/* ---------- Contact ---------- */
.yellow .display { color: var(--ink); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-direct { margin-top: 26px; font-size: 16px; }
.contact-direct a { font-weight: 700; text-underline-offset: 4px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: var(--white); border-radius: var(--radius-lg); padding: 34px; box-shadow: 0 30px 60px -30px rgb(0 0 0 / .35); }
.field { display: grid; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label { font-family: var(--font-cond); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.opt { color: var(--g500); letter-spacing: .04em; text-transform: none; font-family: var(--font-body); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; border: 1.5px solid #858178; border-radius: 10px; background: var(--paper-2); padding: 12px 14px; font-size: 16px; color: var(--ink);
  transition: border-color .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--white); }
.field.invalid input { border-color: var(--bad); background: var(--bad-bg); }
.field.invalid input:focus { border-color: var(--ink); background: var(--white); }
.field ::placeholder { color: var(--g500); opacity: 1; }
.field :focus-visible { outline: 3px solid var(--purple); outline-offset: 2px; }
.field-error { font-size: 13px; color: var(--bad); min-height: 0; }
.field-error:empty { display: none; }
html:not(.js) [data-contact-form] { display: none; }
.noscript-note { margin-top: 18px; font-weight: 700; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 6px; }
.form-note { font-size: 14px; color: var(--g500); }
.form-note.err { color: var(--bad); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #8f8b82; padding: 70px 0 34px; border-top: 1px solid var(--ink-line); }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-logo { height: 64px; width: auto; margin-bottom: 14px; }
.footer-nav { display: grid; grid-template-columns: repeat(3, auto); gap: 10px 40px; align-content: start; }
.footer-nav a { text-decoration: none; font-family: var(--font-cond); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 14px; color: #c9c6be; }
.footer-nav a:hover { color: var(--yellow); }
.footer-base { display: flex; justify-content: space-between; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--ink-line); font-size: 13px; }
.always { font-family: var(--font-cond); font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--yellow); }

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; display: flex; align-items: center; padding: 60px 0 90px; }
.notfound .lead { margin-top: 24px; }
.notfound-logo { height: 56px; width: auto; margin-bottom: 64px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media print { .js .reveal { opacity: 1 !important; transform: none !important; } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { gap: 22px; }
  .panel { grid-template-columns: 1fr; gap: 24px; }
  .panel-copy { max-width: 640px; }
  .kpi-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-nav:not([hidden]) {
    display: grid; gap: 4px; padding: 8px var(--gutter) 24px; background: var(--ink); border-bottom: 1px solid var(--ink-line);
  }
  .mobile-nav a:not(.btn) { padding: 12px 0; font-family: var(--font-cond); font-weight: 700; font-size: 18px; letter-spacing: .1em; text-transform: uppercase; color: var(--white); text-decoration: none; border-bottom: 1px solid var(--ink-line); }
  .mobile-nav .btn { margin-top: 14px; }
  .site-header.open { background: var(--ink); }
  .hero { padding: 120px 0 80px; }
  .hero-grid, .app-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; padding-top: 10px; }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow-step:nth-child(2)::after { display: none; }
  .lang-band { grid-template-columns: 1fr; gap: 22px; }
  .modules { grid-template-columns: repeat(2, 1fr); }
  .roles { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .steps::before { display: none; }
  .plans { grid-template-columns: 1fr; }
  .app-visual { order: -1; }
  .app-copy { order: 0; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .brand img { height: 38px; }
  .header-inner { height: 66px; }
  .hero-visual { display: flex; flex-direction: column; align-items: center; gap: 14px; }
  .float { position: static; animation: none; }
  .float-a, .float-b { display: none; }
  .float-c { width: 100%; max-width: 310px; }
  .phone { width: 100%; max-width: 310px; }
  .phone-screen { min-height: 0; }
  .flow { grid-template-columns: 1fr; }
  .flow-step::after { display: none; }
  .modules, .roles, .steps { grid-template-columns: 1fr; }
  .module { padding: 24px 22px; }
  .tablist { border-radius: 16px; width: 100%; }
  .kpi-row { grid-template-columns: 1fr 1fr; }
  .mini-kpi { flex-direction: column; gap: 8px; }
  .ov-grid { grid-template-columns: 1fr; }
  .alerts { grid-template-columns: 1fr; }
  .leg-row { grid-template-columns: 16px 1fr auto; }
  .leg-row .lb { display: none; }
  .tbl-row { grid-template-columns: 1.6fr .6fr .6fr; }
  .tbl-row > span:nth-child(4) { display: none; }
  .tbl-row em { display: none; }
  .window-body { padding: 14px; }
  .form { grid-template-columns: 1fr; padding: 24px 20px; }
  .plan { padding: 30px 24px; }
  .lang-band { padding: 26px 22px; }
  .footer-nav { grid-template-columns: repeat(2, auto); }
  .footer-base { flex-direction: column; gap: 8px; }
  .mock-tag { display: none; }
  .hero-visual .mock-note { position: static; }
}

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