/* ── Reset & Base ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:    #1F80F5;
  --blue-dk: #1362C8;
  --teal:    #0f766e;
  --teal-bg: #ecfeff;
  --bg:      #F8F9FF;
  --bg-alt:  #FFFFFF;
  --text:    #0F172A;
  --text-2:  #475569;
  --text-3:  #94A3B8;
  --border:  #E2E8F0;
  --radius:  14px;
  --shadow:  0 4px 24px rgba(0,0,0,.08);
  --font:    'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ── Nav ──────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248,249,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }

.nav-logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; }
.logo-mark {
  background: var(--blue); color: #fff;
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; letter-spacing: -.5px;
}
.logo-text { color: var(--text); }

.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--text-2); transition: color .15s; }
.nav-links a:hover { color: var(--blue); }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  padding: 80px 0 100px;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #eef4ff 0%, #f8f9ff 60%, #fff0fa 100%);
  z-index: 0;
}
.hero-inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 60px;
}
.hero-copy { flex: 1; min-width: 0; }
.hero-visual { flex: 0 0 auto; }

.hero-app-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-app-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(148,163,184,.22);
  border-radius: 16px;
  padding: 14px 18px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(15,23,42,.07);
  text-decoration: none;
  transition: box-shadow .15s, transform .15s;
}
.hero-app-item:hover {
  box-shadow: 0 8px 24px rgba(15,23,42,.12);
  transform: translateY(-1px);
}

.hero-app-item-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(15,23,42,.12);
}

.hero-app-item-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.hero-app-item-tag {
  font-size: 12px;
  color: var(--text-2);
  margin-top: 2px;
}

.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--blue); margin-bottom: 12px;
}
.eyebrow.centered { text-align: center; }

.hero-copy h1 {
  font-size: clamp(32px, 5vw, 52px); font-weight: 800; line-height: 1.15;
  letter-spacing: -.5px; margin-bottom: 18px;
}
.hero-sub { font-size: 18px; color: var(--text-2); max-width: 440px; margin-bottom: 32px; }
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border-radius: 10px; font-weight: 600; font-size: 15px;
  cursor: pointer; transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--blue); color: #fff;
  box-shadow: 0 4px 14px rgba(31,128,245,.35);
}
.btn-primary:hover { box-shadow: 0 6px 20px rgba(31,128,245,.45); }
.btn-secondary {
  background: rgba(255,255,255,.74);
  color: var(--text);
  border: 1px solid var(--border);
}

/* phone mockup */
.hero-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 220px));
  gap: 16px;
}

.hero-product-card {
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(148,163,184,.22);
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(15,23,42,.12);
  padding: 20px;
  backdrop-filter: blur(10px);
}

.hero-product-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-product-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 8px 18px rgba(15,23,42,.12);
}

.hero-product-name {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.1;
}

.hero-product-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-top: 2px;
}

.hero-fire-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
  font-family: Georgia, serif;
  line-height: 1.1;
}

.hero-fire-label {
  font-size: 12px;
  color: var(--text-2);
  margin-top: 4px;
}

.hero-fire-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 16px;
}

.hero-fire-bar {
  flex: 1;
  height: 7px;
  border-radius: 999px;
  background: #dbe7f6;
  overflow: hidden;
}

.hero-fire-fill {
  height: 100%;
  background: linear-gradient(90deg, #f97316 0%, #fb923c 100%);
  border-radius: 999px;
}

.hero-fire-progress span {
  font-size: 12px;
  font-weight: 700;
  color: #ea580c;
}

.hero-mini-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.hero-mini-stats div {
  padding: 10px 12px;
  background: rgba(248,250,252,.95);
  border: 1px solid rgba(148,163,184,.18);
  border-radius: 14px;
}

.hero-mini-stats span {
  display: block;
  font-size: 11px;
  color: var(--text-2);
  margin-bottom: 2px;
}

.hero-mini-stats strong {
  font-size: 14px;
  font-weight: 700;
}

.hero-idframe-preview {
  margin-top: 8px;
}

.hero-idframe-sheet {
  background: #fff;
  border: 1px solid rgba(148,163,184,.2);
  border-radius: 16px;
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  aspect-ratio: 6 / 4;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.5);
}

.hero-idframe-sheet img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(148,163,184,.16);
  background: #f8fafc;
}

.hero-idframe-caption {
  font-size: 12px;
  color: var(--text-2);
  margin-top: 12px;
}

/* ── Section ──────────────────────────────────────────────────────────── */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { font-size: clamp(26px, 4vw, 38px); font-weight: 800; letter-spacing: -.4px; margin-bottom: 48px; }
.section-title.centered { text-align: center; }
.section-intro {
  font-size: 17px;
  color: var(--text-2);
  margin: -20px auto 42px;
}
.centered { text-align: center; }
.narrow { max-width: 700px; }

.home-apps {
  padding-top: 84px;
  padding-bottom: 84px;
}

.app-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
}

.app-preview-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 28px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform .15s, box-shadow .15s;
}

.app-preview-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(15,23,42,.14);
}

.app-preview-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.app-preview-head .app-icon-image {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  flex-shrink: 0;
}

.app-preview-card .app-tag {
  margin-bottom: 6px;
}

.app-preview-card h3 {
  font-size: 22px;
  margin: 0;
  letter-spacing: -.2px;
}

.app-preview-tagline {
  font-size: 13px;
  color: var(--text-2);
  margin-top: 3px;
}

.app-preview-card > p {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}

.app-preview-card .text-link {
  font-size: 14px;
  margin-top: auto;
}

.page-subtitle {
  font-size: 16px;
  color: var(--text-2);
  margin-top: 10px;
  max-width: 640px;
}

.app-back-link {
  margin-top: 36px;
  font-size: 14px;
}

.app-back-link a {
  color: var(--blue);
  font-weight: 600;
}

.app-back-link a:hover {
  text-decoration: underline;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-weight: 700;
}

.apps-page-link {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

/* ── App Card ─────────────────────────────────────────────────────────── */
.app-card {
  background: #fff; border-radius: 24px;
  box-shadow: var(--shadow); border: 1px solid var(--border);
  overflow: hidden;
}
.app-card.featured { display: grid; grid-template-columns: 1fr auto; gap: 0; }

.app-card-content { padding: 48px; }
.app-icon-wrap { margin-bottom: 20px; }
.app-icon {
  width: 72px; height: 72px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
}
.app-icon-image {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: block;
  box-shadow: 0 8px 22px rgba(15,23,42,.12);
}
.coastful-icon { background: linear-gradient(135deg, #F39B2D 0%, #9DC04D 100%); }
.idframe-icon { background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%); }

.app-tag {
  display: inline-block; font-size: 12px; font-weight: 600;
  background: #EFF6FF; color: var(--blue); border-radius: 6px;
  padding: 3px 10px; margin-bottom: 10px; letter-spacing: .3px;
}
.app-tag-alt {
  background: var(--teal-bg);
  color: var(--teal);
}
.app-card-content h3 { font-size: 26px; font-weight: 800; margin-bottom: 12px; letter-spacing: -.3px; }
.app-card-content > p { color: var(--text-2); max-width: 480px; margin-bottom: 28px; }

.feature-list { display: flex; flex-direction: column; gap: 14px; }
.feature-list li { display: flex; align-items: flex-start; gap: 12px; }
.feature-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.feature-list strong { display: block; font-size: 14px; font-weight: 600; color: var(--text); }
.feature-list span { font-size: 13px; color: var(--text-2); }

/* screen cards */
.app-card-screens {
  background: linear-gradient(160deg, #eef4ff 0%, #f0f8ff 100%);
  padding: 48px 36px;
  display: flex; flex-direction: column; gap: 14px;
  border-left: 1px solid var(--border);
}

.screen-card {
  background: #fff; border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,.09);
  overflow: hidden; width: 220px;
}
.screen-label {
  padding: 8px 14px; font-size: 10px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; color: var(--text-3);
  border-bottom: 1px solid var(--border);
}
.screen-body { padding: 14px; }

/* dash screen */
.dash-screen .sc-row { margin-bottom: 2px; }
.sc-dim { font-size: 9px; font-weight: 600; letter-spacing: 1px; color: var(--text-3); text-transform: uppercase; }
.sc-big { font-size: 22px; font-weight: 800; color: var(--text); font-family: Georgia, serif; }
.sc-delta { font-size: 11px; font-weight: 600; color: #16A34A; margin: 4px 0 10px; }
.sc-chart { width: 100%; height: 50px; display: block; }

/* fire screen */
.fire-bar-wrap { display: flex; align-items: center; gap: 8px; margin: 10px 0; }
.fire-bar-bg { flex: 1; height: 6px; background: #E2E8F0; border-radius: 3px; overflow: hidden; }
.fire-bar-fill { height: 100%; background: #F97316; border-radius: 3px; }
.fire-pct { font-size: 11px; font-weight: 700; color: #F97316; }
.fire-row { display: flex; justify-content: space-between; font-size: 12px; padding: 3px 0; }

/* assets screen */
.asset-row {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; padding: 6px 0;
  border-bottom: 1px solid #f1f5f9;
}
.asset-row:last-child { border: none; }
.asset-row span:last-child { margin-left: auto; }

.app-card-secondary {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  margin-top: 28px;
}

.idframe-preview {
  padding: 42px;
  background:
    radial-gradient(circle at top right, rgba(20,184,166,.12), transparent 35%),
    linear-gradient(160deg, #f5fffe 0%, #eefcf9 100%);
  border-left: 1px solid var(--border);
}

.preview-panel {
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 14px 34px rgba(15,23,42,.08);
}

.preview-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 18px;
}

.preview-panel-image {
  display: flex;
  flex-direction: column;
}

.preview-duo {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: nowrap;
}

.preview-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.preview-frame {
  width: 160px;
  height: 210px;
  min-width: 160px;
  box-sizing: border-box;
  border-radius: 14px;
  border: 1px solid rgba(148,163,184,.24);
  background: #fff;
  box-shadow: 0 10px 24px rgba(15,23,42,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.preview-image {
  width: 100%;
  max-width: 290px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  margin: 0 auto;
  border-radius: 20px;
  border: 1px solid rgba(148,163,184,.24);
  background: #fff;
  box-shadow: 0 10px 24px rgba(15,23,42,.08);
}

.preview-image-mask {
  width: calc(100% - 16px);
  max-width: calc(100% - 16px);
  height: calc(100% - 16px);
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 10px;
  border: 0;
  box-shadow: none;
  margin: 0;
}

.print-sheet-mini {
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  padding: 8px;
  box-sizing: border-box;
  border-radius: 10px;
  background: #fff;
  border: 0;
  box-shadow: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 6px;
}

.sheet-mask {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  border: 1px solid rgba(148,163,184,.2);
  object-fit: cover;
  background: #f8fafc;
}

.preview-caption {
  margin-top: 18px;
}

.preview-caption strong {
  display: block;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 6px;
}

.preview-caption p {
  font-size: 14px;
  color: var(--text-2);
}

.preview-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.preview-badges span {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--teal-bg);
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
}

/* dots */
.dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.dot.blue   { background: #1F80F5; }
.dot.green  { background: #16A34A; }
.dot.orange { background: #F97316; }
.dot.purple { background: #8B5CF6; }

/* ── Values ───────────────────────────────────────────────────────────── */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.value-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
}
.value-icon { font-size: 28px; margin-bottom: 12px; }
.value-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.value-card p { font-size: 14px; color: var(--text-2); line-height: 1.6; }

/* ── Footer ───────────────────────────────────────────────────────────── */
.footer { background: var(--text); color: #CBD5E1; padding: 60px 0 0; }
.footer-inner { display: flex; gap: 60px; padding-bottom: 48px; border-bottom: 1px solid #1E293B; }
.footer-brand { flex: 1; }
.footer-brand .nav-logo .logo-text { color: #fff; }
.footer-brand p { font-size: 14px; margin-top: 12px; color: #64748B; }
.footer-links { display: flex; gap: 48px; }
.footer-links > div { display: flex; flex-direction: column; gap: 10px; }
.footer-links strong { color: #fff; font-size: 13px; margin-bottom: 4px; }
.footer-links a { font-size: 14px; color: #64748B; transition: color .15s; }
.footer-links a:hover { color: #CBD5E1; }
.footer-bottom { padding: 20px 0; }
.footer-bottom p { font-size: 13px; color: #475569; }

/* ── Inner pages ──────────────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, #eef4ff 0%, #f8f9ff 100%);
  padding: 72px 0 60px;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; margin-top: 12px; }

.prose { max-width: 700px; }
.prose h2 { font-size: 20px; font-weight: 700; margin: 36px 0 10px; }
.prose h3 { font-size: 16px; font-weight: 700; margin: 24px 0 8px; }
.prose p  { font-size: 15px; color: var(--text-2); margin-bottom: 14px; }
.prose ul { margin: 10px 0 14px 20px; list-style: disc; }
.prose ul li { font-size: 15px; color: var(--text-2); margin-bottom: 6px; }
.prose a  { color: var(--blue); text-decoration: underline; }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 36px; }
.contact-card {
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
}
.contact-card .ci { font-size: 28px; margin-bottom: 12px; }
.contact-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.contact-card p  { font-size: 14px; color: var(--text-2); }
.contact-card a  { color: var(--blue); font-size: 14px; font-weight: 600; }
.support-intro {
  font-size: 15px;
  color: var(--text-2);
  max-width: 760px;
}

.support-panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.support-panel {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
}

.support-panel h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.support-panel p {
  font-size: 14px;
  color: var(--text-2);
}

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-sub { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-copy h1 br { display: none; }
  .hero-panels { grid-template-columns: 1fr; width: min(100%, 240px); }
  .app-preview-grid { grid-template-columns: 1fr; }
  .app-card.featured { grid-template-columns: 1fr; }
  .app-card-secondary { grid-template-columns: 1fr; }
  .app-card-screens { flex-direction: row; flex-wrap: wrap; border-left: none; border-top: 1px solid var(--border); }
  .idframe-preview { border-left: none; border-top: 1px solid var(--border); }
  .screen-card { width: 180px; }
  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-links { flex-wrap: wrap; gap: 32px; }
}

/* ── IDFrame product page ─────────────────────────────────────────────────
   iOS-native styling. Mirrors the IDFrame app: systemIndigo accent,
   systemGray6 background, SF Pro typography, and rounded card chrome.
   Scoped to .idframe-page (and body.idframe-body for the page background).
   ───────────────────────────────────────────────────────────────────── */

body.idframe-body { background: #F2F2F7; }

.idframe-page {
  --idf-indigo:   #5856D6;
  --idf-indigo-2: #4A47C9;
  --idf-indigo-3: #7B79E1;
  --idf-indigo-bg:#EDEDFB;
  --idf-bg:       #F2F2F7;
  --idf-bg-2:     #E5E5EA;
  --idf-card:     #FFFFFF;
  --idf-ink:      #1C1C1E;
  --idf-ink-2:    #3A3A3C;
  --idf-ink-3:    #6B6B70;
  --idf-ink-4:    #8E8E93;
  --idf-line:     #D1D1D6;
  --idf-line-2:   #E5E5EA;
  --idf-success:  #34C759;
  --idf-success-bg:#E6F8EC;
  --idf-radius:   18px;
  --idf-radius-lg:28px;
  --idf-radius-xl:36px;
  --idf-shadow-sm:0 1px 2px rgba(15,23,42,.06), 0 4px 14px rgba(15,23,42,.05);
  --idf-shadow:   0 6px 20px rgba(15,23,42,.08), 0 24px 48px -16px rgba(15,23,42,.18);
  --idf-shadow-lg:0 30px 64px -28px rgba(28,28,30,.45), 0 8px 24px rgba(28,28,30,.10);

  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
               "Helvetica Neue", "Inter", system-ui, sans-serif;
  background: var(--idf-bg);
  color: var(--idf-ink);
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
}

.idframe-page .container { max-width: 1140px; }

.idframe-page .centered { text-align: center; }

.idf-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--idf-indigo);
  margin-bottom: 14px;
}
.idf-eyebrow.centered { display: block; text-align: center; }
.idf-eyebrow-light { color: rgba(255,255,255,.78); }

.idf-h1 {
  font-size: clamp(30px, 5.6vw, 64px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: var(--idf-ink);
  margin-bottom: 22px;
}
.idf-h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--idf-indigo) 0%, #8E8DEC 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.idf-h2 {
  font-size: clamp(24px, 3.6vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.028em;
  color: var(--idf-ink);
  margin-bottom: 14px;
}
.idf-h2.centered { text-align: center; }

.idf-lede {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.55;
  color: var(--idf-ink-3);
  max-width: 520px;
  margin-bottom: 26px;
}

.idf-section-intro {
  font-size: 16px;
  line-height: 1.6;
  color: var(--idf-ink-3);
  max-width: 620px;
  margin: 0 auto 56px;
  text-align: center;
}

/* ── Hero ─────────────────────────────────────────────────────────────── */
.idf-hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 120px;
  background: var(--idf-bg);
  border-bottom: 1px solid var(--idf-line-2);
}

.idf-hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.idf-hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
}
.idf-hero-blob-1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, #C9C8F4 0%, transparent 70%);
  top: -120px; right: -100px;
}
.idf-hero-blob-2 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, #DDF3E3 0%, transparent 70%);
  bottom: -160px; left: -80px;
  opacity: .5;
}
.idf-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(28,28,30,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28,28,30,.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 75%);
  opacity: .7;
}

.idf-hero-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 60px;
}

.idf-hero-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.idf-icon-wrap { display: inline-flex; }
.idf-hero-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  box-shadow: var(--idf-shadow-sm);
}
.idf-hero-meta-text { display: flex; flex-direction: column; line-height: 1.15; }
.idf-hero-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--idf-ink);
}
.idf-hero-sub {
  font-size: 13px;
  color: var(--idf-ink-4);
  margin-top: 2px;
}

.idf-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.idf-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
  background: var(--idf-card);
  border: 1px solid var(--idf-line);
  border-radius: 999px;
  color: var(--idf-ink-2);
  box-shadow: var(--idf-shadow-sm);
}
.idf-pill-muted {
  background: transparent;
  border-color: rgba(28,28,30,.08);
  color: var(--idf-ink-3);
  box-shadow: none;
}
.idf-pill-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--idf-success);
  box-shadow: 0 0 0 3px rgba(52,199,89,.18);
}

/* Hero phone */
.idf-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.idf-phone {
  position: relative;
  display: inline-block;
}
.idf-phone-bezel {
  position: relative;
  background: #1C1C1E;
  border-radius: var(--idf-radius-xl);
  padding: 8px;
  box-shadow: var(--idf-shadow-lg),
              inset 0 0 0 1.5px #2C2C2E,
              inset 0 0 0 4px #1C1C1E;
}
.idf-phone-bezel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.1) 0%, transparent 30%, transparent 70%, rgba(255,255,255,.05) 100%);
  pointer-events: none;
}
.idf-phone-bezel img {
  display: block;
  width: 100%;
  border-radius: 28px;
  background: #fff;
}
.idf-phone-island {
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  width: 92px; height: 28px;
  background: #000;
  border-radius: 999px;
  z-index: 2;
  box-shadow: inset 0 0 0 1px #1C1C1E;
}

.idf-phone-hero { width: 250px; }
.idf-phone-hero .idf-phone-bezel { padding: 8px; border-radius: 36px; }
.idf-phone-hero .idf-phone-bezel img { border-radius: 28px; }
.idf-phone-hero .idf-phone-island { width: 84px; height: 24px; top: 18px; }

/* Dual-phone hero composition — clean side-by-side, no tilt */
.idf-hero-visual {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 22px;
  max-width: 520px;
  margin: 0 auto;
}
.idf-phone-hero-front,
.idf-phone-hero-back {
  width: 230px;
  flex: 0 0 auto;
  filter: drop-shadow(0 24px 44px rgba(28,28,30,.16));
}

.idf-phone-flag {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: var(--idf-card);
  border: 1px solid var(--idf-line);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--idf-ink);
  white-space: nowrap;
  box-shadow: 0 8px 18px -6px rgba(28,28,30,.18), 0 2px 4px rgba(28,28,30,.06);
  z-index: 4;
}
.idf-phone-flag-free {
  background: var(--idf-success);
  border-color: transparent;
  color: #fff;
}
.idf-phone-flag-free::before {
  content: "✓";
  font-size: 10px;
  font-weight: 800;
}
.idf-phone-flag::before {
  content: "$";
  font-weight: 800;
  color: var(--idf-indigo);
}
.idf-phone-flag-free::before { color: #fff; content: "✓"; }

/* ── How it works ─────────────────────────────────────────────────────── */
.idf-steps-section {
  padding: 96px 0 100px;
  background: var(--idf-bg);
}
.idf-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  list-style: none;
  counter-reset: idfStep;
  margin: 0;
  padding: 0;
}
.idf-step {
  background: var(--idf-card);
  border-radius: var(--idf-radius-lg);
  border: 1px solid var(--idf-line-2);
  box-shadow: var(--idf-shadow-sm);
  padding: 28px 24px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
}
.idf-step:hover {
  transform: translateY(-3px);
  box-shadow: var(--idf-shadow);
}
.idf-step-num {
  position: absolute;
  top: 18px; left: 22px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--idf-indigo);
  background: var(--idf-indigo-bg);
  padding: 4px 10px;
  border-radius: 999px;
}
.idf-phone-step {
  width: 180px;
  margin: 24px auto 22px;
}
.idf-phone-step .idf-phone-bezel { padding: 6px; border-radius: 30px; }
.idf-phone-step .idf-phone-bezel img { border-radius: 24px; }
.idf-phone-step .idf-phone-island { width: 64px; height: 18px; top: 12px; }
.idf-step-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--idf-ink);
  margin-bottom: 8px;
}
.idf-step-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--idf-ink-3);
}
.idf-step-desc em {
  font-style: normal;
  font-weight: 700;
  color: var(--idf-ink-2);
}

/* ── Spotlight (on-device) ────────────────────────────────────────────── */
.idf-spotlight {
  padding: 96px 0;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(88,86,214,.08) 0%, transparent 40%),
    linear-gradient(180deg, var(--idf-bg) 0%, var(--idf-bg) 100%);
  border-top: 1px solid var(--idf-line-2);
  border-bottom: 1px solid var(--idf-line-2);
}
.idf-spotlight-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}
.idf-spotlight-copy { max-width: 460px; }
.idf-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  margin-top: 24px;
}
.idf-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--idf-ink-2);
  font-weight: 500;
}
.idf-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  background: var(--idf-success);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}

.idf-spotlight-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.idf-phone-pair {
  display: flex;
  align-items: center;
  gap: 24px;
  position: relative;
}
.idf-phone-md { width: 220px; }
.idf-phone-md .idf-phone-bezel { padding: 7px; border-radius: 32px; }
.idf-phone-md .idf-phone-bezel img { border-radius: 26px; }
.idf-phone-md .idf-phone-island { width: 72px; height: 20px; top: 14px; }
.idf-phone-md:nth-child(1) { transform: translateY(12px) rotate(-2deg); }
.idf-phone-md:nth-child(2) { transform: translateY(-12px) rotate(2deg); }
.idf-phone-tag {
  display: inline-block;
  margin-top: 14px;
  text-align: center;
  width: 100%;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--idf-indigo);
}
.idf-phone-tag-alt { color: var(--idf-ink-4); }

/* ── Pricing ──────────────────────────────────────────────────────────── */
.idf-pricing-section {
  padding: 96px 0 100px;
  background: var(--idf-bg);
}
.idf-pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
  margin-top: 12px;
}
.idf-price-card {
  background: var(--idf-card);
  border: 1px solid var(--idf-line-2);
  border-radius: var(--idf-radius-lg);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--idf-shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.idf-price-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--idf-shadow);
}
.idf-price-card-feature {
  background: linear-gradient(165deg, #1C1C1E 0%, #2A2A66 60%, #4A47C9 110%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 24px 48px -16px rgba(74,71,201,.45), 0 8px 24px rgba(28,28,30,.16);
  transform: scale(1.02);
}
.idf-price-card-feature:hover { transform: translateY(-3px) scale(1.02); }

.idf-price-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--idf-indigo);
  background: var(--idf-indigo-bg);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.idf-price-tag-feature {
  background: rgba(255,255,255,.18);
  color: #fff;
}
.idf-price-h {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: inherit;
  margin-bottom: 6px;
}
.idf-price-card-feature .idf-price-h { color: #fff; }

.idf-price-amt {
  display: flex;
  align-items: flex-start;
  gap: 2px;
  font-weight: 800;
  letter-spacing: -0.045em;
  margin: 8px 0 4px;
  line-height: 1;
}
.idf-price-cur {
  font-size: 22px;
  font-weight: 700;
  margin-top: 8px;
  color: var(--idf-ink-3);
  letter-spacing: -0.02em;
}
.idf-price-card-feature .idf-price-cur { color: rgba(255,255,255,.7); }
.idf-price-val {
  font-size: 56px;
  color: var(--idf-ink);
}
.idf-price-card-feature .idf-price-val { color: #fff; }
.idf-price-foot {
  font-size: 13px;
  color: var(--idf-ink-3);
  margin: 4px 0 22px;
}
.idf-price-card-feature .idf-price-foot { color: rgba(255,255,255,.7); }

.idf-price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--idf-line-2);
}
.idf-price-card-feature .idf-price-features { border-top-color: rgba(255,255,255,.14); }
.idf-price-features li {
  font-size: 14px;
  line-height: 1.5;
  color: var(--idf-ink-2);
  position: relative;
  padding-left: 22px;
}
.idf-price-features li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 14px; height: 14px;
  background: var(--idf-indigo-bg);
  border-radius: 50%;
}
.idf-price-features li::after {
  content: "";
  position: absolute;
  left: 4px; top: 9px;
  width: 6px; height: 4px;
  border-left: 2px solid var(--idf-indigo);
  border-bottom: 2px solid var(--idf-indigo);
  transform: rotate(-45deg);
}
.idf-price-card-feature .idf-price-features li { color: rgba(255,255,255,.86); }
.idf-price-card-feature .idf-price-features li::before { background: rgba(255,255,255,.18); }
.idf-price-card-feature .idf-price-features li::after { border-color: #fff; }

.idf-pricing-foot {
  font-size: 13px;
  color: var(--idf-ink-4);
  text-align: center;
  margin-top: 30px;
}

/* ── Privacy zeros ────────────────────────────────────────────────────── */
.idf-privacy { padding: 80px 0 96px; background: var(--idf-bg); }
.idf-privacy-card {
  background: linear-gradient(135deg, #1C1C1E 0%, #2A2A30 100%);
  color: #fff;
  border-radius: var(--idf-radius-lg);
  padding: 48px 40px;
  text-align: center;
  box-shadow: 0 30px 60px -28px rgba(28,28,30,.45);
  position: relative;
  overflow: hidden;
}
.idf-privacy-card::before {
  content: "";
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 200px;
  background: radial-gradient(ellipse, rgba(88,86,214,.32) 0%, transparent 60%);
  filter: blur(20px);
  pointer-events: none;
}
.idf-privacy-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin: 18px 0 24px;
  flex-wrap: wrap;
}
.idf-privacy-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 110px;
}
.idf-privacy-num {
  display: inline-block;
  font-size: clamp(54px, 7vw, 84px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  color: #fff;
}
.idf-privacy-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: rgba(255,255,255,.62);
}
.idf-privacy-sep {
  font-size: 36px;
  color: rgba(255,255,255,.18);
  font-weight: 300;
}
.idf-privacy-foot {
  position: relative;
  font-size: 14px;
  color: rgba(255,255,255,.62);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.55;
}

/* ── Back link section ────────────────────────────────────────────────── */
.idf-back-section { padding: 36px 0 56px; background: var(--idf-bg); }
.idf-back-section .app-back-link { margin-top: 0; }
.idf-back-section .app-back-link a { color: var(--idf-indigo); }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1040px) {
  .idf-steps { grid-template-columns: repeat(2, 1fr); }
  .idf-pricing { grid-template-columns: 1fr; max-width: 460px; margin: 12px auto 0; }
  .idf-spotlight-inner { grid-template-columns: 1fr; gap: 56px; text-align: center; }
  .idf-spotlight-copy { max-width: none; margin: 0 auto; }
  .idf-spotlight-copy .idf-eyebrow { display: inline-block; }
  .idf-checklist { display: inline-flex; text-align: left; }
}
@media (max-width: 760px) {
  .idf-hero { padding: 64px 0 88px; }
  .idf-hero-inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .idf-hero-meta { justify-content: center; }
  .idf-lede { margin-left: auto; margin-right: auto; }
  .idf-hero-pills { justify-content: center; }
  .idf-hero-visual { max-width: 100%; gap: 18px; padding: 16px 0 36px; }
  .idf-phone-hero { width: 184px; }
  .idf-phone-hero-front,
  .idf-phone-hero-back { width: 184px; }
  .idf-phone-flag { font-size: 10.5px; padding: 6px 11px; bottom: -14px; }
  .idf-steps { grid-template-columns: 1fr; }
  .idf-step { padding-top: 56px; }
  .idf-step-num { left: 50%; transform: translateX(-50%); }
  .idf-phone-pair { flex-direction: column; gap: 32px; }
  .idf-phone-md:nth-child(1),
  .idf-phone-md:nth-child(2) { transform: none; }
  .idf-privacy-card { padding: 36px 24px; }
  .idf-privacy-row { gap: 12px; }
  .idf-privacy-sep { display: none; }
  .idf-section-intro { margin-bottom: 36px; }
}
@media (max-width: 460px) {
  .idf-h1 { font-size: 26px; letter-spacing: -0.025em; overflow-wrap: break-word; }
  .idf-h1 em { display: inline-block; }
  .idf-h2 { font-size: 22px; letter-spacing: -0.02em; overflow-wrap: break-word; word-break: keep-all; hyphens: none; }
  .idf-phone-hero,
  .idf-phone-hero-front,
  .idf-phone-hero-back { width: 158px; }
  .idf-hero-visual { gap: 14px; }
  .idf-privacy-row { flex-direction: column; }
  .idf-privacy-stat { min-width: 0; }
  .idf-privacy-num { font-size: 56px; }
  .idf-steps-section,
  .idf-spotlight,
  .idf-pricing-section,
  .idf-privacy { padding-top: 64px; padding-bottom: 64px; }
  .idf-section-intro { margin-bottom: 32px; }
  .container { padding: 0 18px; }
  .idf-price-card { padding: 26px 22px 24px; }
  .idf-price-val { font-size: 48px; }
}

/* ── Store badges (App Store / Google Play) ──────────────────── */
.idf-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 8px 0 18px;
}
.idf-cta-row-centered { justify-content: center; margin-top: 18px; }
.idf-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px 11px 16px;
  border-radius: 12px;
  background: #1C1C1E;
  color: #fff;
  text-decoration: none;
  font-family: Inter, system-ui, sans-serif;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  box-shadow: 0 1px 2px rgba(15,23,42,.08), 0 8px 22px -10px rgba(15,23,42,.35);
  min-width: 184px;
}
.idf-store-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(15,23,42,.10), 0 14px 28px -10px rgba(15,23,42,.40);
  background: #2A2A2C;
}
.idf-store-btn-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}
.idf-store-btn-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.idf-store-btn-small {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  opacity: .85;
}
.idf-store-btn-large {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin-top: 2px;
}

/* ── Download CTA section ────────────────────────────────────── */
.idf-download {
  padding: 88px 0 96px;
  background: linear-gradient(180deg, var(--idf-bg) 0%, #E5E5EA 100%);
}
.idf-download-card {
  background: var(--idf-card);
  border: 1px solid var(--idf-line-2);
  border-radius: var(--idf-radius-lg);
  padding: 56px 40px;
  text-align: center;
  box-shadow: var(--idf-shadow-sm);
}
.idf-download-card .idf-section-intro { margin-bottom: 8px; }

/* ── FAQ ────────────────────────────────────────────────────── */
.idf-faq-section {
  padding: 88px 0;
  background: var(--idf-card);
}
.idf-faq {
  max-width: 760px;
  margin: 36px auto 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.idf-faq-item {
  background: var(--idf-bg);
  border: 1px solid var(--idf-line-2);
  border-radius: 14px;
  padding: 0 22px;
  transition: background .15s ease, border-color .15s ease;
}
.idf-faq-item[open] {
  background: #fff;
  border-color: var(--idf-line);
  box-shadow: var(--idf-shadow-sm);
}
.idf-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--idf-ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.idf-faq-item summary::-webkit-details-marker { display: none; }
.idf-faq-item summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--idf-ink-3);
  transition: transform .2s ease;
  line-height: 1;
}
.idf-faq-item[open] summary::after {
  content: "−";
  color: var(--idf-ink);
}
.idf-faq-item p {
  padding: 0 0 20px;
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--idf-ink-2);
}
.idf-faq-item a {
  color: var(--blue, #2563eb);
  font-weight: 600;
}

@media (max-width: 760px) {
  .idf-cta-row { gap: 10px; }
  .idf-store-btn { min-width: 0; flex: 1 1 auto; justify-content: center; }
  .idf-download-card { padding: 44px 24px; }
  .idf-download { padding: 64px 0; }
  .idf-faq-section { padding: 64px 0; }
}

