/* ==========================================================================
   advolo.org – public website. Same family as the marketplace (IBM Plex Sans, Advolo blue),
   with a night-flight navy for the hero. One signature element: the priced trip card.
   ========================================================================== */
@font-face { font-family: "Plex"; src: url(fonts/ibm-plex-sans-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex"; src: url(fonts/ibm-plex-sans-latin-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Plex"; src: url(fonts/ibm-plex-sans-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plex"; src: url(fonts/ibm-plex-sans-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Plex"; src: url(fonts/ibm-plex-sans-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --night: #16213a;       /* hero, footer */
  --night-2: #1f2d4c;
  --night-line: rgba(255,255,255,.14);
  --sky: #a9c1f7;         /* accents on night */
  --blue: #2251b8;        /* Advolo primary, as in the app */
  --blue-hover: #1b4398;
  --blue-soft: #eaf0fb;
  --paper: #ffffff;
  --mist: #f3f4f6;
  --line: #e2e5ea;
  --ink: #161a21;
  --ink-2: #3a4250;
  --muted: #646d7b;
  --ok: #18794e;
  --err: #c2382b;
  --wrap: 1180px;
  --r: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 "Plex", system-ui, -apple-system, "Segoe UI", sans-serif; font-feature-settings: "tnum" 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 2px; }
a:hover { color: var(--blue-hover); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid #6f97ee; outline-offset: 2px; border-radius: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: var(--r);
  font: 500 15px/1 "Plex", sans-serif; text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s; }
.btn-lg { height: 48px; padding: 0 24px; font-size: 16px; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); color: #fff; }
.btn-ghost { color: var(--ink); }
.btn-ghost:hover { background: var(--mist); color: var(--ink); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.45); }
.btn-outline-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.06); }

/* ---------- top bar ---------- */
.topbar { position: absolute; inset: 0 0 auto; z-index: 20; }
.topbar:not(.on-dark) { position: relative; border-bottom: 1px solid var(--line); background: var(--paper); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: block; line-height: 0; }
.brand img { height: 32px; width: auto; }
.topbar.on-dark .logo-light, .topbar:not(.on-dark) .logo-dark { display: none; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav > a { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav > a:hover { color: var(--ink); }
.nav > a[aria-current] { border-bottom-color: var(--blue); color: var(--ink); }
.nav-actions { display: flex; gap: 8px; margin-left: 8px; }
.on-dark .nav > a { color: rgba(255,255,255,.78); }
.on-dark .nav > a:hover, .on-dark .nav > a[aria-current] { color: #fff; }
.on-dark .nav > a[aria-current] { border-bottom-color: var(--sky); }
.on-dark .btn-ghost { color: #fff; }
.on-dark .btn-ghost:hover { background: rgba(255,255,255,.08); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.nav-toggle span:first-child, .nav-toggle span:first-child::before, .nav-toggle span:first-child::after { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--ink); content: ""; transition: transform .2s; }
.nav-toggle span:first-child { top: 21px; }
.nav-toggle span:first-child::before { left: 0; top: -7px; } .nav-toggle span:first-child::after { left: 0; top: 7px; }
.on-dark .nav-toggle span:first-child, .on-dark .nav-toggle span:first-child::before, .on-dark .nav-toggle span:first-child::after { background: #fff; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--night); color: #fff; overflow: hidden; padding: 150px 0 96px; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: var(--night-line); }
.hero-arc { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-arc path { fill: none; stroke: var(--sky); stroke-opacity: .35; stroke-width: 1.4; stroke-dasharray: 2 7; vector-effect: non-scaling-stroke; }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: center; }
.hero-in-single { grid-template-columns: minmax(0, 760px); }
.hero h1 { font-size: clamp(36px, 5vw, 58px); font-weight: 600; letter-spacing: -.025em; line-height: 1.06; margin-bottom: 24px; max-width: 15em; }
.hero .lead { font-size: 19px; color: rgba(255,255,255,.8); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 18px; }
.hero-note { font-size: 14px; color: rgba(255,255,255,.55); margin: 0; }
.hero-sub { padding: 140px 0 80px; }
.hero-sub h1 { font-size: clamp(32px, 4.4vw, 50px); }

/* ---------- the priced trip card ---------- */
.quote { margin: 0; background: var(--paper); color: var(--ink); border-radius: 10px; padding: 24px 24px 18px; font-size: 15px;
  box-shadow: 0 30px 60px -20px rgba(4, 10, 30, .55), 0 0 0 1px rgba(255,255,255,.06); font-variant-numeric: tabular-nums; }
.quote-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.quote-route { display: flex; align-items: center; gap: 10px; font-size: 26px; font-weight: 600; letter-spacing: .01em; }
.quote-route svg { width: 54px; height: 14px; }
.quote-route path { fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-dasharray: 3 3; }
.quote-meta { color: var(--muted); font-size: 14px; margin-top: 2px; }
.quote-status { font-size: 13px; font-weight: 500; color: var(--ok); background: #e7f4ed; border-radius: 99px; padding: 3px 10px; white-space: nowrap; }
.quote-aircraft { display: flex; justify-content: space-between; gap: 12px; margin: 18px 0 10px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; }
.quote-aircraft span { color: var(--muted); }
.quote-legs { list-style: none; margin: 0 0 14px; padding: 0; }
.quote-legs li { display: grid; grid-template-columns: 104px 1fr auto; gap: 10px; padding: 6px 0 6px 14px; position: relative; font-size: 14px; }
.quote-legs li::before { content: ""; position: absolute; left: 0; top: 13px; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--muted); background: var(--paper); }
.quote-legs li + li::after { content: ""; position: absolute; left: 3px; top: -6px; height: 18px; border-left: 1.5px dotted #b9c0cc; }
.quote-legs .leg-live::before { background: var(--blue); border-color: var(--blue); }
.leg-type { color: var(--muted); }
.leg-live .leg-type, .leg-live span { color: var(--ink); font-weight: 500; }
.quote-legs .t { color: var(--muted); }
.quote-lines { margin: 0; border-top: 1px solid var(--line); padding-top: 8px; }
.quote-lines div { display: flex; justify-content: space-between; gap: 16px; padding: 3px 0; font-size: 14px; }
.quote-lines dt { color: var(--ink-2); } .quote-lines dd { margin: 0; }
.quote-lines .quote-total { border-top: 1px solid var(--ink); margin-top: 8px; padding-top: 10px; font-size: 20px; font-weight: 600; }
.quote-lines .quote-total dt { color: var(--ink); }
.quote figcaption { margin-top: 14px; font-size: 12.5px; color: var(--muted); line-height: 1.45; }

/* ---------- two sides ---------- */
.sides { padding: 96px 0 40px; }
.sides-in { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.side { padding: 0 56px 0 0; }
.side + .side { padding: 0 0 0 56px; border-left: 1px solid var(--line); }
.side h2 { font-size: 30px; }
.side p { color: var(--ink-2); max-width: 34em; }
.ticks { list-style: none; padding: 0; margin: 20px 0 24px; }
.ticks li { position: relative; padding: 7px 0 7px 28px; border-top: 1px solid var(--line); font-size: 16px; }
.ticks li:last-child { border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 12px; height: 6px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.text-link { font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 1px; }

/* ---------- sequence ---------- */
.flow { padding: 72px 0 88px; }
.section-title { font-size: clamp(26px, 3vw, 36px); margin-bottom: 40px; max-width: 22em; }
.flow-steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; position: relative; }
.flow-steps.flow-4 { grid-template-columns: repeat(4, 1fr); }
.flow-steps::before { content: ""; position: absolute; left: 6px; right: 6px; top: 15px; border-top: 1.5px dashed #b9c6e4; }
.flow-steps li { counter-increment: s; position: relative; padding-top: 48px; }
.flow-steps li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--blue); color: var(--blue);
  font: 600 14px/29px "Plex", sans-serif; text-align: center; }
.flow-steps li:last-child::before { background: var(--blue); color: #fff; }
.flow-steps strong { display: block; font-size: 18px; margin-bottom: 6px; }
.flow-steps span { color: var(--muted); font-size: 15.5px; line-height: 1.5; display: block; }

/* ---------- feature rows ---------- */
.feature { padding: 88px 0; background: var(--mist); }
.feature-alt { background: var(--paper); }
.feature-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.feature-alt .feature-copy { order: 2; }
.feature h2 { font-size: clamp(24px, 2.6vw, 32px); }
.feature-copy p { color: var(--ink-2); }
.shot { margin: 0; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: 0 18px 40px -24px rgba(22, 33, 58, .35); }
.shot img { width: 100%; height: auto; }

/* ---------- trust ---------- */
.trust { padding: 88px 0; border-top: 1px solid var(--line); }
.trust-list { margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.trust-list div { padding: 4px 28px 0 0; }
.trust-list div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.trust-list dt { font-weight: 600; font-size: 17px; margin-bottom: 8px; }
.trust-list dd { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.55; }

/* ---------- call to action ---------- */
.cta { background: var(--night); color: #fff; padding: 72px 0; }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(26px, 3vw, 36px); max-width: 18em; }
.cta p { color: rgba(255,255,255,.75); margin: 0; max-width: 36em; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- plain pages ---------- */
.page-head { padding: 64px 0 24px; }
.page-head h1 { font-size: clamp(32px, 4vw, 46px); letter-spacing: -.02em; }
.page-head .lead { font-size: 19px; color: var(--ink-2); max-width: 40em; }
.page-404 { padding-bottom: 120px; }
.prose { padding: 8px 0 96px; }
.prose-in { max-width: 760px; margin-left: max(28px, calc((100% - var(--wrap)) / 2 + 28px)); padding: 0; }
.prose h2 { font-size: 21px; margin-top: 36px; }
.prose p { color: var(--ink-2); }
.prose .updated { color: var(--muted); font-size: 14px; margin-top: 40px; }

/* ---------- contact ---------- */
.contact { padding: 16px 0 96px; }
.contact-in { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; align-items: start; }
.form { max-width: 680px; }
.field { margin: 0 0 20px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 500; font-size: 15px; margin-bottom: 6px; padding: 0; }
.opt { color: var(--muted); font-weight: 400; font-size: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
input:not([type=radio]):not([type=checkbox]), textarea { width: 100%; font: 400 16px/1.4 "Plex", sans-serif; color: var(--ink); background: #fff; border: 1px solid #cbd0d8; border-radius: var(--r); padding: 10px 12px; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
/* WEB-008 company details for access requests */
.field select { width: 100%; font: 400 16px/1.4 "Plex", sans-serif; color: var(--ink); background: #fff; border: 1px solid #cbd0d8; border-radius: var(--r); padding: 10px 12px; }
.field select[aria-invalid="true"], .field input[aria-invalid="true"] { border-color: var(--err); }
.company-box { border: 1px solid #e2e5ea; border-radius: var(--r); padding: 20px 22px 4px; margin: 4px 0 24px; background: #fafbfc; }
.company-box > legend { font-size: 17px; font-weight: 600; padding: 0 6px; margin-left: -6px; }
.company-box .hint { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.field .label { display: block; font-weight: 500; font-size: 15px; margin-bottom: 8px; }
.fleet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.field .fleet-item { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; border: 1px solid #e2e5ea; border-radius: var(--r); background: #fff; padding: 12px; margin: 0; font-weight: 500; font-size: 15px; }
.fleet-item small { display: block; color: var(--muted); font-weight: 400; font-size: 13px; line-height: 1.35; margin-top: 3px; }
.fleet-item input { max-width: 90px; }
.field input.short { max-width: 140px; }
textarea { resize: vertical; min-height: 140px; }
[aria-invalid="true"] { border-color: var(--err) !important; }
.field-error { color: var(--err); font-size: 14px; margin: 6px 0 0; }
.form-alert { background: #fdecea; color: #8f241a; border-radius: var(--r); padding: 12px 14px; margin-bottom: 24px; font-size: 15px; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.field .choice { display: flex; align-items: center; gap: 10px; border: 1px solid #cbd0d8; border-radius: var(--r); padding: 11px 12px; font-weight: 400; margin: 0; cursor: pointer; }
.field .choice:hover { border-color: #9aa3b2; }
.choice:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); }
.choice input, .check input { accent-color: var(--blue); width: 17px; height: 17px; flex: none; margin: 0; }
.field .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 15px; color: var(--ink-2); }
.check input { margin-top: 3px; }
.hp { position: absolute; left: -5000px; }
.contact-side { border-left: 1px solid var(--line); padding-left: 32px; font-size: 15.5px; }
.contact-side h2 { font-size: 18px; margin-bottom: 12px; }
.contact-side h2 + p { margin-bottom: 28px; }
.next-steps { padding-left: 20px; margin: 0 0 32px; color: var(--ink-2); }
.next-steps li { margin-bottom: 10px; padding-left: 4px; }
.sent { max-width: 620px; background: #e2f1e8; padding: 24px 28px; }
.sent h2 { font-size: 28px; }

/* ---------- footer ---------- */
.footer { background: var(--night); color: rgba(255,255,255,.72); font-size: 15px; padding: 64px 0 0; }
.cta + .footer, main:has(> .cta:last-child) + .footer { border-top: 1px solid var(--night-line); }
.footer-in { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; padding-bottom: 48px; }
.footer-brand { max-width: 300px; }
.footer-brand img { height: 28px; width: auto; margin-bottom: 16px; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer h2 { font-size: 14px; font-weight: 600; color: #fff; letter-spacing: 0; margin-bottom: 12px; }
.footer a { display: block; color: rgba(255,255,255,.72); text-decoration: none; padding: 3px 0; }
.footer a:hover { color: #fff; }
.footer-legal { border-top: 1px solid var(--night-line); padding-top: 20px; padding-bottom: 28px; font-size: 13.5px; color: rgba(255,255,255,.5); }

/* ---------- one orchestrated moment: the route is drawn and the price appears ---------- */
@media (prefers-reduced-motion: no-preference) {
  .page-home .hero-arc path { stroke-dasharray: 2000; stroke-dashoffset: 2000; animation: draw 2.2s .2s cubic-bezier(.6,.1,.3,1) forwards; }
  .page-home .quote { opacity: 0; transform: translateY(14px); animation: arrive .7s 1.1s ease-out forwards; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  @keyframes arrive { to { opacity: 1; transform: none; } }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-in { grid-template-columns: 1fr; gap: 48px; }
  .quote { max-width: 520px; }
  .flow-steps, .flow-steps.flow-4 { grid-template-columns: 1fr; gap: 0; }
  .flow-steps::before { left: 15px; right: auto; top: 8px; bottom: 8px; border-top: 0; border-left: 1.5px dashed #b9c6e4; }
  .flow-steps li { padding: 4px 0 24px 52px; }
  .trust-list { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .trust-list div:nth-child(3) { padding-left: 0; border-left: 0; }
  .contact-in { grid-template-columns: 1fr; gap: 48px; }
  .contact-side { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 32px; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 16px; right: 16px; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-radius: 10px;
    padding: 8px 16px 16px; box-shadow: 0 20px 50px -10px rgba(4,10,30,.4); }
  .nav.open { display: flex; }
  .nav > a, .on-dark .nav > a { color: var(--ink); padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav > a[aria-current] { color: var(--blue); }
  .nav-actions { margin: 16px 0 0; flex-direction: column; }
  .on-dark .nav .btn-ghost { color: var(--ink); border-color: #cbd0d8; }
  .nav-actions .btn-ghost { border-color: #cbd0d8; }
  .sides-in { grid-template-columns: 1fr; gap: 56px; }
  .side, .side + .side { padding: 0; border: 0; }
  .feature-in { grid-template-columns: 1fr; gap: 36px; }
  .feature-alt .feature-copy { order: 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  .hero { padding: 116px 0 64px; }
  .hero .lead { font-size: 17px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .quote { padding: 18px 16px 14px; }
  .quote-route { font-size: 22px; }
  .quote-legs li { grid-template-columns: 88px 1fr auto; }
  .sides, .feature, .trust { padding: 64px 0; }
  .trust-list { grid-template-columns: 1fr; }
  .trust-list div, .trust-list div + div { padding: 0; border: 0; }
  .field-row, .choices, .fleet-grid { grid-template-columns: 1fr; }
  .company-box { padding: 16px 14px 2px; }
  .footer-cols { gap: 32px; }
  .prose-in { margin-left: 16px; margin-right: 16px; }
}

/* ---------- pricing ---------- */
.pricing-head h1 { max-width: 16em; }
.plans { padding: 24px 0 88px; }
.plans-in { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.plan-col { padding-right: 56px; }
.plan-col + .plan-col { padding: 0 0 0 56px; border-left: 1px solid var(--line); }
.plan-col h2 { font-size: 30px; }
.plan-intro { color: var(--ink-2); max-width: 34em; }
.price-list { list-style: none; margin: 24px 0 18px; padding: 0; border-top: 1px solid var(--ink); }
.price-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.price-list strong { display: block; font-size: 18px; font-weight: 600; }
.price-list li span { display: block; color: var(--muted); font-size: 15px; line-height: 1.45; margin-top: 2px; }
.price { font-size: 28px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price small { font-size: 14px; font-weight: 400; color: var(--muted); letter-spacing: 0; margin-left: 2px; }
.price-main .price { color: var(--blue); }
.plan-note { font-size: 15px; color: var(--muted); }

.calc-band { background: var(--night); color: #fff; padding: 80px 0; }
.calc-band .section-title { margin-bottom: 28px; }
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.calc-inputs { display: grid; gap: 22px; }
.calc fieldset { border: 0; padding: 0; margin: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.calc legend { font-size: 14px; color: rgba(255,255,255,.6); margin-bottom: 8px; padding: 0; width: 100%; }
.calc fieldset label { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.3); border-radius: var(--r); padding: 9px 14px; cursor: pointer; font-size: 15px; }
.calc fieldset label:has(input:checked) { border-color: var(--sky); background: rgba(169,193,247,.12); }
.calc fieldset input { accent-color: var(--sky); margin: 0; }
.calc-op, .calc-br { display: grid; gap: 10px; }
.calc-op[hidden], .calc-br[hidden] { display: none; }
.calc-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 6px 0; border-bottom: 1px solid var(--night-line); font-size: 16px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: var(--r); overflow: hidden; }
.stepper button { width: 38px; height: 38px; border: 0; background: transparent; color: #fff; font: 500 18px "Plex", sans-serif; cursor: pointer; }
.stepper button:hover { background: rgba(255,255,255,.1); }
.calc .stepper input { width: 52px; height: 38px; border: 0; border-left: 1px solid rgba(255,255,255,.2); border-right: 1px solid rgba(255,255,255,.2); border-radius: 0;
  background: transparent; color: #fff; text-align: center; padding: 0; font: 600 16px "Plex", sans-serif; -moz-appearance: textfield; }
.calc .stepper input::-webkit-outer-spin-button, .calc .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-out { display: block; background: var(--paper); color: var(--ink); border-radius: 10px; padding: 28px; box-shadow: 0 30px 60px -20px rgba(4,10,30,.55); font-variant-numeric: tabular-nums; }
.calc-out span { display: block; }
.calc-plan { font-size: 15px; color: var(--muted); }
.calc-month { font-size: 44px; font-weight: 600; letter-spacing: -.025em; line-height: 1.15; margin: 4px 0 6px; }
.calc-period { font-size: 16px; color: var(--ink-2); padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.calc-detail { font-size: 14px; color: var(--muted); margin-top: 14px; line-height: 1.5; }

.terms { padding: 88px 0; }
.terms-in { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.terms h2 { font-size: 24px; }
.faq details { border-top: 1px solid var(--line); padding: 14px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 500; list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: -2px; font-size: 22px; color: var(--muted); transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); margin: 10px 0 0; font-size: 16px; }

@media (max-width: 900px) {
  .plans-in, .calc, .terms-in { grid-template-columns: 1fr; gap: 48px; }
  .plan-col, .plan-col + .plan-col { padding: 0; border: 0; }
}
@media (max-width: 600px) {
  .price-list li { flex-direction: column; gap: 4px; }
  .calc-month { font-size: 36px; }
}
.calc legend.sr { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- terms ---------- */
.terms-doc .toc { background: var(--mist); border-radius: 8px; padding: 18px 24px; margin: 8px 0 32px; }
.terms-doc .toc ol { columns: 2; column-gap: 32px; margin: 0; padding-left: 22px; font-size: 15px; }
.terms-doc .toc li { break-inside: avoid; padding: 2px 0; }
.terms-doc h2 { scroll-margin-top: 24px; }
.terms-doc ul { color: var(--ink-2); padding-left: 22px; }
.terms-doc li { margin-bottom: 6px; }
@media (max-width: 600px) { .terms-doc .toc ol { columns: 1; } }

/* WEB-011 Starter month */
.starter-box { display: grid; grid-template-columns: 1fr auto; gap: 10px 24px; align-items: center; margin: 22px 0 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--mist); }
.starter-text strong { display: block; font-size: 18px; font-weight: 600; }
.starter-text span { display: block; color: var(--muted); font-size: 15px; line-height: 1.45; margin-top: 2px; }
.starter-box .price small { margin-left: 4px; }
.starter-box .btn { grid-column: 1 / -1; justify-self: start; background: #fff; border-color: var(--ink); color: var(--ink); }
.starter-box .btn:hover { background: var(--ink); color: #fff; }
.hero-note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.field .starter-check { border: 1px solid #cbd0d8; border-radius: var(--r); background: var(--mist); padding: 12px; margin: 0; }
.field .starter-check strong { color: var(--ink); font-weight: 600; }
@media (max-width: 560px) {
  .starter-box { grid-template-columns: 1fr; }
}


/* WEB-014 airport costs highlighted */
.fees-band { background: var(--night); color: #fff; padding: 88px 0; }
.fees-head { max-width: 760px; margin-bottom: 40px; }
.fees-head .section-title { margin-bottom: 16px; }
.fees-head .lead { color: rgba(255,255,255,.78); margin: 0; }
.fees-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.fee-card { margin: 0; background: var(--paper); color: var(--ink); border-radius: var(--r); padding: 24px 26px; box-shadow: 0 24px 50px -24px rgba(4,10,30,.6); display: flex; flex-direction: column; }
.fee-card h3 { font-size: 20px; margin: 0 0 4px; }
.fee-situation { color: var(--muted); font-size: 15px; margin: 0 0 16px; }
.fee-lines { margin: 0 0 14px; border-top: 1px solid var(--ink); font-variant-numeric: tabular-nums; }
.fee-lines div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.fee-lines dt { color: var(--ink-2); }
.fee-lines dd { margin: 0; font-weight: 600; white-space: nowrap; }
.fee-card figcaption { margin-top: auto; color: var(--muted); font-size: 14px; line-height: 1.5; }
.fees-more { margin-top: 36px; max-width: 900px; }
.fees-more p { margin: 0 0 12px; color: rgba(255,255,255,.85); }
.fees-more strong { color: #fff; }
.fees-list { font-size: 15px; color: var(--sky) !important; line-height: 1.7; }
.fees-note { font-size: 13.5px; color: rgba(255,255,255,.55) !important; }
@media (max-width: 760px) {
  .fees-band { padding: 64px 0; }
  .fees-grid { grid-template-columns: 1fr; }
}

/* WEB-015 website widget add-on */
.addon-box { display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: center; margin: 22px 0 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); }
.addon-box .price small { margin-left: 4px; }
.addon-box .text-link { grid-column: 1 / -1; justify-self: start; }
.calc-check { display: flex; align-items: center; gap: 10px; padding: 8px 0 2px; font-size: 15px; color: rgba(255,255,255,.85); cursor: pointer; }
.calc-check input { accent-color: var(--sky); width: 18px; height: 18px; margin: 0; }
@media (max-width: 560px) { .addon-box { grid-template-columns: 1fr; } }

/* ---------- WEB-017 legal documents and drafts ---------- */
.draft-pill { display: inline-block; background: #b45309; color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; border-radius: 4px; padding: 3px 10px; margin-bottom: 14px; }
.draft-banner { background: #fff7e6; border: 1px solid #f0c674; border-radius: 8px; padding: 18px 22px; margin: 8px 0 28px; }
.draft-banner strong { display: block; color: #8a4b08; font-size: 16px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.draft-banner p { margin: 0 0 .5em; color: var(--ink-2); }
.draft-banner p:last-child { margin-bottom: 0; }
.draft-banner .draft-key { font-size: 14.5px; color: var(--muted); }
.tbd { background: #fff1c2; border-bottom: 1px dashed #b45309; padding: 0 3px; border-radius: 2px; }
.chg { display: inline-block; vertical-align: 2px; font-size: 11.5px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--blue); background: var(--blue-soft); border-radius: 3px; padding: 1px 6px; line-height: 1.5; }
.doc-next { background: var(--blue-soft); border-radius: 8px; padding: 14px 20px; margin: 8px 0 28px; font-size: 15.5px; color: var(--ink-2); }
.legal-doc h3 { font-size: 17px; margin-top: 24px; }
.table-scroll { overflow-x: auto; margin: 0 0 1.2em; -webkit-overflow-scrolling: touch; }
.legal-doc table { border-collapse: collapse; width: 100%; font-size: 15px; color: var(--ink-2); }
.legal-doc th, .legal-doc td { text-align: left; vertical-align: top; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.legal-doc thead th { background: var(--mist); color: var(--ink); font-weight: 600; border-bottom: 0; }
.legal-doc table.kv th { width: 38%; color: var(--ink); font-weight: 600; }
.legal-doc table:not(.kv) { min-width: 560px; }
.doc-list { list-style: none; padding: 0 !important; }
.doc-list li { padding: 12px 0; border-bottom: 1px solid var(--line); margin: 0 !important; }
.doc-list .doc-what { display: block; font-size: 15px; color: var(--muted); }
.doc-status { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; border-radius: 3px; padding: 1px 7px; margin-left: 6px; vertical-align: 2px; background: #e3f3ea; color: var(--ok); }
.doc-status.draft { background: #fff1c2; color: #8a4b08; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 4px 18px; }
@media print { .draft-banner { border: 2px solid #b45309; } .topbar, .footer, .toc { display: none; } }
.terms-doc .toc ol.toc-own { list-style: none; padding-left: 0; }

/* ---------- WEB-018 community ---------- */
.community { padding: 88px 0; background: var(--blue-soft); }
.community .kicker { margin: 0 0 12px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.community .trust-list div + div { border-left-color: #cfdaf2; }
.community .trust-list dd { color: var(--ink-2); }

/* WEB-020/021 cookie choice */
.notice { position: fixed; z-index: 60; left: 20px; bottom: 20px; max-width: 600px; display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center;
  background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px 14px;
  box-shadow: 0 12px 32px rgba(22, 33, 58, .18); font-size: 15px; line-height: 1.5; }
.notice[hidden] { display: none; }
.notice-text { flex: 1 1 100%; }
.notice-text p { margin: 0 0 6px; }
.notice-state { color: var(--ok); font-weight: 500; }
.notice-actions { display: flex; gap: 8px; flex-wrap: wrap; flex: 1 1 100%; }
.notice-actions .btn { flex: 1 1 200px; height: 40px; font-size: 15px; }
.notice .btn-outline { border: 1px solid var(--ink-2); color: var(--ink); background: var(--paper); }
.notice .btn-outline:hover { background: var(--mist); }
.notice-optout { background: none; border: 0; padding: 0; font: inherit; font-size: 13px; color: var(--muted); text-decoration: underline; cursor: pointer; }
.notice-optout:hover { color: var(--ink); }
@media (max-width: 640px) {
  .notice { left: 12px; right: 12px; bottom: 12px; max-width: none; padding: 14px; max-height: calc(100vh - 24px); overflow-y: auto; }
}
@media print { .notice { display: none !important; } }
.cookie-table { width: 100%; border-collapse: collapse; margin: 4px 0 18px; font-size: 15px; }
.cookie-table th, .cookie-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cookie-table th { font-weight: 600; background: var(--mist); }
@media (max-width: 640px) { .cookie-table { font-size: 14px; } .cookie-table th, .cookie-table td { padding: 6px; } }
