/* =========================================================
   Smokeball — informational site
   Light, modern, single-page layout
   ========================================================= */

:root {
  --brand:        #2A5BD7;
  --brand-dark:   #1E44A8;
  --brand-soft:   #EDF2FE;
  --accent:       #FF7A45;
  --accent-soft:  #FFF1EA;
  --green:        #1E8C63;
  --green-soft:   #E8F6F0;

  --ink:          #16203A;
  --ink-2:        #3B4A66;
  --muted:        #5F6E88;
  --line:         #E6EBF4;
  --line-soft:    #F0F3F9;

  --bg:           #FFFFFF;
  --bg-tint:      #F7F9FD;

  --radius:       16px;
  --radius-lg:    24px;
  --shadow-sm:    0 1px 2px rgba(22, 32, 58, .06), 0 4px 12px rgba(22, 32, 58, .05);
  --shadow-md:    0 8px 28px rgba(22, 32, 58, .09);
  --shadow-lg:    0 24px 60px rgba(22, 32, 58, .12);

  --maxw:         1180px;
  --maxw-narrow:  760px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.18;
  letter-spacing: -0.022em;
  margin: 0 0 .6em;
  font-weight: 800;
}

h1 { font-size: clamp(2.15rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1.9vw, 1.45rem); font-weight: 700; }
h4 { font-size: .95rem; font-weight: 700; }

p { margin: 0 0 1.1em; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

.container { width: min(100% - 44px, var(--maxw)); margin-inline: auto; }
.container.narrow { width: min(100% - 44px, var(--maxw-narrow)); }
.center { text-align: center; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; color: #fff; }

:focus-visible { outline: 3px solid rgba(42, 91, 215, .45); outline-offset: 3px; border-radius: 6px; }

/* ---------- shared bits ---------- */

.eyebrow {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 .9em;
}

.section-lead { font-size: 1.1rem; color: var(--muted); }
.container.narrow .section-lead { margin-inline: auto; max-width: 62ch; }

.pill {
  display: inline-block;
  font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--brand); background: var(--brand-soft);
  padding: 6px 14px; border-radius: 999px; margin: 0 0 1em;
}
.pill-orange { color: #C2481B; background: var(--accent-soft); }
.pill-green  { color: var(--green); background: var(--green-soft); }

.grad {
  background: linear-gradient(100deg, var(--brand) 0%, #5B7FF0 45%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5em;
  font-size: .95rem; font-weight: 600;
  padding: 11px 20px;
  border-radius: 11px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn-lg { padding: 15px 28px; font-size: 1rem; border-radius: 13px; }

.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(42, 91, 215, .28); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(42, 91, 215, .34); }

.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-outline:hover { color: var(--brand); border-color: #C7D5F4; transform: translateY(-2px); }

.btn-ghost { color: var(--ink-2); background: transparent; }
.btn-ghost:hover { color: var(--brand); background: var(--brand-soft); }

.btn-quiet { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-quiet:hover { background: rgba(255,255,255,.24); color: #fff; transform: translateY(-2px); }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(22,32,58,.05); }

.header-inner { display: flex; align-items: center; gap: 24px; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; }
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 26px; height: 26px; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), #5B7FF0 55%, var(--accent));
  box-shadow: 0 4px 12px rgba(42,91,215,.32);
  flex: none;
}
.brand-name { font-size: 1.18rem; letter-spacing: -.02em; }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  color: var(--ink-2); font-size: .94rem; font-weight: 500;
  padding: 8px 13px; border-radius: 9px;
  transition: background-color .18s ease, color .18s ease;
}
.nav a:hover, .nav a.active { color: var(--brand); background: var(--brand-soft); }

.header-actions { display: flex; align-items: center; gap: 8px; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line); border-radius: 11px;
  background: #fff; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 76px 0 24px;
  background:
    radial-gradient(900px 460px at 82% -8%, rgba(255,122,69,.13), transparent 62%),
    radial-gradient(800px 480px at 8% 4%, rgba(42,91,215,.13), transparent 60%),
    linear-gradient(180deg, #FBFCFF 0%, #FFFFFF 78%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 56px;
  align-items: center;
}

.hero-copy h1 { margin-bottom: .35em; }
.lead { font-size: 1.14rem; color: var(--muted); max-width: 56ch; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 24px; }

.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0; }
.hero-points li {
  position: relative; padding-left: 24px;
  font-size: .93rem; font-weight: 500; color: var(--ink-2);
}
.hero-points li::before {
  content: ""; position: absolute; left: 0; top: 7px;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--green-soft);
  box-shadow: inset 0 0 0 2px rgba(30,140,99,.35);
}
.hero-points li::after {
  content: ""; position: absolute; left: 4.5px; top: 11px;
  width: 6px; height: 3px;
  border-left: 2px solid var(--green); border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

.hero-art img { border-radius: var(--radius-lg); }

/* ---------- stats ---------- */

.stat-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 64px;
  padding: 26px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.stat { text-align: center; padding: 6px 16px; }
.stat + .stat { border-left: 1px solid var(--line-soft); }
.stat-num { display: block; font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 800; color: var(--ink); letter-spacing: -.03em; }
.stat-label { display: block; font-size: .86rem; color: var(--muted); line-height: 1.45; margin-top: 4px; }
.stat-note { text-align: center; font-size: .78rem; color: #93A0B5; margin: 14px 0 0; }

/* ---------- sections ---------- */

.section { padding: 96px 0; }
.section-tint { background: var(--bg-tint); border-block: 1px solid var(--line); }
.section .container.narrow { margin-bottom: 54px; }

/* ---------- problem grid ---------- */

.problem-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.problem {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px 22px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.problem:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #D9E2F5; }
.problem-num { display: block; font-size: .82rem; font-weight: 800; color: var(--accent); letter-spacing: .1em; margin-bottom: 12px; }
.problem h3 { font-size: 1.08rem; margin-bottom: .5em; }
.problem p { font-size: .93rem; color: var(--muted); margin: 0; }

.answer-card {
  margin-top: 26px;
  background: linear-gradient(120deg, #16203A 0%, #22325C 60%, #2A5BD7 160%);
  color: #DCE4F5;
  border-radius: var(--radius-lg);
  padding: 42px 46px;
  box-shadow: var(--shadow-lg);
}
.answer-card h3 { color: #fff; }
.answer-card p { margin: 0; max-width: 82ch; color: #C6D2E9; }

/* ---------- features ---------- */

.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  padding: 44px 0;
}
.feature + .feature { border-top: 1px solid var(--line); }
.feature-rev .feature-media { order: 2; }

.feature-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  background: #fff;
}

.feature-copy h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 800; }
.feature-copy > p { color: var(--muted); }

.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; font-size: .96rem; }
.ticks li strong { color: var(--ink); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 20px; height: 20px; border-radius: 7px; background: var(--brand-soft);
}
.ticks li::after {
  content: ""; position: absolute; left: 6px; top: 9px;
  width: 7px; height: 4px;
  border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}

/* ---------- steps ---------- */

.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px;
  counter-reset: step;
}
.step {
  position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 11px;
  background: var(--brand); color: #fff; font-weight: 800; font-size: .95rem;
  margin-bottom: 14px;
  box-shadow: 0 5px 14px rgba(42,91,215,.3);
}
.step h3 { font-size: 1.02rem; margin-bottom: .45em; }
.step p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- anywhere ---------- */

.anywhere {
  margin-top: 56px;
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center;
  background: linear-gradient(135deg, #F6F8FE 0%, #FFF7F3 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px 46px;
}
.anywhere-copy p:last-child { color: var(--muted); margin: 0; }
.anywhere-media img { border-radius: var(--radius); }

/* ---------- who ---------- */

.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.who-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.who-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #D9E2F5; }
.who-card h3 { font-size: 1.1rem; margin-bottom: .45em; }
.who-card p { font-size: .93rem; color: var(--muted); margin: 0; }

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 12px; }

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item.open { border-color: #C7D5F4; box-shadow: var(--shadow-md); }

.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  text-align: left;
  font-family: inherit; font-size: 1.02rem; font-weight: 600; color: var(--ink);
  background: none; border: 0; cursor: pointer;
  padding: 20px 24px;
  transition: color .18s ease;
}
.faq-q:hover { color: var(--brand); }

.faq-icon {
  position: relative; flex: none;
  width: 26px; height: 26px; border-radius: 8px; background: var(--brand-soft);
  transition: background-color .2s ease, transform .25s ease;
}
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  background: var(--brand); border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: opacity .2s ease, transform .25s ease;
}
.faq-icon::before { width: 11px; height: 2px; }
.faq-icon::after  { width: 2px; height: 11px; }
.faq-item.open .faq-icon { background: var(--brand); transform: rotate(180deg); }
.faq-item.open .faq-icon::before { background: #fff; }
.faq-item.open .faq-icon::after { opacity: 0; }

.faq-a {
  overflow: hidden;
  height: 0;
  transition: height .32s cubic-bezier(.4, 0, .2, 1);
}
.faq-a-inner { padding: 0 24px 22px; }
.faq-a-inner p { margin: 0; color: var(--muted); font-size: .98rem; max-width: 72ch; }

/* ---------- CTA ---------- */

.cta { padding: 0 0 96px; }
.cta-card {
  text-align: center;
  background:
    radial-gradient(700px 300px at 15% 0%, rgba(255,122,69,.32), transparent 60%),
    linear-gradient(120deg, #1B2A52 0%, #24397A 55%, #2A5BD7 130%);
  color: #fff;
  border-radius: 28px;
  padding: 70px 40px;
  box-shadow: var(--shadow-lg);
}
.cta-card h2 { color: #fff; max-width: 20ch; margin-inline: auto; }
.cta-card > p { color: #C6D2E9; max-width: 60ch; margin-inline: auto; font-size: 1.06rem; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta-fine { margin: 20px 0 0; font-size: .85rem; color: rgba(255,255,255,.62); }

/* ---------- footer ---------- */

.site-footer {
  background: var(--bg-tint);
  border-top: 1px solid var(--line);
  padding: 66px 0 40px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.1fr; gap: 40px;
  padding-bottom: 44px;
}
.footer-brand p { font-size: .93rem; color: var(--muted); margin: 16px 0 0; max-width: 42ch; }

.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { color: var(--ink); margin: 0 0 4px; letter-spacing: .01em; }
.footer-col a { font-size: .93rem; color: var(--muted); font-weight: 500; }
.footer-col a:hover { color: var(--brand); }
.footer-hours { font-size: .86rem; color: #93A0B5; margin: 2px 0 0; }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 32px;
  flex-wrap: wrap;
}
.copyright { font-size: .84rem; color: #93A0B5; margin: 0; max-width: 60ch; }

.us-address {
  font-style: normal;
  font-size: .9rem;
  line-height: 1.7;
  color: var(--ink-2);
  text-align: right;
  padding-left: 22px;
  border-left: 3px solid var(--accent);
}
.us-address strong { color: var(--ink); display: inline-block; margin-bottom: 2px; }

/* ---------- reveal animation ---------- */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .who-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 2px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 12px 22px 18px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .header-actions { margin-left: auto; }
  .header-actions .btn-ghost { display: none; }
  .nav-toggle { display: flex; }

  .hero { padding-top: 52px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { order: -1; }
  .lead { max-width: none; }

  .stat-strip { grid-template-columns: repeat(2, 1fr); gap: 20px 8px; margin-top: 48px; }
  .stat:nth-child(3) { border-left: 0; }

  .feature, .anywhere { grid-template-columns: 1fr; gap: 32px; }
  .feature-rev .feature-media { order: 0; }
  .anywhere { padding: 34px 28px; }
  .answer-card { padding: 32px 28px; }

  .section { padding: 72px 0; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .problem-grid, .steps, .who-grid, .footer-grid { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; }
  .cta-card { padding: 48px 24px; }
  .faq-q { font-size: .98rem; padding: 17px 18px; }
  .faq-a-inner { padding: 0 18px 20px; }
  .footer-bottom { flex-direction: column; }
  .us-address { text-align: left; }
  .btn-lg { width: 100%; }
  .hero-cta, .cta-actions { flex-direction: column; align-items: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
