@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=Noto+Sans+Thai:wght@300;400;500;600;700;800&display=swap");

:root {
  --deep-ink: #0d0b0e;
  --deep-ink-2: #171317;
  --deep-ink-3: #241b20;
  --warm-paper: #fbfaf8;
  --warm-paper-2: #ffffff;
  --wine-deep: #25040e;
  --wine: #3d0716;
  --wine-rich: #5c0d21;
  --wine-soft: #7f263e;
  --quiet-gray: #ded9dc;
  --quiet-gray-dark: #a79da1;
  --line-dark: rgba(255, 255, 255, 0.14);
  --line-light: rgba(255, 255, 255, 0.14);
  --ink: #fbfaf8;
  --ink-soft: #c7bdc1;
  --canvas: linear-gradient(145deg, #25040e 0%, #17070d 48%, #0d0b0e 100%);
  --canvas-soft: linear-gradient(135deg, #3d0716 0%, #25040e 52%, #12090d 100%);
  --surface: linear-gradient(145deg, rgba(61, 7, 22, 0.74), rgba(13, 11, 14, 0.88));
  --surface-solid: #210a12;
  --accent: #d7c9cd;
  --accent-soft: rgba(127, 38, 62, 0.22);
  --action: #ffffff;
  --action-hover: #f3edef;
  --signal: var(--wine-rich);
  --focus: #8a3047;
  --shadow-sm: 0 8px 24px rgba(13, 11, 14, 0.07);
  --shadow-md: 0 20px 50px rgba(13, 11, 14, 0.12);
  --shadow-xl: 0 32px 100px rgba(7, 5, 7, 0.2);
  --container: min(1180px, calc(100vw - 48px));
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-thai: "Noto Sans Thai", sans-serif;
  --font-heading: "Noto Sans Thai", sans-serif;
  --font-display: "Manrope", "Noto Sans Thai", sans-serif;
}

/* Broker refinement: clearer Standard guidance and capital planning cards. */
.standard-note,
.capital-plan,
.broker-trust-panel {
  margin-top: clamp(18px, 2.5vw, 26px);
  padding: clamp(18px, 2.8vw, 28px);
  border: 1px solid rgba(241, 220, 193, 0.2);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(19, 12, 13, 0.74), rgba(82, 16, 25, 0.28)),
    rgba(255, 248, 237, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 22px 50px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.standard-note h4,
.broker-trust-panel h4 {
  margin: 8px 0;
  color: #fff7ed;
  font-family: var(--font-editorial);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  letter-spacing: 0.02em;
}

.standard-note p:last-child,
.capital-plan > p:last-child,
.broker-trust-panel > p:last-child {
  margin-bottom: 0;
}

.broker-trust-panel > div:first-child p:last-child {
  margin-bottom: 0;
  color: rgba(255, 244, 232, 0.76);
}

.broker-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.broker-trust-grid article {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background:
    radial-gradient(circle at 84% 8%, rgba(223, 184, 122, 0.09), transparent 11rem),
    rgba(8, 7, 8, 0.48);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.broker-trust-grid article:hover {
  transform: translateY(-3px);
  border-color: rgba(223, 184, 122, 0.52);
  background: rgba(88, 14, 24, 0.46);
}

.broker-trust-grid span {
  display: block;
  color: rgba(255, 244, 232, 0.68);
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.broker-trust-grid strong {
  display: block;
  margin-top: 8px;
  color: #fff8ef;
  font-size: 1rem;
  line-height: 1.35;
}

.broker-trust-grid small {
  display: block;
  margin-top: 8px;
  color: rgba(255, 244, 232, 0.66);
  font-size: 0.75rem;
  line-height: 1.65;
}

.capital-plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.capital-plan-grid article {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(8, 7, 8, 0.48);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.capital-plan-grid article:hover {
  transform: translateY(-3px);
  border-color: rgba(223, 184, 122, 0.52);
  background: rgba(88, 14, 24, 0.5);
}

.capital-plan-grid span {
  display: block;
  min-height: 2.6em;
  color: rgba(255, 244, 232, 0.74);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.capital-plan-grid strong {
  display: block;
  margin: 8px 0;
  color: #fff8ef;
  font-family: var(--font-editorial);
  font-size: clamp(1.3rem, 2.3vw, 1.85rem);
}

.capital-plan-grid small {
  color: rgba(255, 244, 232, 0.66);
  line-height: 1.65;
}

@media (min-width: 621px) {
  .signal-strip__group {
    min-width: 100vw;
    justify-content: space-around;
  }

  .signal-strip__track {
    animation-duration: 34s;
  }
}

@media (max-width: 900px) {
  .capital-plan-grid,
  .broker-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .hero__grid {
    padding-top: 118px !important;
    padding-bottom: 46px;
  }

  .hero h1 {
    font-size: clamp(2.18rem, 10.4vw, 3rem);
    line-height: 0.98;
  }

  .hero__lead {
    margin-top: 18px;
  }

  .signal-strip__group {
    min-width: max-content;
  }

  .capital-plan-grid,
  .broker-trust-grid {
    grid-template-columns: 1fr;
  }

  .capital-plan-grid span {
    min-height: auto;
  }

  .line-float {
    right: 14px;
    left: auto;
    bottom: calc(16px + env(safe-area-inset-bottom));
    transform: none;
    padding: 11px 14px;
    gap: 8px;
    font-size: 0.78rem;
    letter-spacing: 0.01em;
  }

  .line-float .icon {
    width: 18px;
    height: 18px;
  }
}

/* Broker page: lead with the confirmed three-step registration flow. */
.broker-page #main-content {
  display: flex;
  flex-direction: column;
}

.broker-page #top {
  order: 1;
}

.broker-page .step-nav {
  order: 2;
}

.broker-page #register {
  order: 3;
}

.broker-page #broker-overview {
  order: 4;
}

.broker-page .cta {
  order: 5;
}

.broker-page #register-details[hidden] {
  display: none !important;
}

@media (max-width: 430px) {
  .hero__grid {
    padding-top: 108px !important;
  }

  .line-float {
    width: 48px;
    height: 48px;
    padding: 0;
    justify-content: center;
  }

  .line-float span {
    display: none;
  }
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  overflow-x: hidden;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(92, 13, 33, 0.72), transparent 32rem),
    radial-gradient(circle at 88% 68%, rgba(61, 7, 22, 0.48), transparent 36rem),
    linear-gradient(145deg, #25040e 0%, #17070d 48%, #0d0b0e 100%);
  background-attachment: fixed;
  font-family: var(--font-thai);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  transition: color 300ms ease, background-color 300ms ease;
}

body.modal-open,
body.menu-open {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

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

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

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.platform-icon {
  display: block;
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
  object-fit: contain;
}

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

.skip-link {
  position: fixed;
  z-index: 3000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: #fff;
  background: var(--wine-rich);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  padding: clamp(80px, 9vw, 140px) 0;
}

.section--soft {
  background: #25040e;
}

.section--ink {
  color: #f7f2ea;
  background: var(--deep-ink);
}

.section--ink,
.section--soft,
.manifesto,
.knowledge,
.faq {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
}

.section--soft::before,
.manifesto::before,
.knowledge::before,
.faq::before {
  display: none;
}

.section--soft::before {
  top: 8%;
  right: -10%;
}

.manifesto::before {
  bottom: -20%;
  left: -8%;
}

.knowledge::before {
  top: 12%;
  left: -12%;
}

.faq::before {
  right: -8%;
  bottom: -22%;
}

.section--ink .section-intro > p:last-child {
  color: #bcb4b8;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.reveal-delay-1 {
  transition-delay: 100ms;
}

.reveal-delay-2 {
  transition-delay: 180ms;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.truth-bar {
  position: relative;
  z-index: 1002;
  color: #f7f2ea;
  background: #090709;
  border-bottom: 1px solid var(--line-light);
}

.truth-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  gap: 14px;
  font-size: 0.72rem;
  text-align: center;
}

.truth-bar__inner p {
  margin: 0;
  color: #c9c1c5;
}

.truth-bar__label {
  color: #d7c9cd;
  font-family: var(--font-display);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 36px;
  left: 0;
  right: 0;
  color: #f7f2ea;
  transition: background-color 240ms ease, box-shadow 240ms ease, backdrop-filter 240ms ease;
}

.site-header.is-scrolled {
  background: rgba(13, 11, 14, 0.88);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand__word {
  color: #f7f2ea;
  font-family: var(--font-display);
  font-size: 1.48rem;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.brand__word span {
  color: var(--wine-soft);
}

.brand__descriptor {
  padding-left: 14px;
  color: #bcb4b8;
  border-left: 1px solid var(--line-light);
  font-family: var(--font-display);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.45;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-menu > a {
  position: relative;
  color: #c9c1c5;
  font-size: 0.8rem;
  font-weight: 500;
  transition: color 180ms ease;
}

.nav-menu > a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--wine-soft);
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 180ms ease;
}

.nav-menu > a:hover,
.nav-menu > a.is-current {
  color: #fff;
}

.nav-menu > a:hover::after,
.nav-menu > a.is-current::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #f7f2ea;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line-light);
  border-radius: 50%;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--small {
  min-height: 40px;
  padding-inline: 18px;
  font-size: 0.76rem;
}

.button--large {
  min-height: 58px;
  padding-inline: 28px;
}

.button--primary {
  color: var(--deep-ink);
  background: #fff;
  box-shadow: 0 14px 34px rgba(255, 255, 255, 0.16);
}

.button--primary:hover {
  background: #f3edef;
  box-shadow: 0 18px 38px rgba(255, 255, 255, 0.22);
}

.button--ghost {
  color: #f7f2ea;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.2);
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
}

.button--light {
  color: var(--deep-ink);
  background: #f7f2ea;
}

.button--light:hover {
  background: #fff;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow--light {
  color: #eee8ea;
}

.eyebrow__dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  background: var(--wine-soft);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(127, 38, 62, 0.18);
}

.section-intro {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-intro--split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(240px, 0.55fr);
  align-items: end;
  max-width: none;
  gap: 48px;
}

.section-intro h2,
.about-copy h2,
.cta h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3.35vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.2;
}

.section-intro h2 span,
.about-copy h2 span,
.cta h2 span {
  color: var(--accent);
}

.section-intro > p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #f7f2ea;
  background:
    radial-gradient(circle at 72% 40%, rgba(127, 38, 62, 0.3), transparent 26rem),
    radial-gradient(circle at 18% 24%, rgba(92, 13, 33, 0.58), transparent 32rem),
    linear-gradient(125deg, #25040e 0%, #17070d 48%, #0d0b0e 100%);
}

.hero__texture {
  position: absolute;
  inset: 0;
  opacity: 1;
  background:
    radial-gradient(circle at 76% 46%, rgba(255, 255, 255, 0.06), transparent 17rem),
    radial-gradient(circle at 12% 72%, rgba(127, 38, 62, 0.24), transparent 22rem);
}

.hero__texture::after {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.72fr);
  align-items: center;
  min-height: 780px;
  gap: 64px;
  padding-top: 108px;
  padding-bottom: 76px;
}

.hero h1 {
  max-width: 770px;
  margin: 0;
  color: #f7f2ea;
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 4.9vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 1.1;
}

.hero h1 span {
  color: #f7f2f3;
}

.hero__lead {
  max-width: 680px;
  margin: 28px 0 0;
  color: #cec6ca;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.9;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero__note {
  display: flex;
  align-items: center;
  max-width: 640px;
  gap: 10px;
  margin-top: 34px;
  color: #bcb4b8;
  font-size: 0.79rem;
}

.hero__note .icon {
  color: #eee8ea;
}

.hero-visual {
  position: relative;
  align-self: stretch;
  min-height: 630px;
}

.hero-visual__frame {
  position: absolute;
  top: 56px;
  right: 0;
  bottom: 34px;
  left: 10px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02)),
    rgba(61, 7, 22, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(24px);
}

.hero-visual__frame::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    radial-gradient(circle at 74% 20%, rgba(255, 255, 255, 0.14), transparent 15rem),
    linear-gradient(180deg, rgba(61, 7, 22, 0.08), rgba(7, 5, 7, 0.52) 100%);
  content: "";
  pointer-events: none;
}

.hero-visual__frame::before {
  position: absolute;
  z-index: 2;
  inset: 10%;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(255, 255, 255, 0.14), transparent 18%),
    radial-gradient(circle at 58% 58%, rgba(127, 38, 62, 0.52), rgba(61, 7, 22, 0.08) 58%, transparent 72%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 30px 70px rgba(0, 0, 0, 0.22);
  content: "";
  filter: blur(0.2px);
  pointer-events: none;
}

.hero-visual__picture,
.hero-visual__picture img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-visual__picture img {
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(0.8) contrast(1.04) brightness(0.8);
}

.hero-visual__topline {
  position: absolute;
  top: 0;
  right: 0;
  left: 10px;
  display: flex;
  justify-content: space-between;
  color: #bcb4b8;
  font-family: var(--font-display);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.hero-visual__card {
  position: absolute;
  z-index: 2;
  color: #f7f2ea;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.hero-visual__card--left {
  bottom: 0;
  left: -36px;
  padding: 18px 22px;
}

.mini-label {
  display: block;
  margin-bottom: 5px;
  color: #f7f2f3;
  font-family: var(--font-display);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.hero-visual__card strong {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-visual__card strong i {
  width: 4px;
  height: 4px;
  background: var(--wine-soft);
  border-radius: 50%;
}

.hero-visual__card--right {
  top: 145px;
  right: -36px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  font-size: 0.74rem;
  font-weight: 600;
}

.hero-visual__card--right .icon {
  width: 30px;
  height: 30px;
  color: #eee8ea;
}

.hero-visual__corner {
  position: absolute;
  right: -16px;
  bottom: 17px;
  width: 100px;
  height: 100px;
  border-right: 1px solid var(--wine-soft);
  border-bottom: 1px solid var(--wine-soft);
}

.signal-strip {
  position: relative;
  overflow: hidden;
  color: #f7f2ea;
  background: var(--wine-rich);
}

.signal-strip__track {
  display: flex;
  align-items: center;
  width: max-content;
  min-height: 36px;
  animation: ticker 32s linear infinite;
}

.signal-strip span {
  font-family: var(--font-display);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.signal-strip i {
  width: 4px;
  height: 4px;
  margin: 0 26px;
  background: #fff;
  border-radius: 50%;
  opacity: 0.8;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

.manifesto {
  background: #100b0d;
}

.knowledge,
.about,
.faq {
  background: var(--deep-ink);
}

.channels {
  background: #1b080f;
}

.manifesto__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: 80px;
}

.manifesto__content {
  padding-left: 36px;
  border-left: 1px solid var(--line-dark);
}

.manifesto__lead {
  margin: 0;
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.7;
}

.shift-line {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  margin-top: 30px;
  padding: 18px 0;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.shift-line span {
  color: var(--wine-soft);
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.shift-line p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.manifesto__checks {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.manifesto__checks div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.manifesto__checks .icon {
  color: var(--action);
}

.path-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(13, 11, 14, 0.48);
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(20px);
}

.path-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 118px;
  padding: 22px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line-dark);
  text-align: left;
  transition: background-color 180ms ease, color 180ms ease;
}

.path-card:last-child {
  border-right: 0;
}

.path-card:hover,
.path-card.is-active {
  color: #f7f2ea;
  background: linear-gradient(135deg, var(--wine-rich), var(--wine-deep));
}

.path-card__number {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.path-card.is-active .path-card__number,
.path-card:hover .path-card__number {
  color: #eee8ea;
}

.path-card__content {
  display: grid;
  gap: 5px;
}

.path-card strong {
  font-size: 1rem;
}

.path-card small {
  color: var(--ink-soft);
  font-size: 0.75rem;
}

.path-card.is-active small,
.path-card:hover small {
  color: #bcb4b8;
}

.route-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(380px, 1.04fr);
  gap: 56px;
  padding: 42px;
  color: #f7f2ea;
  background: rgba(13, 11, 14, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(22px);
}

.route-panel h3 {
  max-width: 600px;
  margin: 0;
  font-size: clamp(1.45rem, 2.35vw, 2.1rem);
  letter-spacing: -0.05em;
  line-height: 1.25;
}

.route-panel__head > p:last-child {
  max-width: 600px;
  margin: 16px 0 0;
  color: #bcb4b8;
  font-size: 0.92rem;
}

.route-steps {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.route-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-light);
}

.route-steps span {
  grid-row: 1 / 3;
  color: #eee8ea;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
}

.route-steps strong {
  font-size: 0.9rem;
}

.route-steps small {
  color: #bcb4b8;
  font-size: 0.76rem;
}

.text-link,
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--action);
  font-size: 0.82rem;
  font-weight: 700;
  transition: gap 180ms ease, color 180ms ease;
}

.text-link:hover,
.card-link:hover {
  gap: 12px;
}

.route-panel .text-link {
  grid-column: 1 / -1;
  width: max-content;
  margin-top: -14px;
  color: #eee8ea;
}

.knowledge-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.search-console {
  margin-bottom: 52px;
  padding: clamp(24px, 4vw, 42px);
  color: var(--deep-ink);
  background: var(--warm-paper);
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow: 0 28px 84px rgba(7, 5, 7, 0.28);
}

.search-console__intro {
  display: grid;
  max-width: 760px;
  gap: 8px;
}

.search-console .eyebrow {
  color: var(--wine-rich);
}

.search-console h3,
.knowledge-library-head h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2.6vw, 2.05rem);
  letter-spacing: -0.055em;
  line-height: 1.28;
}

.search-console__intro > p:last-child {
  margin: 0;
  color: #594e52;
  font-size: 0.92rem;
}

.search-box {
  display: flex;
  align-items: center;
  width: min(100%, 480px);
  min-height: 52px;
  gap: 12px;
  padding: 0 16px;
  color: var(--ink-soft);
  background: rgba(13, 11, 14, 0.56);
  border: 1px solid var(--line-dark);
  backdrop-filter: blur(18px);
}

.search-box--global {
  width: 100%;
  min-height: 64px;
  margin-top: 24px;
  padding-inline: 18px;
  color: var(--wine-rich);
  background: #fff;
  border: 1px solid rgba(61, 7, 22, 0.22);
  box-shadow: 0 10px 28px rgba(61, 7, 22, 0.08);
  backdrop-filter: none;
}

.search-box--global .icon {
  width: 21px;
  height: 21px;
}

.search-box--global input {
  color: var(--deep-ink);
  font-size: 0.96rem;
}

.search-box--global input::placeholder {
  color: #75686d;
}

.popular-searches {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.popular-searches span {
  margin-right: 4px;
  color: #75686d;
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.popular-searches button {
  min-height: 34px;
  padding: 0 12px;
  color: var(--wine-rich);
  background: transparent;
  border: 1px solid rgba(61, 7, 22, 0.18);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.popular-searches button:hover {
  color: #fff;
  background: var(--wine-rich);
  border-color: var(--wine-rich);
}

.search-results {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(61, 7, 22, 0.16);
}

.search-results__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  color: var(--wine);
  font-size: 0.78rem;
  font-weight: 700;
}

.search-results__head small {
  color: #75686d;
  font-weight: 500;
}

.search-results__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.search-result {
  display: flex;
  min-height: 176px;
  flex-direction: column;
  padding: 16px;
  background: #fff;
  border: 1px solid rgba(61, 7, 22, 0.12);
}

.search-result > span {
  color: var(--wine-rich);
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.search-result h4,
.search-results__empty h4 {
  margin: 8px 0 0;
  color: var(--deep-ink);
  font-size: 0.98rem;
  letter-spacing: -0.025em;
  line-height: 1.42;
}

.search-result p,
.search-results__empty > p:not(.eyebrow) {
  margin: 8px 0 14px;
  color: #75686d;
  font-size: 0.78rem;
  line-height: 1.6;
}

.search-result__action {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 7px;
  margin-top: auto;
  padding: 0;
  color: var(--wine-rich);
  background: transparent;
  border: 0;
  font-size: 0.76rem;
  font-weight: 800;
  text-align: left;
  transition: gap 180ms ease, color 180ms ease;
}

.search-result__action:hover {
  gap: 11px;
  color: var(--wine);
}

.search-results__empty {
  padding: 12px 0 2px;
}

.knowledge-library-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.knowledge-library-head > div {
  display: grid;
  gap: 5px;
}

.knowledge-library-head > p {
  max-width: 420px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
  text-align: right;
}

.knowledge-tools--library {
  justify-content: flex-end;
}

.search-box input {
  width: 100%;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
}

.search-box input::placeholder {
  color: var(--ink-soft);
  opacity: 0.76;
}

.filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filter-button {
  min-height: 38px;
  padding: 0 14px;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.filter-button:hover,
.filter-button.is-active {
  color: #fff;
  background: var(--wine-rich);
  border-color: var(--wine-soft);
}

.knowledge-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  color: var(--ink-soft);
  font-size: 0.74rem;
}

.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.knowledge-card {
  display: flex;
  flex-direction: column;
  min-height: 340px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.045);
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  transition: background-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
  backdrop-filter: blur(18px);
}

.knowledge-card:hover {
  z-index: 2;
  background: linear-gradient(145deg, rgba(92, 13, 33, 0.9), rgba(13, 11, 14, 0.96));
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.knowledge-card--feature {
  color: #f7f2ea;
  background:
    linear-gradient(145deg, rgba(92, 13, 33, 0.52), rgba(13, 11, 14, 0.98)),
    var(--deep-ink);
}

.knowledge-card--feature:hover {
  background:
    linear-gradient(145deg, rgba(92, 13, 33, 0.66), rgba(13, 11, 14, 0.98)),
    var(--deep-ink);
}

.knowledge-card--feature p {
  color: #d0c8cc;
}

.knowledge-card--feature .card-link {
  color: #ffffff;
}

.knowledge-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 34px;
}

.knowledge-card__top .icon {
  width: 25px;
  height: 25px;
  color: var(--accent);
}

.knowledge-card--feature .knowledge-card__top .icon {
  color: #eee8ea;
}

.card-index {
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.card-tag {
  margin: 0 0 10px;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.knowledge-card h3 {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  line-height: 1.35;
}

.knowledge-card > p:not(.card-tag) {
  margin: 14px 0 24px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.knowledge-card .card-link {
  margin-top: auto;
  padding: 0;
  background: transparent;
  border: 0;
}

.empty-state {
  padding: 52px 24px;
  color: var(--ink-soft);
  border: 1px solid var(--line-dark);
  text-align: center;
}

.empty-state .icon {
  width: 30px;
  height: 30px;
  color: var(--accent);
}

.empty-state h3 {
  margin: 12px 0 6px;
  color: var(--ink);
}

.empty-state p {
  margin: 0;
  font-size: 0.86rem;
}

.systems-layout {
  display: grid;
  grid-template-columns: minmax(290px, 0.72fr) minmax(0, 1.28fr);
  border: 1px solid var(--line-light);
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(18px);
}

.systems-nav {
  border-right: 1px solid var(--line-light);
}

.system-tab {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: 100%;
  min-height: 82px;
  gap: 16px;
  padding: 18px 20px;
  color: #bcb4b8;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-light);
  text-align: left;
  transition: color 180ms ease, background-color 180ms ease;
}

.system-tab:last-child {
  border-bottom: 0;
}

.system-tab span {
  color: #9b8e93;
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 800;
}

.system-tab:hover,
.system-tab.is-active {
  color: #f7f2ea;
  background: rgba(255, 255, 255, 0.07);
}

.system-tab.is-active span {
  color: #eee8ea;
}

.system-detail {
  padding: clamp(32px, 5vw, 60px);
}

.system-detail h3 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(1.65rem, 2.5vw, 2.5rem);
  letter-spacing: -0.055em;
  line-height: 1.26;
}

.system-detail > p:not(.eyebrow):not(.system-detail__note) {
  max-width: 680px;
  margin: 20px 0;
  color: #bcb4b8;
}

.system-detail ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 34px;
  padding: 0;
  list-style: none;
}

.system-detail li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ddd6d9;
  font-size: 0.9rem;
}

.system-detail li .icon {
  color: #eee8ea;
}

.system-detail__note {
  margin: 18px 0 0;
  color: #968b90;
  font-size: 0.72rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 32px;
}

.service-card {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  padding: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px);
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.service-card:hover {
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.service-card--primary {
  background:
    radial-gradient(circle at 86% 12%, rgba(255, 255, 255, 0.16), transparent 10rem),
    linear-gradient(145deg, rgba(92, 13, 33, 0.9), rgba(13, 11, 14, 0.78));
}

.service-card--directory {
  background:
    radial-gradient(circle at 15% 84%, rgba(127, 38, 62, 0.34), transparent 13rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(13, 11, 14, 0.78));
}

.service-card__icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 26px;
  place-items: center;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line-dark);
  border-radius: 50%;
}

.service-card__icon .icon {
  width: 20px;
  height: 20px;
}

.service-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.18rem;
  letter-spacing: -0.04em;
  line-height: 1.35;
}

.service-card p:not(.card-tag) {
  margin: 14px 0 22px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.service-card .text-link {
  align-self: flex-start;
  margin-top: auto;
  color: var(--ink);
  background: transparent;
  border: 0;
  text-align: left;
}

.service-card__note {
  margin-top: 12px;
  color: #a79da1;
  font-size: 0.7rem;
  line-height: 1.55;
}

.official-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 18px;
  padding: 24px;
  background: rgba(13, 11, 14, 0.72);
  border: 1px solid var(--line-dark);
  backdrop-filter: blur(18px);
}

.official-links h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.12rem;
}

.official-links__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.official-links__list a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  gap: 8px;
  padding: 0 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.official-links__list a:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
}

.official-links__list .platform-icon {
  width: 20px;
  height: 20px;
}

.about__grid {
  display: grid;
  grid-template-columns: minmax(340px, 0.84fr) minmax(0, 1.16fr);
  align-items: center;
  gap: 76px;
}

.about-media {
  position: relative;
  padding: 0 26px 26px 0;
}

.about-media::after {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
  width: 72%;
  height: 72%;
  background: var(--wine-rich);
  content: "";
}

.about-media {
  isolation: isolate;
  display: grid;
  min-height: 570px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(circle at 38% 34%, rgba(255, 255, 255, 0.12), transparent 13rem),
    radial-gradient(circle at 54% 54%, rgba(127, 38, 62, 0.55), rgba(61, 7, 22, 0.16) 46%, transparent 68%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(13, 11, 14, 0.58));
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(22px);
}

.about-media::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 11, 14, 0.04), rgba(13, 11, 14, 0.52)),
    linear-gradient(125deg, rgba(92, 13, 33, 0.16), transparent 58%);
  content: "";
  pointer-events: none;
}

.about-media__picture,
.about-media__picture img {
  display: block;
  width: 100%;
  height: 100%;
}

.about-media__picture {
  position: absolute;
  inset: 0;
}

.about-media__picture img {
  object-fit: cover;
  object-position: center 34%;
  filter: saturate(0.76) contrast(1.04) brightness(0.84);
}

.about-media__portrait {
  position: absolute;
  z-index: 2;
  top: 22px;
  right: 22px;
  width: 30%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 18px 46px rgba(7, 5, 7, 0.32);
  filter: saturate(0.82) contrast(1.02) brightness(0.9);
}

.about-media__label {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  max-width: 240px;
  padding: 18px;
  color: #f7f2ea;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(13, 11, 14, 0.72));
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.about-media__label span {
  display: block;
  margin-bottom: 7px;
  color: #eee8ea;
  font-family: var(--font-display);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.about-media__label strong {
  font-size: 0.86rem;
  line-height: 1.5;
}

.about-copy > p:not(.eyebrow) {
  color: var(--ink-soft);
}

.about-copy__lead {
  margin-top: 24px;
  color: var(--ink) !important;
  font-size: 1.05rem;
  font-weight: 600;
}

.about-copy blockquote {
  margin: 28px 0 0;
  padding: 22px;
  color: #f7f2ea;
  background: var(--deep-ink);
  border-left: 3px solid var(--wine-soft);
}

.about-copy blockquote span {
  color: #eee8ea;
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.about-copy blockquote p {
  margin: 8px 0 0;
  font-size: 1rem;
}

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

.fit-panel {
  padding: clamp(26px, 4vw, 40px);
  background: rgba(13, 11, 14, 0.58);
  border: 1px solid var(--line-dark);
  backdrop-filter: blur(18px);
}

.fit-panel--yes {
  border-top: 3px solid var(--action);
}

.fit-panel--no {
  border-top: 3px solid var(--wine-soft);
}

.fit-panel h3 {
  margin: 0;
  font-size: 1.24rem;
  letter-spacing: -0.03em;
}

.fit-panel ul {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.fit-panel li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.fit-panel--yes li .icon {
  color: var(--action);
}

.fit-panel--no li .icon {
  color: var(--wine-soft);
}

.fit-panel li .icon {
  margin-top: 4px;
}

.faq__grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1.08fr);
  align-items: start;
  gap: 80px;
}

.faq-list {
  border-top: 1px solid var(--line-dark);
}

.faq-item {
  border-bottom: 1px solid var(--line-dark);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
  padding: 21px 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  font-size: 0.96rem;
  font-weight: 600;
  text-align: left;
}

.faq-question .icon {
  color: var(--accent);
  transition: transform 180ms ease;
}

.faq-question[aria-expanded="true"] .icon {
  transform: rotate(180deg);
}

.faq-answer p {
  margin: -4px 0 22px;
  padding-right: 28px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.cta {
  padding: 72px 0;
  color: #f7f2ea;
  background:
    radial-gradient(circle at 82% 34%, rgba(127, 38, 62, 0.34), transparent 24rem),
    linear-gradient(115deg, rgba(61, 7, 22, 0.96), rgba(13, 11, 14, 0.92));
}

.cta__inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
}

.cta h2 {
  max-width: 800px;
  color: #f7f2ea;
}

.cta h2 span {
  color: #f7f2f3;
}

.cta p:last-child {
  max-width: 690px;
  margin: 18px 0 0;
  color: #bcb4b8;
}

.footer {
  padding: 52px 0 22px;
  color: #f7f2ea;
  background: #090709;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(150px, 0.55fr));
  gap: 48px;
}

.brand--footer {
  margin-bottom: 16px;
}

.footer__grid p {
  max-width: 440px;
  margin: 0;
  color: #968b90;
  font-size: 0.8rem;
}

.footer__label {
  margin-bottom: 12px !important;
  color: #f7f2ea !important;
  font-family: var(--font-display);
  font-size: 0.64rem !important;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer__grid a,
.footer__grid button {
  display: block;
  margin: 7px 0;
  padding: 0;
  color: #bcb4b8;
  background: transparent;
  border: 0;
  font-size: 0.8rem;
  transition: color 180ms ease;
}

.footer__grid a:hover,
.footer__grid button:hover {
  color: #f7f2ea;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  margin-top: 46px;
  padding-top: 16px;
  color: #81767b;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.67rem;
}

.footer__bottom p {
  margin: 0;
}

.modal-shell {
  position: fixed;
  z-index: 2000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 5, 7, 0.76);
  backdrop-filter: blur(8px);
}

.modal {
  position: relative;
  width: min(100%, 680px);
  max-height: min(86vh, 780px);
  overflow: auto;
  color: var(--ink);
  background: linear-gradient(145deg, rgba(92, 13, 33, 0.96), rgba(23, 7, 13, 0.94) 64%, rgba(13, 11, 14, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(24px);
}

.modal__close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line-dark);
  border-radius: 50%;
}

.modal__body {
  padding: clamp(28px, 5vw, 48px);
}

.modal__body h2 {
  max-width: 560px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  letter-spacing: -0.05em;
  line-height: 1.25;
}

.modal__lead {
  margin: 16px 0 24px;
  color: var(--ink-soft);
}

.modal__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 20px;
  background: rgba(13, 11, 14, 0.42);
  list-style: none;
}

.modal__list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.modal__list .icon {
  margin-top: 4px;
  color: var(--action);
}

.modal__note {
  margin: 20px 0 0;
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

@media (max-width: 1080px) {
  .nav-menu {
    gap: 16px;
  }

  .nav-menu > a {
    font-size: 0.74rem;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.62fr);
    gap: 44px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 5.25vw, 4.7rem);
  }

  .hero-visual {
    min-height: 570px;
  }

  .hero-visual__card--right {
    right: -10px;
  }

  .knowledge-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  :root {
    --container: min(100% - 32px, 720px);
  }

  .site-header {
    top: 36px;
  }

  .nav {
    min-height: 66px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: fixed;
    z-index: 1001;
    top: 102px;
    right: 16px;
    left: 16px;
    display: grid;
    gap: 0;
    padding: 10px;
    background: rgba(13, 11, 14, 0.98);
    border: 1px solid var(--line-light);
    box-shadow: var(--shadow-xl);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu > a {
    padding: 12px 10px;
    font-size: 0.88rem;
  }

  .nav-menu > a::after {
    display: none;
  }

  .nav-menu .button {
    width: 100%;
    margin-top: 8px;
  }

  .hero__grid {
    display: block;
    min-height: auto;
    padding-top: 180px;
    padding-bottom: 64px;
  }

  .hero__content {
    max-width: 680px;
  }

  .hero-visual {
    max-width: 520px;
    min-height: 480px;
    margin: 56px auto 0;
  }

  .manifesto__grid,
  .about__grid,
  .faq__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .manifesto__content {
    padding-left: 0;
    border-left: 0;
  }

  .section-intro--split {
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

  .path-card {
    min-height: 90px;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
  }

  .path-card:last-child {
    border-bottom: 0;
  }

  .route-panel {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 30px;
  }

  .route-panel .text-link {
    margin-top: 0;
  }

  .knowledge-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .knowledge-library-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .knowledge-library-head > p {
    text-align: left;
  }

  .search-box {
    width: 100%;
  }

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

  .systems-nav {
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .about-media {
    max-width: 570px;
  }

  .cta__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }

  .official-links {
    align-items: flex-start;
    flex-direction: column;
  }

  .official-links__list {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .truth-bar__inner {
    min-height: 44px;
    gap: 8px;
  }

  .truth-bar__inner p {
    font-size: 0.68rem;
    line-height: 1.45;
  }

  .truth-bar__label {
    display: none;
  }

  .site-header {
    top: 44px;
  }

  .nav-menu {
    top: 110px;
  }

  .brand__descriptor {
    display: none;
  }

  .section {
    padding-block: 76px;
  }

  .hero__grid {
    padding-top: 162px;
  }

  .hero h1 {
    font-size: clamp(2.3rem, 11vw, 3.35rem);
  }

  .hero__lead {
    font-size: 0.94rem;
  }

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

  .hero__actions .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 370px;
    margin-top: 42px;
  }

  .hero-visual__frame {
    top: 32px;
    left: 0;
  }

  .hero-visual__picture img {
    object-position: center 22%;
  }

  .hero-visual__topline {
    left: 0;
  }

  .hero-visual__card--left {
    left: -8px;
  }

  .hero-visual__card--right {
    display: none;
  }

  .hero-visual__corner {
    right: -8px;
  }

  .signal-strip__track {
    animation: none;
    transform: translateX(-24px);
  }

  .section-intro h2,
  .about-copy h2,
  .cta h2 {
    font-size: clamp(1.65rem, 7.3vw, 2.25rem);
    letter-spacing: -0.055em;
  }

  .manifesto__lead {
    font-size: 1.08rem;
  }

  .path-card {
    gap: 12px;
    padding: 16px;
  }

  .route-panel {
    padding: 24px 18px;
  }

  .filter-list {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .search-console {
    margin-bottom: 38px;
    padding: 20px;
  }

  .search-box--global {
    min-height: 58px;
    padding-inline: 14px;
  }

  .popular-searches span {
    width: 100%;
  }

  .search-results__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

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

  .filter-button {
    flex: 0 0 auto;
  }

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

  .knowledge-card {
    min-height: 300px;
  }

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

  .service-card {
    min-height: 280px;
  }

  .responsibility-grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .system-tab {
    min-height: 70px;
    padding: 14px;
    font-size: 0.86rem;
  }

  .system-detail {
    padding: 26px 18px;
  }

  .about-media {
    padding: 0 14px 14px 0;
  }

  .about-media__portrait {
    display: none;
  }

  .about-media__label {
    max-width: 210px;
    padding: 14px;
  }

  .footer__grid {
    gap: 24px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 8px;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Logo-wine international polish: richer brand depth, restrained motion, readable Thai. */
:root {
  --logo-wine-night: #090304;
  --logo-wine-deep: #1b0507;
  --logo-wine: #35070c;
  --logo-wine-rich: #570d18;
  --logo-wine-bright: #78182a;
  --logo-wine-glow: rgba(120, 24, 42, 0.52);
  --font-heading: "Noto Sans Thai", sans-serif;
  --font-editorial: "Manrope", "Noto Sans Thai", sans-serif;
  --canvas: linear-gradient(142deg, #35070c 0%, #1b0507 46%, #090304 100%);
  --canvas-soft: linear-gradient(138deg, #570d18 0%, #260608 54%, #0b0405 100%);
  --surface: linear-gradient(145deg, rgba(78, 15, 24, 0.48), rgba(8, 4, 5, 0.9));
  --surface-solid: #170608;
  --signal: var(--logo-wine-rich);
}

body {
  background:
    radial-gradient(circle at 12% 8%, rgba(120, 24, 42, 0.72), transparent 29rem),
    radial-gradient(circle at 88% 70%, rgba(65, 8, 16, 0.58), transparent 34rem),
    linear-gradient(142deg, #35070c 0%, #180507 52%, #090304 100%);
}

.hero {
  background:
    radial-gradient(circle at 80% 22%, rgba(240, 214, 192, 0.13), transparent 20rem),
    radial-gradient(circle at 14% 28%, rgba(120, 24, 42, 0.76), transparent 30rem),
    linear-gradient(124deg, #430911 0%, #1b0507 54%, #090304 100%);
}

.section--soft,
.channels,
.manifesto {
  background:
    radial-gradient(circle at 10% 15%, rgba(87, 13, 24, 0.2), transparent 24rem),
    #160607;
}

.section--ink,
.knowledge,
.about,
.faq {
  background:
    radial-gradient(circle at 84% 14%, rgba(87, 13, 24, 0.16), transparent 24rem),
    #0b0405;
}

.eyebrow,
.mini-label,
.brand-panel__footer,
.tool-feature__brand span,
.tool-category > span {
  font-family: var(--font-display);
  letter-spacing: 0.16em;
}

.brand__word,
.signal-strip__track span {
  font-family: var(--font-editorial);
  font-weight: 700;
  letter-spacing: 0.13em;
}

.hero h1,
.section-intro h2,
.ebook-panel h2,
.about-copy h2,
.cta h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.045em;
}

.quick-start-card,
.path-card,
.knowledge-card,
.service-card,
.search-console,
.ebook-panel,
.ebook-form fieldset,
.ebook-result,
.faq-item {
  border-color: rgba(240, 214, 192, 0.2);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.085), rgba(82, 14, 24, 0.15) 48%, rgba(8, 4, 5, 0.72));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 20px 52px rgba(3, 1, 2, 0.2);
  backdrop-filter: blur(24px) saturate(1.12);
  -webkit-backdrop-filter: blur(24px) saturate(1.12);
}

.quick-start-card,
.path-card,
.knowledge-card,
.service-card,
.ebook-form label,
.button,
.text-link,
.filter-button,
.popular-searches button {
  transition:
    color 220ms var(--ease),
    background-color 220ms var(--ease),
    background 220ms var(--ease),
    border-color 220ms var(--ease),
    box-shadow 220ms var(--ease),
    transform 220ms var(--ease);
}

.quick-start-card:hover,
.quick-start-card:focus-visible,
.path-card:hover,
.path-card:focus-visible,
.path-card.is-active,
.knowledge-card:hover,
.knowledge-card:focus-within,
.service-card:hover,
.service-card:focus-within {
  background:
    radial-gradient(circle at 86% 12%, rgba(240, 214, 192, 0.13), transparent 13rem),
    linear-gradient(145deg, rgba(120, 24, 42, 0.96), rgba(61, 7, 15, 0.9) 54%, rgba(10, 4, 5, 0.96));
  border-color: rgba(240, 214, 192, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 26px 68px rgba(24, 2, 6, 0.42);
  transform: translateY(-4px);
}

.button--primary {
  color: #1b0507;
  background: #fff8f1;
}

.button--primary:hover,
.button--primary:focus-visible,
.button--light:hover,
.button--light:focus-visible {
  color: #fff8f1;
  background: var(--logo-wine-rich);
  box-shadow: 0 16px 36px rgba(87, 13, 24, 0.38);
}

.button--ghost:hover,
.button--ghost:focus-visible,
.text-link:hover,
.text-link:focus-visible,
.filter-button:hover,
.popular-searches button:hover,
.popular-searches button.is-active {
  color: #fff8f1;
  background: rgba(120, 24, 42, 0.72);
  border-color: rgba(240, 214, 192, 0.42);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--bronze-pale);
  outline-offset: 4px;
}

.ebook {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 28%, rgba(120, 24, 42, 0.4), transparent 26rem),
    radial-gradient(circle at 86% 72%, rgba(189, 135, 100, 0.11), transparent 21rem),
    linear-gradient(135deg, #240609, #0b0405 72%);
}

.ebook::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(240, 214, 192, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 214, 192, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  content: "";
}

.ebook-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(230px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 6vw, 76px);
  padding: clamp(22px, 5vw, 64px);
  border: 1px solid rgba(240, 214, 192, 0.24);
  border-radius: 22px;
}

.ebook-panel__media {
  display: grid;
  gap: 22px;
  align-content: start;
  align-self: start;
  margin: 0;
}

.ebook-panel__media img {
  width: 100%;
  border: 1px solid rgba(240, 214, 192, 0.25);
  box-shadow: 0 28px 74px rgba(0, 0, 0, 0.52);
}

.ebook-panel__media figcaption {
  margin-top: 14px;
  color: var(--bronze-soft);
  font-family: var(--font-display);
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.ebook-book__desktop-note {
  width: min(100%, 340px);
  margin-inline: auto;
  padding: 18px;
  color: var(--ink-soft);
  background:
    radial-gradient(circle at 88% 0%, rgba(240, 214, 192, 0.12), transparent 9rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(62, 7, 14, 0.5) 58%, rgba(8, 3, 4, 0.7));
  border: 1px solid rgba(240, 214, 192, 0.2);
  border-radius: 16px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 18px 42px rgba(3, 1, 2, 0.18);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
}

.ebook-book__desktop-note p {
  margin: 0 0 12px;
  color: var(--bronze-pale);
  font-family: var(--font-display);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ebook-book__desktop-note ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.ebook-book__desktop-note li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  min-height: 42px;
  padding: 10px 0;
  border-top: 1px solid rgba(240, 214, 192, 0.12);
}

.ebook-book__desktop-note li:first-child {
  border-top: 0;
}

.ebook-book__desktop-note span {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #fff8f1;
  background: rgba(120, 24, 42, 0.58);
  border: 1px solid rgba(240, 214, 192, 0.22);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.ebook-book__desktop-note strong {
  color: rgba(255, 248, 241, 0.88);
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.45;
}

.ebook-panel h2 {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.12;
}

.ebook-panel h2 span {
  color: var(--bronze-soft);
}

.ebook-panel__lead {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--ink-soft);
}

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

.ebook-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 15px;
  background: rgba(7, 3, 4, 0.56);
  border: 1px solid rgba(240, 214, 192, 0.14);
}

.ebook-steps span {
  color: var(--bronze-soft);
  font-family: var(--font-display);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.ebook-steps p,
.ebook-steps small {
  display: block;
  margin: 0;
}

.ebook-steps small {
  margin-top: 3px;
  color: var(--ink-soft);
}

.ebook-form {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.ebook-form fieldset {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(240, 214, 192, 0.16);
  border-radius: 14px;
}

.ebook-form legend {
  padding-inline: 6px;
  color: var(--bronze-soft);
  font-size: 0.76rem;
  font-weight: 700;
}

.ebook-form label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
}

.ebook-form label:hover,
.ebook-form label:has(input:checked) {
  color: var(--ink);
  background: rgba(120, 24, 42, 0.45);
  border-color: rgba(240, 214, 192, 0.24);
}

.ebook-form input {
  flex: 0 0 auto;
  margin-top: 5px;
  accent-color: var(--logo-wine-bright);
}

.ebook-form .button {
  justify-self: start;
  margin-top: 8px;
}

.ebook-result {
  margin-top: 20px;
  padding: 20px;
  scroll-margin-top: 132px;
  border: 1px solid rgba(240, 214, 192, 0.27);
  border-radius: 16px;
}

.ebook-result h3 {
  margin: 5px 0 0;
  color: var(--ink);
}

.ebook-result p {
  color: var(--ink-soft);
}

.ebook-result small {
  display: block;
  margin-top: 14px;
  color: var(--ink-soft);
}

.ebook-keyword {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.ebook-keyword code {
  padding: 8px 12px;
  color: var(--bronze-pale);
  background: #090304;
  border: 1px solid rgba(240, 214, 192, 0.24);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.ebook-keyword button {
  min-height: 42px;
  padding: 8px 12px;
  color: var(--ink);
  background: rgba(120, 24, 42, 0.4);
  border: 1px solid rgba(240, 214, 192, 0.24);
  border-radius: 999px;
}

.ebook-form__text-label {
  display: grid !important;
  gap: 12px;
}

.ebook-form textarea {
  width: 100%;
  min-height: 112px;
  padding: 14px 16px;
  resize: vertical;
  color: var(--paper);
  background: rgba(8, 3, 4, 0.42);
  border: 1px solid rgba(240, 214, 192, 0.2);
  border-radius: 4px;
  font: inherit;
  line-height: 1.7;
}

.ebook-form textarea::placeholder {
  color: rgba(255, 248, 241, 0.52);
}

.ebook-form textarea:focus {
  outline: 2px solid rgba(224, 174, 137, 0.72);
  outline-offset: 2px;
  border-color: rgba(240, 214, 192, 0.46);
}

.ebook-line-message {
  margin: 18px 0;
  padding: 16px;
  overflow-x: auto;
  color: rgba(255, 248, 241, 0.92);
  white-space: pre-wrap;
  background: rgba(8, 3, 4, 0.56);
  border: 1px solid rgba(240, 214, 192, 0.2);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.75;
}

.service-card--ebook {
  background:
    radial-gradient(circle at 86% 12%, rgba(240, 214, 192, 0.14), transparent 13rem),
    linear-gradient(145deg, rgba(120, 24, 42, 0.46), rgba(8, 4, 5, 0.8));
}

@media (max-width: 760px) {
  body {
    background:
      radial-gradient(circle at 16% 7%, rgba(120, 24, 42, 0.84), transparent 22rem),
      radial-gradient(circle at 88% 62%, rgba(65, 8, 16, 0.66), transparent 26rem),
      linear-gradient(155deg, #3a070d 0%, #180507 52%, #090304 100%);
  }

  .hero {
    background:
      radial-gradient(circle at 54% 14%, rgba(120, 24, 42, 0.88), transparent 24rem),
      linear-gradient(155deg, #430911 0%, #1b0507 56%, #090304 100%);
  }

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

  .ebook-panel__media {
    width: min(72%, 290px);
    justify-self: center;
  }

  .ebook-book__desktop-note {
    display: none;
  }

  .quick-start-card:active,
  .path-card:active,
  .knowledge-card:active,
  .service-card:active {
    background:
      radial-gradient(circle at 86% 12%, rgba(240, 214, 192, 0.13), transparent 13rem),
      linear-gradient(145deg, rgba(120, 24, 42, 0.96), rgba(61, 7, 15, 0.9) 54%, rgba(10, 4, 5, 0.96));
    border-color: rgba(240, 214, 192, 0.5);
  }
}

/* Final broker layout override. Keep this at the end so desktop never returns to an uneven 2-column card row. */
.decision-grid {
  grid-template-columns: 1fr;
  align-items: start;
  gap: clamp(18px, 2.6vw, 28px);
}

.decision-card--broker,
.decision-card--class {
  width: 100%;
}

.broker-account-grid,
.capital-plan-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 178px), 1fr));
}

.broker-accounts-panel {
  padding-bottom: 16px;
}

.broker-accounts-note {
  margin: 0 0 14px;
  color: rgba(255, 244, 232, 0.72);
  font-size: 0.76rem;
  line-height: 1.65;
}

.capital-plan-grid article,
.broker-account-grid article {
  min-width: 0;
}

.capital-plan-grid strong {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.55vw, 1.42rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
  white-space: nowrap;
}

@media (min-width: 980px) {
  .decision-card--broker .broker-facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .decision-card--broker .broker-trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .decision-card--broker .decision-pros-cons,
  .decision-card--class .decision-pros-cons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Responsive layout framework: one predictable system for the long-form sections. */
.ebook-panel,
.ebook-panel__media,
.ebook-panel__content,
.ebook-panel__form-area,
.tool-catalog-panel,
.tool-choice-layout,
.tool-choice-list,
.tool-choice-preview,
.tool-choice-preview__body {
  min-width: 0;
}

.ebook-panel {
  grid-template-columns: 1fr;
  align-items: start;
  gap: clamp(24px, 4vw, 48px);
}

.ebook-panel__media {
  width: min(74vw, 250px);
  justify-self: center;
}

.ebook-panel__content {
  align-self: start;
}

.ebook-panel__form-area {
  display: grid;
  grid-column: 1 / -1;
  gap: 20px;
  width: 100%;
  padding-top: clamp(24px, 4vw, 42px);
  border-top: 1px solid rgba(240, 214, 192, 0.16);
}

.ebook-form {
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 0;
}

.ebook-form fieldset {
  min-width: 0;
  height: 100%;
  align-content: start;
}

.ebook-form__text-label {
  grid-template-rows: auto minmax(128px, 1fr);
  height: 100%;
}

.ebook-form textarea {
  height: 100%;
}

.ebook-form > .button {
  width: 100%;
  min-height: 48px;
  justify-content: center;
}

.ebook-result {
  margin-top: 0;
}

.tool-choice-layout {
  grid-template-columns: 1fr;
  gap: clamp(14px, 2vw, 20px);
}

.tool-choice-list {
  grid-template-columns: 1fr;
  align-items: stretch;
}

.tool-choice {
  grid-template-columns: auto minmax(0, 1fr);
  align-content: center;
  height: 100%;
  min-height: 96px;
}

.tool-choice em {
  grid-column: 2;
  max-width: none;
  text-align: left;
}

.tool-choice-preview {
  position: static !important;
  grid-template-columns: 1fr;
  min-height: 0;
}

.tool-choice-preview__media,
.tool-choice-preview__media img {
  min-height: 0;
}

.tool-choice-preview__media {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  padding: clamp(12px, 2vw, 20px);
}

.tool-choice-preview__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

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

@media (min-width: 520px) {
  .tool-plan-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 700px) {
  .ebook-panel {
    grid-template-columns: minmax(230px, 0.72fr) minmax(0, 1.28fr);
  }

  .ebook-panel__media {
    width: 100%;
  }

  .ebook-book {
    width: min(100%, 280px);
  }

  .ebook-book__desktop-note {
    display: none;
  }

  .ebook-book__desktop-summary {
    display: block;
  }

  .ebook-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .ebook-form > .button {
    grid-column: 1 / -1;
    width: auto;
    justify-self: start;
    padding-inline: 24px;
  }

  .tool-choice-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tool-choice {
    min-height: 112px;
  }
}

@media (min-width: 900px) {
  .tool-choice-preview {
    grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
    align-items: stretch;
  }

  .tool-choice-preview__media {
    aspect-ratio: auto;
    min-height: 100%;
  }
}

@media (min-width: 1100px) {
  .ebook-panel {
    grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  }

  .ebook-book {
    width: min(100%, 320px);
  }

  .ebook-book__desktop-note {
    display: block;
  }

  .tool-choice-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tool-choice {
    min-height: 118px;
  }

  .tool-choice-preview {
    grid-template-columns: minmax(0, 0.94fr) minmax(440px, 1.06fr);
  }
}

@media (max-width: 699px) {
  .ebook-panel {
    padding: 18px;
  }

  .ebook-panel h2 {
    font-size: clamp(1.9rem, 9vw, 2.55rem);
  }

  .ebook-book__desktop-note,
  .ebook-book__desktop-summary {
    display: none;
  }

  .ebook-form fieldset {
    padding: 14px;
  }

  .ebook-form label {
    min-height: 48px;
  }

  .tool-catalog-panel {
    padding: 18px;
  }

  .tool-choice-preview__body {
    padding: 18px;
  }
}

/* Final compact-flow lock. Keep at true end so older layout overrides cannot win. */
@media (min-width: 900px) {
  .ebook-panel {
    grid-template-columns: minmax(310px, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(30px, 4.5vw, 58px);
  }
}

.ebook-book__desktop-summary {
  width: min(100%, 390px);
  margin-inline: auto;
  padding: 18px 20px;
  color: rgba(255, 248, 242, 0.74);
  background:
    radial-gradient(circle at 14% 0%, rgba(240, 214, 192, 0.12), transparent 11rem),
    linear-gradient(145deg, rgba(9, 7, 8, 0.78), rgba(72, 13, 22, 0.38));
  border: 1px solid rgba(240, 214, 192, 0.18);
  border-radius: 18px;
}

.tool-choice-layout {
  align-items: start;
}

.tool-choice-preview {
  scroll-margin-top: 96px;
}

@media (min-width: 861px) {
  .tool-choice-preview {
    position: sticky;
    top: 92px;
  }
}

.tool-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.tool-plan-grid span {
  min-width: 0;
  padding: 12px 10px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(240, 214, 192, 0.13);
  border-radius: 12px;
}

.tool-plan-grid span.is-recommended {
  background:
    radial-gradient(circle at 88% 0%, rgba(240, 214, 192, 0.12), transparent 8rem),
    rgba(112, 22, 38, 0.46);
  border-color: rgba(240, 214, 192, 0.36);
}

.tool-plan-grid small,
.tool-plan-grid strong {
  display: block;
}

.tool-plan-grid small {
  color: rgba(255, 248, 242, 0.58);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.tool-plan-grid strong {
  margin-top: 4px;
  color: #fff8f2;
  font-family: var(--font-display);
  font-size: clamp(0.86rem, 1.35vw, 1.05rem);
  line-height: 1.25;
}

.tool-choice-preview__recommendation {
  padding: 13px 15px;
  color: #fff8f2 !important;
  background: linear-gradient(145deg, rgba(120, 24, 42, 0.58), rgba(7, 5, 6, 0.62));
  border: 1px solid rgba(240, 214, 192, 0.2);
  border-radius: 14px;
  font-weight: 700;
}

details.broker-trust-panel,
details.capital-plan {
  padding: 0 18px;
}

details.broker-trust-panel summary,
details.capital-plan summary {
  min-height: 58px;
  margin-inline: -18px;
  padding-inline: 18px;
}

details.broker-trust-panel[open],
details.capital-plan[open] {
  padding-bottom: 18px;
}

.decision-card h3 span {
  color: var(--bronze-pale);
}

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

.service-card {
  min-height: 260px;
}

@media (max-width: 760px) {
  .ebook-book__desktop-summary {
    display: none;
  }

  .tool-choice-preview__media,
  .tool-choice-preview__media img {
    min-height: 170px;
  }

  .tool-plan-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tool-plan-grid span {
    padding: 10px 7px;
  }

  .tool-plan-grid small {
    font-size: 0.55rem;
    letter-spacing: 0.03em;
  }

  .tool-plan-grid strong {
    font-size: 0.78rem;
  }

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

  .service-card {
    min-height: 0;
  }
}

/* Final compact-flow lock. Keep at true end so older layout overrides cannot win. */
@media (min-width: 900px) {
  .ebook-panel {
    grid-template-columns: minmax(310px, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(30px, 4.5vw, 58px);
  }
}

.ebook-book__desktop-summary {
  width: min(100%, 390px);
  margin-inline: auto;
  padding: 18px 20px;
  color: rgba(255, 248, 242, 0.74);
  background:
    radial-gradient(circle at 14% 0%, rgba(240, 214, 192, 0.12), transparent 11rem),
    linear-gradient(145deg, rgba(9, 7, 8, 0.78), rgba(72, 13, 22, 0.38));
  border: 1px solid rgba(240, 214, 192, 0.18);
  border-radius: 18px;
}

.tool-choice-layout {
  align-items: start;
}

.tool-choice-preview {
  scroll-margin-top: 96px;
}

@media (min-width: 861px) {
  .tool-choice-preview {
    position: sticky;
    top: 92px;
  }
}

.tool-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.tool-plan-grid span {
  min-width: 0;
  padding: 12px 10px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(240, 214, 192, 0.13);
  border-radius: 12px;
}

.tool-plan-grid span.is-recommended {
  background:
    radial-gradient(circle at 88% 0%, rgba(240, 214, 192, 0.12), transparent 8rem),
    rgba(112, 22, 38, 0.46);
  border-color: rgba(240, 214, 192, 0.36);
}

.tool-plan-grid small,
.tool-plan-grid strong {
  display: block;
}

.tool-plan-grid small {
  color: rgba(255, 248, 242, 0.58);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.tool-plan-grid strong {
  margin-top: 4px;
  color: #fff8f2;
  font-family: var(--font-display);
  font-size: clamp(0.86rem, 1.35vw, 1.05rem);
  line-height: 1.25;
}

.tool-choice-preview__recommendation {
  padding: 13px 15px;
  color: #fff8f2 !important;
  background: linear-gradient(145deg, rgba(120, 24, 42, 0.58), rgba(7, 5, 6, 0.62));
  border: 1px solid rgba(240, 214, 192, 0.2);
  border-radius: 14px;
  font-weight: 700;
}

details.broker-trust-panel,
details.capital-plan {
  padding: 0 18px;
}

details.broker-trust-panel summary,
details.capital-plan summary {
  min-height: 58px;
  margin-inline: -18px;
  padding-inline: 18px;
}

details.broker-trust-panel[open],
details.capital-plan[open] {
  padding-bottom: 18px;
}

.decision-card h3 span {
  color: var(--bronze-pale);
}

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

.service-card {
  min-height: 260px;
}

@media (max-width: 760px) {
  .ebook-book__desktop-summary {
    display: none;
  }

  .tool-choice-preview__media,
  .tool-choice-preview__media img {
    min-height: 170px;
  }

  .tool-plan-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tool-plan-grid span {
    padding: 10px 7px;
  }

  .tool-plan-grid small {
    font-size: 0.55rem;
    letter-spacing: 0.03em;
  }

  .tool-plan-grid strong {
    font-size: 0.78rem;
  }

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

  .service-card {
    min-height: 0;
  }
}

/* Final compact-flow lock. Keep at true end so older layout overrides cannot win. */
@media (min-width: 900px) {
  .ebook-panel {
    grid-template-columns: minmax(310px, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(30px, 4.5vw, 58px);
  }
}

.ebook-book__desktop-summary {
  width: min(100%, 390px);
  margin-inline: auto;
  padding: 18px 20px;
  color: rgba(255, 248, 242, 0.74);
  background:
    radial-gradient(circle at 14% 0%, rgba(240, 214, 192, 0.12), transparent 11rem),
    linear-gradient(145deg, rgba(9, 7, 8, 0.78), rgba(72, 13, 22, 0.38));
  border: 1px solid rgba(240, 214, 192, 0.18);
  border-radius: 18px;
}

.tool-choice-layout {
  align-items: start;
}

.tool-choice-preview {
  scroll-margin-top: 96px;
}

@media (min-width: 861px) {
  .tool-choice-preview {
    position: sticky;
    top: 92px;
  }
}

.tool-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.tool-plan-grid span {
  min-width: 0;
  padding: 12px 10px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(240, 214, 192, 0.13);
  border-radius: 12px;
}

.tool-plan-grid span.is-recommended {
  background:
    radial-gradient(circle at 88% 0%, rgba(240, 214, 192, 0.12), transparent 8rem),
    rgba(112, 22, 38, 0.46);
  border-color: rgba(240, 214, 192, 0.36);
}

.tool-plan-grid small,
.tool-plan-grid strong {
  display: block;
}

.tool-plan-grid small {
  color: rgba(255, 248, 242, 0.58);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.tool-plan-grid strong {
  margin-top: 4px;
  color: #fff8f2;
  font-family: var(--font-display);
  font-size: clamp(0.86rem, 1.35vw, 1.05rem);
  line-height: 1.25;
}

.tool-choice-preview__recommendation {
  padding: 13px 15px;
  color: #fff8f2 !important;
  background: linear-gradient(145deg, rgba(120, 24, 42, 0.58), rgba(7, 5, 6, 0.62));
  border: 1px solid rgba(240, 214, 192, 0.2);
  border-radius: 14px;
  font-weight: 700;
}

details.broker-trust-panel,
details.capital-plan {
  padding: 0 18px;
}

details.broker-trust-panel summary,
details.capital-plan summary {
  min-height: 58px;
  margin-inline: -18px;
  padding-inline: 18px;
}

details.broker-trust-panel[open],
details.capital-plan[open] {
  padding-bottom: 18px;
}

.decision-card h3 span {
  color: var(--bronze-pale);
}

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

.service-card {
  min-height: 260px;
}

@media (max-width: 760px) {
  .ebook-book__desktop-summary {
    display: none;
  }

  .tool-choice-preview__media,
  .tool-choice-preview__media img {
    min-height: 170px;
  }

  .tool-plan-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tool-plan-grid span {
    padding: 10px 7px;
  }

  .tool-plan-grid small {
    font-size: 0.55rem;
    letter-spacing: 0.03em;
  }

  .tool-plan-grid strong {
    font-size: 0.78rem;
  }

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

  .service-card {
    min-height: 0;
  }
}

/* Compact flow refinements: keep first view scannable, then reveal details on demand. */
@media (min-width: 900px) {
  .ebook-panel {
    grid-template-columns: minmax(310px, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(30px, 4.5vw, 58px);
  }

  .ebook-panel__media {
    align-content: stretch;
  }
}

.ebook-book__desktop-summary {
  width: min(100%, 390px);
  margin-inline: auto;
  padding: 18px 20px;
  color: rgba(255, 248, 242, 0.74);
  background:
    radial-gradient(circle at 14% 0%, rgba(240, 214, 192, 0.12), transparent 11rem),
    linear-gradient(145deg, rgba(9, 7, 8, 0.78), rgba(72, 13, 22, 0.38));
  border: 1px solid rgba(240, 214, 192, 0.18);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.ebook-book__desktop-summary span {
  display: block;
  color: var(--bronze-pale);
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.ebook-book__desktop-summary strong {
  display: block;
  margin-top: 8px;
  color: #fff8f2;
  font-size: clamp(1.05rem, 1.35vw, 1.28rem);
  line-height: 1.45;
}

.ebook-book__desktop-summary p {
  margin: 8px 0 0;
  color: rgba(255, 248, 242, 0.66);
  font-size: 0.78rem;
  line-height: 1.7;
}

.tool-choice-layout {
  align-items: start;
}

.tool-choice {
  min-height: 74px;
  padding: 13px 15px;
}

.tool-choice-preview {
  scroll-margin-top: 96px;
}

@media (min-width: 861px) {
  .tool-choice-preview {
    position: sticky;
    top: 92px;
  }
}

.tool-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.tool-plan-grid span {
  min-width: 0;
  padding: 12px 10px;
  color: rgba(255, 248, 242, 0.68);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(240, 214, 192, 0.13);
  border-radius: 12px;
}

.tool-plan-grid span.is-recommended {
  background:
    radial-gradient(circle at 88% 0%, rgba(240, 214, 192, 0.12), transparent 8rem),
    rgba(112, 22, 38, 0.46);
  border-color: rgba(240, 214, 192, 0.36);
}

.tool-plan-grid small,
.tool-plan-grid strong {
  display: block;
}

.tool-plan-grid small {
  color: rgba(255, 248, 242, 0.58);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.tool-plan-grid strong {
  margin-top: 4px;
  color: #fff8f2;
  font-family: var(--font-display);
  font-size: clamp(0.86rem, 1.35vw, 1.05rem);
  line-height: 1.25;
}

.tool-choice-preview__recommendation {
  padding: 13px 15px;
  color: #fff8f2 !important;
  background:
    linear-gradient(145deg, rgba(120, 24, 42, 0.58), rgba(7, 5, 6, 0.62));
  border: 1px solid rgba(240, 214, 192, 0.2);
  border-radius: 14px;
  font-weight: 700;
}

.tool-choice-preview h4 {
  font-size: clamp(1.14rem, 2vw, 1.62rem);
}

.tool-choice-preview p {
  line-height: 1.64;
}

.decision-card h3 span {
  color: var(--bronze-pale);
}

details.broker-trust-panel,
details.capital-plan {
  padding: 0 18px;
}

details.broker-trust-panel summary,
details.capital-plan summary {
  min-height: 58px;
  margin-inline: -18px;
  padding-inline: 18px;
}

details.broker-trust-panel[open],
details.capital-plan[open] {
  padding-bottom: 18px;
}

.capital-plan > .decision-pros-cons__label {
  margin-top: 0;
}

.decision-pros-panel .decision-pros-cons {
  padding-bottom: 16px;
}

.decision-pros-panel .decision-pros-cons li {
  font-size: 0.78rem;
}

.broker-facts {
  margin-top: 16px;
}

.standard-note p {
  max-width: 78ch;
}

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

.service-card {
  min-height: 260px;
}

.service-card h3 {
  font-size: clamp(1.06rem, 1.55vw, 1.24rem);
}

.service-card p:not(.card-tag) {
  line-height: 1.72;
}

@media (max-width: 760px) {
  .ebook-book__desktop-summary {
    display: none;
  }

  .tool-choice-preview__media,
  .tool-choice-preview__media img {
    min-height: 170px;
  }

  .tool-choice-preview__body {
    gap: 10px;
    padding: 18px;
  }

  .tool-plan-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tool-plan-grid span {
    padding: 10px 7px;
  }

  .tool-plan-grid small {
    font-size: 0.55rem;
    letter-spacing: 0.03em;
  }

  .tool-plan-grid strong {
    font-size: 0.78rem;
  }

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

  .service-card {
    min-height: 0;
  }
}

@media (max-width: 420px) {
  .tool-plan-grid strong {
    font-size: 0.72rem;
  }
}

/* Final broker layout override. Keep this at the end so desktop never returns to an uneven 2-column card row. */
.decision-grid {
  grid-template-columns: 1fr;
  align-items: start;
  gap: clamp(18px, 2.6vw, 28px);
}

.decision-card--broker,
.decision-card--class {
  width: 100%;
}

.broker-account-grid,
.capital-plan-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 178px), 1fr));
}

.broker-accounts-panel {
  padding-bottom: 16px;
}

.broker-accounts-note {
  margin: 0 0 14px;
  color: rgba(255, 244, 232, 0.72);
  font-size: 0.76rem;
  line-height: 1.65;
}

.capital-plan-grid article,
.broker-account-grid article {
  min-width: 0;
}

.capital-plan-grid strong {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.55vw, 1.42rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
  white-space: nowrap;
}

@media (min-width: 980px) {
  .decision-card--broker .broker-facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .decision-card--broker .broker-trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .decision-card--broker .decision-pros-cons,
  .decision-card--class .decision-pros-cons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Broker section final layout pass: remove desktop column imbalance and keep large numbers inside cards. */
.decision-grid {
  grid-template-columns: 1fr;
  align-items: start;
  gap: clamp(18px, 2.6vw, 28px);
}

.decision-card--broker,
.decision-card--class {
  width: 100%;
}

.broker-account-grid,
.capital-plan-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 178px), 1fr));
}

.broker-accounts-panel {
  padding-bottom: 16px;
}

.broker-accounts-note {
  margin: 0 0 14px;
  color: rgba(255, 244, 232, 0.72);
  font-size: 0.76rem;
  line-height: 1.65;
}

.capital-plan-grid article,
.broker-account-grid article {
  min-width: 0;
}

.capital-plan-grid strong {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.55vw, 1.42rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
  white-space: nowrap;
}

@media (min-width: 980px) {
  .decision-card--broker .broker-facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .decision-card--broker .broker-trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .decision-card--broker .decision-pros-cons,
  .decision-card--class .decision-pros-cons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Final responsive overrides for the latest broker/mobile pass. */
@media (min-width: 621px) {
  .signal-strip__group {
    min-width: 100vw;
    justify-content: space-around;
  }

  .signal-strip__track {
    animation-duration: 34s;
  }
}

@media (max-width: 900px) {
  .capital-plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .hero__grid {
    padding-top: 118px !important;
    padding-bottom: 46px;
  }

  .hero h1 {
    font-size: clamp(2.18rem, 10.4vw, 3rem);
    line-height: 0.98;
  }

  .hero__lead {
    margin-top: 18px;
  }

  .signal-strip__group {
    min-width: max-content;
  }

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

  .capital-plan-grid span {
    min-height: auto;
  }
}

@media (max-width: 430px) {
  .hero__grid {
    padding-top: 108px !important;
  }
}

/* Iris intro, balanced bento entry points, and calmer interactive surfaces. */
.iris-entry {
  position: relative;
  padding-block: clamp(34px, 4vw, 54px);
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 12%, rgba(120, 24, 42, 0.2), transparent 22rem),
    linear-gradient(180deg, rgba(14, 11, 12, 0.96), rgba(27, 16, 18, 0.9));
  border-bottom: 1px solid rgba(240, 214, 192, 0.1);
}

.iris-entry__panel {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: 22px 42px;
  padding: clamp(22px, 3vw, 34px);
  background:
    radial-gradient(circle at 92% 8%, rgba(240, 214, 192, 0.1), transparent 17rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.105), rgba(91, 24, 33, 0.12) 48%, rgba(10, 8, 9, 0.68));
  border: 1px solid rgba(240, 214, 192, 0.24);
  border-radius: 22px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 26px 70px rgba(4, 3, 4, 0.25);
  backdrop-filter: blur(24px) saturate(1.1);
  -webkit-backdrop-filter: blur(24px) saturate(1.1);
}

.iris-entry__headline h2 {
  max-width: 760px;
  margin: 12px 0 0;
  color: #fff8f2;
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.9rem);
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.iris-entry__headline h2 span {
  color: var(--bronze-pale);
}

.iris-entry__copy {
  align-self: center;
}

.iris-entry__copy p {
  max-width: 62ch;
  margin: 0 0 17px;
  color: rgba(255, 248, 242, 0.76);
  font-size: 0.98rem;
  line-height: 1.82;
}

.iris-entry__principles {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(240, 214, 192, 0.13);
}

.iris-entry__principles span {
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 17px 16px 2px 0;
  color: rgba(255, 248, 242, 0.76);
  font-size: 0.82rem;
  font-weight: 700;
}

.iris-entry__principles strong {
  color: var(--bronze-soft);
  font-family: var(--font-display);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
}

.quick-start-grid.quick-start-grid--bento {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.quick-start-grid--bento .quick-start-card {
  grid-column: span 2;
  min-height: 216px;
}

.quick-start-grid--bento .quick-start-card:nth-child(n + 4) {
  grid-column: span 3;
  min-height: 194px;
}

.quick-start-card {
  overflow: hidden;
}

.quick-start-card::after {
  position: absolute;
  right: 20px;
  bottom: 18px;
  color: rgba(240, 214, 192, 0.52);
  content: "OPEN PATH  \2192";
  font-family: var(--font-display);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  opacity: 0;
  transform: translateX(-7px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.quick-start-card:hover::after,
.quick-start-card:focus-visible::after {
  opacity: 1;
  transform: translateX(0);
}

.clear-flow-card,
.registration-card,
.decision-card,
.decision-disclosure,
.broker-facts > div,
.broker-account-grid article,
.decision-pros-cons > div,
.class-price,
.fit-panel,
.faq-item,
.official-links,
.search-console,
.registration-steps li {
  transition:
    background-color 200ms ease,
    background 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease,
    transform 200ms ease;
}

.decision-disclosure[open],
.faq-item:focus-within,
.search-console:focus-within,
.registration-card:focus-within,
.official-links:focus-within {
  border-color: rgba(240, 214, 192, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 22px 58px rgba(24, 2, 6, 0.3);
}

.decision-disclosure[open] {
  background: rgba(53, 10, 17, 0.46);
}

.quick-start-card:focus-visible,
.path-card:focus-visible,
.knowledge-card:focus-within,
.service-card:focus-within,
.faq-item:focus-within,
.decision-card:focus-within,
.registration-card:focus-within,
.official-links:focus-within,
.guide-gallery__item:focus-visible {
  outline: 2px solid rgba(240, 214, 192, 0.7);
  outline-offset: 3px;
}

.footer__safety-link {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: rgba(240, 214, 192, 0.84);
  font-size: 0.7rem;
  line-height: 1.55;
}

.footer__safety-link .icon {
  width: 14px;
  height: 14px;
}

.signal-strip {
  overflow: hidden;
}

.hero-visual__mobile {
  display: none;
}

@media (hover: hover) {
  .decision-card:hover,
  .clear-flow-card:hover,
  .registration-card:hover,
  .fit-panel:hover,
  .faq-item:hover,
  .official-links:hover,
  .search-console:hover {
    background:
      radial-gradient(circle at 88% 12%, rgba(240, 214, 192, 0.1), transparent 14rem),
      linear-gradient(145deg, rgba(78, 18, 29, 0.58), rgba(24, 14, 16, 0.76) 58%, rgba(8, 7, 8, 0.9));
    border-color: rgba(240, 214, 192, 0.36);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.14),
      0 24px 62px rgba(13, 2, 4, 0.34);
  }

  .broker-facts > div:hover,
  .broker-account-grid article:hover,
  .decision-pros-cons > div:hover,
  .class-price:hover,
  .registration-steps li:hover {
    background: rgba(72, 14, 24, 0.4);
    border-color: rgba(240, 214, 192, 0.3);
  }
}

@media (max-width: 1080px) {
  .iris-entry__panel {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.9fr);
  }

  .quick-start-grid.quick-start-grid--bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-start-grid--bento .quick-start-card,
  .quick-start-grid--bento .quick-start-card:nth-child(n + 4) {
    grid-column: span 1;
    min-height: 192px;
  }

  .quick-start-grid--bento .quick-start-card--anchor {
    grid-column: 1 / -1;
    min-height: 178px;
  }
}

@media (max-width: 760px) {
  .decision-card:active,
  .clear-flow-card:active,
  .registration-card:active,
  .fit-panel:active,
  .faq-item:active,
  .official-links:active,
  .broker-facts > div:active,
  .broker-account-grid article:active,
  .decision-pros-cons > div:active,
  .class-price:active,
  .registration-steps li:active {
    border-color: rgba(240, 214, 192, 0.4);
    background-color: rgba(72, 14, 24, 0.42);
  }
}

@media (max-width: 620px) {
  .hero-visual {
    display: none;
  }

  .hero-visual__mobile {
    display: block;
    aspect-ratio: 1.3 / 1;
    margin: 18px 0 20px;
    overflow: hidden;
    background: #16080a;
    border: 1px solid rgba(240, 214, 192, 0.28);
    border-radius: 16px;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.14),
      0 22px 54px rgba(4, 3, 4, 0.3),
      0 0 48px rgba(120, 24, 42, 0.2);
  }

  .hero-visual__mobile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 33%;
    filter: saturate(1.03) contrast(1.02) brightness(1.12);
  }

  .iris-entry {
    padding-block: 24px;
  }

  .iris-entry__panel {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 19px;
    border-radius: 18px;
  }

  .iris-entry__headline h2 {
    font-size: clamp(1.52rem, 8vw, 2.08rem);
  }

  .iris-entry__copy p {
    font-size: 0.9rem;
    line-height: 1.75;
  }

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

  .iris-entry__principles span {
    padding: 12px 0 0;
  }

  .quick-start-grid.quick-start-grid--bento {
    grid-template-columns: 1fr;
  }

  .quick-start-grid--bento .quick-start-card,
  .quick-start-grid--bento .quick-start-card:nth-child(n + 4),
  .quick-start-grid--bento .quick-start-card--anchor {
    grid-column: span 1;
    min-height: 168px;
  }

  .quick-start-card::after {
    opacity: 0.78;
    transform: translateX(0);
  }
}

/* Seamless ticker and notebook-style E-book cover. */
.signal-strip__track {
  display: flex;
  width: max-content;
  min-height: 36px;
  animation: ticker-seamless 28s linear infinite;
  will-change: transform;
}

.signal-strip__group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
}

@keyframes ticker-seamless {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.ebook-book {
  position: relative;
  width: min(100%, 340px);
  aspect-ratio: 0.72;
  margin-inline: auto;
  isolation: isolate;
  perspective: 1000px;
}

.ebook-book::before,
.ebook-book::after {
  position: absolute;
  content: "";
}

.ebook-book::before {
  z-index: -2;
  inset: 15px -10px -12px 15px;
  background: #ead7c4;
  border: 1px solid rgba(240, 214, 192, 0.44);
  border-radius: 3px 10px 10px 3px;
  box-shadow: 0 30px 64px rgba(0, 0, 0, 0.48);
  transform: rotate(1.5deg);
}

.ebook-book::after {
  z-index: -1;
  top: 18px;
  right: -9px;
  bottom: -8px;
  width: 18px;
  background:
    repeating-linear-gradient(180deg, rgba(103, 65, 47, 0.16) 0 1px, transparent 1px 5px),
    linear-gradient(90deg, #f5e9dc, #b99476);
  border-radius: 0 9px 9px 0;
}

.ebook-book__spine {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: 0;
  width: 22px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent 44%, rgba(0, 0, 0, 0.34)),
    #250608;
  border-right: 1px solid rgba(240, 214, 192, 0.22);
}

.ebook-book__cover {
  display: grid;
  height: 100%;
  align-content: center;
  justify-items: center;
  gap: clamp(14px, 3vw, 22px);
  padding: 38px 26px 40px 42px;
  overflow: hidden;
  background:
    radial-gradient(circle at 52% 36%, rgba(120, 24, 42, 0.66), transparent 15rem),
    linear-gradient(145deg, #3b080e, #170507 72%, #090304);
  border: 1px solid rgba(240, 214, 192, 0.33);
  border-radius: 4px 10px 10px 4px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 20px 0 34px rgba(0, 0, 0, 0.2);
}

.ebook-book__cover::before {
  position: absolute;
  inset: 17px;
  pointer-events: none;
  border: 1px solid rgba(240, 214, 192, 0.18);
  content: "";
}

.ebook-book__label {
  color: var(--bronze-pale);
  font-family: var(--font-display);
  font-size: clamp(0.66rem, 1.35vw, 0.78rem);
  font-weight: 800;
  letter-spacing: 0.2em;
  text-align: center;
}

.ebook-book__cover img {
  width: min(60%, 168px);
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border: 1px solid rgba(240, 214, 192, 0.26);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
}

.ebook-book__title {
  max-width: 230px;
  color: #fff8f1;
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 2.65vw, 2rem);
  font-weight: 800;
  line-height: 1.18;
  text-align: center;
  text-wrap: balance;
  text-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

@media (max-width: 620px) {
  .signal-strip__track {
    animation: ticker-seamless 22s linear infinite;
  }

  .ebook-book {
    width: min(88%, 300px);
  }

  .ebook-book__cover {
    gap: 15px;
    padding: 31px 22px 34px 38px;
  }

  .ebook-book__cover img {
    width: min(56%, 150px);
  }

  .ebook-book__title {
    max-width: 210px;
    font-size: 1.42rem;
  }

}

/* Clear homepage: keep the first visit focused and easy to scan. */
.tools-store--legacy,
.registration-hub--legacy,
.pathway,
.systems,
.channels,
.about,
.responsibility,
.knowledge-library-head,
.knowledge-tools--library,
.knowledge-meta,
.knowledge-grid,
.empty-state {
  display: none;
}

.start-here {
  background: #0f0d0e;
  border-block: 1px solid rgba(240, 214, 192, 0.08);
}

.quick-start-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.quick-start-card {
  position: relative;
  display: flex;
  min-height: 226px;
  flex-direction: column;
  padding: 22px;
  color: var(--text-light);
  background: linear-gradient(155deg, rgba(25, 21, 22, 0.98), rgba(8, 7, 8, 0.98));
  border: 1px solid rgba(240, 214, 192, 0.16);
  border-radius: var(--radius-md);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.quick-start-card:hover {
  border-color: rgba(189, 135, 100, 0.6);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.24);
  transform: translateY(-5px);
}

.quick-start-card .icon {
  width: 22px;
  height: 22px;
  margin-bottom: 42px;
  color: var(--bronze-soft);
}

.quick-start-card .platform-icon {
  width: 24px;
  height: 24px;
  margin-bottom: 40px;
}

.quick-start-card > span {
  position: absolute;
  top: 22px;
  right: 22px;
  color: rgba(240, 214, 192, 0.54);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.quick-start-card h3 {
  max-width: 17ch;
  margin: auto 0 8px;
  font-size: 1.12rem;
  line-height: 1.42;
}

.quick-start-card p {
  margin: 0;
  color: rgba(255, 250, 246, 0.64);
  font-size: 0.88rem;
  line-height: 1.65;
}

.hero-visual__frame {
  box-shadow:
    0 0 0 1px rgba(240, 214, 192, 0.13),
    0 30px 90px rgba(0, 0, 0, 0.46),
    0 0 76px rgba(189, 135, 100, 0.14);
}

.hero-visual__frame::after {
  background:
    radial-gradient(circle at 58% 32%, rgba(255, 231, 208, 0.16), transparent 34%),
    linear-gradient(180deg, transparent 60%, rgba(8, 6, 7, 0.22));
}

.hero-visual__picture img {
  filter: saturate(1.04) contrast(1.02) brightness(1.15);
}

.hero-visual__card--left {
  display: none;
}

.knowledge {
  padding-block: 88px;
}

.knowledge .section-intro {
  margin-bottom: 24px;
}

.search-console {
  margin-bottom: 0;
}

.clear-flow-card {
  padding: 28px;
  background: linear-gradient(145deg, rgba(17, 14, 15, 0.98), rgba(6, 6, 7, 0.98));
  border: 1px solid rgba(240, 214, 192, 0.15);
  border-radius: var(--radius-lg);
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.2);
}

.clear-flow-card .registration-steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.clear-flow-card__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(240, 214, 192, 0.12);
}

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

.registration-grid--compact .registration-card {
  min-height: 224px;
}

.registration-grid--compact .registration-card p {
  max-width: 48ch;
}

.faq-item:nth-child(n + 5) {
  display: none;
}

@media (max-width: 1080px) {
  .quick-start-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .clear-flow-card .registration-steps,
  .registration-grid--compact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .quick-start-grid {
    grid-template-columns: 1fr;
  }

  .quick-start-card {
    min-height: 182px;
  }

  .quick-start-card .icon {
    margin-bottom: 26px;
  }

  .clear-flow-card {
    padding: 18px;
  }

  .hero-visual__picture img {
    filter: saturate(1.03) contrast(1.01) brightness(1.17);
  }
}

/* Registration hub and calmer visual rhythm */
.manifesto {
  background: #211719;
}

.section--soft,
.channels {
  background: #27191c;
}

.knowledge,
.faq {
  background: #1a1415;
}

.about {
  background: #201719;
}

.tools-store {
  background:
    radial-gradient(circle at 86% 12%, rgba(189, 135, 100, 0.08), transparent 24rem),
    #1c1516;
}

.hero__grid {
  grid-template-columns: minmax(0, 0.94fr) minmax(430px, 1.06fr);
  gap: 46px;
}

.hero-visual {
  min-height: 690px;
}

.hero-visual__frame {
  top: 30px;
  bottom: 20px;
  left: 0;
}

.hero-visual__picture img {
  object-position: center 40%;
  filter: saturate(0.88) contrast(1.06) brightness(0.9);
}

.hero-visual__topline {
  left: 0;
}

.hero-visual__card--left {
  bottom: 0;
  left: 18px;
  background: linear-gradient(145deg, rgba(41, 24, 26, 0.9), rgba(11, 10, 11, 0.82));
}

.search-console {
  color: var(--ink);
  background:
    radial-gradient(circle at 90% 10%, rgba(189, 135, 100, 0.1), transparent 14rem),
    linear-gradient(145deg, rgba(18, 15, 16, 0.97), rgba(7, 6, 7, 0.98));
  border: 1px solid rgba(240, 214, 192, 0.2);
  box-shadow: 0 24px 70px rgba(7, 5, 7, 0.2);
}

.search-console .eyebrow {
  color: var(--bronze-soft);
}

.search-console h3 {
  color: var(--ink);
}

.search-console__intro > p:last-child,
.search-results__head small,
.search-result p,
.search-results__empty > p:not(.eyebrow) {
  color: var(--ink-soft);
}

.search-box--global {
  color: var(--bronze-soft);
  background: rgba(11, 10, 11, 0.54);
  border: 1px solid rgba(240, 214, 192, 0.2);
  box-shadow: 0 10px 28px rgba(7, 5, 7, 0.16);
}

.search-box--global input {
  color: var(--ink);
}

.search-box--global input::placeholder {
  color: #b5a7a5;
}

.search-box--global input[readonly] {
  cursor: default;
  caret-color: transparent;
}

.search-box--global:has(input[readonly]) {
  cursor: default;
}

.popular-searches span {
  color: #b5a7a5;
}

.popular-searches button {
  color: var(--bronze-pale);
  border-color: rgba(240, 214, 192, 0.2);
}

.popular-searches button:hover,
.popular-searches button.is-active {
  color: #1a1113;
  background: var(--bronze-pale);
  border-color: var(--bronze-pale);
}

.search-results {
  border-top-color: rgba(240, 214, 192, 0.16);
}

.search-results__head,
.search-result > span,
.search-result__action {
  color: var(--bronze-soft);
}

.search-result {
  background: rgba(7, 6, 7, 0.74);
  border-color: rgba(240, 214, 192, 0.14);
}

.search-result h4,
.search-results__empty h4 {
  color: var(--ink);
}

.search-result__action:hover {
  color: var(--bronze-pale);
}

.registration-hub {
  position: relative;
  overflow: hidden;
}

.registration-hub::before {
  position: absolute;
  top: -14rem;
  right: -9rem;
  width: 30rem;
  height: 30rem;
  background: radial-gradient(circle, rgba(189, 135, 100, 0.1), transparent 66%);
  content: "";
  pointer-events: none;
}

.registration-feature {
  padding: clamp(24px, 4vw, 40px);
  background:
    radial-gradient(circle at 90% 8%, rgba(189, 135, 100, 0.08), transparent 16rem),
    rgba(7, 6, 7, 0.84);
  border: 1px solid rgba(240, 214, 192, 0.2);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px);
}

.registration-feature__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(240, 214, 192, 0.14);
}

.registration-feature h3,
.registration-card h3 {
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.045em;
  line-height: 1.3;
}

.registration-feature h3 {
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);
}

.registration-feature__head p:not(.card-tag),
.registration-card > p:not(.card-tag) {
  max-width: 720px;
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.registration-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
  padding: 28px 0 0;
  list-style: none;
}

.registration-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 4px 18px;
  border-right: 1px solid rgba(240, 214, 192, 0.14);
}

.registration-steps li:first-child {
  padding-left: 0;
}

.registration-steps li:last-child {
  padding-right: 0;
  border-right: 0;
}

.registration-steps span,
.registration-card li span {
  color: var(--bronze-soft);
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.registration-steps h4 {
  margin: 0;
  color: var(--ink);
  font-size: 0.94rem;
  line-height: 1.45;
}

.registration-steps p {
  margin: 8px 0 12px;
  color: var(--ink-soft);
  font-size: 0.76rem;
  line-height: 1.65;
}

.flow-action,
.flow-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.flow-action {
  align-items: center;
  padding: 0;
  color: var(--bronze-pale);
  background: transparent;
  border: 0;
  font-size: 0.76rem;
  font-weight: 700;
  text-align: left;
  transition: color 180ms ease, gap 180ms ease;
}

.flow-action:hover {
  gap: 13px;
  color: #fff;
}

.flow-note {
  display: block;
  margin-top: 12px;
  color: #aa9b99;
  font-size: 0.68rem;
  line-height: 1.6;
}

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

.registration-card {
  display: flex;
  min-height: 440px;
  flex-direction: column;
  padding: 24px;
  background: rgba(7, 6, 7, 0.8);
  border: 1px solid rgba(240, 214, 192, 0.16);
  backdrop-filter: blur(16px);
}

.registration-card h3 {
  font-size: 1.2rem;
}

.registration-card ol {
  display: grid;
  gap: 10px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.registration-card li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  padding-bottom: 10px;
  color: var(--ink-soft);
  border-bottom: 1px solid rgba(240, 214, 192, 0.11);
  font-size: 0.8rem;
}

.registration-card__actions {
  display: grid;
  justify-items: start;
  gap: 14px;
  margin-top: auto;
}

.registration-card .flow-note {
  margin-top: 14px;
}

.registration-card .button {
  min-height: 44px;
  padding-inline: 16px;
  font-size: 0.76rem;
}

.text-link--quiet {
  color: #ad9c9e;
  font-size: 0.74rem;
}

.text-link--quiet:hover {
  color: var(--bronze-pale);
}

.guide-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.guide-gallery__item {
  position: relative;
  overflow: hidden;
  background: rgba(11, 10, 11, 0.42);
  border: 1px solid rgba(240, 214, 192, 0.16);
}

.guide-gallery__item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 240ms var(--ease);
}

.guide-gallery__item:hover img {
  transform: scale(1.035);
}

.guide-gallery--wide {
  grid-template-columns: 1fr;
}

.guide-gallery--wide .guide-gallery__item img {
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.guide-gallery__item span {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 4px 7px;
  color: #1a1113;
  background: var(--bronze-pale);
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.modal {
  width: min(100%, 780px);
}

@media (max-width: 1080px) {
  .hero__grid {
    grid-template-columns: minmax(0, 0.94fr) minmax(360px, 1.06fr);
  }

  .registration-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 0;
  }

  .registration-steps li:nth-child(2) {
    border-right: 0;
  }
}

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

  .registration-card {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  .hero-visual {
    min-height: 430px;
  }

  .hero-visual__frame {
    top: 22px;
    bottom: 8px;
  }

  .hero-visual__card--left {
    bottom: -6px;
    left: 10px;
  }

  .registration-feature__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .registration-feature__head .button {
    width: 100%;
  }

  .registration-steps {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .registration-steps li,
  .registration-steps li:first-child,
  .registration-steps li:last-child {
    padding: 16px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(240, 214, 192, 0.14);
  }

  .registration-steps li:last-child {
    border-bottom: 0;
  }

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

/* BREAK 2 THE MONEY brand refinement */
:root {
  --deep-ink: #0b0a0b;
  --deep-ink-2: #141112;
  --deep-ink-3: #21181a;
  --warm-paper: #f6efe9;
  --warm-paper-2: #fffdfb;
  --wine-deep: #2b090d;
  --wine: #3d0f13;
  --wine-rich: #5b1821;
  --wine-soft: #8a3c45;
  --bronze: #bd8764;
  --bronze-soft: #d9aa87;
  --bronze-pale: #f0d6c0;
  --quiet-gray: #d6ced0;
  --quiet-gray-dark: #a99da0;
  --line-dark: rgba(240, 214, 192, 0.16);
  --line-light: rgba(240, 214, 192, 0.16);
  --ink: #fbf7f3;
  --ink-soft: #c9bdba;
  --canvas: linear-gradient(145deg, #221214 0%, #120f10 52%, #0b0a0b 100%);
  --canvas-soft: linear-gradient(135deg, #331216 0%, #1d1113 52%, #0d0c0d 100%);
  --surface: linear-gradient(145deg, rgba(62, 23, 27, 0.64), rgba(11, 10, 11, 0.88));
  --surface-solid: #1a1113;
  --accent: var(--bronze-soft);
  --accent-soft: rgba(189, 135, 100, 0.18);
  --action: #fffdfb;
  --action-hover: #f6eee7;
  --signal: var(--wine-rich);
  --focus: #e0b28d;
}

body {
  background:
    radial-gradient(circle at 10% 7%, rgba(91, 24, 33, 0.45), transparent 28rem),
    radial-gradient(circle at 90% 72%, rgba(189, 135, 100, 0.1), transparent 34rem),
    linear-gradient(145deg, #211214 0%, #120f10 52%, #0b0a0b 100%);
}

.section--soft {
  background: #171112;
}

.section--ink,
.knowledge,
.about,
.faq {
  background: #0f0d0e;
}

.manifesto {
  background: #181112;
}

.channels {
  background: #171112;
}

.truth-bar {
  background: #080708;
  border-bottom-color: rgba(240, 214, 192, 0.12);
}

.truth-bar__label,
.eyebrow,
.section-intro h2 span,
.about-copy h2 span {
  color: var(--bronze-soft);
}

.site-header.is-scrolled {
  background: rgba(11, 10, 11, 0.9);
}

.brand {
  gap: 11px;
}

.brand__logo {
  width: 48px;
  height: 48px;
  aspect-ratio: 1 / 1;
  flex: 0 0 auto;
  object-fit: contain;
  background: #250b0e;
  border: 1px solid rgba(240, 214, 192, 0.24);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.brand__text {
  display: grid;
  gap: 4px;
}

.brand__word {
  color: #fff8f2;
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  white-space: nowrap;
}

.brand__word span {
  color: var(--bronze-soft);
}

.brand__descriptor {
  padding-left: 0;
  color: #a99da0;
  border-left: 0;
  font-size: 0.48rem;
  letter-spacing: 0.16em;
}

.nav-menu {
  gap: 18px;
}

.nav-menu > a::after {
  background: var(--bronze);
}

.button--primary {
  color: #171112;
  background: #fffaf6;
  box-shadow: 0 14px 34px rgba(255, 250, 246, 0.12);
}

.button--primary:hover,
.button--light:hover {
  background: var(--bronze-pale);
}

.button--ghost {
  border-color: rgba(240, 214, 192, 0.24);
}

.hero {
  background:
    radial-gradient(circle at 78% 28%, rgba(189, 135, 100, 0.12), transparent 20rem),
    radial-gradient(circle at 16% 24%, rgba(91, 24, 33, 0.58), transparent 30rem),
    linear-gradient(125deg, #2b0e13 0%, #181112 52%, #0b0a0b 100%);
}

.hero__texture {
  opacity: 0.68;
  background:
    radial-gradient(circle at 76% 46%, rgba(240, 214, 192, 0.08), transparent 17rem),
    radial-gradient(circle at 12% 72%, rgba(91, 24, 33, 0.2), transparent 22rem);
}

.hero-visual__frame {
  background:
    linear-gradient(145deg, rgba(240, 214, 192, 0.12), rgba(255, 255, 255, 0.02)),
    rgba(18, 15, 16, 0.58);
  border-color: rgba(240, 214, 192, 0.23);
}

.hero-visual__frame::after {
  background:
    radial-gradient(circle at 74% 20%, rgba(240, 214, 192, 0.12), transparent 14rem),
    linear-gradient(180deg, rgba(45, 18, 21, 0.02), rgba(7, 5, 7, 0.38) 100%);
}

.hero-visual__frame::before {
  inset: 16px;
  border: 1px solid rgba(240, 214, 192, 0.18);
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.hero-visual__picture img {
  object-position: center 38%;
  filter: saturate(0.84) contrast(1.05) brightness(0.86);
}

.hero-visual__card,
.systems-layout,
.service-card,
.official-links,
.fit-panel {
  border-color: rgba(240, 214, 192, 0.16);
}

.hero-visual__corner {
  border-color: var(--bronze);
}

.hero-visual__card strong i,
.eyebrow__dot {
  background: var(--bronze);
}

.eyebrow__dot {
  box-shadow: 0 0 0 6px rgba(189, 135, 100, 0.15);
}

.signal-strip {
  background: #5a1b24;
}

.path-card:hover,
.path-card.is-active {
  background: linear-gradient(135deg, #40131a, #100d0e);
}

.path-card {
  background: rgba(7, 6, 7, 0.72);
}

.systems-layout,
.service-card,
.service-card--primary,
.service-card--directory,
.official-links,
.fit-panel {
  background: rgba(7, 6, 7, 0.78);
}

.tools-store {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 12%, rgba(189, 135, 100, 0.08), transparent 24rem),
    #181112;
}

.tools-store::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 214, 192, 0.42), transparent);
  content: "";
}

.tools-marketplace {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
  gap: 16px;
}

.tool-feature {
  padding: clamp(26px, 4vw, 42px);
  background:
    radial-gradient(circle at 88% 12%, rgba(189, 135, 100, 0.11), transparent 15rem),
    linear-gradient(145deg, rgba(16, 13, 14, 0.98), rgba(6, 5, 6, 0.98));
  border: 1px solid rgba(240, 214, 192, 0.22);
  box-shadow: var(--shadow-md);
}

.tools-marketplace--simple {
  grid-template-columns: 1fr;
}

.tool-feature__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 38px;
}

.tool-feature__brand img {
  width: 66px;
  height: 66px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #250b0e;
  border: 1px solid rgba(240, 214, 192, 0.24);
}

.tool-feature__brand span,
.tool-category > span {
  color: var(--bronze-soft);
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.tool-feature h3 {
  max-width: 620px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.55rem, 2.8vw, 2.5rem);
  letter-spacing: -0.055em;
  line-height: 1.23;
}

.tool-feature p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--ink-soft);
}

.tool-feature__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.tool-feature small {
  display: block;
  max-width: 680px;
  margin-top: 18px;
  color: #ac9d9a;
  font-size: 0.72rem;
  line-height: 1.7;
}

.tool-order-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.tool-order-flow li {
  display: grid;
  align-content: start;
  grid-template-columns: auto 1fr;
  gap: 12px;
  min-height: 210px;
  padding: 20px;
  background: rgba(5, 5, 6, 0.82);
  border: 1px solid rgba(240, 214, 192, 0.14);
}

.tool-order-flow span {
  color: var(--bronze-soft);
  font-family: var(--font-display);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.tool-order-flow h4 {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.45;
}

.tool-order-flow p {
  margin: 8px 0 16px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.7;
}

.tool-order-flow .button {
  min-height: 42px;
  padding-inline: 14px;
  font-size: 0.74rem;
}

.tool-order-flow .flow-action + .flow-action,
.tool-order-flow .button + .flow-action {
  margin-top: 12px;
}

.tool-support-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(240, 214, 192, 0.13);
}

.tool-support-links .text-link {
  background: transparent;
  border: 0;
  text-align: left;
}

.tool-category-grid {
  display: grid;
  gap: 16px;
}

.tool-category {
  display: flex;
  min-height: 168px;
  flex-direction: column;
  padding: 22px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(240, 214, 192, 0.15);
  transition: border-color 200ms ease, background-color 200ms ease, transform 200ms ease;
}

.tool-category:hover {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(240, 214, 192, 0.3);
  transform: translateY(-3px);
}

.tool-category h3 {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: 1.13rem;
  letter-spacing: -0.035em;
}

.tool-category p {
  margin: 8px 0 14px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.7;
}

.tool-category .text-link {
  align-self: flex-start;
  margin-top: auto;
}

.tool-catalog-panel {
  margin-top: clamp(26px, 4vw, 42px);
  padding: clamp(22px, 4vw, 42px);
  background:
    radial-gradient(circle at 90% 8%, rgba(189, 135, 100, 0.13), transparent 18rem),
    linear-gradient(145deg, rgba(12, 9, 10, 0.84), rgba(68, 11, 21, 0.34));
  border: 1px solid rgba(240, 214, 192, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 28px 72px rgba(5, 2, 4, 0.22);
  backdrop-filter: blur(22px);
}

.tool-catalog-panel__head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(18px, 4vw, 42px);
  align-items: end;
}

.tool-catalog-panel__head h3 {
  max-width: 620px;
  margin: 8px 0 0;
  color: var(--ink);
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  letter-spacing: -0.045em;
  line-height: 1.22;
}

.tool-catalog-panel__head > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.85;
}

.tool-investment-note {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  padding: clamp(18px, 3vw, 24px);
  background:
    radial-gradient(circle at 92% 0%, rgba(240, 214, 192, 0.12), transparent 13rem),
    linear-gradient(145deg, rgba(8, 7, 8, 0.82), rgba(71, 13, 24, 0.42));
  border: 1px solid rgba(240, 214, 192, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.tool-investment-note span {
  color: var(--bronze-pale);
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.tool-investment-note h4 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.08rem, 2vw, 1.42rem);
  letter-spacing: -0.035em;
  line-height: 1.38;
}

.tool-investment-note p {
  max-width: 920px;
  margin: 0;
  color: rgba(255, 248, 242, 0.72);
  font-size: 0.84rem;
  line-height: 1.78;
}

.tool-choice-layout {
  display: grid;
  grid-template-columns: minmax(310px, 0.92fr) minmax(0, 1.08fr);
  gap: 14px;
  margin-top: 16px;
}

.tool-choice-list {
  display: grid;
  gap: 10px;
}

.tool-choice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  width: 100%;
  gap: 12px;
  min-height: 82px;
  padding: 15px 16px;
  color: var(--ink);
  background:
    radial-gradient(circle at 94% 10%, rgba(240, 214, 192, 0.08), transparent 9rem),
    rgba(7, 6, 7, 0.72);
  border: 1px solid rgba(240, 214, 192, 0.14);
  cursor: pointer;
  text-align: left;
  transition: background 200ms ease, border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.tool-choice:hover,
.tool-choice:focus-visible {
  background:
    radial-gradient(circle at 94% 10%, rgba(240, 214, 192, 0.15), transparent 10rem),
    linear-gradient(145deg, rgba(96, 17, 31, 0.68), rgba(8, 6, 7, 0.86));
  border-color: rgba(240, 214, 192, 0.34);
  box-shadow: 0 18px 42px rgba(5, 2, 4, 0.18);
  outline: 0;
  transform: translateY(-2px);
}

.tool-choice.is-active {
  background:
    radial-gradient(circle at 88% 0%, rgba(240, 214, 192, 0.18), transparent 11rem),
    linear-gradient(145deg, rgba(123, 21, 40, 0.88), rgba(10, 7, 8, 0.94));
  border-color: rgba(240, 214, 192, 0.44);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 54px rgba(5, 2, 4, 0.2);
}

.tool-choice__check {
  position: relative;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(240, 214, 192, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
}

.tool-choice.is-active .tool-choice__check {
  background: var(--bronze-pale);
  border-color: var(--bronze-pale);
  box-shadow: 0 0 0 5px rgba(240, 214, 192, 0.08);
}

.tool-choice__check::after {
  position: absolute;
  top: 5px;
  left: 8px;
  width: 6px;
  height: 10px;
  border-right: 2px solid #371016;
  border-bottom: 2px solid #371016;
  content: "";
  opacity: 0;
  transform: rotate(42deg);
}

.tool-choice.is-active .tool-choice__check::after {
  opacity: 1;
}

.tool-choice__body {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.tool-choice__body strong {
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.32;
}

.tool-choice__body small {
  color: rgba(255, 248, 242, 0.62);
  font-size: 0.72rem;
  line-height: 1.45;
}

.tool-choice em {
  max-width: 140px;
  color: var(--bronze-pale);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
  line-height: 1.35;
  text-align: right;
}

.tool-choice-preview {
  display: grid;
  overflow: hidden;
  min-height: 100%;
  background:
    radial-gradient(circle at 84% 0%, rgba(240, 214, 192, 0.16), transparent 15rem),
    linear-gradient(145deg, rgba(8, 6, 7, 0.88), rgba(52, 11, 20, 0.5));
  border: 1px solid rgba(240, 214, 192, 0.2);
  box-shadow: 0 28px 72px rgba(5, 2, 4, 0.22);
}

.tool-choice-preview__media {
  min-height: 245px;
  background: rgba(0, 0, 0, 0.34);
}

.tool-choice-preview__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 245px;
  object-fit: cover;
}

.tool-choice-preview__media.is-split {
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 2px;
  padding: 0;
  background: rgba(240, 214, 192, 0.18);
}

.tool-choice-preview__media.is-split img {
  min-height: 0;
  object-fit: cover;
  object-position: center;
}

.tool-choice-preview__media img[hidden] {
  display: none;
}

.tool-choice-preview__media img {
  transition: opacity 180ms ease;
}

@media (prefers-reduced-motion: reduce) {
  .tool-choice-preview__media img {
    transition: none;
  }
}

.tool-choice-preview__body {
  display: grid;
  gap: 12px;
  padding: clamp(20px, 3vw, 30px);
}

.tool-choice-preview__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.tool-choice-preview__top span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: var(--bronze-pale);
  background: rgba(240, 214, 192, 0.09);
  border: 1px solid rgba(240, 214, 192, 0.16);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.tool-choice-preview__top strong {
  color: #fff8f1;
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.tool-choice-preview h4 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.24rem, 2.4vw, 1.86rem);
  letter-spacing: -0.04em;
  line-height: 1.28;
}

.tool-choice-preview p {
  margin: 0;
  color: rgba(255, 248, 242, 0.72);
  font-size: 0.85rem;
  line-height: 1.78;
}

.tool-choice-preview__level {
  display: grid;
  gap: 6px;
  padding: 15px;
  background: rgba(0, 0, 0, 0.26);
  border: 1px solid rgba(240, 214, 192, 0.13);
}

.tool-choice-preview__level span {
  color: var(--bronze-pale);
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.tool-choice-preview__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 2px;
}

.tool-choice-preview small {
  color: #ad9fa1;
  font-size: 0.7rem;
  line-height: 1.7;
}

.tool-price-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.tool-price-strip span {
  min-height: 76px;
  padding: 15px 16px;
  color: rgba(255, 248, 242, 0.72);
  background: rgba(6, 5, 6, 0.54);
  border: 1px solid rgba(240, 214, 192, 0.15);
  font-size: 0.74rem;
  line-height: 1.55;
}

.tool-price-strip strong {
  display: block;
  margin-bottom: 3px;
  color: var(--bronze-pale);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  letter-spacing: -0.02em;
}

.tool-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.tool-product-card {
  display: grid;
  min-height: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 10%, rgba(240, 214, 192, 0.08), transparent 12rem),
    rgba(5, 4, 5, 0.64);
  border: 1px solid rgba(240, 214, 192, 0.16);
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
}

.tool-product-card:hover,
.tool-product-card:focus-within {
  background:
    radial-gradient(circle at 88% 10%, rgba(240, 214, 192, 0.13), transparent 13rem),
    linear-gradient(145deg, rgba(120, 24, 42, 0.66), rgba(7, 4, 5, 0.82));
  border-color: rgba(240, 214, 192, 0.34);
  box-shadow: 0 24px 58px rgba(5, 2, 4, 0.22);
  transform: translateY(-3px);
}

.tool-product-card--featured {
  grid-column: 1 / -1;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
}

.tool-product-card__media {
  min-height: 250px;
  background: rgba(0, 0, 0, 0.34);
}

.tool-product-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
}

.tool-product-card__body {
  display: flex;
  flex-direction: column;
  padding: clamp(19px, 3vw, 28px);
}

.tool-product-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.tool-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: var(--bronze-pale);
  background: rgba(240, 214, 192, 0.09);
  border: 1px solid rgba(240, 214, 192, 0.16);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.tool-price {
  color: #fff8f1;
  font-family: var(--font-display);
  font-size: 0.86rem;
}

.tool-product-card h4 {
  margin: 16px 0 0;
  color: var(--ink);
  font-size: clamp(1.18rem, 2.3vw, 1.7rem);
  letter-spacing: -0.035em;
  line-height: 1.28;
}

.tool-product-card p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.78;
}

.tool-product-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.tool-product-meta div {
  padding: 14px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(240, 214, 192, 0.12);
}

.tool-product-meta span {
  color: var(--bronze-pale);
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tool-product-meta p {
  margin-top: 7px;
  font-size: 0.74rem;
  line-height: 1.65;
}

.tool-mini-list {
  display: grid;
  gap: 9px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.tool-mini-list li {
  position: relative;
  padding-left: 17px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.65;
}

.tool-mini-list li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--bronze);
  border-radius: 999px;
  content: "";
}

.tool-product-card--cta {
  background:
    radial-gradient(circle at 80% 0%, rgba(240, 214, 192, 0.16), transparent 16rem),
    linear-gradient(145deg, rgba(87, 13, 24, 0.82), rgba(6, 4, 5, 0.82));
}

.tool-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 20px;
}

.tool-product-card small {
  display: block;
  margin-top: 16px;
  color: #ad9fa1;
  font-size: 0.7rem;
  line-height: 1.7;
}

.purchase-path {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  margin-top: 16px;
  padding: 20px 24px;
  background: rgba(11, 10, 11, 0.72);
  border: 1px solid rgba(240, 214, 192, 0.17);
}

.purchase-path div {
  display: grid;
  gap: 4px;
}

.purchase-path span {
  color: var(--bronze-soft);
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.purchase-path strong {
  color: var(--ink);
  font-size: 0.94rem;
}

.purchase-path small {
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.purchase-path i {
  width: 32px;
  height: 1px;
  background: rgba(240, 214, 192, 0.28);
}

.brand-panel {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 560px;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(91, 24, 33, 0.36), transparent 19rem),
    linear-gradient(145deg, rgba(16, 13, 14, 0.96), rgba(5, 5, 6, 0.98));
  border: 1px solid rgba(240, 214, 192, 0.2);
  box-shadow: var(--shadow-md);
}

.brand-panel__grid {
  position: absolute;
  inset: 0;
  opacity: 0.48;
  background-image:
    linear-gradient(rgba(240, 214, 192, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 214, 192, 0.055) 1px, transparent 1px);
  background-size: 46px 46px;
}

.brand-panel img {
  position: relative;
  z-index: 1;
  width: min(76%, 440px);
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border: 1px solid rgba(240, 214, 192, 0.18);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
}

.faq-item {
  margin-bottom: 8px;
  padding-inline: 18px;
  background: rgba(7, 6, 7, 0.76);
  border: 1px solid rgba(240, 214, 192, 0.13);
}

.brand-panel__footer {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 20px;
  left: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  color: var(--bronze-soft);
  font-family: var(--font-display);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.brand-panel__footer i {
  width: 4px;
  height: 4px;
  background: var(--bronze);
  border-radius: 50%;
}

.line-float {
  position: fixed;
  z-index: 1200;
  right: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  gap: 9px;
  padding: 0 16px;
  color: #1a1113;
  background: #fffaf6;
  border: 1px solid rgba(189, 135, 100, 0.46);
  border-radius: 999px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.26);
  font-size: 0.78rem;
  font-weight: 700;
  transition: background-color 180ms ease, transform 180ms ease;
}

.line-float:hover {
  background: var(--bronze-pale);
  transform: translateY(-3px);
}

.line-float .icon,
.line-float .platform-icon {
  width: 18px;
  height: 18px;
}

.modal {
  background: linear-gradient(145deg, rgba(18, 15, 16, 0.98), rgba(7, 6, 7, 0.99));
  border-color: rgba(240, 214, 192, 0.18);
}

@media (max-width: 1180px) {
  .brand__descriptor {
    display: none;
  }

  .nav-menu {
    gap: 14px;
  }
}

@media (max-width: 860px) {
  .tools-marketplace {
    grid-template-columns: 1fr;
  }

  .tool-catalog-panel__head,
  .tool-choice-layout,
  .tool-product-card--featured,
  .tool-product-grid {
    grid-template-columns: 1fr;
  }

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

  .tool-product-meta {
    grid-template-columns: 1fr;
  }

  .tool-order-flow {
    grid-template-columns: 1fr;
  }

  .tool-order-flow li {
    min-height: 0;
  }

  .brand-panel {
    min-height: 470px;
  }
}

@media (max-width: 620px) {
  .brand__logo {
    width: 42px;
    height: 42px;
  }

  .brand__word {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }

  .hero-visual__picture img {
    object-position: center 38%;
  }

  .tool-feature {
    padding: 22px 18px;
  }

  .tool-feature__brand {
    margin-bottom: 26px;
  }

  .tool-order-flow .button {
    width: 100%;
    justify-content: center;
  }

  .tool-feature__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .tool-feature__actions .button {
    width: 100%;
  }

  .tool-choice {
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 0;
  }

  .tool-choice em {
    grid-column: 2;
    max-width: none;
    text-align: left;
  }

  .tool-choice-preview__media,
  .tool-choice-preview__media img {
    min-height: 210px;
  }

  .tool-choice-preview__actions,
  .tool-choice-preview__actions .button,
  .tool-choice-preview__actions .text-link {
    width: 100%;
  }

  .tool-choice-preview__actions .button,
  .tool-choice-preview__actions .text-link {
    justify-content: center;
  }

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

  .tool-product-card__media,
  .tool-product-card__media img {
    min-height: 210px;
  }

  .tool-product-actions,
  .tool-product-actions .button,
  .tool-product-actions .text-link {
    width: 100%;
  }

  .tool-product-actions .button,
  .tool-product-actions .text-link {
    justify-content: center;
  }

  .purchase-path {
    grid-template-columns: 1fr;
    gap: 13px;
    padding: 18px;
  }

  .purchase-path i {
    width: 1px;
    height: 18px;
  }

  .brand-panel {
    min-height: 370px;
  }

  .brand-panel__footer {
    right: 12px;
    bottom: 14px;
    left: 12px;
    gap: 8px;
    font-size: 0.44rem;
    letter-spacing: 0.1em;
  }

  .line-float {
    right: 14px;
    bottom: 14px;
    min-height: 46px;
    padding: 0 14px;
  }
}

/* Final locks for the clear-home version. */
.hero-visual__frame {
  box-shadow:
    0 0 0 1px rgba(240, 214, 192, 0.13),
    0 30px 90px rgba(0, 0, 0, 0.46),
    0 0 76px rgba(189, 135, 100, 0.14);
}

.hero-visual__picture img {
  filter: saturate(1.04) contrast(1.02) brightness(1.15);
}

@media (max-width: 620px) {
  .hero-visual__picture img {
    filter: saturate(1.03) contrast(1.01) brightness(1.17);
  }
}

/* Balanced glass homepage: complete enough to decide, calm enough to scan. */
html {
  overscroll-behavior: contain;
}

body {
  background:
    radial-gradient(circle at 12% 8%, rgba(91, 24, 33, 0.44), transparent 30rem),
    radial-gradient(circle at 84% 32%, rgba(189, 135, 100, 0.12), transparent 32rem),
    radial-gradient(circle at 54% 88%, rgba(91, 24, 33, 0.22), transparent 34rem),
    linear-gradient(145deg, #241416 0%, #161112 48%, #0d0b0c 100%);
}

#start-here,
#knowledge,
#tools-store,
#register,
#decision-details,
#channels,
#about,
.responsibility,
#faq {
  scroll-margin-top: 116px;
}

.channels,
.about,
.responsibility {
  display: block;
}

.knowledge-library-head {
  display: flex;
}

.knowledge-grid {
  display: grid;
}

.knowledge-card:nth-child(n + 7) {
  display: none;
}

.faq-item:nth-child(n + 5) {
  display: block;
}

.registration-hub--clear .registration-grid--compact {
  display: none;
}

.start-here {
  background:
    radial-gradient(circle at 78% 24%, rgba(189, 135, 100, 0.07), transparent 24rem),
    linear-gradient(180deg, rgba(19, 15, 16, 0.82), rgba(37, 19, 22, 0.7));
}

.knowledge {
  background:
    radial-gradient(circle at 12% 16%, rgba(91, 24, 33, 0.2), transparent 26rem),
    linear-gradient(180deg, rgba(30, 18, 20, 0.88), rgba(16, 13, 14, 0.86));
}

.tools-store {
  background:
    radial-gradient(circle at 84% 12%, rgba(189, 135, 100, 0.1), transparent 24rem),
    linear-gradient(180deg, rgba(20, 16, 17, 0.9), rgba(35, 18, 21, 0.82));
}

.section--soft,
.channels {
  background:
    radial-gradient(circle at 12% 82%, rgba(189, 135, 100, 0.07), transparent 22rem),
    linear-gradient(180deg, rgba(38, 22, 24, 0.86), rgba(20, 16, 17, 0.9));
}

.about {
  background:
    radial-gradient(circle at 84% 40%, rgba(91, 24, 33, 0.24), transparent 28rem),
    linear-gradient(180deg, rgba(18, 15, 16, 0.9), rgba(35, 19, 21, 0.84));
}

.faq {
  background:
    radial-gradient(circle at 18% 18%, rgba(189, 135, 100, 0.06), transparent 22rem),
    linear-gradient(180deg, rgba(22, 16, 17, 0.9), rgba(12, 11, 12, 0.94));
}

.hero__pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.hero__pill-row span {
  padding: 7px 10px;
  color: rgba(240, 214, 192, 0.8);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(240, 214, 192, 0.14);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  backdrop-filter: blur(16px);
}

button.text-link {
  padding: 0;
  color: var(--bronze-pale);
  background: transparent;
  border: 0;
  appearance: none;
  -webkit-appearance: none;
}

.quick-start-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.quick-start-card,
.clear-flow-card,
.knowledge-card,
.service-card,
.official-links,
.fit-panel,
.faq-item,
.brand-panel {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.105), rgba(126, 77, 73, 0.055) 42%, rgba(12, 10, 11, 0.54));
  border: 1px solid rgba(240, 214, 192, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 22px 58px rgba(4, 3, 4, 0.2);
  backdrop-filter: blur(24px) saturate(1.12);
  -webkit-backdrop-filter: blur(24px) saturate(1.12);
}

.quick-start-card,
.knowledge-card,
.service-card,
.fit-panel,
.faq-item {
  border-radius: 16px;
}

.clear-flow-card,
.official-links,
.brand-panel {
  border-radius: 20px;
}

.quick-start-card {
  min-height: 218px;
}

.quick-start-card:hover,
.knowledge-card:hover,
.service-card:hover {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(126, 77, 73, 0.09) 42%, rgba(12, 10, 11, 0.6));
  border-color: rgba(240, 214, 192, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 26px 66px rgba(4, 3, 4, 0.28);
}

.knowledge-library-head {
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-top: 34px;
}

.knowledge-library-head > p {
  max-width: 480px;
}

.knowledge-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.knowledge-card {
  min-height: 286px;
  padding: 22px;
}

.knowledge-card--feature {
  color: inherit;
}

.search-console {
  background:
    radial-gradient(circle at 88% 12%, rgba(240, 214, 192, 0.1), transparent 16rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(69, 37, 39, 0.2) 44%, rgba(12, 10, 11, 0.64));
  border: 1px solid rgba(240, 214, 192, 0.24);
  border-radius: 20px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 24px 64px rgba(4, 3, 4, 0.22);
  backdrop-filter: blur(26px) saturate(1.12);
  -webkit-backdrop-filter: blur(26px) saturate(1.12);
}

.clear-flow-card .registration-steps li {
  padding: 20px;
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(240, 214, 192, 0.14);
}

.service-card--primary,
.service-card--directory {
  background:
    radial-gradient(circle at 88% 12%, rgba(240, 214, 192, 0.1), transparent 13rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(91, 24, 33, 0.18) 52%, rgba(12, 10, 11, 0.62));
}

.brand-panel {
  min-height: 500px;
  background:
    radial-gradient(circle at 50% 42%, rgba(91, 24, 33, 0.34), transparent 20rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(12, 10, 11, 0.58));
}

.about-copy blockquote {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(240, 214, 192, 0.18);
  border-left: 3px solid var(--bronze);
  border-radius: 0 14px 14px 0;
  backdrop-filter: blur(18px);
}

.responsibility .section-intro {
  max-width: 780px;
}

.faq-item {
  padding-inline: 20px;
}

.cta {
  background:
    radial-gradient(circle at 84% 38%, rgba(189, 135, 100, 0.13), transparent 19rem),
    linear-gradient(125deg, #3a1319, #181214 58%, #0e0c0d);
}

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

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

  .about__grid {
    gap: 42px;
  }
}

@media (max-width: 620px) {
  .hero__pill-row {
    gap: 6px;
  }

  .hero__pill-row span {
    padding: 6px 8px;
    font-size: 0.5rem;
  }

  .quick-start-grid,
  .knowledge-grid {
    grid-template-columns: 1fr;
  }

  .quick-start-card {
    min-height: 176px;
  }

  .knowledge-card {
    min-height: 0;
    padding: 18px;
  }

  .knowledge-library-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .brand-panel {
    min-height: 370px;
  }
}

/* Full-screen guide image viewer: keep the overview, enlarge one step on demand. */
body.image-lightbox-open {
  overflow: hidden;
}

.modal__close {
  width: 44px;
  height: 44px;
}

.guide-gallery__item {
  display: block;
  width: 100%;
  padding: 0;
  color: inherit;
  cursor: zoom-in;
  appearance: none;
  -webkit-appearance: none;
  touch-action: manipulation;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.guide-gallery__item:hover,
.guide-gallery__item:focus-visible {
  border-color: rgba(240, 214, 192, 0.52);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  transform: translateY(-2px);
}

.guide-gallery__item em {
  position: absolute;
  bottom: 8px;
  left: 8px;
  padding: 4px 7px;
  color: var(--bronze-pale);
  background: rgba(11, 10, 11, 0.82);
  border: 1px solid rgba(240, 214, 192, 0.2);
  font-size: 0.64rem;
  font-style: normal;
  font-weight: 700;
}

.image-lightbox {
  position: fixed;
  z-index: 2400;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 14px;
}

.image-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 4, 5, 0.94);
  backdrop-filter: blur(18px);
}

.image-lightbox__dialog {
  position: relative;
  display: grid;
  width: min(100%, 1480px);
  height: min(96vh, 1040px);
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 80% 12%, rgba(189, 135, 100, 0.1), transparent 24rem),
    linear-gradient(145deg, rgba(30, 20, 22, 0.98), rgba(7, 6, 7, 0.99));
  border: 1px solid rgba(240, 214, 192, 0.24);
  border-radius: 18px;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.54);
}

.image-lightbox__header,
.image-lightbox__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  background: rgba(11, 10, 11, 0.68);
}

.image-lightbox__header {
  border-bottom: 1px solid rgba(240, 214, 192, 0.14);
}

.image-lightbox__header .eyebrow {
  margin-bottom: 4px;
  font-size: 0.54rem;
}

.image-lightbox__header h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1rem, 2vw, 1.28rem);
  line-height: 1.3;
}

.image-lightbox__close,
.image-lightbox__nav {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(240, 214, 192, 0.24);
  border-radius: 50%;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.image-lightbox__close:hover,
.image-lightbox__nav:hover {
  background: rgba(189, 135, 100, 0.2);
  border-color: rgba(240, 214, 192, 0.54);
}

.image-lightbox__nav:disabled {
  visibility: hidden;
}

.image-lightbox__stage {
  display: grid;
  min-height: 0;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
}

.image-lightbox__canvas {
  display: grid;
  min-width: 0;
  min-height: 0;
  height: 100%;
  place-items: center;
  overflow: auto;
  overscroll-behavior: contain;
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(240, 214, 192, 0.12);
}

.image-lightbox__canvas img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.image-lightbox__footer {
  border-top: 1px solid rgba(240, 214, 192, 0.14);
  color: var(--ink-soft);
  font-size: 0.76rem;
}

.image-lightbox__footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 7px;
  color: var(--bronze-pale);
  font-weight: 700;
}

@media (max-width: 620px) {
  .image-lightbox {
    padding: 0;
  }

  .image-lightbox__dialog {
    width: 100%;
    height: 100dvh;
    border: 0;
    border-radius: 0;
  }

  .image-lightbox__header,
  .image-lightbox__footer {
    padding: 12px;
  }

  .image-lightbox__stage {
    position: relative;
    grid-template-columns: 1fr;
    padding: 8px;
  }

  .image-lightbox__nav {
    position: absolute;
    z-index: 2;
    top: 50%;
    width: 46px;
    height: 46px;
    transform: translateY(-50%);
  }

  .image-lightbox__nav:hover {
    transform: translateY(-50%);
  }

  .image-lightbox__nav--prev {
    left: 14px;
  }

  .image-lightbox__nav--next {
    right: 14px;
  }

  .image-lightbox__canvas {
    width: 100%;
  }

  .image-lightbox__footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }
}

/* Final brand palette lock: keep the logo-wine identity consistent across desktop and mobile. */
:root {
  --deep-ink: #090304;
  --deep-ink-2: #160607;
  --deep-ink-3: #260608;
  --wine-deep: #1b0507;
  --wine: #35070c;
  --wine-rich: #570d18;
  --wine-soft: #78182a;
  --font-heading: "Noto Sans Thai", sans-serif;
  --font-editorial: "Manrope", "Noto Sans Thai", sans-serif;
  --canvas: linear-gradient(142deg, #35070c 0%, #1b0507 46%, #090304 100%);
  --canvas-soft: linear-gradient(138deg, #570d18 0%, #260608 54%, #0b0405 100%);
  --surface: linear-gradient(145deg, rgba(78, 15, 24, 0.48), rgba(8, 4, 5, 0.9));
  --surface-solid: #170608;
  --signal: var(--wine-rich);
}

body {
  background:
    radial-gradient(circle at 12% 8%, rgba(120, 24, 42, 0.72), transparent 29rem),
    radial-gradient(circle at 88% 70%, rgba(65, 8, 16, 0.58), transparent 34rem),
    linear-gradient(142deg, #35070c 0%, #180507 52%, #090304 100%);
}

.hero {
  background:
    radial-gradient(circle at 80% 22%, rgba(240, 214, 192, 0.13), transparent 20rem),
    radial-gradient(circle at 14% 28%, rgba(120, 24, 42, 0.76), transparent 30rem),
    linear-gradient(124deg, #430911 0%, #1b0507 54%, #090304 100%);
}

.section--soft,
.channels,
.manifesto {
  background:
    radial-gradient(circle at 10% 15%, rgba(87, 13, 24, 0.2), transparent 24rem),
    #160607;
}

.section--ink,
.knowledge,
.about,
.faq {
  background:
    radial-gradient(circle at 84% 14%, rgba(87, 13, 24, 0.16), transparent 24rem),
    #0b0405;
}

.brand__word,
.signal-strip__track span {
  font-family: var(--font-editorial);
  font-weight: 700;
  letter-spacing: 0.13em;
}

/* Decision details: show essential facts first, reveal dense specs only when requested. */
.decision-details {
  background:
    radial-gradient(circle at 12% 12%, rgba(120, 24, 42, 0.2), transparent 27rem),
    radial-gradient(circle at 88% 82%, rgba(189, 135, 100, 0.08), transparent 28rem),
    linear-gradient(180deg, rgba(14, 9, 10, 0.98), rgba(27, 10, 13, 0.96));
}

.decision-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  gap: 16px;
}

.decision-card {
  padding: clamp(22px, 3vw, 34px);
  background:
    radial-gradient(circle at 90% 6%, rgba(240, 214, 192, 0.08), transparent 16rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(87, 13, 24, 0.12) 48%, rgba(8, 4, 5, 0.76));
  border: 1px solid rgba(240, 214, 192, 0.22);
  border-radius: 20px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 24px 64px rgba(4, 2, 3, 0.24);
  backdrop-filter: blur(24px) saturate(1.1);
  -webkit-backdrop-filter: blur(24px) saturate(1.1);
}

.decision-card__head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(240, 214, 192, 0.16);
}

.decision-card h3 {
  max-width: 22ch;
  margin: 6px 0 0;
  color: var(--ink);
  font-size: clamp(1.45rem, 2.1vw, 2rem);
  letter-spacing: -0.04em;
  line-height: 1.3;
}

.decision-card__stamp {
  flex: 0 0 auto;
  color: rgba(240, 214, 192, 0.66);
  font-family: var(--font-editorial);
  font-size: 0.53rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.6;
  text-align: right;
}

.decision-card__lead {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.78;
}

.broker-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.broker-facts > div {
  min-height: 116px;
  padding: 15px;
  background: rgba(7, 4, 5, 0.46);
  border: 1px solid rgba(240, 214, 192, 0.14);
  border-radius: 12px;
}

.broker-facts span,
.class-price span,
.broker-account-grid span {
  display: block;
  color: var(--bronze-soft);
  font-family: var(--font-editorial);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.broker-facts strong {
  display: block;
  margin-top: 7px;
  color: #fff8f2;
  font-size: 0.96rem;
  line-height: 1.4;
}

.broker-facts small {
  display: block;
  margin-top: 5px;
  color: #b9aaab;
  font-size: 0.7rem;
  line-height: 1.58;
}

.decision-disclosure {
  margin-top: 16px;
  padding: 0 16px;
  background: rgba(7, 4, 5, 0.46);
  border: 1px solid rgba(240, 214, 192, 0.16);
  border-radius: 12px;
}

.decision-disclosure summary {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--bronze-pale);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 800;
  list-style: none;
}

.decision-disclosure summary::-webkit-details-marker {
  display: none;
}

.decision-disclosure summary .icon {
  width: 17px;
  height: 17px;
  transition: transform 180ms ease;
}

.decision-disclosure[open] summary .icon {
  transform: rotate(180deg);
}

.broker-account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  padding: 0 0 14px;
}

.broker-account-grid article {
  padding: 13px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(240, 214, 192, 0.11);
  border-radius: 10px;
}

.broker-account-grid h4 {
  margin: 7px 0 0;
  color: #fff8f2;
  font-size: 0.82rem;
  line-height: 1.4;
}

.broker-account-grid p,
.decision-disclosure__note {
  margin: 6px 0 0;
  color: #b9aaab;
  font-size: 0.7rem;
  line-height: 1.62;
}

.decision-disclosure__note {
  margin: 0 0 15px;
}

.decision-pros-cons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.decision-pros-cons > div {
  padding: 15px;
  background: rgba(7, 4, 5, 0.44);
  border: 1px solid rgba(240, 214, 192, 0.13);
  border-radius: 12px;
}

.decision-pros-cons__label {
  margin: 0;
  color: var(--bronze-pale);
  font-size: 0.75rem;
  font-weight: 800;
}

.decision-pros-cons ul,
.class-format-list {
  display: grid;
  gap: 9px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.decision-pros-cons li,
.class-format-list li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 8px;
  color: #c9bdba;
  font-size: 0.74rem;
  line-height: 1.62;
}

.decision-pros-cons .icon,
.class-format-list .icon {
  width: 15px;
  height: 15px;
  margin-top: 3px;
  color: var(--bronze-soft);
}

.decision-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 20px;
}

.decision-card__actions .button {
  min-height: 44px;
  padding-inline: 16px;
  font-size: 0.76rem;
}

.decision-card__actions .text-link {
  font-size: 0.74rem;
}

.decision-card__footnote {
  margin: 16px 0 0;
  color: #a99da0;
  font-size: 0.68rem;
  line-height: 1.65;
}

.class-price {
  margin-top: 20px;
  padding: 19px;
  background:
    radial-gradient(circle at 90% 12%, rgba(240, 214, 192, 0.1), transparent 12rem),
    rgba(7, 4, 5, 0.56);
  border: 1px solid rgba(240, 214, 192, 0.18);
  border-radius: 14px;
}

.class-price strong {
  display: block;
  margin-top: 4px;
  color: #fff8f2;
  font-size: clamp(1.75rem, 4vw, 2.8rem);
  letter-spacing: -0.06em;
  line-height: 1.1;
}

.class-price small {
  display: block;
  margin-top: 8px;
  color: var(--bronze-pale);
  font-size: 0.78rem;
}

.class-format-list {
  margin-top: 18px;
}

.class-format-list li {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(240, 214, 192, 0.1);
}

.class-format-list strong {
  color: #fff8f2;
}

.brand--footer {
  display: flex !important;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 24px;
}

.brand--footer .brand__logo {
  width: 58px;
  height: 58px;
}

.brand--footer .brand__text {
  gap: 8px;
  padding-top: 5px;
}

.brand--footer .brand__word {
  line-height: 1.16;
}

.footer__grid > div:first-child > p {
  margin-top: 10px;
}

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

@media (max-width: 620px) {
  .decision-card__head {
    display: grid;
    gap: 10px;
  }

  .decision-card__stamp {
    text-align: left;
  }

  .broker-facts,
  .broker-account-grid,
  .decision-pros-cons {
    grid-template-columns: 1fr;
  }

  .broker-facts > div {
    min-height: 0;
  }

  .decision-card__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .decision-card__actions .button {
    justify-content: center;
    width: 100%;
  }

  .brand--footer {
    gap: 14px;
    margin-bottom: 20px;
  }

  .brand--footer .brand__logo {
    width: 52px;
    height: 52px;
  }
}

.hero h1,
.section-intro h2,
.ebook-panel h2,
.about-copy h2,
.cta h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.quick-start-card:hover,
.quick-start-card:focus-visible,
.path-card:hover,
.path-card:focus-visible,
.path-card.is-active,
.knowledge-card:hover,
.knowledge-card:focus-within,
.service-card:hover,
.service-card:focus-within {
  background:
    radial-gradient(circle at 86% 12%, rgba(240, 214, 192, 0.13), transparent 13rem),
    linear-gradient(145deg, rgba(120, 24, 42, 0.96), rgba(61, 7, 15, 0.9) 54%, rgba(10, 4, 5, 0.96));
  border-color: rgba(240, 214, 192, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 26px 68px rgba(24, 2, 6, 0.42);
  transform: translateY(-4px);
}

.button--primary:hover,
.button--primary:focus-visible,
.button--light:hover,
.button--light:focus-visible {
  color: #fff8f1;
  background: var(--wine-rich);
  box-shadow: 0 16px 36px rgba(87, 13, 24, 0.38);
}

.button--ghost:hover,
.button--ghost:focus-visible,
.text-link:hover,
.text-link:focus-visible,
.filter-button:hover,
.popular-searches button:hover {
  color: #fff8f1;
  background: rgba(120, 24, 42, 0.72);
  border-color: rgba(240, 214, 192, 0.42);
}

@media (max-width: 760px) {
  body {
    background:
      radial-gradient(circle at 16% 7%, rgba(120, 24, 42, 0.84), transparent 22rem),
      radial-gradient(circle at 88% 62%, rgba(65, 8, 16, 0.66), transparent 26rem),
      linear-gradient(155deg, #3a070d 0%, #180507 52%, #090304 100%);
  }

  .hero {
    background:
      radial-gradient(circle at 54% 14%, rgba(120, 24, 42, 0.88), transparent 24rem),
      linear-gradient(155deg, #430911 0%, #1b0507 56%, #090304 100%);
  }

  .quick-start-card:active,
  .path-card:active,
  .knowledge-card:active,
  .service-card:active {
    background:
      radial-gradient(circle at 86% 12%, rgba(240, 214, 192, 0.13), transparent 13rem),
      linear-gradient(145deg, rgba(120, 24, 42, 0.96), rgba(61, 7, 15, 0.9) 54%, rgba(10, 4, 5, 0.96));
    border-color: rgba(240, 214, 192, 0.5);
  }
}

/* Final broker layout override. Keep this at the end so desktop never returns to an uneven 2-column card row. */
.decision-grid {
  grid-template-columns: 1fr;
  align-items: start;
  gap: clamp(18px, 2.6vw, 28px);
}

.decision-card--broker,
.decision-card--class {
  width: 100%;
}

.broker-account-grid,
.capital-plan-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 178px), 1fr));
}

.broker-accounts-panel {
  padding-bottom: 16px;
}

.broker-accounts-note {
  margin: 0 0 14px;
  color: rgba(255, 244, 232, 0.72);
  font-size: 0.76rem;
  line-height: 1.65;
}

.capital-plan-grid article,
.broker-account-grid article {
  min-width: 0;
}

.capital-plan-grid strong {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.55vw, 1.42rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
  white-space: nowrap;
}

@media (min-width: 980px) {
  .decision-card--broker .broker-facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .decision-card--broker .broker-trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .decision-card--broker .decision-pros-cons,
  .decision-card--class .decision-pros-cons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Final responsive selector layout. This block must remain at EOF. */
.tool-choice-layout {
  grid-template-columns: 1fr;
  align-items: start;
}

.tool-choice-list {
  grid-template-columns: 1fr;
  align-items: stretch;
}

.tool-choice {
  grid-template-columns: auto minmax(0, 1fr);
  align-content: center;
  height: 100%;
  min-height: 96px;
}

.tool-choice em {
  grid-column: 2;
  max-width: none;
  text-align: left;
}

.tool-choice-preview {
  position: static !important;
  grid-template-columns: 1fr;
  min-height: 0;
}

.tool-choice-preview__media {
  display: grid;
  min-height: 0;
  aspect-ratio: 16 / 10;
  place-items: center;
  padding: clamp(12px, 2vw, 20px);
}

.tool-choice-preview__media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

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

@media (min-width: 520px) {
  .tool-plan-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

  .tool-choice {
    min-height: 112px;
  }
}

@media (min-width: 900px) {
  .tool-choice-preview {
    grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
    align-items: stretch;
  }

  .tool-choice-preview__media {
    min-height: 100%;
    aspect-ratio: auto;
  }
}

@media (min-width: 1100px) {
  .tool-choice-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tool-choice {
    min-height: 118px;
  }

  .tool-choice-preview {
    grid-template-columns: minmax(0, 0.94fr) minmax(440px, 1.06fr);
  }
}

/* Local flow review: equal entry cards and dedicated registration sections. */
.container {
  width: min(1180px, calc(100% - 48px));
  max-width: 1180px;
}

.quick-start-grid.quick-start-grid--bento {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.quick-start-grid--bento .quick-start-card,
.quick-start-grid--bento .quick-start-card:nth-child(n + 4),
.quick-start-grid--bento .quick-start-card--anchor {
  grid-column: auto;
  min-width: 0;
  min-height: 100%;
}

.decision-details .decision-card--broker {
  display: none;
}

.decision-details .decision-card--class {
  max-width: none;
}

.signal-registration-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
  padding: clamp(22px, 3.5vw, 38px);
  color: #fff8f1;
  background:
    radial-gradient(circle at 88% 12%, rgba(240, 214, 192, 0.12), transparent 14rem),
    linear-gradient(145deg, rgba(120, 24, 42, 0.96), rgba(42, 6, 12, 0.98));
  border: 1px solid rgba(240, 214, 192, 0.34);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(34, 4, 8, 0.24);
}

.signal-registration-card__icon {
  display: grid;
  width: clamp(54px, 6vw, 72px);
  aspect-ratio: 1;
  place-items: center;
  color: var(--wine-rich);
  background: #fff8f1;
  border-radius: 50%;
}

.signal-registration-card__icon .icon {
  width: 28px;
  height: 28px;
}

.signal-registration-card__content {
  min-width: 0;
}

.signal-registration-card h3 {
  margin: 7px 0 8px;
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.22;
}

.signal-registration-card p {
  max-width: 62ch;
  margin-bottom: 0;
  color: rgba(255, 248, 241, 0.78);
}

.signal-registration-card .card-tag {
  color: rgba(255, 248, 241, 0.64);
}

.signal-registration-card .button {
  justify-content: center;
  white-space: nowrap;
}

@media (max-width: 1080px) {
  .quick-start-grid.quick-start-grid--bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .container {
    width: min(720px, calc(100% - 32px));
  }
}

@media (max-width: 760px) {
  .signal-registration-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .signal-registration-card .button {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 620px) {
  .quick-start-grid.quick-start-grid--bento {
    grid-template-columns: 1fr;
  }

  .quick-start-grid--bento .quick-start-card {
    min-height: 0;
  }

  .signal-registration-card {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .signal-registration-card__icon {
    width: 54px;
  }
}

/* Local typography review: preserve intentional two-line headings and add restrained gold rhythm. */
.ebook-panel__content h2 {
  font-size: 2.65rem !important;
  line-height: 1.18;
  letter-spacing: 0;
  white-space: nowrap;
}

.ebook-panel__content h2 span {
  display: block;
  white-space: nowrap;
}

#start-here .section-intro .eyebrow,
#knowledge .section-intro .eyebrow,
#register .section-intro .eyebrow,
#decision-details .section-intro .eyebrow,
#tools-store .section-intro .eyebrow,
#channels .section-intro .eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

#start-here .section-intro .eyebrow::before,
#knowledge .section-intro .eyebrow::before,
#register .section-intro .eyebrow::before,
#decision-details .section-intro .eyebrow::before,
#tools-store .section-intro .eyebrow::before,
#channels .section-intro .eyebrow::before {
  content: "";
  flex: 0 0 28px;
  height: 1px;
  background: var(--bronze);
  box-shadow: 0 0 12px rgba(189, 135, 100, 0.38);
}

.ebook-panel,
.clear-flow-card,
.decision-card--class,
.tool-choice-preview,
.signal-registration-card {
  border-top-color: rgba(240, 214, 192, 0.72);
  box-shadow:
    inset 0 2px 0 rgba(189, 135, 100, 0.48),
    0 24px 60px rgba(12, 4, 6, 0.2);
}

@media (max-width: 1100px) {
  .ebook-panel__content h2 {
    font-size: 2.1rem !important;
  }
}

@media (max-width: 860px) {
  .ebook-panel__content h2 {
    font-size: 1.82rem !important;
  }
}

@media (max-width: 620px) {
  .ebook-panel__content h2 {
    font-size: 1.3rem !important;
    line-height: 1.25;
  }
}

@media (max-width: 360px) {
  .ebook-panel__content h2 {
    font-size: 1.14rem !important;
  }
}

/* Local desktop E-book repair: keep the story continuous and clear the sticky header. */
#ebook {
  scroll-margin-top: 132px;
}

@media (min-width: 900px) {
  .ebook-panel {
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
    grid-template-rows: auto auto;
    align-items: start;
    gap: 26px clamp(32px, 4vw, 58px);
  }

  .ebook-panel__media {
    position: static;
    grid-column: 1;
    grid-row: 1;
    align-content: start;
    align-self: start;
    max-height: none;
    overflow: visible;
  }

  .ebook-book__desktop-note,
  .ebook-book__desktop-summary {
    display: none !important;
  }

  .ebook-panel__content {
    grid-column: 2;
    grid-row: 1;
  }

  .ebook-panel__form-area {
    grid-column: 1 / -1;
    grid-row: 2;
    align-self: start;
    padding-top: 24px;
  }

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

/* Local broker restore and quieter final signal section. */
.registration-hub--clear .decision-card--broker-restored {
  display: block;
  width: 100%;
  margin-top: clamp(22px, 3vw, 34px);
  color: #fff8f1;
  background:
    radial-gradient(circle at 88% 8%, rgba(189, 135, 100, 0.1), transparent 18rem),
    linear-gradient(145deg, rgba(34, 25, 27, 0.98), rgba(15, 12, 13, 0.99));
  border-color: rgba(240, 214, 192, 0.28);
  box-shadow:
    inset 0 2px 0 rgba(189, 135, 100, 0.44),
    0 24px 64px rgba(4, 3, 4, 0.26);
}

.registration-hub--clear .decision-card--broker-restored .decision-card__lead,
.registration-hub--clear .decision-card--broker-restored .decision-card__footnote {
  color: rgba(255, 248, 241, 0.72);
}

#channels {
  padding-block: clamp(58px, 7vw, 92px);
  background:
    radial-gradient(circle at 82% 14%, rgba(189, 135, 100, 0.07), transparent 22rem),
    linear-gradient(180deg, rgba(17, 14, 15, 0.98), rgba(10, 9, 10, 0.99));
  border-top: 1px solid rgba(240, 214, 192, 0.12);
}

#channels .section-intro {
  margin-bottom: 28px;
}

#channels .section-intro h2 {
  font-size: clamp(1.65rem, 2.7vw, 2.45rem);
}

.signal-registration-card {
  gap: clamp(16px, 2.2vw, 26px);
  padding: clamp(20px, 2.7vw, 30px);
  color: #fff8f1;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(44, 31, 34, 0.18)),
    rgba(12, 10, 11, 0.88);
  border-color: rgba(240, 214, 192, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 18px 42px rgba(4, 3, 4, 0.2);
}

.signal-registration-card__icon {
  width: clamp(46px, 5vw, 58px);
  color: var(--bronze-pale);
  background: rgba(189, 135, 100, 0.12);
  border: 1px solid rgba(240, 214, 192, 0.24);
}

.signal-registration-card__icon .icon {
  width: 23px;
  height: 23px;
}

.signal-registration-card h3 {
  font-size: clamp(1.18rem, 1.8vw, 1.55rem);
}

.signal-registration-card .button {
  color: #fff8f1;
  background: transparent;
  border: 1px solid rgba(240, 214, 192, 0.34);
  box-shadow: none;
}

.signal-registration-card .button:hover,
.signal-registration-card .button:focus-visible {
  background: rgba(189, 135, 100, 0.14);
}

/* Hard desktop lock: the E-book form always spans beneath both top columns. */
@media (min-width: 900px) {
  .ebook-panel {
    grid-auto-flow: row;
    grid-template-areas:
      "cover intro"
      "form form";
  }

  .ebook-panel__media {
    grid-area: cover !important;
    grid-row: 1 !important;
    height: fit-content;
  }

  .ebook-panel__content {
    grid-area: intro !important;
    grid-row: 1 !important;
    height: fit-content;
  }

  .ebook-panel__form-area {
    grid-area: form !important;
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
  }

  .ebook-book__desktop-note,
  .ebook-book__desktop-summary {
    display: none !important;
  }
}

/* Local hero repair: preserve the intended two-line headline on desktop screens. */
@media (min-width: 900px) and (max-width: 1080px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
    gap: 32px;
  }

  .hero h1 {
    max-width: none;
    font-size: 2.35rem;
    line-height: 1.14;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .hero h1 br {
    display: none;
  }

  .hero h1 span {
    display: block;
    color: var(--bronze-soft);
    white-space: nowrap;
  }
}

@media (min-width: 1081px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(400px, 0.92fr);
    gap: 40px;
  }

  .hero h1 {
    max-width: none;
    font-size: 3.65rem;
    line-height: 1.12;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .hero h1 br {
    display: none;
  }

  .hero h1 span {
    display: block;
    color: var(--bronze-soft);
    white-space: nowrap;
  }
}

@media (max-width: 620px) {
  .hero h1 {
    font-size: 1.85rem;
    line-height: 1.12;
    letter-spacing: 0;
    white-space: nowrap;
  }

  .hero h1 br {
    display: none;
  }

  .hero h1 span {
    display: block;
    color: var(--bronze-soft);
    white-space: nowrap;
  }
}

@media (max-width: 360px) {
  .hero h1 {
    font-size: 1.68rem;
  }
}

@media (max-width: 340px) {
  #start-here .section-intro h2 {
    font-size: 1.25rem;
    line-height: 1.2;
  }
}

/* Local copy cleanup: keep concise primary headings on one readable line. */
.iris-entry__headline h2,
.section-intro h2,
.ebook-panel__content h2,
.about-copy h2,
.faq .section-intro h2,
.cta h2 {
  letter-spacing: 0;
  white-space: nowrap;
}

@media (max-width: 620px) {
  .iris-entry__headline h2,
  .section-intro h2,
  .ebook-panel__content h2,
  .about-copy h2,
  .faq .section-intro h2,
  .cta h2 {
    font-size: 1.35rem !important;
    line-height: 1.2;
  }

  .official-links h3 {
    font-size: 1.08rem;
    letter-spacing: 0;
    white-space: nowrap;
  }
}

@media (max-width: 360px) {
  .iris-entry__headline h2,
  .section-intro h2,
  .ebook-panel__content h2,
  .about-copy h2,
  .faq .section-intro h2,
  .cta h2 {
    font-size: 1.18rem !important;
  }

  .official-links h3 {
    font-size: 0.98rem;
  }
}

/* Local tools merge: onboarding guide and package selector share one surface. */
.tool-catalog-panel__guide {
  margin: 0;
  padding: 0 0 clamp(24px, 3vw, 34px);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(240, 214, 192, 0.18);
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.tool-catalog-panel__guide + .tool-investment-note {
  margin-top: clamp(24px, 3vw, 34px);
}

/* Local readability pass: brighten neutral copy while preserving gold accents. */
:root {
  --ink: #ffffff;
  --ink-soft: rgba(255, 255, 255, 0.9);
  --quiet-gray: #ffffff;
  --quiet-gray-dark: rgba(255, 255, 255, 0.82);
}

:where(
  .nav-menu > a:not(.button),
  .hero__lead,
  .hero__note span,
  .iris-entry__copy p,
  .section-intro > p,
  .section p:not(.eyebrow):not(.card-tag):not(.decision-pros-cons__label),
  .section small,
  .section label > span,
  .section li > span:not(:first-child),
  .hero__pill-row span,
  .broker-facts span,
  .broker-facts small,
  .capital-plan-grid span,
  .capital-plan-grid small,
  .broker-account-grid p,
  .tool-choice__body small,
  .tool-choice-preview__body > small,
  .official-links a,
  .footer p:not(.footer__label),
  .footer a:not(.footer__safety-link)
) {
  color: rgba(255, 255, 255, 0.9) !important;
}

:where(.section small, .flow-note, .tool-choice-preview__body > small) {
  font-size: 0.78rem !important;
  font-weight: 400;
  line-height: 1.65;
}

:where(.eyebrow, .card-tag, .mini-label, .footer__label) {
  font-size: 0.72rem !important;
}

.decision-card__stamp {
  font-size: 0.7rem;
}

.footer__bottom p,
.footer a {
  font-size: 0.8rem;
  line-height: 1.65;
}

.truth-bar__inner > p,
.popular-searches > span,
.knowledge-card .card-tag,
.cta p {
  color: rgba(255, 255, 255, 0.9) !important;
}

.truth-bar__inner > p,
.popular-searches > span {
  font-size: 0.75rem;
}

.button--light {
  color: #1a1113 !important;
}

main h1,
main h2,
main h3,
main h4 {
  font-weight: 700;
}

main > section h1,
main > section h2 {
  letter-spacing: 0;
  white-space: nowrap;
}

@media (min-width: 621px) and (max-width: 899.98px) {
  .hero h1 {
    font-size: 2.4rem !important;
    line-height: 1.1;
  }

  .iris-entry__headline h2,
  .section-intro h2,
  .ebook-panel__content h2,
  .about-copy h2,
  .faq .section-intro h2,
  .cta h2 {
    font-size: 2rem;
    line-height: 1.18;
  }
}

@media (min-width: 900px) and (max-width: 1199px) {
  .iris-entry__headline h2,
  .section-intro h2,
  .ebook-panel__content h2,
  .about-copy h2,
  .faq .section-intro h2,
  .cta h2 {
    font-size: 2.2rem;
    line-height: 1.18;
  }
}

@media (min-width: 1081px) and (max-width: 1199px) {
  .hero h1 {
    font-size: 3.2rem;
  }
}

@media (min-width: 1200px) {
  .iris-entry__headline h2,
  .section-intro h2,
  .ebook-panel__content h2,
  .about-copy h2,
  .faq .section-intro h2,
  .cta h2 {
    font-size: 3rem;
    line-height: 1.16;
  }

  .about-copy h2 {
    font-size: 2.9rem;
  }
}

/* Final focused page polish: compact mobile flow and unified Private Class opening. */
.subpage-hero--class {
  padding: clamp(104px, 10vw, 126px) 0 clamp(20px, 3vw, 30px);
  background:
    radial-gradient(circle at 50% 0%, rgba(189, 135, 100, 0.07), transparent 24rem),
    #0e0b0c;
}

.subpage-hero--class::after {
  background: linear-gradient(90deg, transparent, rgba(240, 214, 192, 0.22), transparent);
}

.subpage-hero--class h1 {
  margin-top: 0;
}

@media (max-width: 620px) {
  .subpage-hero--class {
    padding: 88px 0 16px;
  }

  .subpage-hero--class h1 {
    font-size: clamp(1.55rem, 7vw, 1.9rem);
  }

  .class-opening-poster {
    padding: 14px 0 20px;
  }

  .class-opening-poster__inner {
    gap: 14px;
  }

  .class-opening-poster__image {
    width: min(100%, 350px);
    border-radius: 10px;
  }

  .class-opening-poster__action {
    min-height: 48px;
  }

  #channels {
    padding-block: 28px 36px;
    scroll-margin-top: 72px;
  }

  #channels .section-intro {
    margin-bottom: 14px;
  }

  #channels .section-intro > p {
    display: none;
  }

  .signal-registration-card {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px 12px;
    padding: 14px;
  }

  .signal-registration-card__icon {
    width: 42px;
  }

  .signal-registration-card__content p:not(.card-tag) {
    display: none;
  }

  .signal-registration-card h3 {
    margin: 3px 0 0;
    font-size: 1.05rem;
  }

  .signal-registration-card .button {
    grid-column: 1 / -1;
    min-height: 44px;
  }

  .official-links {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
    padding: 16px;
  }

  .official-links h3 {
    font-size: 1rem;
  }

  .official-links__list {
    gap: 8px;
  }

  .official-links__list a {
    min-height: 38px;
    font-size: 0.64rem;
  }
}

/* Keep the compact sticky menu pinned to the top after scrolling. */
@media (max-width: 860px) {
  .site-header {
    transition:
      top 220ms ease,
      background-color 220ms ease,
      border-color 220ms ease,
      box-shadow 220ms ease,
      backdrop-filter 220ms ease;
  }

  .site-header.is-scrolled {
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    background: rgba(11, 10, 11, 0.94);
    border-bottom: 1px solid rgba(240, 214, 192, 0.16);
    border-radius: 0;
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.24);
  }

  .site-header.is-scrolled .nav {
    min-height: 62px;
  }

  .site-header.is-scrolled .brand__logo {
    width: 44px;
    height: 44px;
  }

  .site-header.is-scrolled .brand__descriptor {
    display: none;
  }

  .site-header.is-scrolled .nav-menu {
    top: calc(100% + 10px);
    right: 16px;
    bottom: auto;
    left: 16px;
    max-height: min(68vh, 520px);
    overflow-y: auto;
    border-radius: 20px;
    transform: translateY(-12px);
  }

  .site-header.is-scrolled .nav-menu.is-open {
    transform: translateY(0);
  }
}

/* Mobile first-screen polish and simpler part labels. */
#start-here .section-intro .eyebrow::before,
#knowledge .section-intro .eyebrow::before,
#register .section-intro .eyebrow::before,
#decision-details .section-intro .eyebrow::before,
#tools-store .section-intro .eyebrow::before,
#channels .section-intro .eyebrow::before {
  display: none;
}

.knowledge-library-head h3 {
  white-space: nowrap;
}

.decision-card--broker h3 {
  max-width: none;
}

.decision-card--broker h3 .broker-title-main,
.decision-card--broker h3 .broker-title-sub {
  display: block;
  letter-spacing: 0;
  white-space: nowrap;
}

.decision-card--broker h3 .broker-title-main {
  color: #fff8f2;
}

.decision-card--broker h3 .broker-title-sub {
  color: var(--bronze-pale);
  font-size: 0.84em;
  line-height: 1.35;
}

@media (max-width: 620px) {
  .hero__grid {
    padding-top: 86px !important;
    padding-bottom: 22px;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 8.7vw, 2.42rem);
    line-height: 1.02;
  }

  .hero__lead {
    margin-top: 14px;
    line-height: 1.68;
  }

  .hero__actions {
    margin-top: 22px;
  }

  .hero__note {
    margin-top: 20px;
  }

  .hero__pill-row {
    margin-top: 16px;
  }

  .hero-visual {
    margin-top: 34px;
  }

  .hero-visual__mobile {
    aspect-ratio: 1.55 / 1;
    margin: 12px 0 14px;
  }

  .signal-strip__track {
    min-height: 34px;
  }

  .knowledge-library-head h3 {
    font-size: clamp(1.08rem, 5.2vw, 1.42rem);
    letter-spacing: 0;
  }

  .decision-card--broker h3 .broker-title-sub {
    font-size: 0.78em;
  }
}

@media (max-width: 430px) {
  .hero__grid {
    padding-top: 76px !important;
  }

  .hero__lead,
  .hero__note span {
    font-size: 0.88rem;
  }

  .knowledge-library-head h3 {
    font-size: clamp(0.98rem, 4.65vw, 1.18rem);
  }

  .decision-card--broker h3 .broker-title-sub {
    font-size: 0.7em;
  }
}

/* Mobile section rhythm: tighten every main part and soften color transitions. */
@media (max-width: 620px) {
  .section {
    padding-block: 44px !important;
  }

  .section .section-intro {
    margin-bottom: 28px;
  }

  .section .section-intro--split {
    gap: 10px;
  }

  .iris-entry {
    padding-block: 28px !important;
  }

  .cta {
    padding-block: 48px !important;
  }

  #register,
  #decision-details,
  #tools-store {
    padding-block: 44px !important;
  }

  #register .section-intro,
  #decision-details .section-intro,
  #tools-store .section-intro {
    margin-bottom: 28px;
  }

  #register .section-intro--split,
  #decision-details .section-intro--split,
  #tools-store .section-intro--split {
    gap: 10px;
  }

  .ebook,
  .knowledge,
  #register,
  #decision-details,
  #tools-store,
  #channels,
  .about,
  .faq {
    border-top: 1px solid rgba(240, 214, 192, 0.08);
  }

  .ebook {
    background:
      radial-gradient(circle at 18% 8%, rgba(120, 24, 42, 0.18), transparent 20rem),
      linear-gradient(180deg, rgba(17, 13, 14, 0.98), rgba(20, 14, 15, 0.98));
  }

  .knowledge {
    background:
      radial-gradient(circle at 12% 16%, rgba(91, 24, 33, 0.16), transparent 22rem),
      linear-gradient(180deg, rgba(20, 14, 15, 0.98), rgba(24, 16, 18, 0.98));
  }

  #register {
    background:
      radial-gradient(circle at 12% 8%, rgba(91, 24, 33, 0.22), transparent 20rem),
      linear-gradient(180deg, rgba(24, 16, 18, 0.98), rgba(18, 13, 14, 0.98));
  }

  #decision-details {
    background:
      radial-gradient(circle at 12% 12%, rgba(120, 24, 42, 0.16), transparent 22rem),
      radial-gradient(circle at 88% 82%, rgba(189, 135, 100, 0.06), transparent 22rem),
      linear-gradient(180deg, rgba(18, 13, 14, 0.98), rgba(20, 14, 15, 0.98));
  }

  #tools-store {
    background:
      radial-gradient(circle at 84% 12%, rgba(189, 135, 100, 0.08), transparent 22rem),
      linear-gradient(180deg, rgba(20, 14, 15, 0.98), rgba(26, 16, 18, 0.96));
  }

  #channels,
  .about,
  .faq {
    background:
      radial-gradient(circle at 16% 10%, rgba(91, 24, 33, 0.12), transparent 21rem),
      linear-gradient(180deg, rgba(26, 16, 18, 0.96), rgba(18, 13, 14, 0.98));
  }
}

/* Mobile social links: keep five channels balanced across two rows. */
@media (max-width: 620px) {
  .official-links__list {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    width: 100%;
    gap: 10px;
  }

  .official-links__list a {
    justify-content: center;
    min-width: 0;
    padding: 0 8px;
    letter-spacing: 0;
  }

  .official-links__list a:nth-child(-n + 3) {
    grid-column: span 2;
  }

  .official-links__list a:nth-child(n + 4) {
    grid-column: span 3;
  }
}

@media (max-width: 360px) {
  .official-links__list {
    gap: 8px;
  }

  .official-links__list a {
    min-height: 40px;
    gap: 6px;
    padding-inline: 6px;
    font-size: 0.62rem;
  }
}

/* Conversion flow: clearer first action, three entry paths, proof, and fast E-book route. */
html {
  overflow-x: hidden;
}

.signal-strip {
  max-width: 100vw;
  contain: paint;
}

.lead-path-grid {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 4px;
}

.lead-path-card {
  display: flex;
  min-height: 164px;
  flex-direction: column;
  justify-content: space-between;
  gap: 13px;
  padding: 22px;
  color: #fff8f2;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.105), rgba(93, 24, 34, 0.2)),
    rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(240, 214, 192, 0.2);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.lead-path-card:hover,
.lead-path-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(240, 214, 192, 0.45);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(120, 24, 42, 0.28)),
    rgba(255, 255, 255, 0.05);
}

.lead-path-card span {
  color: var(--bronze-soft);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.lead-path-card strong {
  color: #fff;
  font-size: clamp(1.06rem, 1.45vw, 1.28rem);
  line-height: 1.24;
}

.lead-path-card small {
  color: rgba(255, 248, 242, 0.8);
  font-size: 0.88rem;
  line-height: 1.7;
}

.proof-strip {
  padding-block: clamp(34px, 4vw, 56px);
  background:
    radial-gradient(circle at 82% 10%, rgba(189, 135, 100, 0.08), transparent 24rem),
    linear-gradient(180deg, rgba(27, 16, 18, 0.9), rgba(17, 13, 14, 0.98));
  border-bottom: 1px solid rgba(240, 214, 192, 0.09);
}

.proof-strip__panel {
  display: grid;
  grid-template-columns: minmax(230px, 0.76fr) minmax(0, 1.24fr);
  gap: clamp(20px, 3vw, 36px);
  align-items: start;
  padding: clamp(22px, 3vw, 34px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(91, 24, 33, 0.12) 56%, rgba(10, 8, 9, 0.56));
  border: 1px solid rgba(240, 214, 192, 0.22);
  border-radius: 22px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 24px 64px rgba(4, 3, 4, 0.22);
}

.proof-strip__intro h2 {
  max-width: 440px;
  margin: 12px 0 0;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 2.5vw, 2.4rem);
  line-height: 1.24;
}

.proof-strip__intro,
.proof-strip__grid,
.proof-strip__grid article {
  min-width: 0;
}

.proof-strip__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.proof-strip__grid article {
  min-height: 158px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(240, 214, 192, 0.15);
  border-radius: 16px;
}

.proof-strip__grid span {
  color: var(--bronze-soft);
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.proof-strip__grid strong {
  display: block;
  margin-top: 10px;
  color: #fff;
  font-size: 1.02rem;
  line-height: 1.35;
}

.proof-strip__grid p {
  margin: 9px 0 0;
  color: rgba(255, 248, 242, 0.78);
  font-size: 0.88rem;
  line-height: 1.72;
}

.ebook-fast-path {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
  padding: 20px;
  background:
    radial-gradient(circle at 88% 12%, rgba(189, 135, 100, 0.13), transparent 16rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(120, 24, 42, 0.18));
  border: 1px solid rgba(240, 214, 192, 0.28);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.ebook-fast-path h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.18rem, 1.8vw, 1.48rem);
  line-height: 1.32;
}

.ebook-fast-path p,
.ebook-fast-path small {
  margin: 0;
  color: rgba(255, 248, 242, 0.8);
  line-height: 1.7;
}

.ebook-fast-path .button {
  width: 100%;
}

@media (min-width: 900px) {
  .hero__actions .button--primary {
    min-width: 280px;
  }
}

@media (max-width: 860px) {
  .lead-path-grid,
  .proof-strip__panel,
  .proof-strip__grid {
    grid-template-columns: 1fr;
  }

  .lead-path-card {
    min-height: 0;
  }

  .proof-strip__grid article {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  .lead-path-grid {
    gap: 10px;
  }

  .lead-path-card {
    padding: 18px;
    border-radius: 16px;
  }

  .proof-strip {
    padding-block: 30px;
  }

  .proof-strip__panel {
    padding: 20px;
    border-radius: 18px;
  }

  .proof-strip__grid {
    gap: 10px;
  }

  .proof-strip__grid article {
    padding: 16px;
  }

  .proof-strip__intro .eyebrow {
    overflow-wrap: anywhere;
  }

  .ebook-fast-path {
    padding: 18px;
  }
}

/* Multi-page structure: keep the home page short and move details into focused pages. */
.subpage-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(118px, 13vw, 168px) 0 clamp(46px, 7vw, 82px);
  color: #fff8f2;
  background:
    radial-gradient(circle at 14% 12%, rgba(158, 34, 58, 0.28), transparent 24rem),
    radial-gradient(circle at 88% 18%, rgba(189, 135, 100, 0.1), transparent 24rem),
    linear-gradient(180deg, rgba(12, 10, 11, 0.98), rgba(34, 17, 21, 0.94));
  border-bottom: 1px solid rgba(240, 214, 192, 0.12);
}

.subpage-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(240, 214, 192, 0.42), transparent);
}

.subpage-hero__inner {
  max-width: 900px;
}

.subpage-hero h1 {
  max-width: 860px;
  margin: 14px 0 0;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5vw, 4.9rem);
  line-height: 1.05;
}

.subpage-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255, 248, 242, 0.84);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.85;
}

.subpage-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.page-directory {
  background:
    radial-gradient(circle at 88% 10%, rgba(189, 135, 100, 0.08), transparent 22rem),
    linear-gradient(180deg, rgba(18, 13, 14, 0.98), rgba(27, 16, 18, 0.96));
}

.page-directory__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.page-directory__card {
  display: grid;
  min-height: 190px;
  align-content: start;
  gap: 12px;
  padding: clamp(18px, 2.4vw, 26px);
  color: #fff8f2;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.085), rgba(120, 24, 42, 0.16)),
    rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(240, 214, 192, 0.19);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.11);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.page-directory__card:hover,
.page-directory__card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(240, 214, 192, 0.44);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(120, 24, 42, 0.24)),
    rgba(255, 255, 255, 0.05);
}

.page-directory__card span {
  color: var(--bronze-soft);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.page-directory__card strong {
  color: #fff;
  font-size: clamp(1.12rem, 1.5vw, 1.35rem);
  line-height: 1.25;
}

.page-directory__card small {
  color: rgba(255, 248, 242, 0.78);
  font-size: 0.9rem;
  line-height: 1.7;
}

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

@media (max-width: 620px) {
  .subpage-hero {
    padding: 108px 0 34px;
  }

  .subpage-hero h1 {
    font-size: clamp(2rem, 12vw, 3.1rem);
    line-height: 1.1;
  }

  .subpage-hero p:not(.eyebrow) {
    font-size: 0.98rem;
    line-height: 1.75;
  }

  .subpage-hero__actions {
    flex-direction: column;
  }

  .subpage-hero__actions .button {
    width: 100%;
  }

  .page-directory__grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .page-directory__card {
    min-height: 0;
    border-radius: 16px;
  }
}

/* Clear multi-page home routing. */
.home-flow {
  background:
    radial-gradient(circle at 12% 0%, rgba(158, 34, 58, 0.2), transparent 24rem),
    radial-gradient(circle at 92% 12%, rgba(189, 135, 100, 0.1), transparent 22rem),
    linear-gradient(180deg, rgba(18, 13, 14, 0.98), rgba(27, 16, 18, 0.96));
}

.home-flow__order {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 18px;
  padding: 14px 16px;
  color: rgba(255, 248, 242, 0.82);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(240, 214, 192, 0.15);
  border-radius: 16px;
}

.home-flow__order span {
  color: var(--bronze-soft);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
}

.home-flow__order ol {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-flow__order li {
  padding: 7px 10px;
  color: rgba(255, 248, 242, 0.88);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(240, 214, 192, 0.13);
  border-radius: 999px;
  font-size: 0.82rem;
  line-height: 1;
}

.home-flow__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.home-flow__card {
  display: grid;
  min-height: 210px;
  align-content: start;
  gap: 12px;
  padding: clamp(18px, 2.3vw, 28px);
  color: #fff8f2;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.085), rgba(120, 24, 42, 0.16)),
    rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(240, 214, 192, 0.18);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.11);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.home-flow__card:hover,
.home-flow__card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(240, 214, 192, 0.46);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(120, 24, 42, 0.24)),
    rgba(255, 255, 255, 0.05);
}

.home-flow__card--featured {
  background:
    radial-gradient(circle at 90% 12%, rgba(240, 214, 192, 0.17), transparent 14rem),
    linear-gradient(145deg, rgba(146, 23, 49, 0.72), rgba(48, 21, 26, 0.92));
  border-color: rgba(240, 214, 192, 0.32);
}

.home-flow__card span {
  color: var(--bronze-soft);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-flow__card strong {
  color: #fff;
  font-size: clamp(1.18rem, 1.6vw, 1.48rem);
  line-height: 1.25;
}

.home-flow__card small {
  color: rgba(255, 248, 242, 0.8);
  font-size: 0.92rem;
  line-height: 1.72;
}

.step-nav {
  position: sticky;
  top: var(--header-height, 84px);
  z-index: 24;
  padding: 10px 0;
  background: rgba(10, 8, 9, 0.88);
  border-bottom: 1px solid rgba(240, 214, 192, 0.11);
  backdrop-filter: blur(18px);
}

.step-nav__inner {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.step-nav__inner::-webkit-scrollbar {
  display: none;
}

.step-nav a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 8px 12px;
  color: rgba(255, 248, 242, 0.86);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(240, 214, 192, 0.14);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 800;
  white-space: nowrap;
}

.step-nav a:hover,
.step-nav a:focus-visible {
  color: #fff;
  border-color: rgba(240, 214, 192, 0.38);
}

.step-nav a span {
  color: var(--bronze-soft);
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

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

  .home-flow__order {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-flow__order ol {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .home-flow__grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .home-flow__card {
    min-height: 0;
    border-radius: 16px;
  }

  .home-flow__order {
    padding: 13px;
    border-radius: 14px;
  }

  .home-flow__order li {
    font-size: 0.78rem;
  }

  .step-nav {
    top: 78px;
    padding: 8px 0;
  }

  .step-nav a {
    min-height: 36px;
    padding: 8px 11px;
    font-size: 0.8rem;
  }
}



/* Private Class curriculum and poster details. */
.decision-grid--class-only { grid-template-columns: minmax(0, 1fr); }
.decision-grid--class-only .decision-card--class { max-width: 980px; width: 100%; margin-inline: auto; }
.class-curriculum { background: linear-gradient(180deg, #130e10, #201216); color: #fff8f2; }
.class-value-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.class-value-grid article { min-height:190px; padding:22px; background:rgba(255,255,255,.055); border:1px solid rgba(240,214,192,.17); border-radius:16px; }
.class-value-grid span,.class-syllabus summary>span { color:var(--bronze-soft); font-family:var(--font-display); font-size:.67rem; font-weight:800; letter-spacing:.12em; }
.class-value-grid strong { display:block; margin-top:14px; color:#fff; font-size:1.08rem; line-height:1.35; }
.class-value-grid p { margin:10px 0 0; color:rgba(255,248,242,.78); font-size:.9rem; line-height:1.7; }
.class-syllabus-intro { margin-top:clamp(42px,7vw,78px); }
.class-syllabus { display:grid; gap:10px; }
.class-syllabus details { overflow:hidden; background:rgba(255,255,255,.045); border:1px solid rgba(240,214,192,.16); border-radius:16px; }
.class-syllabus summary { display:grid; grid-template-columns:95px minmax(0,1fr) auto 22px; align-items:center; gap:14px; padding:20px 22px; cursor:pointer; list-style:none; }
.class-syllabus summary::-webkit-details-marker { display:none; }
.class-syllabus summary strong { color:#fff; font-size:1.06rem; }
.class-syllabus summary small { color:rgba(255,248,242,.64); }
.class-syllabus summary .icon { transition:transform 180ms ease; }
.class-syllabus details[open] summary .icon { transform:rotate(180deg); }
.class-syllabus__modules { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; padding:0 12px 12px; }
.class-syllabus__modules--four { grid-template-columns:repeat(2,minmax(0,1fr)); }
.class-syllabus__modules--single { grid-template-columns:minmax(0,1fr); }
.class-syllabus__modules article { padding:20px; background:rgba(10,8,9,.42); border:1px solid rgba(240,214,192,.1); border-radius:12px; }
.class-syllabus__modules article span { color:var(--bronze-soft); font-family:var(--font-display); font-size:.63rem; font-weight:800; letter-spacing:.1em; }
.class-syllabus__modules h3 { margin:9px 0 0; color:#fff; font-size:1rem; line-height:1.4; }
.class-syllabus__modules p { margin:9px 0 0; color:rgba(255,248,242,.75); font-size:.88rem; line-height:1.68; }
.class-posters { background:linear-gradient(180deg,rgba(27,16,18,.98),rgba(14,11,12,.99)); color:#fff8f2; }
.class-poster-grid { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.4fr); gap:14px; align-items:start; }
.class-poster-card { display:grid; overflow:hidden; padding:0; text-align:left; color:#fff; background:rgba(255,255,255,.045); border:1px solid rgba(240,214,192,.18); border-radius:16px; cursor:pointer; transition:transform 180ms ease,border-color 180ms ease; }
.class-poster-card:hover,.class-poster-card:focus-visible { transform:translateY(-2px); border-color:rgba(240,214,192,.46); }
.class-poster-card img { display:block; width:100%; height:auto; background:#181315; }
.class-poster-card>span { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:16px 18px; }
.class-poster-card strong { font-size:.96rem; }
.class-poster-card small { color:var(--bronze-soft); white-space:nowrap; }
@media(max-width:980px){.class-value-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.class-poster-grid{grid-template-columns:1fr;}.class-poster-card{max-width:760px;margin-inline:auto;}}
@media(max-width:700px){.class-value-grid{grid-template-columns:1fr;gap:10px}.class-value-grid article{min-height:0}.class-syllabus summary{grid-template-columns:72px minmax(0,1fr) 20px;gap:10px;padding:17px}.class-syllabus summary small{display:none}.class-syllabus__modules,.class-syllabus__modules--four{grid-template-columns:1fr}.class-poster-card>span{align-items:flex-start;flex-direction:column;gap:5px}.class-poster-card small{white-space:normal}}

/* Restored E-book preview on the home page. */
.home-ebook-preview { color:#fff8f2; background:radial-gradient(circle at 12% 14%,rgba(158,34,58,.22),transparent 23rem),linear-gradient(180deg,#100c0e,#1d1115); border-top:1px solid rgba(240,214,192,.1); border-bottom:1px solid rgba(240,214,192,.11); }
.home-ebook-preview__grid { display:grid; grid-template-columns:minmax(280px,.78fr) minmax(0,1.22fr); gap:clamp(32px,6vw,86px); align-items:center; }
.home-ebook-preview__media { display:grid; place-items:center; min-width:0; margin:0; padding:clamp(12px,3vw,32px); }
.home-ebook-preview__media .ebook-book { width:min(100%,370px); }
.home-ebook-preview__content { max-width:720px; }
.home-ebook-preview__content h2 { margin:12px 0 0; color:#fff; font-size:clamp(1.9rem,3.7vw,3.6rem); line-height:1.12; }
.home-ebook-preview__content>p:not(.eyebrow) { margin:20px 0 0; color:rgba(255,248,242,.8); font-size:1rem; line-height:1.8; }
.home-ebook-preview__content ul { display:grid; gap:8px; margin:24px 0 0; padding:0; list-style:none; }
.home-ebook-preview__content li { display:grid; grid-template-columns:38px minmax(0,1fr); align-items:center; gap:12px; padding:13px 15px; background:rgba(255,255,255,.05); border:1px solid rgba(240,214,192,.14); border-radius:12px; }
.home-ebook-preview__content li span { color:var(--bronze-soft); font-family:var(--font-display); font-size:.68rem; font-weight:800; letter-spacing:.1em; }
.home-ebook-preview__content li strong { color:#fff; font-size:.96rem; }
.home-ebook-preview__actions { display:flex; flex-wrap:wrap; align-items:center; gap:18px; margin-top:26px; }
@media(max-width:820px){.home-ebook-preview__grid{grid-template-columns:1fr;gap:22px}.home-ebook-preview__media{padding-top:0}.home-ebook-preview__media .ebook-book{width:min(78vw,340px)}.home-ebook-preview__content{max-width:none}.home-ebook-preview__content h2{font-size:clamp(1.8rem,8vw,2.8rem)}}
@media(max-width:520px){.home-ebook-preview__actions{align-items:stretch;flex-direction:column}.home-ebook-preview__actions .button{width:100%}.home-ebook-preview__actions .text-link{justify-content:center}.home-ebook-preview__content li{grid-template-columns:32px minmax(0,1fr);padding:12px}}

.class-poster-card--main { grid-row:span 2; }
.class-poster-card--main img { aspect-ratio:4 / 5; object-fit:cover; }
@media(max-width:980px){.class-poster-card--main{grid-row:auto}}

/* Final three-poster Private Class set. */
.class-poster-grid { grid-template-columns:repeat(3,minmax(0,1fr)); align-items:start; }
.class-poster-card--main { grid-row:auto; }
.class-poster-card img,.class-poster-card--main img { width:100%; height:auto; aspect-ratio:auto; object-fit:contain; }
@media(max-width:980px){.class-poster-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.class-poster-card--main{grid-column:1 / -1;max-width:560px}}
@media(max-width:620px){.class-poster-grid{grid-template-columns:1fr}.class-poster-card--main{grid-column:auto;max-width:none}}

/* Equal-sized Private Class posters. */
.class-poster-card img,.class-poster-card--main img { aspect-ratio:4 / 5; object-fit:cover; }
.class-poster-card>span { min-height:78px; }
@media(max-width:620px){.class-poster-card>span{min-height:0}}

/* Instructor certificates and historical proof gallery. */
.instructor-proof { color:#fff8f2; background:radial-gradient(circle at 10% 8%,rgba(189,135,100,.08),transparent 22rem),linear-gradient(180deg,#110e0f,#1a1114); border-top:1px solid rgba(240,214,192,.11); }
.proof-certificate-card { display:grid; grid-template-columns:minmax(0,1.55fr) minmax(280px,.75fr); gap:0; overflow:hidden; background:rgba(255,255,255,.045); border:1px solid rgba(240,214,192,.18); border-radius:16px; }
.proof-certificate-card button { display:block; width:100%; padding:0; background:#080808; border:0; cursor:pointer; }
.proof-certificate-card img { display:block; width:100%; height:100%; min-height:320px; object-fit:contain; }
.proof-certificate-card>div { display:flex; justify-content:center; flex-direction:column; padding:clamp(22px,3.5vw,38px); border-left:1px solid rgba(240,214,192,.14); }
.proof-certificate-card span,.proof-history-head .eyebrow { color:var(--bronze-soft); font-family:var(--font-display); font-size:.68rem; font-weight:800; letter-spacing:.12em; }
.proof-certificate-card h3,.proof-history-head h3 { margin:12px 0 0; color:#fff; font-size:clamp(1.2rem,2vw,1.65rem); line-height:1.35; }
.proof-certificate-card p,.proof-history-head p { margin:12px 0 0; color:rgba(255,248,242,.76); font-size:.9rem; line-height:1.72; }
.proof-certificate-card small { margin-top:16px; color:var(--bronze-soft); line-height:1.55; }
.proof-history-head { display:flex; align-items:end; justify-content:space-between; gap:24px; margin:clamp(34px,5vw,56px) 0 14px; }
.proof-history-head>p { max-width:560px; text-align:right; }
.proof-history-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.proof-history-card { display:grid; overflow:hidden; padding:0; text-align:left; color:#fff; background:rgba(255,255,255,.045); border:1px solid rgba(240,214,192,.16); border-radius:14px; cursor:pointer; transition:transform 180ms ease,border-color 180ms ease; }
.proof-history-card:hover,.proof-history-card:focus-visible,.proof-certificate-card button:focus-visible { transform:translateY(-2px); border-color:rgba(240,214,192,.42); }
.proof-history-card img { display:block; width:100%; aspect-ratio:16 / 9; object-fit:contain; background:#080808; }
.proof-history-card>span { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:64px; padding:14px 16px; }
.proof-history-card strong { font-size:.92rem; }
.proof-history-card small { color:var(--bronze-soft); }
.proof-disclaimer { margin:18px 0 0; padding:18px 20px; color:rgba(255,248,242,.74); background:rgba(255,255,255,.035); border-left:3px solid var(--bronze-soft); font-size:.86rem; line-height:1.72; }
.proof-disclaimer strong { color:#fff; }
@media(max-width:900px){.proof-certificate-card{grid-template-columns:1fr}.proof-certificate-card>div{border-top:1px solid rgba(240,214,192,.14);border-left:0}.proof-history-grid{grid-template-columns:1fr}.proof-history-head{align-items:flex-start;flex-direction:column;gap:4px}.proof-history-head>p{text-align:left}.proof-history-card{grid-template-columns:minmax(150px,.75fr) minmax(0,1fr)}.proof-history-card img{height:100%;aspect-ratio:16 / 9}.proof-history-card>span{align-items:flex-start;justify-content:center;flex-direction:column;min-height:0}}
@media(max-width:560px){.proof-certificate-card img{min-height:220px}.proof-history-card{grid-template-columns:1fr}.proof-history-card>span{padding:13px 15px}.proof-history-card img{height:auto}.proof-disclaimer{padding:16px}}

/* Private Class opening poster and refined proof copy. */
.class-opening-poster { padding:clamp(28px,5vw,58px) 0; background:radial-gradient(circle at 50% 8%,rgba(189,135,100,.09),transparent 28rem),#0e0b0c; border-bottom:1px solid rgba(240,214,192,.11); }
.class-opening-poster--lead { padding-top:clamp(106px,10vw,132px); }
.class-opening-poster__inner { display:grid; place-items:center; gap:clamp(18px,3vw,26px); }
.class-opening-poster__image { display:grid; overflow:hidden; width:min(100%,720px); padding:0; color:#fff; background:#090808; border:1px solid rgba(240,214,192,.24); border-radius:16px; box-shadow:0 28px 70px rgba(0,0,0,.34); }
.class-opening-poster img { display:block; width:100%; height:auto; }
.class-opening-poster__action { min-width:min(100%,280px); }
.class-poster-grid { grid-template-columns:repeat(2,minmax(0,1fr)); max-width:920px; margin-inline:auto; }
.instructor-proof__intro h2 { max-width:680px; font-size:clamp(1.85rem,3.5vw,3.3rem); line-height:1.13; }
.instructor-proof__intro h2 span { color:var(--bronze-soft); }
.instructor-proof__intro>p { max-width:520px; }
.proof-history-grid { margin-top:14px; }
.proof-history-card { display:block; }
.proof-history-card img { width:100%; height:auto; aspect-ratio:16 / 9; object-fit:contain; }
@media(max-width:760px){.class-opening-poster__image{width:min(100%,560px)}.class-poster-grid{grid-template-columns:1fr}.instructor-proof__intro h2{font-size:clamp(1.75rem,9vw,2.55rem)}}

.subpage-hero--class {
  padding:clamp(118px,13vw,150px) 0 clamp(34px,5vw,54px);
  text-align:center;
}

.subpage-hero--class .subpage-hero__inner {
  max-width:760px;
  margin-inline:auto;
}

.subpage-hero--class h1 {
  max-width:none;
  font-size:clamp(2rem,4vw,3.35rem);
  line-height:1.16;
  text-wrap:balance;
}

.subpage-hero--class .subpage-hero__actions {
  justify-content:center;
  margin-top:24px;
}

@media(max-width:620px){
  .class-opening-poster--lead { padding-top:88px; padding-bottom:24px; }
  .subpage-hero--class { padding:104px 0 30px; }
  .subpage-hero--class h1 { font-size:clamp(1.65rem,7.3vw,2rem); line-height:1.22; }
  .subpage-hero--class .subpage-hero__actions { margin-top:20px; }
}

/* Mobile heading fit: show every word without clipping on narrow devices. */
@media (max-width: 620px) {
  main > section h1,
  main > section h2,
  .subpage-hero h1,
  .subpage-hero--class h1,
  .iris-entry__headline h2,
  .section-intro h2,
  .ebook-panel__content h2,
  .about-copy h2,
  .faq .section-intro h2,
  .cta h2 {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: break-word;
    text-wrap: balance;
  }

  .subpage-hero h1,
  .subpage-hero--class h1 {
    font-size: clamp(1.62rem, 7.2vw, 2rem);
    line-height: 1.22;
  }
}

/* Final responsive heading fit across phones, tablets, notebooks and desktops. */
.home-ebook-preview__content {
  min-width: 0;
}

.home-ebook-preview__content h2 {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
  text-wrap: balance;
}

@media (max-width: 620px) {
  .hero h1 {
    max-width: 100%;
    font-size: clamp(1.68rem, 8vw, 2.25rem);
    line-height: 1.08;
    white-space: normal;
    text-wrap: balance;
  }
}

@media (min-width: 621px) {
  .subpage-hero:not(.subpage-hero--class) h1 {
    max-width: 100%;
    font-size: clamp(2.35rem, 3.3vw, 3.65rem);
    line-height: 1.14;
    white-space: normal;
    overflow-wrap: break-word;
    text-wrap: balance;
  }
}

@media (min-width: 1200px) {
  .class-curriculum .section-intro h2 {
    max-width: 100%;
    font-size: clamp(2.35rem, 3.25vw, 2.85rem);
    white-space: normal;
    text-wrap: balance;
  }
}

/* Broker page: preserve the confirmed full ConnextFX information block. */
.broker-overview {
  display: block;
  color: #fff8f2;
  background:
    radial-gradient(circle at 12% 12%, rgba(120, 24, 42, 0.2), transparent 27rem),
    radial-gradient(circle at 88% 82%, rgba(189, 135, 100, 0.08), transparent 28rem),
    #110d0f;
  border-top: 1px solid rgba(240, 214, 192, 0.1);
}

.broker-overview .decision-grid {
  grid-template-columns: minmax(0, 1fr);
}

.broker-overview .decision-card--broker {
  display: block;
  width: 100%;
}

.registration-hub--details {
  display: block;
  background:
    radial-gradient(circle at 88% 12%, rgba(151, 28, 54, 0.11), transparent 28rem),
    #120d0f;
  border-top: 1px solid rgba(240, 214, 192, 0.1);
}

/* Final cascade lock for the approved page openings. */
.subpage-hero--class {
  padding: clamp(104px, 10vw, 126px) 0 clamp(20px, 3vw, 30px);
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(189, 135, 100, 0.07), transparent 24rem),
    #0e0b0c;
}

.subpage-hero--class::after {
  background: linear-gradient(90deg, transparent, rgba(240, 214, 192, 0.22), transparent);
}

.subpage-hero--class h1 {
  margin-top: 0;
}

@media (max-width: 620px) {
  .subpage-hero--class {
    padding: 88px 0 16px;
  }

  .subpage-hero--class h1 {
    font-size: clamp(1.32rem, 5.9vw, 1.62rem);
    line-height: 1.18;
    white-space: normal;
  }

  .class-opening-poster {
    padding: 14px 0 20px;
  }

  .class-opening-poster__inner {
    gap: 14px;
  }

  .class-opening-poster__image {
    width: min(100%, 350px);
    border-radius: 10px;
  }

  .class-opening-poster__action {
    min-height: 48px;
  }

  #channels {
    padding-block: 28px 36px;
    scroll-margin-top: 72px;
  }

  #channels .section-intro {
    margin-bottom: 14px;
  }

  #channels .section-intro > p,
  .signal-registration-card__content p:not(.card-tag) {
    display: none;
  }

  .signal-registration-card {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px 12px;
    padding: 14px;
  }

  .signal-registration-card__icon {
    width: 42px;
  }

  .signal-registration-card h3 {
    margin: 3px 0 0;
    font-size: 1.05rem;
  }

  .signal-registration-card .button {
    grid-column: 1 / -1;
    min-height: 44px;
  }

  .official-links {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
    padding: 16px;
  }

  .official-links h3 {
    font-size: 1rem;
  }

  .official-links__list {
    gap: 8px;
  }

  .official-links__list a {
    min-height: 38px;
    font-size: 0.64rem;
  }
}
