/* Corveq, Inc. — modern corporate stylesheet */

:root {
  --navy: #0d1b34;
  --navy-2: #13294b;
  --ink: #18233b;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-bright: #3b82f6;
  --red: #e23744;          /* sparing American accent */
  --muted: #5a647a;
  --muted-2: #8a93a6;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --bg-soft-2: #eef2f9;
  --line: #e4e9f2;
  --line-dark: #24324f;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(16,32,64,.06);
  --shadow: 0 14px 40px rgba(16,32,64,.10);
  --shadow-lg: 0 28px 70px rgba(13,27,52,.18);
  --max: 1180px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--navy);
  font-weight: 800;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1.1em; }

a { color: var(--blue-dark); text-decoration: none; }
a:hover { color: var(--blue); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 22px rgba(37,99,235,.30); }
.btn-primary:hover { background: var(--blue-dark); color: #fff; box-shadow: 0 12px 28px rgba(37,99,235,.38); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-light:hover { color: var(--blue-dark); border-color: var(--blue); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand:hover { text-decoration: none; }
.brand-name { font-weight: 800; font-size: 1.32rem; letter-spacing: -0.03em; color: var(--navy); }
.brand-mark { display: block; flex: none; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 9px 15px; border-radius: 9px; color: var(--ink); font-weight: 500; font-size: .97rem; }
.nav a:hover { background: var(--bg-soft-2); color: var(--navy); text-decoration: none; }
.nav a.active { color: var(--blue-dark); }
.nav .btn { margin-left: 8px; padding: 10px 20px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #eaf0fb;
  background:
    radial-gradient(1100px 500px at 80% -10%, rgba(59,130,246,.45), transparent 60%),
    radial-gradient(800px 500px at 0% 110%, rgba(37,99,235,.30), transparent 55%),
    linear-gradient(160deg, #0b1730 0%, #0d1b34 45%, #13294b 100%);
  overflow: hidden;
}
.hero:after {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(700px 360px at 70% 20%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(700px 360px at 70% 20%, #000, transparent 75%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; padding-top: 92px; padding-bottom: 96px; }
.hero h1 { color: #fff; max-width: 17ch; }
.hero .lead { font-size: 1.22rem; color: #b9c6de; max-width: 56ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 20px;
}
.eyebrow.on-light { color: var(--blue-dark); }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }

.hero-stats { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 54px; }
.hero-stats .s .n { font-size: 2rem; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.hero-stats .s .l { font-size: .9rem; color: #9fb0cc; }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-head { max-width: 730px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.12rem; margin-bottom: 0; }
.soft { background: var(--bg-soft); }
.dark { background: var(--navy); color: #aebbd2; }
.dark h2, .dark h3 { color: #fff; }
.dark p { color: #aebbd2; }

/* ---------- Grid + cards ---------- */
.grid { display: grid; gap: 26px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card.hoverable:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d4ddee; }
.card .ico {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--blue-bright), var(--blue-dark));
  color: #fff; margin-bottom: 18px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin-bottom: 0; font-size: .98rem; }
.card .more { display: inline-block; margin-top: 16px; font-weight: 600; font-size: .94rem; }

/* big dual-path cards */
.path {
  border-radius: var(--radius-lg);
  padding: 38px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.path.dark-path {
  color: #fff; border: 0;
  background: linear-gradient(150deg, #0d1b34, #13294b);
}
.path .tag { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-bright); }
.path.dark-path .tag { color: #7fb0ff; }
.path h3 { font-size: 1.55rem; margin: 10px 0 10px; }
.path .price { font-weight: 800; font-size: 1.05rem; color: var(--blue-dark); }
.path.dark-path .price { color: #8fd0ff; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 58px; align-items: center; }
.panel-card {
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, #0d1b34, #13294b);
  color: #fff; padding: 38px; box-shadow: var(--shadow);
}
.panel-card .row { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line-dark); }
.panel-card .row:last-child { border-bottom: 0; }
.panel-card .row .k { color: #9fb0cc; }
.panel-card .row .v { font-weight: 700; }

.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding: 11px 0 11px 34px; border-bottom: 1px solid var(--line); }
.ticks li:last-child { border-bottom: 0; }
.ticks li:before {
  content: ""; position: absolute; left: 0; top: 16px;
  width: 18px; height: 18px; border-radius: 50%;
  background-color: var(--blue);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.dark .ticks li, .panel-card .ticks li { border-color: var(--line-dark); color: #d7e0f0; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 8px; }
.step { display: flex; gap: 20px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: 0; }
.step .num {
  flex: none; counter-increment: step;
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--navy); color: #fff; font-weight: 800; font-size: .95rem;
}
.step .num:before { content: counter(step, decimal-leading-zero); }
.step h3 { margin-bottom: 4px; }
.step p { color: var(--muted); margin: 0; }

/* ---------- Stats band ---------- */
.statband { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.statband .n { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; color: var(--navy); }
.dark .statband .n { color: #fff; }
.statband .l { color: var(--muted); font-size: .96rem; }
.dark .statband .l { color: #9fb0cc; }

/* ---------- CTA ---------- */
.cta-band {
  border-radius: var(--radius-lg);
  background:
    radial-gradient(700px 300px at 85% 0%, rgba(59,130,246,.5), transparent 60%),
    linear-gradient(150deg, #0d1b34, #13294b);
  color: #fff; padding: 60px; text-align: center; box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #c4d0e6; max-width: 52ch; margin: 0 auto 26px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field-full { grid-column: 1 / -1; }
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; color: var(--navy); }
input, select, textarea {
  width: 100%; padding: 13px 15px;
  border: 1.5px solid var(--line); border-radius: 11px;
  font-family: inherit; font-size: .98rem; background: #fff; color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37,99,235,.14);
}

/* ---------- Page hero (interior) ---------- */
.page-hero { background: var(--navy); color: #fff; padding: 74px 0 60px; position: relative; overflow: hidden; }
.page-hero:after {
  content:""; position:absolute; inset:0;
  background: radial-gradient(700px 300px at 90% -20%, rgba(59,130,246,.4), transparent 60%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: 20ch; }
.page-hero p { color: #b9c6de; font-size: 1.16rem; max-width: 62ch; margin-bottom: 0; }
.crumbs { font-size: .86rem; color: #8ea0bf; margin-bottom: 18px; }
.crumbs a { color: #8ea0bf; }
.crumbs a:hover { color: #fff; }

/* ---------- Accordion (FAQ) ---------- */
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 4px 22px; margin-bottom: 14px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:after { content: "+"; font-size: 1.4rem; color: var(--blue); font-weight: 400; }
.faq details[open] summary:after { content: "\2013"; }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 13px; border-radius: 999px;
  background: var(--bg-soft-2); color: var(--blue-dark);
  font-size: .82rem; font-weight: 600;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #9fb0cc; padding: 64px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h4 { color: #fff; font-size: .98rem; font-weight: 700; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #9fb0cc; }
.site-footer a:hover { color: #fff; }
.footer-brand p { color: #8ea0bf; max-width: 34ch; margin-top: 16px; font-size: .95rem; }
.footer-bottom {
  margin-top: 46px; padding-top: 22px; border-top: 1px solid var(--line-dark);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: .85rem; color: #7e8aa3;
}
.footer-bottom a { color: #7e8aa3; }

/* ---------- Utilities ---------- */
.mt0 { margin-top: 0; }
.mb0 { margin-bottom: 0; }
.muted { color: var(--muted); }
.center { text-align: center; }
.lead { font-size: 1.18rem; color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .statband { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
}
@media (max-width: 560px) {
  .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .cta-band, .panel-card, .path { padding: 30px 22px; }
  body { font-size: 16px; }
}
