/* MeterSight marketing site — design tokens & components
   Brand: Inter, blue #2F6FE4, navy #06111F. WCAG 2.2 AA targets throughout. */

:root {
  --blue: #2F6FE4;
  --blue-700: #1F55BF;
  --blue-800: #17418f;
  --blue-50: #EEF4FF;
  --blue-100: #DCE8FF;
  --navy-900: #06111F;
  --navy-800: #0B1B33;
  --navy-700: #12274A;
  --navy-600: #1B365F;
  --ink: #141B26;
  --ink-2: #303B4C;
  --muted: #56667A;
  --muted-2: #7B8797;
  --line: #E3E8EF;
  --line-2: #EEF2F7;
  --bg: #FFFFFF;
  --bg-2: #F6F8FB;
  --bg-3: #EEF2F7;
  --green: #1E8E5A;
  --green-50: #E8F7EF;
  --amber: #A66300;
  --amber-50: #FFF4DF;
  --red: #C8322F;
  --red-50: #FCEBEA;

  --bronze: #8F4F12;
  --bronze-50: #FBF0E4;
  --bronze-400: #D08A3C;
  --silver: #4A5A70;
  --silver-50: #EEF1F6;
  --silver-400: #9AA8BC;
  --gold: #7A5A00;
  --gold-50: #FFF6D9;
  --gold-400: #E5B93A;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .06);
  --shadow: 0 8px 24px rgba(16, 24, 40, .08);
  --shadow-lg: 0 24px 64px rgba(6, 17, 31, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
  --container: 1180px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01", "ss03";
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-800); }
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4rem); letter-spacing: -0.035em; line-height: 1.05; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); letter-spacing: -0.03em; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.25em; }
strong { font-weight: 600; }
small { font-size: .875rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; background: var(--bg-3); padding: .1em .4em; border-radius: 6px; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 1000; background: var(--navy-900); color: #fff; padding: 12px 16px; border-radius: 10px; font-weight: 600; }
.skip-link:focus { top: 16px; }
.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; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.container-narrow { max-width: 820px; }
@media (max-width: 640px) { .container { padding-left: 16px; padding-right: 16px; } }

.section { padding: clamp(64px, 8vw, 120px) 0; }
.section-tight { padding: clamp(40px, 5vw, 72px) 0; }
.section-alt { background: var(--bg-2); }
.section-dark { background: var(--navy-900); color: #D6DEEA; }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark a { color: #9CC1FF; }
.section-dark a:hover { color: #C4DBFF; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-700); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 20px; height: 2px; background: currentColor; border-radius: 2px; }
.section-dark .eyebrow { color: #8FB8FF; }
.lead { font-size: clamp(1.1rem, 1rem + .5vw, 1.3rem); color: var(--muted); line-height: 1.55; max-width: 62ch; }
.section-dark .lead { color: #AEBBCD; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow::before { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 12px;
  font-weight: 600; font-size: 1rem; line-height: 1; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background-color .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease), transform .18s var(--ease), border-color .18s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 1px 2px rgba(16,24,40,.1), inset 0 1px 0 rgba(255,255,255,.18); }
.btn-primary:hover { background: var(--blue-700); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(47,111,228,.35); }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { border-color: #C9D3E0; color: var(--ink); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--bg-3); color: var(--ink); }
.btn-white { background: #fff; color: var(--navy-900); }
.btn-white:hover { background: #EAF1FF; color: var(--navy-900); transform: translateY(-1px); }
.btn-outline-light { background: rgba(255,255,255,.04); color: #fff; border-color: rgba(255,255,255,.22); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.4); }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 1.05rem; border-radius: 14px; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .9rem; border-radius: 10px; }
.btn-block { width: 100%; }
.btn-group { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 1px 0 rgba(16,24,40,.02), 0 6px 20px rgba(16,24,40,.05); }
.site-header .container { display: flex; align-items: center; height: 100%; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: 1.35rem; letter-spacing: -0.02em; min-height: 44px; }
.brand-mark { width: 34px; height: 34px; border-radius: 8px; background: var(--blue); display: grid; place-items: center; flex: none; }
.brand-mark svg { width: 24px; height: 24px; }
.brand span { line-height: 1; }
.site-nav { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.site-nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .95rem; padding: 10px 12px; border-radius: 10px; min-height: 44px; display: inline-flex; align-items: center; transition: background-color .15s, color .15s; }
.site-nav a:hover { background: var(--bg-3); color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--blue-700); background: var(--blue-50); }
.header-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; place-items: center; }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
@media (max-width: 960px) {
  .site-nav, .header-cta { display: none; }
  .nav-toggle { display: grid; }
  .site-header.nav-open .site-nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: absolute; left: 0; right: 0; top: var(--header-h); padding: 12px 16px 16px; margin: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .site-header.nav-open .site-nav a { font-size: 1.05rem; padding: 12px 14px; }
  .site-header.nav-open .site-nav .nav-mobile-cta { display: flex; margin-top: 10px; gap: 10px; }
  .nav-mobile-cta a { flex: 1; justify-content: center; }
}
.nav-mobile-cta { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--navy-900); color: #fff;
  padding: clamp(72px, 9vw, 128px) 0 0;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 520px at 15% -10%, rgba(47,111,228,.45), transparent 60%),
    radial-gradient(700px 480px at 90% 10%, rgba(64,150,255,.22), transparent 60%),
    radial-gradient(600px 400px at 50% 100%, rgba(47,111,228,.25), transparent 60%),
    linear-gradient(180deg, #071427 0%, var(--navy-900) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
}
.hero-inner { text-align: center; max-width: 900px; margin: 0 auto; }
.hero .eyebrow { color: #9CC1FF; }
.hero .eyebrow::before { display: none; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 .accent { background: linear-gradient(90deg, #8FB8FF, #4F8DFF 60%, #9CC1FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: #B7C4D6; margin: 0 auto 32px; max-width: 58ch; }
.hero .btn-group { justify-content: center; }
.hero-note { margin-top: 14px; color: #8E9CB0; font-size: .9rem; }
.hero-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06); color: #D6DEEA; font-size: .85rem; font-weight: 500; margin-bottom: 22px; }
.hero-pill .dot { width: 22px; height: 22px; border-radius: 999px; background: rgba(47,111,228,.35); display: grid; place-items: center; }
.hero-pill .dot::after { content: ""; width: 8px; height: 8px; border-radius: 999px; background: #6FE3A5; box-shadow: 0 0 0 4px rgba(111,227,165,.18); }
.hero-visual { margin-top: clamp(40px, 6vw, 72px); position: relative; }
.hero-visual::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(180deg, transparent, var(--navy-900)); pointer-events: none; }
.trust-strip { border-top: 1px solid rgba(255,255,255,.08); background: var(--navy-900); color: #8E9CB0; padding: 22px 0; }
.trust-strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; font-size: .9rem; font-weight: 500; }
.trust-strip li { display: inline-flex; align-items: center; gap: 8px; }
.trust-strip svg { width: 16px; height: 16px; color: #6FE3A5; }

/* Browser frame / product mock */
.browser { border-radius: 16px; background: #0E1A2E; border: 1px solid rgba(255,255,255,.12); box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,0,0,.4); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 12px 14px; background: #101E35; border-bottom: 1px solid rgba(255,255,255,.08); }
.browser-bar i { width: 10px; height: 10px; border-radius: 999px; background: rgba(255,255,255,.18); display: block; }
.browser-bar .url { margin-left: 10px; flex: 1; height: 26px; border-radius: 8px; background: rgba(255,255,255,.06); color: #8E9CB0; font-size: .78rem; display: flex; align-items: center; padding: 0 12px; gap: 8px; font-family: ui-monospace, Menlo, Consolas, monospace; }
.browser-bar .url svg { width: 12px; height: 12px; color: #6FE3A5; }
.browser img { width: 100%; }

.mock { display: grid; grid-template-columns: 220px 1fr; min-height: 520px; background: #0B1729; color: #D6DEEA; text-align: left; font-size: .82rem; }
.mock-side { border-right: 1px solid rgba(255,255,255,.08); padding: 18px 14px; display: flex; flex-direction: column; gap: 4px; }
.mock-side .site { font-weight: 600; color: #fff; font-size: .9rem; padding: 6px 10px 14px; letter-spacing: -0.01em; }
.mock-side .site small { display: block; color: #8E9CB0; font-weight: 500; font-size: .72rem; margin-top: 2px; }
.mock-side .item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: #AEBBCD; }
.mock-side .item svg { width: 15px; height: 15px; opacity: .8; }
.mock-side .item.active { background: rgba(47,111,228,.22); color: #fff; }
.mock-main { padding: 18px 20px 24px; display: grid; gap: 14px; grid-template-columns: repeat(4, 1fr); align-content: start; }
.mock-title { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mock-title strong { color: #fff; font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; }
.mock-title .live { display: inline-flex; align-items: center; gap: 6px; color: #6FE3A5; font-weight: 600; font-size: .75rem; }
.mock-title .live::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: #6FE3A5; box-shadow: 0 0 0 3px rgba(111,227,165,.2); }
.kpi { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 14px; }
.kpi .k { color: #8E9CB0; font-size: .72rem; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }
.kpi .v { color: #fff; font-size: 1.45rem; font-weight: 600; letter-spacing: -0.02em; margin-top: 4px; }
.kpi .v small { font-size: .8rem; color: #AEBBCD; font-weight: 500; margin-left: 4px; }
.kpi .d { margin-top: 4px; font-size: .74rem; color: #6FE3A5; }
.kpi .d.warn { color: #F5C451; }
.mock-chart { grid-column: 1 / 4; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 14px; }
.mock-chart .k, .mock-list .k { color: #fff; font-weight: 600; font-size: .85rem; display: flex; justify-content: space-between; align-items: center; }
.mock-chart .k span, .mock-list .k span { color: #8E9CB0; font-weight: 500; font-size: .72rem; }
.mock-chart svg { width: 100%; height: 150px; margin-top: 10px; }
.mock-list { grid-column: 4 / 5; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 14px; }
.mock-list ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.mock-list li { display: grid; grid-template-columns: 8px 1fr; gap: 8px; align-items: start; font-size: .76rem; color: #D6DEEA; line-height: 1.35; }
.mock-list li i { width: 8px; height: 8px; border-radius: 999px; margin-top: 4px; background: #6FE3A5; }
.mock-list li i.amber { background: #F5C451; }
.mock-list li i.red { background: #FF6B6B; }
.mock-list li small { display: block; color: #8E9CB0; }
@media (max-width: 860px) {
  .mock { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  .mock-main { grid-template-columns: repeat(2, 1fr); }
  .mock-chart { grid-column: 1 / -1; }
  .mock-list { grid-column: 1 / -1; }
}

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; }
.card:hover { box-shadow: var(--shadow); border-color: #D5DDE8; }
.card h3 { margin-top: 14px; }
.card p { color: var(--muted); }
.icon-box { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-50); color: var(--blue-700); display: grid; place-items: center; }
.icon-box svg { width: 22px; height: 22px; }
.section-dark .card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); box-shadow: none; }
.section-dark .card p { color: #AEBBCD; }
.section-dark .icon-box { background: rgba(47,111,228,.22); color: #9CC1FF; }

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.bento > .card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.bento .card-body { padding: 28px; }
.bento .card-media { margin-top: auto; background: var(--bg-2); border-top: 1px solid var(--line-2); }
.bento .card-media img { width: 100%; }
.bento .card-media.dark { background: #0B1729; }
.bento .card-media.pad { padding: 20px 20px 0; }
.bento .card-media.pad img { border-radius: 10px 10px 0 0; box-shadow: var(--shadow); border: 1px solid var(--line); border-bottom: 0; }
.span-2 { grid-column: span 2; } .span-3 { grid-column: span 3; } .span-4 { grid-column: span 4; } .span-6 { grid-column: span 6; }
@media (max-width: 960px) { .bento { grid-template-columns: repeat(2, 1fr); } .span-2, .span-3, .span-4, .span-6 { grid-column: span 2; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .span-2, .span-3, .span-4, .span-6 { grid-column: span 1; } }

.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.feature-list li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; color: var(--ink-2); }
.feature-list li svg { width: 22px; height: 22px; color: var(--green); margin-top: 1px; }
.feature-list li.no svg { color: var(--muted-2); }
.feature-list li.no { color: var(--muted); }
.feature-list.tight { gap: 6px; font-size: .95rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }
.figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.figure.dark { background: #0B1729; border-color: rgba(0,0,0,.2); }
.figure figcaption { padding: 10px 16px; font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line-2); background: var(--bg-2); }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { position: relative; padding: 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-weight: 600; color: var(--blue-700); font-size: .85rem; letter-spacing: .08em; }
.step h3 { margin-top: 10px; }
.step p { color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { padding: 24px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.stat .n { font-size: 2rem; font-weight: 600; letter-spacing: -0.03em; color: #fff; line-height: 1.1; }
.stat .l { color: #AEBBCD; font-size: .9rem; margin-top: 6px; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }

.logo-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.logo-row span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-weight: 500; font-size: .92rem; }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; letter-spacing: .02em; }
.pill-blue { background: var(--blue-50); color: var(--blue-700); }
.pill-green { background: var(--green-50); color: var(--green); }
.pill-amber { background: var(--amber-50); color: var(--amber); }
.pill-gray { background: var(--bg-3); color: var(--ink-2); }
.pill-bronze { background: var(--bronze-50); color: var(--bronze); }
.pill-silver { background: var(--silver-50); color: var(--silver); }
.pill-gold { background: var(--gold-50); color: var(--gold); }

/* ---------- Pricing / packages ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
@media (max-width: 960px) { .tiers { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }
.tier { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; box-shadow: var(--shadow-sm); }
.tier.featured { border-color: transparent; box-shadow: 0 0 0 2px var(--gold-400), var(--shadow-lg); }
.tier .tier-badge { position: absolute; top: -14px; left: 28px; }
.tier .tier-name { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.15rem; letter-spacing: -0.01em; }
.tier .swatch { width: 14px; height: 14px; border-radius: 4px; }
.swatch.bronze { background: linear-gradient(135deg, #E0A060, #8F4F12); }
.swatch.silver { background: linear-gradient(135deg, #D6DEE9, #7C8CA3); }
.swatch.gold { background: linear-gradient(135deg, #FFDE7A, #C7960E); }
.tier .tier-tag { color: var(--muted); margin-top: 6px; min-height: 3.2em; }
.tier .price { margin: 18px 0 6px; font-size: 1.6rem; font-weight: 600; letter-spacing: -0.02em; }
.tier .price small { display: block; font-size: .85rem; color: var(--muted); font-weight: 500; letter-spacing: 0; margin-top: 4px; }
.tier .btn { margin: 18px 0 22px; }
.tier .feature-list { font-size: .95rem; }
.tier .includes { font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }

.compare { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.compare table { min-width: 760px; }
.compare th, .compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: top; font-size: .95rem; }
.compare thead th { position: sticky; top: 0; background: #fff; font-weight: 600; border-bottom: 1px solid var(--line); z-index: 1; }
.compare th:first-child { width: 40%; }
.compare th:not(:first-child), .compare td:not(:first-child) { text-align: center; width: 20%; }
.compare tbody th { font-weight: 500; color: var(--ink); }
.compare tbody th small { display: block; color: var(--muted); font-weight: 400; font-size: .82rem; margin-top: 2px; }
.compare .group td, .compare .group th { background: var(--bg-2); font-weight: 600; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 10px 18px; }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }
.compare .yes svg { width: 20px; height: 20px; color: var(--green); margin: 0 auto; }
.compare .no svg { width: 20px; height: 20px; color: #C3CCD9; margin: 0 auto; }
.compare .yes, .compare .no { font-size: .9rem; color: var(--ink-2); }
.compare .featured-col { background: #FFFBEE; }
.compare thead .featured-col { box-shadow: inset 0 3px 0 var(--gold-400); }

/* ---------- Tier page hero ---------- */
.page-hero { padding: clamp(56px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); background: linear-gradient(180deg, var(--bg-2), #fff); border-bottom: 1px solid var(--line-2); }
.page-hero .lead { margin-top: 12px; }
.page-hero.bronze { background: linear-gradient(180deg, #FBF3EA, #fff); }
.page-hero.silver { background: linear-gradient(180deg, #EEF2F7, #fff); }
.page-hero.gold { background: linear-gradient(180deg, #FFF7DE, #fff); }
.page-hero.dark { background: var(--navy-900); color: #D6DEEA; border-bottom: 0; }
.page-hero.dark h1 { color: #fff; }
.page-hero.dark .lead { color: #AEBBCD; }
.page-hero.dark .eyebrow { color: #9CC1FF; }
.breadcrumb { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--muted-2); }
.breadcrumb a { color: var(--muted); }
.page-hero.dark .breadcrumb a { color: #AEBBCD; }

.spec-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.spec-table th, .spec-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line-2); font-size: .95rem; vertical-align: top; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { width: 38%; font-weight: 500; color: var(--muted); background: var(--bg-2); }

.data-table { border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; background: #fff; }
.data-table table { min-width: 640px; }
.data-table th, .data-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line-2); font-size: .93rem; vertical-align: top; }
.data-table thead th { background: var(--bg-2); font-weight: 600; }
.data-table tr:last-child td { border-bottom: 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 0 22px; transition: border-color .2s; }
.faq details[open] { border-color: #C9D3E0; box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; font-weight: 600; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 2px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .answer { padding: 0 0 20px; color: var(--ink-2); max-width: 70ch; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--navy-900); color: #fff; border-radius: var(--radius-lg); padding: clamp(40px, 5vw, 64px); text-align: center; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 300px at 50% 0%, rgba(47,111,228,.5), transparent 70%); }
.cta-band h2 { color: #fff; }
.cta-band p { color: #B7C4D6; max-width: 56ch; margin: 0 auto 26px; }
.cta-band .btn-group { justify-content: center; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 500; margin-bottom: 6px; font-size: .95rem; }
.field .hint { display: block; color: var(--muted); font-size: .85rem; margin-top: 6px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #C9D3E0; border-radius: 10px; font: inherit; color: var(--ink); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47,111,228,.18); }
.field input[aria-invalid="true"] { border-color: var(--red); }
.field .req { color: var(--red); }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--ink-2); }
.checkbox input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--blue); }
.form-note { font-size: .85rem; color: var(--muted); }
.honey { position: absolute; left: -10000px; }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 76ch; }
.prose h2 { font-size: 1.5rem; margin-top: 2.2em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.6em; }
.prose p, .prose li { color: var(--ink-2); }
.prose li { margin-bottom: .35em; }
.prose .meta { color: var(--muted); font-size: .9rem; }
.callout { border-left: 4px solid var(--blue); background: var(--blue-50); padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; color: var(--ink-2); }
.toc { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; background: var(--bg-2); margin-bottom: 32px; }
.toc strong { display: block; margin-bottom: 8px; }
.toc ol { margin: 0; columns: 2; column-gap: 24px; font-size: .95rem; }
@media (max-width: 640px) { .toc ol { columns: 1; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #AEBBCD; padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand { color: #fff; }
.footer-brand p { color: #8E9CB0; font-size: .92rem; max-width: 34ch; margin-top: 14px; }
.site-footer .footer-heading { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer ul a { color: #AEBBCD; text-decoration: none; font-size: .95rem; display: inline-block; padding: 4px 0; }
.site-footer ul a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .85rem; color: #8E9CB0; }
.footer-bottom a { color: #AEBBCD; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0 !important; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; } .mt-6 { margin-top: 48px; }
.mb-0 { margin-bottom: 0 !important; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; }
.text-center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tier-color-bronze { color: var(--bronze); } .tier-color-silver { color: var(--silver); } .tier-color-gold { color: var(--gold); }
.note-box { border: 1px dashed #C9D3E0; border-radius: var(--radius); padding: 16px 20px; color: var(--muted); font-size: .92rem; background: var(--bg-2); }
.kicker-list { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0; margin: 16px 0 0; color: var(--muted); font-size: .92rem; }
.kicker-list li { display: inline-flex; align-items: center; gap: 6px; }
.kicker-list svg { width: 16px; height: 16px; color: var(--green); }
.img-shadow { border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.text-lg { font-size: 1.1rem; }
.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.error-page .code { font-size: 5rem; font-weight: 600; letter-spacing: -0.05em; color: var(--blue); line-height: 1; }

/* inline arrow icon inside links */
.inline-icon { display: inline-block; width: 1em; height: 1em; vertical-align: -0.15em; margin-left: 2px; }
a:hover .inline-icon { transform: translateX(2px); }
.inline-icon { transition: transform .15s var(--ease); }

