/* ============================================================
   SteadyState Data — design tokens
   Palette: cool graphite/off-white (not the warm-cream default),
   one restrained teal "signal" accent, a rare amber "exception" color.
   Type: Roboto (Google Font) for body and headings.
   ============================================================ */

:root {
  --ink: #14181a;
  --paper: #f0f2f0;
  --card: #fafbfa;
  --slate: #5c6b6e;
  --slate-light: #8a9698;
  --line: #d7ddda;
  --signal: #1f6f62;
  --signal-dim: #164f46;
  --signal-soft: #e4efec;
  --exception: #b8632e;
  --exception-soft: #f5e9dd;

  --font-display:
    "Roboto", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-body:
    "Roboto", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  --max-width: 1152px;
  --radius: 6px;
  --circle: 150px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

::selection {
  background: var(--signal);
  color: var(--paper);
}

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}

/* ---------- layout ---------- */

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

.section {
  border-bottom: 1px solid var(--line);
}

.section--card {
  background: var(--card);
}

.section-pad {
  padding-top: 64px;
  padding-bottom: 64px;
}

@media (min-width: 768px) {
  .section-pad {
    padding-top: 96px;
    padding-bottom: 96px;
  }
}

.section-pad--sm {
  padding-top: 56px;
  padding-bottom: 56px;
}

@media (min-width: 768px) {
  .section-pad--sm {
    padding-top: 72px;
    padding-bottom: 72px;
  }
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.problem-grid .card {
  min-height: 220px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;

  text-align: center;

  padding: 32px 24px;

  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.problem-grid .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
}

/* Icon container */
.icon-box {
  width: 64px;
  height: 64px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 16px;

  margin-bottom: 22px;

  transition: transform 0.25s ease;
}

.problem-grid .card:hover .icon-box {
  transform: scale(1.08);
}

.icon-box svg {
  width: 30px;
  height: 30px;

  stroke-width: 2;
}

/* Icon background colors */
.icon-blue {
  background: #e8f1ff;
  color: #2563eb;
}

.icon-green {
  background: #e8f8ef;
  color: #16a34a;
}

.icon-purple {
  background: #f3eaff;
  color: #9333ea;
}

.icon-orange {
  background: #fff1df;
  color: #ea580c;
}

.icon-red {
  background: #ffe9e9;
  color: #dc2626;
}

.icon-teal {
  background: #e4f8f6;
  color: #0f766e;
}

/* Text */
.problem-grid .card p {
  margin: 0;

  max-width: 280px;

  color: #374151;

  font-size: 16px;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px) {
  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .problem-grid {
    grid-template-columns: 1fr;
  }

  .problem-grid .card {
    min-height: auto;
  }
}

.step-inner-items {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
  margin: 0 auto;
  padding: 70px 20px 40px;
  background: transparent;
}

.step-inner-items *,
.step-inner-items *::before,
.step-inner-items *::after {
  box-sizing: border-box;
}

.step-inner-items .step {
  flex: 1;
  text-align: center;
}

/* staggered layout: 2nd and 4th items sit higher */
.step-inner-items .step:nth-child(even) {
  transform: translateY(-50px);
}

.step-inner-items .circle {
  position: relative;
  width: var(--circle);
  height: var(--circle);
  margin: 0 auto 22px;
  border: 2px dashed var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

.step-inner-items .circle svg {
  width: 52px;
  height: 52px;
  stroke-width: 1.6;
}

.step-inner-items .badge {
  position: absolute;
  top: 2px;
  right: -6px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-inner-items .badge span {
  width: 40px;
  min-width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-inner-items .step h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}

.step-inner-items .step p {
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.5;
  max-width: 230px;
}

/* tablet */
@media (max-width: 900px) {
  .step-inner-items {
    flex-wrap: wrap;
    row-gap: 50px;
  }
  .step-inner-items .step {
    flex: 0 0 calc(50% - 12px);
    transform: none !important;
  }
}

/* mobile */
@media (max-width: 480px) {
  .step-inner-items .step {
    flex: 0 0 100%;
  }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.services-grid .card-link {
  position: relative;

  display: flex;
  flex-direction: column;

  min-height: 250px;

  padding: 32px;

  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;

  text-decoration: none;
  color: inherit;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.services-grid .card-link:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
}

/* Colored top accent */
.services-grid .card-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 5px;
  border-radius: 0 0 8px 8px;
}

/* Different accent colors */
/* .services-grid .card-link:nth-child(1)::before {
  background: #2563eb;
}

.services-grid .card-link:nth-child(2)::before {
  background: #16a34a;
}

.services-grid .card-link:nth-child(3)::before {
  background: #9333ea;
}

.services-grid .card-link:nth-child(4)::before {
  background: #ea580c;
}

.services-grid .card-link:nth-child(5)::before {
  background: #dc2626;
}

.services-grid .card-link:nth-child(6)::before {
  background: #0891b2;
} */

.services-grid h3 {
  margin: 18px 0 10px;
  font-size: 22px;
  line-height: 1.3;
  color: #111827;
}

.services-grid p {
  margin: 0;
  color: #4b5563;
  line-height: 1.7;
}

/* Push link to bottom */
.services-grid .read-more {
  margin-top: auto;
  padding-top: 10px;

  font-weight: 600;
  color: #2563eb;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  transition: gap 0.2s ease;
}

.services-grid .read-more::after {
  content: "→";
}

.services-grid .card-link:hover .read-more {
  gap: 14px;
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-grid .card-link {
    min-height: auto;
  }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: var(--radius);
  z-index: 100;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(240, 242, 240, 0.78);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(250, 251, 250, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -22px rgba(20, 24, 26, 0.35);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand {
  flex: none;
  display: inline-flex;
  align-items: center;
}

.brand img {
  display: block;
  width: 168px;
  height: auto;
}

@media (min-width: 1024px) {
  .brand img {
    width: 188px;
  }
}

/* desktop menu: a segmented pill group, active page = white pill */
.primary-nav {
  display: none;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
}

.primary-nav a {
  position: relative;
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 14.5px;
  color: var(--slate);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.primary-nav a:hover {
  color: var(--ink);
  background: rgba(20, 24, 26, 0.05);
}

.primary-nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 500;
  background: #fff;
  box-shadow:
    0 1px 2px rgba(20, 24, 26, 0.08),
    0 0 0 1px rgba(20, 24, 26, 0.05);
}

/* small teal dot under the active item */
.primary-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--signal);
}

.primary-nav a:focus-visible,
.nav-cta:focus-visible,
.nav-toggle:focus-visible,
.mobile-nav a:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* .site-header prefix keeps this above the generic .btn rules */
.site-header .nav-cta {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.site-header .nav-cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.site-header .nav-cta:hover {
  background: var(--signal);
}

.site-header .nav-cta:hover svg {
  transform: translateX(3px);
}

/* hamburger -> X */
.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle-bars {
  position: relative;
  width: 18px;
  height: 12px;
}

.nav-toggle-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.75px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}

.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: 5px; }
.nav-toggle-bars span:nth-child(3) { top: 10px; }

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) {
  top: 5px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) {
  top: 5px;
  transform: rotate(-45deg);
}

/* 1024, not 860: six primary links need the room */
@media (min-width: 1024px) {
  .primary-nav {
    display: flex;
  }

  .site-header .nav-cta {
    display: inline-flex;
  }

  .nav-toggle {
    display: none;
  }
}

/* mobile menu panel */
.mobile-nav {
  display: none;
  padding: 8px 24px 24px;
  border-top: 1px solid var(--line);
}

.mobile-nav.is-open {
  display: block;
  animation: mobile-nav-in 0.2s ease;
}

@keyframes mobile-nav-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-nav ul a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 14px;
  border-radius: 12px;
  font-size: 16px;
  color: var(--ink);
  text-decoration: none;
}

.mobile-nav ul a svg {
  width: 17px;
  height: 17px;
  color: var(--slate-light);
}

.mobile-nav ul a:hover {
  background: rgba(20, 24, 26, 0.04);
}

.mobile-nav ul a[aria-current="page"] {
  font-weight: 500;
  background: var(--signal-soft);
  color: var(--signal-dim);
  box-shadow: inset 3px 0 0 var(--signal);
}

.mobile-nav ul a[aria-current="page"] svg {
  color: var(--signal);
}

.mobile-nav-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  padding: 14px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 500;
  text-decoration: none;
}

.mobile-nav-cta svg {
  width: 17px;
  height: 17px;
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .primary-nav a,
  .site-header .nav-cta,
  .site-header .nav-cta svg,
  .nav-toggle-bars span {
    transition: none;
  }

  .mobile-nav.is-open {
    animation: none;
  }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.btn--primary {
  background: var(--ink);
  color: var(--paper);
}

.btn--primary:hover {
  background: var(--signal-dim);
}

.btn--secondary {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

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

.hero .btn--secondary {
  border-color: var(--paper);
  color: var(--paper);
}

.hero .btn--secondary:hover {
  background-color: var(--paper);
  color: var(--ink);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ---------- typography helpers ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--signal);
  margin-bottom: 12px;
  border: 1px solid var(--signal);
  padding: 10px 16px;
  border-radius: var(--radius);
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
  flex-shrink: 0;
}

.eyebrow--glass {
  position: absolute;
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-width: 1px;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.17);
  border-image: none;
  border-radius: 8px;
  padding: 13px 17px;
  gap: 11px;
  color: var(--card);
}

/* .eyebrow--glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,.45) 0%,
    rgba(255,255,255,.18) 45%,
    rgba(255,255,255,.05) 100%
  );
  pointer-events: none;
} */

.h1 {
  font-size: clamp(2.1rem, 1.6rem + 2.2vw, 3.4rem);
}

.h2 {
  font-size: clamp(1.7rem, 1.4rem + 1.3vw, 2.4rem);
}

.h3 {
  font-size: 1.25rem;
  font-family: var(--font-body);
  font-weight: 500;
}

.lede {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--slate);
  max-width: 42rem;
}

.max-prose {
  max-width: 42rem;
}

.text-slate {
  color: var(--slate);
}

/* ---------- hero ---------- */

.hero {
  display: grid;
  gap: 48px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 64px;
  color: var(--paper);
}

.hero-banner-section {
  /* background: url("../images/hero-bg.jpg") center center / cover no-repeat; */
  /* background-image: var(--hero-bg); */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero .btn--primary {
  color: var(--ink);
  background: var(--paper);

  &:hover {
    background: var(--signal-dim);
    color: var(--paper);
  }
}

.sub-page-hero h1 {
  color: var(--card);
}

.sub-page-hero .eyebrow {
  color: var(--paper);
  border: 1px solid var(--paper);
}

@media (min-width: 860px) {
  .hero {
    grid-template-columns: 1.1fr 0.9fr;
    padding-top: 100px;
    padding-bottom: 100px;
  }
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 36rem;
}

.hero-copy .h1 {
  margin-top: 4px;
  color: var(--paper);
}

.hero-lede {
  margin-top: 22px;
  color: var(--paper);
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-visual {
  display: none;
}

@media (min-width: 860px) {
  .hero-visual {
    display: block;
  }
}

.hero-visual p {
  margin-top: 12px;
  font-size: 14px;
  /* color: var(--slate); */
}

/* ---------- signal line motif ---------- */

.signal-line {
  width: 100%;
  height: auto;
}

/* ---------- recognition grid ---------- */

.grid-cards {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 40px;
}

@media (min-width: 640px) {
  .grid-cards--2 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  .grid-cards--3 {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.card {
  background: var(--card);
  padding: 28px;
}

.card p {
  font-size: 1.05rem;
  line-height: 1.55;
}

.card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.15s ease;
}

.card-link:hover {
  background: var(--signal-soft);
}

.card-link h3 {
  color: var(--ink);
}

.card-link p {
  margin-top: 8px;
  flex: 1;
  font-size: 0.95rem;
  color: var(--slate);
  line-height: 1.55;
}

.card-link .read-more {
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--signal-dim);
  opacity: 0;
  transition: opacity 0.15s ease;
}

.card-link:hover .read-more {
  opacity: 1;
}

/* ---------- approach / steps ---------- */

.approach-steps {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 32px;
}

@media (min-width: 640px) {
  .approach-steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .approach-steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.approach-steps .step-num {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
}

.approach-steps h3 {
  margin-top: 4px;
}

.approach-steps p {
  margin-top: 8px;
  font-size: 0.95rem;
  color: var(--slate);
  line-height: 1.55;
}

/* ---------- before / after ---------- */

.before-after {
  margin-top: 40px;
}

.before-after ol {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.before-after li {
  display: flex;
  gap: 12px;
  font-size: 0.98rem;
  line-height: 1.5;
}

.before-after .num {
  color: var(--slate);
}

.before-after .after .num {
  color: var(--signal-dim);
}

.before-after .label {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
}

.before-after .after .label {
  color: var(--signal-dim);
}

.before-after .sublabel {
  margin-top: 2px;
  font-size: 14px;
  color: var(--slate);
}

.conclusion-line {
  margin-top: 32px;
  font-size: 1.2rem;
  font-family: var(--font-display);
}

/*----------------------------new-before-after------------------------------------------*/
/* Uses native CSS nesting (Chrome 120+, Safari 17.2+, Firefox 117+) */

.before-after-block {
  color: var(--ink);
  line-height: 1.5;
  margin-top: 50px;

  h1 {
    margin: 0 0 8px;
    max-width: 22ch;
    font-size: clamp(1.5rem, 3.2vw, 2.1rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
  }

  .lede {
    margin: 0 0 28px;
    max-width: 56ch;
    color: var(--slate);
  }

  .grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  /* Cards */
  .panel {
    padding: 24px 24px 20px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 20px;

    &.after {
      border-color: var(--signal);
      box-shadow: 0 0 0 4px var(--signal-soft);
    }
  }

  .head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;

    h2 {
      margin: 0;
      font-size: 1.15rem;
      font-weight: 600;
    }
  }

  .badge {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
  }

  .sub {
    margin: 0 0 20px;
    color: var(--slate);
    font-size: 0.92rem;
  }

  /* Step list */
  ol {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  li {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding-bottom: 18px;

    &:last-child {
      padding-bottom: 0;

      &::before {
        display: none;
      }
    }

    /* connector line */
    &::before {
      content: "";
      position: absolute;
      left: 15px;
      top: 32px;
      bottom: 2px;
      width: 2px;
    }
  }

  .dot {
    flex: none;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid;
  }

  .lucide {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .txt {
    padding-top: 4px;
    font-weight: 500;

    small {
      display: block;
      color: var(--slate);
      font-size: 0.82rem;
      font-weight: 400;
    }
  }

  .foot {
    margin: 20px 0 0;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    color: var(--slate);
    font-size: 0.9rem;

    b {
      color: var(--ink);
      font-weight: 600;
    }
  }

  /* BEFORE variant */
  .before {
    .badge {
      background: var(--paper);
      color: var(--slate);
    }

    li::before {
      background: repeating-linear-gradient(
        to bottom,
        var(--slate-light) 0 3px,
        transparent 3px 7px
      );
    }

    .dot {
      background: var(--card);
      color: var(--slate);
      border: 2px dashed var(--slate-light);
    }
  }

  /* AFTER variant */
  .after {
    .badge {
      background: var(--signal-soft);
      color: var(--signal-dim);
    }

    li::before {
      background: var(--signal);
    }

    .dot {
      background: var(--signal);
      border-color: var(--signal);
      color: var(--card);
    }

    li.alert {
      .dot {
        background: var(--exception);
        border-color: var(--exception);
        animation: ping 2.4s ease-out 1.2s 2;
      }

      .txt {
        margin-top: -2px;
        padding: 6px 12px;
        background: var(--exception-soft);
        border-radius: 10px;

        small {
          color: var(--exception);
        }
      }
    }
  }

  @media (max-width: 720px) {
    padding: 24px 14px;

    .grid {
      grid-template-columns: 1fr;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .after li.alert .dot {
      animation: none;
    }
  }
}

@keyframes ping {
  0% {
    box-shadow: 0 0 0 0 var(--exception);
    opacity: 1;
  }
  100% {
    box-shadow: 0 0 0 14px var(--exception-soft);
    opacity: 1;
  }
}

/* ---------- industries ---------- */

.industries-list {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  gap: 28px;
}

@media (min-width: 640px) {
  .industries-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .industries-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.industries-list li {
  border: 1px solid var(--line);
  padding: 18px;
  border-radius: 8px;
}

.industries-list h3 {
  font-size: 1.05rem;
}

.industries-list p {
  margin-top: 8px;
  font-size: 0.95rem;
  color: var(--slate);
  line-height: 1.55;
}

/* ---------- small-data-pipes callout ---------- */

.callout {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 10px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 768px) {
  .callout {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 40px;
  }
}

.callout-copy {
  max-width: 34rem;
}

.callout-eyebrow {
  font-size: 14px;
  color: var(--slate);
}

.callout h2 {
  margin-top: 6px;
  font-size: 1.5rem;
}

.callout p.body {
  margin-top: 12px;
  font-size: 0.98rem;
  color: var(--slate);
  line-height: 1.6;
}

/* ---------- final CTA ---------- */

.final-cta {
  text-align: center;
  padding: 80px 0;
}

@media (min-width: 768px) {
  .final-cta {
    padding: 110px 0;
  }
}

.final-cta .h2 {
  max-width: 34rem;
  margin: 0 auto;
  text-wrap: balance;
}

.final-cta .lede {
  margin: 16px auto 0;
  text-align: center;
}

.final-cta .btn {
  margin-top: 30px;
}

/* ---------- services page ---------- */

.service-block {
  padding: 56px 0;
}

.service-block--alt {
  background: var(--card);
}

.service-grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 768px) {
  .service-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.service-intro h2 {
  font-size: 1.55rem;
}

.service-intro p {
  margin-top: 12px;
  font-size: 0.95rem;
  color: var(--slate);
  line-height: 1.6;
}

.service-columns {
  display: grid;
  gap: 28px;
}

@media (min-width: 480px) {
  .service-columns {
    grid-template-columns: 1fr 1fr;
  }
}

.service-columns h4 {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
  margin: 0;
}

.service-columns ul {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-columns li {
  font-size: 0.95rem;
  line-height: 1.5;
}

.outcome {
  margin-top: 32px;
  border: 1px solid var(--line);
  background: var(--signal-soft);
  border-radius: var(--radius);
  padding: 18px 20px;
  font-size: 0.95rem;
  line-height: 1.55;
}

.outcome strong {
  font-weight: 500;
}

.tech-grid {
  display: grid;
  gap: 28px;
  margin-top: 40px;
}

@media (min-width: 640px) {
  .tech-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tech-grid h4 {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
  margin: 0;
}

.tech-grid p {
  margin-top: 8px;
  font-size: 0.95rem;
}

/* ---------- how we work ---------- */

.phase-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.phase-item {
  display: grid;
  gap: 20px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.phase-item:last-child {
  border-bottom: none;
}

@media (min-width: 768px) {
  .phase-item {
    grid-template-columns: 220px 1fr;
    gap: 48px;
  }
}

.phase-num {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
}

.phase-item h2 {
  font-size: 1.4rem;
  margin-top: 6px;
}

.phase-item .desc {
  max-width: 42rem;
  font-size: 0.98rem;
  color: var(--slate);
  line-height: 1.6;
}

.phase-tags {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.phase-tags span {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 3px;
  padding: 6px 12px;
  font-size: 14px;
}

/* ---------- about ---------- */

.drift-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0 0 0 24px;
  border-left: 2px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.drift-list li {
  font-size: 1.05rem;
  line-height: 1.55;
}

/* ---------- legal pages ---------- */

.legal-section {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 40px;
}

.legal-section h2 {
  font-size: 1.15rem;
  font-family: var(--font-body);
  font-weight: 500;
}

.legal-section p {
  margin-top: 8px;
  font-size: 0.95rem;
  color: var(--slate);
  line-height: 1.6;
}

.legal-section a {
  color: var(--ink);
  text-decoration: underline;
}

.updated {
  margin-top: 8px;
  font-size: 14px;
  color: var(--slate);
}

/* ---------- footer (dark, matches inner hero + CTA) ---------- */

.site-footer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
  color: rgba(240, 242, 240, 0.65);
}

/* teal glow bottom-left + thin teal line on top */
.site-footer::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -220px;
  bottom: -320px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--signal) 45%, transparent), transparent 62%);
  opacity: 0.7;
  pointer-events: none;
}

.site-footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--signal) 80%, #fff) 50%, transparent);
  opacity: 0.5;
}

.footer-main {
  display: grid;
  gap: 48px;
  padding-top: 64px;
  padding-bottom: 48px;
}

@media (min-width: 1024px) {
  .footer-main {
    gap: 56px;
    padding-top: 80px;
    padding-bottom: 64px;
  }
}

/* row 1: brand + description (left), contact (right) */
.footer-intro {
  display: grid;
  gap: 28px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(240, 242, 240, 0.1);
}

@media (min-width: 860px) {
  .footer-intro {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .footer-intro .footer-contact {
    margin-top: 0;
    justify-content: flex-end;
  }
}

/* brand column */
.footer-brand {
  display: inline-block;
}

.footer-brand img {
  display: block;
  width: 168px;
  height: auto;
}

.footer-desc {
  margin-top: 18px;
  max-width: 30rem;
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(240, 242, 240, 0.65);
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 28px;
}

.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 10px 10px;
  border: 1px solid rgba(240, 242, 240, 0.12);
  border-radius: 14px;
  background: rgba(240, 242, 240, 0.04);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.footer-email:hover {
  border-color: color-mix(in srgb, var(--signal) 70%, transparent);
  background: rgba(240, 242, 240, 0.07);
}

.footer-email-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--signal);
  color: #fff;
}

.footer-email-icon svg {
  width: 18px;
  height: 18px;
}

.footer-email-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(240, 242, 240, 0.5);
}

.footer-email-addr {
  display: block;
  font-size: 0.95rem;
  color: #fff;
}

.footer-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.footer-btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.footer-btn:hover {
  background: var(--signal);
  color: #fff;
}

.footer-btn:hover svg {
  transform: translateX(3px);
}

/* link columns */
.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 24px;
}

@media (min-width: 640px) {
  .footer-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .footer-nav {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 32px;
  }
}

.footer-heading {
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a {
  position: relative;
  font-size: 0.95rem;
  color: rgba(240, 242, 240, 0.62);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1px;
  background: var(--signal);
  transition: width 0.25s ease;
}

.footer-nav a:hover::after {
  width: 100%;
}

.footer-nav a[aria-current="page"] {
  color: #fff;
}

.footer-note {
  display: block;
  margin-top: 4px;
  font-size: 0.82rem;
  color: rgba(240, 242, 240, 0.42);
}

/* bottom bar */
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
  padding-bottom: 28px;
  border-top: 1px solid rgba(240, 242, 240, 0.1);
  font-size: 0.88rem;
  color: rgba(240, 242, 240, 0.5);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    gap: 24px;
  }

  .footer-top-link {
    margin-left: auto;
  }
}

.footer-legal {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom a {
  color: rgba(240, 242, 240, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: #fff;
}

.footer-top-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-top-link svg {
  width: 15px;
  height: 15px;
  transition: transform 0.2s ease;
}

.footer-top-link:hover svg {
  transform: translateY(-2px);
}

.site-footer a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .site-footer a,
  .site-footer a svg,
  .footer-nav a::after {
    transition: none;
  }
}

/* ---------- 404 ---------- */

.notfound {
  text-align: center;
  padding: 120px 0;
}

.notfound .code {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
}

.notfound h1 {
  margin-top: 12px;
}

.notfound p {
  margin: 12px auto 0;
  max-width: 28rem;
  color: var(--slate);
}

.notfound .actions {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* ---------- connector page ---------- */

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--slate);
  margin-bottom: 18px;
}

.crumbs a {
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
}

.crumbs a:hover {
  color: var(--signal-dim);
  border-color: var(--signal);
}

.trust-line {
  margin-top: 22px;
  font-size: 0.92rem;
  color: var(--slate);
}

.diagram {
  margin-top: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  padding: 24px 20px;
}

@media (min-width: 768px) {
  .diagram {
    padding: 32px;
  }
}

.diagram svg {
  width: 100%;
  height: auto;
}

.diagram .diagram-wide {
  display: none;
}

@media (min-width: 820px) {
  .diagram .diagram-wide {
    display: block;
  }
  .diagram .diagram-tall {
    display: none;
  }
}

.diagram figcaption {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--slate);
}

.flow-list {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  max-width: 30rem;
}

.flow-list li {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: 14px 18px;
  font-size: 0.96rem;
  line-height: 1.5;
}

.flow-list li {
  position: relative;
}

.flow-list li + li {
  margin-top: 34px;
}

.flow-list li + li::before {
  content: "↓";
  position: absolute;
  top: -27px;
  left: 0;
  right: 0;
  text-align: center;
  line-height: 1;
  color: var(--slate-light);
  font-size: 15px;
}

.flow-list .local {
  border-color: var(--signal);
  background: var(--signal-soft);
}

.card-title {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.card .muted {
  font-size: 0.95rem;
  color: var(--slate);
}

.source-grid {
  display: grid;
  gap: 28px;
  margin-top: 40px;
}

@media (min-width: 640px) {
  .source-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 960px) {
  .source-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.source-grid h3 {
  font-size: 14px;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--slate);
  margin: 0;
}

.source-grid ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.95rem;
}

.code-chip {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86rem;
  background: var(--signal-soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2px 7px;
  white-space: nowrap;
}

.code-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.table-wrap {
  margin-top: 36px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.compare-table {
  width: 100%;
  min-width: 32rem;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.compare-table th {
  text-align: left;
  font-weight: 500;
  font-size: 14px;
  color: var(--slate);
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.compare-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.55;
}

.compare-table tr:last-child td {
  border-bottom: 0;
}

.compare-table td:first-child {
  font-weight: 500;
}

.monitor {
  margin-top: 40px;
  max-width: 34rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  overflow: hidden;
}

.monitor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.monitor-head .org {
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--slate);
}

.monitor-head h3 {
  margin-top: 4px;
  font-size: 1.05rem;
  font-family: var(--font-body);
  font-weight: 500;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--signal-dim);
  background: var(--signal-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 13px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
  flex-shrink: 0;
}

.monitor dl {
  margin: 0;
  padding: 4px 22px 16px;
}

.monitor .row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.94rem;
}

.monitor .row:last-child {
  border-bottom: 0;
}

.monitor dt {
  color: var(--slate);
}

.monitor dd {
  margin: 0;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.figure-note {
  margin-top: 16px;
  font-size: 0.88rem;
  color: var(--slate);
}

.step-list {
  margin: 28px 0 0;
  padding-left: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.98rem;
  line-height: 1.5;
  max-width: 34rem;
}

.step-list::marker,
.step-list li::marker {
  color: var(--slate);
}

.check-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
  font-size: 0.98rem;
  line-height: 1.5;
}

.check-list li {
  display: flex;
  gap: 11px;
}

.check-list .mark {
  flex-shrink: 0;
  color: var(--signal-dim);
}

.check-list--plain .mark {
  color: var(--slate);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.badge {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--exception-soft);
  color: var(--exception);
  border: 1px solid rgba(184, 99, 46, 0.25);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.dev-note {
  margin-top: 14px;
  max-width: 42rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--slate);
  border-left: 2px solid var(--exception);
  padding-left: 14px;
}

/* ---------- energy data pages ---------- */

.market-nav {
  border-bottom: 1px solid var(--line);
  background: var(--card);
}

.market-nav .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.market-nav-home {
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
}

.market-nav-home:hover,
.market-nav-home[aria-current="page"] {
  color: var(--signal-dim);
}

.market-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.market-nav ul a {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 14px;
  text-decoration: none;
  color: var(--slate);
}

.market-nav ul a:hover {
  color: var(--ink);
}

.market-nav ul a[aria-current="page"] {
  background: var(--signal-soft);
  color: var(--signal-dim);
  font-weight: 500;
}

.badge--signal {
  background: var(--signal-soft);
  color: var(--signal-dim);
  border-color: rgba(31, 111, 98, 0.25);
}

.market-card .badge {
  align-self: flex-start;
  margin-left: 0;
}

.market-card h3 {
  margin-top: 14px;
  font-size: 1.5rem;
}

.card-link p.market-full {
  flex: none;
  margin-top: 4px;
  font-size: 0.9rem;
}

.dev-note--signal {
  border-left-color: var(--signal);
}

ul.phase-tags {
  list-style: none;
  padding: 0;
  margin-bottom: 0;
}

.story p {
  font-size: 1.05rem;
  line-height: 1.6;
}

.story p + p {
  margin-top: 16px;
}

.story .conclusion-line {
  margin-top: 24px;
  font-size: 1.2rem;
}

.story .btn {
  margin-top: 28px;
}

.story .story-links {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.story .story-links p {
  font-size: 0.9rem;
  color: var(--slate);
}

.story-links ul {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.95rem;
  line-height: 1.45;
}

.story-links a {
  color: var(--signal-dim);
  text-underline-offset: 2px;
}

.flow-sub {
  display: block;
  margin-top: 2px;
  font-size: 0.85rem;
  color: var(--slate);
}

.flow-branch {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.flow-list .flow-branch li {
  position: static;
  margin: 0;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--card);
  font-size: 0.86rem;
}

.flow-list .flow-branch li::before {
  content: none;
}

/* flow-list laid out left-to-right once there is room for every step */
@media (min-width: 1024px) {
  .flow-list--row {
    display: flex;
    max-width: none;
    gap: 30px;
  }
  .flow-list--row > li {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 14px 10px;
    text-align: center;
  }
  .flow-list--row > li + li {
    margin-top: 0;
  }
  .flow-list--row > li + li::before {
    content: "→";
    top: 50%;
    left: -22px;
    right: auto;
    width: 14px;
    transform: translateY(-50%);
  }
}

/* ---------- ERCOT engineering guides ---------- */

/* ERCOT stays highlighted in the market bar on pages inside the ERCOT section */
.market-nav ul a[aria-current="true"] {
  background: var(--signal-soft);
  color: var(--signal-dim);
  font-weight: 500;
}

.guide-meta {
  margin-top: 18px;
  font-size: 0.92rem;
  color: var(--slate);
}

.prose {
  max-width: 44rem;
}

.prose > * + * {
  margin-top: 18px;
}

.prose > p,
.prose ul:not([class]) > li,
.prose ol:not([class]) > li {
  font-size: 1.05rem;
  line-height: 1.7;
}

.prose h2 {
  margin-top: 56px;
  font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem);
}

.prose h3 {
  margin-top: 32px;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 500;
}

.prose > h2 + *,
.prose > h3 + * {
  margin-top: 14px;
}

/* plain lists only; styled lists (flow-list, check-list, pipeline-strip) keep their own spacing */
.prose ul:not([class]),
.prose ol:not([class]) {
  padding-left: 1.3rem;
}

.prose ul:not([class]) > li + li,
.prose ol:not([class]) > li + li {
  margin-top: 6px;
}

.prose a {
  color: var(--signal-dim);
  text-underline-offset: 2px;
}

.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: var(--signal-soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 5px;
}

.prose pre {
  margin-bottom: 0;
  padding: 18px 20px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  font-size: 0.86rem;
  line-height: 1.6;
}

/* long inline values (URLs, parameter names) may break; code blocks scroll instead */
.prose :not(pre) > code {
  overflow-wrap: anywhere;
}

.prose pre code {
  padding: 0;
  border: 0;
  background: none;
  font-size: inherit;
}

.prose .table-wrap,
.prose .flow-list,
.prose .outcome {
  margin-top: 24px;
}

.prose .conclusion-line {
  margin-top: 40px;
}

.flow-list .warn {
  border-color: var(--exception);
  background: var(--exception-soft);
}

/* recurring motif: where a guide sits in the collection pipeline */
.pipeline-strip {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 6px;
}

.pipeline-strip li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  line-height: 1.3;
}

.pipeline-strip li + li::before {
  content: "→";
  color: var(--slate-light);
}

.pipeline-strip span {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--slate);
}

.pipeline-strip .is-focus span {
  border-color: var(--signal);
  background: var(--signal-soft);
  color: var(--signal-dim);
  font-weight: 500;
}

.card-kicker {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
}

.card-link p.card-kicker {
  flex: none;
  margin-top: 0;
  font-size: 12px;
  color: var(--slate);
}

.card-link h3.guide-card-title {
  margin-top: 8px;
  font-size: 1.2rem;
  line-height: 1.25;
}

.guide-group + .guide-group {
  margin-top: 56px;
}

.guide-group > p {
  margin-top: 8px;
  color: var(--slate);
}

.source-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  max-width: 44rem;
  border-top: 1px solid var(--line);
}

.source-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
  line-height: 1.55;
}

.source-list a {
  font-weight: 500;
  color: var(--ink);
  text-underline-offset: 2px;
}

.source-list .source-note {
  display: block;
  margin-top: 4px;
  font-size: 0.9rem;
  color: var(--slate);
}

/* ---------- sections template (templates/sections.html.twig) ---------- */

.sec-heading {
  margin-bottom: 20px;
}

.sec-label {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
}

.sec-label + .sec-body {
  margin-top: 12px;
}

.sec-body > p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.sec-body > p + p {
  margin-top: 16px;
}

.sec-body--outro {
  margin-top: 32px;
}

.sec-body a {
  color: var(--signal-dim);
  text-underline-offset: 2px;
}

.sec-body--hero {
  margin-top: 18px;
  max-width: 42rem;
  color: var(--paper);
}

.sec-actions {
  margin-top: 28px;
}

.sec--narrow .container > * {
  max-width: 42rem;
}

.sec--center .container {
  text-align: center;
}

.sec--center .container > * {
  margin-left: auto;
  margin-right: auto;
}

.sec--center .drift-list {
  display: inline-flex;
  text-align: left;
}

.sec-lede {
  margin-top: 18px;
}

.sec-body--intro {
  margin-bottom: 32px;
}

.sec-conclusion {
  margin-top: 40px;
}

/* Page content at full container width, matching Sections text blocks (About). */
.prose--full {
  max-width: none;
}

/* ---------- steps section: timeline cards (partials/sections/steps) ---------- */

.sec-steps {
  --rail: 44px;
  --rail-gap: 16px;
  --list-gap: 20px;
  --marker-top: 18px;
  background:
    radial-gradient(60rem 30rem at 100% 0%, var(--signal-soft), transparent 60%),
    var(--card);
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--list-gap);
}

/* rail segment linking each marker to the next one */
.timeline-item:not(:last-child)::before {
  content: "";
  position: absolute;
  top: calc(var(--marker-top) + var(--rail));
  bottom: calc(-1 * (var(--list-gap) + var(--marker-top)));
  left: calc(var(--rail) / 2 - 1px);
  width: 2px;
  background: linear-gradient(to bottom, var(--signal), color-mix(in srgb, var(--signal) 30%, var(--line)));
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: var(--rail) 1fr;
  gap: var(--rail-gap);
  align-items: start;
}

.timeline-marker {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: var(--rail);
  height: var(--rail);
  margin-top: var(--marker-top);
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--signal);
  color: var(--signal-dim);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 0 0 6px var(--card);
  transition: background 0.2s ease, color 0.2s ease;
}

.timeline-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 22px 24px;
  box-shadow: 0 1px 2px rgba(20, 24, 26, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.timeline-item:hover .timeline-card {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--signal) 35%, var(--line));
  box-shadow: 0 12px 28px -12px rgba(20, 24, 26, 0.18);
}

.timeline-item:hover .timeline-marker {
  background: var(--signal);
  color: #fff;
}

.timeline-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.timeline-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--signal-soft);
  color: var(--signal-dim);
}

.timeline-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.75;
}

.timeline-kicker {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-light);
}

.timeline-title {
  margin-top: 2px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}

.timeline-text {
  margin-top: 14px;
  max-width: 46rem;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--slate);
}

.timeline-tags {
  list-style: none;
  margin: 18px 0 0;
  padding: 18px 0 0;
  border-top: 1px dashed var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.timeline-tags li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid transparent;
  font-size: 13.5px;
  line-height: 1.3;
  color: var(--ink);
}

.timeline-tags li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
}

.timeline-outro {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  padding: 22px 24px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--paper);
}

.timeline-outro p {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.45;
}

.timeline-outro-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--signal);
  color: #fff;
}

.timeline-outro-icon svg {
  width: 22px;
  height: 22px;
}

@media (min-width: 768px) {
  .sec-steps {
    --rail: 56px;
    --rail-gap: 28px;
    --list-gap: 24px;
    --marker-top: 26px;
  }

  .timeline-marker {
    font-size: 14px;
  }

  .timeline-card {
    padding: 28px 32px 30px;
  }

  .timeline-title {
    font-size: 1.5rem;
  }

  .timeline-outro {
    margin-left: calc(var(--rail) + var(--rail-gap));
    padding: 26px 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .timeline-card,
  .timeline-marker {
    transition: none;
  }

  .timeline-item:hover .timeline-card {
    transform: none;
  }
}

/* phones: drop the rail, cards go full width ("Phase 01" label keeps the number) */
@media (max-width: 599px) {
  .timeline-item {
    grid-template-columns: 1fr;
  }

  .timeline-marker,
  .timeline-item:not(:last-child)::before {
    display: none;
  }

  .timeline-card {
    padding: 20px 18px 22px;
  }

  .timeline-outro {
    align-items: flex-start;
    padding: 20px 18px;
  }
}

/* ---------- inner-page CTA panel (partials/sections/cta) ---------- */

.cta-band {
  padding: 56px 0 72px;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  gap: 28px;
  padding: 40px 28px;
  border-radius: 20px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid rgba(240, 242, 240, 0.08);
  box-shadow: 0 30px 60px -30px rgba(20, 24, 26, 0.45);
}

/* teal glow + dot grid, echoing the hero */
.cta-panel::before,
.cta-panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.cta-panel::before {
  right: -140px;
  bottom: -280px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--signal) 75%, transparent), transparent 62%);
  opacity: 0.85;
}

.cta-panel::after {
  inset: 0 0 0 auto;
  width: 45%;
  background-image: radial-gradient(rgba(240, 242, 240, 0.22) 1.2px, transparent 1.6px);
  background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(to left, #000 10%, transparent);
  mask-image: linear-gradient(to left, #000 10%, transparent);
}

.cta-panel-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px 12px;
  border: 1px solid rgba(240, 242, 240, 0.25);
  border-radius: 999px;
  font-size: 13px;
  color: var(--paper);
}

.cta-panel-title {
  max-width: 36rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #fff;
  text-wrap: balance;
}

.cta-panel-text {
  margin-top: 14px;
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(240, 242, 240, 0.72);
}

.cta-panel-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.cta-panel-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 22px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.cta-panel-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.cta-panel-btn:hover {
  background: var(--signal);
  color: #fff;
}

.cta-panel-btn:hover svg {
  transform: translateX(3px);
}

.cta-panel-btn:focus-visible,
.cta-panel-alt:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.cta-panel-alt {
  font-size: 14px;
  color: rgba(240, 242, 240, 0.65);
  text-decoration: none;
}

.cta-panel-alt:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 860px) {
  .cta-band {
    padding: 72px 0 96px;
  }

  .cta-panel {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 48px;
    padding: 64px 64px;
  }

  .cta-panel-actions {
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-panel-btn,
  .cta-panel-btn svg {
    transition: none;
  }
}

/* ---------- inner-page hero (partials/sections/page-hero) ---------- */

.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: var(--paper);
  background:
    linear-gradient(100deg, rgba(20, 24, 26, 0.96) 0%, rgba(20, 24, 26, 0.82) 50%, rgba(20, 24, 26, 0.45) 100%),
    var(--hero-img, none) center / cover no-repeat,
    var(--ink);
}

/* teal glow (top right) + dot grid fading in from the right */
.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.page-hero::before {
  top: -260px;
  right: -160px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--signal) 60%, transparent), transparent 62%);
  opacity: 0.75;
}

/* dot grid only when there is no background image (the default image has its own dots) */
.page-hero::after {
  inset: 0 0 0 auto;
  width: 50%;
  display: none;
  background-image: radial-gradient(rgba(240, 242, 240, 0.2) 1.2px, transparent 1.6px);
  background-size: 20px 20px;
  -webkit-mask-image: linear-gradient(to left, #000, transparent 85%);
  mask-image: linear-gradient(to left, #000, transparent 85%);
}

/* thin teal line along the bottom edge */
.page-hero-inner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--signal) 80%, #fff) 30%, transparent 85%);
  opacity: 0.6;
}

.page-hero-inner {
  padding-top: 48px;
  padding-bottom: 64px;
}

.page-hero--tall .page-hero-inner {
  padding-bottom: 88px;
}

@media (min-width: 768px) {
  .page-hero-inner {
    padding-top: 64px;
    padding-bottom: 96px;
  }

  .page-hero--tall .page-hero-inner {
    padding-top: 80px;
    padding-bottom: 128px;
  }
}

/* breadcrumb */
.page-hero-crumbs ol {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(240, 242, 240, 0.55);
}

.page-hero-crumbs li + li::before {
  content: "/";
  margin-right: 6px;
  color: rgba(240, 242, 240, 0.3);
}

.page-hero-crumbs a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-hero-crumbs a:hover {
  color: #fff;
}

.page-hero-crumbs [aria-current] {
  color: rgba(240, 242, 240, 0.85);
}

/* eyebrow pill (glass) */
.page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 7px 14px;
  border: 1px solid rgba(240, 242, 240, 0.2);
  border-radius: 999px;
  background: rgba(240, 242, 240, 0.06);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--paper);
}

.page-hero-title {
  max-width: 52rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
  text-wrap: balance;
}

.page-hero-lede {
  margin-top: 20px;
  max-width: 40rem;
  font-size: 1.15rem;
  line-height: 1.6;
  color: rgba(240, 242, 240, 0.72);
}

.page-hero-actions {
  margin-top: 32px;
}

.page-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.page-hero-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.page-hero-btn:hover {
  background: var(--signal);
  color: #fff;
}

.page-hero-btn:hover svg {
  transform: translateX(3px);
}

.page-hero-btn:focus-visible,
.page-hero-crumbs a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* plain variant: light background, dark text */
.page-hero--plain {
  color: var(--ink);
  background:
    radial-gradient(50rem 24rem at 100% 0%, var(--signal-soft), transparent 70%),
    var(--card);
  border-bottom: 1px solid var(--line);
}

.page-hero--plain::before,
.page-hero--plain .page-hero-inner::after {
  display: none;
}

.page-hero--plain::after {
  display: block;
  background-image: radial-gradient(rgba(20, 24, 26, 0.12) 1.2px, transparent 1.6px);
}

.page-hero--plain .page-hero-crumbs ol,
.page-hero--plain .page-hero-crumbs li + li::before {
  color: var(--slate-light);
}

.page-hero--plain .page-hero-crumbs a:hover,
.page-hero--plain .page-hero-crumbs [aria-current] {
  color: var(--ink);
}

.page-hero--plain .page-hero-eyebrow {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
}

.page-hero--plain .page-hero-title {
  color: var(--ink);
}

.page-hero--plain .page-hero-lede {
  color: var(--slate);
}

.page-hero--plain .page-hero-btn {
  background: var(--ink);
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .page-hero-btn,
  .page-hero-btn svg,
  .page-hero-crumbs a {
    transition: none;
  }
}

/* ---------- home hero (home.html.twig) ---------- */

.home-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: var(--paper);
  background:
    linear-gradient(100deg, rgba(20, 24, 26, 0.97) 0%, rgba(20, 24, 26, 0.85) 45%, rgba(20, 24, 26, 0.55) 100%),
    var(--hero-img, none) center / cover no-repeat,
    var(--ink);
}

.home-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -300px;
  right: -200px;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--signal) 55%, transparent), transparent 62%);
  opacity: 0.8;
  pointer-events: none;
}

.home-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--signal) 80%, #fff) 35%, transparent 85%);
  opacity: 0.6;
}

.home-hero-inner {
  display: grid;
  gap: 48px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 72px;
}

@media (min-width: 960px) {
  .home-hero-inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 64px;
    padding-top: 104px;
    padding-bottom: 120px;
  }
}

.home-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4.4rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #fff;
  text-wrap: balance;
}

.home-hero-lede {
  margin-top: 24px;
  max-width: 36rem;
  font-size: 1.15rem;
  line-height: 1.6;
  color: rgba(240, 242, 240, 0.72);
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 36px;
}

.home-hero-btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 13px 22px;
  border: 1px solid rgba(240, 242, 240, 0.28);
  border-radius: 999px;
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.home-hero-btn-ghost:hover {
  border-color: #fff;
  background: rgba(240, 242, 240, 0.08);
}

.home-hero-btn-ghost:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* pipeline card */
.home-flow {
  position: relative;
  padding: 8px;
  border: 1px solid rgba(240, 242, 240, 0.12);
  border-radius: 20px;
  background: rgba(20, 24, 26, 0.55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7);
}

.home-flow-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px 14px;
  font-size: 12.5px;
  color: rgba(240, 242, 240, 0.55);
}

.home-flow-dots {
  display: inline-flex;
  gap: 5px;
}

.home-flow-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(240, 242, 240, 0.18);
}

.home-flow-name {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.home-flow-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--signal) 22%, transparent);
  color: #bfe3da;
  font-weight: 500;
}

.home-flow-live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5fd3b8;
  animation: home-flow-live 2s ease-out infinite;
}

.home-flow-steps {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 6px;
  display: grid;
  gap: 6px;
  border-radius: 14px;
  background: rgba(240, 242, 240, 0.03);
}

/* connector line through the icons */
.home-flow-steps::before {
  content: "";
  position: absolute;
  top: 40px;
  bottom: 40px;
  left: 40px;
  width: 2px;
  background: linear-gradient(to bottom, var(--signal), rgba(31, 111, 98, 0.25));
}

/* pulse travelling down the connector */
.home-flow-steps::after {
  content: "";
  position: absolute;
  left: 37px;
  top: 40px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5fd3b8;
  box-shadow: 0 0 12px 2px rgba(95, 211, 184, 0.7);
  animation: home-flow-pulse 4s cubic-bezier(0.6, 0, 0.4, 1) infinite;
}

.home-flow-step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.home-flow-step:hover {
  background: rgba(240, 242, 240, 0.05);
  border-color: rgba(240, 242, 240, 0.08);
}

.home-flow-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: #1b2225;
  border: 1px solid rgba(95, 211, 184, 0.35);
  color: #8fe0cc;
}

.home-flow-icon svg {
  width: 19px;
  height: 19px;
  stroke-width: 1.75;
}

.home-flow-text strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 500;
  color: #fff;
}

.home-flow-text span {
  display: block;
  margin-top: 2px;
  font-size: 0.85rem;
  line-height: 1.4;
  color: rgba(240, 242, 240, 0.55);
}

.home-flow-check {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--signal) 35%, transparent);
  color: #8fe0cc;
  opacity: 0;
  animation: home-flow-check 4s ease infinite;
  animation-delay: calc(var(--i) * 0.9s + 0.4s);
}

.home-flow-check svg {
  width: 13px;
  height: 13px;
  stroke-width: 2.5;
}

@keyframes home-flow-pulse {
  0% { top: 40px; opacity: 0; }
  8% { opacity: 1; }
  85% { opacity: 1; }
  100% { top: calc(100% - 48px); opacity: 0; }
}

@keyframes home-flow-check {
  0%, 10% { opacity: 0; transform: scale(0.6); }
  20%, 90% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1); }
}

@keyframes home-flow-live {
  0% { box-shadow: 0 0 0 0 rgba(95, 211, 184, 0.6); }
  70% { box-shadow: 0 0 0 7px rgba(95, 211, 184, 0); }
  100% { box-shadow: 0 0 0 0 rgba(95, 211, 184, 0); }
}

@media (max-width: 959px) {
  .home-flow {
    max-width: 30rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-flow-live {
    animation: none;
  }

  .home-flow-steps::after {
    display: none;
  }

  .home-flow-check {
    animation: none;
    opacity: 1;
  }
}

/* ---------- home: SmallDataPipes callout (home.html.twig) ---------- */

.sdp-section {
  border-bottom: none;
}

/* the CTA panel below brings its own top spacing */
.sdp-section .section-pad {
  padding-bottom: 0;
}

.sdp-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  gap: 32px;
  padding: 32px 24px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background:
    radial-gradient(40rem 20rem at 100% 0%, var(--signal-soft), transparent 70%),
    #fff;
  box-shadow: 0 24px 48px -32px rgba(20, 24, 26, 0.25);
}

/* faint grid in the corner */
.sdp-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 auto auto;
  width: 60%;
  height: 100%;
  background-image:
    linear-gradient(to right, rgba(31, 111, 98, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(31, 111, 98, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse at 100% 0%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at 100% 0%, #000 0%, transparent 70%);
}

@media (min-width: 900px) {
  .sdp-card {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: center;
    gap: 56px;
    padding: 56px;
  }
}

.sdp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}

.sdp-title {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.sdp-body {
  margin-top: 14px;
  max-width: 34rem;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--slate);
}

.sdp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  padding: 13px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease;
}

.sdp-btn svg {
  width: 17px;
  height: 17px;
  transition: transform 0.2s ease;
}

.sdp-btn:hover {
  background: var(--signal);
}

.sdp-btn:hover svg {
  transform: translate(2px, -2px);
}

.sdp-btn:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
}

/* use cases */
.sdp-uses {
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.75);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.sdp-uses-title {
  padding: 10px 12px 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-light);
}

.sdp-uses ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.sdp-uses li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid transparent;
  font-size: 0.98rem;
  color: var(--ink);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.sdp-uses li:hover {
  background: #fff;
  border-color: color-mix(in srgb, var(--signal) 35%, var(--line));
  transform: translateX(3px);
}

.sdp-use-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--signal-soft);
  color: var(--signal-dim);
}

.sdp-use-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.75;
}

@media (prefers-reduced-motion: reduce) {
  .sdp-btn,
  .sdp-btn svg,
  .sdp-uses li {
    transition: none;
  }

  .sdp-uses li:hover {
    transform: none;
  }
}

/* ---------- home: industries bento (home.html.twig) ---------- */

.ind-section {
  background:
    radial-gradient(50rem 26rem at 0% 100%, var(--signal-soft), transparent 70%),
    var(--card);
}

.ind-head {
  display: grid;
  gap: 20px;
}

@media (min-width: 900px) {
  .ind-head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: end;
    gap: 64px;
  }
}

.ind-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}

.ind-lede {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--slate);
}

.ind-systems {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ind-systems li {
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  color: var(--slate);
}

.ind-grid {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

@media (min-width: 640px) {
  .ind-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .ind-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

.ind-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ind-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--signal) 35%, var(--line));
  box-shadow: 0 18px 36px -22px rgba(20, 24, 26, 0.28);
}

.ind-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--signal-soft);
  color: var(--signal-dim);
  transition: background 0.2s ease, color 0.2s ease;
}

.ind-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.75;
}

.ind-card:hover .ind-icon {
  background: var(--signal);
  color: #fff;
}

.ind-card h3 {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.ind-card p {
  margin-top: 8px;
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--slate);
}

/* the 6th tile: dark call to action */
.ind-card--cta {
  padding: 0;
  overflow: hidden;
  border-color: var(--ink);
  background:
    radial-gradient(22rem 16rem at 100% 100%, color-mix(in srgb, var(--signal) 60%, transparent), transparent 70%),
    var(--ink);
}

.ind-card--cta a {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 26px;
  color: inherit;
  text-decoration: none;
}

.ind-card--cta .ind-icon {
  background: rgba(240, 242, 240, 0.08);
  color: #8fe0cc;
}

.ind-card--cta:hover .ind-icon {
  background: var(--signal);
  color: #fff;
}

.ind-card--cta h3 {
  color: #fff;
}

.ind-card--cta p {
  color: rgba(240, 242, 240, 0.65);
}

.ind-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
  font-weight: 500;
  color: #fff;
}

.ind-cta-link svg {
  width: 17px;
  height: 17px;
  transition: transform 0.2s ease;
}

.ind-card--cta:hover .ind-cta-link svg {
  transform: translateX(4px);
}

.ind-card--cta a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -4px;
  border-radius: 16px;
}

@media (prefers-reduced-motion: reduce) {
  .ind-card,
  .ind-icon,
  .ind-cta-link svg {
    transition: none;
  }

  .ind-card:hover {
    transform: none;
  }
}

/* ---------- section type: service list (partials/sections/services) ---------- */

.svc-section {
  background:
    radial-gradient(60rem 30rem at 100% 0%, var(--signal-soft), transparent 60%),
    var(--card);
}

.svc-head {
  margin-bottom: 32px;
}

/* sticky jump menu under the site header */
.svc-nav {
  position: sticky;
  top: 84px;
  z-index: 20;
  margin: 0 0 32px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px -20px rgba(20, 24, 26, 0.3);
}

@media (max-width: 699px) {
  .svc-nav {
    top: 84px;
    border-radius: 16px;
  }
}

.svc-nav ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.svc-nav ol::-webkit-scrollbar {
  display: none;
}

.svc-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.svc-nav a:hover {
  border-color: var(--signal);
  color: var(--signal-dim);
}

.svc-nav-num {
  font-size: 11.5px;
  color: var(--slate-light);
}

.svc-list {
  display: grid;
  gap: 24px;
}

.svc-card {
  scroll-margin-top: 150px;
  display: grid;
  gap: 28px;
  padding: 28px 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(20, 24, 26, 0.04);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.svc-card:hover,
.svc-card:target {
  border-color: color-mix(in srgb, var(--signal) 35%, var(--line));
  box-shadow: 0 24px 48px -30px rgba(20, 24, 26, 0.28);
}

@media (min-width: 1000px) {
  .svc-card {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
    column-gap: 48px;
    row-gap: 32px;
    padding: 44px;
  }

  .svc-outcome {
    grid-column: 1 / -1;
  }
}

.svc-label {
  display: flex;
  align-items: center;
  gap: 12px;
}

.svc-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: var(--signal-soft);
  color: var(--signal-dim);
}

.svc-icon svg {
  width: 23px;
  height: 23px;
  stroke-width: 1.75;
}

.svc-num {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-light);
}

.svc-title {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.svc-intro {
  margin-top: 14px;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--slate);
}

.svc-detail {
  display: grid;
  gap: 16px;
}

@media (min-width: 700px) {
  .svc-detail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.svc-panel {
  padding: 22px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--line);
}

.svc-panel-title {
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-light);
}

.svc-checks,
.svc-examples {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.svc-checks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--ink);
}

.svc-check {
  flex: none;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--signal-soft);
  color: var(--signal);
}

.svc-check svg {
  width: 12px;
  height: 12px;
  stroke-width: 3;
}

/* examples read as short scenarios */
.svc-panel--examples {
  background: #fff;
  border-style: dashed;
}

.svc-examples li {
  position: relative;
  padding-left: 16px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--slate);
}

.svc-examples li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  border-radius: 3px;
  background: color-mix(in srgb, var(--signal) 45%, var(--line));
}

.svc-outcome {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--ink);
  color: rgba(240, 242, 240, 0.8);
}

.svc-outcome-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--signal);
  color: #fff;
}

.svc-outcome-icon svg {
  width: 18px;
  height: 18px;
}

.svc-outcome p {
  font-size: 1rem;
  line-height: 1.55;
}

.svc-outcome strong {
  display: block;
  margin-bottom: 2px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8fe0cc;
}

/* ---------- section type: callouts (partials/sections/callouts) ---------- */

.co-section {
  border-bottom: none;
}

.co-head {
  margin-bottom: 28px;
}

.co-grid {
  display: grid;
  gap: 20px;
}

@media (min-width: 860px) {
  .co-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .co-grid--single {
    grid-template-columns: 1fr;
  }

  .co-grid--single .co-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    padding: 44px 48px;
  }

  .co-grid--single .co-btn {
    margin-top: 0;
    flex: none;
  }
}

.co-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background:
    radial-gradient(28rem 16rem at 100% 0%, var(--signal-soft), transparent 70%),
    #fff;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.co-card:hover {
  border-color: color-mix(in srgb, var(--signal) 35%, var(--line));
  box-shadow: 0 24px 48px -30px rgba(20, 24, 26, 0.28);
}

.co-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
}

.co-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--signal-soft);
  color: var(--signal-dim);
}

.co-icon svg {
  width: 21px;
  height: 21px;
  stroke-width: 1.75;
}

.co-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-light);
}

.co-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--exception-soft);
  color: var(--exception);
  font-size: 12px;
  font-weight: 500;
}

.co-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.co-title {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.75rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}

.co-text {
  margin-top: 10px;
  max-width: 40rem;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--slate);
}

.co-btn {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  margin-top: auto;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.co-copy + .co-btn {
  margin-top: 26px;
}

.co-btn svg {
  width: 17px;
  height: 17px;
  transition: transform 0.2s ease;
}

.co-btn:hover {
  background: var(--signal);
}

.co-btn:hover svg {
  transform: translateX(3px);
}

.co-btn[target="_blank"]:hover svg {
  transform: translate(2px, -2px);
}

.co-btn:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
}

/* dark variant */
.co-card--dark {
  border-color: var(--ink);
  background:
    radial-gradient(28rem 18rem at 100% 100%, color-mix(in srgb, var(--signal) 60%, transparent), transparent 70%),
    var(--ink);
}

.co-card--dark .co-icon {
  background: rgba(240, 242, 240, 0.08);
  color: #8fe0cc;
}

.co-card--dark .co-eyebrow {
  color: rgba(240, 242, 240, 0.55);
}

.co-card--dark .co-title {
  color: #fff;
}

.co-card--dark .co-text {
  color: rgba(240, 242, 240, 0.7);
}

.co-card--dark .co-btn {
  background: #fff;
  color: var(--ink);
}

.co-card--dark .co-btn:hover {
  background: var(--signal);
  color: #fff;
}

.co-card--dark .co-badge {
  background: rgba(184, 99, 46, 0.18);
  color: #f0b58c;
}

/* ---------- section type: tag groups (partials/sections/tag-groups) ---------- */

.tg-head {
  max-width: 44rem;
}

.tg-title {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.tg-lede {
  margin-top: 14px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--slate);
}

.tg-grid {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

@media (min-width: 640px) {
  .tg-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .tg-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

.tg-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.tg-card:hover {
  border-color: color-mix(in srgb, var(--signal) 35%, var(--line));
  transform: translateY(-2px);
}

.tg-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tg-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--ink);
  color: #8fe0cc;
}

.tg-icon svg {
  width: 19px;
  height: 19px;
  stroke-width: 1.75;
}

.tg-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
}

.tg-tags {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tg-tags li {
  padding: 5px 11px;
  border-radius: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  .svc-card,
  .svc-nav a,
  .co-card,
  .co-btn,
  .co-btn svg,
  .tg-card {
    transition: none;
  }

  .tg-card:hover {
    transform: none;
  }
}

/* ---------- section type: contact (partials/sections/contact) ---------- */

.ct-section {
  background:
    radial-gradient(50rem 28rem at 100% 0%, var(--signal-soft), transparent 65%),
    var(--card);
}

.ct-grid {
  display: grid;
  gap: 40px;
}

/* phones/tablets: the email card (the main action) comes first */
@media (max-width: 959px) {
  .ct-side {
    order: -1;
  }
}

@media (min-width: 960px) {
  .ct-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 64px;
    align-items: start;
  }
}

.ct-title {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.25rem + 1.4vw, 2.3rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.ct-body {
  margin-top: 14px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--slate);
}

.ct-include {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.ct-include li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
}

.ct-include-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--signal-soft);
  color: var(--signal);
}

.ct-include-icon svg {
  width: 13px;
  height: 13px;
  stroke-width: 3;
}

/* what happens next */
.ct-next {
  margin-top: 40px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.ct-next-title {
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-light);
}

.ct-next ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.ct-next li {
  position: relative;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
}

/* connector between the numbers */
.ct-next li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 34px;
  bottom: -16px;
  width: 2px;
  background: var(--line);
}

.ct-next-num {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.ct-next strong {
  display: block;
  margin-top: 5px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
}

.ct-next p {
  margin-top: 4px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--slate);
}

/* email card */
.ct-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 28px;
  border-radius: 20px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 30px 60px -30px rgba(20, 24, 26, 0.5);
}

.ct-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -160px;
  bottom: -220px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--signal) 70%, transparent), transparent 62%);
  opacity: 0.8;
}

.ct-card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--signal);
  color: #fff;
}

.ct-card-icon svg {
  width: 22px;
  height: 22px;
}

.ct-card-label {
  margin-top: 18px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(240, 242, 240, 0.55);
}

.ct-card-email {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem);
  font-weight: 600;
  color: #fff;
  word-break: break-word;
}

.ct-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.ct-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: none;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.ct-btn svg {
  width: 17px;
  height: 17px;
  transition: transform 0.2s ease;
}

.ct-btn:hover {
  background: var(--signal);
  color: #fff;
}

.ct-btn:hover svg {
  transform: translateX(3px);
}

.ct-copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border: 1px solid rgba(240, 242, 240, 0.25);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.ct-copy svg {
  width: 16px;
  height: 16px;
}

.ct-copy:hover {
  border-color: #fff;
  background: rgba(240, 242, 240, 0.08);
}

.ct-card-note {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(240, 242, 240, 0.12);
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(240, 242, 240, 0.7);
}

.ct-btn:focus-visible,
.ct-copy:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* message helper */
.ct-composer {
  margin-top: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.ct-composer-head {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
}

.ct-composer-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--signal-soft);
  color: var(--signal-dim);
}

.ct-composer-icon svg {
  width: 19px;
  height: 19px;
}

.ct-composer h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
}

.ct-composer-head p {
  margin-top: 4px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--slate);
}

.ct-field {
  display: block;
  margin-top: 14px;
}

.ct-field span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
}

.ct-field textarea {
  display: block;
  width: 100%;
  min-height: 84px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.ct-field textarea::placeholder {
  color: var(--slate-light);
}

.ct-field textarea:focus {
  outline: none;
  border-color: var(--signal);
  background: #fff;
  box-shadow: 0 0 0 3px var(--signal-soft);
}

.ct-composer .ct-btn {
  background: var(--ink);
  color: #fff;
}

.ct-composer .ct-btn:hover {
  background: var(--signal);
}

.ct-composer .ct-btn:focus-visible {
  outline-color: var(--signal);
}

.ct-btn--block {
  width: 100%;
  margin-top: 18px;
  padding: 14px 20px;
}

@media (prefers-reduced-motion: reduce) {
  .ct-btn,
  .ct-btn svg,
  .ct-copy,
  .ct-field textarea {
    transition: none;
  }
}

/* ---------- 404 page (templates/error.html.twig) ---------- */

.nf {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: var(--paper);
  background:
    radial-gradient(48rem 32rem at 85% 10%, color-mix(in srgb, var(--signal) 45%, transparent), transparent 65%),
    var(--ink);
}

/* faint grid fading out from the right */
.nf::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(240, 242, 240, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(240, 242, 240, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: linear-gradient(to left, #000 20%, transparent 80%);
  mask-image: linear-gradient(to left, #000 20%, transparent 80%);
}

.nf-inner {
  display: grid;
  gap: 48px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 80px;
}

@media (min-width: 960px) {
  .nf-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 64px;
    min-height: calc(100vh - 73px - 160px);
    padding-top: 96px;
    padding-bottom: 112px;
  }
}

.nf-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 1.4rem + 3vw, 3.6rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: #fff;
  text-wrap: balance;
}

.nf-text {
  margin-top: 20px;
  max-width: 34rem;
  font-size: 1.12rem;
  line-height: 1.6;
  color: rgba(240, 242, 240, 0.72);
}

.nf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* request log card */
.nf-log {
  position: relative;
  padding: 8px;
  border: 1px solid rgba(240, 242, 240, 0.12);
  border-radius: 20px;
  background: rgba(20, 24, 26, 0.6);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7);
}

.nf-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(184, 99, 46, 0.2);
  color: #f0b58c;
  font-weight: 500;
}

.nf-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f0965a;
  animation: nf-blink 1.6s ease-in-out infinite;
}

.nf-log-body {
  padding: 18px 18px 22px;
  border-radius: 14px;
  background: rgba(240, 242, 240, 0.03);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(240, 242, 240, 0.75);
}

.nf-log-body p + p {
  margin-top: 8px;
}

.nf-log-k {
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(95, 211, 184, 0.15);
  color: #8fe0cc;
}

.nf-log-path {
  color: #fff;
  word-break: break-all;
}

.nf-log-ok {
  color: #5fd3b8;
}

.nf-log-err {
  color: #f0b58c;
}

.nf-log-dim {
  color: rgba(240, 242, 240, 0.5);
}

.nf-log-dim span {
  color: #8fe0cc;
}

.nf-caret {
  display: inline-block;
  width: 8px;
  height: 15px;
  margin-left: 4px;
  vertical-align: -2px;
  background: #8fe0cc;
  animation: nf-blink 1.1s steps(1) infinite;
}

/* big outlined code behind the card */
.nf-code {
  position: absolute;
  z-index: -1;
  right: 8px;
  top: -92px;
  font-family: var(--font-display);
  font-size: 7rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(143, 224, 204, 0.25);
  pointer-events: none;
}

@media (max-width: 959px) {
  .nf-code {
    display: none;
  }
}

@keyframes nf-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

/* quick links */
.nf-links-section {
  background: var(--card);
}

.nf-links-title {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-light);
}

.nf-links {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.nf-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.nf-links a svg {
  width: 17px;
  height: 17px;
  color: var(--slate-light);
  transition: transform 0.2s ease, color 0.2s ease;
}

.nf-links a:hover {
  border-color: var(--signal);
  transform: translateY(-2px);
}

.nf-links a:hover svg {
  color: var(--signal);
  transform: translateX(3px);
}

.nf-links a:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .nf-status-dot,
  .nf-caret {
    animation: none;
  }

  .nf-links a,
  .nf-links a svg {
    transition: none;
  }

  .nf-links a:hover {
    transform: none;
  }
}

/* ---------- section type: market nav (partials/sections/market-nav) ---------- */

.market-bar {
  border-bottom: 1px solid rgba(240, 242, 240, 0.08);
  background: #0f1315;
  color: var(--paper);
}

.market-bar-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 52px;
  overflow-x: auto;
  scrollbar-width: none;
}

.market-bar-inner::-webkit-scrollbar {
  display: none;
}

.market-bar-home {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-right: 16px;
  border-right: 1px solid rgba(240, 242, 240, 0.14);
  font-size: 13.5px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.market-bar-home svg {
  width: 16px;
  height: 16px;
  color: #8fe0cc;
}

.market-bar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 4px;
}

.market-bar ul a {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: rgba(240, 242, 240, 0.6);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}

.market-bar ul a:hover {
  color: #fff;
  background: rgba(240, 242, 240, 0.07);
}

.market-bar ul a[aria-current="page"] {
  color: var(--ink);
  background: #8fe0cc;
  font-weight: 600;
}

.market-bar a:focus-visible {
  outline: 2px solid #8fe0cc;
  outline-offset: 2px;
}

/* ---------- page hero: status badge + second button ---------- */

.page-hero-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.page-hero-tags .page-hero-eyebrow {
  margin-bottom: 0;
}

.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(184, 99, 46, 0.22);
  border: 1px solid rgba(240, 181, 140, 0.3);
  color: #f0b58c;
  font-size: 12.5px;
  font-weight: 500;
}

.page-hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f0965a;
  animation: nf-blink 1.6s ease-in-out infinite;
}

.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-hero-btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 13px 22px;
  border: 1px solid rgba(240, 242, 240, 0.28);
  border-radius: 999px;
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.page-hero-btn-ghost:hover {
  border-color: #fff;
  background: rgba(240, 242, 240, 0.08);
}

.page-hero-btn-ghost:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.page-hero--plain .page-hero-btn-ghost {
  color: var(--ink);
  border-color: var(--line);
}

/* ---------- section type: facts (partials/sections/facts) ---------- */

.fx-head {
  max-width: 44rem;
  margin-bottom: 32px;
}

.fx-title {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.25rem + 1.4vw, 2.3rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.fx-lede {
  margin-top: 14px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--slate);
}

.fx-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.fx-tile {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.fx-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 11px;
  background: var(--signal-soft);
  color: var(--signal-dim);
}

.fx-icon svg {
  width: 19px;
  height: 19px;
  stroke-width: 1.75;
}

.fx-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-light);
}

.fx-value {
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}

.fx-notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: 14px;
  font-size: 1rem;
  line-height: 1.6;
}

.fx-notice--warning {
  background: var(--exception-soft);
  border: 1px solid color-mix(in srgb, var(--exception) 25%, transparent);
  color: #5a3114;
}

.fx-notice--info {
  background: var(--signal-soft);
  border: 1px solid color-mix(in srgb, var(--signal) 25%, transparent);
  color: var(--signal-dim);
}

.fx-notice-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #fff;
}

.fx-notice--warning .fx-notice-icon {
  color: var(--exception);
}

.fx-notice--info .fx-notice-icon {
  color: var(--signal);
}

.fx-notice-icon svg {
  width: 18px;
  height: 18px;
}

.fx-notice strong {
  font-weight: 600;
}

/* ---------- section type: features (partials/sections/features) ---------- */

.ft-section {
  background:
    radial-gradient(50rem 26rem at 0% 100%, var(--signal-soft), transparent 70%),
    var(--card);
}

.ft-head {
  max-width: 46rem;
}

.ft-title {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.ft-lede {
  margin-top: 14px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--slate);
}

.ft-grid {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
  counter-reset: ft;
}

@media (min-width: 640px) {
  .ft-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .ft-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ft-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.ft-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  counter-increment: ft;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.ft-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--signal) 35%, var(--line));
  box-shadow: 0 18px 36px -22px rgba(20, 24, 26, 0.28);
}

.ft-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ft-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--ink);
  color: #8fe0cc;
}

.ft-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.75;
}

.ft-status {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px dashed var(--line);
  font-size: 12px;
  font-weight: 500;
  color: var(--slate);
}

.ft-card h3 {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.ft-card h3::before {
  content: counter(ft, decimal-leading-zero);
  display: block;
  margin-bottom: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 500;
  color: var(--slate-light);
}

.ft-card p {
  margin-top: 8px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--slate);
}

.ft-outro {
  margin-top: 28px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--slate);
}

.ft-outro a {
  color: var(--signal-dim);
  font-weight: 500;
  text-underline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .market-bar ul a,
  .page-hero-btn-ghost,
  .ft-card {
    transition: none;
  }

  .ft-card:hover {
    transform: none;
  }

  .page-hero-badge-dot {
    animation: none;
  }
}

/* callout card directly above the CTA panel: avoid a double gap */
.co-section + .cta-band {
  padding-top: 0;
}

/* ---------- text section: chips list + note box ---------- */

.sec-chips {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sec-chips li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--ink);
}

.section--card .sec-chips li {
  background: #fff;
}

.sec-chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
}

.sec-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 32px;
  padding: 20px 22px;
  border-radius: 16px;
  background: var(--ink);
  color: rgba(240, 242, 240, 0.8);
  font-size: 1rem;
  line-height: 1.6;
}

.sec-note strong {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8fe0cc;
}

.sec-note-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--signal);
  color: #fff;
}

.sec-note-icon svg {
  width: 18px;
  height: 18px;
}

.sec-note a {
  color: #8fe0cc;
}

/* ---------- section type: link cards (partials/sections/link-cards) ---------- */

.lc-head {
  max-width: 46rem;
}

.lc-title {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.lc-lede {
  margin-top: 14px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--slate);
}

.lc-grid {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

@media (min-width: 640px) {
  .lc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .lc-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

.lc-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.lc-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--signal) 40%, var(--line));
  box-shadow: 0 18px 36px -22px rgba(20, 24, 26, 0.28);
}

.lc-card:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}

/* the available market stands out */
.lc-card--featured {
  border-color: var(--ink);
  background:
    radial-gradient(22rem 14rem at 100% 100%, color-mix(in srgb, var(--signal) 55%, transparent), transparent 70%),
    var(--ink);
  color: var(--paper);
}

.lc-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
}

.lc-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.lc-badge--default {
  background: var(--exception-soft);
  color: var(--exception);
}

.lc-badge--signal {
  background: rgba(95, 211, 184, 0.16);
  color: #8fe0cc;
}

.lc-card:not(.lc-card--featured) .lc-badge--signal {
  background: var(--signal-soft);
  color: var(--signal-dim);
}

.lc-card h3.lc-code {
  margin-top: 20px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.lc-card--featured h3 {
  color: #fff;
}

.lc-sub {
  margin-top: 4px;
  font-size: 0.9rem;
  color: var(--slate-light);
}

.lc-card--featured .lc-sub {
  color: rgba(240, 242, 240, 0.55);
}

.lc-text {
  margin-top: 12px;
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--slate);
}

.lc-card--featured .lc-text {
  color: rgba(240, 242, 240, 0.75);
}

.lc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--signal-dim);
}

.lc-card--featured .lc-link {
  color: #fff;
}

.lc-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.lc-card:hover .lc-link svg {
  transform: translateX(4px);
}

@media (prefers-reduced-motion: reduce) {
  .lc-card,
  .lc-link svg {
    transition: none;
  }

  .lc-card:hover {
    transform: none;
  }
}

.market-bar-home[aria-current="page"] {
  color: #8fe0cc;
}

/* ---------- section type: flow (partials/sections/flow) ---------- */

.fl-head {
  max-width: 46rem;
  margin-bottom: 32px;
}

.fl-title {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.fl-lede {
  margin-top: 14px;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--slate);
}

.fl-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* row: chips joined by arrows, wrapping on small screens */
.fl-steps--row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
}

.fl-steps--row .fl-step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
}

/* connector sits in the gap between chips */
.fl-steps--row .fl-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -19px;
  width: 14px;
  height: 2px;
  margin-top: -1px;
  border-radius: 2px;
  background: var(--signal);
}

.fl-steps--row .fl-step:not(:last-child) {
  margin-right: 14px;
}

.fl-step-num {
  flex: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--signal-soft);
  color: var(--signal-dim);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11.5px;
  font-weight: 600;
}

.fl-step-text small {
  display: block;
  margin-top: 2px;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--slate);
}

.fl-step--end {
  background: var(--ink) !important;
  border-color: var(--ink) !important;
  color: #fff !important;
}

.fl-step--end .fl-step-num {
  background: var(--signal);
  color: #fff;
}

.fl-step--end .fl-step-text small {
  color: rgba(240, 242, 240, 0.65);
}

/* vertical: stacked steps joined by a rail */
.fl-steps--vertical {
  display: grid;
  gap: 12px;
}

.fl-steps--vertical .fl-step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  font-weight: 500;
  color: var(--ink);
}

.fl-steps--vertical .fl-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 29px;
  top: 100%;
  width: 2px;
  height: 12px;
  background: var(--signal);
}

.fl-steps--vertical .fl-step-num {
  width: 28px;
  height: 28px;
}

.fl-body--split {
  display: grid;
  gap: 32px;
}

@media (min-width: 960px) {
  .fl-body--split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
  }
}

.fl-detail {
  display: grid;
  gap: 16px;
}

.fl-steps--row + .fl-detail {
  margin-top: 32px;
}

@media (min-width: 860px) {
  .fl-steps--row + .fl-detail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.fl-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.fl-panel h3 {
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-light);
}

.fl-checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.fl-checks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--ink);
}

.fl-panel--text div {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--slate);
}

.fl-notice {
  margin-top: 28px;
}

.fl-conclusion {
  margin-top: 40px;
}

/* ---------- small additions: hero badge, link cards, tag groups ---------- */

.page-hero-badge--signal {
  background: rgba(95, 211, 184, 0.14);
  border-color: rgba(143, 224, 204, 0.35);
  color: #8fe0cc;
}

.page-hero-badge--signal .page-hero-badge-dot {
  background: #5fd3b8;
}

@media (min-width: 1000px) {
  .lc-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.lc-badge--neutral {
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--slate);
}

.lc-badge--neutral .lc-badge-dot {
  background: var(--signal);
}

.lc-actions {
  margin-top: 32px;
}

.lc-actions .sdp-btn {
  margin-top: 0;
}

.tg-outro {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 28px;
  max-width: 48rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--slate);
}

.tg-outro svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--signal);
}

/* ---------- guides (templates/guide.html.twig, partials/sections/guide-list) ---------- */

.page-hero-meta {
  margin-top: 18px;
  font-size: 0.9rem;
  color: rgba(240, 242, 240, 0.55);
}

.page-hero--plain .page-hero-meta {
  color: var(--slate);
}

.guide-layout {
  display: grid;
  gap: 32px;
  padding-top: 56px;
  padding-bottom: 80px;
}

@media (min-width: 1100px) {
  .guide-layout {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 64px;
    padding-top: 72px;
    padding-bottom: 96px;
  }
}

/* article column: comfortable line length */
.guide-body {
  max-width: 46rem;
  min-width: 0;
}

.guide-body h2 {
  scroll-margin-top: 110px;
}

.guide-body pre {
  max-width: 100%;
  overflow-x: auto;
}

.guide-body .table-wrap,
.guide-body table {
  max-width: 100%;
}

.guide-body > table {
  display: block;
  overflow-x: auto;
}

/* "On this page" sidebar */
.guide-toc {
  display: none;
}

@media (min-width: 1100px) {
  .guide-toc:not([hidden]) {
    display: block;
    position: sticky;
    top: 104px;
    align-self: start;
    max-height: calc(100vh - 130px);
    overflow-y: auto;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
  }
}

.guide-toc-title {
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-light);
}

.guide-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
  border-left: 2px solid var(--line);
}

.guide-toc a {
  display: block;
  margin-left: -2px;
  padding: 6px 0 6px 12px;
  border-left: 2px solid transparent;
  font-size: 0.86rem;
  line-height: 1.4;
  color: var(--slate);
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.guide-toc a:hover {
  color: var(--ink);
}

.guide-toc a.is-active {
  border-left-color: var(--signal);
  color: var(--signal-dim);
  font-weight: 500;
}

/* guide cards (index + related) */
.guide-card-h {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
}

.guide-more {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.guide-more a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.2s ease;
}

.guide-more a:hover {
  border-color: var(--signal);
}

.guide-more svg {
  width: 16px;
  height: 16px;
  color: var(--signal);
}

/* sources */
.guide-sources {
  display: grid;
  gap: 32px;
}

@media (min-width: 960px) {
  .guide-sources {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 56px;
    align-items: start;
  }
}

.guide-source-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.guide-source-list a {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.guide-source-list a:hover {
  border-color: var(--signal);
  transform: translateX(3px);
}

.guide-source-num {
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--ink);
  color: #8fe0cc;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 600;
}

.guide-source-text strong {
  display: block;
  font-size: 0.97rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
}

.guide-source-text strong svg {
  display: inline-block;
  width: 14px;
  height: 14px;
  vertical-align: -2px;
  color: var(--signal);
}

.guide-source-text > span {
  display: block;
  margin-top: 4px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--slate);
}

/* guides index groups */
.gl-group + .gl-group {
  margin-top: 56px;
}

.gl-group-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.gl-group-num {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--ink);
  color: #8fe0cc;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 600;
}

.gl-group-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink);
}

.gl-group-head p {
  margin-top: 4px;
  font-size: 0.98rem;
  color: var(--slate);
}

.gl-group-count {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 12px;
  color: var(--slate);
  white-space: nowrap;
}

.gl-group .lc-grid {
  margin-top: 20px;
}

@media (prefers-reduced-motion: reduce) {
  .guide-toc a,
  .guide-more a,
  .guide-source-list a {
    transition: none;
  }

  .guide-source-list a:hover {
    transform: none;
  }
}

/* ---------- home: process steps polish (keeps the staggered dashed-circle layout) ---------- */

.step-inner-items .step {
  position: relative;
}

.step-inner-items .circle {
  z-index: 1;
  background: #fff;
  border-color: color-mix(in srgb, var(--ink) 35%, transparent);
  box-shadow:
    0 0 0 10px var(--card),
    0 18px 40px -24px rgba(20, 24, 26, 0.35);
  transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.step-inner-items .circle svg {
  transition: transform 0.25s ease;
}

.step-inner-items .step:hover .circle {
  transform: translateY(-4px);
  border-color: var(--signal);
  color: var(--signal-dim);
}

.step-inner-items .step:hover .circle svg {
  transform: scale(1.06);
}

/* number badge: teal ring */
.step-inner-items .badge {
  z-index: 2;
  background: var(--signal);
  box-shadow: 0 6px 14px -6px rgba(31, 111, 98, 0.6);
}

.step-inner-items .badge span {
  background: #fff;
  color: var(--signal-dim);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
}

.step-inner-items .step h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.step-inner-items .step p {
  color: var(--slate);
}

/* dashed connector from each circle to the next, following the stagger */
@media (min-width: 901px) {
  .step-inner-items .step:not(:last-child)::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: calc(var(--circle) / 2);
    left: calc(50% + var(--circle) / 2 + 6px);
    width: calc(100% + 24px - var(--circle) - 4px);
    border-top: 2px dashed color-mix(in srgb, var(--signal) 55%, transparent);
    transform-origin: left center;
  }

  /* odd steps sit low, even steps high: connectors alternate up / down */
  .step-inner-items .step:nth-child(odd):not(:last-child)::after {
    transform: rotate(-17deg);
  }

  .step-inner-items .step:nth-child(even):not(:last-child)::after {
    transform: rotate(17deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .step-inner-items .circle,
  .step-inner-items .circle svg {
    transition: none;
  }

  .step-inner-items .step:hover .circle {
    transform: none;
  }
}

/* ---------- home: "Born from energy trading data" (home.html.twig #energy) ---------- */

.en-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-bottom: none;
  background: var(--ink);
  color: var(--paper);
}

/* teal glow + faint grid, like the hero */
.en-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -220px;
  top: -260px;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--signal) 50%, transparent), transparent 62%);
  opacity: 0.75;
}

.en-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(240, 242, 240, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(240, 242, 240, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(to right, transparent 10%, #000 60%, transparent);
  mask-image: linear-gradient(to right, transparent 10%, #000 60%, transparent);
}

.en-grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 960px) {
  .en-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 64px;
    align-items: start;
  }

  .en-intro {
    position: sticky;
    top: 110px;
  }
}

.en-title {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: #fff;
  text-wrap: balance;
}

.en-lede {
  margin-top: 18px;
  max-width: 30rem;
  font-size: 1.15rem;
  line-height: 1.6;
  color: rgba(240, 242, 240, 0.72);
}

.en-markets {
  margin-top: 32px;
}

.en-markets-label {
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(240, 242, 240, 0.5);
}

.en-markets ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.en-markets a {
  display: inline-block;
  padding: 7px 13px;
  border: 1px solid rgba(240, 242, 240, 0.16);
  border-radius: 10px;
  background: rgba(240, 242, 240, 0.04);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.en-markets a:hover {
  border-color: #8fe0cc;
  background: rgba(95, 211, 184, 0.12);
  color: #8fe0cc;
}

.en-btn {
  margin-top: 32px;
}

/* story card */
.en-card {
  padding: 28px;
  border: 1px solid rgba(240, 242, 240, 0.12);
  border-radius: 20px;
  background: rgba(240, 242, 240, 0.04);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

@media (min-width: 768px) {
  .en-card {
    padding: 36px;
  }
}

.en-card > p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(240, 242, 240, 0.78);
}

.en-card > p + p {
  margin-top: 16px;
}

.en-quote {
  position: relative;
  margin: 24px 0 0;
  padding: 20px 22px 20px 56px;
  border-left: 3px solid var(--signal);
  border-radius: 0 14px 14px 0;
  background: rgba(95, 211, 184, 0.08);
}

.en-quote svg {
  position: absolute;
  left: 18px;
  top: 20px;
  width: 22px;
  height: 22px;
  color: #8fe0cc;
}

.en-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem);
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
}

/* guide links */
.en-guides {
  margin-top: 24px;
}

.en-guides-label {
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(240, 242, 240, 0.5);
}

.en-guides ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.en-guides a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(240, 242, 240, 0.1);
  border-radius: 14px;
  background: rgba(240, 242, 240, 0.03);
  color: #fff;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.en-guides a:hover {
  border-color: rgba(143, 224, 204, 0.5);
  background: rgba(95, 211, 184, 0.07);
}

.en-guide-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(95, 211, 184, 0.12);
  color: #8fe0cc;
}

.en-guide-icon svg {
  width: 17px;
  height: 17px;
}

.en-guide-text {
  flex: 1;
  font-size: 0.97rem;
  line-height: 1.4;
}

.en-guide-arrow {
  flex: none;
  width: 18px;
  height: 18px;
  color: rgba(240, 242, 240, 0.4);
  transition: transform 0.2s ease, color 0.2s ease;
}

.en-guides a:hover .en-guide-arrow {
  color: #8fe0cc;
  transform: translate(2px, -2px);
}

.en-section a:focus-visible {
  outline: 2px solid #8fe0cc;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .en-markets a,
  .en-guides a,
  .en-guide-arrow {
    transition: none;
  }
}
