@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --navy: #0B1F33;
  --navy-2: #122a42;
  --navy-3: #1a3a58;
  --ice: #F4F7FB;
  --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: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --glass: rgba(244, 247, 251, 0.72);
  --card: #FFFFFF;
  --text: #0B1F33;
  --bg: #F4F7FB;
  --mesh-a: rgba(201, 151, 58, 0.18);
  --mesh-b: rgba(26, 58, 88, 0.12);
}

html[data-theme="dark"] {
  --ice: #0a1522;
  --white: #0f1c2b;
  --muted: #9BB0C3;
  --line: rgba(255, 255, 255, 0.10);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --glass: rgba(10, 21, 34, 0.75);
  --card: #122436;
  --text: #E8EEF4;
  --bg: #0a1522;
  --mesh-a: rgba(201, 151, 58, 0.12);
  --mesh-b: rgba(80, 140, 200, 0.08);
  --navy: #E8EEF4;
  --navy-2: #cbd8e6;
  --navy-3: #1a3a58;
}

*, *::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;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(900px 500px at 10% -10%, var(--mesh-a), transparent 60%),
    radial-gradient(800px 480px at 90% 0%, var(--mesh-b), transparent 55%),
    radial-gradient(600px 400px at 50% 100%, rgba(201,151,58,.08), transparent 50%),
    var(--bg);
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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: #0B1F33; padding: .75rem 1rem; z-index: 1000;
}
.skip:focus { left: 1rem; top: 1rem; }

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

.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  background: var(--glass);
  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; color: var(--text);
}
.brand svg { width: 34px; height: 34px; }
.brand span { font-size: 1.05rem; }
.nav-links {
  display: none; gap: .85rem; align-items: center;
  list-style: none; margin: 0; padding: 0; flex-wrap: wrap;
}
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: .9rem; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--text); }
.nav-cta { display: none; }
.nav-toggle {
  border: 1px solid var(--line); background: var(--card);
  border-radius: 12px; width: 44px; height: 44px; cursor: pointer; color: var(--text);
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; margin: 4px auto;
  background: var(--text); border-radius: 2px;
}
.theme-toggle {
  border: 1px solid var(--line); background: var(--card); color: var(--text);
  border-radius: 999px; padding: .4rem .75rem; font-size: .78rem; font-weight: 700; cursor: pointer;
}
.nav.open .nav-links {
  display: flex; flex-direction: column; position: absolute;
  left: 0; right: 0; top: 68px; background: var(--bg);
  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: 980px) {
  .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; }
}

.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: #0B1F33; box-shadow: 0 10px 24px rgba(201,151,58,.28);
}
.btn-primary:hover { color: #0B1F33; }
.btn-ghost {
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,.28);
}
.btn-ghost:hover { background: rgba(255,255,255,.08); color: #fff; }
.btn-dark {
  background: #0B1F33; color: #fff;
}
html[data-theme="dark"] .btn-dark { background: #E8EEF4; color: #0B1F33; }
.btn-dark:hover { filter: brightness(1.08); color: inherit; }

.hero {
  position: relative; color: #fff; 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(--bg), 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, h1 {
  font-size: clamp(2.1rem, 4.8vw, 3.5rem);
  line-height: 1.08; letter-spacing: -0.035em; margin: 1rem 0 .9rem; font-weight: 800;
}
.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-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: 420px; 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: #0B1F33; 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; }
}

section { padding: 4.25rem 0; }
.section-head { max-width: 42rem; margin-bottom: 2rem; }
.section-head h2 {
  font-size: clamp(1.65rem, 3.4vw, 2.35rem);
  letter-spacing: -0.03em; line-height: 1.15; margin: .4rem 0 .7rem; font-weight: 800;
}
.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; }

.steps, .features, .industries, .pricing, .bento {
  display: grid; gap: 1rem;
}
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 700px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 760px) { .industries { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .industries { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .pricing { grid-template-columns: repeat(3, 1fr); } }

.bento {
  grid-template-columns: 1fr;
}
@media (min-width: 860px) {
  .bento {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: minmax(140px, auto);
  }
  .bento .feature:nth-child(1) { grid-column: span 3; }
  .bento .feature:nth-child(2) { grid-column: span 3; }
  .bento .feature:nth-child(3) { grid-column: span 2; }
  .bento .feature:nth-child(4) { grid-column: span 2; }
  .bento .feature:nth-child(5) { grid-column: span 2; }
  .bento .feature:nth-child(6) { grid-column: span 6; }
}

.step, .feature, .industry, .price-card, .contact-card, .social-card, .calc-panel, .legal-body {
  background: var(--card); 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, .feature h3, .industry h3 { margin: 0 0 .45rem; font-size: 1.1rem; }
.step p, .feature p { margin: 0; color: var(--muted); }

.feature .icon {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; background: #0B1F33; color: var(--amber-2);
  margin-bottom: .8rem;
}
html[data-theme="dark"] .feature .icon { background: #0a1522; border: 1px solid var(--line); }
.feature .icon svg { width: 22px; height: 22px; }

.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: #0B1F33; color: rgba(255,255,255,.92);
  border-radius: 14px; padding: .85rem; font-size: .88rem; line-height: 1.45;
}
html[data-theme="dark"] .sms-preview { background: #0a1522; border: 1px solid var(--line); }
.sms-preview strong { color: var(--amber-2); font-weight: 700; }

.calc-panel {
  display: grid; gap: 1.25rem; 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, #0B1F33, #16314d);
  color: #fff; 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; }

.price-card { position: relative; }
.price-card.featured {
  background: linear-gradient(180deg, #122a42, #0B1F33);
  color: #fff; border-color: transparent; box-shadow: var(--shadow);
}
.price-card .badge {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--amber); color: #0B1F33;
  font-size: .72rem; font-weight: 800; border-radius: 999px; padding: .25rem .55rem;
}
.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; color: var(--text);
}
.pilot-banner strong { color: #8f6a1f; }

.faq details {
  background: var(--card); 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-grid { display: grid; gap: 1rem; }
@media (min-width: 800px) { .contact-grid { grid-template-columns: 1.2fr .8fr; } }
.contact-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; }

.cta-band {
  margin: 1rem 0 0;
  padding: 2.5rem 0 3rem;
  background: linear-gradient(135deg, #0B1F33, #1a3a58 55%, #2a4a30);
  color: #fff; border-radius: 0;
}
.cta-band .container {
  display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; justify-content: space-between;
}
.cta-band h2 { margin: 0 0 .4rem; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.03em; }
.cta-band p { margin: 0; color: rgba(255,255,255,.78); max-width: 36rem; }

.band-dark {
  background: linear-gradient(160deg, #0B1F33, #16314d);
  color: #fff;
}
.band-dark .section-head p { color: rgba(255,255,255,.75); }
.band-dark .kicker { color: var(--amber-2); }
.band-dark .feature, .band-dark .step {
  background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); color: #fff;
}
.band-dark .feature p, .band-dark .step p { color: rgba(255,255,255,.75); }

.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(--text); }
.footer-industries { margin-top: .75rem; }
.privacy {
  background: color-mix(in srgb, var(--card) 80%, #eef3f7);
  border-radius: 14px; padding: .9rem 1rem; margin-top: .8rem;
}

.legal-page { padding: 3rem 0 4rem; }
.legal-body { padding: 1.5rem 1.6rem; }
.legal-body h2 { margin-top: 1.6rem; font-size: 1.2rem; letter-spacing: -0.02em; }
.legal-note {
  background: var(--amber-soft); border: 1px solid rgba(201,151,58,.25);
  border-radius: 14px; padding: .9rem 1rem; margin-bottom: 1rem; color: var(--text);
}
.placeholder {
  display: inline; background: rgba(201,151,58,.2); border-bottom: 2px dashed var(--amber);
  padding: 0 .2rem; font-weight: 700;
}

@media (max-width: 640px) {
  section { padding: 3.25rem 0; }
  .hero-grid { padding: 3.25rem 0 4rem; }
  .btn { width: 100%; }
  .hero-actions .btn { width: auto; }
}


.theme-toggle { width: 2.25rem; height: 2.25rem; padding: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; }
.theme-toggle svg { width: 1.05rem; height: 1.05rem; }
.theme-toggle .icon-moon { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

@media (max-width: 640px) {
  .hero { padding-top: 5.5rem; padding-bottom: 2.5rem; }
  .hero h1 { font-size: clamp(1.75rem, 8vw, 2.25rem); }
  .cta-band .container { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .features.bento { gap: .85rem; }
  .pricing { gap: 1rem; }
}


body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
html[data-theme="dark"] body::before { opacity: 0.05; }
