/* ==========================================================================
   OmniVale — Landing page styles
   ========================================================================== */

:root {
  --ink: #061c2a;
  --ink-2: #1f3340;
  --muted: #5b6b78;
  --line: #e6eaee;
  --bg: #ffffff;
  --bg-soft: #f4f6f8;
  --accent: #008fee;
  --accent-2: #4fb7ff;
  --accent-dark: #0066b8;
  --ok: #16a34a;
  --warn: #f59e0b;
  --radius: 24px;
  --radius-sm: 14px;
  --shadow: 0 10px 30px rgba(6, 28, 42, .08);
  --shadow-lg: 0 30px 80px rgba(6, 28, 42, .14);
  --max: 1180px;
  --font: "Inter", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 500; letter-spacing: -.02em; line-height: 1.08; }

.container { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.container--narrow { max-width: 760px; }
.center { text-align: center; }

/* ---------- Typography ---------- */
.h2 { font-size: clamp(32px, 4.6vw, 52px); }
.h3 { font-size: clamp(26px, 3vw, 36px); }
.h4 { font-size: 21px; font-weight: 600; letter-spacing: -.01em; }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2); max-width: 680px; margin-inline: auto; }
.eyebrow {
  color: var(--accent);
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 100px;
  font-weight: 500; font-size: 15px; line-height: 1;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease, color .2s;
  white-space: nowrap; font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 16px 26px; font-size: 16px; }
.btn--block { width: 100%; justify-content: center; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #0d2b3e; box-shadow: 0 8px 20px rgba(6,28,42,.2); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #f1f5f9; }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn__arrow { font-size: 20px; line-height: 0; transition: transform .2s; }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ---------- Navigation (floating pill, glow.io style) ---------- */
.nav-wrap {
  position: fixed; inset: 16px 0 auto 0; z-index: 100;
  display: flex; justify-content: center; padding: 0 16px;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 8px 8px 16px;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(6,28,42,.06);
  border-radius: 100px;
  box-shadow: var(--shadow);
  transition: box-shadow .3s, background .3s;
}
.nav.is-scrolled { box-shadow: var(--shadow-lg); background: rgba(255,255,255,.95); }
.nav__brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); margin-right: 18px; }
.logo-mark { flex: none; }
.wordmark { font-weight: 600; font-size: 22px; letter-spacing: -.035em; line-height: 1; }
.wordmark span { color: var(--accent); }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  display: block; padding: 10px 18px; border-radius: 100px;
  font-weight: 500; font-size: 15px; color: var(--ink);
  transition: background .2s, color .2s;
}
.nav__links a:hover { background: var(--bg-soft); }
.nav__links a.is-active { background: var(--accent); color: #fff; }
.nav__cta { margin-left: 10px; }
.nav__toggle {
  display: none; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: var(--ink); cursor: pointer; position: relative;
}
.nav__toggle span {
  position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .25s, top .25s, opacity .25s;
}
.nav__toggle span:first-child { top: 18px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 150px 0 40px; text-align: center; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -20% auto; height: 80%;
  background: radial-gradient(60% 50% at 50% 50%, rgba(0,143,238,.10), transparent 70%);
  pointer-events: none; z-index: -1;
}
.hero__title { font-size: clamp(42px, 7.4vw, 82px); margin-bottom: 24px; }
.hero__sub { font-size: clamp(18px, 1.6vw, 22px); color: var(--ink-2); max-width: 720px; margin: 0 auto 32px; }
.hero__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 64px; }

/* Dark feature card */
.hero-card {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center;
  padding: clamp(28px, 4vw, 56px);
  border-radius: var(--radius);
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(0,143,238,.55), transparent 60%),
    radial-gradient(50% 60% at 0% 100%, rgba(79,183,255,.25), transparent 60%),
    linear-gradient(135deg, #0b1a26, #0f2436 60%, #0c2d45);
  color: #fff; text-align: left;
  box-shadow: var(--shadow-lg);
}
.hero-card__kicker { color: var(--accent-2); font-weight: 500; margin-bottom: 12px; }
.hero-card__title { font-size: clamp(30px, 3.6vw, 46px); color: #fff; margin-bottom: 16px; }
.hero-card__title span { color: var(--accent-2); }
.hero-card__text { color: rgba(255,255,255,.78); max-width: 460px; margin-bottom: 28px; font-size: 17px; }

/* Report mock */
.report {
  background: #fff; color: var(--ink); border-radius: 18px; padding: 22px;
  box-shadow: 0 30px 60px rgba(0,0,0,.35);
  font-size: 14px;
}
.report__head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.report__addr { font-weight: 600; font-size: 15px; margin: 0; }
.report__meta { color: var(--muted); margin: 2px 0 0; }
.report__value { padding: 18px 0; border-bottom: 1px solid var(--line); }
.report__label { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 4px; font-weight: 500; }
.report__num { font-size: 40px; font-weight: 600; letter-spacing: -.03em; line-height: 1; margin: 0 0 8px; }
.report__range { color: var(--muted); margin: 0; }
.report__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 16px 0; }
.report__cell-num { font-size: 20px; font-weight: 600; margin: 0; display: flex; align-items: center; gap: 6px; }
.report__cell-sub { color: var(--muted); margin: 2px 0 0; font-size: 12px; }
.report__layers { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 4px; }
.chip { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 100px; padding: 5px 10px; font-size: 12px; font-weight: 500; }
.pill { display: inline-block; border-radius: 100px; padding: 4px 10px; font-size: 12px; font-weight: 600; white-space: nowrap; font-style: normal; }
.pill--ok { background: #e7f7ec; color: #15803d; }
.pill--warn { background: #fff4e0; color: #b45309; }
.pill--info { background: #e6f3ff; color: var(--accent-dark); }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot--ok { background: var(--ok); }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section--tight { padding-top: 90px; }
.section--gray { background: var(--bg-soft); }
.section--cta { padding-bottom: 120px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.stat { text-align: center; padding: 32px 20px; border-radius: var(--radius); background: var(--bg-soft); }
.stat__num { font-size: clamp(40px, 5vw, 64px); font-weight: 500; letter-spacing: -.03em; line-height: 1; margin: 0 0 12px; }
.stat__text { color: var(--ink-2); margin: 0; max-width: 260px; margin-inline: auto; }

/* Features */
.section--features { padding-top: 40px; }
.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center;
  padding: 70px 0; border-top: 1px solid var(--line);
}
.feature:first-child { border-top: 0; }
.feature--flip .feature__copy { order: 2; }
.feature__copy p { color: var(--ink-2); max-width: 480px; }
.feature__visual { min-width: 0; }

.panel {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.panel--stack { display: grid; gap: 10px; }
.panel__label { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; font-weight: 500; margin-bottom: 6px; }
.panel__big { font-size: 48px; font-weight: 600; letter-spacing: -.03em; line-height: 1; margin-bottom: 18px; }
.panel__big--sm { font-size: 40px; }
.panel--two { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

.row-item {
  display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 14px 16px; font-size: 14px; font-weight: 500;
}
.row-item__ico { font-size: 18px; }

.range__bar { position: relative; height: 10px; background: #dde3e9; border-radius: 10px; margin: 6px 0 8px; }
.range__fill { position: absolute; top: 0; bottom: 0; background: linear-gradient(90deg, var(--accent-2), var(--accent)); border-radius: 10px; }
.range__dot { position: absolute; top: 50%; width: 18px; height: 18px; background: var(--ink); border: 3px solid #fff; border-radius: 50%; transform: translate(-50%, -50%); box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.range__ticks { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; margin-bottom: 20px; }
.comps li { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; }
.comps li span { color: var(--ink-2); }

.bars__row { display: grid; grid-template-columns: 90px 1fr 40px; gap: 10px; align-items: center; font-size: 13px; margin-bottom: 10px; }
.bars__row span { color: var(--ink-2); }
.bars__row i { height: 10px; border-radius: 10px; background: #dde3e9; position: relative; overflow: hidden; }
.bars__row i::after { content: ""; position: absolute; inset: 0; width: var(--w); background: linear-gradient(90deg, var(--accent-2), var(--accent)); border-radius: 10px; }
.bars__row b { text-align: right; }
.risk li { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.risk li:first-child { border-top: 0; }

.panel--code { background: #0b1a26; color: #dbe7f0; border: 0; padding: 24px; overflow: auto; }
.panel--code pre { margin: 0; font: 13px/1.6 "SFMono-Regular", Menlo, Consolas, monospace; white-space: pre; }
.c-k { color: var(--accent-2); font-weight: 600; }
.c-s { color: #9fd6ff; }
.c-n { color: #ffd479; }
.c-c { color: #6f8798; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.step { background: #fff; border-radius: var(--radius); padding: 32px; border: 1px solid var(--line); }
.step__num { display: inline-block; color: var(--accent); font-weight: 600; font-size: 14px; letter-spacing: .08em; margin-bottom: 18px; }
.step p { color: var(--ink-2); margin: 0; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.card { background: var(--bg-soft); border-radius: var(--radius); padding: 32px; }
.card__ico { font-size: 30px; margin-bottom: 20px; width: 56px; height: 56px; display: grid; place-items: center; background: #fff; border-radius: 16px; border: 1px solid var(--line); }
.card p { color: var(--ink-2); margin: 0; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 56px; max-width: 900px; margin-inline: auto; }
.price { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; position: relative; }
.price--featured { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(0,143,238,.12), var(--shadow); }
.price__badge { position: absolute; top: -14px; left: 36px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 100px; margin: 0; }
.price__name { font-weight: 600; margin-bottom: 8px; }
.price__amt { font-size: 48px; font-weight: 600; letter-spacing: -.03em; line-height: 1; margin-bottom: 12px; }
.price__amt span { font-size: 15px; font-weight: 500; color: var(--muted); margin-left: 6px; letter-spacing: 0; }
.price__desc { color: var(--ink-2); margin-bottom: 20px; }
.price__list { margin-bottom: 28px; flex: 1; }
.price__list li { padding: 9px 0 9px 28px; position: relative; border-top: 1px solid var(--line); font-size: 15px; }
.price__list li::before { content: "✓"; position: absolute; left: 4px; color: var(--accent); font-weight: 700; }

/* FAQ */
.faq { margin-top: 40px; }
.faq__item { border-top: 1px solid var(--line); padding: 6px 0; }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary {
  cursor: pointer; list-style: none; font-weight: 500; font-size: 18px; padding: 16px 40px 16px 0;
  position: relative;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%;
  background: var(--bg-soft); color: var(--ink); font-weight: 500; transition: transform .25s, background .2s;
}
.faq__item[open] summary::after { content: "–"; background: var(--accent); color: #fff; }
.faq__item p { color: var(--ink-2); margin: 0 0 16px; max-width: 680px; }

/* CTA / form */
.cta {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center;
  padding: clamp(28px, 4vw, 56px); border-radius: var(--radius);
  background:
    radial-gradient(60% 80% at 0% 0%, rgba(0,143,238,.5), transparent 60%),
    linear-gradient(135deg, #0b1a26, #0f2436 60%, #0c2d45);
  color: #fff; box-shadow: var(--shadow-lg);
}
.cta__title { color: #fff; }
.cta .lead { color: rgba(255,255,255,.8); margin-inline: 0; }
.cta__points li { position: relative; padding: 6px 0 6px 26px; color: rgba(255,255,255,.9); }
.cta__points li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-2); font-weight: 700; }

.form { background: #fff; color: var(--ink); border-radius: 18px; padding: 28px; display: grid; gap: 14px; position: relative; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.form .opt { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 15px; font-weight: 400; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft);
  transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,143,238,.15); background: #fff; }
.form input.is-invalid, .form select.is-invalid { border-color: #dc2626; }
.form textarea { resize: vertical; }
.form__note { font-size: 12px; color: var(--muted); text-align: center; margin: 0; }
.form__success { position: absolute; inset: 0; background: #fff; border-radius: 18px; display: grid; place-content: center; text-align: center; padding: 32px; gap: 8px; }
.form__success[hidden] { display: none; }
.form__success strong { font-size: 22px; }
.form__success p { color: var(--ink-2); margin: 0; }
.form__success a { color: var(--accent); font-weight: 500; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-soft); padding: 72px 0 40px; border-top: 1px solid var(--line); }
.footer__top { display: grid; grid-template-columns: 1.3fr 2fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.footer__tag { color: var(--ink-2); margin: 20px 0 20px; max-width: 320px; }
.footer__addr { font-style: normal; color: var(--ink-2); line-height: 1.6; margin-bottom: 12px; }
.footer__mail { color: var(--accent); font-weight: 500; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__h { font-weight: 600; margin-bottom: 14px; }
.footer__cols a { display: block; color: var(--ink-2); padding: 5px 0; transition: color .2s; }
.footer__cols a:hover { color: var(--accent); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; font-size: 14px; color: var(--muted); }
.footer__bottom p { margin: 0; }
.footer__legal { display: flex; gap: 20px; }
.footer__legal a:hover { color: var(--accent); }
.footer__disclaimer { margin: 20px 0 0; font-size: 12px; color: var(--muted); max-width: 820px; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease var(--d, 0s), transform .7s ease var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-card { grid-template-columns: 1fr; }
  .stats, .steps, .cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav { width: 100%; justify-content: space-between; padding-left: 14px; }
  .nav__brand { margin-right: 0; }
  .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .nav__links {
    display: none; position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 10px; box-shadow: var(--shadow-lg);
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { text-align: center; padding: 14px; }
  .hero { padding-top: 120px; }
  .section { padding: 80px 0; }
  .feature { grid-template-columns: 1fr; gap: 28px; padding: 48px 0; }
  .feature--flip .feature__copy { order: 0; }
  .panel--two, .pricing, .cta, .footer__top { grid-template-columns: 1fr; }
  .cta { padding: 24px; }
}
@media (max-width: 600px) {
  .stats, .steps, .cards, .form__row, .footer__cols { grid-template-columns: 1fr; }
  .report__grid { grid-template-columns: 1fr 1fr; }
  .report__num { font-size: 34px; }
  .hero-card, .cta { border-radius: 18px; }
  .form { padding: 20px; }
}
