/* airThemba design system (tokens + components) and page styles. */

:root {
  --Indigo: #2a2580; --Navy: #1a1a6e; --Lavender: #e8eaf6; --Blue: #4a90d9; --Orange: #e85d20; --Purple: #7b3fa0; --Yellow: #f5b800; --Charcoal: #444444; --White: #ffffff;
  --surface: #ffffff; --surface-soft: #e8eaf6; --surface-inverse: #2a2580; --surface-inverse-deep: #1a1a6e;
  --ink: #444444; --ink-heading: #2a2580; --ink-muted: #5c5c6e; --ink-accent: #7b3fa0; --link: #2a2580;
  --on-inverse: #ffffff; --on-inverse-muted: #e8eaf6; --on-inverse-accent: #f5b800; --on-yellow: #2a2580; --yellow-hover: #ffc933; --line: #e0e0e0;
  --font-sans: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-6: 24px; --space-8: 32px; --space-12: 48px; --space-16: 64px; --space-24: 96px;
  --radius-none: 0px; --mid: 6px; --radius-full: 9999px;
  --content-max: 1200px; --header-height: 72px; --control-height: 48px; --accent-bar: 6px; --stripe-width: 8px;
  --shadow-card: -2px 2px 11px 0 #0000001a;
  --focus-ring: 0 0 0 2px #ffffff, 0 0 0 4px #2a2580;
  --focus-ring-inverse: 0 0 0 2px #2a2580, 0 0 0 4px #f5b800;
}

[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--font-sans); font-size: 17px; line-height: 28px; color: var(--ink); background: var(--surface); -webkit-font-smoothing: antialiased; }
a { color: var(--link); }
a:hover { color: var(--Navy); }
.at-inverse { background: var(--surface-inverse); color: var(--on-inverse); }
.at-container { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--space-8); box-sizing: border-box; }
@media (max-width: 640px) { .at-container { padding: 0 var(--space-4); } }

/* Logo ---------------------------------------------------------------- */
.at-logo { display: inline-flex; align-items: center; gap: 0.48em; text-decoration: none; line-height: 1; color: inherit; }
.at-logo-mark { display: block; height: 2.1em; width: auto; flex: none; }
.at-logo-text { display: flex; flex-direction: column; gap: 0.3em; }
.at-logo-word { font-size: 1em; letter-spacing: -0.01em; color: var(--ink-heading); white-space: nowrap; }
.at-logo-word b { font-weight: 700; }
.at-logo-word span { font-weight: 400; }
.at-logo-tag { font-size: 0.39em; font-weight: 500; letter-spacing: 0.083em; color: var(--ink-muted); white-space: nowrap; }
.at-logo-inverse .at-logo-word { color: var(--on-inverse); }
.at-logo-inverse .at-logo-tag { color: var(--on-inverse-muted); }
.at-logo-sm { font-size: 20px; }
.at-logo-md { font-size: 30px; }
a.at-logo:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring-inverse); }

/* Accent stripe -------------------------------------------------------- */
.at-stripe { display: flex; flex-direction: column; width: var(--stripe-width); align-self: stretch; flex: none; }
.at-stripe > i { flex: 1; display: block; }
.at-stripe-h { flex-direction: row; width: auto; height: var(--accent-bar); }
.at-stripe .s1 { background: var(--Blue); }
.at-stripe .s2 { background: var(--Purple); }
.at-stripe .s3 { background: var(--Orange); }
.at-stripe .s4 { background: var(--Yellow); }
.at-stripe .s5 { background: var(--Navy); }
.at-stripe .s6 { background: var(--Blue); }
.band { position: relative; overflow: hidden; }
.band > .at-stripe, .at-hero > .at-stripe { position: absolute; left: 0; top: 0; bottom: 0; }

/* Button --------------------------------------------------------------- */
.at-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); box-sizing: border-box; height: var(--control-height); padding: 0 var(--space-6); border: 2px solid transparent; border-radius: var(--mid); font: inherit; font-size: 16px; line-height: 24px; font-weight: 600; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color 150ms ease-out, color 150ms ease-out, border-color 150ms ease-out, transform 180ms ease-out, box-shadow 180ms ease-out; }
.at-btn:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); }
.at-inverse .at-btn:focus-visible { box-shadow: var(--focus-ring-inverse); }
.at-btn-sm { height: 40px; padding: 0 var(--space-4); font-size: 15px; }
.at-btn-accent { background: var(--Yellow); color: var(--on-yellow); }
.at-btn-accent:hover { background: var(--yellow-hover); color: var(--on-yellow); }
.at-btn-secondary { background: transparent; color: var(--Indigo); border-color: var(--Indigo); }
.at-btn-secondary:hover { background: var(--Indigo); color: var(--on-inverse); }
.at-inverse .at-btn-secondary { color: var(--on-inverse); border-color: var(--on-inverse-muted); }
.at-inverse .at-btn-secondary:hover { background: var(--on-inverse); color: var(--Indigo); border-color: var(--on-inverse); }
.at-btn[disabled] { opacity: 0.45; cursor: not-allowed; pointer-events: none; }
.at-btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }

/* Section heading ------------------------------------------------------ */
.at-sh { max-width: 720px; }
.at-sh-center { margin-left: auto; margin-right: auto; text-align: center; }
.at-eyebrow { display: block; margin: 0 0 var(--space-3); font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: 0.18em; color: var(--ink-accent); }
.at-inverse .at-eyebrow { color: var(--on-inverse-accent); }
.at-sh-title { margin: 0; font-size: 32px; line-height: 40px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink-heading); }
.at-sh-lede { margin: var(--space-4) 0 0; font-size: 20px; line-height: 32px; color: var(--ink); }
.at-inverse .at-sh-title { color: var(--on-inverse); }
.at-inverse .at-sh-lede { color: var(--on-inverse-muted); }

/* Stat ----------------------------------------------------------------- */
.at-stat { display: flex; flex-direction: column; gap: var(--space-2); }
.at-stat-rule { display: block; width: 32px; height: var(--accent-bar); margin-bottom: var(--space-2); background: var(--at-tone); transition: width 240ms ease-out; }
.at-stat-value { font-size: 48px; line-height: 52px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink-heading); font-variant-numeric: tabular-nums; transition: transform 240ms ease-out; }
.at-stat-unit { font-size: 0.5em; font-weight: 700; letter-spacing: 0; margin-left: 0.15em; }
.at-stat-label { font-size: 15px; line-height: 24px; color: var(--ink-muted); max-width: 22ch; }

/* Tones ---------------------------------------------------------------- */
.at-tone-blue { --at-tone: var(--Blue); --at-on-tone: var(--White); }
.at-tone-orange { --at-tone: var(--Orange); --at-on-tone: var(--White); }
.at-tone-purple { --at-tone: var(--Purple); --at-on-tone: var(--White); }
.at-tone-yellow { --at-tone: var(--Yellow); --at-on-tone: var(--on-yellow); }
.at-tone-indigo { --at-tone: var(--Indigo); --at-on-tone: var(--on-inverse); }

/* Cards ---------------------------------------------------------------- */
.at-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-none); box-shadow: var(--shadow-card); box-sizing: border-box; transition: transform 240ms ease-out, box-shadow 240ms ease-out; }
.at-card-bar { position: absolute; left: -1px; right: -1px; top: -1px; height: var(--accent-bar); background: var(--at-tone); transition: height 240ms ease-out; }
.at-step { padding: calc(var(--space-8) + var(--accent-bar)) var(--space-6) var(--space-8); text-align: center; color: var(--ink); }
.at-step-num { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: var(--radius-full); background: var(--at-tone); color: var(--at-on-tone); font-size: 26px; line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; transition: transform 240ms ease-out; }
.at-step-title { margin: var(--space-4) 0 var(--space-3); font-size: 22px; line-height: 30px; font-weight: 700; color: var(--ink-heading); }
.at-step-body { font-size: 15px; line-height: 24px; }
.at-step-body ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-1); }
.card-title { margin: 0; font-size: 22px; line-height: 30px; font-weight: 700; color: var(--ink-heading); }
.card-text { margin: 0; font-size: 15px; line-height: 24px; }
.goal { padding: 38px 24px 32px; display: flex; flex-direction: column; gap: 12px; }
.label { font-size: 13px; line-height: 20px; font-weight: 600; letter-spacing: 0.18em; color: var(--ink-accent); }

/* Site header ---------------------------------------------------------- */
.at-header { background: var(--surface-inverse); color: var(--on-inverse); }
.at-header-bar { display: flex; align-items: center; gap: var(--space-8); height: var(--header-height); }
.at-header-nav { display: flex; align-items: center; gap: var(--space-6); margin-left: auto; }
.at-header-link { position: relative; display: inline-flex; align-items: center; height: var(--header-height); font-size: 15px; font-weight: 600; color: var(--on-inverse-muted); text-decoration: none; transition: color 150ms ease-out; }
.at-header-link:hover, .at-header-link[aria-current="page"] { color: var(--on-inverse); }
.at-header-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--Yellow); transform: scaleX(0); transform-origin: left center; transition: transform 200ms ease-out; }
.at-header-link[aria-current="page"]::after { transform: none; }
.at-header-link:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring-inverse); }
.at-header-menu { display: none; margin-left: auto; }
.at-header-panel { display: none; }
@media (max-width: 860px) {
  .at-header-nav { display: none; }
  .at-header-menu { display: inline-flex; }
  .at-header-panel[data-open="true"] { display: grid; gap: var(--space-1); padding: var(--space-2) 0 var(--space-6); border-top: 1px solid var(--Navy); }
  .at-header-panel .at-header-link { height: 48px; }
  .at-header-panel .at-header-link::after { right: auto; width: 24px; }
  .at-header-panel .at-btn { margin-top: var(--space-3); }
}

/* Hero ----------------------------------------------------------------- */
.at-hero { position: relative; background: var(--surface-inverse); color: var(--on-inverse); overflow: hidden; }
.at-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-12); align-items: center; padding-top: var(--space-24); padding-bottom: var(--space-24); }
.at-hero-has-media .at-hero-inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.at-hero-title { margin: 0; font-size: 56px; line-height: 60px; font-weight: 800; letter-spacing: -0.02em; color: var(--on-inverse); max-width: 14ch; }
.at-hero-lede { margin: var(--space-6) 0 0; font-size: 20px; line-height: 32px; color: var(--on-inverse-muted); max-width: 34em; }
.at-hero .at-btn-row { margin-top: var(--space-8); }
.at-hero-media { margin: 0; }
.at-hero-media img { display: block; width: 100%; height: auto; transition: transform 320ms ease-out, box-shadow 320ms ease-out; }
.at-hero-media figcaption { margin-top: var(--space-2); font-size: 13px; line-height: 20px; font-weight: 500; color: var(--on-inverse-muted); }
.hero-short .at-hero-inner { padding-top: 72px; padding-bottom: 72px; }
@media (max-width: 860px) {
  .at-hero-has-media .at-hero-inner { grid-template-columns: minmax(0, 1fr); }
  .at-hero-inner { padding-top: var(--space-16); padding-bottom: var(--space-16); }
}
@media (max-width: 640px) {
  .at-hero-title { font-size: 40px; line-height: 48px; }
  .at-hero-lede { font-size: 17px; line-height: 28px; }
}

/* Site footer ---------------------------------------------------------- */
.at-footer { background: var(--surface-inverse); color: var(--on-inverse-muted); font-size: 15px; line-height: 24px; }
.at-footer-main { display: grid; grid-template-columns: minmax(0, 2fr) repeat(auto-fit, minmax(140px, 1fr)); gap: var(--space-8); padding-top: var(--space-16); padding-bottom: var(--space-16); }
.at-footer-about p { margin: var(--space-6) 0 0; max-width: 32ch; }
.at-footer-col h3 { margin: 0 0 var(--space-3); font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: 0.18em; color: var(--on-inverse-accent); }
.at-footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.at-footer-col a { display: inline-block; transition: color 150ms ease-out, transform 150ms ease-out; }
.at-footer-col li { overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .at-footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .at-footer-about { grid-column: 1 / -1; }
}
.at-footer a { color: var(--on-inverse-muted); text-decoration: none; }
.at-footer a:hover { color: var(--on-inverse); text-decoration: underline; text-underline-offset: 3px; }
.at-footer a:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring-inverse); }
.at-footer-base { background: var(--surface-inverse-deep); font-size: 13px; line-height: 20px; }
.at-footer-base .at-container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2); padding-top: var(--space-3); padding-bottom: var(--space-3); }
.at-footer-base b { font-weight: 600; color: var(--on-inverse); }

/* Prose links ---------------------------------------------------------- */
.at-link { color: var(--link); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.at-link:hover { text-decoration-thickness: 2px; }
.at-inverse .at-link { color: var(--on-inverse-accent); }

/* Page layout ---------------------------------------------------------- */
.sec { padding: 96px 0; }
.sec-soft { background: var(--surface-soft); }
.stack { display: flex; flex-direction: column; gap: 48px; }
.g2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: start; }
.g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.g4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
.products { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 24px; align-items: center; padding: 32px; }
.price { display: flex; flex-direction: column; gap: 4px; transition: transform 200ms ease-out; }
.price b { font-size: 40px; line-height: 44px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink-heading); font-variant-numeric: tabular-nums; }
.price span { font-size: 15px; line-height: 24px; color: var(--ink-muted); }
.price::after { content: ""; display: block; width: 0; height: 4px; margin-top: 4px; transition: width 220ms ease-out; }
.products > .price:nth-child(2)::after { background: var(--Blue); }
.products > .price:nth-child(3)::after { background: var(--Orange); }
.products > .price:nth-child(4)::after { background: var(--Purple); }
.person { padding: 32px; display: flex; flex-direction: column; gap: 4px; }
.person-img { display: block; width: 160px; height: 160px; object-fit: cover; margin-bottom: 20px; transition: transform 320ms ease-out; }
.person p { margin: 12px 0 0; font-size: 15px; line-height: 24px; }
.partner .at-container { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-end; justify-content: space-between; }
@media (max-width: 960px) {
  .g2, .g3 { grid-template-columns: minmax(0, 1fr); }
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .products > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .sec { padding: 64px 0; }
  .g4, .stats { grid-template-columns: minmax(0, 1fr); }
}

/* Contact page --------------------------------------------------------- */
.contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; }
.form-card { padding: 38px 32px 32px; }
.form-card:focus-within { box-shadow: 0 20px 36px -14px rgba(26, 26, 110, .24); }
.form-card:focus-within .at-card-bar { height: 10px; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.lbl { font-size: 15px; line-height: 24px; font-weight: 600; color: var(--ink-heading); }
.opt { font-weight: 400; color: var(--ink-muted); }
.input { box-sizing: border-box; width: 100%; height: 48px; margin: 0; padding: 0 16px; border: 1px solid #5c5c6e; border-radius: 0; background: #ffffff; font: inherit; font-size: 17px; line-height: 28px; color: var(--ink); transition: border-color 150ms ease-out, box-shadow 150ms ease-out; }
textarea.input { height: auto; min-height: 168px; padding: 10px 16px; resize: vertical; }
.input:focus { outline: 2px solid transparent; border-color: #2a2580; box-shadow: var(--focus-ring); }
.input[aria-invalid="true"] { border: 2px solid #a63a0c; }
.err { margin: 0; font-size: 15px; line-height: 24px; font-weight: 600; color: #a63a0c; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 24px; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: #2a2580; }
.check input:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.who { display: flex; gap: 16px; align-items: flex-start; transition: transform 200ms ease-out; }
.who .dot { flex: none; width: 12px; height: 12px; margin-top: 8px; transition: transform 200ms ease-out; }
.who p { margin: 4px 0 0; font-size: 15px; line-height: 24px; }
.who p:first-child { margin: 0; font-size: inherit; line-height: inherit; font-weight: 700; color: var(--ink-heading); }
.details { padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.details div { display: flex; flex-direction: column; gap: 2px; }
@media (max-width: 960px) { .contact { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .row2 { grid-template-columns: minmax(0, 1fr); } }

/* Hover and motion ----------------------------------------------------- */
@media (hover: hover) {
  .at-header-link:hover::after { transform: scaleX(1); }
  .at-btn:hover:not(:focus-visible) { box-shadow: 0 10px 20px -8px rgba(26, 26, 110, .55); }
  .at-inverse .at-btn:hover:not(:focus-visible) { box-shadow: 0 10px 22px -8px rgba(0, 0, 0, .6); }
  .lift:hover { box-shadow: 0 20px 36px -14px rgba(26, 26, 110, .32); }
  .at-card:hover .at-card-bar { height: 10px; }
  .at-stat:hover .at-stat-rule { width: 64px; }
  .at-hero-media:hover img { box-shadow: 0 24px 40px -16px rgba(0, 0, 0, .6); }
  .price:hover::after { width: 48px; }
  .input:not([aria-invalid="true"]):not(:focus):hover { border-color: var(--Indigo); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .at-btn:hover { transform: translateY(-2px); }
  .at-btn:active { transform: translateY(0); }
  .lift:hover { transform: translateY(-6px); }
  .at-step:hover .at-step-num { transform: scale(1.08); }
  .at-card:hover .person-img { transform: scale(1.04); }
  .at-stat:hover .at-stat-value { transform: translateY(-3px); }
  .at-hero-media:hover img { transform: translateY(-6px); }
  .price:hover { transform: translateY(-4px); }
  .at-footer-col a:hover { transform: translateX(3px); }
  .who:hover { transform: translateX(6px); }
  .who:hover .dot { transform: scale(1.35); }
}
@media (prefers-reduced-motion: reduce) { *, *::after { transition: none !important; } }
