/* Repd website: navy + Carolina blue, matching the app. */
:root {
  --navy: #13294B;
  --navy-deep: #0A1A33;
  --carolina: #4B9CD3;
  --carolina-deep: #2B77AE;
  --mist: #EEF4FA;
  --ink: #13294B;
  --muted: #56688A;
  --line: #D3E0EE;
  --white: #FFFFFF;
  --radius: 20px;
  --display: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--mist); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--carolina-deep); }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(19, 41, 75, 0.92); backdrop-filter: blur(12px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); font-family: var(--display); font-weight: 900; font-size: 26px; letter-spacing: -0.5px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand .word { font-weight: inherit; }
.brand .dot { color: var(--carolina); }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { color: rgba(255, 255, 255, 0.85); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--white); }
.nav .btn { padding: 9px 16px; font-size: 14px; }
@media (max-width: 720px) { .nav a:not(.btn) { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--carolina); color: var(--navy); font-weight: 800; text-decoration: none; border: 0; border-radius: 14px; padding: 15px 24px; font-size: 16px; cursor: pointer; font-family: var(--body); transition: transform 0.15s ease, filter 0.15s ease; }
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--carolina); outline-offset: 2px; }
.btn.ghost { background: transparent; color: var(--white); border: 1.5px solid rgba(255, 255, 255, 0.4); }

/* Hero */
.hero { background: linear-gradient(150deg, #2B5F8F 0%, var(--navy) 55%, var(--navy-deep) 100%); color: var(--white); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: 13px; font-weight: 800; color: var(--carolina); margin: 0 0 14px; }
h1 { font-family: var(--display); font-size: clamp(40px, 6vw, 68px); line-height: 1.02; letter-spacing: -1.5px; margin: 0 0 20px; font-weight: 900; text-wrap: balance; }
.hero p.lead { font-size: 20px; color: rgba(255, 255, 255, 0.82); margin: 0 0 30px; max-width: 34ch; }
.hero-phone { justify-self: center; width: min(320px, 80%); border-radius: 44px; box-shadow: 0 30px 80px rgba(75, 156, 211, 0.35); border: 6px solid rgba(255, 255, 255, 0.12); }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; text-align: center; padding-top: 48px; } .hero p.lead { margin-left: auto; margin-right: auto; } .waitlist { margin: 0 auto; } }

/* Waitlist form */
.waitlist { display: flex; gap: 10px; max-width: 460px; flex-wrap: wrap; }
.waitlist input[type="email"] { flex: 1 1 220px; min-width: 0; padding: 15px 16px; border-radius: 14px; border: 1.5px solid rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.1); color: var(--white); font-size: 16px; }
.waitlist input::placeholder { color: rgba(255, 255, 255, 0.6); }
.form-note { font-size: 13px; color: rgba(255, 255, 255, 0.65); margin-top: 10px; }
.hidden { display: none; }

/* Sections */
section { padding: 88px 0; }
h2 { font-family: var(--display); font-size: clamp(30px, 4vw, 44px); line-height: 1.1; letter-spacing: -1px; margin: 0 0 14px; font-weight: 900; text-wrap: balance; }
.section-lead { color: var(--muted); font-size: 18px; max-width: 60ch; margin: 0 0 48px; }
.center { text-align: center; }
.center .section-lead { margin-left: auto; margin-right: auto; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.step .num { width: 40px; height: 40px; border-radius: 50%; background: var(--carolina); color: var(--navy); display: grid; place-items: center; font-weight: 900; font-size: 18px; margin-bottom: 16px; }
.step h3, .feature h3 { margin: 0 0 6px; font-size: 19px; }
.step p, .feature p { margin: 0; color: var(--muted); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 26px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.feature .icon { font-size: 28px; margin-bottom: 12px; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* Screenshots */
.shots { display: flex; gap: 20px; overflow-x: auto; padding: 8px 4px 20px; scroll-snap-type: x mandatory; }
.shots img { width: 230px; flex: 0 0 auto; border-radius: 30px; scroll-snap-align: center; box-shadow: 0 16px 40px rgba(19, 41, 75, 0.18); }

/* Dark band */
.band { background: var(--navy); color: var(--white); }
.band .section-lead { color: rgba(255, 255, 255, 0.75); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; }
.checklist li::before { content: "✓"; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--carolina); color: var(--navy); display: grid; place-items: center; font-weight: 900; font-size: 14px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.plan.best { border: 2px solid var(--carolina); }
.plan .badge { position: absolute; top: -13px; left: 24px; background: var(--carolina); color: var(--navy); font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 99px; }
.plan .price { font-family: var(--display); font-size: 38px; font-weight: 900; }
.plan .price small { font-size: 16px; color: var(--muted); font-weight: 600; }
.plan ul { padding-left: 18px; margin: 8px 0 0; color: var(--muted); }
.fine { font-size: 13px; color: var(--muted); margin-top: 20px; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
details { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; margin-bottom: 12px; }
summary { font-weight: 700; cursor: pointer; font-size: 17px; }
details p { color: var(--muted); margin: 12px 0 0; }

/* CTA + footer */
.cta { background: linear-gradient(150deg, #2B5F8F, var(--navy) 60%); color: var(--white); text-align: center; }
.cta .waitlist { margin: 0 auto; }
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.7); padding: 40px 0; font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; align-items: center; }
.site-footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; margin-right: 18px; }
.site-footer a:hover { color: var(--white); }

/* Legal / support pages */
.doc { background: var(--white); max-width: 820px; margin: 48px auto; padding: 48px clamp(20px, 5vw, 56px); border-radius: var(--radius); border: 1px solid var(--line); }
.doc h1 { font-size: clamp(32px, 5vw, 46px); color: var(--navy); }
.doc h2 { font-size: 24px; margin-top: 36px; }
.doc p, .doc li { color: #2C3E5C; }
.doc .updated { color: var(--muted); font-size: 14px; margin-top: -8px; }
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.contact-card { background: var(--mist); border-radius: 16px; padding: 20px 24px; margin: 20px 0; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

@media (max-width: 860px) { .doc { margin: 20px 14px; } }
