/* ClaimYears — public site (homepage, legal, login). Mobile-first. */

:root {
  --ink: #1a1a2e;
  --body: #4b5563;
  --muted: #6b7280;
  --faint: #9ca3af;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --line: #e5e7eb;
  --wash: #f8f9fb;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 720px; }

a { color: var(--accent); text-decoration: none; }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.wordmark { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.header-nav { display: flex; align-items: center; gap: 18px; }
.nav-login { font-size: 14px; font-weight: 600; color: var(--ink); }
.nav-login:hover { color: var(--accent); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: none; border-radius: 999px; cursor: pointer;
  font-family: inherit; font-weight: 700; text-align: center;
  transition: background 0.15s ease, transform 0.1s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-primary:active { transform: scale(0.98); }
.btn-sm { font-size: 14px; padding: 10px 20px; }
.btn-lg { font-size: 17px; padding: 17px 34px; width: 100%; }
.btn-ghost {
  background: #fff; color: var(--ink);
  border: 1.5px solid var(--line); font-weight: 600;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- hero ---------- */

.hero { padding: 52px 0 40px; text-align: center; }
.eyebrow {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(30px, 6.4vw, 46px);
  line-height: 1.14; letter-spacing: -0.025em; font-weight: 800;
  max-width: 700px; margin: 0 auto 16px;
}
.hero .sub {
  font-size: clamp(16px, 2.4vw, 18px); color: var(--body);
  max-width: 540px; margin: 0 auto 28px;
}
.hero-cta { max-width: 380px; margin: 0 auto; }
.hero .fine { font-size: 13px; color: var(--muted); margin-top: 14px; }
.hero .fine .lock { margin-right: 4px; }

/* trust seals (shared with funnel design) */
.trust-seals {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(18px, 6vw, 56px); margin: 40px auto 0; max-width: 560px;
}
.seal { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.seal--award svg { width: 92px; height: 92px; display: block; }
.seal--users { flex-direction: row; align-items: center; gap: 6px; }
.laurel { display: flex; flex-shrink: 0; }
.laurel svg { width: 20px; height: 56px; }
.laurel--left { transform: scaleX(-1); }
.seal-users-text { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.su-label {
  display: block; font-size: 13.5px; font-weight: 800;
  line-height: 1.3; color: #111827; text-align: center;
}
.su-stars { color: #1f2937; font-size: 11px; letter-spacing: 2.5px; line-height: 1; }
.seal--medical { gap: 5px; }
.med-emblem { display: flex; }
.med-emblem svg { width: 48px; height: 48px; }
.sm-title { font-size: 9px; font-weight: 700; letter-spacing: 0.07em; color: #374151; text-align: center; }
.sm-sub { font-size: 8.5px; font-weight: 500; letter-spacing: 0.05em; color: var(--faint); margin-top: -1px; text-align: center; }

/* ---------- sections ---------- */

.section { padding: 56px 0; }
.section--wash { background: var(--wash); }
.section h2 {
  font-size: clamp(24px, 4.4vw, 32px); font-weight: 800;
  letter-spacing: -0.02em; text-align: center; margin-bottom: 10px;
}
.section .section-sub {
  text-align: center; color: var(--body); max-width: 520px;
  margin: 0 auto 36px; font-size: 15.5px;
}

/* how it works */
.steps { display: grid; gap: 16px; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 26px 22px;
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 999px;
  background: #eaf0fe; color: var(--accent);
  font-size: 15px; font-weight: 800; margin-bottom: 14px;
}
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.01em; }
.step p { font-size: 14.5px; color: var(--body); }

/* pricing */
.price-card {
  max-width: 460px; margin: 0 auto; background: #fff;
  border: 1.5px solid var(--line); border-radius: 20px;
  padding: 34px 28px; text-align: center;
  box-shadow: 0 10px 30px rgba(26, 26, 46, 0.06);
}
.price-card .plan-name { font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.price-figure { font-size: 52px; font-weight: 800; letter-spacing: -0.03em; margin: 8px 0 2px; }
.price-figure .cur { font-size: 26px; vertical-align: 18px; font-weight: 700; }
.price-note { font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.price-features { list-style: none; text-align: left; margin: 0 auto 26px; max-width: 330px; }
.price-features li {
  padding: 8px 0 8px 30px; font-size: 15px; color: var(--body);
  position: relative; border-bottom: 1px solid #f1f2f4;
}
.price-features li:last-child { border-bottom: none; }
.price-features li::before {
  content: '✓'; position: absolute; left: 4px; color: var(--accent); font-weight: 800;
}
.guarantee { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; font-size: 13.5px; color: var(--muted); }

/* reviews */
.reviews { display: grid; gap: 16px; }
@media (min-width: 720px) { .reviews { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.review-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px 22px;
}
.review-stars { color: #f59e0b; letter-spacing: 2px; font-size: 13px; margin-bottom: 10px; }
.review-card blockquote { font-size: 15px; color: var(--ink); font-style: italic; margin-bottom: 12px; }
.review-card figcaption { font-size: 13.5px; color: var(--muted); font-weight: 600; }

/* faq */
.faq { max-width: 640px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  padding: 18px 2px; font-size: 16px; font-weight: 600; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; font-weight: 400; color: var(--faint); flex-shrink: 0; }
.faq details[open] summary::after { content: '–'; }
.faq .faq-a { padding: 0 2px 18px; font-size: 14.5px; color: var(--body); }

/* bottom cta */
.bottom-cta { text-align: center; }
.bottom-cta .hero-cta { margin-top: 8px; }

/* ---------- footer ---------- */

.site-footer { background: var(--ink); color: #cbd2dc; padding: 44px 0 34px; }
.site-footer .wordmark { color: #fff; display: block; margin-bottom: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 22px; }
.footer-links a { color: #cbd2dc; font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer-disclaimer { font-size: 12px; line-height: 1.7; color: #8b93a3; max-width: 640px; margin-bottom: 18px; }
.footer-copy { font-size: 12.5px; color: #8b93a3; }

/* ---------- legal / simple pages ---------- */

.page { padding: 44px 0 72px; }
.page h1 { font-size: clamp(26px, 5vw, 34px); letter-spacing: -0.02em; margin-bottom: 6px; }
.page .updated { font-size: 13.5px; color: var(--muted); margin-bottom: 32px; }
.page h2 { font-size: 19px; margin: 30px 0 10px; letter-spacing: -0.01em; }
.page p, .page li { font-size: 15px; color: var(--body); margin-bottom: 12px; }
.page ul { padding-left: 22px; margin-bottom: 12px; }
.page li { margin-bottom: 6px; }

/* ---------- login ---------- */

.login-card {
  max-width: 420px; margin: 56px auto; background: #fff;
  border: 1px solid var(--line); border-radius: 20px; padding: 36px 28px;
  box-shadow: 0 10px 30px rgba(26, 26, 46, 0.05);
}
.login-card h1 { font-size: 23px; letter-spacing: -0.01em; margin-bottom: 8px; }
.login-card .lead { font-size: 14.5px; color: var(--body); margin-bottom: 24px; }
.login-card label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.login-card input {
  width: 100%; height: 52px; border: 1.5px solid var(--line); border-radius: 12px;
  padding: 0 16px; font-size: 16px; font-family: inherit; margin-bottom: 14px;
  outline: none;
}
.login-card input:focus { border-color: var(--accent); }
.login-msg { font-size: 14px; margin-top: 14px; display: none; }
.login-msg.ok { display: block; color: #047857; }
.login-msg.err { display: block; color: #b91c1c; }
.login-alt { font-size: 13.5px; color: var(--muted); margin-top: 22px; text-align: center; }
