:root {
  --ink: #071a24;
  --teal: #12bfa3;
  --bg: #041116;
  --mist: #e8f0ec;
  --lime: #c8f45d;
  --copy: #d7e3e5;
  --ink-text: #102126;
  --warn: #ffb454;
  --danger: #ef6a6a;
  --panel: #0b2430;
  --line: rgba(215, 227, 229, 0.16);
  --muted: #b7cbce;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --max: 1180px;
  --gutter: clamp(1rem, 3vw, 2.4rem);
  --header-h: 76px;
}

/* Product page: explicit service modules and practical feature lists. */
.solution-grid,
.feature-list {
  display: grid;
  gap: 1rem;
}

.solution-grid,
.feature-list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.solution-grid a,
.feature-list article {
  min-height: 180px;
  padding: 1.35rem;
  color: var(--ink-text);
  background: #ffffff;
  border: 1px solid #d7e3de;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(7, 26, 36, 0.05);
}

.solution-grid a {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-decoration: none;
  transition: transform 180ms var(--ease-out), border-color 180ms var(--ease-out);
}

.solution-grid a:hover {
  transform: translateY(-4px);
  border-color: var(--teal);
}

.solution-grid span {
  color: #087d6c;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.solution-grid strong {
  font-size: 1.12rem;
  line-height: 1.25;
}

.solution-grid small {
  margin-top: auto;
  color: #526a70;
  font-size: 0.92rem;
  line-height: 1.5;
}

.feature-list h3 {
  margin-bottom: 0.7rem;
  font-size: 1.08rem;
}

.feature-list p {
  margin: 0;
  color: #526a70;
}

.scope-note {
  margin: 1.5rem 0 0;
  padding: 1rem 1.2rem;
  color: #355055;
  background: #eef6f2;
  border-left: 4px solid var(--teal);
}

.light-band .scope-note {
  background: #ffffff;
}

.product-cta {
  margin-top: 2rem;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: #e7f5ef;
  border: 1px solid #bcded3;
  border-radius: 14px;
}

.product-cta h3,
.product-cta p {
  margin: 0;
}

.product-cta p {
  margin-top: 0.35rem;
  color: #456168;
}

@media (max-width: 980px) {
  .solution-grid,
  .feature-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .solution-grid,
  .feature-list {
    grid-template-columns: 1fr;
  }

  .solution-grid a,
  .feature-list article {
    min-height: 0;
  }

  .product-cta {
    align-items: stretch;
    flex-direction: column;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background:
    radial-gradient(1100px 520px at 82% -8%, rgba(18, 191, 163, 0.1), transparent 52%),
    #eef4f0;
  color: var(--ink-text);
  line-height: 1.55;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

a:hover {
  color: var(--lime);
}

button,
input,
select,
textarea {
  font: inherit;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -48px;
  z-index: 40;
  background: var(--lime);
  color: var(--ink-text);
  padding: 0.6rem 0.9rem;
  font-weight: 700;
}

.skip-link:focus {
  top: 0.7rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(4, 17, 22, 0.96);
  border-bottom: 1px solid var(--line);
}

.site-header.is-compact {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
}

.header-inner,
.wrap,
.footer-grid,
.legal-note,
.footer-copyright {
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--copy);
}

.brand:hover {
  color: var(--copy);
}

.brand img {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.brand-copy {
  display: block;
}

.brand-copy strong {
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav a {
  text-decoration: none;
  color: var(--copy);
  font-size: 0.95rem;
}

.nav a[aria-current="page"] {
  color: var(--lime);
  border-bottom: 2px solid var(--lime);
  padding-bottom: 0.15rem;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--ink);
  color: var(--copy);
  border-radius: 10px;
  cursor: pointer;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 180ms var(--ease-out), opacity 140ms ease;
}

.menu-icon {
  position: relative;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-icon::before {
  transform: translateY(-6px);
}

.menu-icon::after {
  transform: translateY(6px);
}

.menu-toggle[aria-expanded="true"] .menu-icon {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-icon::before {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon::after {
  transform: rotate(-45deg);
}

.hero,
.page-hero,
.band,
.light-band {
  padding: clamp(3rem, 7vw, 5.6rem) 0;
  position: relative;
}

.hero,
.page-hero {
  color: var(--ink-text);
}

.hero > div p,
.page-hero > div p {
  color: #456168;
}

.hero .kicker,
.page-hero .kicker,
.band .kicker {
  color: #087d6c;
}

.hero-aside,
.hero-aside p,
.hero-aside .aside-top {
  color: var(--copy);
}

.hero,
.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 2.4rem;
  align-items: start;
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 6%;
  width: min(520px, 46vw);
  height: 100%;
  background: url("../img/pattern-grid.svg");
  opacity: 0.16;
  pointer-events: none;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
}

.kicker::before {
  content: "";
  width: 2.2rem;
  height: 2px;
  background: var(--lime);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-align: left;
}

h1 {
  font-size: clamp(2.15rem, 5vw, 4.4rem);
  max-width: 13ch;
  margin: 0.8rem 0 1rem;
}

h2 {
  font-size: clamp(1.65rem, 3.2vw, 2.6rem);
  max-width: 18ch;
}

h3 {
  font-size: 1.15rem;
}

.lede,
.hero p,
.page-hero p {
  color: var(--muted);
  max-width: 48ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 700;
  color: inherit;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  transition: transform 160ms var(--ease-out), background-color 180ms var(--ease-out), border-color 180ms var(--ease-out);
}

.btn:active {
  transform: scale(0.97);
}

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

.btn-primary:hover {
  background: #2ad4b8;
  color: var(--ink-text);
}

.btn-ghost {
  background: transparent;
  color: var(--copy);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.hero .btn-ghost,
.page-hero .btn-ghost {
  color: var(--ink-text);
  border-color: rgba(16, 33, 38, 0.28);
}

.hero .btn-ghost:hover,
.page-hero .btn-ghost:hover {
  color: #087d6c;
  border-color: #087d6c;
}

.hero-aside,
.console {
  position: relative;
  background: linear-gradient(180deg, #0c2733, #071a24);
  border: 1px solid var(--line);
  padding: 1.05rem;
  box-shadow: var(--shadow);
  color: var(--copy);
}

.console {
  margin-top: 1.8rem;
  transform: translate(10px, 22px);
}

.console::after,
.hero-aside::after {
  content: "";
  position: absolute;
  inset: 10px -10px -10px 18px;
  border: 1px solid rgba(200, 244, 93, 0.28);
  pointer-events: none;
}

.console-top,
.aside-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(18, 191, 163, 0.6);
}

.js .pulse {
  animation: pulse 2.2s infinite;
}

.console-grid,
.aside-list {
  display: grid;
  gap: 0.7rem;
}

.console-grid {
  grid-template-columns: 1.2fr 0.8fr;
}

.tile,
.aside-list li {
  background: rgba(4, 17, 22, 0.55);
  border: 1px solid var(--line);
  padding: 0.85rem;
  min-height: 92px;
  list-style: none;
}

.aside-list {
  margin: 0;
  padding: 0;
}

.aside-list li {
  min-height: 0;
}

.tile small,
.aside-list small {
  color: var(--teal);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.55rem;
  font-weight: 700;
}

.bars {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: end;
  gap: 0.3rem;
  height: 58px;
  margin-top: 0.7rem;
}

.bars span {
  display: block;
  background: linear-gradient(180deg, var(--lime), var(--teal));
  transform-origin: bottom;
}

.js .bars span {
  animation: rise 1.4s var(--ease-out) both;
}

.flow-line {
  height: 2px;
  overflow: hidden;
  margin-top: 0.8rem;
  background: rgba(215, 227, 229, 0.08);
}

.flow-line i {
  display: block;
  height: 100%;
  width: 36%;
  background: var(--teal);
}

.js .flow-line i {
  animation: slide 2.4s linear infinite;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin: clamp(1rem, 3vw, 2.5rem) auto;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
  color: var(--copy);
  box-shadow: var(--shadow);
}

.metric-strip article {
  min-height: 0;
  padding: 1.35rem 1.5rem;
  background: #061921;
}

.metric-strip span {
  display: block;
  color: var(--lime);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  margin-bottom: 0.4rem;
}

.metric-strip h2 {
  max-width: none;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.metric-strip p {
  margin-bottom: 0;
  color: var(--muted);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section-head p {
  max-width: 42ch;
  color: var(--muted);
  margin: 0;
}

.band.wrap {
  color: var(--ink-text);
  background: rgba(255, 255, 255, 0.52);
  box-shadow: 0 0 0 100vmax rgba(255, 255, 255, 0.52);
  clip-path: inset(0 -100vmax);
}

.band.wrap .section-head > p,
.band.wrap > p,
.band.wrap .timeline p,
.band.wrap .values dd,
.band.wrap .faq [role="region"] {
  color: #456168;
}

.band.wrap .faq button {
  color: var(--ink-text);
}

.band.wrap .flow-chart li,
.band.wrap .form,
.band.wrap .api-status > *,
.band.wrap .cut-card {
  color: var(--copy);
}

.offset-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr;
  gap: 1rem;
}

.cut-card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 1.3rem;
  color: var(--copy);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%);
  transition: transform 180ms var(--ease-out), border-color 180ms var(--ease-out);
}

.cut-card p {
  color: var(--muted);
}

.cut-card:hover {
  transform: translate(6px, -6px);
  border-color: var(--teal);
}

.cut-card.shift {
  margin-top: 1.8rem;
}

.audience {
  display: grid;
  grid-template-columns: 0.85fr 1.3fr 0.95fr;
  gap: 0;
  align-items: stretch;
}

.audience a {
  text-decoration: none;
  padding: 1.8rem 1.3rem;
  min-height: 250px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--copy);
  background: #071c26;
}

.audience a:hover {
  color: var(--copy);
  border-color: var(--teal);
}

.audience a:nth-child(2) {
  background: #0a2b36;
  transform: translateY(28px);
}

.audience .tag {
  color: var(--teal);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.carousel {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #061820;
  color: var(--copy);
}

.carousel-track {
  display: flex;
  transition: transform 280ms var(--ease-out);
}

.slide {
  min-width: 100%;
  padding: clamp(1.4rem, 4vw, 2.4rem);
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1.4rem;
}

.slide-index {
  font-size: 2.4rem;
  color: var(--lime);
  font-weight: 800;
}

.slide h3 {
  color: var(--copy);
}

.slide p {
  color: var(--muted);
}

.carousel-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1rem;
  border-top: 1px solid var(--line);
}

.icon-btn {
  min-width: 44px;
  min-height: 44px;
  padding: 0 0.7rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--copy);
  cursor: pointer;
}

.carousel-dots {
  display: flex;
  gap: 0.35rem;
}

.carousel-dot {
  width: 28px;
  height: 28px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #7f9aa0;
  cursor: pointer;
}

.carousel-dot::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  margin: 0 auto;
  background: currentColor;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.carousel-dot.is-active {
  color: var(--lime);
}

.timeline {
  display: grid;
  border-left: 1px solid var(--line);
  margin-left: 0.4rem;
}

.timeline article {
  position: relative;
  padding: 0 0 2rem 2rem;
}

.timeline article::before {
  content: attr(data-step);
  position: absolute;
  left: -0.95rem;
  top: 0;
  width: 1.9rem;
  height: 1.9rem;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--lime);
  border: 1px solid var(--teal);
  font-size: 0.75rem;
  font-weight: 800;
}

.light-band {
  background: var(--mist);
  color: var(--ink-text);
}

.light-band .kicker {
  color: #0b6f62;
}

.light-band h2,
.light-band h3 {
  color: var(--ink-text);
}

.light-band p,
.light-band li,
.light-band .section-head p {
  color: #355055;
}

.light-band .cut-card,
.light-band .node.core {
  background: var(--ink);
  color: var(--copy);
}

.light-band .cut-card h3,
.light-band .node.core h3 {
  color: var(--copy);
}

.light-band .cut-card p,
.light-band .node.core p {
  color: var(--muted);
}

.module-map {
  display: grid;
  grid-template-columns: 1fr 28px 1fr 28px 1.15fr 28px 1fr 28px 1fr;
  gap: 0;
  align-items: stretch;
}

.node {
  min-height: 150px;
  padding: 1rem;
  border: 1px dashed #102126;
  background: #f4faf6;
  color: var(--ink-text);
}

.node p {
  color: #355055;
}

.connector {
  display: grid;
  place-items: center;
  color: #0b6f62;
  font-weight: 800;
}

.step-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.step-bar div {
  padding: 1.1rem;
  border-right: 1px solid rgba(16, 33, 38, 0.12);
  border-top: 4px solid var(--teal);
}

.step-bar span {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--ink);
}

.stack {
  display: grid;
  gap: 1rem;
}

.api-status {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-top: 1rem;
}

.sectors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.sectors .cut-card {
  display: grid;
  grid-template-columns: 4.25rem minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 1.15rem;
  row-gap: 0.45rem;
  align-items: start;
  min-height: 0;
  padding: 1.35rem 1.45rem;
}

.sectors .cut-card.shift {
  margin-top: 0;
}

.sectors .cut-card .giant-num {
  grid-row: 1 / span 2;
  margin: 0;
  padding-top: 0.05rem;
  font-size: 2.9rem;
  line-height: 1;
  color: rgba(215, 227, 229, 0.32);
}

.sectors .cut-card h3 {
  margin-top: 0.1rem;
}

.sectors .cut-card > p:last-child {
  margin: 0;
}

.giant-num {
  font-size: clamp(3.4rem, 8vw, 6.4rem);
  line-height: 0.8;
  color: rgba(215, 227, 229, 0.12);
  font-weight: 800;
}

.light-band .giant-num {
  color: rgba(16, 33, 38, 0.12);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.stagger-line {
  display: grid;
  gap: 1.2rem;
}

.stagger-line article:nth-child(odd) {
  width: calc(100% - 8%);
}

.stagger-line article:nth-child(even) {
  width: calc(100% - 8%);
  margin-left: 8%;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.role-card {
  border: 1px solid var(--line);
  padding: 1.1rem;
  min-height: 230px;
  background: var(--panel);
  color: var(--copy);
}

.role-card p,
.note {
  color: var(--warn);
}

.role-card p {
  color: var(--muted);
}

.note {
  font-size: 0.9rem;
  max-width: 48ch;
}

.values {
  display: grid;
  grid-template-columns: 210px 1fr;
}

.values dt {
  padding: 1rem 0;
  color: var(--lime);
  border-top: 1px solid var(--line);
  font-weight: 700;
}

.values dd {
  margin: 0;
  padding: 1rem 0 1rem 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.faq h3 {
  margin: 0;
}

.faq button {
  width: 100%;
  text-align: left;
  background: transparent;
  color: var(--copy);
  border: 0;
  border-top: 1px solid var(--line);
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.faq button::after {
  content: "+";
  color: var(--lime);
  font-size: 1.3rem;
}

.faq button[aria-expanded="true"]::after {
  content: "–";
}

.faq [hidden] {
  display: none;
}

.faq [role="region"] {
  padding: 0 0 1rem;
  color: var(--muted);
}

.contact-list {
  display: grid;
  gap: 0.7rem;
}

.form {
  display: grid;
  gap: 0.9rem;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  background: #061922;
  color: var(--copy);
  padding: 0.6rem 0.75rem;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  border-color: var(--teal);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.field-error {
  min-height: 1.15rem;
  color: var(--danger);
  font-size: 0.82rem;
}

.success {
  background: rgba(18, 191, 163, 0.12);
  border: 1px solid var(--teal);
  color: var(--copy);
  padding: 0.9rem;
  margin-bottom: 1rem;
}

.flow-chart {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.flow-chart li {
  list-style: none;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 1rem;
  min-height: 150px;
}

.flow-chart strong {
  display: block;
  color: var(--lime);
  margin-bottom: 0.5rem;
}

.site-footer {
  background: #031016;
  border-top: 1px solid var(--line);
  padding: 2.4rem 0 1.4rem;
  color: var(--copy);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 1.5rem;
}

.site-footer h2 {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  max-width: none;
  margin-bottom: 0.7rem;
}

.site-footer p,
.site-footer a {
  color: var(--muted);
}

.site-footer a:hover {
  color: var(--lime);
}

.legal-note {
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.footer-copyright {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  text-align: center;
}

.legal-content {
  max-width: 1040px;
}

.legal-hero {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
}

.legal-hero h1 {
  max-width: none;
  width: 100%;
  text-align: center;
}

.legal-hero p {
  max-width: 82ch;
  margin-inline: auto;
  text-align: center;
}

.legal-hero .kicker {
  justify-content: center;
}

.legal-content section + section {
  margin-top: 2.4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.legal-content h2 {
  font-size: clamp(1.35rem, 3vw, 2rem);
  max-width: none;
  margin-bottom: 0.8rem;
}

.legal-content h3 {
  margin-top: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--teal);
}

.legal-content li + li {
  margin-top: 0.45rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 420ms var(--ease-out), transform 420ms var(--ease-out);
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 10px rgba(18, 191, 163, 0);
  }
}

@keyframes rise {
  from {
    transform: scaleY(0.2);
    opacity: 0;
  }
}

@keyframes slide {
  from {
    transform: translateX(-120%);
  }
  to {
    transform: translateX(320%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .hero,
  .page-hero,
  .offset-grid,
  .audience,
  .console-grid,
  .module-map,
  .split,
  .role-grid,
  .sectors,
  .api-status,
  .metric-strip,
  .step-bar,
  .flow-chart,
  .footer-grid,
  .values,
  .form-row {
    grid-template-columns: 1fr;
  }

  .audience a:nth-child(2),
  .cut-card.shift,
  .console,
  .stagger-line article {
    transform: none;
    margin: 0;
    width: 100%;
  }

  .console::after,
  .hero-aside::after {
    display: none;
  }

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

  .connector {
    display: none;
  }

  .metric-strip article,
  .step-bar div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: #041116;
    padding: 1rem var(--gutter) 1.4rem;
    border-bottom: 1px solid var(--line);
    z-index: 29;
  }

  .nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open {
    display: flex;
  }
}

@media (max-width: 640px) {
  h1 {
    max-width: none;
  }

  .sectors .cut-card {
    grid-template-columns: 3rem minmax(0, 1fr);
    column-gap: 0.8rem;
    padding: 1.1rem;
  }

  .sectors .cut-card .giant-num {
    font-size: 2.25rem;
  }

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

  .cta-row,
  .carousel-controls {
    flex-direction: column;
  }

  .btn,
  .icon-btn {
    width: 100%;
  }
}

/* Visual system refinement: clearer sections, calmer surfaces, consistent cards. */
body {
  background: #f4f7f5;
}

.hero {
  width: 100%;
  min-height: calc(100svh - var(--header-h));
  margin: 0;
  padding: clamp(4rem, 8vw, 7rem) max(var(--gutter), calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  background-image:
    linear-gradient(90deg, rgba(248, 251, 249, 0.98) 0%, rgba(248, 251, 249, 0.9) 34%, rgba(248, 251, 249, 0.38) 56%, rgba(248, 251, 249, 0.02) 76%),
    url("../img/hero-personal-finance-wide.png");
  background-size: 100% 100%, cover;
  background-position: center, center;
  background-repeat: no-repeat;
  border-bottom: 1px solid #d6e3dd;
}

.hero > div {
  position: relative;
  z-index: 1;
  width: min(600px, 52vw);
}

.hero::before {
  display: none;
}

.page-hero {
  padding-block: clamp(4.5rem, 8vw, 7rem);
  background: linear-gradient(135deg, #f8fbf9 0%, #edf5f1 100%);
  border-bottom: 1px solid #d6e3dd;
}

.band,
.light-band {
  padding-block: clamp(4rem, 7vw, 6.5rem);
}

.band.wrap {
  background: #ffffff;
  box-shadow: 0 0 0 100vmax #ffffff;
  clip-path: inset(0 -100vmax);
  border-top: 1px solid #e0e9e5;
}

.band.wrap + .band.wrap {
  background: #f7faf8;
  box-shadow: 0 0 0 100vmax #f7faf8;
}

.light-band {
  background: #eaf2ee;
  border-block: 1px solid #d7e3dd;
}

.section-head {
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
  align-items: end;
}

.section-head h2,
.band h2,
.light-band h2 {
  max-width: 24ch;
}

.section-head > p,
.band > p,
.light-band > .wrap > p {
  max-width: 64ch;
}

.band > p.scope-note,
.light-band > .wrap > p.scope-note {
  width: 100%;
  max-width: none;
}

.metric-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  background: transparent;
  border: 0;
}

.metric-strip article,
.cut-card,
.role-card,
.flow-chart li,
.audience a,
.carousel {
  color: var(--ink-text);
  background: #ffffff;
  border: 1px solid #d7e3de;
  box-shadow: 0 12px 32px rgba(7, 26, 36, 0.06);
}

.band.wrap .flow-chart li,
.band.wrap .cut-card,
.band.wrap .api-status > * {
  color: var(--ink-text);
}

.metric-strip article {
  border-radius: 12px;
  padding: 1.4rem;
}

.metric-strip article + article {
  border-left: 1px solid #d7e3de;
}

.metric-strip p,
.cut-card p,
.role-card p,
.flow-chart p,
.audience p,
.carousel p {
  color: #526a70;
}

.cut-card,
.role-card,
.audience a,
.carousel {
  border-radius: 16px;
  clip-path: none;
}

.cut-card.shift,
.stagger-line article:nth-child(even),
.audience a:nth-child(2) {
  margin-top: 0;
  transform: none;
}

.offset-grid,
.role-grid,
.stagger-line {
  gap: 1.25rem;
  align-items: stretch;
}

.audience {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.audience a {
  min-height: 100%;
  padding: 1.75rem;
}

.audience a:nth-child(2),
.audience a:hover {
  color: var(--ink-text);
  background: #ffffff;
}

.flow-chart {
  gap: 1rem;
}

.flow-chart li {
  border-radius: 12px;
  padding: 1.25rem;
}

.module-map {
  gap: 1rem;
}

.module-map .node {
  background: #ffffff;
  color: var(--ink-text);
  border: 1px solid #d7e3de;
  box-shadow: 0 10px 28px rgba(7, 26, 36, 0.05);
}

.module-map .node.core {
  background: #dff5ed;
  color: #075f53;
  border-color: #a8dccc;
}

.light-band .node.core h3,
.light-band .node.core p {
  color: #075f53;
}

.light-band .tile {
  color: var(--ink-text);
  background: #ffffff;
  border-color: #d7e3de;
  border-radius: 10px;
}

.light-band .tile .status {
  color: var(--ink-text);
  font-size: 1rem;
  line-height: 1.45;
}

.band .btn-ghost,
.light-band .btn-ghost {
  color: var(--ink-text);
  border-color: #b8cbc3;
  background: #ffffff;
}

.step-bar {
  gap: 1rem;
  background: transparent;
  border: 0;
}

.step-bar div {
  background: #f6faf8;
  border: 1px solid #d7e3de;
  border-radius: 12px;
  padding: 1.4rem;
}

.timeline {
  border-left-color: #9dcfc2;
}

.values {
  background: #ffffff;
  border: 1px solid #d7e3de;
  border-radius: 14px;
  padding: 0 1.5rem;
}

.values dt,
.values dd {
  border-color: #dfe8e4;
}

.values dt {
  color: #087d6c;
}

.values dd {
  color: #526a70;
}

.faq {
  background: #ffffff;
  border: 1px solid #d7e3de;
  border-radius: 14px;
  padding-inline: 1.4rem;
}

.faq button {
  color: var(--ink-text);
  border-color: #dfe8e4;
  padding-block: 1.2rem;
}

.faq button::after {
  color: #087d6c;
}

.faq [hidden] + h3,
.faq h3:first-child button {
  border-top: 0;
}

.carousel-controls .icon-btn {
  color: var(--ink-text);
  background: #ffffff;
  border-color: #cbdcd5;
}

.carousel h3 {
  color: var(--ink-text);
}

.site-footer {
  border-top: 3px solid var(--teal);
}

.page-hero-visual,
.purpose-visual {
  margin: 0;
  overflow: hidden;
  border: 1px solid #cbdcd5;
  border-radius: 18px;
  background: #eef4f0;
  box-shadow: 0 20px 48px rgba(7, 26, 36, 0.13);
}

.page-hero-visual {
  aspect-ratio: 4 / 3;
  align-self: center;
}

.purpose-visual {
  min-height: 300px;
  align-self: stretch;
}

.page-hero-visual img,
.purpose-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.js [data-reveal],
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  transition: none;
}

@media (max-width: 980px) {
  .metric-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric-strip article,
  .step-bar div {
    border: 1px solid #d7e3de;
  }

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

  .page-hero-visual {
    width: min(100%, 680px);
  }
}

@media (max-width: 640px) {
  .page-hero,
  .band,
  .light-band {
    padding-block: 3.5rem;
  }

  .hero {
    min-height: 0;
    padding: 3rem var(--gutter) 13.5rem;
    align-items: flex-start;
    background-image:
      linear-gradient(90deg, rgba(248, 251, 249, 0.96) 0%, rgba(248, 251, 249, 0.9) 55%, rgba(248, 251, 249, 0.5) 100%),
      url("../img/hero-personal-finance.jpg");
    background-size: 100% 100%, calc(100% - var(--gutter) * 2) auto;
    background-position: center, center bottom;
  }

  .hero > div {
    width: 100%;
  }

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

  .section-head {
    display: block;
    align-items: start;
  }

  .section-head > p {
    max-width: none;
    margin-top: 1rem;
  }

  .values {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }

  .values dd {
    padding: 0 0 1rem;
    border-top: 0;
  }

  .page-hero-visual,
  .purpose-visual {
    border-radius: 12px;
  }

  .purpose-visual {
    min-height: 220px;
  }
}
