﻿:root {
  --purple: #2c1844;
  --surface: #39254d;
  --text: #faf6ff;
  --muted: #d4c8dc;
  --gold: #e8c189;
  --line: rgba(223,195,220,.2);
  --sans: "Segoe UI", Arial, sans-serif;
  --display: "Segoe UI Variable Display","Segoe UI",Arial,sans-serif;
  color: var(--text);
  background: var(--purple);
  font: 100%/1.6 var(--sans);
  scroll-behavior: smooth;
  scroll-padding-top: 74px;
}
* { box-sizing: border-box; }
body,h1,h2,h3,p { margin: 0; }
a { color: inherit; text-decoration: none; }
button,select,textarea { font: inherit; }
:focus-visible { outline: 3px solid #ffd599; outline-offset: 4px; }
.motion-control { background: transparent; color: var(--gold); border: 0; padding: 0 .25rem; margin-top: .4rem; min-height: 44px; cursor: pointer; font-size: .875rem; }
.motion-control::before { content: "Ⅱ"; margin-right: .45em; }
.motion-control[aria-pressed="true"]::before { content: "▶"; }
@media (prefers-reduced-motion: reduce) { .motion-control { display: none; } }
html[data-motion-paused] *, html[data-motion-paused] *::before, html[data-motion-paused] *::after { animation-play-state: paused !important; }
.policy-link,.support-content a:not(.button) { text-decoration: underline; text-underline-offset: .2em; color: var(--gold); }
.policy-link,.support-content nav a { display: inline-flex; align-items: center; min-height: 44px; }
footer .bar { flex-wrap: wrap; padding-block: .75rem; }
.support-page { min-height: 100vh; background: radial-gradient(ellipse at 100% 0%,#65424a,transparent 53%),var(--purple); }
.wrap.support-content { max-width: 48rem; padding-block: clamp(2rem,7vw,6rem); }
.support-content h1 { max-width: 100%; }
.support-content h2 { font-size: clamp(1.25rem,3vw,1.7rem); margin: 2rem 0 .5rem; }
.support-content nav { display: flex; gap: 2rem; }
.support-logo { width: min(15rem,70%); height: auto; }
.support-content .draft { color: var(--gold); }
.wrap { width: min(88%,1320px); margin-inline: auto; }
.skip { position: fixed; top: -6rem; left: 1rem; z-index: 10; background: #38224d; padding: 1rem; }
.skip:focus { top: 1rem; }
header { position: sticky; top: 0; z-index: 5; background: #29163e; border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; gap: 2rem; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font: 600 1.35rem/1 var(--sans); letter-spacing: .15em; }
.brand img { object-fit: contain; }
.bar nav { display: flex; align-items: center; gap: clamp(16px,2.15vw,36px); margin-left: auto; }
.bar nav a,.languages { font-size: .875rem; }
.bar nav a { position: relative; padding: 1rem 0; color: var(--muted); }
.bar nav a[aria-current],.bar nav a:hover,.languages a[aria-current] { color: var(--gold); }
.bar nav a[aria-current]::after { content: ""; position: absolute; bottom: 9px; height: 1px; inset-inline: 0; background: var(--gold); }
.languages { display: flex; gap: 8px; align-items: center; border-left: 1px solid var(--line); padding-left: 1.4rem; }
.languages span { opacity: .45; }
.languages a { color: var(--muted); }
.menu { display: none; }
section { padding: clamp(56px,6.4vw,100px) 0; }
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 0;
  background:
    radial-gradient(ellipse at 103% 58%, #c08c4c 0%, #976443 10%, #68404a 25%, transparent 54%),
    radial-gradient(ellipse at 48% 15%, #4b275f, transparent 60%),
    linear-gradient(110deg,#301943,#39204e 52%,#502e4d);
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg,#2d1846 0%,transparent 24%); }
.triangle-scene {
  position: absolute; z-index: -1; pointer-events: none;
  right: 2%; top: 9%; width: 45%; height: 81%;
  perspective: 1000px;
}
.triangle-view,.triangle-art { width: 100%; height: 100%; display: block; }
.triangle-view { transform-style: preserve-3d; }
.light-traces path { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .triangle-view { transform: rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)); transition: transform 1s ease-out; }
  .triangle-art { animation: prism-turn 24s ease-in-out infinite alternate; }
  .triangle-art .prism { transform-origin: 50% 52%; animation: prism-breathe 12s ease-in-out infinite alternate; }
  .guide-ring,.triangle-art .halo circle { transform-box: fill-box; transform-origin: center; }
  .guide-ring { animation: guide-orbit 160s linear infinite; }
  .triangle-art .halo circle { animation: vertex-glow 8s ease-in-out infinite alternate; }
  .triangle-art .halo circle:nth-child(2) { animation-delay: -4s; }
  .triangle-art .halo circle:nth-child(3) { animation-delay: -7s; }
  .triangle-art .halo circle:nth-child(4) { animation-delay: -2s; }
  .perimeter-trace { animation: edge-travel 17s linear -6s infinite; }
  .inner-trace { animation: edge-travel 21s linear -12s infinite reverse; }
  .internal-sequence path { stroke-dasharray: 32 168; animation: internal-travel 15s ease-in-out infinite; }
  .internal-sequence path:nth-child(2) { animation-delay: -10s; }
  .internal-sequence path:nth-child(3) { animation-delay: -5s; }
  .triangle-scene[data-resting] .triangle-art,
  .triangle-scene[data-resting] .triangle-art * { animation-play-state: paused; }
  @keyframes prism-turn {
    from { transform: rotateY(-6deg) rotateX(2deg); }
    to { transform: rotateY(7deg) rotateX(-3deg); }
  }
  @keyframes prism-breathe {
    from { transform: translate(-1px,1px) scale(.992); }
    to { transform: translate(2px,-1.5px) scale(1.01); }
  }
  @keyframes guide-orbit { to { transform: rotate(360deg); } }
  @keyframes vertex-glow {
    from { opacity: .5; transform: scale(.88); }
    to { opacity: .96; transform: scale(1.18); }
  }
  @keyframes edge-travel {
    0% { stroke-dashoffset: 0; opacity: 0; }
    15%,85% { opacity: .8; }
    100% { stroke-dashoffset: -100; opacity: 0; }
  }
  @keyframes internal-travel {
    0% { stroke-dashoffset: 32; opacity: 0; }
    8%,28% { opacity: .72; }
    38%,100% { stroke-dashoffset: -100; opacity: 0; }
  }
}
.hero-inner { padding-block: clamp(36px,3.6vw,58px) clamp(42px,4vw,65px); }
.kicker { display: flex; align-items: center; gap: 12px; color: var(--gold); font: 600 .75rem/1.55 var(--sans); text-transform: uppercase; letter-spacing: .17em; }
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
h1,h2,h3 { font-family: var(--display); font-weight: 500; }
h1 { max-width: 60%; text-wrap: balance; font-size: clamp(2rem,3.45vw,3.75rem); letter-spacing: -.058em; line-height: 1.05; margin: 22px 0; }
h1 em { color: var(--gold); font-style: normal; font-weight: 350; }
.intro { width: min(49%,550px); font-size: clamp(1rem,1.16vw,1.16rem); line-height: 1.68; color: #e7deed; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 12px 22px; border-radius: 5px; font: 600 .9375rem/1.5 var(--sans); cursor: pointer; transition: transform .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.primary { border: 1px solid #ebc78f; background: linear-gradient(115deg,#efcf9b,#cea16b); color: #302039; }
.outline { border: 1px solid #97829e; color: var(--text); background: #352146; }
.outline:hover { border-color: var(--gold); }
.slogan { margin-top: 32px; padding-left: 14px; border-left: 1px solid #b49571; color: #e2d5e2; font-size: .92rem; line-height: 1.4; }
.light { padding-top: clamp(41px,4vw,65px); }
h2 { font-size: clamp(2rem,3.15vw,3.45rem); letter-spacing: -.047em; line-height: 1.13; margin: 13px 0 30px; }
.cards { display: grid; grid-template-columns: repeat(6,1fr); gap: 16px; }
.card { grid-column: span 2; padding: 26px; border: 1px solid var(--line); border-radius: 7px; background: linear-gradient(123deg,#412b52,#342244); }
.card:nth-child(n+4) { grid-column: span 3; }
.icon { width: 40px; height: 40px; display: grid; place-items: center; color: var(--gold); background: #513a50; border: 1px solid #715563; border-radius: 9px; }
.icon svg { height: 22px; width: 22px; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.card h3,.steps h3 { font-size: 1.35rem; line-height: 1.25; margin: 18px 0 10px; letter-spacing: -.025em; }
.card p,.steps p,.measure,.split p { color: var(--muted); }

.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(35px,8vw,150px); align-items: center; }
.split h2 { margin-bottom: 18px; }

.measure { max-width: 720px; }
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 26px; padding: 0; margin: 36px 0 0; list-style: none; }
.steps li { border-top: 1px solid #a48472; }

.about h2 { margin-bottom: 0; }
form label { display: block; margin-bottom: 5px; }
form input:not([type="checkbox"]),form select,form textarea { display: block; width: 100%; margin-bottom: 16px; border: 1px solid #887293; border-radius: 4px; background: #332242; padding: 10px; color: var(--text); color-scheme: dark; }
form textarea { resize: vertical; }
form .note { font-size: .875rem; margin-bottom: 17px; }
form [role=status]:not(:empty) { margin-top: 12px; }
footer { background: #29163e; }
footer .bar { justify-content: space-between; min-height: 80px; }
footer .bar>a:last-child { font-size: .875rem; text-decoration: underline; }

.full-logo { display: block; width: clamp(185px,17vw,250px); height: auto; margin-bottom: 22px; }
main {
  background:
    radial-gradient(ellipse 74% 11% at 102% 24%,#a676423d,transparent),
    radial-gradient(ellipse 82% 12% at -5% 43%,#bf854b38,transparent),
    radial-gradient(ellipse 80% 10% at 100% 64%,#b5834752,transparent),
    radial-gradient(ellipse 76% 13% at 2% 86%,#ae794738,transparent),
    linear-gradient(#2d1846 10%,#2d1846 22%,#382052 40%,#301843 62%,#40244c 81%,#2c1943);
}
.science { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(36px,7vw,110px); }
.science p,.pillars dd { color: var(--muted); }
.evidence-network { display: block; width: 100%; height: auto; margin-top: 28px; }
.flow { list-style: none; margin: 0; padding: 0; }
.flow li { display: grid; position: relative; grid-template-columns: 38px 1fr; gap: 18px; padding-bottom: 20px; }
.flow li:last-child { padding-bottom: 0; }
.flow li:not(:last-child)::before { content: ""; position: absolute; left: 18px; top: 36px; bottom: 0; width: 1px; background: linear-gradient(#cab08188,#92758766); }
.node { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 50%; border: 1px solid #ad895e; background: #412a49; color: var(--gold); font-family: Consolas,monospace; }
.flow h3,.pillars dt { font-size: 1.16rem; font-weight: 600; }
.flow p { margin-top: 3px; }
@media(prefers-reduced-motion:no-preference) {
  .flow li:nth-child(3) .node { animation: calculate 7s ease-in-out infinite; }
  @keyframes calculate { 50% { color: #ffdfa6; text-shadow: 0 0 9px #d39c6599; } }
}
.pillars { margin: 0; }
.pillars div { padding-block: 14px; border-top: 1px solid var(--line); }
.pillars dd { margin: 4px 0 0; }
.about h2 { margin-bottom: 18px; }
#contact .split { align-items: start; }
#contact form { padding: clamp(18px,2.3vw,34px); border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(135deg,#48314ec9,#332143d9); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
form label { font-size: .94rem; }
form input,form select,form textarea { min-width: 0; font: inherit; margin-top: 4px; }
form input[hidden]:not([type="checkbox"]) { display: none; }
.privacy { margin: 18px 0; }
.privacy p,.delivery-note { font-size: .875rem; }
.privacy label { display: flex; gap: 9px; align-items: baseline; margin-top: 12px; }
.privacy input { accent-color: var(--gold); }
.delivery-note:not(:empty) { margin-bottom: 12px; }
.button:disabled { opacity: .65; cursor: default; transform: none; }
@media(max-width:800px) { .science { grid-template-columns: 1fr; } }
@media(max-width:550px) { .field-grid { grid-template-columns: 1fr; } }

@media(max-width:950px) {
  .bar { gap: 18px; } .wrap { width: 90%; } .languages { padding-left: 14px; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media(max-width:800px) {
  :root { scroll-padding-top: 63px; }
  .bar { min-height: 62px; flex-wrap: wrap; gap: 12px; }
  .brand { font-size: 1.14rem; } .brand img { width: 32px; height: 32px; }
  .languages { margin-left: auto; } .js .languages { margin-left: 0; }
  .bar nav { order: 4; width: 100%; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
  .js .menu { display: block; margin-left: auto; background: transparent; color: var(--text); border: 1px solid #8b7495; border-radius: 4px; padding: 4px 10px; }
  .js header nav { display: none; } .js header nav.open { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 12px; }
  .bar nav a { padding: 7px; } .bar nav a[aria-current]::after { display: none; }
  .hero-inner { padding-block: 52px 36px; }
  .triangle-scene { width: 40%; right: 1%; }
  h1 { font-size: clamp(1.9rem,3.8vw,2.3rem); }
  .cards,.split { grid-template-columns: 1fr; } .card,.card:nth-child(n+4) { grid-column: auto; }
  .split { gap: 24px; }
}
@media(max-width:600px) {
  h1 { max-width: 100%; font-size: clamp(1.95rem,6.3vw,2.35rem); }
  .wrap { width: 89%; }
  .hero { background: radial-gradient(ellipse at 97% 78%,#916141,transparent 45%),linear-gradient(125deg,#301943,#442453 67%,#603e4a); }
  .hero-inner { padding-block: 40px 0; }
  .triangle-scene { position: relative; display: block; inset: auto; width: min(84%,350px); height: auto; aspect-ratio: 480/310; margin: 0 2% 0 auto; }
  .intro { width: 100%; } .slogan { margin-top: 23px; }
  .kicker { letter-spacing: .12em; }
  .button { padding: 11px 15px; } .actions { gap: 10px; }
  .steps { grid-template-columns: 1fr; gap: 18px; }
}
@media(prefers-reduced-motion:reduce) {
  :root { scroll-behavior: auto; } *,*::before,*::after { transition: none!important; animation: none!important; } .button:hover { transform: none; }
}



#retry-verification[hidden] { display: none; }
.verification-note:not(:empty), #retry-verification { margin-bottom: .75rem; }
.verification { margin-block: .75rem; }


@media (max-width: 1024px), (pointer: coarse) {
  .bar nav a,.languages a,.brand,footer .bar>a:last-child { display: inline-flex; align-items: center; min-height: 44px; }
  .languages a { min-width: 44px; justify-content: center; }
  .languages { gap: 0; }
  .button,.js .menu { min-height: 44px; }
  form input,form select,form textarea { font-size: 1rem; }
  .privacy label { min-height: 44px; align-items: center; }
  .privacy input { flex: none; width: 19px; height: 19px; margin: 0; }
}
@media (max-width: 800px) {
  .js header .bar { display: grid; grid-template-columns: minmax(0,1fr) auto auto; gap: 0 6px; }
  .js header .brand { justify-self: start; }
  .js header nav { grid-column: 1/-1; max-height: calc(100dvh - 65px); overflow-y: auto; }
  .js header .languages { padding-left: 3px; }
  .brand { letter-spacing: .12em; gap: 5px; }
  .js .menu { padding-inline: 9px; }
  .science,.cards,.split { grid-template-columns: minmax(0,1fr); }
  .field-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .flow li { grid-template-columns: 37px minmax(0,1fr); }
  .full-logo,.evidence-network,form select { max-width: 100%; }
}
@media (min-width: 601px) and (max-width: 800px) {
  .cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .card:last-child { grid-column: 1/-1; }
}
@media (max-width: 600px) {
  .field-grid { grid-template-columns: minmax(0,1fr); }
  .hero-inner { padding-top: 32px; }
  .triangle-scene { margin: 8px auto 0; }
  h1 { line-height: 1.12; }
  .kicker { font-size: .8125rem; letter-spacing: .09em; }
}
@media (max-width: 420px) {
  .actions { display: grid; }
  .actions .button { width: 100%; }
}
@media (max-width: 360px) {
  header .wrap { width: calc(100% - 16px); }
  header .brand { font-size: 1rem; letter-spacing: .08em; }
  header .brand img { width: 28px; height: 28px; }
  .js header .bar { column-gap: 4px; }
}

[data-test-fields] { border: 0; padding: 0; margin: 0; min-inline-size: 0; }
