/* Imaravigour landing page styles */
:root {
  --brand: #b83232;          /* derived from logo #EC4848, darkened for WCAG AA */
  --brand-bright: #ec4848;
  --brand-deep: #8f2626;
  --ink: #1c232b;
  --ink-soft: #3d4852;
  --muted: #57616d;
  --line: #e5e9ee;
  --bg: #ffffff;
  --bg-tint: #f7f8fa;
  --bg-warm: #fdf5f5;
  --card: #ffffff;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 8px 24px -12px rgba(16, 24, 40, .14);
  --max: 1120px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.015em; }
h1 { font-size: clamp(2rem, 5.2vw, 3.15rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.05rem); text-align: center; }
h3 { font-size: 1.06rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid rgba(184, 50, 50, .45); outline-offset: 2px; border-radius: 6px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section.tint { background: var(--bg-tint); }
.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section-head p { color: var(--ink-soft); margin: 0; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--brand-deep); margin-bottom: 12px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 10px; font-weight: 600; font-size: .98rem;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 16px -6px rgba(184,50,50,.5); }
.btn-primary:hover { background: var(--brand-deep); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { background: #fbeaea; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-outline-light:hover { border-color: #fff; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 20px;
  height: 64px; display: flex; align-items: center; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.brand span { font-weight: 800; font-size: 1.12rem; color: var(--ink); letter-spacing: -.01em; }
.brand span em { font-style: normal; color: var(--brand); }
.nav-links { display: none; align-items: center; gap: 26px; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav-links a:hover { color: var(--brand); }
.nav .btn { padding: 10px 18px; font-size: .92rem; }
@media (min-width: 760px) { .nav-links { display: flex; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(720px 380px at 88% -10%, rgba(236, 72, 72, .10), transparent 60%),
    radial-gradient(560px 320px at -8% 30%, rgba(236, 72, 72, .06), transparent 60%),
    var(--bg);
  padding: 84px 0 92px;
}
.hero-inner { display: grid; gap: 48px; align-items: center; }
@media (min-width: 940px) {
  .hero-inner { grid-template-columns: 1.05fr .95fr; }
  .hero { padding: 104px 0 112px; }
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-warm); border: 1px solid #f3d4d4; color: var(--brand-deep);
  font-size: .82rem; font-weight: 600; padding: 6px 14px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 { margin-bottom: 18px; }
.hero .lead { font-size: 1.14rem; color: var(--ink-soft); max-width: 34em; margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-note { font-size: .9rem; color: var(--ink-soft); margin: 0; }
.hero-note a { font-weight: 600; text-decoration: none; }
.hero-note a:hover { text-decoration: underline; }

/* Hero visual: card stack */
.hero-visual { position: relative; display: flex; justify-content: center; }
.record-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); width: min(420px, 100%); overflow: hidden;
}
.record-card .rc-head {
  display: flex; align-items: center; gap: 10px; padding: 14px 18px;
  border-bottom: 1px solid var(--line); background: var(--bg-tint);
  font-size: .82rem; font-weight: 600; color: var(--ink-soft);
}
.rc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-bright); }
.rc-body { padding: 18px; display: grid; gap: 12px; }
.rc-row { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; }
.rc-label { font-size: .76rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.rc-bar { height: 10px; border-radius: 6px; background: #e9edf2; }
.rc-bar.b1 { width: 82%; } .rc-bar.b2 { width: 64%; } .rc-bar.b3 { width: 92%; }
.rc-bar.brand { background: linear-gradient(90deg, var(--brand-bright), #f08383); width: 48%; }
.rc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.rc-chip {
  font-size: .74rem; font-weight: 500; padding: 4px 11px; border-radius: 999px;
  background: var(--bg-tint); color: var(--ink-soft); border: 1px solid var(--line);
}

/* ---------- Why digitize strip ---------- */
.pain-grid { display: grid; gap: 20px; }
@media (min-width: 820px) { .pain-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.pain {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px;
}
.pain h3 { margin-bottom: 8px; }
.pain p { color: var(--ink-soft); margin: 0; font-size: .96rem; }
.pain .glyph {
  width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center;
  background: var(--bg-warm); color: var(--brand); margin-bottom: 16px;
}

/* ---------- Features ---------- */
.feat-grid { display: grid; gap: 18px; }
@media (min-width: 680px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .feat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1180px) { .feat-grid { grid-template-columns: repeat(4, 1fr); gap: 22px; } }
.feat {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease;
}
.feat:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #ecd9d9; }
.feat .glyph {
  width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center;
  background: var(--bg-warm); color: var(--brand); margin-bottom: 14px;
}
.feat h3 { font-size: 1rem; margin-bottom: 8px; }
.feat ul { margin: 0; padding: 0; list-style: none; }
.feat li {
  position: relative; padding-left: 16px; font-size: .88rem; color: var(--ink-soft); margin-bottom: 4px;
}
.feat li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand-bright); opacity: .65;
}

/* ---------- Onboarding ---------- */
.steps { display: grid; gap: 24px; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 30px; } }
.step { position: relative; padding-top: 8px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--brand); color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: 16px;
  box-shadow: 0 6px 14px -6px rgba(184,50,50,.45);
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--ink-soft); margin: 0; font-size: .95rem; }

/* ---------- Why section ---------- */
.why-grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .why-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; } }
.why-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: flex; gap: 16px; align-items: flex-start;
}
.why-card .glyph {
  flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  background: var(--bg-warm); color: var(--brand);
}
.why-card h3 { font-size: 1rem; margin: 0 0 6px; }
.why-card p { margin: 0; color: var(--ink-soft); font-size: .94rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--brand-deep), var(--brand) 55%, #d95c5c);
  color: #fff; border-radius: 20px; padding: 52px 28px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; right: -90px; top: -90px; width: 260px; height: 260px;
  border-radius: 50%; background: rgba(255,255,255,.08);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.88); max-width: 40em; margin: 0 auto 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta-mail { display: inline-block; margin-top: 22px; color: rgba(255,255,255,.92); font-weight: 600; text-decoration: none; font-size: .95rem; }
.cta-mail:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 34px 0 42px; background: var(--bg-tint); }
.footer-inner {
  display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center;
}
@media (min-width: 700px) {
  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}
.footer .brand span { font-size: 1rem; }
.footer a { text-decoration: none; font-weight: 600; }
.footer a:hover { text-decoration: underline; }
.footer .copy { color: var(--muted); font-size: .88rem; margin: 0; }

/* ---------- Helpers ---------- */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
