/* tokens */
:root {
  color-scheme: light;
  --color-ink: #10202a;
  --color-heading: #081a24;
  --color-muted: #5d6767;
  --color-subtle: #7b827d;
  --color-navy: #071823;
  --color-navy-2: #0c2630;
  --color-green-black: #123833;
  --color-gold: #c99742;
  --color-gold-soft: #f0ddb2;
  --color-cyan: #79c7d4;
  --color-cyan-soft: #d7eef2;
  --color-ivory: #fbf6ea;
  --color-cream: #f4ecdd;
  --color-panel: #fffdf7;
  --color-line: #ded2b9;
  --color-sage: #dbe7df;
  --color-blue: #dfeaec;
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --step--1: 0.88rem;
  --step-0: 1rem;
  --step-1: 1.16rem;
  --step-2: clamp(1.42rem, 2vw, 1.82rem);
  --step-3: clamp(1.82rem, 3vw, 2.65rem);
  --step-4: clamp(2.35rem, 5vw, 4.65rem);
  --space-1: 6px;
  --space-2: 10px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 36px;
  --space-6: 52px;
  --space-7: 76px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 10px 24px rgba(8, 26, 36, 0.08);
  --shadow-md: 0 18px 46px rgba(8, 26, 36, 0.12);
  --shadow-lg: 0 32px 82px rgba(8, 26, 36, 0.2);
  --header-height: 76px;
  --logo-width-desktop: 214px;
  --logo-width-mobile: 166px;
  --nav-gap: clamp(8px, 1.2vw, 16px);
  --search-width: 250px;
  --content-width: 1180px;
  --article-width: 1030px;
}

/* reset/base */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 8% -4%, rgba(201, 151, 66, 0.12), transparent 28rem),
    linear-gradient(180deg, #fffdf7 0, var(--color-ivory) 42rem, var(--color-cream) 100%);
  color: var(--color-ink);
  font-family: var(--font-sans);
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  color: var(--color-heading);
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: var(--step-4);
  line-height: 0.98;
}

h2 {
  margin: 0;
  font-size: var(--step-3);
  line-height: 1.05;
}

h3 {
  margin: 0;
  font-size: var(--step-1);
  line-height: 1.2;
}

p {
  margin: 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  border-radius: var(--radius-sm);
  background: var(--color-navy);
  color: var(--color-ivory);
  font-weight: 800;
  padding: 10px 14px;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  outline: 3px solid var(--color-gold);
  outline-offset: 3px;
  transform: translateY(0);
}

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

.kicker,
.card-status,
.search-result-type {
  color: var(--color-gold);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-text,
.section-heading p,
.hub-card p,
.trust-card p,
.support-item p,
.article-section p,
.legal-section p,
.legal-section li {
  color: var(--color-muted);
}

.muted,
.coming-later {
  color: var(--color-muted);
  font-weight: 700;
}

/* layout */
.section-band,
.principles,
.support-section,
.support-boundary {
  padding: clamp(44px, 7vw, 88px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 780px;
  margin: 0 0 var(--space-5);
}

.section-heading p {
  margin-top: var(--space-3);
  font-size: var(--step-1);
}

.journey-band {
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.88), rgba(244, 236, 221, 0.72)),
    var(--color-ivory);
}

.technology-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 12%, rgba(240, 221, 178, 0.18), transparent 22rem),
    linear-gradient(135deg, var(--color-navy), var(--color-green-black));
  color: var(--color-ivory);
}

.technology-band h2,
.technology-band h3 {
  color: var(--color-ivory);
}

.technology-band .section-heading p,
.technology-band .trust-card p {
  color: rgba(251, 246, 234, 0.78);
}

/* header/nav/search */
.site-header {
  position: sticky;
  top: 10px;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr) minmax(210px, var(--search-width));
  gap: clamp(12px, 1.7vw, 24px);
  align-items: center;
  min-height: var(--header-height);
  width: min(calc(100% - 32px), 1240px);
  margin: 10px auto 0;
  padding: 8px clamp(14px, 1.8vw, 22px);
  border: 1px solid rgba(240, 221, 178, 0.24);
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(4, 15, 23, 0.98), rgba(7, 28, 37, 0.97) 48%, rgba(13, 45, 47, 0.96)),
    radial-gradient(circle at 9% 50%, rgba(240, 221, 178, 0.24), transparent 11rem),
    radial-gradient(circle at 78% 0, rgba(121, 199, 212, 0.18), transparent 18rem),
    var(--color-navy);
  box-shadow:
    0 18px 54px rgba(7, 24, 35, 0.28),
    inset 0 1px 0 rgba(255, 253, 247, 0.06);
  backdrop-filter: blur(18px);
}

.header-menu {
  display: contents;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--logo-width-desktop);
  min-width: var(--logo-width-desktop);
  height: 48px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 40px;
  border: 1px solid rgba(240, 221, 178, 0.34);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.14), rgba(255, 253, 247, 0.05)),
    rgba(255, 253, 247, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  cursor: pointer;
  padding: 0;
}

.menu-toggle span[aria-hidden="true"] {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  border-radius: 999px;
  background: var(--color-gold-soft);
}

.menu-toggle span[aria-hidden="true"]::before,
.menu-toggle span[aria-hidden="true"]::after {
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--color-gold-soft);
  content: "";
  transition:
    transform 160ms ease,
    top 160ms ease,
    opacity 160ms ease;
}

.menu-toggle span[aria-hidden="true"]::before {
  top: -6px;
}

.menu-toggle span[aria-hidden="true"]::after {
  top: 6px;
}

.site-header.is-open .menu-toggle span[aria-hidden="true"] {
  background: transparent;
}

.site-header.is-open .menu-toggle span[aria-hidden="true"]::before {
  top: 0;
  transform: rotate(45deg);
}

.site-header.is-open .menu-toggle span[aria-hidden="true"]::after {
  top: 0;
  transform: rotate(-45deg);
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  border-color: var(--color-gold-soft);
  box-shadow: 0 0 0 3px rgba(201, 151, 66, 0.2);
  outline: none;
}

.brand-logo {
  display: block;
  width: 100%;
  height: 45px;
  object-fit: contain;
  filter:
    drop-shadow(0 8px 16px rgba(0, 0, 0, 0.42))
    drop-shadow(0 0 14px rgba(240, 221, 178, 0.34))
    drop-shadow(0 0 8px rgba(121, 199, 212, 0.16));
}

.nav-labels {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3px var(--nav-gap);
  color: rgba(251, 246, 234, 0.76);
  font-size: 0.92rem;
  font-weight: 780;
  line-height: 1;
}

.nav-labels a {
  border-radius: 999px;
  padding: 8px 9px;
  transition:
    background 160ms ease,
    color 160ms ease;
}

.nav-labels a:hover,
.nav-labels a:focus-visible {
  background: rgba(240, 221, 178, 0.12);
  color: var(--color-ivory);
  outline: none;
}

.site-search {
  position: relative;
  min-width: 200px;
  align-self: center;
}

.site-search::before {
  position: absolute;
  left: 14px;
  top: 50%;
  z-index: 1;
  width: 13px;
  height: 13px;
  border: 2px solid var(--color-gold-soft);
  border-radius: 50%;
  content: "";
  transform: translateY(-58%);
}

.site-search::after {
  position: absolute;
  left: 26px;
  top: 50%;
  z-index: 1;
  width: 7px;
  height: 2px;
  border-radius: 999px;
  background: var(--color-gold-soft);
  content: "";
  transform: translateY(4px) rotate(45deg);
}

.site-search-input {
  width: 100%;
  min-height: 40px;
  border: 1px solid rgba(240, 221, 178, 0.28);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: var(--color-ivory);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 750;
  padding: 8px 14px 8px 42px;
  outline: none;
}

.site-search-input::placeholder {
  color: rgba(251, 246, 234, 0.62);
}

.site-search-input:focus {
  border-color: var(--color-gold-soft);
  box-shadow:
    0 0 0 3px rgba(201, 151, 66, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.site-search-results {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 30;
  width: min(430px, 88vw);
  max-height: min(62vh, 520px);
  overflow-y: auto;
  border: 1px solid rgba(201, 151, 66, 0.36);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 247, 0.98);
  box-shadow: var(--shadow-lg);
  padding: 8px;
}

.search-result {
  display: grid;
  gap: 5px;
  border-radius: var(--radius-sm);
  padding: 12px;
}

.search-result:hover,
.search-result:focus-visible {
  background: rgba(201, 151, 66, 0.12);
  outline: none;
}

.search-result strong {
  color: var(--color-heading);
  line-height: 1.2;
}

.search-result span:last-child,
.search-empty {
  color: var(--color-muted);
  font-size: 0.9rem;
}

.search-empty {
  padding: 12px;
}

/* homepage */
.hero {
  position: relative;
  overflow: hidden;
  min-height: min(620px, calc(100vh - var(--header-height)));
  padding: clamp(56px, 8vw, 104px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 78% 24%, rgba(240, 221, 178, 0.24), transparent 18rem),
    radial-gradient(circle at 68% 66%, rgba(121, 199, 212, 0.15), transparent 18rem),
    radial-gradient(circle at 10% 18%, rgba(93, 150, 142, 0.22), transparent 20rem),
    linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-2) 52%, var(--color-green-black) 100%);
  background-size:
    44px 44px,
    44px 44px,
    auto,
    auto,
    auto,
    auto;
  color: var(--color-ivory);
}

.hero::after {
  position: absolute;
  inset: auto -8rem -12rem auto;
  width: 30rem;
  height: 30rem;
  border: 1px solid rgba(240, 221, 178, 0.2);
  border-radius: 50%;
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
  max-width: var(--content-width);
  margin: 0 auto;
}

.hero-main {
  max-width: 760px;
}

.hero .kicker,
.support-hero .kicker,
.article-hero .kicker,
.legal-hero .kicker {
  color: var(--color-gold-soft);
}

.hero h1,
.support-hero h1,
.article-hero h1,
.legal-hero h1 {
  color: var(--color-ivory);
}

.hero .hero-text,
.support-hero .hero-text,
.article-hero .hero-text,
.legal-hero .hero-text {
  color: rgba(251, 246, 234, 0.78);
}

.hero .hero-text {
  max-width: 680px;
  margin-top: var(--space-4);
  font-size: clamp(1.05rem, 1.8vw, 1.32rem);
}

.status-note {
  max-width: 680px;
  margin-top: var(--space-4);
  border: 1px solid rgba(201, 151, 66, 0.34);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 247, 0.1);
  color: rgba(251, 246, 234, 0.86);
  font-weight: 720;
  padding: 14px 16px;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(240, 221, 178, 0.24);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(90deg, rgba(121, 199, 212, 0.1), transparent),
    linear-gradient(145deg, rgba(255, 253, 247, 0.16), rgba(255, 253, 247, 0.06)),
    rgba(255, 253, 247, 0.08);
  box-shadow: var(--shadow-lg);
  padding: clamp(22px, 4vw, 34px);
}

.hero-panel::before {
  position: absolute;
  inset: 34px -52px auto auto;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(240, 221, 178, 0.34);
  border-radius: 50%;
  content: "";
}

.hero-panel-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-4);
}

.hero-signal {
  position: relative;
  border: 1px solid rgba(240, 221, 178, 0.16);
  border-left: 3px solid var(--color-gold-soft);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 247, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: var(--space-3);
  padding-left: var(--space-3);
}

.hero-signal strong {
  display: block;
  color: var(--color-ivory);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.hero-signal span {
  display: block;
  margin-top: var(--space-1);
  color: rgba(251, 246, 234, 0.72);
  font-weight: 760;
}

.hero-paths {
  display: grid;
  gap: var(--space-2);
}

.hero-paths a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  border: 1px solid rgba(240, 221, 178, 0.18);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 247, 0.08);
  color: var(--color-ivory);
  font-weight: 820;
  padding: 13px 15px;
}

.hero-paths a::after {
  color: var(--color-gold-soft);
  content: "Open";
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* icons */
.hub-card::before,
.trust-card::before,
.support-item::before,
.article-summary::before,
.article-card.icon-lighting::before,
.article-card.icon-measure::before,
.article-card.icon-compat::before,
.article-card.icon-source::before,
.article-card.icon-setup::before,
.article-card.icon-safety::before {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: var(--space-3);
  border: 1px solid rgba(201, 151, 66, 0.28);
  border-radius: 14px;
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.78), transparent 0.72rem),
    linear-gradient(135deg, rgba(201, 151, 66, 0.2), rgba(121, 199, 212, 0.16));
  color: var(--color-green-black);
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
  content: "";
}

.technology-band .trust-card::before {
  border-color: rgba(240, 221, 178, 0.3);
  background:
    radial-gradient(circle at 30% 24%, rgba(255, 255, 255, 0.42), transparent 0.72rem),
    linear-gradient(135deg, rgba(240, 221, 178, 0.24), rgba(121, 199, 212, 0.14));
  color: var(--color-gold-soft);
}

.guide-module::before,
.impact-point::before {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: var(--space-3);
  border: 1px solid rgba(201, 151, 66, 0.28);
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 253, 247, 0.94) 0 0.22rem, transparent 0.25rem),
    linear-gradient(135deg, rgba(201, 151, 66, 0.2), rgba(121, 199, 212, 0.16));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
  content: "";
}

.icon-lighting::before,
.icon-measure::before,
.icon-compat::before,
.icon-source::before,
.icon-setup::before,
.icon-safety::before {
  content: "";
  font-size: 0;
}

.icon-lighting::before {
  clip-path: polygon(50% 4%, 62% 36%, 96% 50%, 62% 64%, 50% 96%, 38% 64%, 4% 50%, 38% 36%);
}

.icon-measure::before {
  border-radius: 999px;
  background:
    linear-gradient(90deg, transparent 18%, rgba(8, 26, 36, 0.34) 18% 22%, transparent 22% 38%, rgba(8, 26, 36, 0.34) 38% 42%, transparent 42% 58%, rgba(8, 26, 36, 0.34) 58% 62%, transparent 62%),
    linear-gradient(135deg, rgba(201, 151, 66, 0.24), rgba(121, 199, 212, 0.18));
}

.icon-compat::before {
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.icon-source::before {
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 8px rgba(255, 253, 247, 0.5),
    inset 0 0 0 14px rgba(18, 56, 51, 0.16);
}

.icon-setup::before {
  border-radius: 12px;
  background:
    linear-gradient(90deg, transparent 38%, rgba(8, 26, 36, 0.32) 38% 44%, transparent 44%),
    linear-gradient(0deg, transparent 38%, rgba(8, 26, 36, 0.32) 38% 44%, transparent 44%),
    linear-gradient(135deg, rgba(201, 151, 66, 0.24), rgba(121, 199, 212, 0.18));
}

.icon-safety::before {
  clip-path: polygon(50% 2%, 92% 20%, 84% 72%, 50% 98%, 16% 72%, 8% 20%);
}

/* cards/modules */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--space-3);
  max-width: var(--content-width);
}

.hub-card,
.guide-module,
.trust-card,
.support-item,
.impact-point,
.article-card,
.related-card,
.fit-grid > div {
  border: 1px solid rgba(222, 210, 185, 0.84);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0, rgba(121, 199, 212, 0.12), transparent 10rem),
    linear-gradient(145deg, rgba(255, 253, 247, 0.98), rgba(251, 246, 234, 0.9)),
    var(--color-panel);
  box-shadow: var(--shadow-sm);
}

.hub-card {
  grid-column: span 2;
  min-height: 214px;
  padding: var(--space-4);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.hub-card:nth-child(1),
.hub-card:nth-child(2) {
  grid-column: span 3;
}

.hub-card:focus-within,
.hub-card:hover,
.support-item:hover,
.related-card:hover,
.related-card:focus-visible,
.trust-card:hover {
  border-color: rgba(201, 151, 66, 0.58);
  box-shadow: var(--shadow-md);
  outline: none;
  transform: translateY(-2px);
}

.hub-card h3,
.support-item h3 {
  margin-top: var(--space-2);
}

.hub-card h3 a::after,
.support-item h3 a::after {
  color: var(--color-gold);
  content: " /";
}

.hub-card p:last-child,
.support-item p {
  margin-top: var(--space-2);
}

.card-status {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  border: 1px solid rgba(201, 151, 66, 0.24);
  border-radius: 999px;
  background: rgba(201, 151, 66, 0.1);
  color: var(--color-heading);
  padding: 5px 9px;
  white-space: normal;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
  max-width: var(--content-width);
}

.trust-card {
  min-height: 190px;
  padding: var(--space-4);
  background: rgba(255, 253, 247, 0.08);
  border-color: rgba(240, 221, 178, 0.22);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.trust-card h3 {
  color: var(--color-ivory);
}

.trust-card p {
  margin-top: var(--space-2);
  color: rgba(251, 246, 234, 0.78);
}

/* homepage middle section */
.journey-section {
  position: relative;
  overflow: hidden;
  padding: clamp(54px, 8vw, 104px) clamp(18px, 5vw, 72px);
  background:
    radial-gradient(circle at 8% 12%, rgba(201, 151, 66, 0.12), transparent 22rem),
    radial-gradient(circle at 88% 18%, rgba(121, 199, 212, 0.12), transparent 20rem),
    linear-gradient(180deg, #fffdf7, var(--color-ivory));
}

.journey-shell {
  display: grid;
  gap: var(--space-4);
  max-width: var(--content-width);
  margin: 0 auto;
}

.journey-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: clamp(20px, 5vw, 60px);
  align-items: end;
  max-width: none;
  margin-bottom: var(--space-2);
}

.journey-heading .kicker,
.journey-heading h2 {
  grid-column: 1;
}

.journey-heading p:last-child {
  grid-column: 2;
  margin: 0;
}

.journey-feature-row,
.journey-support-row {
  display: grid;
  gap: var(--space-4);
}

.journey-feature-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.journey-support-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guide-module {
  position: relative;
  overflow: hidden;
  min-height: 214px;
  padding: clamp(22px, 3vw, 30px);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.guide-module::after {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(201, 151, 66, 0.18);
  border-radius: 50%;
  content: "";
}

.guide-module-feature {
  min-height: 252px;
  background:
    radial-gradient(circle at 100% 0, rgba(121, 199, 212, 0.16), transparent 12rem),
    linear-gradient(145deg, rgba(255, 253, 247, 1), rgba(240, 221, 178, 0.2)),
    var(--color-panel);
}

.guide-module-wide {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(260px, 0.42fr);
  gap: var(--space-4);
  align-items: center;
  min-height: 150px;
}

.guide-module h3 {
  margin-top: var(--space-2);
}

.guide-module h3 a::after {
  color: var(--color-gold);
  content: " /";
}

.guide-module p:last-child {
  margin-top: var(--space-2);
  color: var(--color-muted);
}

.guide-module:hover,
.guide-module:focus-within {
  border-color: rgba(201, 151, 66, 0.58);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* homepage bottom graphic section */
.impact-section {
  position: relative;
  overflow: hidden;
  padding: clamp(58px, 8vw, 108px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    radial-gradient(circle at 48% 42%, rgba(121, 199, 212, 0.18), transparent 18rem),
    radial-gradient(circle at 78% 18%, rgba(240, 221, 178, 0.18), transparent 22rem),
    linear-gradient(135deg, #061620, #102b36 52%, #123833);
  background-size:
    42px 42px,
    42px 42px,
    auto,
    auto,
    auto;
  color: var(--color-ivory);
}

.impact-shell {
  display: grid;
  grid-template-columns: minmax(260px, 0.76fr) minmax(240px, 0.54fr) minmax(320px, 1fr);
  gap: clamp(26px, 5vw, 68px);
  align-items: center;
  max-width: var(--content-width);
  margin: 0 auto;
}

.impact-copy h2,
.impact-point h3 {
  color: var(--color-ivory);
}

.impact-copy p:last-child {
  margin-top: var(--space-3);
  color: rgba(251, 246, 234, 0.76);
  font-size: var(--step-1);
}

.impact-diagram {
  display: grid;
  place-items: center;
}

.diagram-ring {
  position: relative;
  display: grid;
  place-items: center;
  width: min(270px, 70vw);
  aspect-ratio: 1;
  border: 1px solid rgba(240, 221, 178, 0.24);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 253, 247, 0.12) 0 26%, transparent 27%),
    radial-gradient(circle, transparent 0 48%, rgba(121, 199, 212, 0.12) 49% 50%, transparent 51%),
    rgba(255, 253, 247, 0.04);
  box-shadow:
    0 0 64px rgba(121, 199, 212, 0.16),
    inset 0 0 54px rgba(240, 221, 178, 0.08);
}

.diagram-core {
  display: grid;
  place-items: center;
  position: relative;
  width: 92px;
  height: 92px;
  border: 1px solid rgba(240, 221, 178, 0.36);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(201, 151, 66, 0.26), rgba(121, 199, 212, 0.12));
  box-shadow:
    inset 0 1px 0 rgba(255, 253, 247, 0.12),
    0 0 28px rgba(201, 151, 66, 0.2);
}

.core-home {
  position: relative;
  width: 34px;
  height: 28px;
  border: 2px solid var(--color-gold-soft);
  border-top: 0;
  border-radius: 0 0 8px 8px;
}

.core-home::before {
  position: absolute;
  left: 50%;
  top: -15px;
  width: 25px;
  height: 25px;
  border-top: 2px solid var(--color-gold-soft);
  border-left: 2px solid var(--color-gold-soft);
  content: "";
  transform: translateX(-50%) rotate(45deg);
  transform-origin: center;
}

.core-node {
  position: absolute;
  right: 25px;
  bottom: 24px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--color-cyan);
  box-shadow: 0 0 18px rgba(121, 199, 212, 0.62);
}

.diagram-node {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-gold-soft);
  box-shadow: 0 0 18px rgba(240, 221, 178, 0.58);
}

.node-fit { left: 49%; top: 7%; }
.node-measure { right: 13%; top: 27%; }
.node-setup { right: 13%; bottom: 27%; }
.node-compat { left: 49%; bottom: 7%; }
.node-source { left: 13%; bottom: 27%; }
.node-safety { left: 13%; top: 27%; }

.impact-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
}

.impact-point {
  min-height: 150px;
  border-color: rgba(240, 221, 178, 0.2);
  background:
    radial-gradient(circle at 100% 0, rgba(121, 199, 212, 0.12), transparent 8rem),
    rgba(255, 253, 247, 0.07);
  padding: var(--space-3);
}

.impact-point p {
  margin-top: var(--space-2);
  color: rgba(251, 246, 234, 0.74);
}

/* article pages */
.article-template {
  background:
    radial-gradient(circle at 12% 0, rgba(201, 151, 66, 0.1), transparent 24rem),
    var(--color-ivory);
}

.article-hero {
  padding: clamp(40px, 6vw, 74px) clamp(18px, 5vw, 72px);
  background:
    radial-gradient(circle at 86% 18%, rgba(240, 221, 178, 0.18), transparent 20rem),
    linear-gradient(135deg, var(--color-navy), var(--color-green-black));
}

.article-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.42fr);
  gap: clamp(22px, 5vw, 60px);
  align-items: center;
  max-width: var(--content-width);
  margin: 0 auto;
}

.article-hero-main {
  max-width: 760px;
}

.article-hero h1 {
  font-size: clamp(2rem, 4.4vw, 4rem);
}

.article-hero .hero-text {
  max-width: 700px;
  margin-top: var(--space-3);
  font-size: var(--step-1);
}

.article-summary {
  display: grid;
  gap: var(--space-2);
  border: 1px solid rgba(201, 151, 66, 0.28);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.96), rgba(251, 246, 234, 0.9)),
    var(--color-panel);
  box-shadow: var(--shadow-md);
  padding: var(--space-4);
}

.article-summary::before {
  margin-bottom: var(--space-1);
}

.article-summary span {
  color: var(--color-subtle);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-summary strong {
  color: var(--color-heading);
  line-height: 1.25;
}

.summary-list {
  display: grid;
  gap: 8px;
  margin: var(--space-2) 0 0;
  padding: 0;
  list-style: none;
}

.summary-list li {
  position: relative;
  color: var(--color-muted);
  font-size: 0.94rem;
  font-weight: 720;
  line-height: 1.35;
  padding-left: 18px;
}

.summary-list li::before {
  position: absolute;
  left: 0;
  top: 0.56em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-gold);
  content: "";
}

.article-body {
  max-width: var(--article-width);
  margin: 0 auto;
  padding: clamp(30px, 5vw, 58px) clamp(16px, 5vw, 32px);
}

.article-section {
  margin: 0 0 var(--space-4);
}

.article-card {
  padding: clamp(22px, 4vw, 34px);
}

.article-depth-card {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3vw, 30px);
}

.article-depth-card::after {
  position: absolute;
  right: -44px;
  top: -44px;
  width: 128px;
  height: 128px;
  border: 1px solid rgba(201, 151, 66, 0.18);
  border-radius: 50%;
  content: "";
}

.article-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.article-card-number {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  margin-bottom: 0;
  border-radius: 50%;
  background: var(--color-navy);
  color: var(--color-gold-soft);
  font-weight: 850;
}

.article-section h2 {
  max-width: 720px;
  margin-top: var(--space-1);
  font-size: clamp(1.42rem, 2.7vw, 2.28rem);
}

.article-section p {
  max-width: 780px;
  margin-top: var(--space-3);
}

.article-copy {
  display: grid;
  gap: var(--space-2);
  max-width: 790px;
  margin-top: var(--space-3);
}

.article-copy p {
  margin-top: 0;
}

.article-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: var(--space-4) 0 0;
  padding: 0;
  list-style: none;
}

.article-checklist li {
  position: relative;
  border: 1px solid rgba(222, 210, 185, 0.82);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 247, 0.78);
  color: var(--color-muted);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.38;
  padding: 12px 13px 12px 34px;
}

.article-checklist li::before {
  position: absolute;
  left: 14px;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-gold);
  box-shadow: 0 0 0 4px rgba(201, 151, 66, 0.14);
  content: "";
}

.article-callout {
  max-width: 760px;
  border-left: 3px solid var(--color-gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(201, 151, 66, 0.09);
  color: var(--color-green-black);
  font-size: 0.96rem;
  font-weight: 780;
  padding: 12px 14px;
}

.article-note-card {
  padding: clamp(18px, 3vw, 26px);
}

.notice-section,
.disclosure-section {
  border-color: rgba(201, 151, 66, 0.32);
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.98), rgba(240, 221, 178, 0.26)),
    var(--color-panel);
}

.article-list,
.related-placeholders {
  display: grid;
  gap: var(--space-2);
  margin: var(--space-3) 0 0;
  padding-left: 22px;
  color: var(--color-muted);
}

.glossary-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: var(--space-3) 0 0;
  padding: 0;
  list-style: none;
}

.glossary-list li {
  border: 1px solid rgba(201, 151, 66, 0.24);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.86);
  color: var(--color-green-black);
  font-size: 0.92rem;
  font-weight: 760;
  padding: 7px 11px;
}

.related-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-3);
}

.related-card {
  display: grid;
  gap: var(--space-2);
  min-height: 112px;
  color: var(--color-heading);
  font-weight: 820;
  padding: var(--space-3);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.related-card::after {
  color: var(--color-gold);
  content: "Read guide";
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
}

.fit-grid > div {
  padding: var(--space-4);
}

/* support/legal pages */
.support-hero,
.legal-hero {
  padding: clamp(44px, 7vw, 84px) clamp(18px, 5vw, 72px);
  background:
    radial-gradient(circle at 86% 18%, rgba(240, 221, 178, 0.2), transparent 20rem),
    linear-gradient(135deg, var(--color-navy), var(--color-green-black));
}

.support-hero-copy,
.legal-hero {
  max-width: none;
}

.support-hero-copy {
  max-width: 860px;
}

.support-hero .hero-text,
.legal-hero .hero-text {
  max-width: 740px;
  margin-top: var(--space-3);
  font-size: var(--step-1);
}

.support-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
  max-width: var(--content-width);
}

.product-library-note {
  border-block: 1px solid rgba(222, 210, 185, 0.76);
  background:
    radial-gradient(circle at 88% 16%, rgba(121, 199, 212, 0.14), transparent 18rem),
    linear-gradient(135deg, rgba(255, 253, 247, 0.96), rgba(240, 221, 178, 0.2));
}

.discovery-section:nth-of-type(even) {
  background:
    radial-gradient(circle at 12% 0, rgba(201, 151, 66, 0.08), transparent 18rem),
    rgba(255, 253, 247, 0.52);
}

.guide-discovery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
  max-width: var(--content-width);
}

.guide-discovery-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: var(--space-2);
  min-height: 210px;
  border: 1px solid rgba(222, 210, 185, 0.84);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0, rgba(121, 199, 212, 0.12), transparent 10rem),
    linear-gradient(145deg, rgba(255, 253, 247, 0.98), rgba(251, 246, 234, 0.9)),
    var(--color-panel);
  box-shadow: var(--shadow-sm);
  color: var(--color-heading);
  padding: var(--space-4);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.guide-discovery-card::before {
  margin-bottom: var(--space-1);
}

.guide-discovery-card strong {
  font-size: var(--step-1);
  line-height: 1.22;
}

.guide-discovery-card span:last-child {
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.guide-discovery-card:hover,
.guide-discovery-card:focus-visible {
  border-color: rgba(201, 151, 66, 0.58);
  box-shadow: var(--shadow-md);
  outline: none;
  transform: translateY(-2px);
}

.support-item {
  min-height: 174px;
  padding: var(--space-4);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.support-boundary {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(24px, 5vw, 70px);
  border-top: 1px solid rgba(222, 210, 185, 0.78);
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.98), rgba(244, 236, 221, 0.74)),
    var(--color-panel);
}

.support-boundary ul {
  display: grid;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--color-muted);
}

.support-boundary li {
  border-left: 3px solid var(--color-gold);
  padding-left: var(--space-3);
}

.legal-page {
  background: var(--color-ivory);
}

.legal-hero {
  display: grid;
  gap: var(--space-3);
}

.legal-hero > * {
  max-width: 880px;
}

.legal-section {
  max-width: 940px;
  margin: 0 auto;
  padding: clamp(34px, 6vw, 64px) clamp(18px, 5vw, 32px);
  border-bottom: 1px solid rgba(222, 210, 185, 0.8);
}

.legal-section p,
.legal-section ul {
  margin-top: var(--space-3);
}

.legal-section ul {
  display: grid;
  gap: var(--space-2);
  padding-left: 20px;
}

.route-link-list a {
  color: var(--color-heading);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(201, 151, 66, 0.68);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.route-link-list a:hover,
.route-link-list a:focus-visible {
  color: var(--color-green-black);
  text-decoration-color: var(--color-gold);
  outline: none;
}

/* footer */
.site-footer {
  padding: 38px clamp(18px, 5vw, 72px);
  border-top: 1px solid rgba(240, 221, 178, 0.18);
  background:
    radial-gradient(circle at 82% 12%, rgba(240, 221, 178, 0.14), transparent 20rem),
    linear-gradient(135deg, var(--color-navy), var(--color-green-black));
  color: rgba(251, 246, 234, 0.78);
  font-size: 0.94rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3) var(--space-5);
  max-width: var(--content-width);
  margin: 0 auto;
}

.footer-brand {
  color: rgba(251, 246, 234, 0.82);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 16px;
  font-weight: 760;
}

.footer-links a {
  color: var(--color-gold-soft);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--color-ivory);
  outline: none;
}

/* responsive rules */
@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .menu-toggle {
    display: inline-grid;
    grid-column: 3;
    place-items: center;
    justify-self: end;
  }

  .header-menu {
    display: none;
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    gap: var(--space-3);
    width: 100%;
    border-top: 1px solid rgba(240, 221, 178, 0.16);
    padding-top: var(--space-3);
  }

  .site-header.is-open .header-menu {
    display: grid;
  }

  .header-menu .nav-labels {
    justify-content: flex-start;
  }

  .header-menu .site-search {
    width: min(100%, 520px);
  }

  .hero-copy,
  .article-hero-inner,
  .support-boundary,
  .journey-heading,
  .guide-module-wide,
  .impact-shell {
    grid-template-columns: 1fr;
  }

  .hub-grid,
  .trust-grid,
  .support-list,
  .guide-discovery-grid,
  .related-card-grid,
  .article-checklist,
  .journey-feature-row,
  .journey-support-row,
  .impact-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hub-card,
  .hub-card:nth-child(1),
  .hub-card:nth-child(2) {
    grid-column: auto;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: auto;
  }

  .site-header {
    grid-template-columns: auto 1fr auto;
    gap: 8px 12px;
    padding: 8px 12px;
    border-radius: 20px;
  }

  .brand {
    width: var(--logo-width-mobile);
    min-width: var(--logo-width-mobile);
    height: 46px;
  }

  .brand-logo {
    height: 44px;
  }

  .nav-labels {
    justify-content: flex-start;
    font-size: 0.9rem;
  }

  .header-menu .nav-labels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .header-menu .nav-labels a {
    border: 1px solid rgba(240, 221, 178, 0.16);
    background: rgba(255, 253, 247, 0.07);
    padding: 11px 12px;
  }

  .site-search {
    width: 100%;
    min-width: 0;
  }

  .site-search-results {
    left: 0;
    right: auto;
    width: min(100%, 92vw);
  }

  .hero {
    min-height: 0;
    padding-block: 46px;
  }

  .hero-panel {
    padding: var(--space-4);
  }

  .hub-grid,
  .trust-grid,
  .support-list,
  .guide-discovery-grid,
  .related-card-grid,
  .fit-grid,
  .article-checklist,
  .journey-feature-row,
  .journey-support-row,
  .impact-points {
    grid-template-columns: 1fr;
  }

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

  .journey-heading .kicker,
  .journey-heading h2,
  .journey-heading p:last-child {
    grid-column: auto;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
