:root {
  /* Pulled from the app itself: iOS blue chrome on a near-white UI. */
  --blue: #0a63dd;
  --blue-deep: #0847a3;
  --blue-soft: #e8f0fe;
  --green: #1a9e4b;
  --ink: #10141c;
  --muted: #5a6473;
  --bg: #ffffff;
  --bg-2: #f5f7fa;
  --card: #ffffff;
  --line: #e2e8f0;
  --shadow: 0 20px 50px rgba(16, 20, 28, 0.10);
  --shadow-sm: 0 2px 8px rgba(16, 20, 28, 0.06);
  --radius: 18px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover, a:focus-visible { color: var(--blue); }
img { max-width: 100%; display: block; }

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  z-index: 20;
}

.site-header.compact { position: static; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(150deg, var(--blue) 0%, var(--blue-deep) 100%);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.95rem;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  flex: none;
}

.nav {
  display: flex;
  gap: 20px;
  font-size: 0.94rem;
  color: var(--muted);
  font-weight: 500;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.97rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn.primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 24px rgba(10, 99, 221, 0.28);
}

.btn.primary:hover { transform: translateY(-1px); color: #fff; }

.btn.secondary {
  background: var(--bg-2);
  border-color: var(--line);
}

.btn.ghost { background: transparent; border-color: var(--line); }

/* ---------- hero ---------- */
.hero {
  padding: 84px 0 72px;
  background:
    radial-gradient(900px 420px at 78% -8%, var(--blue-soft) 0%, transparent 62%),
    linear-gradient(180deg, #fff 0%, var(--bg-2) 100%);
  border-bottom: 1px solid var(--line);
}

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

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 16px;
}

.hero-copy h1 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.4rem, 4.4vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.subhead {
  font-size: 1.12rem;
  color: var(--muted);
  margin-bottom: 26px;
  max-width: 46ch;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.price-note {
  font-size: 0.97rem;
  color: var(--muted);
}

.price-note strong { color: var(--ink); }

/* trust badges */
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--muted);
  box-shadow: var(--shadow-sm);
}

.badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex: none;
}

/* hero device — the raw screenshot is 1320x2868, so it is capped and cropped from
   the top. Without a max-height it makes the hero row ~740px tall and pushes the
   copy out of the first viewport. */
.hero-device {
  justify-self: center;
  width: min(320px, 100%);
  max-height: 520px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: #f1f3f7;
}

.hero-device img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: top center;
}

/* ---------- sections ---------- */
.section { padding: 76px 0; }
.section.tinted { background: var(--bg-2); border-block: 1px solid var(--line); }

.section-head { margin-bottom: 36px; max-width: 620px; }

.section-head h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}

.section-head p { color: var(--muted); }

/* ---------- comparison ---------- */
.compare {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.compare-col {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}

.compare-col.ours {
  border-color: var(--blue);
  box-shadow: 0 12px 34px rgba(10, 99, 221, 0.13);
}

.compare-col h3 {
  font-size: 1.05rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.compare-col ul { list-style: none; display: grid; gap: 11px; }

.compare-col li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
  font-size: 0.96rem;
}

.compare-col li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
}

.compare-col.theirs li::before { content: "✕"; color: #c2410c; }
.compare-col.ours li::before { content: "✓"; color: var(--green); }

/* ---------- feature cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--line);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

.card-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  margin-bottom: 14px;
}

.card h3 { font-size: 1.03rem; margin-bottom: 8px; letter-spacing: -0.01em; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* ---------- screenshots ---------- */
.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.shot {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.shot:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.shot a { display: block; cursor: zoom-in; }
.shot a:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.shot img { width: 100%; height: auto; }

/* ---------- steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  list-style: none;
  counter-reset: step;
}

.steps li {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 26px 24px;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.steps h3 { font-size: 1.02rem; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 0.95rem; }

/* ---------- faq ---------- */
.faq { display: grid; gap: 10px; max-width: 760px; }

.faq details {
  background: var(--card);
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 16px 20px;
}

.faq details[open] { border-color: var(--blue); }
.faq summary { font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "＋"; float: right; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: "－"; }
.faq p { color: var(--muted); margin-top: 10px; font-size: 0.96rem; }

/* ---------- closing CTA ---------- */
.cta-band {
  background: linear-gradient(150deg, var(--blue) 0%, var(--blue-deep) 100%);
  color: #fff;
  padding: 68px 0;
  text-align: center;
}

.cta-band h2 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}

.cta-band p { opacity: 0.9; margin-bottom: 26px; }
.cta-band .btn.primary { background: #fff; color: var(--blue); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18); }
.cta-band .btn.primary:hover { color: var(--blue-deep); }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px 0 26px;
  background: var(--bg-2);
}

.site-footer.simple { margin-top: 48px; }

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner h3 { font-family: "Fraunces", Georgia, serif; margin-bottom: 6px; }
.footer-inner p { color: var(--muted); font-size: 0.94rem; }
.footer-links { display: flex; gap: 18px; color: var(--muted); font-size: 0.94rem; }

.footer-meta {
  text-align: center;
  color: var(--muted);
  font-size: 0.87rem;
  margin-top: 20px;
}

/* ---------- policy pages ---------- */
.policy h1 { font-family: "Fraunces", Georgia, serif; font-size: clamp(2rem, 3vw, 2.5rem); }
.policy-lead { color: var(--muted); margin: 12px 0 24px; }
.policy-body { display: grid; gap: 14px; max-width: 660px; }
.policy-body h2 { font-size: 1.1rem; margin-top: 12px; }
.policy-body p { color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-device { max-width: 300px; }
  .header-inner { flex-wrap: wrap; }
  .nav { order: 3; width: 100%; flex-wrap: wrap; gap: 14px; }
}

@media (max-width: 600px) {
  .container { width: min(1120px, calc(100% - 32px)); }
  .hero { padding: 56px 0 52px; }
  .section { padding: 56px 0; }
  .cta-group .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
