/* ==========================================================================
   Atharva Aircon — base: design tokens, reset, typography, buttons, motion.
   Tokens are the approved Coming Soon palette (navy / blue / sky on white).
   ========================================================================== */

:root {
  /* colour */
  --navy: #0a2a5e;
  --navy-d: #071c40;
  --navy-x: #051530;
  --blue: #1553a8;
  --blue-m: #2f7fd0;
  --sky: #2fb6f0;
  --light: #e8f1fb;
  --lighter: #f4f8fd;
  --ink: #0d1b33;
  --muted: #55657f;
  --muted-d: #b9c9e3;           /* body text on navy */
  --line: #d6e2f2;
  --line-d: rgba(255, 255, 255, .14);
  --white: #fff;

  /* type */
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --fs-h1: clamp(38px, 5.6vw, 80px);
  --fs-h1-in: clamp(34px, 4.6vw, 64px);
  --fs-h2: clamp(28px, 3.6vw, 46px);
  --fs-h3: 20px;
  --fs-lead: clamp(16px, 1.45vw, 19px);
  --fs-body: 16px;
  --fs-small: 14px;

  /* spacing scale */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --sec: clamp(72px, 9vw, 120px);
  --gutter: 24px;
  --max: 1240px;
  --hdr: 88px;

  /* shape + depth */
  --r: 6px;
  --r-lg: 10px;
  --shadow-1: 0 1px 2px rgba(10, 42, 94, .06), 0 8px 24px -16px rgba(10, 42, 94, .25);
  --shadow-2: 0 24px 48px -28px rgba(10, 42, 94, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--navy); color: #fff; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 200; border-radius: var(--r); text-decoration: none; font-weight: 600; }
.skip:focus { left: 8px; }

/* ---------- icons ---------- */
.ic { width: 20px; height: 20px; flex: none; }
.ci { width: 34px; height: 34px; flex: none; color: var(--blue); }

/* ---------- typography ---------- */
h1 { font-size: var(--fs-h1); line-height: 1.04; font-weight: 300; letter-spacing: -.025em; color: var(--ink); }
h1 b { font-weight: 800; color: var(--navy); }
h1 em, h2 em { font-style: normal; font-weight: 600; color: var(--blue); }
h2 { font-size: var(--fs-h2); line-height: 1.14; font-weight: 300; letter-spacing: -.02em; color: var(--navy); }
h2 b { font-weight: 700; }
h3 { font-size: var(--fs-h3); line-height: 1.3; font-weight: 700; color: var(--navy); }
.h3-lg { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; font-weight: 300; letter-spacing: -.015em; }
.lead { font-size: var(--fs-lead); color: var(--muted); max-width: 560px; }
.muted { color: var(--muted); }

.eyebrow, .kicker {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--blue);
}
.eyebrow { font-size: 12.5px; letter-spacing: .24em; gap: 14px; }
.eyebrow::before, .kicker::before { content: ""; width: 32px; height: 2px; background: var(--sky); flex: none; }
.kicker { margin-bottom: 14px; }
.kicker.light, .sec-head--light .kicker { color: var(--sky); }

.prose { max-width: 760px; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 28px; }
.prose a { color: var(--blue); }

/* ---------- buttons ----------
   Pill buttons in flat, high-contrast colours. When a button has an arrow, the arrow sits in a
   solid circle at the right end; on hover the button colour changes and the arrow tilts up-right.
   Per-variant colours: --chip / --chip-c (circle background / arrow colour) and --chip-h / --chip-hc on hover. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 28px;
  border-radius: 999px; border: 1.5px solid transparent;
  font: 600 15px/1.2 var(--font); letter-spacing: .01em; text-decoration: none; text-align: center; white-space: nowrap;
  cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .ic { width: 18px; height: 18px; transition: transform .3s var(--ease), background-color .25s, color .25s; }
.btn:has(.ic-arrow) { padding-right: 8px; }
.btn .ic-arrow {
  width: 38px; height: 38px; padding: 10px; margin-left: 4px; border-radius: 50%;
  background: var(--chip, var(--sky)); color: var(--chip-c, var(--navy-d));
}
.btn:hover .ic-arrow { transform: rotate(-45deg); background: var(--chip-h, #fff); color: var(--chip-hc, var(--navy)); }
.btn:hover .ic-download { transform: translateY(2px); }

/* solid navy */
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 10px 22px -12px rgba(10, 42, 94, .6); }
.btn-primary:hover { background: var(--blue); box-shadow: 0 14px 28px -14px rgba(21, 83, 168, .7); }

/* solid sky — on navy backgrounds */
.btn-sky, .hero--dark .btn-primary { --chip: var(--navy-d); --chip-c: #fff; --chip-h: var(--navy); --chip-hc: #fff; background: var(--sky); color: var(--navy-d); box-shadow: none; }
.btn-sky:hover, .hero--dark .btn-primary:hover { background: #fff; color: var(--navy); }

/* outline navy — on light backgrounds */
.btn-ghost { --chip: var(--navy); --chip-c: #fff; --chip-h: var(--sky); --chip-hc: var(--navy-d); background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }

/* outline white — on navy backgrounds */
.btn-ghost-d, .hero--dark .btn-ghost { --chip: #fff; --chip-c: var(--navy); --chip-h: var(--navy); --chip-hc: #fff; background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost-d:hover, .hero--dark .btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }

.btn-sm { min-height: 46px; padding: 0 20px; font-size: 14px; gap: 10px; }
.btn-sm:has(.ic-arrow) { padding-right: 7px; }
.btn-sm .ic-arrow { width: 32px; height: 32px; padding: 8px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 14.5px; color: var(--navy); text-decoration: none;
  border-bottom: 1.5px solid currentColor; padding-bottom: 3px;
}
.link-arrow .ic { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--blue); }
.link-arrow:hover .ic { transform: translateX(4px); }
.link-arrow.light { color: #fff; }
.link-arrow.light:hover { color: var(--sky); }

.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .ic { width: 22px; height: 22px; padding: 4px; margin-top: 1px; border-radius: 50%; background: var(--light); color: var(--blue); }

/* ---------- motion ---------- */
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(47, 182, 240, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 182, 240, 0); } }
@keyframes grid { to { background-position: 56px 56px; } }
@keyframes flow { to { stroke-dashoffset: -800; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pulse { 0% { transform: scale(.45); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes marquee { to { transform: translateX(-100%); } }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; } .d4 { transition-delay: .32s; } .d5 { transition-delay: .4s; }
.no-js .reveal { opacity: 1; transform: none; }

@media (max-width: 760px) {
  :root { --gutter: 18px; --hdr: 68px; }
  .cta .btn { flex: 1 1 100%; }
  .btn { white-space: normal; padding-block: 8px; line-height: 1.3; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .reveal { opacity: 1; transform: none; }
}
