/* Pathway landing site — brand-matched to the app.
   Indigo #5B73E8 / navy #1F2A55 / airy light canvas, SF system stack. */

:root {
  --indigo: #5B73E8;
  --indigo-deep: #4338CA;
  --indigo-soft: #EEF1FE;
  --navy: #1F2A55;
  --ink: #2A3564;
  --muted: #6B7394;
  --canvas: #F4F6FB;
  --card: #FFFFFF;
  --line: #E4E8F4;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(31, 42, 85, 0.10);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ---------- Nav ---------- */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 246, 251, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; max-width: 1120px; margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand span { font-weight: 700; font-size: 1.15rem; color: var(--navy); letter-spacing: -0.01em; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--indigo); }
.nav-cta {
  background: var(--indigo); color: #fff !important; padding: 8px 18px;
  border-radius: 999px; font-weight: 600 !important;
}
.nav-cta:hover { background: var(--indigo-deep); color: #fff !important; }
@media (max-width: 640px) { .nav-links a:not(.nav-cta) { display: none; } }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, #6366F1 0%, #4338CA 100%);
  color: #fff; overflow: hidden; position: relative;
}
.hero-inner {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center;
  padding: 84px 24px 0; max-width: 1120px; margin: 0 auto;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.08;
  font-weight: 800; letter-spacing: -0.02em; margin-bottom: 18px;
}
.hero p.lede { font-size: 1.2rem; opacity: 0.92; max-width: 34rem; margin-bottom: 30px; }
.hero-badges { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 26px; }
.store-badge img { height: 54px; width: auto; }
.store-badge { display: inline-block; transition: transform 0.15s ease; }
.store-badge:hover { transform: translateY(-2px); }
.store-badge.pending { opacity: 0.85; pointer-events: none; }
.hero-note { font-size: 0.85rem; opacity: 0.78; }
.hero-shot { margin-bottom: -6px; align-self: end; }
.hero-shot img {
  width: 100%; max-width: 380px; margin: 0 auto;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -12px 50px rgba(11, 13, 23, 0.35);
}
@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 60px; text-align: center; }
  .hero p.lede { margin: 0 auto 30px; }
  .hero-badges { justify-content: center; }
}

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.kicker {
  display: inline-block; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--indigo);
  background: var(--indigo-soft); padding: 5px 14px; border-radius: 999px; margin-bottom: 14px;
}
h2.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800;
  letter-spacing: -0.02em; color: var(--navy); margin-bottom: 12px;
}
p.section-sub { color: var(--muted); max-width: 40rem; font-size: 1.05rem; }
.center { text-align: center; }
.center p.section-sub { margin: 0 auto; }

/* Feature grid */
.grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px;
}
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
}
.card .icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--indigo-soft); font-size: 1.3rem; margin-bottom: 14px;
}
.card h3 { font-size: 1.08rem; color: var(--navy); margin-bottom: 6px; font-weight: 700; }
.card p { font-size: 0.95rem; color: var(--muted); }

/* Screenshot band */
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 44px; }
@media (max-width: 900px) { .shots { grid-template-columns: repeat(2, 1fr); } }
.shots img { border-radius: 20px; box-shadow: var(--shadow); }

/* Plus section */
.plus {
  background: linear-gradient(135deg, #5E68EE 0%, #3B3FC4 100%);
  border-radius: 28px; color: #fff; padding: 60px 48px;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 44px; align-items: center;
}
@media (max-width: 820px) { .plus { grid-template-columns: 1fr; padding: 44px 28px; } }
.plus .kicker { background: rgba(255,255,255,0.16); color: #fff; }
.plus h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.plus ul { list-style: none; margin-top: 22px; display: grid; gap: 14px; }
.plus li { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; }
.plus li span.tick {
  flex: none; width: 26px; height: 26px; border-radius: 999px;
  background: rgba(255,255,255,0.18); display: grid; place-items: center; font-size: 0.8rem;
}
.plus li p { opacity: 0.85; font-size: 0.92rem; }
.plus-price { font-size: 0.9rem; opacity: 0.85; margin-top: 24px; }
.plus img { border-radius: 20px; box-shadow: 0 18px 60px rgba(11,13,23,0.4); }

/* Mac band */
.mac-band img { border-radius: 20px; box-shadow: var(--shadow); margin-top: 44px; }

/* FAQ */
details {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 22px; margin-top: 14px;
}
details summary {
  cursor: pointer; font-weight: 600; color: var(--navy); list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--indigo); font-size: 1.3rem; font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin-top: 10px; font-size: 0.97rem; }
details ul.faq-list {
  color: var(--muted); margin-top: 10px; font-size: 0.97rem;
  list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px;
}
details ul.faq-list li { padding-left: 18px; position: relative; }
details ul.faq-list li::before { content: "✓"; position: absolute; left: 0; color: var(--indigo); font-weight: 700; }

/* Final CTA */
.cta-final {
  background: linear-gradient(135deg, #6366F1 0%, #4338CA 100%);
  border-radius: 28px; text-align: center; color: #fff; padding: 70px 28px;
}
.cta-final h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; margin-bottom: 8px; }
.cta-final p { opacity: 0.9; }
.cta-final .store-badge { margin-top: 26px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 44px 0 60px; margin-top: 40px; }
.foot { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.foot .brand img { width: 28px; height: 28px; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot a { color: var(--muted); text-decoration: none; font-size: 0.92rem; }
.foot a:hover { color: var(--indigo); }
.foot .fine { color: var(--muted); font-size: 0.82rem; margin-top: 14px; max-width: 44rem; }

/* ---------- Legal / support pages ---------- */
.page { max-width: 760px; margin: 0 auto; padding: 60px 24px 80px; }
.page h1 { font-size: 2.2rem; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; margin-bottom: 8px; }
.page p.updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 34px; }
.policy-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 24px 26px; margin-bottom: 16px;
}
.policy-card h2 { font-size: 1.12rem; color: var(--navy); margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.policy-card h2 .dot {
  width: 34px; height: 34px; flex: none; border-radius: 10px; background: var(--indigo-soft);
  display: grid; place-items: center; font-size: 1rem;
}
.policy-card p { color: var(--muted); font-size: 0.97rem; }
.policy-card a { color: var(--indigo); font-weight: 600; text-decoration: none; }
.back-home { display: inline-block; margin-bottom: 26px; color: var(--indigo); text-decoration: none; font-weight: 600; }
