/* FuelApp marketing site — charte FuelApp 3a */

/* Inter, self-hosted (no external font requests) */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/inter-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/inter-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/inter-latin-800-normal.woff2") format("woff2"); }

:root {
  /* Charter 3a */
  --orange: #FF9A1F;
  --violet: #7A6CF0;
  --grad: linear-gradient(90deg, #FF9A1F 0%, #7A6CF0 100%);
  --grad-diag: linear-gradient(45deg, #FF9A1F 0%, #7A6CF0 100%);
  --night: #16134A;      /* dark backgrounds */
  --night-2: #241F66;    /* panels on dark */
  --night-3: #0F0C36;    /* footer */
  --night-line: #3A347F;
  --title: #1E1B4B;      /* titles and text */

  --ground: #F7F7FA;
  --tint: #EEECF8;
  --surface: #FFFFFF;
  --line: #E3E1F0;
  --line-strong: #C3BFDD;
  --muted: #4F4D6E;
  --mist: #D3D0F0;
  --mist-2: #A7A2D6;
  --accent-text: #5B4FD1; /* violet text on light backgrounds */
  --accent-tint: #F1EEFE;
  --danger: #B42318;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius-s: 10px;
  --radius-m: 14px;
  --radius-l: 20px;
  --container: 1200px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--title); font-family: var(--font); font-size: 16px; line-height: 1.6; }
img, svg, video { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font); font-weight: 800; line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
h3 { font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: var(--title); }
a:hover { color: var(--accent-text); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; 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: 16px; top: -60px; background: var(--night); color: #fff; padding: 12px 16px; border-radius: var(--radius-s); z-index: 100; }
.skip-link:focus { top: 12px; color: #fff; }
.container { max-width: var(--container); margin: 0 auto; padding-inline: 24px; }

/* ---------- Brand ---------- */
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; color: var(--title); }
.brand:hover { color: var(--title); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-size: 25px; font-weight: 300; letter-spacing: -0.02em; }
.brand-name b { font-weight: 800; }
.brand-tag { font-size: 8.5px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; margin-top: 5px; color: var(--muted); }
.brand-dark, .brand-dark:hover { color: #fff; }
.brand-dark .brand-tag { color: var(--mist); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 12px; font: 700 16px/1 var(--font); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background-position .3s, background-color .15s, border-color .15s, color .15s, box-shadow .15s; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn-primary { background: var(--grad); background-size: 140% 100%; background-position: 0 0; color: var(--night); box-shadow: 0 6px 18px rgba(122, 108, 240, .25); }
.btn-primary:hover { background-position: 100% 0; color: var(--night); box-shadow: 0 8px 24px rgba(122, 108, 240, .35); }
.btn-dark { background: var(--night); color: #fff; }
.btn-dark:hover { background: var(--night-2); color: #fff; }
.btn-outline { border-color: var(--title); color: var(--title); background: transparent; }
.btn-outline:hover { background: var(--title); color: #fff; }
.btn-outline-light { border-color: #6E68B8; color: #fff; background: transparent; }
.btn-outline-light:hover { border-color: #fff; color: #fff; }
.btn[disabled] { background: var(--line); color: var(--muted); border-color: var(--line); cursor: not-allowed; box-shadow: none; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { min-height: var(--header-h); display: flex; align-items: center; gap: 16px; max-width: 1360px; }
.btn-header { white-space: nowrap; padding: 0 18px; min-height: 46px; font-size: 15px; flex: none; }
.header-actions .lang-switch { flex: none; }
.nav { display: flex; gap: 2px; flex: 1 1 auto; justify-content: center; }
.nav a { padding: 12px 10px; font-size: 15px; font-weight: 500; text-decoration: none; border-radius: 8px; white-space: nowrap; }
.nav a:hover { background: var(--tint); color: var(--title); }
.nav a[aria-current="page"] { color: var(--accent-text); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.login-link { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; text-decoration: none; padding: 12px 6px; white-space: nowrap; }
.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; font-size: 13px; font-weight: 600; }
.lang-switch a, .lang-switch span { padding: 10px 14px; text-decoration: none; min-width: 44px; text-align: center; }
.lang-switch [aria-current="true"] { background: var(--night); color: #fff; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); align-items: center; justify-content: center; cursor: pointer; }
.mobile-nav { display: none; }

@media (max-width: 1200px) {
  .nav, .header-actions .btn-header, .login-link { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .mobile-nav { border-top: 1px solid var(--line); padding: 8px 24px 20px; background: var(--surface); }
  .mobile-nav:not([hidden]) { display: flex; flex-direction: column; }
  .mobile-nav a { padding: 14px 4px; font-size: 17px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--tint); }
  .mobile-nav .btn { margin-top: 14px; border-bottom: none; }
}
@media (max-width: 420px) {
  .brand-tag { display: none; }
  .brand-name { font-size: 22px; }
  .brand svg { width: 34px; height: 34px; }
}

/* ---------- Hero ---------- */
.hero, .page-hero { background: var(--night); color: #fff; position: relative; overflow: hidden; }
.hero::after, .page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--grad); }
.hero-inner { padding-block: 88px 96px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.hero .eyebrow, .page-hero .eyebrow, .eyebrow-light { color: var(--orange); }
.hero h1, .page-hero h1 { font-size: clamp(36px, 5vw, 58px); line-height: 1.05; margin-top: 20px; }
.hero-lead { font-size: 19px; color: var(--mist); margin-top: 24px; max-width: 60ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-apps { font-size: 14px; color: var(--mist-2); margin-top: 20px; }
.page-hero .container { padding-block: 72px 80px; max-width: 900px; margin-inline: auto; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-l); background: var(--night-2); border: 1px solid var(--night-line); overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); }
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.video-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 84px; height: 84px; border-radius: 999px; border: none; background: var(--grad-diag); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 8px 30px rgba(0,0,0,.4); transition: transform .15s; }
.video-play:hover { transform: translate(-50%, -50%) scale(1.06); }
.video-frame.is-playing .video-play { display: none; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding-block: 44px 52px; gap: 32px; }
  .hero-lead { font-size: 17px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .video-play { width: 64px; height: 64px; }
  .page-hero .container { padding-block: 48px 56px; }
}

/* ---------- Trust strip ---------- */
.trust { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust-list { list-style: none; margin: 0; padding-block: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px 24px; }
.trust-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; }

/* ---------- Sections ---------- */
.section { padding-block: 96px; }
.section-tight-top { padding-top: 32px; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { max-width: 760px; display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }
.section-head h2, .intel-title, .col-title { font-size: clamp(28px, 3.4vw, 40px); }
.col-title { font-size: clamp(24px, 2.6vw, 30px); margin-bottom: 20px; }
@media (max-width: 700px) { .section { padding-block: 56px; } .section-head { margin-bottom: 24px; } }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-gains { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
@media (max-width: 400px) { .grid-gains { grid-template-columns: 1fr; } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 21px; }
.card p { color: var(--muted); }
.icon-badge { width: 52px; height: 52px; border-radius: 14px; background: var(--accent-tint); display: flex; align-items: center; justify-content: center; margin-bottom: 8px; flex: none; }

.flow-illustration { max-width: 760px; margin: 0 auto 40px; }
.steps { list-style: none; margin: 0; padding: 0; }
.step-num { width: 44px; height: 44px; border-radius: 12px; background: var(--night); color: var(--orange); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px; }
.steps .card h3 { font-size: 20px; }
.steps .card p { font-size: 15px; }

.gain { display: flex; gap: 16px; padding: 24px; border-radius: 16px; background: var(--ground); }
.gain .icon-badge { margin: 0; }
.gain h3 { font-size: 19px; margin-bottom: 6px; }
.gain p { font-size: 15px; color: var(--muted); }

/* Fleet Intelligence */
.intel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.intel-title { margin-top: 14px; }
.intel-lead { font-size: 17px; color: var(--muted); margin-top: 18px; }
.intel ul { margin: 18px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.intel-panel { background: var(--night); color: #fff; border-radius: var(--radius-l); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.intel-panel-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; align-items: center; }
.intel-panel-head strong { font-size: 18px; font-weight: 700; }
.intel-panel-head span { font-size: 13px; color: var(--mist-2); }
.alert-row { display: flex; gap: 12px; align-items: center; background: var(--night-2); border-radius: 12px; padding: 14px 16px; font-size: 15px; }
.alert-row::before { content: ""; width: 10px; height: 10px; border-radius: 999px; background: var(--orange); flex: none; }
@media (max-width: 900px) { .intel { grid-template-columns: 1fr; gap: 32px; } }

/* Plans */
.plans { align-items: stretch; }
.plan { border: 1px solid var(--line); border-radius: 18px; padding: 32px; display: flex; flex-direction: column; gap: 18px; background: var(--surface); }
.plan h3 { font-size: 24px; }
.plan-price { font-size: 15px; color: var(--muted); }
.plan-price strong { display: block; font-size: 28px; font-weight: 800; color: var(--title); }
.plan ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; flex: 1 1 auto; }
.plan-featured { background: var(--night); color: #fff; border: 2px solid transparent; background-image: linear-gradient(var(--night), var(--night)), var(--grad); background-origin: border-box; background-clip: padding-box, border-box; }
.plan-featured .plan-price { color: var(--mist); }
.plan-featured .plan-price strong { color: #fff; }
.plan-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.badge { background: var(--grad); color: var(--night); font-size: 12px; font-weight: 800; padding: 6px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; }
.plans-note { margin-top: 20px; font-size: 14px; color: var(--muted); }

/* Pilot band (home) */
.pilot-band { background: var(--night); color: #fff; border-radius: 24px; padding: 56px 48px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; position: relative; overflow: hidden; }
.pilot-band::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad); }
.pilot-band h2 { font-size: clamp(28px, 3.4vw, 40px); margin-top: 14px; }
.pilot-band-text > p:not(.eyebrow) { color: var(--mist); font-size: 17px; margin-top: 16px; }
.pilot-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.pilot-steps li { display: flex; gap: 14px; background: var(--night-2); border-radius: 14px; padding: 16px 18px; }
.pilot-steps h3 { font-size: 17px; }
.pilot-steps p { font-size: 14px; color: var(--mist); margin-top: 4px; }
.pilot-num { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--grad-diag); color: var(--night); display: flex; align-items: center; justify-content: center; font-weight: 800; }
@media (max-width: 900px) { .pilot-band { grid-template-columns: 1fr; padding: 32px 22px; gap: 28px; } .pilot-band .hero-ctas .btn { flex: 1 1 100%; } }

/* Pilot page */
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; }
.conds { margin: 0; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); }
.cond { display: flex; justify-content: space-between; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.cond:last-child { border-bottom: none; }
.cond dt { font-weight: 600; }
.cond dt { flex: none; }
.cond dd { margin: 0; text-align: right; color: var(--muted); max-width: 70%; }
@media (max-width: 520px) { .cond { flex-direction: column; gap: 4px; } .cond dd { text-align: left; max-width: none; } }
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; font-size: 16px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { flex: none; margin-top: 2px; stroke: var(--accent-text); }

/* Stations strip */
.stations { border: 1px solid var(--line); background: var(--surface); border-radius: 18px; padding: 28px 32px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.stations-text { display: flex; gap: 16px; align-items: center; flex: 1 1 420px; }
.stations h3 { font-size: 20px; }
.stations p { color: var(--muted); font-size: 15px; }
.text-link { font-weight: 700; padding: 12px 4px; color: var(--accent-text); }

/* CTA band */
.cta-wrap { padding-block: 64px 96px; }
.cta-band { background: var(--night); color: #fff; border-radius: 24px; padding: 56px 48px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad); }
.cta-band h2 { font-size: clamp(26px, 3vw, 38px); }
.cta-band p { color: var(--mist); font-size: 17px; margin-top: 12px; }
.cta-band > div:first-child { flex: 1 1 460px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 700px) { .cta-band { padding: 32px 22px; } .cta-actions .btn { flex: 1 1 100%; } .cta-wrap { padding-block: 40px 64px; } }

/* Footer */
.site-footer { background: var(--night-3); color: var(--mist); }
.footer-grid { padding-block: 56px 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.footer-grid h2 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 10px; letter-spacing: 0; }
.footer-grid a { color: var(--mist); display: inline-block; padding: 5px 0; text-decoration: none; }
.footer-grid a:hover { color: #fff; }
.footer-grid a.brand { display: flex; padding: 0; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-bottom { border-top: 1px solid #262268; padding-block: 20px 32px; font-size: 13px; color: var(--mist-2); display: flex; flex-direction: column; gap: 6px; }

/* WhatsApp floating button (mobile) */
.wa-float { display: none; }
@media (max-width: 900px) {
  .wa-float { display: flex; position: fixed; right: 16px; bottom: 16px; z-index: 55; width: 56px; height: 56px; border-radius: 999px; background: #25D366; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); transition: bottom .2s; }
  .has-notice .wa-float { bottom: 120px; }
  body { padding-bottom: 0; }
}
.wa-badge { width: 24px; height: 24px; border-radius: 999px; background: #25D366; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.wa-badge svg { width: 16px; height: 16px; }

/* ---------- Form pages ---------- */
.page-split { padding-block: 48px 72px; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: 32px; align-items: start; }
.page-split aside { display: flex; flex-direction: column; gap: 18px; }
.page-split h1 { font-size: clamp(30px, 3.6vw, 38px); line-height: 1.1; }
.page-split aside > p { color: var(--muted); }
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.facts li { display: flex; gap: 10px; align-items: center; }
.aside-call { border-top: 1px solid var(--line); padding-top: 16px; color: var(--muted); }
.aside-address { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.aside-address svg { flex: none; margin-top: 2px; }
.contact-card { display: flex; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 18px; text-decoration: none; }
.contact-card:hover { border-color: var(--violet); color: var(--title); }
.contact-card small { display: block; font-size: 13px; color: var(--muted); }
.contact-card strong { font-size: 16px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 28px; }
@media (max-width: 900px) { .page-split { grid-template-columns: 1fr; padding-block: 32px 56px; } .panel { padding: 20px; } }

.stepper { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; font-weight: 600; }
.stepper li { padding: 8px 12px; border-radius: 999px; background: var(--tint); color: var(--muted); }
.stepper li[aria-current="step"], .stepper li.done { background: var(--night); color: #fff; }

.booking-top { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; }
@media (max-width: 760px) { .booking-top { grid-template-columns: 1fr; } }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.cal-head h2 { font-size: 20px; text-transform: capitalize; }
.cal-nav { display: flex; gap: 6px; }
.icon-btn { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.icon-btn[disabled] { opacity: .4; cursor: default; }
.cal-weekdays, .cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal-weekdays { font-size: 12px; font-weight: 600; color: var(--muted); text-align: center; margin-bottom: 6px; }
.day { height: 44px; border-radius: 10px; font: 600 15px var(--font); background: var(--surface); color: var(--title); border: 1px solid var(--line-strong); cursor: pointer; }
.day:hover:not([disabled]) { border-color: var(--violet); }
.day[disabled] { background: var(--ground); color: #9A97B5; border-color: var(--tint); cursor: default; }
.day[aria-pressed="true"] { background: var(--night); color: #fff; border-color: var(--night); }
.hint { font-size: 13px; color: var(--muted); margin-top: 10px; }
.slots-title { font-size: 20px; margin-bottom: 12px; }
.slots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.slot { height: 48px; border-radius: 10px; font: 600 15px var(--font); background: var(--surface); color: var(--title); border: 1px solid var(--line-strong); cursor: pointer; }
.slot:hover { border-color: var(--violet); }
.slots.periods { grid-template-columns: 1fr; }
.slots.periods .slot { height: auto; min-height: 52px; padding: 12px 16px; }
.slot[aria-pressed="true"] { background: var(--grad); border-color: transparent; color: var(--night); }
.empty-note { font-size: 15px; color: var(--muted); background: var(--ground); border-radius: 12px; padding: 16px; }

.form-block { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 24px; display: flex; flex-direction: column; gap: 16px; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-block h2 { font-size: 20px; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { font: 400 16px var(--font); color: var(--title); border: 1px solid var(--line-strong); border-radius: 10px; padding: 0 12px; min-height: 48px; background: var(--surface); width: 100%; }
.field textarea { padding: 12px; resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(122, 108, 240, .45); outline-offset: 0; border-color: var(--violet); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.err { color: var(--danger); font-weight: 500; font-size: 13px; }
.optional { font-weight: 400; color: var(--muted); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--violet); }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.form-summary { font-size: 14px; color: var(--muted); }
.form-status { font-size: 15px; border-radius: 12px; padding: 14px 16px; }
.form-status.is-error { background: #FDECEA; color: var(--danger); }
.form-status:empty { display: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; border: none; margin: 0; padding: 0; }
.chips legend { font-size: 14px; font-weight: 600; padding: 0 0 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: 999px; font-weight: 600; font-size: 15px; border: 1px solid var(--line-strong); background: var(--surface); }
.chip input:checked + span { background: var(--night); color: #fff; border-color: var(--night); }
.chip input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }

.success { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 24px 8px; }
.success-icon { width: 56px; height: 56px; border-radius: 999px; background: var(--grad-diag); display: flex; align-items: center; justify-content: center; }
.success h2 { font-size: 30px; }
.success p { font-size: 17px; color: var(--muted); }
.success .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.spinner { width: 22px; height: 22px; border: 3px solid var(--line); border-top-color: var(--violet); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Prose pages (privacy, legal notice) */
.prose { max-width: 760px; padding-block: 56px 80px; }
.prose h1 { font-size: clamp(30px, 3.6vw, 40px); margin-bottom: 20px; }
.prose h2 { font-size: 22px; margin: 32px 0 10px; }
.prose p, .prose li { color: #2E2B55; }
.prose p + p { margin-top: 12px; }
.prose a { color: var(--accent-text); }

/* 404 */
.nf-body { background: var(--night); color: #fff; min-height: 100vh; display: flex; align-items: center; }
.nf { max-width: 760px; margin: 0 auto; padding: 48px 24px; display: flex; flex-direction: column; gap: 16px; }
.nf-code { font-size: 96px; font-weight: 800; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.nf-cols h1, .nf-cols h2 { font-size: 26px; margin-bottom: 8px; }
.nf-cols p { color: var(--mist); margin-bottom: 18px; }

/* Analytics notice */
.notice { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 560px; margin-left: auto; background: var(--night); color: #fff; border-radius: var(--radius-m); padding: 16px 18px; display: flex; gap: 16px; align-items: center; box-shadow: 0 10px 30px rgba(15, 12, 54, .35); font-size: 14px; }
.notice a { color: var(--orange); }
.notice .btn { min-height: 44px; padding: 0 16px; font-size: 14px; flex: none; }

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