:root {
  /* Lonvera brand accents (indigo + medical mint) on a light clinical base */
  --primary: #4f46e5;
  --primary-600: #4338ca;
  --primary-soft: #eef1ff;
  --accent: #0ea98a;
  --accent-600: #0b8f74;
  --accent-soft: #e6f7f2;

  /* Light medical surfaces */
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --bg-tint: #eef4fb;
  --surface: #ffffff;
  --text: #33475b;
  --heading: #12263f;
  --muted: #5f7285;
  --muted-2: #8496a8;
  --line: #e3ecf5;
  --line-strong: #d3e0ee;

  --grad: linear-gradient(135deg, #4f46e5, #0ea98a);
  --radius: 16px;
  --shadow-sm: 0 2px 10px rgba(18, 38, 63, 0.05);
  --shadow: 0 12px 34px rgba(18, 38, 63, 0.09);
  --shadow-lift: 0 18px 44px rgba(79, 70, 229, 0.14);
  --maxw: 1120px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { color: var(--heading); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; border-radius: 11px; font-weight: 600; font-size: 15px;
  cursor: pointer; border: 1px solid transparent; transition: all .18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 8px 22px rgba(79, 70, 229, .22); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(14, 169, 138, .28); }
.btn-ghost { background: #fff; color: var(--heading); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-600); }
.btn-lg { padding: 15px 32px; font-size: 16px; }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 9px; }
.btn-beta {
  background: var(--accent-soft); color: var(--accent-600); border-color: rgba(14, 169, 138, .28); gap: 7px;
}
.btn-beta:hover { border-color: var(--accent); background: #dcf3ec; }
.beta-badge {
  font-size: 10px; font-weight: 700; letter-spacing: .5px; line-height: 1;
  padding: 3px 6px; border-radius: 6px; color: #fff;
  background: var(--accent); text-transform: uppercase;
}

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 24px; }
.btn-row.center { justify-content: center; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 20px; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 34px; width: auto; display: block; }
.nav { display: flex; gap: 28px; }
.nav a { color: var(--muted); font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--heading); border-radius: 2px; transition: .2s; }

/* Sections */
.section { padding: 84px 0; }
.section-title { font-size: 34px; font-weight: 800; line-height: 1.22; letter-spacing: -0.01em; }
.section-title.center { text-align: center; }
.section-lead { color: var(--muted); max-width: 700px; margin: 16px auto 0; font-size: 17px; }
.section-lead.center { text-align: center; }
.center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 460px at 78% -12%, rgba(14, 169, 138, .12), transparent 60%),
    radial-gradient(760px 460px at 12% 0%, rgba(79, 70, 229, .1), transparent 58%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
  padding: 92px 0 84px; text-align: center;
  border-bottom: 1px solid var(--line);
}
.hero::after {
  /* subtle ECG pulse line as a medical motif */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 64px; opacity: .5;
  background:
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(14,169,138,.12) 38px 39px);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000);
  mask-image: linear-gradient(180deg, transparent, #000);
}
.hero-inner { position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .4px;
  color: var(--accent-600); background: var(--accent-soft);
  border: 1px solid rgba(14, 169, 138, .22); padding: 7px 15px; border-radius: 999px;
}
.hero-eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px rgba(14, 169, 138, .18);
}
.hero-title {
  font-size: 52px; font-weight: 800; line-height: 1.1; margin: 22px 0 16px;
  color: var(--heading); letter-spacing: -0.02em;
}
.hero-sub { font-size: 19px; color: var(--muted); max-width: 720px; margin: 0 auto; }
.hero-flow {
  display: flex; flex-wrap: wrap; gap: 8px 10px; justify-content: center; align-items: center; margin-top: 44px;
}
.hero-flow span {
  background: #fff; border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 9px 16px; font-weight: 600; font-size: 14px; color: var(--heading); box-shadow: var(--shadow-sm);
}
.hero-flow i { color: var(--accent); font-style: normal; font-weight: 700; }

/* Intro */
.intro { background: var(--bg); }
.intro-title { font-size: 38px; font-weight: 800; line-height: 1.18; letter-spacing: -0.01em; }
.intro-copy p { color: var(--muted); font-size: 17px; }
.intro-copy p + p { margin-top: 16px; }
.intro-slogan {
  color: var(--accent-600) !important; font-weight: 600; font-size: 18px !important;
  padding-left: 16px; border-left: 3px solid var(--accent);
}

/* Card base (medical: white, soft border, gentle shadow) */
.benefit, .feature-card, .step, .segment {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}

/* Benefits */
.benefits { background: var(--bg-soft); }
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 48px; }
.benefit { padding: 28px 22px; transition: .2s; }
.benefit:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.benefit-icon {
  font-size: 24px; width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  background: var(--primary-soft); border: 1px solid #e2e5ff; margin-bottom: 16px;
}
.benefit h3 { font-size: 18px; margin-bottom: 8px; }
.benefit p { color: var(--muted); font-size: 15px; }

/* Stats */
.stats { background: var(--bg); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.stat {
  background: linear-gradient(180deg, #fff, var(--bg-soft));
  border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: 14px; padding: 26px 24px; box-shadow: var(--shadow-sm);
}
.stat-num { font-size: 46px; font-weight: 800; line-height: 1; color: var(--primary); letter-spacing: -0.02em; }
.stat-label { color: var(--muted); margin-top: 12px; font-size: 15px; }

/* Features */
.features { background: var(--bg-soft); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.feature-card { padding: 28px 24px; transition: .2s; position: relative; overflow: hidden; }
.feature-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad); opacity: 0; transition: .2s;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  font-size: 26px; width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--accent-soft); border: 1px solid #d5efe7; margin-bottom: 18px;
}
.feature-card h3 { font-size: 18px; margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 15px; }

/* How it works */
.how { background: var(--bg); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 50px; }
.step { text-align: center; padding: 30px 20px; transition: .2s; }
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.step-num {
  width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center; font-size: 22px; font-weight: 800; color: #fff;
  background: var(--grad); box-shadow: 0 8px 18px rgba(79, 70, 229, .25);
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }
.how-note { margin-top: 40px; color: var(--muted); font-size: 16px; }

/* Segments */
.segments { background: var(--bg-tint); }
.segments-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.segment { padding: 26px; transition: .2s; }
.segment:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(14, 169, 138, .4); }
.segment-tag {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  color: var(--accent-600); background: var(--accent-soft); border: 1px solid rgba(14, 169, 138, .22);
  padding: 5px 12px; border-radius: 999px;
}
.segment h3 { font-size: 18px; margin: 14px 0 8px; }
.segment p { color: var(--muted); font-size: 15px; }
.segments-note {
  margin-top: 44px; font-size: 22px; font-weight: 700; color: var(--accent-600);
}

/* Why */
.why { background: var(--bg); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.why-icon {
  font-size: 24px; width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center;
  background: var(--primary-soft); border: 1px solid #e2e5ff; margin-bottom: 16px;
}
.why-item h3 { font-size: 17px; margin-bottom: 8px; line-height: 1.35; }
.why-item p { color: var(--muted); font-size: 15px; }
.why-slogan { margin-top: 50px; font-size: 28px; font-weight: 800; color: var(--heading); }
.why-slogan span { color: var(--accent-600); }

/* CTA */
.cta {
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(79, 70, 229, .1), transparent 60%),
    linear-gradient(180deg, var(--primary-soft), #ffffff);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.cta-inner { text-align: center; max-width: 780px; }
.cta h2 { font-size: 34px; font-weight: 800; line-height: 1.25; letter-spacing: -0.01em; }
.cta p { margin-top: 16px; font-size: 18px; color: var(--muted); }
.cta-contact { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; margin-top: 32px; font-weight: 600; }
.cta-contact .cta-name { color: var(--heading); }
.cta-contact a { color: var(--accent-600); }
.cta-contact a:hover { text-decoration: underline; }

/* Footer */
.site-footer { background: #12263f; color: #b7c6d6; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .brand-logo { height: 32px; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: .95; }
.footer-brand p { color: #90a2b5; font-size: 14px; max-width: 300px; }
.newsletter { display: flex; gap: 8px; margin: 16px 0 10px; max-width: 340px; }
.newsletter input {
  flex: 1; padding: 11px 14px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .06); color: #fff; font-size: 14px;
}
.newsletter input::placeholder { color: #8fa1b4; }
.newsletter input:focus { outline: none; border-color: var(--accent); }
.newsletter-note { font-size: 12px; color: #8093a6; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer-col a { display: block; color: #a9bacb; font-size: 14px; padding: 5px 0; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: #8093a6;
}
.footer-legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-legal a:hover { color: var(--accent); }

/* Responsive */
@media (max-width: 960px) {
  .benefits-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid, .segments-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav {
    position: absolute; top: 70px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0;
    padding: 8px 24px 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: flex; }
  .header-actions #navCta { display: none; }
  .header-actions #navLogin { padding: 8px 12px; }
  .grid-2 { grid-template-columns: 1fr; gap: 24px; }
  .hero-title { font-size: 36px; }
  .hero-sub { font-size: 17px; }
  .intro-title, .section-title, .cta h2 { font-size: 27px; }
  .stats-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 500px) {
  .benefits-grid, .features-grid, .segments-grid, .steps, .why-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-flow span { font-size: 13px; padding: 7px 12px; }
}
