:root {
  --navy: #0B1F33;
  --navy-2: #122a42;
  --navy-3: #1a3a58;
  --ice: #F7FAFC;
  --white: #FFFFFF;
  --muted: #5B6B7C;
  --line: rgba(11, 31, 51, 0.10);
  --amber: #C9973A;
  --amber-2: #E0B45A;
  --amber-soft: rgba(201, 151, 58, 0.14);
  --success: #2F9E6B;
  --shadow: 0 18px 50px rgba(11, 31, 51, 0.12);
  --radius: 18px;
  --max: 1120px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --display: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--navy);
  background: var(--ice);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--amber); }
button, input, select { font: inherit; }

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--amber); color: var(--navy); padding: .75rem 1rem; z-index: 1000;
}
.skip:focus { left: 1rem; top: 1rem; }

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(247, 250, 252, 0.84);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 68px;
}
.brand {
  display: inline-flex; align-items: center; gap: .7rem;
  font-weight: 760; letter-spacing: -0.02em; text-decoration: none;
}
.brand svg { width: 34px; height: 34px; }
.brand span { font-size: 1.05rem; }
.nav-links {
  display: none; gap: 1.15rem; align-items: center;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: .95rem; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--navy); }
.nav-cta { display: none; }
.nav-toggle {
  border: 1px solid var(--line); background: var(--white);
  border-radius: 12px; width: 44px; height: 44px; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; margin: 4px auto;
  background: var(--navy); border-radius: 2px;
}
.nav.open .nav-links {
  display: flex; flex-direction: column; position: absolute;
  left: 0; right: 0; top: 68px; background: var(--ice);
  padding: 1rem 1.25rem 1.25rem; border-bottom: 1px solid var(--line);
  align-items: flex-start;
}
.nav.open .nav-cta { display: inline-flex; margin-top: .25rem; }

@media (min-width: 860px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .nav.open .nav-links { position: static; flex-direction: row; padding: 0; border: 0; background: transparent; align-items: center; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border-radius: 999px; padding: .85rem 1.25rem; font-weight: 700;
  border: 0; cursor: pointer; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid rgba(201,151,58,.45); outline-offset: 2px; }
.btn-primary {
  background: linear-gradient(135deg, var(--amber), var(--amber-2));
  color: var(--navy); box-shadow: 0 10px 24px rgba(201,151,58,.28);
}
.btn-primary:hover { color: var(--navy); }
.btn-ghost {
  background: transparent; color: var(--white);
  border: 1px solid rgba(255,255,255,.28);
}
.btn-ghost:hover { background: rgba(255,255,255,.08); color: var(--white); }
.btn-dark {
  background: var(--navy); color: var(--white);
}
.btn-dark:hover { color: var(--white); background: var(--navy-2); }

/* Hero */
.hero {
  position: relative; color: var(--white); overflow: hidden;
  background:
    linear-gradient(120deg, rgba(11,31,51,.92) 0%, rgba(11,31,51,.72) 48%, rgba(11,31,51,.45) 100%),
    url("../assets/hero-loon.jpg") center/cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 90px;
  background: linear-gradient(to top, var(--ice), transparent);
}
.hero-grid {
  display: grid; gap: 2.5rem; padding: 4.5rem 0 5.5rem;
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 3rem; padding: 5.5rem 0 6.5rem; }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .35rem .7rem; border-radius: 999px;
  background: rgba(201,151,58,.16); color: var(--amber-2);
  font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.08; letter-spacing: -0.035em; margin: 1rem 0 .9rem;
}
.hero p.lead {
  font-size: 1.12rem; color: rgba(255,255,255,.86); max-width: 38rem; margin: 0 0 1.5rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.25rem; }
.hero-note { color: rgba(255,255,255,.7); font-size: .92rem; margin: 0; }

/* Phone mock */
.phone-wrap { display: flex; justify-content: center; }
.phone {
  width: min(100%, 300px);
  background: #0a1522;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 36px;
  padding: 12px;
  box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.04) inset;
}
.phone-notch {
  width: 96px; height: 18px; margin: 4px auto 10px;
  background: #050b12; border-radius: 999px;
}
.phone-screen {
  background: linear-gradient(180deg, #102338, #0b1a2a);
  border-radius: 28px; min-height: 460px; padding: 1rem;
  overflow: hidden; position: relative;
}
.phone-status {
  display: flex; justify-content: space-between; color: rgba(255,255,255,.65);
  font-size: .72rem; margin-bottom: .85rem;
}
.missed-card, .thread {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px; padding: .85rem;
}
.missed-card { margin-bottom: .75rem; }
.missed-card strong { display: block; color: #ff8d8d; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; }
.missed-card p { margin: .35rem 0 0; color: #fff; font-weight: 700; }
.missed-card small { color: rgba(255,255,255,.55); }
.thread h3 {
  margin: 0 0 .75rem; font-size: .82rem; color: rgba(255,255,255,.7); font-weight: 600;
}
.bubble {
  max-width: 92%; padding: .65rem .8rem; border-radius: 14px;
  margin-bottom: .55rem; font-size: .86rem; line-height: 1.4;
  opacity: 0; transform: translateY(8px);
}
.bubble.show { opacity: 1; transform: none; transition: opacity .35s ease, transform .35s ease; }
.bubble.in {
  background: rgba(255,255,255,.1); color: #fff;
  border-bottom-left-radius: 4px;
}
.bubble.out {
  background: linear-gradient(135deg, var(--amber), var(--amber-2));
  color: var(--navy); margin-left: auto; border-bottom-right-radius: 4px; font-weight: 600;
}
.typing {
  display: inline-flex; gap: 4px; align-items: center; padding: .55rem .75rem;
  background: rgba(255,255,255,.1); border-radius: 999px; width: fit-content;
  opacity: 0;
}
.typing.show { opacity: 1; transition: opacity .2s ease; }
.typing i {
  width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.7);
  animation: bounce 1s infinite ease-in-out;
}
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: .5; }
  40% { transform: translateY(-4px); opacity: 1; }
}

/* Sections */
section { padding: 4.5rem 0; }
.section-head { max-width: 40rem; margin-bottom: 2rem; }
.section-head h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  letter-spacing: -0.03em; line-height: 1.15; margin: .4rem 0 .7rem;
}
.section-head p { color: var(--muted); margin: 0; font-size: 1.05rem; }
.kicker {
  color: var(--amber); font-weight: 800; font-size: .8rem;
  letter-spacing: .08em; text-transform: uppercase;
}

.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* How it works */
.steps {
  display: grid; gap: 1rem;
}
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.35rem; box-shadow: 0 8px 24px rgba(11,31,51,.04);
}
.step-num {
  width: 36px; height: 36px; border-radius: 12px;
  display: grid; place-items: center; font-weight: 800;
  background: var(--amber-soft); color: #8f6a1f; margin-bottom: .9rem;
}
.step h3 { margin: 0 0 .45rem; font-size: 1.1rem; }
.step p { margin: 0; color: var(--muted); }

/* Features */
.features {
  display: grid; gap: 1rem;
}
@media (min-width: 700px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.25rem;
}
.feature .icon {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; background: var(--navy); color: var(--amber-2);
  margin-bottom: .8rem;
}
.feature h3 { margin: 0 0 .4rem; font-size: 1.05rem; }
.feature p { margin: 0; color: var(--muted); font-size: .96rem; }

/* Industries */
.industries {
  display: grid; gap: 1rem;
}
@media (min-width: 760px) { .industries { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .industries { grid-template-columns: repeat(3, 1fr); } }
.industry {
  background: linear-gradient(180deg, #fff, #f8fafc);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem;
}
.industry h3 { margin: 0 0 .35rem; font-size: 1.05rem; }
.industry .tag {
  display: inline-block; font-size: .75rem; font-weight: 700; color: #8f6a1f;
  background: var(--amber-soft); border-radius: 999px; padding: .2rem .55rem; margin-bottom: .7rem;
}
.sms-preview {
  background: var(--navy); color: rgba(255,255,255,.92);
  border-radius: 14px; padding: .85rem; font-size: .88rem; line-height: 1.45;
}
.sms-preview strong { color: var(--amber-2); font-weight: 700; }

/* Calculator */
.calc-panel {
  display: grid; gap: 1.25rem;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 24px; padding: 1.35rem; box-shadow: var(--shadow);
}
@media (min-width: 900px) {
  .calc-panel { grid-template-columns: 1.1fr .9fr; padding: 1.75rem; }
}
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 700; margin-bottom: .35rem; }
.field input[type="range"] { width: 100%; accent-color: var(--amber); }
.field-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: .9rem; }
.calc-result {
  background: linear-gradient(160deg, var(--navy), var(--navy-3));
  color: var(--white); border-radius: 20px; padding: 1.4rem;
  display: flex; flex-direction: column; justify-content: center;
}
.calc-result .label { color: rgba(255,255,255,.7); font-size: .9rem; }
.calc-result .amount {
  font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800;
  letter-spacing: -0.03em; margin: .35rem 0 .7rem; color: var(--amber-2);
}
.calc-result .formula { color: rgba(255,255,255,.72); font-size: .9rem; margin: 0; }
.disclaimer {
  margin-top: 1rem; color: var(--muted); font-size: .88rem;
}

/* Pricing */
.pricing {
  display: grid; gap: 1rem;
}
@media (min-width: 900px) { .pricing { grid-template-columns: repeat(3, 1fr); } }
.price-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 22px; padding: 1.4rem; position: relative;
}
.price-card.featured {
  background: linear-gradient(180deg, #122a42, #0B1F33);
  color: var(--white); border-color: transparent;
  box-shadow: var(--shadow);
}
.price-card .badge {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--amber); color: var(--navy);
  font-size: .72rem; font-weight: 800; border-radius: 999px; padding: .25rem .55rem;
}
.price-card h3 { margin: 0 0 .2rem; }
.price-card .who { color: var(--muted); margin: 0 0 1rem; font-size: .92rem; }
.price-card.featured .who { color: rgba(255,255,255,.7); }
.price {
  font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; margin: 0;
}
.price small { font-size: 1rem; font-weight: 600; opacity: .75; }
.setup { margin: .25rem 0 1rem; font-size: .95rem; opacity: .85; }
.price-card ul {
  list-style: none; padding: 0; margin: 0 0 1.2rem;
}
.price-card li {
  padding: .35rem 0 .35rem 1.35rem; position: relative; font-size: .94rem;
}
.price-card li::before {
  content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 800;
}
.price-card.featured li::before { color: var(--amber-2); }
.pilot-banner {
  margin-top: 1.25rem;
  background: var(--amber-soft); border: 1px solid rgba(201,151,58,.25);
  border-radius: 18px; padding: 1.1rem 1.25rem;
}
.pilot-banner strong { color: #8f6a1f; }

/* FAQ */
.faq details {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 14px; padding: 1rem 1.1rem; margin-bottom: .7rem;
}
.faq summary {
  cursor: pointer; font-weight: 700; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; float: right; color: var(--amber); font-weight: 800;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: .7rem 0 0; }

/* Contact */
.contact-grid {
  display: grid; gap: 1rem;
}
@media (min-width: 800px) { .contact-grid { grid-template-columns: 1.2fr .8fr; } }
.contact-card, .social-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 22px; padding: 1.4rem;
}
.contact-card h3, .social-card h3 { margin-top: 0; }
.contact-card p, .social-card p { color: var(--muted); }
.contact-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; }

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.5rem; color: var(--muted); font-size: .9rem;
}
.footer-grid {
  display: grid; gap: 1rem;
}
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr; align-items: start; }
}
.footer a { color: var(--navy); }
.privacy {
  background: #eef3f7; border-radius: 14px; padding: .9rem 1rem; margin-top: .8rem;
}

/* Dark band */
.band-dark {
  background: linear-gradient(160deg, var(--navy), #16314d);
  color: var(--white);
}
.band-dark .section-head p { color: rgba(255,255,255,.75); }
.band-dark .kicker { color: var(--amber-2); }
