/* ================================================================
   EMPOWA360 — HOMEPAGE PREMIUM LAYER
   Additive stylesheet. Loaded only on the homepage.
   Depends on tokens.css, base.css, components.css, pages.css.
   ================================================================ */

/* ---------- Base rhythm overrides for the homepage ---------- */
.home { --section-y: 112px; --section-y-sm: 72px; }
@media (max-width: 900px){ .home { --section-y: 72px; --section-y-sm: 56px; } }
@media (max-width: 560px){ .home { --section-y: 56px; --section-y-sm: 44px; } }

.home .section        { padding: var(--section-y) 0; }
.home .section-sm     { padding: var(--section-y-sm) 0; }

/* ---------- Containers ---------- */
.home-container       { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px){ .home-container { padding: 0 20px; } }

/* ================================================================
   NAVBAR (homepage-specific: slightly taller, more breath)
   ================================================================ */
.home .site-header          { border-bottom: 1px solid rgba(11,61,145,.08); background: rgba(255,255,255,.92); }
.home .site-header .container-wide { height: 76px; }

/* ================================================================
   HERO
   ================================================================ */
.hero-v2 {
  position: relative;
  overflow: hidden;
  padding: 88px 0 96px;
  background:
    radial-gradient(1200px 560px at 92% -10%, rgba(242,122,26,.09), transparent 62%),
    radial-gradient(1000px 520px at -4% 10%, rgba(11,61,145,.10), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
}
.hero-v2::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(11,61,145,.15), transparent);
}
.hero-v2-grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 72px;
  align-items: center;
}
@media (max-width: 980px){
  .hero-v2 { padding: 56px 0 72px; }
  .hero-v2-grid { grid-template-columns: 1fr; gap: 48px; }
}

.hero-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 8px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh-xs);
  font-size: 13px; font-weight: 600; color: var(--ink-2);
  margin-bottom: 24px;
}
.hero-chip .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange-500);
  box-shadow: 0 0 0 4px rgba(242,122,26,.18);
}
.hero-chip .sep { width: 1px; height: 14px; background: var(--line); margin: 0 4px; }
.hero-chip .tag {
  font-size: 11px; font-weight: 800; letter-spacing: .12em;
  color: var(--blue-700); background: var(--blue-50);
  padding: 3px 8px; border-radius: 999px; text-transform: uppercase;
}

.hero-v2 h1 {
  font-size: clamp(38px, 4.6vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.028em;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 22px;
  max-width: 15ch;
}
.hero-v2 h1 .hl {
  position: relative;
  color: var(--blue-700);
  white-space: nowrap;
}
.hero-v2 h1 .hl::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 4px; height: 10px;
  background: rgba(242,122,26,.18);
  border-radius: 4px; z-index: -1;
}
.hero-v2 h1 .accent { color: var(--orange-500); }

.hero-v2 p.lede {
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.62;
  color: var(--body);
  max-width: 56ch;
  margin: 0 0 32px;
}

.hero-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  max-width: 560px;
}
.hero-stats .n {
  font-size: 26px; font-weight: 800; color: var(--ink);
  letter-spacing: -0.02em; line-height: 1; margin-bottom: 6px;
}
.hero-stats .l { font-size: 13px; color: var(--muted); font-weight: 500; }
@media (max-width: 560px){
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .hero-stats .n { font-size: 20px; }
  .hero-stats .l { font-size: 12px; }
}

/* Hero visual — browser chrome frame */
.hero-shot-v2 {
  position: relative;
}
.hero-chrome {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(11,61,145,.12);
  box-shadow:
    0 1px 0 rgba(255,255,255,.6) inset,
    0 40px 90px -30px rgba(11,61,145,.28),
    0 20px 40px -20px rgba(11,61,145,.14);
}
.hero-chrome .bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: linear-gradient(180deg, #f6f8fc, #eef2f9);
  border-bottom: 1px solid rgba(11,61,145,.08);
}
.hero-chrome .bar .dots { display: flex; gap: 6px; }
.hero-chrome .bar .dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: #d8dfeb;
}
.hero-chrome .bar .dots span:nth-child(1){ background: #ff5f57; }
.hero-chrome .bar .dots span:nth-child(2){ background: #febc2e; }
.hero-chrome .bar .dots span:nth-child(3){ background: #28c840; }
.hero-chrome .bar .url {
  flex: 1; margin-left: 10px;
  font-size: 12px; color: var(--muted);
  background: #fff; border: 1px solid var(--line);
  padding: 5px 12px; border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.hero-chrome .shot {
  aspect-ratio: 16 / 10.2;
  background: #eef2f9;
  position: relative;
  overflow: hidden;
}
.hero-chrome .shot img {
  width: 100%; height: 100%; object-fit: cover; object-position: top left;
}

.hero-float {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 14px 30px -12px rgba(11,61,145,.22);
  display: flex; gap: 12px; align-items: center;
  font-size: 13px;
}
.hero-float .ic {
  width: 34px; height: 34px; border-radius: 9px;
  display: grid; place-items: center;
  background: var(--blue-50); color: var(--blue-700);
  flex: none;
}
.hero-float .ic.orange { background: var(--orange-50); color: var(--orange-600); }
.hero-float strong { display: block; color: var(--ink); font-size: 13px; }
.hero-float small  { color: var(--muted); font-size: 11.5px; }
.hero-float.f1 { top: -18px; left: -22px; }
.hero-float.f2 { bottom: -22px; right: -18px; }
@media (max-width: 980px){
  .hero-float { display: none; }
}

/* ================================================================
   TRUST STRIP
   ================================================================ */
.trust {
  padding: 40px 0;
  background: #fff;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.trust .cap {
  text-align: center;
  font-size: 12px; font-weight: 700; letter-spacing: .16em;
  color: var(--muted); text-transform: uppercase;
  margin-bottom: 26px;
}
.trust-row {
  width: min(100%, 980px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  align-items: center;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
@media (max-width: 900px){ .trust-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px){ .trust-row { grid-template-columns: repeat(2, 1fr); } }
.trust-mark {
  min-height: 58px;
  padding: 12px 10px;
  display: grid;
  place-items: center;
  color: #66758e;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
  text-align: center;
  border-right: 1px solid var(--line-2);
}
.trust-mark:nth-child(6n) { border-right: 0; }
.trust-mark:nth-child(3n) { color: #53657f; }
@media (max-width: 900px) {
  .trust-mark:nth-child(3n) { border-right: 0; }
  .trust-mark:nth-child(6n) { border-right: 1px solid var(--line-2); }
}
@media (max-width: 480px) {
  .trust-mark { min-height: 52px; font-size: 12.5px; }
  .trust-mark:nth-child(3n) { border-right: 1px solid var(--line-2); }
  .trust-mark:nth-child(2n) { border-right: 0; }
}

/* ================================================================
   METRICS BAND — dark
   ================================================================ */
.metrics {
  background:
    radial-gradient(900px 400px at 90% -20%, rgba(242,122,26,.14), transparent 60%),
    radial-gradient(700px 400px at -10% 120%, rgba(93,135,245,.18), transparent 60%),
    #061d47;
  color: #fff;
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.metrics::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(closest-side at 50% 50%, #000, transparent 80%);
  pointer-events: none;
}
.metrics .hd { text-align: center; max-width: 720px; margin: 0 auto 64px; position: relative; }
.metrics .hd .eyebrow { color: var(--orange-300); }
.metrics .hd h2 { color: #fff; font-size: clamp(28px, 3.6vw, 42px); letter-spacing: -0.02em; }
.metrics .hd p { color: #b8c6e3; font-size: 17px; }

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
}
@media (max-width: 900px){ .metric-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; } }
@media (max-width: 480px){ .metric-grid { grid-template-columns: 1fr; gap: 32px; } }

.metric {
  text-align: left;
  padding-left: 20px;
  border-left: 2px solid rgba(255,255,255,.14);
  position: relative;
}
.metric::before {
  content: "";
  position: absolute; left: -2px; top: 0; height: 40px; width: 2px;
  background: var(--orange-500);
}
.metric .n {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
  margin-bottom: 10px;
}
.metric .n .small { font-size: .55em; color: #9ab0d5; margin-left: 4px; }
.metric .l { font-size: 14px; color: #b8c6e3; max-width: 22ch; line-height: 1.45; }

/* ================================================================
   PROBLEM → FIX
   ================================================================ */
.problem-fix {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 88px;
  align-items: center;
}
@media (max-width: 980px){ .problem-fix { grid-template-columns: 1fr; gap: 48px; } }

.problem-fix h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: -0.022em;
  line-height: 1.12;
  margin-bottom: 20px;
  max-width: 16ch;
}
.problem-list {
  list-style: none; padding: 0; margin: 32px 0 0;
  display: grid; gap: 18px;
}
.problem-list li {
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 15px; color: var(--ink-2); line-height: 1.55;
}
.problem-list .x {
  flex: none; width: 26px; height: 26px; border-radius: 8px;
  background: var(--err-bg); color: var(--err);
  display: grid; place-items: center; font-weight: 800; font-size: 14px;
}

.fix-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(11,61,145,.10);
  box-shadow: 0 40px 90px -30px rgba(11,61,145,.24);
  background: #fff;
}
.fix-frame .cap {
  padding: 12px 18px;
  background: var(--blue-50);
  border-bottom: 1px solid var(--blue-100);
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue-700);
  display: flex; align-items: center; gap: 8px;
}
.fix-frame .cap::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok);
  box-shadow: 0 0 0 3px rgba(15,138,74,.2);
}
.fix-frame .shot { aspect-ratio: 4 / 3; background: #eef2f9; overflow: hidden; }
.fix-frame .shot img { width: 100%; height: 100%; object-fit: cover; }

/* ================================================================
   CAPABILITIES GRID
   ================================================================ */
.cap-hd {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 72px;
}
.cap-hd h2 { font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -0.022em; }
.cap-hd p  { font-size: 17px; color: var(--body); max-width: 56ch; margin: 0 auto; }

.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1024px){ .cap-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px){  .cap-grid { grid-template-columns: 1fr; } }

.cap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 22px;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), border-color .2s var(--ease);
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
  overflow: hidden;
}
.cap::after {
  content: "";
  position: absolute; left: 0; top: 0; height: 2px; width: 0;
  background: var(--orange-500);
  transition: width .35s var(--ease);
}
.cap:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -22px rgba(11,61,145,.20);
  border-color: rgba(11,61,145,.15);
}
.cap:hover::after { width: 100%; }

.cap .ic {
  width: 44px; height: 44px; border-radius: 11px;
  background: var(--blue-50); color: var(--blue-700);
  display: grid; place-items: center;
}
.cap .ic.o { background: var(--orange-50); color: var(--orange-600); }
.cap h3 { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.cap p  { margin: 0; font-size: 14px; color: var(--body); line-height: 1.55; }

/* ================================================================
   POS SHOWCASE — dark section
   ================================================================ */
.pos-showcase {
  background:
    radial-gradient(900px 500px at 100% -10%, rgba(242,122,26,.16), transparent 60%),
    #061d47;
  color: #fff;
  padding: 112px 0;
  position: relative;
  overflow: hidden;
}
.pos-showcase::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(closest-side at 40% 40%, #000, transparent 82%);
  pointer-events: none;
}
.pos-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 88px;
  align-items: center;
  position: relative;
}
@media (max-width: 980px){
  .pos-showcase { padding: 72px 0; }
  .pos-showcase-grid { grid-template-columns: 1fr; gap: 48px; }
}
.pos-showcase h2 {
  color: #fff;
  font-size: clamp(28px, 3.6vw, 42px);
  letter-spacing: -0.022em;
  line-height: 1.14;
  margin-bottom: 18px;
}
.pos-showcase p { color: #b8c6e3; font-size: 16px; line-height: 1.6; }
.pos-list { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 12px; }
.pos-list li {
  display: flex; gap: 12px; align-items: flex-start;
  color: #dbe4f5; font-size: 15px;
}
.pos-list svg { flex: none; margin-top: 3px; color: var(--orange-400); }

.pos-chrome {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: #0a1c3d;
  box-shadow:
    0 40px 90px -25px rgba(0,0,0,.6),
    0 0 0 1px rgba(255,255,255,.04) inset;
}
.pos-chrome .bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.pos-chrome .bar .dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.16); }
.pos-chrome .bar .dots span:nth-child(1){ background: #ff5f57; }
.pos-chrome .bar .dots span:nth-child(2){ background: #febc2e; }
.pos-chrome .bar .dots span:nth-child(3){ background: #28c840; }
.pos-chrome .bar .url {
  flex: 1; margin-left: 10px;
  font-size: 12px; color: #8fa5cc;
  background: rgba(0,0,0,.25);
  border: 1px solid rgba(255,255,255,.06);
  padding: 5px 12px; border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.pos-chrome .shot { aspect-ratio: 16 / 10.2; background: #0a1c3d; overflow: hidden; }
.pos-chrome .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }

/* ================================================================
   HOW IT WORKS
   ================================================================ */
.how {
  padding: 112px 0;
}
.how-hd { text-align: center; max-width: 720px; margin: 0 auto 72px; }
.how-hd h2 { font-size: clamp(28px, 3.6vw, 42px); letter-spacing: -0.022em; }

.how-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
@media (max-width: 900px){ .how-rail { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px){ .how-rail { grid-template-columns: 1fr; } }

.how-step {
  position: relative;
  padding-top: 40px;
}
.how-step::before {
  content: "";
  position: absolute; top: 12px; left: 0; right: -24px; height: 1px;
  background: linear-gradient(90deg, var(--line) 0%, var(--line) 40%, transparent 100%);
}
.how-step:last-child::before { background: none; }
@media (max-width: 900px){ .how-step::before { display: none; } }

.how-num {
  position: absolute; top: 0; left: 0;
  width: 32px; height: 32px; border-radius: 9px;
  background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center;
  font-weight: 800; font-size: 14px; color: var(--blue-700);
  box-shadow: var(--sh-xs);
}
.how-step h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -0.01em; }
.how-step p  { margin: 0; font-size: 14px; color: var(--body); line-height: 1.6; }

/* ================================================================
   GALLERY
   ================================================================ */
.gallery {
  padding: 112px 0;
  background: #f7f9fd;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.gallery-hd { text-align: center; max-width: 720px; margin: 0 auto 72px; }
.gallery-hd h2 { font-size: clamp(28px, 3.6vw, 42px); letter-spacing: -0.022em; }

.gallery-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}
@media (max-width: 900px){ .gallery-grid { grid-template-columns: 1fr; } }

.shot-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--sh-xs);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  display: flex; flex-direction: column;
}
.shot-card:hover { transform: translateY(-3px); box-shadow: 0 30px 60px -30px rgba(11,61,145,.20); }
.shot-card.wide { grid-row: span 2; }
.shot-card .img { aspect-ratio: 16/10; background: #eef2f9; overflow: hidden; }
.shot-card.wide .img { aspect-ratio: 4/3; }
.shot-card .img img { width: 100%; height: 100%; object-fit: cover; }
.shot-card .cap { padding: 16px 20px; }
.shot-card .cap .t {
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--orange-600); margin-bottom: 4px;
}
.shot-card .cap .h { font-size: 15px; font-weight: 600; color: var(--ink); }
.shot-card .cap .d { font-size: 13.5px; color: var(--muted); margin-top: 4px; }

/* ================================================================
   INDUSTRIES
   ================================================================ */
.industries { padding: 112px 0; }
.industries-hd { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.industries-hd h2 { font-size: clamp(28px, 3.6vw, 42px); letter-spacing: -0.022em; }

.ind-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 900px){ .ind-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px){ .ind-grid { grid-template-columns: 1fr; } }

.ind {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font-weight: 600; color: var(--ink);
  font-size: 15px;
  transition: border-color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease);
}
.ind:hover { border-color: var(--blue-200); background: var(--blue-50); transform: translateY(-2px); }
.ind svg { color: var(--blue-700); flex: none; }

/* ================================================================
   WHY EMPOWA360
   ================================================================ */
.why {
  padding: 112px 0;
  background: #f7f9fd;
  border-top: 1px solid var(--line-2);
}
.why-hd { text-align: center; max-width: 720px; margin: 0 auto 72px; }
.why-hd h2 { font-size: clamp(28px, 3.6vw, 42px); letter-spacing: -0.022em; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px){ .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .why-grid { grid-template-columns: 1fr; } }

.why-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 24px;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease);
}
.why-card:hover { transform: translateY(-3px); box-shadow: 0 24px 48px -24px rgba(11,61,145,.18); }
.why-card .ic {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--blue-50); color: var(--blue-700);
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.why-card:nth-child(even) .ic { background: var(--orange-50); color: var(--orange-600); }
.why-card h3 { margin: 0 0 8px; font-size: 17px; letter-spacing: -0.01em; }
.why-card p  { margin: 0; font-size: 14px; color: var(--body); line-height: 1.6; }

/* ================================================================
   PRICING PREVIEW
   ================================================================ */
.pricing-preview { padding: 112px 0; }
.pricing-preview .hd { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.pricing-preview .hd h2 { font-size: clamp(28px, 3.6vw, 42px); letter-spacing: -0.022em; }

.plan-card {
  max-width: 620px; margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 44px 40px 36px;
  box-shadow: 0 40px 100px -40px rgba(11,61,145,.25);
  position: relative;
}
.plan-card::before {
  content: "ONE PLAN · EVERYTHING INCLUDED";
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--orange-500); color: #fff;
  font-size: 10.5px; font-weight: 800; letter-spacing: .16em;
  padding: 6px 14px; border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 8px 20px -6px rgba(242,122,26,.5);
}
.plan-card h3 { margin: 0 0 6px; font-size: 22px; letter-spacing: -0.01em; }
.plan-card .sub { color: var(--muted); margin: 0 0 26px; font-size: 14.5px; }
.plan-price {
  display: flex; align-items: flex-end; gap: 10px; margin-bottom: 28px;
  padding-bottom: 28px; border-bottom: 1px dashed var(--line);
}
.plan-price .amt { font-size: clamp(40px, 6vw, 56px); font-weight: 800; color: var(--ink); letter-spacing: -0.03em; line-height: 1; }
.plan-price .cur { font-weight: 700; color: var(--muted); padding-bottom: 8px; font-size: 15px; }
.plan-price .per { color: var(--muted); padding-bottom: 9px; font-size: 14px; }

.plan-feats {
  list-style: none; padding: 0; margin: 0 0 30px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px;
}
@media (max-width: 520px){ .plan-feats { grid-template-columns: 1fr; } }
.plan-feats li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14px; color: var(--ink-2);
}
.plan-feats svg { flex: none; margin-top: 3px; color: var(--ok); }

/* ================================================================
   FAQ (homepage preview)
   ================================================================ */
.faq-home { padding: 112px 0; background: #f7f9fd; border-top: 1px solid var(--line-2); }
.faq-home .hd { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.faq-home .hd h2 { font-size: clamp(28px, 3.6vw, 42px); letter-spacing: -0.022em; }

/* ================================================================
   FINAL CTA
   ================================================================ */
.final-v2 {
  padding: 96px 0;
}
.final-v2-inner {
  background:
    radial-gradient(900px 400px at 100% 0%, rgba(242,122,26,.28), transparent 60%),
    linear-gradient(135deg, #0a2b6d 0%, #0B3D91 55%, #0f4bad 100%);
  border-radius: 26px;
  padding: 72px 48px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.final-v2-inner::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(closest-side at 50% 50%, #000, transparent 78%);
  pointer-events: none;
}
.final-v2-inner h2 { color: #fff; font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -0.022em; position: relative; }
.final-v2-inner p  { color: #cfd9ef; max-width: 60ch; margin: 0 auto 26px; font-size: 17px; position: relative; }
.final-v2-inner .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; }
@media (max-width: 640px){ .final-v2-inner { padding: 56px 24px; } }

/* ================================================================
   REVEAL (homepage version — softer, with stagger support)
   ================================================================ */
.home [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 620ms var(--ease), transform 620ms var(--ease);
}
.home [data-reveal].in { opacity: 1; transform: none; }

/* ================================================================
   NAVBAR V2 — premium public navbar
   ================================================================ */
.nav-v2 {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid rgba(11, 61, 145, 0.08);
}
.nav-v2 .container-wide {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 32px;
}

/* Brand — locked proportions */
.nav-v2 .brand {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.015em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  flex: none;
}
.nav-v2 .brand-text span { color: var(--blue-700); }
.nav-v2 .brand-text strong { color: var(--orange-500); }

/* Nav links — underline-ghost hover, no pill */
.nav-v2 .nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}
.nav-v2 .nav a {
  position: relative;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--ink-2);
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  transition: color 160ms var(--ease), background 160ms var(--ease);
}
.nav-v2 .nav a:hover {
  color: var(--blue-700);
  background: rgba(11, 61, 145, 0.045);
}
.nav-v2 .nav a.active {
  color: var(--blue-700);
  background: rgba(11, 61, 145, 0.06);
}
.nav-v2 .nav a.active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--orange-500);
}

/* CTA cluster — See Demo ghost + Get Started accent */
.nav-v2 .nav-cta {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.nav-v2 .nav-cta .btn-ghost {
  color: var(--blue-700);
  border-color: transparent;
  background: transparent;
  padding: 10px 14px;
  font-weight: 600;
}
.nav-v2 .nav-cta .btn-ghost:hover {
  background: rgba(11, 61, 145, 0.06);
  border-color: transparent;
}
.nav-v2 .nav-cta .btn-accent {
  padding: 11px 16px;
  border-radius: 9px;
  font-weight: 600;
  font-size: 14px;
}

/* Mobile */
@media (max-width: 960px) {
  .nav-v2 .container-wide { height: 66px; gap: 0; }

  .nav-v2 .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .nav-v2 .nav {
    position: fixed;
    inset: 66px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    padding: 12px 18px calc(104px + env(safe-area-inset-bottom));
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 48px -24px rgba(11, 61, 145, 0.16);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms var(--ease), transform 180ms var(--ease);
    max-height: calc(100dvh - 66px);
    overflow: auto;
  }
  .nav-v2 .nav.open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .nav-v2 .nav a {
    padding: 14px 12px;
    font-size: 15.5px;
    border-radius: 10px;
  }
  .nav-v2 .nav-close {
    display: block;
    align-self: flex-end;
    margin: 0 0 8px;
    padding: 8px 2px;
    border: 0;
    background: transparent;
    color: var(--blue-700);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
  }
  .nav-v2 .nav a.active::after { display: none; }
  .nav-v2 .nav a.active {
    background: var(--blue-50);
    color: var(--blue-700);
  }

  .nav-v2 .nav-cta {
    display: none !important;
  }
  .nav-v2 .nav.open ~ .nav-cta {
    display: flex !important;
    position: fixed;
    left: 22px;
    right: 22px;
    bottom: max(16px, env(safe-area-inset-bottom));
    gap: 10px;
    z-index: 101;
  }
  .nav-v2 .nav.open ~ .nav-cta .btn {
    flex: 1;
    justify-content: center;
  }
}

.nav-v2 .nav-close { display: none; }
@media (max-width: 960px) {
  .nav-v2 .nav-close { display: block; }
}

@media (max-width: 420px) {
  .nav-v2 .container-wide { padding-left: 16px; padding-right: 16px; }
  .nav-v2 .brand-text { font-size: 18px; }
  .nav-v2 .nav-toggle { padding: 9px 10px; }
  .nav-v2 .nav-cta { left: 16px; right: 16px; }
  .nav-v2 .nav-cta .btn { min-height: 46px; padding-left: 10px; padding-right: 10px; }
}

@media (max-width: 340px) {
  .nav-v2 .nav.open ~ .nav-cta { flex-direction: column; }
  .nav-v2 .nav-cta .btn { width: 100%; }
}

/* ================================================================
   FOOTER V2 — premium public footer
   ================================================================ */
.footer-v2 {
  background: #061d47;
  color: #c9d4ea;
  padding: 0 0 28px;
  margin-top: 0;
}

/* CTA strip */
.footer-cta {
  padding: 56px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(900px 300px at 85% 0%, rgba(242, 122, 26, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
}
.footer-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-cta h3 {
  color: #fff;
  font-size: clamp(20px, 2.4vw, 26px);
  letter-spacing: -0.015em;
  margin: 0 0 6px;
}
.footer-cta p {
  color: #b8c6e3;
  margin: 0;
  font-size: 15px;
}
.footer-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
@media (max-width: 640px) {
  .footer-cta { padding: 40px 0; }
  .footer-cta-actions { width: 100%; }
  .footer-cta-actions .btn { flex: 1; justify-content: center; }
}

/* Columns */
.footer-v2 .container-wide > .footer-grid {
  padding-top: 64px;
}
.footer-v2 .footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.1fr;
  gap: 48px;
}
@media (max-width: 1000px) {
  .footer-v2 .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px 32px;
  }
}
@media (max-width: 640px) {
  .footer-v2 .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 20px;
  }
  .footer-v2 .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .footer-v2 .footer-grid { grid-template-columns: 1fr; }
}

.footer-v2 h4 {
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 0 18px;
}
.footer-v2 .footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 11px;
  font-size: 14px;
}
.footer-v2 .footer-list a {
  color: #c9d4ea;
  transition: color 140ms var(--ease);
}
.footer-v2 .footer-list a:hover { color: #fff; }
.footer-v2 .footer-list li { color: #9ab0d5; }

.footer-v2 .footer-brand .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: #fff;
  margin-bottom: 18px;
}
.footer-v2 .footer-brand .brand-text span { color: #fff; }
.footer-v2 .footer-brand .brand-text strong { color: var(--orange-400); }
.footer-v2 .footer-brand p {
  color: #9ab0d5;
  max-width: 40ch;
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.6;
}
.footer-v2 .footer-social {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-v2 .footer-social a {
  font-size: 13px;
  color: #9ab0d5;
  transition: color 140ms var(--ease);
}
.footer-v2 .footer-social a:hover { color: #fff; }

/* Bottom bar */
.footer-v2 .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 56px;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #8fa5cc;
}
.footer-v2 .footer-bottom strong { color: #fff; font-weight: 600; }
.footer-v2 .footer-bottom-right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-v2 .footer-sep { color: #556791; }

.footer-v2 .footer-admin-link {
  color: #8fa5cc;
  font-size: 12.5px;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 140ms var(--ease), background 140ms var(--ease);
}
.footer-v2 .footer-admin-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}


/* ════════════════════════════════════════════════════════════════════════
   FORM PRIMITIVES (Get Started, Contact, future forms)
   ════════════════════════════════════════════════════════════════════════ */
.hm-form {
  background: #fff;
  border: 1px solid var(--hm-ink-200);
  border-radius: var(--hm-r-lg);
  padding: 36px 32px;
  box-shadow: var(--hm-sh-lg);
}
.hm-form__head { margin-bottom: 24px; }
.hm-form__head h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--hm-blue-900);
  margin-bottom: 6px;
}
.hm-form__head p {
  font-size: 13px;
  color: var(--hm-ink-400);
}
.hm-form__head p span { color: var(--hm-orange-500); }

.hm-form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 620px) {
  .hm-form__row { grid-template-columns: 1fr 1fr; column-gap: 16px; }
}

.hm-field {
  display: block;
  margin-bottom: 16px;
}
.hm-field > span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--hm-ink-700);
  margin-bottom: 6px;
}
.hm-field > span b {
  color: var(--hm-orange-500);
  font-weight: 700;
}
.hm-field input,
.hm-field select,
.hm-field textarea {
  width: 100%;
  padding: 11px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--hm-ink-900);
  background: #fff;
  border: 1px solid var(--hm-ink-200);
  border-radius: var(--hm-r-md);
  outline: none;
  transition: border-color var(--hm-dur-2) var(--hm-ease),
              box-shadow var(--hm-dur-2) var(--hm-ease);
  -webkit-appearance: none;
  appearance: none;
}
.hm-field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'><path d='M5 8l5 5 5-5' stroke='%238b97a7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 38px;
}
.hm-field textarea {
  resize: vertical;
  min-height: 96px;
  line-height: 1.5;
}
.hm-field input:focus,
.hm-field select:focus,
.hm-field textarea:focus {
  border-color: var(--hm-blue-500);
  box-shadow: 0 0 0 4px rgba(47, 97, 224, 0.14);
}
.hm-field input:invalid:not(:placeholder-shown),
.hm-field textarea:invalid:not(:placeholder-shown) {
  border-color: var(--hm-err);
}

.hm-form__actions {
  margin-top: 8px;
}
.hm-form__actions .hm-btn { width: 100%; }
.hm-form__note {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--hm-ink-400);
  text-align: center;
  line-height: 1.5;
}

.hm-form__error {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--hm-r-md);
  background: var(--hm-err-bg);
  color: var(--hm-err);
  border: 1px solid rgba(185, 28, 28, 0.18);
  font-size: 13.5px;
  line-height: 1.5;
}

/* Success panel */
.hm-form--success { text-align: center; padding: 48px 32px; }
.hm-form__check {
  width: 56px; height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--hm-ok-bg);
  color: var(--hm-ok);
  display: grid; place-items: center;
}
.hm-form--success h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--hm-blue-900);
  margin-bottom: 12px;
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}
.hm-form--success p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--hm-ink-500);
  max-width: 42ch;
  margin: 0 auto;
}
.hm-form--success .hm-actions { justify-content: center; }

/* Field-level hint for server-side errors */
.hm-field.has-error input,
.hm-field.has-error select,
.hm-field.has-error textarea {
  border-color: var(--hm-err);
  background: #fff8f8;
}
.hm-field .field-msg {
  display: block;
  margin-top: 5px;
  font-size: 12.5px;
  color: var(--hm-err);
}

/* Keep the homepage and Get Started page on the same weight. */
*, *::before, *::after { font-weight:430 !important; }

/* Get Started page layout */
.hm {
  --hm-blue-900: var(--blue-900);
  --hm-blue-500: var(--blue-500);
  --hm-orange-500: var(--orange-500);
  --hm-ink-900: var(--ink);
  --hm-ink-700: var(--ink-2);
  --hm-ink-500: var(--body);
  --hm-ink-400: var(--muted);
  --hm-ink-200: var(--line);
  --hm-r-md: var(--r-md);
  --hm-r-lg: var(--r-lg);
  --hm-sh-lg: var(--sh-lg);
  --hm-dur-2: var(--dur-2);
  --hm-ease: var(--ease);
  --hm-err: var(--err);
  --hm-err-bg: var(--err-bg);
  --hm-ok: var(--ok);
  --hm-ok-bg: var(--ok-bg);
}
.hm-hero {
  background: var(--bg-2);
  min-height: calc(100vh - var(--header-h));
}
.hm-c {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}
.hm-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.hm-hero__copy { padding-top: 30px; }
.hm-hero__title {
  color: var(--blue-900);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 14px 0 18px;
}
.hm-hero__lede {
  max-width: 52ch;
  color: var(--body);
  font-size: 17px;
  line-height: 1.7;
}
.hm-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-700);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hm-tag__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange-500);
}
.hm-list {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
  color: var(--body);
  line-height: 1.5;
}
.hm-list--check li { position: relative; padding-left: 26px; }
.hm-list--check li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--orange-600);
  font-weight: 800;
}
.hm-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--dur-2) var(--ease), background var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease);
}
.hm-btn:hover { transform: translateY(-1px); }
.hm-btn--accent { background: var(--orange-500); color: #fff; }
.hm-btn--accent:hover { background: var(--orange-600); }
.hm-btn--primary { background: var(--blue-700); color: #fff; }
.hm-btn--ghost { border-color: var(--line); color: var(--blue-700); background: #fff; }
.hm-btn--ghost:hover { border-color: var(--blue-300); background: var(--blue-50); }
.hm-btn--lg { min-height: 50px; padding-inline: 22px; }
@media (max-width: 860px) {
  .hm-hero__grid { grid-template-columns: 1fr; }
  .hm-hero__copy { padding-top: 0; }
}
@media (max-width: 520px) {
  .hm-c { width: min(100% - 24px, 1200px); }
  .hm-form { padding: 24px 18px; }
  .hm-actions .hm-btn { width: 100%; }
}
