:root {
  --ink: #f7f3ff;
  --muted: #aaa3b8;
  --subtle: #746d82;
  --night: #08070d;
  --night-soft: #0e0b17;
  --panel: #14101f;
  --panel-strong: #1a1328;
  --line: rgba(255, 255, 255, 0.1);
  --purple: #a943f2;
  --purple-bright: #c85cff;
  --purple-deep: #6420ac;
  --purple-wash: rgba(169, 67, 242, 0.12);
  --green: #55e6b1;
  --amber: #ffca74;
  --danger: #ff7b8d;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--night);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 8%, rgba(111, 34, 177, 0.18), transparent 26rem),
    var(--night);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

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

:focus-visible {
  outline: 3px solid rgba(200, 92, 255, 0.7);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 8px;
  color: #0b0710;
  background: var(--purple-bright);
  transform: translateY(-150%);
}

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

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(8, 7, 13, 0.72);
  backdrop-filter: blur(18px);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
  border-color: var(--line);
  background: rgba(8, 7, 13, 0.93);
}

.nav-shell {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.brand img,
.static-brand img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border: 1px solid rgba(200, 92, 255, 0.32);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(128, 35, 214, 0.23);
}

.brand-word {
  font-size: 17px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links > a:not(.nav-cta) {
  padding: 10px 13px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 14px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links > a:not(.nav-cta):hover,
.nav-links > a[aria-current="page"]:not(.nav-cta) {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: #120919;
  background: linear-gradient(135deg, #d77aff, var(--purple));
  box-shadow: 0 12px 34px rgba(169, 67, 242, 0.25);
  font-weight: 750;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.nav-cta {
  min-height: 42px;
  margin-left: 7px;
  padding-inline: 16px;
  font-size: 14px;
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.07);
  box-shadow: 0 16px 40px rgba(169, 67, 242, 0.34);
}

.button.secondary {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
}

.button.secondary:hover {
  border-color: rgba(200, 92, 255, 0.5);
  background: rgba(169, 67, 242, 0.1);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 9px;
  background: var(--ink);
  content: "";
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span {
  opacity: 0;
}

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

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: #db9aff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 22px;
  height: 1px;
  background: currentColor;
  content: "";
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.045em;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 800;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4.2vw, 4rem);
  font-weight: 780;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.gradient-text {
  color: transparent;
  background: linear-gradient(110deg, #ffffff 15%, #d58cff 54%, #8a38de 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.lead {
  max-width: 700px;
  color: #c0bacb;
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.65;
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  position: absolute;
  top: 11%;
  right: 5%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(133, 38, 217, 0.13);
  filter: blur(90px);
  content: "";
  pointer-events: none;
}

.hero-grid {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.08fr);
  align-items: center;
  gap: clamp(36px, 6vw, 90px);
  padding-block: 78px 92px;
}

.hero-copy h1 {
  max-width: 710px;
}

.hero-copy .lead {
  max-width: 620px;
}

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

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 28px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 13px;
  list-style: none;
}

.trust-line li::before {
  margin-right: 8px;
  color: var(--green);
  content: "✓";
}

.console-wrap {
  position: relative;
}

.console-wrap::before {
  position: absolute;
  inset: 18% -8% -6% 9%;
  z-index: -1;
  border-radius: 50%;
  background: rgba(169, 67, 242, 0.2);
  filter: blur(60px);
  content: "";
}

.console {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  border: 1px solid rgba(214, 125, 255, 0.25);
  border-radius: 30px;
  background: linear-gradient(145deg, rgba(28, 21, 43, 0.94), rgba(9, 7, 14, 0.98));
  box-shadow: 0 44px 100px rgba(0, 0, 0, 0.55), inset 0 1px rgba(255, 255, 255, 0.08);
  transform: perspective(1200px) rotateY(-4deg) rotateX(1deg);
}

.console-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.console-dots {
  display: flex;
  gap: 6px;
}

.console-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--subtle);
}

.console-dots i:first-child {
  background: var(--purple-bright);
}

.console-body {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 16px;
  padding: 20px;
}

.gauge-card,
.metric-card,
.atlas-card,
.signal-strip {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
}

.gauge-card {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
}

.micro-label {
  color: var(--subtle);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gauge {
  position: relative;
  width: 185px;
  height: 185px;
  margin: 28px auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--purple-bright) 0 62%, #282133 62% 100%);
}

.gauge::after {
  position: absolute;
  inset: 13px;
  border-radius: 50%;
  background: #110d1a;
  content: "";
}

.gauge-value {
  position: relative;
  z-index: 1;
  font-size: 3.3rem;
  font-weight: 800;
  letter-spacing: -0.07em;
}

.gauge-value small {
  color: var(--subtle);
  font-size: 13px;
  letter-spacing: normal;
}

.gauge-caption {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.metric-card {
  padding: 20px;
}

.metric-value {
  margin: 14px 0 3px;
  font-size: 28px;
  font-weight: 780;
  letter-spacing: -0.05em;
}

.metric-note {
  color: var(--subtle);
}

.chart-bars {
  height: 92px;
  margin-top: 18px;
  display: flex;
  align-items: end;
  gap: 7px;
}

.chart-bars span {
  flex: 1;
  min-width: 7px;
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(to top, #6823b0, #d56cff);
  animation: rise 1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.chart-bars span:nth-child(1) { height: 35%; }
.chart-bars span:nth-child(2) { height: 58%; animation-delay: 0.05s; }
.chart-bars span:nth-child(3) { height: 44%; animation-delay: 0.1s; }
.chart-bars span:nth-child(4) { height: 72%; animation-delay: 0.15s; }
.chart-bars span:nth-child(5) { height: 64%; animation-delay: 0.2s; }
.chart-bars span:nth-child(6) { height: 91%; animation-delay: 0.25s; }
.chart-bars span:nth-child(7) { height: 79%; animation-delay: 0.3s; }
.chart-bars span:nth-child(8) { height: 96%; animation-delay: 0.35s; }

.atlas-card {
  grid-column: 1 / -1;
  padding: 18px 20px;
}

.atlas-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.atlas-row:first-of-type {
  margin-top: 12px;
}

.atlas-code {
  color: var(--muted);
}

.trend-up {
  color: var(--green);
}

.trend-down {
  color: var(--danger);
}

.signal-strip {
  position: absolute;
  right: -24px;
  bottom: 34px;
  width: 220px;
  padding: 16px 18px;
  background: rgba(21, 16, 32, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(15px);
}

.signal-strip strong {
  display: block;
  margin-top: 4px;
  font-size: 14px;
}

@keyframes rise {
  from { height: 0; }
}

.section {
  position: relative;
  padding-block: clamp(84px, 10vw, 132px);
}

.section.soft {
  border-block: 1px solid var(--line);
  background: #0c0a12;
}

.section-header {
  max-width: 760px;
  margin-bottom: 56px;
}

.section-header p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.method-stage {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: clamp(36px, 8vw, 100px);
  align-items: center;
}

.method-rail {
  position: relative;
  padding-left: 36px;
}

.method-rail::before {
  position: absolute;
  top: 10px;
  bottom: 16px;
  left: 9px;
  width: 1px;
  background: linear-gradient(var(--purple-bright), rgba(169, 67, 242, 0.05));
  content: "";
}

.method-item {
  position: relative;
  padding: 0 0 36px 20px;
}

.method-item:last-child {
  padding-bottom: 0;
}

.method-item::before {
  position: absolute;
  top: 4px;
  left: -34px;
  width: 14px;
  height: 14px;
  border: 3px solid #0c0a12;
  border-radius: 50%;
  background: var(--purple-bright);
  box-shadow: 0 0 0 1px rgba(200, 92, 255, 0.55), 0 0 24px rgba(200, 92, 255, 0.8);
  content: "";
}

.method-item span {
  display: block;
  margin-bottom: 8px;
  color: var(--purple-bright);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.method-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.photo-frame {
  position: relative;
  min-height: 580px;
  overflow: hidden;
  border: 1px solid rgba(200, 92, 255, 0.23);
  border-radius: 4px 32px 4px 32px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  min-height: 580px;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.08);
}

.photo-frame::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 7, 13, 0.78), transparent 55%);
  content: "";
}

.photo-label {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  background: rgba(8, 7, 13, 0.78);
  backdrop-filter: blur(16px);
}

.photo-label strong {
  font-size: 14px;
}

.photo-label span {
  color: var(--muted);
  font-size: 11px;
}

.feature-stack {
  border-top: 1px solid var(--line);
}

.feature-row {
  display: grid;
  grid-template-columns: 150px minmax(220px, 0.72fr) minmax(280px, 1fr);
  gap: 36px;
  align-items: start;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  transition: padding 0.25s ease, background 0.25s ease;
}

.feature-row:hover {
  padding-inline: 18px;
  background: linear-gradient(90deg, rgba(169, 67, 242, 0.08), transparent);
}

.feature-index {
  color: #d087ff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.feature-row h3 {
  font-size: clamp(1.4rem, 2.3vw, 2rem);
}

.feature-row p {
  margin-bottom: 0;
  color: var(--muted);
}

.practice-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(450px, 1.1fr);
  gap: clamp(36px, 8vw, 100px);
  align-items: center;
}

.practice-copy ul {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.practice-copy li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: #c8c2d0;
}

.practice-copy li::before {
  color: var(--purple-bright);
  content: "◇";
}

.risk-panel {
  position: relative;
  padding: clamp(24px, 5vw, 50px);
  overflow: hidden;
  border: 1px solid rgba(200, 92, 255, 0.23);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(169, 67, 242, 0.12), transparent 45%),
    var(--panel);
  box-shadow: var(--shadow);
}

.risk-total {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.risk-total strong {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.risk-total span {
  color: var(--amber);
  font-size: 12px;
  font-weight: 700;
}

.risk-slider {
  padding-block: 24px;
}

.slider-label {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
}

.slider-track {
  position: relative;
  height: 7px;
  margin-top: 13px;
  border-radius: 20px;
  background: #30293a;
}

.slider-track::before {
  width: 64%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--purple-deep), var(--purple-bright));
  content: "";
}

.slider-track::after {
  position: absolute;
  top: 50%;
  left: 64%;
  width: 17px;
  height: 17px;
  border: 4px solid #1a1425;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px var(--purple-bright);
  content: "";
  transform: translate(-50%, -50%);
}

.risk-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.risk-summary div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.025);
}

.risk-summary span,
.risk-summary small {
  display: block;
}

.risk-summary span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.risk-summary strong {
  display: block;
  margin: 8px 0 3px;
  font-size: 20px;
}

.risk-summary small {
  color: var(--subtle);
}

.boundary-note {
  margin: 20px 0 0;
  padding: 14px 16px;
  border-left: 2px solid var(--purple-bright);
  color: var(--muted);
  background: rgba(169, 67, 242, 0.07);
  font-size: 12px;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--line);
}

.principle {
  min-height: 280px;
  padding: 36px;
  background: var(--night-soft);
}

.principle-mark {
  width: 52px;
  height: 52px;
  margin-bottom: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(200, 92, 255, 0.35);
  border-radius: 50%;
  color: var(--purple-bright);
  background: var(--purple-wash);
  font-size: 20px;
}

.principle p {
  margin: 0;
  color: var(--muted);
}

.cta-band {
  overflow: hidden;
  padding-block: 88px;
}

.cta-shell {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  padding: clamp(36px, 7vw, 76px);
  overflow: hidden;
  border: 1px solid rgba(200, 92, 255, 0.28);
  border-radius: 32px;
  background:
    radial-gradient(circle at 86% 10%, rgba(215, 122, 255, 0.28), transparent 22rem),
    linear-gradient(130deg, #1b1027, #0c0912);
  box-shadow: var(--shadow);
}

.cta-shell::before {
  position: absolute;
  top: -105px;
  right: 22%;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transform: rotate(45deg);
  content: "";
}

.cta-shell h2 {
  max-width: 710px;
  margin-bottom: 12px;
}

.cta-shell p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #06050a;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding-block: 48px 34px;
}

.footer-brand p {
  max-width: 460px;
  margin: 16px 0 0;
  color: var(--subtle);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 11px 24px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-bottom {
  padding-block: 20px 24px;
  border-top: 1px solid var(--line);
  color: #665f70;
  font-size: 12px;
}

/* Inner pages */
.page-hero {
  position: relative;
  padding-block: clamp(90px, 13vw, 170px) clamp(72px, 10vw, 120px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.page-hero::after {
  position: absolute;
  top: -100px;
  right: -70px;
  width: 540px;
  height: 540px;
  border: 1px solid rgba(200, 92, 255, 0.12);
  border-radius: 50%;
  box-shadow: inset 0 0 90px rgba(169, 67, 242, 0.08);
  content: "";
}

.page-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 980px;
  font-size: clamp(3.2rem, 8vw, 7.5rem);
}

.page-hero .lead {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 0.92fr);
  gap: clamp(44px, 8vw, 100px);
  align-items: center;
}

.about-photo {
  position: relative;
  min-height: 620px;
}

.about-photo img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  border-radius: 4px 34px 4px 34px;
  filter: saturate(0.65) contrast(1.08);
  box-shadow: var(--shadow);
}

.about-photo::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(200, 92, 255, 0.27);
  border-radius: 4px 34px 4px 34px;
  background: linear-gradient(180deg, transparent 40%, rgba(60, 14, 97, 0.28));
  content: "";
}

.position-note {
  margin-top: 34px;
  padding: 20px 0 20px 24px;
  border-left: 2px solid var(--purple-bright);
  color: #d6d0dd;
}

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

.value-line {
  display: grid;
  grid-template-columns: 100px minmax(250px, 0.8fr) minmax(300px, 1.2fr);
  gap: 30px;
  align-items: start;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}

.value-line > span {
  color: var(--purple-bright);
  font-size: 13px;
  font-weight: 800;
}

.value-line p {
  margin: 0;
  color: var(--muted);
}

.scope-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
}

.scope-column {
  padding: clamp(30px, 5vw, 58px);
}

.scope-column + .scope-column {
  border-left: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.scope-column ul {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.scope-column li {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.scope-column li::before {
  margin-right: 10px;
  color: var(--purple-bright);
  content: "—";
}

.scope-column.muted-column li::before {
  color: var(--subtle);
}

/* Privacy */
.privacy-hero-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  align-items: end;
}

.privacy-stamp {
  position: relative;
  z-index: 1;
  padding: 24px;
  border: 1px solid rgba(85, 230, 177, 0.24);
  border-radius: 20px;
  background: rgba(85, 230, 177, 0.06);
}

.privacy-stamp strong,
.privacy-stamp span {
  display: block;
}

.privacy-stamp strong {
  margin-bottom: 5px;
  color: var(--green);
}

.privacy-stamp span {
  color: var(--muted);
  font-size: 13px;
}

.privacy-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 70px;
  align-items: start;
}

.privacy-nav {
  position: sticky;
  top: 110px;
  padding: 8px 0;
  border-left: 1px solid var(--line);
}

.privacy-nav a {
  display: block;
  padding: 8px 0 8px 18px;
  color: var(--subtle);
  font-size: 13px;
}

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

.privacy-content {
  max-width: 820px;
}

.policy-summary {
  margin-bottom: 54px;
  padding: 30px;
  border: 1px solid rgba(200, 92, 255, 0.25);
  border-radius: var(--radius);
  background: linear-gradient(130deg, rgba(169, 67, 242, 0.1), rgba(255, 255, 255, 0.02));
}

.policy-summary p {
  margin: 0;
  color: #d0c9d9;
}

.policy-section {
  padding-block: 10px 42px;
  scroll-margin-top: 110px;
}

.policy-section + .policy-section {
  padding-top: 42px;
  border-top: 1px solid var(--line);
}

.policy-kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--purple-bright);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.policy-section h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.policy-section p,
.policy-section li {
  color: var(--muted);
}

.policy-section ul {
  padding-left: 20px;
}

.data-table {
  width: 100%;
  margin-top: 24px;
  border-collapse: collapse;
  font-size: 14px;
}

.data-table th,
.data-table td {
  padding: 16px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.data-table th {
  color: #e8e1ee;
  background: rgba(255, 255, 255, 0.035);
}

.data-table td {
  color: var(--muted);
}

.rights-box {
  margin-top: 24px;
  padding: 24px;
  border-left: 3px solid var(--green);
  background: rgba(85, 230, 177, 0.055);
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: clamp(30px, 6vw, 70px);
  align-items: start;
}

.contact-form {
  padding: clamp(26px, 5vw, 50px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(169, 67, 242, 0.075), transparent 45%), var(--panel);
  box-shadow: var(--shadow);
}

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

.form-field {
  display: grid;
  gap: 8px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label,
.consent-label {
  color: #d4cedc;
  font-size: 13px;
  font-weight: 650;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  outline: none;
  color: var(--ink);
  background: rgba(5, 4, 8, 0.55);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input,
.form-field select {
  height: 52px;
  padding: 0 15px;
}

.form-field textarea {
  min-height: 160px;
  padding: 14px 15px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--purple-bright);
  box-shadow: 0 0 0 4px rgba(169, 67, 242, 0.12);
}

.form-field input[type="file"] {
  height: auto;
  padding: 12px;
  color: var(--muted);
}

.form-field input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 8px 11px;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  background: rgba(169, 67, 242, 0.2);
  cursor: pointer;
}

.form-field .error-text {
  min-height: 18px;
  margin: 0;
  color: var(--danger);
  font-size: 12px;
}

.form-field.invalid input,
.form-field.invalid select,
.form-field.invalid textarea {
  border-color: var(--danger);
}

.consent {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-top: 2px;
}

.consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--purple);
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 18px;
}

.form-actions .button {
  border: 0;
  cursor: pointer;
}

.form-status {
  margin: 0;
  color: var(--green);
  font-size: 13px;
}

.form-status.error {
  color: var(--danger);
}

.form-status.success {
  color: var(--green);
}

.optional-label {
  color: var(--subtle);
  font-weight: 400;
}

.contact-aside {
  display: grid;
  gap: 16px;
}

.contact-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
}

.contact-card .contact-mark {
  width: 40px;
  height: 40px;
  margin-bottom: 26px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(200, 92, 255, 0.3);
  border-radius: 12px;
  color: var(--purple-bright);
  background: var(--purple-wash);
}

.contact-card p,
.contact-card small {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-card a {
  color: #dea0ff;
}

.status-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #bbf5df;
  font-size: 13px;
}

.status-line::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px rgba(85, 230, 177, 0.7);
  content: "";
}

/* Mobile-only about variant */
.h5-body {
  min-width: 320px;
}

.h5-header {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.static-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 760;
}

.h5-main {
  padding-bottom: 60px;
}

.h5-main .page-hero {
  padding-block: 66px 58px;
}

.h5-main .page-hero h1 {
  font-size: clamp(2.9rem, 15vw, 5rem);
}

.h5-content {
  padding-block: 54px;
}

.h5-content + .h5-content {
  border-top: 1px solid var(--line);
}

.h5-content h2 {
  font-size: clamp(2rem, 10vw, 3.4rem);
}

.h5-photo {
  height: min(118vw, 580px);
  margin: 34px 0;
  object-fit: cover;
  border-radius: 4px 26px 4px 26px;
  filter: saturate(0.65) contrast(1.08);
}

.h5-value {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.h5-value > span {
  display: block;
  margin-bottom: 10px;
  color: var(--purple-bright);
  font-size: 12px;
  font-weight: 800;
}

.h5-value p,
.h5-note {
  color: var(--muted);
}

.h5-footer {
  padding: 30px 0;
  border-top: 1px solid var(--line);
  color: var(--subtle);
  font-size: 12px;
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@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;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .method-stage,
  .practice-stage,
  .about-intro {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding-top: 88px;
  }

  .console-wrap {
    max-width: 680px;
    margin-inline: auto;
  }

  .console {
    transform: none;
  }

  .method-stage .photo-frame {
    order: -1;
  }

  .privacy-hero-grid,
  .privacy-layout {
    grid-template-columns: 1fr;
  }

  .privacy-stamp {
    max-width: 400px;
  }

  .privacy-nav {
    display: none;
  }

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

  .contact-aside {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .nav-shell {
    min-height: 70px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 70px 0 auto;
    max-height: 0;
    overflow: hidden;
    display: grid;
    gap: 4px;
    padding: 0 18px;
    border-bottom: 1px solid transparent;
    background: rgba(8, 7, 13, 0.98);
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.2s ease, visibility 0.2s ease;
  }

  .nav-links.open {
    max-height: 420px;
    padding-block: 16px 22px;
    border-color: var(--line);
    opacity: 1;
    visibility: visible;
  }

  .nav-links > a:not(.nav-cta) {
    padding: 13px;
  }

  .nav-cta {
    margin: 8px 0 0;
  }

  .brand-word {
    font-size: 16px;
  }

  .hero,
  .hero-grid {
    min-height: auto;
  }

  .hero-grid {
    gap: 52px;
    padding-block: 72px;
  }

  h1 {
    font-size: clamp(2.8rem, 14vw, 4.2rem);
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .console {
    min-height: auto;
  }

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

  .gauge-card {
    grid-row: auto;
  }

  .atlas-card {
    grid-column: auto;
  }

  .signal-strip {
    position: static;
    width: auto;
    margin: 0 20px 20px;
  }

  .section {
    padding-block: 76px;
  }

  .section-header {
    margin-bottom: 38px;
  }

  .photo-frame,
  .photo-frame img {
    min-height: 440px;
  }

  .feature-row,
  .value-line {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .feature-row:hover {
    padding-inline: 0;
  }

  .risk-summary,
  .principles,
  .contact-aside {
    grid-template-columns: 1fr;
  }

  .principle {
    min-height: auto;
  }

  .principle-mark {
    margin-bottom: 30px;
  }

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

  .cta-shell .button {
    width: auto;
  }

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

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

  .page-hero {
    padding-block: 78px 68px;
  }

  .page-hero h1 {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .about-photo,
  .about-photo img {
    min-height: 440px;
    height: 440px;
  }

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

  .scope-column + .scope-column {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .data-table,
  .data-table tbody,
  .data-table tr,
  .data-table th,
  .data-table td {
    display: block;
  }

  .data-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .data-table tr {
    margin-bottom: 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
  }

  .data-table td {
    border: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .data-table td::before {
    display: block;
    margin-bottom: 4px;
    color: var(--ink);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    content: attr(data-label);
  }

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

  .form-field.full,
  .consent,
  .form-actions {
    grid-column: auto;
  }

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

@media (max-width: 420px) {
  .brand-word {
    display: none;
  }

  .static-brand .brand-word {
    display: block;
  }

  .gauge {
    width: 160px;
    height: 160px;
  }

  .photo-label {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-shell {
    padding: 30px 24px;
  }
}
