/* FlowApps — shared styles for every page.
   Palette: ice blue #DBF2FC (primary), navy #072D59 (secondary), coral #FD6E88 (accent). */

:root {
  --ice: #dbf2fc;
  --ice-soft: #eef9fe;
  --navy: #072d59;
  --navy-2: #0e3d72;
  --coral: #fd6e88;
  --coral-ink: #c42f50;     /* darker coral for small text on light backgrounds (readable contrast) */
  --white: #ffffff;
  --text: #072d59;
  --muted: #3f5d80;
  --line: rgba(7, 45, 89, 0.12);
  --shadow: 0 1px 2px rgba(7, 45, 89, .06), 0 10px 30px rgba(7, 45, 89, .08);
  --shadow-lg: 0 2px 4px rgba(7, 45, 89, .08), 0 28px 60px rgba(7, 45, 89, .18);
  --radius: 14px;
  --wrap: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  font-family: "Segoe UI Variable Text", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--ice);
  min-height: 100vh;
}

a { color: var(--coral-ink); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.02em; margin: 0; color: var(--navy); }
h1 { font-size: clamp(38px, 5.4vw, 60px); font-weight: 750; }
h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0; }
em { font-style: normal; font-weight: 600; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--white); padding: 8px 14px; z-index: 10; }

/* ---------- Header ---------- */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; font-weight: 750; font-size: 22px; letter-spacing: -0.02em; }
.brand:hover { color: var(--navy); }
.brand img { width: 34px; height: 34px; flex: none; }
.brand span b { color: var(--coral-ink); font-weight: 750; }
.site-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.site-nav a { color: var(--navy); text-decoration: none; font-size: 15.5px; font-weight: 500; padding: 8px 13px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; }
.site-nav a img { width: 20px; height: 20px; border-radius: 5px; }
.site-nav a:hover { background: rgba(7, 45, 89, .07); color: var(--navy); }
.site-nav a[aria-current="page"] { background: var(--navy); color: var(--white); }

/* ---------- Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 11px; padding: 13px 22px; border-radius: 999px;
  font-weight: 650; font-size: 16.5px; text-decoration: none; line-height: 1.2; border: 2px solid transparent;
  transition: background .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-store { background: var(--coral); color: var(--navy); }
.btn-store:hover { background: #ff8aa0; color: var(--navy); }
.btn-ghost { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-small { padding: 10px 17px; font-size: 15px; }
.price-note { color: var(--muted); font-size: 14.5px; margin-top: 14px; }

/* ---------- Common blocks ---------- */
section { padding: 60px 0; }
.eyebrow { display: inline-block; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--coral-ink); font-weight: 700; margin-bottom: 14px; }
.lead { font-size: 19.5px; color: var(--muted); max-width: 38ch; }
.section-head { margin-bottom: 34px; max-width: 64ch; }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 17.5px; }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.feature h3 { margin: 16px 0 6px; }
.feature p { color: var(--muted); font-size: 15.5px; }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--ice); }
.icon svg { width: 22px; height: 22px; stroke: var(--navy); fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1fr 1.2fr; gap: 52px; align-items: center; padding: 40px 0 70px; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { margin-bottom: 30px; }
.hero-shot { border-radius: 14px; box-shadow: var(--shadow-lg); }
.app-title { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.app-title img { width: 56px; height: 56px; border-radius: 14px; box-shadow: var(--shadow); }
.app-title .eyebrow { margin: 0; }

/* Home hero: two overlapping screenshots */
.duo { position: relative; aspect-ratio: 16 / 12.5; }
.duo img { position: absolute; width: 78%; border-radius: 12px; box-shadow: var(--shadow-lg); }
.duo img:first-child { top: 0; left: 0; }
.duo img:last-child { bottom: 0; right: 0; }

/* ---------- Home: app cards ---------- */
.app-card { display: flex; flex-direction: column; gap: 18px; padding: 30px; }
.app-card .top { display: flex; align-items: center; gap: 16px; }
.app-card .top img { width: 64px; height: 64px; border-radius: 16px; }
.app-card h3 { font-size: 27px; }
.app-card .tag { color: var(--muted); font-size: 15.5px; margin-top: 3px; }
.app-card .shot { border-radius: 10px; border: 1px solid var(--line); }
.app-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.app-card li { padding-left: 26px; position: relative; font-size: 16px; }
.app-card li::before { content: ""; position: absolute; left: 3px; top: 9px; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); }
.app-card .meta { color: var(--muted); font-size: 14.5px; margin-top: auto; padding-top: 6px; font-weight: 600; }

.promise h3 { margin: 16px 0 6px; font-size: 17.5px; }
.promise p { color: var(--muted); font-size: 15px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { padding: 26px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.step::before {
  counter-increment: step; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 50%; background: var(--coral); color: var(--navy); font-size: 19px; font-weight: 750; margin-bottom: 16px;
}
.step p { margin-top: 6px; color: var(--muted); font-size: 15.5px; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.gallery a { display: block; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.gallery a:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* Split rows: text beside an image */
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; padding: 30px 0; }
.split.flip > :first-child { order: 2; }
.split h3 { font-size: clamp(24px, 2.8vw, 30px); margin-bottom: 12px; }
.split p { color: var(--muted); }
.split img { border-radius: 14px; box-shadow: var(--shadow-lg); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 650; font-size: 17px; }
summary::marker { color: var(--coral-ink); }
details[open] summary { margin-bottom: 8px; }
details p, details li { color: var(--muted); font-size: 16px; }
details p + p { margin-top: 10px; }

/* ---------- Dark navy band (calls to action) ---------- */
.cta-band { text-align: center; padding: 64px 24px; border-radius: 22px; margin: 30px 0 70px; background: var(--navy); color: var(--white); }
.cta-band h2 { color: var(--white); }
.cta-band p { color: var(--ice); margin: 12px auto 28px; max-width: 46ch; font-size: 18px; }
.cta-band .btn-row { justify-content: center; }
.cta-band .btn-ghost { border-color: var(--ice); color: var(--white); }
.cta-band .btn-ghost:hover { background: var(--ice); color: var(--navy); }
.cta-band .btn-ghost img { border-radius: 6px; }

/* Cross-promo for the other app */
.sister { display: flex; align-items: center; gap: 20px; padding: 24px 28px; }
.sister img { width: 60px; height: 60px; border-radius: 15px; flex: none; }
.sister div { flex: 1; }
.sister p { color: var(--muted); font-size: 15.5px; margin-top: 4px; }

/* ---------- Text pages (privacy, support) ---------- */
.prose { max-width: 760px; padding: 20px 0 70px; }
.prose h1 { font-size: clamp(32px, 4.4vw, 44px); margin-bottom: 8px; }
.prose h2 { font-size: 22px; margin: 36px 0 10px; }
.prose h3 { margin: 22px 0 6px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose p + p { margin-top: 12px; }
.prose .date { color: var(--muted); margin-bottom: 22px; }
.callout { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--coral); border-radius: 0 12px 12px 0; padding: 16px 20px; margin: 18px 0; }
.mail { font-size: 22px; font-weight: 650; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 34px 0 44px; color: var(--muted); font-size: 14.5px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.site-footer h4 { color: var(--navy); font-size: 14px; margin: 0 0 10px; font-weight: 700; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--navy); text-decoration: underline; }
.site-footer .brand { font-size: 19px; margin-bottom: 10px; }
.site-footer .brand img { width: 28px; height: 28px; }
.site-footer small { display: block; margin-top: 10px; line-height: 1.5; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero, .split, .grid-2 { grid-template-columns: 1fr; gap: 32px; }
  .split.flip > :first-child { order: 0; }
  .grid-3, .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .hero { padding-top: 16px; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .grid-3, .grid-4, .steps, .gallery { grid-template-columns: 1fr; }
  .site-header { padding: 16px 0; }
  .site-nav { width: 100%; }
  .site-nav a { padding: 7px 11px; font-size: 15px; }
  .site-nav a img { display: none; }
  .app-card { padding: 22px; }
  .sister { flex-direction: column; align-items: flex-start; }
  section { padding: 44px 0; }
}
