/* iOwnIQ — iowniq.com
   Design: navy + emerald, "protected paperwork" feel — a confident
   serif for headlines (Fraunces, chosen for warmth/trust without
   tipping into generic insurance-corporate blue-and-serif blandness)
   paired with Inter for body text and UI-adjacent elements. */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #0B2545;
  --navy-dark: #071A33;
  --emerald: #10B981;
  --emerald-dark: #059669;
  --paper: #F6F8FB;
  --ink: #13233F;
  --ink-soft: #5B6B82;
  --border: #E2E8F0;
  --card: #FFFFFF;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 37, 69, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.nav-brand img { width: 28px; height: 28px; }
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav-links a:hover, .nav-links a:focus-visible { color: #fff; }

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(circle at 15% 0%, #0F2E56 0%, var(--navy) 45%, var(--navy-dark) 100%);
  color: #fff;
  padding: 88px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--emerald);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 0 4px rgba(16,185,129,0.18);
}
.hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(40px, 5.4vw, 64px);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
}
.hero h1 em {
  font-style: italic;
  color: var(--emerald);
}
.hero p.lede {
  font-size: 18px;
  color: rgba(255,255,255,0.78);
  max-width: 46ch;
  margin: 0 0 34px;
}
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-visual::before {
  content: '';
  position: absolute;
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(16,185,129,0.22) 0%, rgba(16,185,129,0) 70%);
  border-radius: 50%;
}
.hero-visual img {
  width: 220px;
  height: 220px;
  position: relative;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.35));
  animation: float 5s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-visual img { animation: none; }
}

/* ---------- Store badges ---------- */
.store-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  font-size: 14.5px;
  border: 1px solid rgba(255,255,255,0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.store-badge:hover, .store-badge:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}
.store-badge svg { width: 20px; height: 20px; flex-shrink: 0; }
.store-badge .sub {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.store-badge .main { display: block; margin-top: 1px; }

.store-badge.is-soon {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  border: 1px dashed rgba(255,255,255,0.3);
  cursor: default;
  pointer-events: none;
}
.store-badge.is-soon:hover { transform: none; box-shadow: none; }
.store-badge.is-soon svg { color: rgba(255,255,255,0.55); }
.store-badge.is-soon .sub { color: rgba(255,255,255,0.5); }
.store-badge.is-soon .main { color: rgba(255,255,255,0.9); }
.cta-band .store-badge.is-soon {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.25);
}

.coming-soon-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16,185,129,0.14);
  border: 1px solid rgba(16,185,129,0.35);
  color: var(--emerald);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.notify-note-inline {
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
  margin: 16px 0 0;
}
.notify-note-inline a { text-decoration: underline; }

/* ---------- Features ---------- */
.features {
  padding: 96px 0;
}
.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
}
.section-head .eyebrow { justify-content: center; color: var(--emerald-dark); }
.section-head h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(30px, 3.6vw, 40px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin: 0 0 14px;
}
.section-head p {
  color: var(--ink-soft);
  font-size: 16.5px;
  margin: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(11,37,69,0.08);
}
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(16,185,129,0.12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feature-icon svg { width: 24px; height: 24px; color: var(--emerald-dark); }
.feature-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--navy);
}
.feature-card p {
  color: var(--ink-soft);
  font-size: 15px;
  margin: 0;
}
.feature-card .pro-tag {
  display: inline-block;
  margin-top: 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--emerald-dark);
  background: rgba(16,185,129,0.12);
  padding: 3px 9px;
  border-radius: 20px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy);
  color: #fff;
  padding: 72px 0;
  text-align: center;
}
.cta-band h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 600;
  margin: 0 0 12px;
}
.cta-band p {
  color: rgba(255,255,255,0.72);
  margin: 0 0 32px;
  font-size: 16px;
}
.cta-band .store-row { justify-content: center; }

/* ---------- Footer ---------- */
footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.6);
  padding: 40px 0;
  font-size: 13.5px;
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
footer a {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  margin-left: 22px;
}
footer a:hover { color: #fff; }
footer .foot-links { display: flex; flex-wrap: wrap; }
footer .foot-links a:first-child { margin-left: 0; }

/* ---------- Legal / content pages ---------- */
.legal-page {
  background: var(--card);
  max-width: 780px;
  margin: 48px auto 80px;
  padding: 56px 64px;
  border-radius: 24px;
  border: 1px solid var(--border);
}
.legal-page h1 {
  font-family: 'Fraunces', serif;
  color: var(--navy);
  font-size: 34px;
  margin: 0 0 4px;
}
.legal-page .updated {
  color: var(--ink-soft);
  font-size: 13.5px;
  margin-bottom: 36px;
}
.legal-page h2 {
  font-family: 'Fraunces', serif;
  color: var(--navy);
  font-size: 20px;
  margin: 36px 0 12px;
}
.legal-page p, .legal-page li { color: var(--ink); font-size: 15px; }
.legal-page table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.legal-page th, .legal-page td {
  text-align: left; padding: 10px 12px; font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.legal-page th { color: var(--navy); }
.legal-page a { color: var(--emerald-dark); }
.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--ink-soft); text-decoration: none; font-size: 14px;
  margin: 32px 0 0;
}
.back-link:hover { color: var(--navy); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero .eyebrow { justify-content: center; }
  .hero p.lede { margin-left: auto; margin-right: auto; }
  .hero .store-row { justify-content: center; }
  .hero-visual { order: -1; margin-bottom: 8px; }
  .hero-visual img { width: 150px; height: 150px; }
  .feature-grid { grid-template-columns: 1fr; }
  .nav-links { gap: 16px; }
  .legal-page { padding: 36px 24px; margin: 24px 16px; }
  footer .wrap { flex-direction: column; text-align: center; }
  footer a { margin: 0 8px; }
}
