:root {
  --ink: #102033;
  --muted: #5f6f82;
  --line: #d8e2ea;
  --paper: #ffffff;
  --wash: #f3f7fa;
  --brand: #0f766e;
  --brand-dark: #0f2742;
  --teal: #14b8a6;
  --accent: #f97316;
  --gold: #f59e0b;
  --success: #16a34a;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--wash);
}
a { color: inherit; }
.shell { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,255,255,.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.nav { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 22px;
  text-decoration: none;
  color: var(--brand-dark);
  letter-spacing: 0;
}
.brand img { flex: 0 0 auto; filter: drop-shadow(0 8px 16px rgba(15, 39, 66, .16)); }
.navlinks { display: flex; align-items: center; gap: 18px; font-size: 14px; color: var(--muted); }
.navlinks a { text-decoration: none; }
.navlinks a:hover { color: var(--brand); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid var(--brand-dark);
  background: var(--brand-dark);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(15, 39, 66, .16);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-1px); box-shadow: 0 16px 34px rgba(15, 39, 66, .2); }
.button.secondary { background: #fff; color: var(--brand-dark); box-shadow: none; }
.button-small { min-height: 38px; padding: 0 14px; }
.hero {
  min-height: 620px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(8,22,38,.95) 0%, rgba(8,22,38,.82) 38%, rgba(8,22,38,.2) 74%),
    url("/images/homepage-hero.png") center/cover no-repeat;
  color: #fff;
}
.hero-home { position: relative; overflow: hidden; }
.hero-home::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(243,247,250,0), var(--wash));
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: end;
  gap: 32px;
  padding: 78px 0 92px;
}
.hero-copy { align-self: center; max-width: 720px; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero h1 { max-width: 780px; margin: 0 0 18px; font-size: clamp(46px, 7vw, 84px); line-height: .96; letter-spacing: 0; }
.hero p { max-width: 680px; font-size: 19px; line-height: 1.65; color: rgba(255,255,255,.9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-panel {
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 8px;
  background: rgba(255,255,255,.14);
  box-shadow: 0 24px 80px rgba(0,0,0,.24);
  backdrop-filter: blur(18px);
}
.hero-panel strong { display: block; margin-top: 6px; font-size: 22px; }
.panel-label { color: rgba(255,255,255,.7); font-size: 13px; font-weight: 700; }
.panel-meter {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
}
.panel-meter span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--teal), var(--gold)); }
.panel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.panel-grid span {
  display: grid;
  gap: 3px;
  padding: 12px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.72);
  font-size: 12px;
}
.panel-grid b { color: #fff; font-size: 20px; }
.trust-strip { background: #fff; border-bottom: 1px solid var(--line); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}
.trust-grid span {
  position: relative;
  padding: 18px 16px 18px 30px;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 800;
}
.trust-grid span::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 24px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--success);
}
.section { padding: 56px 0; }
.section-light { background: #fff; }
.section-tight { padding-top: 20px; }
.section h2 { font-size: 32px; margin: 0 0 16px; }
.section-copy p:not(.eyebrow) { max-width: 640px; color: var(--muted); line-height: 1.65; }
.split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(320px, 1fr); gap: 42px; align-items: center; }
.visual-stack {
  position: relative;
  min-height: 390px;
}
.visual-stack img {
  position: absolute;
  display: block;
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(15, 39, 66, .16);
}
.visual-stack img:first-child { right: 0; top: 0; width: 82%; }
.visual-stack img:last-child { left: 0; bottom: 0; width: 66%; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}
.feature-grid { gap: 18px; }
.feature-card { min-height: 238px; }
.feature-card img { margin-bottom: 18px; }
.card h3 { margin: 0 0 10px; font-size: 20px; }
.card p { color: var(--muted); line-height: 1.55; }
.media-card { padding: 0; overflow: hidden; }
.media-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  background: #d9e0e8;
}
.media-card-body { padding: 18px; }
.kicker { margin: 0 0 8px; color: var(--brand); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.page-head { display: grid; gap: 12px; margin-bottom: 26px; }
.page-head p { max-width: 760px; color: var(--muted); line-height: 1.6; margin: 0; }
.offer-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px; }
.price-line {
  display: block;
  margin: 12px 0 16px;
  color: var(--ink);
  font-weight: 800;
}
.price-line small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.source-note { margin-top: 22px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.metric { font-size: 30px; font-weight: 800; color: var(--brand); }
.notice {
  border-left: 4px solid var(--accent);
  background: #fff7ed;
  padding: 15px 16px;
  border-radius: 8px;
  color: #7c2d12;
  line-height: 1.55;
}
.dashboard {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - 68px);
}
.sidebar {
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 24px;
}
.sidebar a { display: block; padding: 11px 0; color: var(--muted); text-decoration: none; }
.workspace { padding: 28px; }
.table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.table th, .table td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.tag { display: inline-flex; padding: 4px 8px; border-radius: 999px; background: #e6f4f1; color: var(--brand); font-size: 12px; font-weight: 700; }
.footer { padding: 36px 0; color: var(--muted); border-top: 1px solid var(--line); background: #fff; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.field { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
input, select, textarea {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 11px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}
textarea { min-height: 120px; resize: vertical; }
.stack { display: grid; gap: 18px; }
.toolbar { display: flex; align-items: end; gap: 12px; flex-wrap: wrap; }
.codebox { white-space: pre-wrap; overflow: auto; max-height: 260px; background: #111827; color: #e5e7eb; border-radius: 8px; padding: 14px; }
@media (max-width: 820px) {
  .nav { align-items: flex-start; flex-direction: column; padding: 16px 0; }
  .navlinks { flex-wrap: wrap; }
  .grid, .dashboard, .hero-inner, .split, .trust-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .sidebar { border-right: 0; border-bottom: 1px solid var(--line); }
  .hero { min-height: auto; background-position: 62% center; }
  .hero-inner { padding: 56px 0 70px; }
  .hero-panel { max-width: 100%; }
  .trust-grid span { padding: 13px 16px 13px 30px; }
  .trust-grid span::before { top: 19px; }
  .visual-stack { min-height: auto; display: grid; gap: 14px; }
  .visual-stack img { position: static; width: 100% !important; }
}
