/* Arik Health — Concept #3: Human Clarity — production stylesheet */
:root {
  --arik-slate: #1F3D5A;
  --arik-emerald: #0FA68E;
  --arik-sky: #7EC6F4;
  --arik-stone: #F1F4F6;
  --arik-offwhite: #FAFBFC;
  --arik-white: #FFFFFF;

  --arik-text: var(--arik-slate);
  --arik-accent: var(--arik-emerald);
  --arik-surface: var(--arik-offwhite);
  --arik-surface-muted: var(--arik-stone);
  --muted: #5B7186;
  --line: rgba(31,61,90,0.12);
  --mono: 'JetBrains Mono', monospace;

  --arik-heading-font: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --arik-body-font: "Source Sans 3", "Source Sans Pro", "Segoe UI", sans-serif;

  --arik-radius-sm: 12px;
  --arik-radius-md: 20px;
  --arik-radius-lg: 32px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--arik-body-font); color: var(--arik-text); background: var(--arik-offwhite); line-height: 1.55; }
a { color: inherit; }
img, svg { max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
section { padding: 100px 0; }
h1, h2, h3 { font-family: var(--arik-heading-font); font-weight: 600; line-height: 1.2; color: var(--arik-slate); }
:focus-visible { outline: 2px solid var(--arik-emerald); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* Nav */
nav { position: sticky; top: 0; z-index: 50; background: rgba(250,251,252,0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
nav .navrow { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.brand-logo { height: 34px; display: block; }
.navlinks { display: flex; gap: 30px; align-items: center; }
.navlinks a { color: var(--muted); font-size: 14.5px; text-decoration: none; transition: color 0.15s; font-family: var(--arik-body-font); }
.navlinks a:hover, .navlinks a.active { color: var(--arik-slate); font-weight: 600; }
.navcta { background: var(--arik-emerald); color: #fff !important; font-size: 13.5px; font-weight: 600; padding: 10px 20px; border-radius: 999px; text-decoration: none; }
.navtoggle { display: none; background: none; border: none; color: var(--arik-slate); font-size: 24px; cursor: pointer; padding: 4px; }

@media (max-width: 780px) {
  .navtoggle { display: block; }
  .navlinks { position: absolute; top: 100%; left: 0; right: 0; background: var(--arik-offwhite); border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; gap: 0; max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
  .navlinks.open { max-height: 420px; }
  .navlinks a, .navlinks .navcta { width: 100%; padding: 14px 32px; border-top: 1px solid var(--line); border-radius: 0; text-align: left; }
}

/* Buttons */
.btn { padding: 14px 28px; border-radius: 999px; font-size: 14.5px; font-weight: 600; text-decoration: none; display: inline-block; border: none; cursor: pointer; font-family: var(--arik-body-font); }
.btn-primary { background: var(--arik-emerald); color: #fff; }
.btn-ghost { background: transparent; color: var(--arik-slate); border: 1px solid rgba(31,61,90,0.22); }
.btn-dark { background: var(--arik-slate); color: #fff; }
.btnrow { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

/* Hero — Slate Blue, bold and dark, vivid glow behind the receipt card */
.hero { background: radial-gradient(140% 100% at 15% 0%, #274B6E 0%, var(--arik-slate) 55%, #16293D 100%); padding: 96px 0 100px; overflow: hidden; position: relative; }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(6px); z-index: 0; }
.hero-blob-a { width: 480px; height: 480px; background: radial-gradient(circle, rgba(126,198,244,0.55), rgba(126,198,244,0)); top: -140px; right: -80px; }
.hero-blob-b { width: 380px; height: 380px; background: radial-gradient(circle, rgba(15,166,142,0.55), rgba(15,166,142,0)); bottom: -160px; right: 200px; }
.hero .grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: #6FE3C7; margin-bottom: 18px; }
.hero h1 { font-size: 46px; margin-bottom: 20px; color: #fff; }
.hero h1 .accent { color: #6FE3C7; }
.hero p.lede { font-size: 17px; line-height: 1.7; color: #C4D6E4; max-width: 480px; margin-bottom: 34px; }
.hero .btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,0.35); }
.trust-tags { display: flex; gap: 10px; margin-top: 30px; flex-wrap: wrap; }
.trust-tag { font-size: 12.5px; font-weight: 600; color: #fff; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); padding: 7px 14px; border-radius: 999px; }

/* Page hero (sub-pages, lighter still) */
.pagehero { background: var(--arik-stone); padding: 64px 0; }
.pagehero h1 { font-size: 34px; margin-bottom: 12px; }
.pagehero p { font-size: 16px; color: var(--muted); max-width: 560px; line-height: 1.7; }

/* Receipt / trust card — signature element, restyled to brand */
.receipt { background: #fff; color: var(--arik-slate); border-radius: var(--arik-radius-md); padding: 22px; border: 1px solid rgba(31,61,90,0.08); box-shadow: 0 12px 40px rgba(31,61,90,0.07); }
.receipt .tag { font-size: 10px; color: var(--muted); font-family: var(--mono); letter-spacing: 1px; margin-bottom: 12px; }
.receipt .title { font-size: 16px; font-weight: 600; margin-bottom: 14px; font-family: var(--arik-heading-font); }
.receipt .pills { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 14px; }
.pill { font-size: 10px; background: var(--arik-stone); color: var(--muted); padding: 5px 10px; border-radius: 999px; font-family: var(--mono); }
.receipt .verdict { border-top: 1px solid var(--line); padding-top: 13px; font-size: 12px; color: var(--arik-emerald); font-weight: 600; display: flex; align-items: center; gap: 6px; }

/* Hero price comparison */
.compare-row { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.compare-item { flex: 1; }
.compare-label { font-size: 11px; color: var(--muted); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.5px; }
.compare-value { font-family: var(--arik-heading-font); font-size: 26px; font-weight: 700; }
.compare-value span { font-size: 12px; font-weight: 400; color: var(--muted); }
.compare-value.strike { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(91,113,134,0.5); }
.compare-value.win { color: var(--arik-emerald); }
.compare-arrow { color: var(--arik-sky); font-size: 20px; flex-shrink: 0; }
.save-badge { display: inline-block; background: rgba(15,166,142,0.12); color: var(--arik-emerald); font-size: 12px; font-weight: 700; padding: 6px 14px; border-radius: 999px; margin-bottom: 4px; }

/* Problem section */
.problem { background: #fff; }
.problem h2 { font-size: 30px; max-width: 680px; margin-bottom: 20px; }
.problem p { font-size: 15.5px; line-height: 1.8; color: var(--muted); max-width: 640px; margin-bottom: 16px; }
.prow { display: flex; gap: 20px; margin-top: 44px; }
.pcard { flex: 1; background: linear-gradient(160deg, rgba(126,198,244,0.10), rgba(15,166,142,0.06)); border: 1px solid var(--line); border-radius: var(--arik-radius-md); padding: 24px; }
.pcard i { font-size: 22px; color: var(--arik-emerald); margin-bottom: 12px; display: block; }
.pcard .t { font-weight: 600; font-size: 14.5px; margin-bottom: 6px; font-family: var(--arik-heading-font); }
.pcard .d { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* How it works */
.how { background: var(--arik-stone); }
.how h2 { font-size: 28px; margin-bottom: 12px; }
.how .sub { font-size: 14.5px; color: var(--muted); margin-bottom: 44px; max-width: 560px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.step .num { font-family: var(--mono); font-size: 12px; color: var(--arik-emerald); margin-bottom: 10px; }
.step .t { font-size: 15px; font-weight: 600; margin-bottom: 8px; font-family: var(--arik-heading-font); }
.step .d { font-size: 13px; color: var(--muted); line-height: 1.6; }

.stepblock { display: flex; gap: 28px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.stepblock:last-child { border-bottom: none; }
.stepblock .num { font-family: var(--mono); font-size: 13px; color: var(--arik-emerald); flex-shrink: 0; width: 44px; padding-top: 3px; }
.stepblock .t { font-size: 19px; font-weight: 600; margin-bottom: 10px; font-family: var(--arik-heading-font); }
.stepblock .d { font-size: 14.5px; color: var(--muted); line-height: 1.75; max-width: 620px; }

.callout { background: var(--arik-offwhite); border: 1px solid var(--line); border-radius: var(--arik-radius-md); padding: 28px 32px; margin-top: 20px; }
.callout .t { font-size: 15px; font-weight: 600; margin-bottom: 8px; font-family: var(--arik-heading-font); }
.callout .d { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* Trust band — sky/emerald gradient per brand tokens */
.trustband { background: linear-gradient(90deg, rgba(126,198,244,0.32), rgba(15,166,142,0.26)); padding: 64px 0; text-align: center; }
.trustband .big { font-size: 25px; font-weight: 600; max-width: 700px; margin: 0 auto 12px; line-height: 1.4; color: var(--arik-slate); font-family: var(--arik-heading-font); }
.trustband .small { font-size: 14px; color: var(--muted); }

/* Demo walkthrough */
.demo { background: #fff; }
.demo-head { max-width: 620px; margin-bottom: 56px; }
.demo-head h2 { font-size: 30px; margin-bottom: 14px; }
.demo-head p { font-size: 15.5px; color: var(--muted); line-height: 1.7; }
.scenes { display: flex; flex-direction: column; gap: 64px; }
.scene { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.scene.rev { direction: rtl; }
.scene.rev > * { direction: ltr; }
.scene .step-badge { display: inline-block; font-size: 11px; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: rgba(15,166,142,0.12); color: var(--arik-emerald); margin-bottom: 14px; }
.scene h3 { font-size: 22px; margin-bottom: 10px; }
.scene p { font-size: 14px; color: var(--muted); line-height: 1.7; }
.mock { background: #fff; border-radius: var(--arik-radius-md); padding: 18px; border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(31,61,90,0.06); }
.mock .price { font-size: 22px; font-weight: 700; color: var(--arik-emerald); margin: 6px 0; font-family: var(--arik-heading-font); }
.mock .legal { background: #FDF3E0; color: #8A5A0E; border-radius: 10px; padding: 10px 12px; font-size: 11.5px; line-height: 1.5; margin-top: 10px; }
.mock .dispute { display: inline-flex; gap: 5px; align-items: center; background: #FBEAE5; color: #9A3B1F; font-size: 10px; font-weight: 600; padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }
.pdf-cta { text-align: center; margin-top: 60px; }
.pdf-cta .btn { padding: 15px 32px; }

/* Coverage page */
.catgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 32px; }
.catcard { background: var(--arik-offwhite); border: 1px solid var(--line); border-radius: var(--arik-radius-md); padding: 22px; }
.catcard .badge { display: inline-block; font-size: 10.5px; font-weight: 600; padding: 3px 12px; border-radius: 999px; margin-bottom: 12px; }
.badge-live { background: rgba(15,166,142,0.14); color: var(--arik-emerald); }
.badge-next { background: var(--arik-stone); color: var(--muted); }
.catcard .t { font-size: 15.5px; font-weight: 600; margin-bottom: 6px; font-family: var(--arik-heading-font); }
.catcard .d { font-size: 13px; color: var(--muted); line-height: 1.65; }

.savings-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 36px; }
.savings-card { background: #fff; border-radius: var(--arik-radius-md); padding: 22px; border: 1px solid var(--line); }
.savings-card .drug { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.savings-card .compare { display: flex; align-items: baseline; gap: 12px; margin: 10px 0 14px; }
.savings-card .to { font-size: 26px; font-weight: 700; color: var(--arik-emerald); font-family: var(--arik-heading-font); }
.savings-card .to span { font-size: 12px; font-weight: 400; color: var(--muted); }

/* Roadmap */
.roadmap-hero-note { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; font-size: 12.5px; margin-top: 18px; color: var(--muted); }
.vision { background: #fff; padding: 70px 0; text-align: center; border-bottom: 1px solid var(--line); }
.vision .arrow-row { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; max-width: 760px; margin: 0 auto; }
.vision .stage { font-size: 15px; font-weight: 600; color: var(--arik-slate); font-family: var(--arik-heading-font); }
.vision .stage.dim { color: var(--muted); font-weight: 500; }
.vision i { color: var(--muted); font-size: 18px; }

/* About / mission */
.mission { background: #fff; }
.mission h2 { font-size: 30px; margin-bottom: 20px; max-width: 680px; }
.mission p { font-size: 15.5px; line-height: 1.85; color: var(--muted); max-width: 640px; margin-bottom: 18px; }

/* Founder section */
.founder { background: var(--arik-stone); }
.founder-grid { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: start; }
.founder-photo-wrap { position: relative; width: 220px; height: 220px; border-radius: var(--arik-radius-lg); overflow: hidden; background: var(--arik-slate); }
.founder-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.founder-photo-fallback { display: none; position: absolute; inset: 0; align-items: center; justify-content: center; font-size: 64px; color: rgba(255,255,255,0.35); }
.founder-photo-wrap.founder-photo-missing .founder-photo { display: none; }
.founder-photo-wrap.founder-photo-missing .founder-photo-fallback { display: flex; }
.founder h2 { font-size: 28px; margin-bottom: 16px; }
.founder-lede { font-size: 16px; line-height: 1.75; color: var(--arik-slate); font-weight: 500; margin-bottom: 16px; }
.founder p { font-size: 14.5px; line-height: 1.8; color: var(--muted); margin-bottom: 14px; max-width: 640px; }

/* Tech stack */
.techstack { background: #fff; border-top: 1px solid var(--line); }
.techstack h2 { font-size: 26px; margin-bottom: 8px; }
.techstack-sub { font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.tech-row { display: flex; flex-wrap: wrap; gap: 12px; }
.tech-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--arik-stone); color: var(--arik-slate); font-size: 14px; font-weight: 600; padding: 10px 18px; border-radius: 999px; }
.tech-badge i { color: var(--arik-emerald); font-size: 17px; }

/* How the AI works */
.how-ai { background: var(--arik-stone); }
.how-ai h2 { font-size: 26px; margin-bottom: 8px; }
.ai-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 28px; }
.ai-point { background: #fff; border: 1px solid var(--line); border-radius: var(--arik-radius-md); padding: 24px; }
.ai-point i { font-size: 22px; color: var(--arik-emerald); margin-bottom: 12px; display: block; }
.ai-point .t { font-weight: 600; font-size: 15px; margin-bottom: 8px; font-family: var(--arik-heading-font); color: var(--arik-slate); }
.ai-point .d { font-size: 13.5px; color: var(--muted); line-height: 1.7; }

/* Product gallery */
.gallery { background: #fff; border-top: 1px solid var(--line); }
.gallery h2 { font-size: 26px; margin-bottom: 8px; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 28px; }
.gallery-item { display: flex; flex-direction: column; align-items: center; }
.gallery-caption { font-size: 13px; font-weight: 600; color: var(--arik-slate); margin-bottom: 14px; text-align: center; font-family: var(--arik-heading-font); }
.gallery-item .mock { width: 100%; max-width: 320px; }

/* Phone shell, reused across gallery mockups */
.phone-shell { background: #1C1C1A; border-radius: 30px; padding: 10px; box-shadow: 0 16px 34px rgba(31,61,90,0.18); max-width: 280px; margin: 0 auto; }
.phone-notch { height: 14px; }
.phone-screen { background: #fff; border-radius: 20px; min-height: 300px; overflow: hidden; font-size: 12px; }

.pharm-title { font-size: 15px; font-weight: 600; padding: 16px 16px 12px; font-family: var(--arik-heading-font); color: var(--arik-slate); }
.pharm-med { background: rgba(15,166,142,0.10); margin: 0 16px 12px; border-radius: 12px; padding: 12px 14px; }
.pharm-med-label { font-size: 10px; color: var(--arik-emerald); margin-bottom: 2px; }
.pharm-med-name { font-size: 16px; font-weight: 600; color: var(--arik-slate); font-family: var(--arik-heading-font); }
.pharm-card { background: var(--arik-stone); margin: 0 16px 12px; border-radius: 12px; padding: 12px 14px; }
.pharm-card-title { font-size: 11.5px; font-weight: 600; margin-bottom: 6px; color: var(--arik-slate); }
.pharm-card-title i { color: #8A5A0E; margin-right: 5px; }
.pharm-card-body { font-size: 11px; line-height: 1.55; color: var(--muted); }
.pharm-verified { display: flex; align-items: center; gap: 5px; padding: 4px 16px 14px; font-size: 10px; color: var(--muted); }

.plan-title { font-size: 15px; font-weight: 600; padding: 18px 16px 4px; font-family: var(--arik-heading-font); color: var(--arik-slate); }
.plan-sub { font-size: 10.5px; color: var(--muted); padding: 0 16px 14px; }
.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 16px 16px; }
.plan-opt { border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 8px; text-align: center; font-size: 10px; font-weight: 600; color: var(--muted); }
.plan-opt i { display: block; font-size: 16px; margin-bottom: 5px; color: var(--muted); }
.plan-opt.selected { border-color: var(--arik-emerald); background: rgba(15,166,142,0.08); color: var(--arik-emerald); }
.plan-opt.selected i { color: var(--arik-emerald); }

/* Status */
.status { background: var(--arik-stone); }
.status h2 { font-size: 26px; margin-bottom: 36px; }
.srow { display: flex; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.srow:last-child { border-bottom: none; }
.dot { width: 9px; height: 9px; border-radius: 50%; margin-top: 6px; flex-shrink: 0; }
.dot.done { background: var(--arik-emerald); }
.dot.next { background: var(--arik-sky); }
.srow .t { font-size: 14.5px; font-weight: 600; margin-bottom: 2px; font-family: var(--arik-heading-font); }
.srow .d { font-size: 13px; color: var(--muted); }

/* Donate */
.donatesection { background: var(--arik-slate); color: #fff; padding: 70px 0; }
.donatebox { max-width: 560px; }
.donatebox h2 { font-size: 26px; margin-bottom: 14px; color: #fff; }
.donatebox p { font-size: 15px; color: #C9D6E0; line-height: 1.75; margin-bottom: 24px; }

/* Footer — Slate Blue per brand guide */
footer { background: var(--arik-slate); color: #C9D6E0; padding: 56px 0 32px; }
footer .frow { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 24px; margin-bottom: 40px; }
footer .footer-logo { height: 30px; margin-bottom: 12px; display: block; }
footer .fdesc { font-size: 13px; max-width: 340px; line-height: 1.6; }
footer .flinks { display: flex; gap: 20px; flex-wrap: wrap; }
footer .flinks a { font-size: 13px; color: #C9D6E0; text-decoration: none; }
footer .flinks a:hover { color: #fff; }
footer .fbottom { font-size: 12px; color: #7E93A6; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; }

@media (max-width: 860px) {
  .hero .grid, .prow, .steps, .scene, .stepblock, .catgrid, .savings-row, .founder-grid, .ai-points, .gallery-grid { grid-template-columns: 1fr; }
  .prow { flex-direction: column; }
  .scene.rev { direction: ltr; }
  .hero h1 { font-size: 32px; }
  .stepblock { flex-direction: column; gap: 8px; }
  .hero .grid { grid-template-columns: 1fr; }
  .hero .mark-anchor { order: -1; margin-bottom: 12px; }
  .vision .arrow-row { flex-direction: column; gap: 10px; }
}
