/* ─────────────────────────────────────────────────────────────
   GreenTech — shared design system
   Used across every page. Page-specific styles (hero/dashboard
   mock-ups) live inline on the page after this file is imported.
   ───────────────────────────────────────────────────────────── */

:root {
  /* Brand greens */
  --accent:        #1AB093;
  --accent-dark:   #13856F;
  --accent-soft:   #8FD8CA;
  --accent-tint:   #E1F4F1;
  --accent-glow:   #BFE9E1;

  /* Live / warn */
  --live:          #1AB093;
  --warn:          #CA8A04;
  --warn-soft:     #FEF3C7;
  --ink-warn:      #92400E;

  /* Neutral ink ramp */
  --ink-0:         #0F172A;
  --ink-1:         #1F2937;
  --ink-2:         #4B5563;
  --ink-3:         #6B7280;
  --ink-4:         #9CA3AF;

  /* Paper stack */
  --paper:         #FFFFFF;
  --paper-2:       #F8FAFC;
  --paper-3:       #F3F4F6;
  --line:          #E5E7EB;
  --line-2:        #D1D5DB;

  /* Dark band */
  --dark-bg:       #0B1220;
  --dark-bg-2:     #101827;
  --dark-bg-3:     #1B2333;
  --dark-ink:      #E5E7EB;
  --dark-ink-2:    #9CA3AF;
  --dark-line:     #1F2937;

  /* Typography */
  --font-body:  "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --font-mono:  "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Geometry */
  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 14px;

  --wrap: 1200px;
  --pad: clamp(20px, 4vw, 40px);
}

/* ────── Reset ────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-1);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
button { font: inherit; background: none; border: 0; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5 { margin: 0; color: var(--ink-0); font-weight: 500; letter-spacing: -0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* ────── Utilities ────── */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.sr-only-focusable {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px; height: 1px;
  overflow: hidden;
  z-index: 1000;
}
.sr-only-focusable:focus {
  left: 12px; top: 12px;
  width: auto; height: auto;
  padding: 10px 14px;
  background: var(--ink-0);
  color: var(--paper);
  border-radius: var(--r-md);
  box-shadow: 0 8px 24px oklch(0.2 0.02 240 / 0.2);
}

/* ────── Type scale ────── */
.display {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 500;
  color: var(--ink-0);
  margin: 16px 0 20px;
}
.display em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent-dark);
  letter-spacing: -0.02em;
}

.lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 56ch;
  margin: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 0;
}
.eyebrow-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--accent-tint);
  color: var(--accent-dark);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* Pulse dot */
.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 4px color-mix(in oklch, var(--live) 20%, transparent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0   color-mix(in oklch, var(--live) 24%, transparent); }
  50%      { box-shadow: 0 0 0 6px color-mix(in oklch, var(--live) 0%,  transparent); }
}

/* ────── Buttons ────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: background .15s ease, color .15s ease, box-shadow .15s ease, transform .15s ease, border-color .15s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn .arr { transition: transform .15s ease; }
.btn:hover .arr { transform: translateX(2px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 0 oklch(1 0 0 / 0.3) inset, 0 6px 14px -8px oklch(0.6 0.14 165 / 0.6);
}
.btn-primary:hover { background: var(--accent-dark); }

.btn-secondary {
  background: var(--paper);
  color: var(--ink-0);
  border-color: var(--line-2);
}
.btn-secondary:hover { background: var(--paper-2); border-color: var(--ink-3); }

.btn-ghost {
  background: transparent;
  color: var(--ink-1);
}
.btn-ghost:hover { background: var(--paper-2); }

.btn-accent {
  background: var(--paper);
  color: var(--accent-dark);
  border-color: transparent;
}
.btn-accent:hover { background: var(--accent-tint); }

/* ────── Nav ────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in oklch, var(--paper) 85%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.nav.scrolled {
  background: color-mix(in oklch, var(--paper) 96%, transparent);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 oklch(1 0 0 / 0.5) inset;
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 128px;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 64px; width: auto; display: block; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  color: var(--ink-0);
}
.nav-toggle svg { width: 22px; height: 22px; margin: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 16px;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: var(--r-md);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-1);
  cursor: pointer;
}
.nav-link:hover { background: var(--paper-2); color: var(--ink-0); }
.nav-link .chev { width: 10px; height: 10px; opacity: 0.6; transition: transform .15s ease; }
.nav-item.open .chev { transform: rotate(180deg); }

.nav-item { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: -8px;
  min-width: 520px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  box-shadow:
    0 1px 0 oklch(1 0 0 / 0.6) inset,
    0 30px 60px -20px oklch(0.2 0.02 240 / 0.18),
    0 10px 24px -12px oklch(0.2 0.02 240 / 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .15s ease, transform .15s ease;
}
.nav-item.open .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.dd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.dd-item {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  transition: background .15s ease;
}
.dd-item:hover { background: var(--paper-2); }
.dd-title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-0);
  margin-bottom: 2px;
}
.dd-desc {
  font-size: 12.5px;
  color: var(--ink-3);
  line-height: 1.45;
}

.nav-cta {
  margin-left: auto;
  display: flex;
  gap: 8px;
  align-items: center;
}

/* Mobile nav */
@media (max-width: 960px) {
  .nav-inner { height: 96px; }
  .logo img { height: 52px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links,
  .nav-cta {
    display: none;
  }
  .nav.open .nav-links,
  .nav.open .nav-cta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    width: 100%;
    padding: 12px 0 18px;
    border-top: 1px solid var(--line);
  }
  .nav.open .nav-cta { padding-top: 10px; }
  .nav.open .nav-inner {
    flex-wrap: wrap;
    height: auto;
    padding-bottom: 10px;
  }
  .nav-item .dropdown {
    position: static;
    min-width: 0;
    width: 100%;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    border: 0;
    box-shadow: none;
    padding: 4px 0 0 8px;
    display: none;
  }
  .nav-item.open .dropdown { display: block; }
  .nav-link { padding: 11px 12px; }
  .dd-grid { grid-template-columns: 1fr; }
  .nav-cta .btn { justify-content: center; }
}
@media (max-width: 480px) {
  .nav-inner { height: 80px; }
  .logo img { height: 44px; }
}

/* ────── Generic section head ────── */
.section {
  padding: 96px 0;
  border-top: 1px solid var(--line);
}
.section:first-of-type { border-top: 0; }
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.section-eyebrow {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-dark);
  font-weight: 600;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin-bottom: 16px;
}
.section-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent-dark);
  letter-spacing: -0.015em;
}
.section-sub {
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 60ch;
  margin: 0 auto;
}

/* ────── Stats strip ────── */
.stats {
  padding: 72px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, var(--paper), var(--paper-2));
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat {
  padding: 0 4px;
  text-align: left;
  border-left: 1px solid var(--line);
  padding-left: 24px;
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  font-size: clamp(40px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.stat-num em { font-style: italic; color: inherit; }
.stat-num .sub {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.5em;
  vertical-align: super;
  color: var(--accent);
  margin-left: 2px;
  font-weight: 500;
}
.stat-label {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.5;
  max-width: 32ch;
}

@media (max-width: 900px) {
  .stats-grid { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .stat { padding-left: 20px; }
  .stat:nth-child(2n+1) { border-left: 0; padding-left: 0; }
}
@media (max-width: 520px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 20px; }
  .stat:first-child { border-top: 0; padding-top: 0; }
}

/* ────── Pillars ────── */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pillar {
  padding: 28px 24px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  display: flex;
  flex-direction: column;
  min-height: 280px;
}
.pillar:hover {
  transform: translateY(-1px);
  border-color: color-mix(in oklch, var(--accent) 30%, var(--line));
  box-shadow: 0 20px 36px -24px oklch(0.4 0.08 165 / 0.18);
}
.pillar-ico {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--accent-tint);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.pillar-ico svg { width: 20px; height: 20px; }
.pillar h3 {
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.012em;
  font-weight: 600;
  margin-bottom: 10px;
}
.pillar p {
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.55;
  flex: 1;
}
.pillar-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
.pillar-meta .v { color: var(--ink-1); font-weight: 500; }

@media (max-width: 960px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar { min-height: 0; }
}

/* ────── Sectors (dark section) ────── */
.sectors {
  background: var(--dark-bg);
  color: var(--dark-ink);
  border-top: 0;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.sectors::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 900px 500px at 20% -10%, color-mix(in oklch, var(--accent) 14%, transparent), transparent 60%),
    radial-gradient(ellipse 700px 400px at 100% 100%, color-mix(in oklch, var(--accent) 8%, transparent), transparent 60%);
  pointer-events: none;
}
.sectors .section-head,
.sectors .section-head * { color: var(--dark-ink); }
.sectors .section-eyebrow { color: var(--accent-soft); }
.sectors .section-sub { color: var(--dark-ink-2); }
.sectors .section-title em { color: var(--accent-soft); }

.sectors-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 32px;
  position: relative;
}
.sector-tab {
  text-align: left;
  padding: 16px 16px 18px;
  border: 1px solid var(--dark-line);
  border-radius: var(--r-lg);
  background: var(--dark-bg-2);
  color: var(--dark-ink);
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sector-tab:hover { background: var(--dark-bg-3); border-color: color-mix(in oklch, var(--accent) 40%, var(--dark-line)); }
.sector-tab.active {
  border-color: var(--accent);
  background: color-mix(in oklch, var(--accent) 12%, var(--dark-bg-2));
  box-shadow: 0 0 0 1px var(--accent);
}
.s-num {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--accent-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.s-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark-ink);
  letter-spacing: -0.01em;
}
.s-tier {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--dark-ink-2);
}

.sector-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding: 40px;
  border: 1px solid var(--dark-line);
  border-radius: 16px;
  background: var(--dark-bg-2);
  position: relative;
}
.sector-panel h3 {
  color: var(--dark-ink);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 14px;
}
.sector-panel > div:first-child > p {
  color: var(--dark-ink-2);
  font-size: 15.5px;
  line-height: 1.55;
  margin-bottom: 22px;
}
.sector-features {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}
.sector-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--dark-ink);
}
.sector-features .check {
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: color-mix(in oklch, var(--accent) 22%, transparent);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.sector-features .check svg { width: 10px; height: 10px; }

.sector-viz {
  background: var(--dark-bg);
  border: 1px solid var(--dark-line);
  border-radius: var(--r-lg);
  padding: 20px 22px;
}
.viz-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 14px 0;
  border-top: 1px dashed var(--dark-line);
  gap: 16px;
}
.viz-row:first-child { border-top: 0; padding-top: 0; }
.viz-row:last-child { padding-bottom: 0; }
.viz-row .l {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--dark-ink-2);
  min-width: 40%;
}
.viz-row .r {
  text-align: right;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--dark-ink);
  line-height: 1.3;
}
.viz-row .r.ok { color: var(--accent); }
.viz-row .sub-meta {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--dark-ink-2);
  font-weight: 400;
  margin-top: 4px;
  letter-spacing: 0.02em;
}

@media (max-width: 900px) {
  .sectors-tabs { grid-template-columns: 1fr 1fr; }
  .sector-panel { grid-template-columns: 1fr; padding: 28px; gap: 28px; }
}
@media (max-width: 520px) {
  .sectors { padding: 80px 0; }
  .sectors-tabs { grid-template-columns: 1fr; }
}

/* ────── Process ────── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step {
  padding: 26px 22px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  position: relative;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.step:hover {
  border-color: color-mix(in oklch, var(--accent) 30%, var(--line));
  box-shadow: 0 20px 36px -24px oklch(0.4 0.08 165 / 0.18);
}
.step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-dark);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 16px;
}
.step h4 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.012em;
  margin-bottom: 8px;
  color: var(--ink-0);
}
.step p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .process-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .process-grid { grid-template-columns: 1fr; }
}

/* ────── CTA band ────── */
.cta-band {
  padding: 120px 0;
  text-align: center;
  background:
    radial-gradient(ellipse 700px 300px at 50% 0%, color-mix(in oklch, var(--accent) 7%, transparent), transparent 60%),
    linear-gradient(180deg, var(--paper), var(--paper-2));
  border-top: 1px solid var(--line);
}
.cta-band h2 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin-bottom: 16px;
  max-width: 22ch;
  margin-left: auto; margin-right: auto;
}
.cta-band h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent-dark);
  letter-spacing: -0.015em;
}
.cta-band p {
  font-size: 17px;
  color: var(--ink-2);
  max-width: 56ch;
  margin: 0 auto 28px;
}
.cta-ctas {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

/* ────── Form success notification (post-submit confirmation) ────── */
.form-success {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  background: var(--accent-tint);
  border: 1px solid color-mix(in oklch, var(--accent) 35%, transparent);
  border-radius: var(--r-md);
  color: var(--accent-dark);
  font-size: 14.5px;
  line-height: 1.55;
  margin-bottom: 22px;
  letter-spacing: -0.005em;
}
.form-success::before {
  content: "✓";
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  margin-top: 0;
}

/* ────── Regulatory disclaimer component ────── */
.reg-disclaimer {
  margin: 40px auto 0;
  max-width: 760px;
  padding: 14px 18px;
  border-left: 2px solid var(--accent);
  background: var(--paper-2);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-2);
  font-style: italic;
}
.reg-disclaimer strong {
  display: block;
  font-style: normal;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-dark);
  margin-bottom: 4px;
}

/* ────── Footer ────── */
footer {
  background: var(--dark-bg);
  color: var(--dark-ink-2);
  padding: 72px 0 32px;
  margin-top: 0;
}
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--dark-line);
}
.foot-brand .logo img {
  height: 84px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}
@media (max-width: 520px) {
  .foot-brand .logo img { height: 68px; }
}
.foot-brand p {
  margin-top: 20px;
  max-width: 38ch;
  font-size: 14px;
  color: var(--dark-ink-2);
  line-height: 1.55;
}
.foot-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 8px 12px 8px 10px;
  border: 1px solid var(--dark-line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--dark-ink);
  background: var(--dark-bg-2);
}
.foot-badge .chip {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-soft);
  padding: 3px 7px;
  background: color-mix(in oklch, var(--accent) 15%, var(--dark-bg));
  border-radius: 999px;
}
.foot-col h5 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-soft);
  margin-bottom: 16px;
  font-weight: 600;
}
.foot-col ul { display: grid; gap: 10px; }
.foot-col a {
  font-size: 14px;
  color: var(--dark-ink-2);
  transition: color .15s ease;
}
.foot-col a:hover { color: var(--dark-ink); }
.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  font-size: 12.5px;
  color: var(--dark-ink-2);
}
.foot-bottom a {
  color: var(--dark-ink-2);
  margin-left: 16px;
}
.foot-bottom a:first-child { margin-left: 0; }
.foot-bottom a:hover { color: var(--dark-ink); }

@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 520px) {
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .foot-bottom > div:last-child a:first-child { margin-left: 0; }
}

/* ────── Generic card / tiers ────── */
.tier-card {
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.tier-card:hover {
  border-color: color-mix(in oklch, var(--accent) 30%, var(--line));
  box-shadow: 0 20px 36px -24px oklch(0.4 0.08 165 / 0.18);
}
.tier-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px color-mix(in oklch, var(--accent) 40%, transparent);
}
