:root {
  --ink: #1c2430;
  --ink-soft: #304252;
  --navy: #142a3a;
  --teal: #1d766d;
  --teal-soft: #dcebe8;
  --blue: #5a8fa6;
  --plum: #7a4c61;
  --copper: #a87555;
  --paper: #f6f2ea;
  --paper-2: #ebe5da;
  --white: #fffdf8;
  --muted: #66717b;
  --line: rgba(28, 36, 48, 0.12);
  --line-strong: rgba(28, 36, 48, 0.2);
  --line-light: rgba(255, 253, 248, 0.2);
  --shadow: 0 24px 70px rgba(24, 36, 48, 0.16);
  --max: 1160px;
  --radius: 6px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "PingFang TC", "Microsoft JhengHei", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

.sr-only,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link:focus {
  z-index: 999;
  top: 16px;
  left: 16px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  clip: auto;
  text-decoration: none;
}

.container,
.nav-shell {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
body.nav-open .site-header {
  background: rgba(255, 253, 248, 0.94);
  border-color: rgba(28, 36, 48, 0.1);
  box-shadow: 0 16px 40px rgba(24, 36, 48, 0.1);
  backdrop-filter: blur(18px);
}

.nav-shell {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
}

.site-header.is-scrolled .brand,
body.nav-open .brand,
.site-footer .brand {
  color: var(--ink);
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--blue) 56%, var(--plum));
  border: 1px solid rgba(255, 253, 248, 0.32);
  border-radius: var(--radius);
  font-size: 20px;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 18px;
  line-height: 1.1;
}

.brand small {
  margin-top: 2px;
  color: currentColor;
  opacity: 0.66;
  font-size: 11px;
  line-height: 1.2;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav a {
  color: rgba(255, 253, 248, 0.82);
  text-decoration: none;
  font-size: 14px;
  font-weight: 760;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.site-header.is-scrolled .site-nav a {
  color: rgba(28, 36, 48, 0.72);
}

.site-nav a:hover,
.site-nav a.is-active,
.site-header.is-scrolled .site-nav a:hover,
.site-header.is-scrolled .site-nav a.is-active {
  color: var(--teal);
}

.site-nav .nav-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  color: var(--white);
  background: rgba(29, 118, 109, 0.95);
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: var(--radius);
}

.site-header.is-scrolled .site-nav .nav-cta,
.site-nav .nav-cta:hover {
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 253, 248, 0.26);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.08);
  color: var(--white);
  cursor: pointer;
}

.site-header.is-scrolled .nav-toggle,
body.nav-open .nav-toggle {
  border-color: rgba(28, 36, 48, 0.14);
  background: rgba(28, 36, 48, 0.04);
  color: var(--ink);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(20, 42, 58, 0.98) 0%, rgba(20, 42, 58, 0.92) 48%, rgba(29, 118, 109, 0.84) 100%),
    linear-gradient(135deg, var(--navy) 0%, var(--teal) 58%, var(--plum) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 253, 248, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 253, 248, 0.055) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(90deg, #000 0%, #000 70%, transparent 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: clamp(620px, 76vh, 700px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.78fr);
  align-items: center;
  gap: 44px;
  padding: 104px 0 48px;
}

.hero-copy {
  max-width: 760px;
  min-width: 0;
}

.eyebrow,
.section-kicker,
.plan-label {
  margin: 0 0 12px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 860;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: rgba(255, 253, 248, 0.72);
}

.hero h1,
.section h2,
.axis-strip h2,
.contact-section h2 {
  margin: 0;
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(40px, 5.1vw, 64px);
  overflow-wrap: anywhere;
}

.hero-axis-line {
  max-width: 700px;
  margin: 18px 0 0;
  color: rgba(221, 237, 234, 0.9);
  font-size: 15px;
  font-weight: 780;
  overflow-wrap: anywhere;
}

.hero-lede {
  margin: 20px 0 0;
  color: var(--white);
  font-size: clamp(19px, 2vw, 25px);
  font-weight: 720;
  line-height: 1.46;
}

.hero-text {
  max-width: 700px;
  margin: 18px 0 0;
  color: rgba(255, 253, 248, 0.72);
  font-size: 16px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 15px;
  font-weight: 820;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--teal);
}

.button-primary:hover {
  background: #155f58;
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 253, 248, 0.08);
  border-color: rgba(255, 253, 248, 0.24);
}

.button-secondary:hover {
  border-color: rgba(255, 253, 248, 0.42);
  background: rgba(255, 253, 248, 0.13);
}

.hero-diagram {
  min-width: 0;
  min-height: 430px;
  display: grid;
  place-items: center;
}

.hero-diagram svg {
  width: min(100%, 590px);
  height: auto;
  overflow: visible;
}

.svg-plane {
  fill: url(#planeGradient);
  stroke: rgba(255, 253, 248, 0.22);
  stroke-width: 1.2;
}

.svg-grid path {
  stroke: rgba(255, 253, 248, 0.14);
  stroke-width: 1;
}

.svg-axis {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
}

.axis-x {
  stroke: url(#axisX);
}

.axis-y {
  stroke: url(#axisY);
}

.axis-z {
  stroke: url(#axisZ);
}

.node {
  stroke: rgba(255, 253, 248, 0.76);
  stroke-width: 2;
}

.node-x {
  fill: var(--blue);
}

.node-y {
  fill: var(--teal);
}

.node-z {
  fill: var(--plum);
}

.node-origin {
  fill: rgba(255, 253, 248, 0.92);
  stroke: rgba(255, 253, 248, 0.74);
  stroke-width: 1.2;
}

.origin-main {
  fill: var(--ink);
  font-size: 30px;
  font-weight: 900;
}

.origin-sub {
  fill: rgba(28, 36, 48, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.svg-labels text {
  fill: rgba(255, 253, 248, 0.82);
  font-size: 14px;
  font-weight: 780;
}

.axis-strip {
  scroll-margin-top: 88px;
  padding: 78px 0 82px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  width: min(760px, 100%);
  margin-bottom: 34px;
}

.section-heading.narrow {
  width: min(680px, 100%);
}

.section h2,
.axis-strip h2,
.contact-section h2 {
  font-size: clamp(30px, 4vw, 48px);
}

.section-heading p:not(.section-kicker),
.section-copy p:not(.section-kicker),
.contact-section p:not(.section-kicker) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.axis-grid,
.principle-grid,
.ecosystem-grid,
.plan-grid {
  display: grid;
  gap: 16px;
}

.axis-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.axis-card,
.principle-card,
.ecosystem-card,
.plan-card,
.service-panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.axis-card {
  min-height: 208px;
  padding: 26px;
}

.axis-card span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  border-radius: var(--radius);
  font-size: 18px;
  font-weight: 900;
}

.axis-card:nth-child(2) span {
  background: var(--teal);
}

.axis-card:nth-child(3) span {
  background: var(--plum);
}

.axis-card h3,
.principle-card h3,
.ecosystem-card h3,
.plan-card h3 {
  margin: 22px 0 10px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.25;
}

.axis-card p,
.principle-card p,
.ecosystem-card p,
.plan-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.section {
  scroll-margin-top: 88px;
  padding: 88px 0;
}

.positioning-section,
.membership-section {
  background: var(--paper);
}

.ecosystem-section,
.services-section {
  background: var(--white);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.split-layout.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.78fr);
  align-items: center;
}

.section-copy {
  min-width: 0;
}

.principle-grid {
  grid-template-columns: 1fr;
}

.principle-card,
.ecosystem-card {
  padding: 26px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.principle-card:hover,
.ecosystem-card:hover,
.plan-card:hover {
  transform: translateY(-4px);
  border-color: rgba(29, 118, 109, 0.34);
  box-shadow: 0 18px 45px rgba(24, 36, 48, 0.08);
}

.principle-card span,
.ecosystem-card span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  color: var(--teal);
  background: var(--teal-soft);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 850;
}

.ecosystem-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ecosystem-card {
  min-height: 226px;
}

.ecosystem-card.emphasis {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--teal));
  border-color: rgba(255, 253, 248, 0.16);
}

.ecosystem-card.emphasis span {
  color: var(--white);
  background: rgba(255, 253, 248, 0.14);
}

.ecosystem-card.emphasis h3,
.ecosystem-card.emphasis p {
  color: var(--white);
}

.ecosystem-card.emphasis p {
  opacity: 0.78;
}

.service-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  padding: 1px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.service-panel div {
  min-height: 174px;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(220, 235, 232, 0.55), rgba(255, 253, 248, 0.96)),
    var(--white);
}

.service-panel span {
  color: var(--copper);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.service-panel strong {
  display: block;
  margin-top: 14px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.2;
}

.service-panel p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.plan-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.plan-card {
  min-height: 520px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.plan-card.featured {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy), var(--teal));
  border-color: rgba(29, 118, 109, 0.5);
}

.plan-card.featured h3,
.plan-card.featured p,
.plan-card.featured li {
  color: var(--white);
}

.plan-card .plan-label {
  margin-bottom: 10px;
}

.plan-card h3 {
  margin-top: 0;
  font-size: 28px;
}

.plan-price {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 0 0 16px;
}

.plan-price strong {
  color: var(--teal);
  font-size: clamp(30px, 3vw, 36px);
  line-height: 1;
  white-space: nowrap;
}

.featured .plan-price strong {
  color: var(--white);
}

.plan-price span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.featured .plan-price span {
  color: rgba(255, 253, 248, 0.7);
}

.plan-desc {
  min-height: 76px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.featured .plan-desc {
  border-color: rgba(255, 253, 248, 0.18);
}

.plan-card ul {
  margin: 22px 0 28px;
  padding: 0;
  list-style: none;
}

.plan-card li {
  position: relative;
  padding: 8px 0 8px 22px;
  color: var(--muted);
  font-size: 14px;
}

.plan-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 7px;
  height: 7px;
  background: var(--teal);
  border-radius: 50%;
}

.featured li::before {
  background: rgba(255, 253, 248, 0.82);
}

.plan-card a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  color: var(--white);
  background: var(--teal);
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 14px;
  font-weight: 860;
}

.plan-card.featured a {
  color: var(--teal);
  background: var(--white);
}

.pricing-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.contact-section {
  scroll-margin-top: 88px;
  padding: 88px 0;
  color: var(--white);
  background:
    linear-gradient(118deg, rgba(20, 42, 58, 0.96), rgba(29, 118, 109, 0.84)),
    linear-gradient(135deg, var(--navy), var(--teal), var(--plum));
}

.contact-inner {
  width: min(820px, calc(100% - 44px));
  margin: 0 auto;
  text-align: center;
}

.contact-inner p:not(.section-kicker) {
  width: min(680px, 100%);
  margin: 16px auto 0;
  color: rgba(255, 253, 248, 0.74);
}

.contact-section .section-kicker {
  color: rgba(255, 253, 248, 0.76);
}

.contact-actions {
  justify-content: center;
}

.site-footer {
  padding: 34px 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1040px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 72px;
    right: 22px;
    left: 22px;
    display: grid;
    gap: 0;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  body.nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav a,
  .site-header.is-scrolled .site-nav a {
    min-height: 46px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    color: var(--ink);
  }

  .site-nav .nav-cta {
    margin-top: 6px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-diagram {
    min-height: 340px;
  }

  .hero-diagram svg {
    width: min(100%, 560px);
  }

  .split-layout,
  .split-layout.reverse,
  .axis-grid,
  .ecosystem-grid,
  .plan-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .container,
  .nav-shell,
  .contact-inner {
    width: min(var(--max), calc(100vw - 44px));
  }

  .brand small {
    display: none;
  }

  .hero-grid {
    gap: 26px;
    padding: 96px 0 34px;
  }

  .hero h1 {
    font-size: clamp(32px, 9.5vw, 42px);
    line-height: 1.13;
  }

  .hero-lede {
    font-size: 17px;
  }

  .eyebrow {
    font-size: 10px;
    line-height: 1.45;
    letter-spacing: 0.08em;
    overflow-wrap: anywhere;
  }

  .hero-axis-line {
    font-size: 13px;
    line-height: 1.5;
  }

  .hero-text {
    font-size: 15px;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .hero-diagram {
    min-height: 232px;
    margin: -8px 0 0;
  }

  .hero-diagram svg {
    overflow: hidden;
  }

  .axis-grid,
  .principle-grid,
  .ecosystem-grid,
  .service-panel,
  .plan-grid,
  .split-layout,
  .split-layout.reverse {
    grid-template-columns: 1fr;
  }

  .axis-strip,
  .section,
  .contact-section {
    padding: 68px 0;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .axis-card,
  .principle-card,
  .ecosystem-card,
  .plan-card {
    padding: 22px;
  }

  .service-panel div {
    min-height: auto;
    padding: 22px;
  }

  .plan-card {
    min-height: auto;
  }

  .plan-desc {
    min-height: auto;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
