/* karryfast.ai — brand: teal #0e6473, lime #d4f539, sky #e0f5fc; Syne for display, Manrope for body.
   Mobile-first, light + dark (prefers-color-scheme), no external requests. */
:root {
  --teal: #0e6473; --lime: #d4f539; --sky: #e0f5fc;
  --bg: #f7fbfc; --surface: #fff; --soft: var(--sky); --ink: #10242a; --muted: #4d6268; --line: #d5e3e6;
  --link: #0e6473; --hero: var(--teal); --on-hero: #fff; --on-hero-muted: #d2ecf0;
  --display: "Syne", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Manrope", -apple-system, system-ui, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0b171b; --surface: #112329; --soft: #143039; --ink: #e8f1f3; --muted: #9db1b6; --line: #23393f;
          --link: #8fd6e1; --hero: #0c5561; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--body); overflow-wrap: break-word; }
a { color: var(--link); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; letter-spacing: -.01em; text-wrap: balance; }
h2 { font-size: clamp(24px, 5.6vw, 34px); margin: 0 0 18px; }
h3 { font-size: 18px; margin: 0 0 6px; }
p { margin: 0 0 14px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }

/* ---------- header ---------- */
.site-head { background: var(--surface); border-bottom: 1px solid var(--line); position: relative; z-index: 5; }
.head-row { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.brand { display: block; flex: 0 0 auto; margin-right: auto; }
.brand img { display: block; height: 28px; width: auto; }
.slogan { margin: 0 auto; padding-bottom: 10px; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.nav-main, .nav-util { display: none; }
.nav-main a, .nav-util a, .menu-panel a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; }
.nav-main a[aria-current], .menu-panel a[aria-current] { color: var(--link); text-decoration: underline; text-decoration-thickness: 2px; }
.lang { display: flex; align-items: center; gap: 2px; font-size: 12.5px; font-weight: 700; }
.lang > * { padding: 6px 7px; border-radius: 6px; }
.lang [aria-current] { background: var(--teal); color: #fff; }
.lang .soon { color: var(--muted); opacity: .55; cursor: default; }
.menu > summary { list-style: none; cursor: pointer; font-weight: 700; font-size: 15px; padding: 9px 14px; border: 1px solid var(--line);
                  border-radius: 10px; min-height: 44px; display: flex; align-items: center; }
.menu > summary::-webkit-details-marker { display: none; }
.menu[open] > summary { background: var(--soft); }
.menu-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line);
              padding: 8px 16px 18px; box-shadow: 0 12px 24px rgb(0 0 0 / .08); }
.menu-panel ul { list-style: none; margin: 0; padding: 0; }
.menu-panel li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
.menu-panel .util { display: grid; gap: 10px; margin-top: 14px; }
.menu-panel .util a { padding: 0; border: 0; }
.menu-icon { font-size: 18px; line-height: 1; margin-right: 8px; }
@media (max-width: 399px) {
  .head-row { gap: 8px; }
  .brand img { height: 24px; }
  .lang > * { padding: 5px 4px; }
  .menu > summary { padding: 9px 12px; }
  .menu-icon { margin-right: 0; }
  .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (min-width: 1160px) {
  .menu { display: none; }
  .nav-main, .nav-util { display: flex; align-items: center; gap: 18px; }
  .nav-main { margin-right: auto; }
  .nav-util { gap: 16px; }
  .nav-util a { font-size: 14px; }
  .head-row { min-height: 72px; gap: 22px; }
  .brand { margin-right: 0; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px; border-radius: 12px;
       font: 700 16px/1.2 var(--body); text-decoration: none; border: 2px solid transparent; cursor: pointer; text-align: center; }
.btn.primary { background: var(--lime); color: #0e3d46; }
.btn.primary:hover { filter: brightness(.96); }
.btn.ghost { border-color: currentColor; color: inherit; }
.btn.small { min-height: 38px; padding: 7px 14px; font-size: 14px; border-radius: 10px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- sections ---------- */
.hero { background: var(--hero); color: var(--on-hero); padding: 40px 0 44px; }
.hero h1 { font-size: clamp(32px, 8.4vw, 60px); margin: 0 0 18px; max-width: 18ch; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero .sub { font-size: clamp(16.5px, 2.4vw, 19px); color: var(--on-hero-muted); max-width: 62ch; margin-bottom: 26px; }
.hero .btn.ghost { color: #fff; }
.band { padding: 44px 0; }
.band.soft { background: var(--soft); }
.band + .band:not(.soft) { padding-top: 8px; }
.lead { color: var(--muted); max-width: 62ch; }
.grid { display: grid; gap: 14px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.card p:last-child { margin-bottom: 0; }
a.card { color: inherit; text-decoration: none; display: block; transition: border-color .15s, transform .08s; }
a.card:hover { border-color: var(--teal); transform: translateY(-1px); }
.card .more { display: inline-block; margin-top: 10px; font-weight: 700; color: var(--link); }
.tier-name { font: 700 13px/1.2 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--link); margin-bottom: 8px; }
.problem { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 760px; }
.problem li { padding: 14px 16px 14px 44px; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.problem li::before { content: "×"; position: absolute; left: 16px; top: 11px; font: 800 20px/1 var(--display); color: #b4232a; }
@media (prefers-color-scheme: dark) { .problem li::before { color: #f08a84; } }
.gets h3::before { content: ""; display: block; width: 28px; height: 4px; border-radius: 2px; background: var(--lime); margin-bottom: 12px; }
.callout { background: var(--surface); border-left: 4px solid var(--lime); border-radius: 0 12px 12px 0; padding: 16px 18px; font-size: 18px;
           font-weight: 600; max-width: 760px; }
.checklist { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.checklist li { padding-left: 28px; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--link); font-weight: 800; }
.mid-cta { margin-top: 26px; }
@media (min-width: 720px) {
  .grid.three { grid-template-columns: repeat(3, 1fr); }
  .grid.two { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 72px 0 76px; }
  .band { padding: 64px 0; }
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.faq summary { cursor: pointer; padding: 15px 44px 15px 16px; font-weight: 700; position: relative; list-style: none; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 12px; font: 700 20px/1 var(--display); color: var(--link); }
.faq details[open] summary::after { content: "−"; }
.faq details > p { padding: 0 16px 16px; margin: 0; color: var(--muted); }
.faq-group + .faq-group { margin-top: 36px; }

/* ---------- tiers table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
table.tiers { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 15px; }
table.tiers th, table.tiers td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
table.tiers thead th { font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--soft); }
table.tiers tbody tr:last-child > * { border-bottom: 0; }
table.tiers tbody th { font-weight: 700; white-space: nowrap; }
.status { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.status.available { background: #dff5e6; color: #135c32; }
.status.pilot { background: #fff1cc; color: #6b4b00; white-space: normal; }
.status.planned { background: #e7ecee; color: #3e5258; }
.status.request { background: var(--sky); color: #0e4f5a; }
@media (max-width: 719px) { /* phone: one card per capability, status always in view */
  table.tiers { min-width: 0; }
  table.tiers thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.tiers tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  table.tiers tbody tr:last-child { border-bottom: 0; }
  table.tiers th, table.tiers td { padding: 0; border: 0; }
  table.tiers tbody th { grid-column: 1 / -1; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--link); }
  table.tiers td:nth-child(2) { grid-column: 1; grid-row: 2; font-weight: 700; }
  table.tiers td:nth-child(4) { grid-column: 2; grid-row: 2; max-width: 160px; text-align: right; }
  table.tiers td:nth-child(3) { grid-column: 1 / -1; grid-row: 3; color: var(--muted); }
}
@media (prefers-color-scheme: dark) {
  .status.available { background: #173d27; color: #9be3b6; }
  .status.pilot { background: #3d3112; color: #f2d58a; }
  .status.planned { background: #22343a; color: #b8c9cd; }
  .status.request { background: #143f48; color: #b5e6ef; }
}

/* ---------- stay tuned ---------- */
.stay-grid { display: grid; gap: 22px; }
.stay-form { display: grid; gap: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.stay-form label, .stay-form legend { font-weight: 700; font-size: 14.5px; }
.stay-form label:not(.choice) { display: grid; gap: 6px; }
.stay-form .opt { font-weight: 500; color: var(--muted); }
.stay-form input[type=email], .stay-form input[type=text], .stay-form input[type=number] {
  font: 500 16px var(--body); padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); width: 100%; }
.stay-form fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.stay-form legend { margin-bottom: 8px; padding: 0; }
.choice { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.roles .choice { border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; min-height: 44px; }
.roles .choice:has(input:checked) { border-color: var(--teal); background: var(--soft); }
.stay-form input[type=radio], .stay-form input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--teal); flex: 0 0 auto; }
.consent { align-items: flex-start; font-weight: 500 !important; font-size: 14px !important; color: var(--muted); }
.consent input { margin-top: 2px; }
.stay-form .fleet { display: none !important; }
.stay-form:has(input[value=carrier]:checked) .fleet { display: grid !important; }
@supports not selector(:has(*)) { .stay-form .fleet { display: grid !important; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (min-width: 860px) { .stay-grid { grid-template-columns: 1fr 1.2fr; align-items: start; gap: 40px; } }

/* ---------- closing CTA ---------- */
.closing { background: var(--hero); color: #fff; padding: 44px 0; text-align: center; }
.closing-line { font: 700 clamp(20px, 4.6vw, 28px)/1.25 var(--display); max-width: 30ch; margin: 0 auto 20px; text-wrap: balance; }
.closing-sub { margin: 12px 0 0; color: var(--on-hero-muted); font-size: 14.5px; }

/* ---------- legal pages ---------- */
.legal { padding: 40px 0 56px; max-width: 820px; }
.legal h1 { font-size: clamp(28px, 6vw, 40px); margin: 0 0 18px; }
.legal dl { display: grid; grid-template-columns: 1fr; gap: 4px 20px; margin: 0; }
.legal dt { font-weight: 700; margin-top: 10px; }
.legal dd { margin: 0; }
@media (min-width: 640px) { .legal dl { grid-template-columns: max-content 1fr; } .legal dt { margin-top: 0; } }
.legal table { border-collapse: collapse; width: 100%; background: var(--surface); }
.legal th, .legal td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--line); background: var(--surface); padding: 28px 0 36px; font-size: 14px; color: var(--muted); }
.site-foot ul { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.site-foot a { color: var(--ink); }
.legal-line { margin: 0; font-size: 13px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } a.card:hover { transform: none; } }
