:root {
  --navy-900: #0a1f2d;
  --navy-800: #0f2b3d;
  --navy-700: #1b4157;
  --navy-100: #e7eef3;
  --ink: #12273a;
  --muted: #55667a;
  --line: #dde5ec;
  --paper: #f8fafb;
  --white: #ffffff;
  --accent: #ff5757;
  --accent-dark: #c83a3a;
  --radius: 14px;
  --max: 1120px;
  --serif: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

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

a { color: var(--navy-700); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.18;
  color: var(--navy-800);
  margin: 0 0 0.5em;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  color: var(--navy-800);
  box-shadow: 0 1px 0 var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
  flex-wrap: wrap;
  padding-top: 8px;
  padding-bottom: 8px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy-800);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.01em;
}
.brand:hover { color: var(--navy-800); }
.brand-logo { width: 56px; height: auto; }
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
}
.nav a {
  color: var(--navy-700);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--accent-dark); }
.nav a[aria-current="page"] {
  color: var(--navy-800);
  font-weight: 600;
  border-bottom-color: var(--accent);
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1000px 460px at 88% -10%, rgba(255,87,87,0.20), transparent 60%),
    linear-gradient(180deg, var(--navy-800), var(--navy-900));
  color: #dbe5ec;
  padding: 88px 0 96px;
}
.hero h1 { color: var(--white); max-width: 18ch; }
.hero .lede {
  font-size: 1.2rem;
  max-width: 58ch;
  color: #c3d1dc;
}
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 14px;
}
.hero .eyebrow, .panel .eyebrow, .cta .eyebrow { color: var(--accent); }
.page-hero { padding: 64px 0 64px; }
.page-hero h1 { max-width: 22ch; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--accent); color: var(--navy-900); }
.btn-primary:hover { background: #ff7272; color: var(--navy-900); }
.btn-ghost { border-color: rgba(255,255,255,0.35); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); color: var(--white); }
.btn-navy { background: var(--navy-800); color: var(--white); }
.btn-navy:hover { background: var(--navy-700); color: var(--white); }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section.alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.section.alt .card { background: var(--paper); }
.card h3 { margin-bottom: 0.4em; }
.card p { color: var(--muted); margin: 0; }
.card .num {
  font-family: var(--serif);
  color: var(--accent-dark);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

.split {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 860px) {
  .split { grid-template-columns: 1.1fr 0.9fr; }
}

.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  position: relative;
  padding: 10px 0 10px 34px;
  border-bottom: 1px solid var(--line);
}
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 2px; top: 17px;
  width: 16px; height: 9px;
  border-left: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
  transform: rotate(-45deg);
}

.panel {
  background: var(--navy-800);
  color: #c3d1dc;
  border-radius: var(--radius);
  padding: 32px;
}
.panel h2, .panel h3 { color: var(--white); }
.panel a { color: #ffb0b0; }
.panel a.btn-primary, .panel a.btn-primary:hover { color: var(--navy-900); }

.steps { counter-reset: step; display: grid; gap: 18px; }
.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
}
.step::before {
  content: counter(step);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy-100);
  color: var(--navy-800);
  display: grid; place-items: center;
  font-weight: 700;
  font-family: var(--serif);
  font-size: 1.1rem;
}
.step h3 { margin: 6px 0 4px; }
.step p { color: var(--muted); margin: 0; }

/* ---------- App showcase ---------- */
.app-feature {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px;
}
@media (min-width: 820px) {
  .app-feature { grid-template-columns: 180px 1fr; }
}
.app-icon {
  width: 160px; height: 160px;
  border-radius: 36px;
  box-shadow: 0 18px 40px rgba(11,23,52,0.25);
}
.badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: #ffeaea;
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 10px;
}
.platforms { color: var(--muted); font-size: 0.95rem; margin-top: -0.3em; }

/* ---------- CTA band ---------- */
.cta {
  background: var(--navy-800);
  color: #c3d1dc;
  padding: 64px 0;
}
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta h2 { color: var(--white); margin: 0 0 6px; }
.cta p { margin: 0; }

/* ---------- Prose pages ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }
.meta { color: var(--muted); font-size: 0.95rem; }

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.contact-email {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 4vw, 1.9rem);
  word-break: break-word;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: #9fb3c2;
  padding: 48px 0 36px;
  font-size: 0.95rem;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}
.site-footer a { color: #c3d1dc; text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-brand { color: var(--white); font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 1.15rem; margin-bottom: 4px; display: flex; align-items: center; gap: 10px; }
.footer-tile { background: var(--white); border-radius: 10px; padding: 6px 7px; display: inline-flex; }
.footer-tile img { width: 36px; height: auto; }
.about-logo { width: 220px; max-width: 70%; margin: 0 auto 20px; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: 64px 0 72px; }
  .section { padding: 56px 0; }
  .app-feature { padding: 24px; }
  .app-icon { width: 120px; height: 120px; border-radius: 28px; }
  .nav { gap: 2px 16px; }
  .site-header { position: static; }
  .brand { font-size: 1.15rem; }
  .brand-logo { width: 46px; }
}