/* ==========================================================================
   Wasoolo — Sky Glass design system (marketing site v2)
   Light theme only · mobile-first · breakpoints 640px / 900px
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --sky-700: #0369A1;
  --sky-600: #0284C7;
  --sky-500: #0EA5E9;
  --sky-100: #E0F2FE;
  --sky-50:  #F0F9FF;
  --ice:     #CFE7F7;
  --ink-900: #0B1B27;
  --ink-600: #3B5566;
  --ink-400: #64748B;
  --green:   #16A34A;
  --red:     #DC2626;
  --card:    #FFFFFF;
  --radius:  20px;

  --radius-sm: 12px;
  --radius-lg: 24px;

  --shadow-xs: 0 1px 2px rgba(11, 27, 39, 0.05);
  --shadow-sm: 0 2px 6px rgba(11, 27, 39, 0.06), 0 1px 2px rgba(11, 27, 39, 0.04);
  --shadow-md: 0 6px 18px rgba(11, 27, 39, 0.08), 0 2px 6px rgba(11, 27, 39, 0.05);
  --shadow-lg: 0 18px 40px rgba(3, 105, 161, 0.14), 0 6px 16px rgba(11, 27, 39, 0.06);
  --shadow-glow: 0 8px 30px rgba(14, 165, 233, 0.28);

  --border: 1px solid rgba(11, 27, 39, 0.08);
  --border-soft: 1px solid rgba(11, 27, 39, 0.06);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --speed: 0.25s;

  --header-h: 68px;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-900);
  background: var(--sky-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.5em;
  line-height: 1.2;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: -0.015em;
}

p { margin: 0 0 1em; }

a {
  color: var(--sky-700);
  text-decoration: none;
  transition: color var(--speed) var(--ease);
}
a:hover { color: var(--sky-500); }

ul, ol { margin: 0 0 1em; padding-left: 1.4em; }

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }

::selection { background: var(--sky-100); color: var(--sky-700); }

:focus-visible {
  outline: 3px solid rgba(14, 165, 233, 0.5);
  outline-offset: 2px;
  border-radius: 6px;
}

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 20px;
}
@media (min-width: 640px) { .container { padding-inline: 28px; } }
@media (min-width: 900px) { .container { padding-inline: 32px; } }

.section {
  padding: 64px 0;
  position: relative;
}
.section-alt {
  background:
    radial-gradient(900px 420px at 85% 0%, rgba(224, 242, 254, 0.7), transparent 65%),
    #FFFFFF;
  border-top: var(--border-soft);
  border-bottom: var(--border-soft);
}
@media (min-width: 900px) { .section { padding: 96px 0; } }

.section-title {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.section-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--ink-600);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}

.grid-2, .grid-3 {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-2, .grid-3 { gap: 26px; }
}

/* --------------------------------------------------------------------------
   4. Header / nav (sticky glass)
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(11, 27, 39, 0.07);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 16px;
  position: relative;
}

.logo-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.22rem;
  color: var(--ink-900);
  letter-spacing: -0.02em;
}
.logo-lockup:hover { color: var(--sky-700); }
.logo-lockup img {
  border-radius: 10px;
  flex: 0 0 auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  color: var(--ink-600);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 10px;
  transition: color var(--speed) var(--ease), background var(--speed) var(--ease);
}
.nav-links a:hover {
  color: var(--sky-700);
  background: var(--sky-50);
}
.nav-links a.btn { color: #fff; margin-left: 8px; }
.nav-links a.btn:hover { color: #fff; background: linear-gradient(180deg, var(--sky-500), var(--sky-600)); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 12px;
  transition: background var(--speed) var(--ease);
}
.nav-toggle:hover { background: var(--sky-50); }
.nav-toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  border-radius: 3px;
  background: var(--ink-900);
  transition: transform var(--speed) var(--ease), opacity var(--speed) var(--ease);
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 899.98px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    backdrop-filter: saturate(180%) blur(18px);
    border: var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    visibility: hidden;
    transition: opacity var(--speed) var(--ease), transform var(--speed) var(--ease),
                visibility 0s linear var(--speed);
  }
  .nav-links.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
    transition: opacity var(--speed) var(--ease), transform var(--speed) var(--ease);
  }
  .nav-links a {
    padding: 12px 14px;
    font-size: 1rem;
    border-radius: 12px;
  }
  .nav-links a.btn {
    margin: 8px 0 0;
    text-align: center;
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  padding: 11px 20px;
  border-radius: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease),
              background var(--speed) var(--ease), border-color var(--speed) var(--ease),
              color var(--speed) var(--ease);
  will-change: transform;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-primary {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 42%),
    linear-gradient(135deg, var(--sky-500), var(--sky-600) 55%, var(--sky-700));
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.btn-ghost {
  color: var(--sky-700);
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(3, 105, 161, 0.25);
  box-shadow: var(--shadow-xs);
}
.btn-ghost:hover {
  color: var(--sky-700);
  background: var(--sky-50);
  border-color: var(--sky-500);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-lg {
  padding: 15px 28px;
  font-size: 1.05rem;
  border-radius: 16px;
}

/* Store badge buttons (App Store / Google Play) */
.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink-900);
  color: #fff;
  border-radius: 14px;
  padding: 10px 18px 10px 14px;
  text-align: left;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-sm);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease),
              background var(--speed) var(--ease);
}
.btn-store:hover {
  color: #fff;
  background: #142838;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-store svg {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  fill: currentColor;
}
.btn-store .store-lines,
.btn-store .bs-text,
.btn-store .btn-store-text,
.btn-store span:not([class]) { display: inline-flex; flex-direction: column; }
.btn-store small,
.btn-store .store-small {
  display: block;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
  line-height: 1.25;
}
.btn-store strong,
.btn-store .store-big {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 56px 0 64px;
  overflow: hidden;
  background:
    radial-gradient(720px 480px at 12% -10%, var(--sky-100), transparent 62%),
    radial-gradient(820px 520px at 95% 8%, rgba(207, 231, 247, 0.9), transparent 60%),
    radial-gradient(600px 480px at 55% 110%, rgba(224, 242, 254, 0.65), transparent 65%),
    var(--sky-50);
}
.hero::after {
  /* soft light streak */
  content: "";
  position: absolute;
  inset: -40% -20% auto;
  height: 70%;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.55) 50%, transparent 60%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero { padding: 84px 0 96px; }
  .hero .container { grid-template-columns: 1.08fr 0.92fr; gap: 48px; }
}

.hero-copy { max-width: 600px; }

.hero-title {
  font-size: clamp(2.1rem, 6vw, 3.3rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.hero-title .accent,
.hero-title em {
  font-style: normal;
  background: linear-gradient(120deg, var(--sky-600), var(--sky-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: clamp(1.05rem, 2.3vw, 1.25rem);
  color: var(--ink-600);
  margin-bottom: 26px;
  max-width: 540px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.hero-note {
  font-size: 0.88rem;
  color: var(--ink-400);
  margin: 0;
}

/* Phone mockup — pages put content inside .phone-screen */
.phone-mockup {
  position: relative;
  width: min(320px, 84vw);
  aspect-ratio: 9 / 19;
  margin-inline: auto;
  background: linear-gradient(160deg, #14293A, var(--ink-900) 60%);
  border-radius: 40px;
  padding: 12px;
  box-shadow:
    0 30px 60px rgba(3, 105, 161, 0.22),
    0 10px 24px rgba(11, 27, 39, 0.18),
    inset 0 0 0 2px rgba(255, 255, 255, 0.06);
}
.phone-mockup::before {
  /* notch / dynamic island */
  content: "";
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 22px;
  background: var(--ink-900);
  border-radius: 12px;
  z-index: 2;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.phone-mockup::after {
  /* side glare */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 40px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.14), transparent 30%);
  pointer-events: none;
}
.phone-mockup .phone-screen,
.phone-mockup > div,
.phone-mockup > img {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background:
    radial-gradient(300px 220px at 20% 0%, var(--sky-100), transparent 70%),
    linear-gradient(180deg, #FFFFFF, var(--sky-50));
  position: relative;
}
.phone-mockup > img { object-fit: cover; }

/* --------------------------------------------------------------------------
   7. Pills & badges
   -------------------------------------------------------------------------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--sky-700);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(3, 105, 161, 0.18);
  box-shadow: var(--shadow-xs);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sky-700);
  background: var(--sky-100);
}
.badge.badge-green { color: var(--green); background: rgba(22, 163, 74, 0.12); }
.badge.badge-red   { color: var(--red);   background: rgba(220, 38, 38, 0.10); }

/* --------------------------------------------------------------------------
   8. Feature cards
   -------------------------------------------------------------------------- */
.feature-card {
  background: var(--card);
  border: var(--border-soft);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease),
              border-color var(--speed) var(--ease);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(14, 165, 233, 0.35);
}
.feature-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  margin: 0 0 6px;
}
.feature-card p {
  font-size: 0.95rem;
  color: var(--ink-600);
  margin: 0;
}
.feature-card p + p { margin-top: 8px; }

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--sky-700);
  background: linear-gradient(150deg, var(--sky-100), var(--ice));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), var(--shadow-xs);
}
.feature-icon svg { width: 26px; height: 26px; }

/* --------------------------------------------------------------------------
   9. Steps (how it works)
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
  counter-reset: step;
}
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 26px; } }

.step-card {
  position: relative;
  background: var(--card);
  border: var(--border-soft);
  border-radius: var(--radius);
  padding: 28px 24px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.step-card h3 {
  font-size: 1.1rem;
  margin: 0 0 6px;
}
.step-card p {
  font-size: 0.95rem;
  color: var(--ink-600);
  margin: 0;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  background: linear-gradient(135deg, var(--sky-500), var(--sky-700));
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  margin-bottom: 16px;
}

/* --------------------------------------------------------------------------
   10. FAQ (details/summary)
   -------------------------------------------------------------------------- */
.faq {
  max-width: 760px;
  margin-inline: auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--card);
  border: var(--border-soft);
  border-radius: 16px;
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: box-shadow var(--speed) var(--ease), border-color var(--speed) var(--ease);
}
.faq-item[open] {
  box-shadow: var(--shadow-md);
  border-color: rgba(14, 165, 233, 0.3);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink-900);
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--sky-50); color: var(--sky-700); }

.faq-item summary::after {
  content: "";
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-right: 2.5px solid var(--sky-600);
  border-bottom: 2.5px solid var(--sky-600);
  transform: rotate(45deg);
  transition: transform var(--speed) var(--ease);
  margin-right: 4px;
  margin-top: -4px;
}
.faq-item[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.faq-item > *:not(summary) {
  padding: 0 20px;
  color: var(--ink-600);
  font-size: 0.95rem;
}
.faq-item p:last-child { padding-bottom: 18px; margin-bottom: 0; }
.faq-item[open] > *:not(summary) { animation: faqIn 0.3s var(--ease); }

@keyframes faqIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   11. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(620px 320px at 88% -20%, rgba(224, 242, 254, 0.25), transparent 70%),
    radial-gradient(560px 380px at 5% 120%, rgba(14, 165, 233, 0.35), transparent 65%),
    linear-gradient(120deg, var(--sky-700), var(--sky-500));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 48px 28px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  margin: 64px auto;
  max-width: 1076px;
  width: calc(100% - 40px);
}
@media (min-width: 900px) { .cta-band { padding: 64px 56px; } }

.cta-band h2 {
  color: #fff;
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 26px;
}
.cta-band a { color: #fff; }
.cta-band .btn-primary {
  background: #fff;
  color: var(--sky-700);
  box-shadow: 0 6px 20px rgba(11, 27, 39, 0.22);
}
.cta-band .btn-primary:hover {
  color: var(--sky-700);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(11, 27, 39, 0.28);
}
.cta-band .btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.cta-band .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
  color: #fff;
}
.cta-band .btn-store { background: rgba(11, 27, 39, 0.85); }
.cta-band .btn-store:hover { background: var(--ink-900); }

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background:
    radial-gradient(700px 340px at 90% 0%, rgba(14, 165, 233, 0.08), transparent 65%),
    var(--ink-900);
  color: rgba(255, 255, 255, 0.78);
  padding: 56px 0 28px;
  margin-top: 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 36px;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; } }

.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 4px;
}
.footer-col a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  width: fit-content;
}
.footer-col a:hover { color: var(--sky-500); }

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.6);
  max-width: 340px;
  margin: 6px 0 0;
}
.footer-brand .logo-lockup { color: #fff; }
.footer-brand .logo-lockup:hover { color: var(--sky-500); }
.footer-brand .logo-lockup img { border-radius: 9px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* --------------------------------------------------------------------------
   13. Page hero (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 48px;
  text-align: center;
  background:
    radial-gradient(640px 360px at 15% -20%, var(--sky-100), transparent 65%),
    radial-gradient(700px 400px at 90% 0%, rgba(207, 231, 247, 0.8), transparent 62%),
    var(--sky-50);
  border-bottom: var(--border-soft);
}
@media (min-width: 900px) { .page-hero { padding: 76px 0 64px; } }

.page-hero-title {
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}
.page-hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: var(--ink-600);
  max-width: 620px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   14. Prose (legal / long-form)
   -------------------------------------------------------------------------- */
.prose {
  max-width: 760px;
  margin-inline: auto;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-600);
}
.prose h2, .prose h3, .prose h4 { scroll-margin-top: calc(var(--header-h) + 20px); }

.prose h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ink-900);
  margin: 2.2em 0 0.7em;
  padding-top: 0.6em;
  border-top: var(--border-soft);
  letter-spacing: -0.02em;
}
.prose h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.prose h3 {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--ink-900);
  margin: 1.8em 0 0.6em;
}
.prose h4 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink-900);
  margin: 1.5em 0 0.5em;
}

.prose p { margin: 0 0 1.1em; }
.prose strong { color: var(--ink-900); font-weight: 700; }
.prose a { font-weight: 600; text-decoration: underline; text-decoration-color: rgba(14, 165, 233, 0.4); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--sky-500); }

.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.5em; }
.prose li { margin-bottom: 0.45em; }
.prose li::marker { color: var(--sky-600); font-weight: 700; }

.prose blockquote {
  margin: 1.4em 0;
  padding: 14px 20px;
  border-left: 4px solid var(--sky-500);
  background: var(--sky-50);
  border-radius: 0 12px 12px 0;
  color: var(--ink-600);
}
.prose blockquote p:last-child { margin-bottom: 0; }

.prose hr {
  border: 0;
  border-top: var(--border);
  margin: 2.4em 0;
}

.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: var(--sky-50);
  border: var(--border-soft);
  border-radius: 6px;
  padding: 2px 6px;
  color: var(--sky-700);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4em 0 1.8em;
  font-size: 0.93rem;
  background: var(--card);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  border: var(--border-soft);
  display: block;
  overflow-x: auto;
}
@media (min-width: 640px) { .prose table { display: table; } }
.prose th, .prose td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: var(--border-soft);
  vertical-align: top;
}
.prose th {
  background: var(--sky-50);
  color: var(--ink-900);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}
.prose tr:last-child td { border-bottom: 0; }
.prose tbody tr:hover td { background: rgba(240, 249, 255, 0.6); }

/* Table of contents (policies) */
.toc {
  background: var(--card);
  border: var(--border-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 22px 24px;
  margin: 0 0 36px;
}
.toc h2, .toc h3, .toc p.toc-title {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-400);
  margin: 0 0 12px;
  border: 0;
  padding: 0;
}
.toc ol, .toc ul {
  margin: 0;
  padding-left: 1.3em;
  columns: 1;
}
@media (min-width: 640px) { .toc ol, .toc ul { columns: 2; column-gap: 32px; } }
.toc li { margin-bottom: 6px; break-inside: avoid; }
.toc a {
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--sky-700);
}
.toc a:hover { color: var(--sky-500); text-decoration: underline; }

/* --------------------------------------------------------------------------
   15. Forms
   -------------------------------------------------------------------------- */
.form {
  background: var(--card);
  border: var(--border-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 28px 24px;
  display: grid;
  gap: 18px;
  max-width: 620px;
  margin-inline: auto;
}
@media (min-width: 640px) { .form { padding: 36px 32px; } }

.field { display: grid; gap: 7px; }
.field label {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-900);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  font-size: 1rem;
  border: 1.5px solid rgba(11, 27, 39, 0.14);
  border-radius: 14px;
  background: #fff;
  color: var(--ink-900);
  transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-400); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--sky-500);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.18);
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%233B5566' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
}

.form-note {
  font-size: 0.85rem;
  color: var(--ink-400);
  margin: 0;
}
.form-note a { font-weight: 600; }

.alert-ok, .alert-err {
  padding: 13px 16px;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.alert-ok {
  color: var(--green);
  background: rgba(22, 163, 74, 0.1);
  border: 1px solid rgba(22, 163, 74, 0.25);
}
.alert-err {
  color: var(--red);
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.25);
}

/* --------------------------------------------------------------------------
   16. Reveal animation
   -------------------------------------------------------------------------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  animation: fadeUp 0.7s var(--ease) both;
}
.reveal:nth-child(2) { animation-delay: 0.08s; }
.reveal:nth-child(3) { animation-delay: 0.16s; }
.reveal:nth-child(4) { animation-delay: 0.24s; }
.reveal:nth-child(5) { animation-delay: 0.32s; }

.hero .phone-mockup.reveal { animation-delay: 0.2s; }

/* --------------------------------------------------------------------------
   17. Reduced motion
   -------------------------------------------------------------------------- */
@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 { animation: none; opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   18. Print (legal pages)
   -------------------------------------------------------------------------- */
@media print {
  body { background: #fff; color: #000; }
  .site-header, .site-footer, .nav-toggle, .cta-band,
  .hero-badges, .btn, .btn-store { display: none !important; }
  .page-hero {
    background: none;
    border: 0;
    padding: 0 0 16px;
    text-align: left;
  }
  .prose {
    max-width: none;
    color: #000;
    font-size: 11.5pt;
    line-height: 1.55;
  }
  .prose h2 { border-top: 1px solid #ccc; }
  .prose a { color: #000; text-decoration: underline; }
  .prose a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
    color: #444;
  }
  .prose table { box-shadow: none; border: 1px solid #999; display: table; }
  .prose th, .prose td { border-bottom: 1px solid #ccc; }
  .toc { box-shadow: none; border: 1px solid #ccc; }
}

/* --------------------------------------------------------------------------
   19. Small utilities & polish
   -------------------------------------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

.money-in  { color: var(--green); font-weight: 700; }
.money-out { color: var(--red);   font-weight: 700; }

/* Smooth image edges inside cards */
.feature-card img, .step-card img { border-radius: var(--radius-sm); }

/* Comfortable tap targets on touch */
@media (pointer: coarse) {
  .btn, .nav-links a, .faq-item summary { min-height: 44px; }
}

/* bulletproof hidden attribute */
[hidden] { display: none !important; }
