/* instrument-serif-latin-ext-400-normal */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(./instrument-serif-latin-ext-400-normal-C2je3j2s.woff2) format('woff2'), url(./instrument-serif-latin-ext-400-normal-CFCUzsTy.woff) format('woff');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* instrument-serif-latin-400-normal */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(./instrument-serif-latin-400-normal-DnYpCC2O.woff2) format('woff2'), url(./instrument-serif-latin-400-normal-BVbkICAY.woff) format('woff');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* instrument-serif-latin-ext-400-italic */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url(./instrument-serif-latin-ext-400-italic-C9HzH3YL.woff2) format('woff2'), url(./instrument-serif-latin-ext-400-italic-D7-lnxEk.woff) format('woff');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* instrument-serif-latin-400-italic */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src: url(./instrument-serif-latin-400-italic-DKMiL14s.woff2) format('woff2'), url(./instrument-serif-latin-400-italic-u__WvvIK.woff) format('woff');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* manrope-cyrillic-ext-wght-normal */
@font-face {
  font-family: 'Manrope Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(./manrope-cyrillic-ext-wght-normal-C8S-KRRz.woff2) format('woff2-variations');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

/* manrope-cyrillic-wght-normal */
@font-face {
  font-family: 'Manrope Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(./manrope-cyrillic-wght-normal-Dvxsihut.woff2) format('woff2-variations');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

/* manrope-greek-wght-normal */
@font-face {
  font-family: 'Manrope Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(./manrope-greek-wght-normal-DL7QRZyv.woff2) format('woff2-variations');
  unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;
}

/* manrope-vietnamese-wght-normal */
@font-face {
  font-family: 'Manrope Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(./manrope-vietnamese-wght-normal-usUDDRr7.woff2) format('woff2-variations');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* manrope-latin-ext-wght-normal */
@font-face {
  font-family: 'Manrope Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(./manrope-latin-ext-wght-normal-Ch3YOpNY.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* manrope-latin-wght-normal */
@font-face {
  font-family: 'Manrope Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(./manrope-latin-wght-normal-DHIcAJRg.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* jetbrains-mono-cyrillic-ext-wght-normal */
@font-face {
  font-family: 'JetBrains Mono Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url(./jetbrains-mono-cyrillic-ext-wght-normal-EocZY2iu.woff2) format('woff2-variations');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

/* jetbrains-mono-cyrillic-wght-normal */
@font-face {
  font-family: 'JetBrains Mono Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url(./jetbrains-mono-cyrillic-wght-normal-D73BlboJ.woff2) format('woff2-variations');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

/* jetbrains-mono-greek-wght-normal */
@font-face {
  font-family: 'JetBrains Mono Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url(./jetbrains-mono-greek-wght-normal-Bw9x6K1M.woff2) format('woff2-variations');
  unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;
}

/* jetbrains-mono-vietnamese-wght-normal */
@font-face {
  font-family: 'JetBrains Mono Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url(./jetbrains-mono-vietnamese-wght-normal-Bt-aOZkq.woff2) format('woff2-variations');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* jetbrains-mono-latin-ext-wght-normal */
@font-face {
  font-family: 'JetBrains Mono Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url(./jetbrains-mono-latin-ext-wght-normal-DBQx-q_a.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* jetbrains-mono-latin-wght-normal */
@font-face {
  font-family: 'JetBrains Mono Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url(./jetbrains-mono-latin-wght-normal-B9CIFXIH.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* Tokens copied from home (src/style.css) */
:root {
  --night: #050F1B;
  --navy: #0B1F33;
  --navy-2: #13304d;
  --ink: #0a1826;
  --titanium: #cfd5dd;
  --white: #f6f8fb;
  --red: #ff5f6d;
  --blue: #3db8ff;
  --green: #35d49a;
  --glass-bg: linear-gradient(135deg, rgba(255,255,255,.26), rgba(255,255,255,.07));
  --glass-border: rgba(255,255,255,.42);
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Manrope Variable', 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono Variable', ui-monospace, 'Cascadia Code', monospace;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --pad: clamp(20px, 4vw, 56px);
  --max: 1120px;
  --panel-bg: rgba(255, 255, 255, 0.98);
  --panel-bg-strong: rgba(255, 255, 255, 0.97);
  --panel-border: rgba(255, 255, 255, 0.98);
  --panel-blur: blur(24px) saturate(1.25);
  --panel-shadow: 0 18px 44px -22px rgba(8, 24, 48, 0.38), inset 0 1px 0 rgba(255,255,255,0.95);
  --text-ink: #0f1f3a;
  --text-body: #1a2d4a;
}

* { box-sizing: border-box; }
html { background: #cfd8e6; -webkit-text-size-adjust: 100%; }
html[data-mode='3d'] { background: #cfd8e6; }
body {
  margin: 0; color: var(--ink); font-family: var(--sans); font-size: 16.5px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  min-height: 100vh; position: relative; background: transparent;
}
a { color: inherit; }
h1,h2,h3 { margin: 0; font-weight: 400; font-family: var(--serif); letter-spacing: -.01em; }
p { margin: 0; }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 12px; top: 12px; z-index: 99; background: #fff; color: #000; padding: 8px 12px; border-radius: 10px; }

/* ---- Live 3D hero world (same as home) ---- */
#world {
  position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh;
  z-index: 0; display: block; opacity: 0; transition: opacity 1.2s ease; pointer-events: none;
}
html[data-mode='3d'] body.world-ready #world { opacity: 1; }
#photo-stage {
  position: fixed; inset: 0; z-index: 0; overflow: hidden; display: none; background: #cfd8e6; pointer-events: none;
}
html[data-mode='lite'] #photo-stage { display: none !important; }
html[data-mode='lite'] #world { display: none; }
/* v15: never show photo-stage while 3D loads */
.ps-layer {
  position: absolute; inset: -6% -3%; background-size: cover; background-position: center 60%; opacity: 0;
}
.ps-layer[data-key='dawn'] { opacity: 1; }
.ps-fog {
  position: absolute; left: -20%; right: -20%; height: 60%; bottom: -5%; pointer-events: none; opacity: .35;
  background: radial-gradient(60% 50% at 30% 70%, rgba(255,255,255,.55), transparent 70%),
    radial-gradient(50% 40% at 75% 80%, rgba(255,255,255,.4), transparent 70%);
  filter: blur(20px);
}
.night-bg, #jp-petals { display: none !important; }

/* Sound toggle — same as home */
.sound {
  position: fixed; z-index: 46; left: clamp(12px, 1.6vw, 24px); bottom: clamp(12px, 2vh, 22px);
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 11px;
  border-radius: 999px; border: 1px solid rgba(255,255,255,.28);
  background: rgba(6,16,28,.45); color: #fff;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font: 600 12px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; cursor: pointer;
  transition: background .25s, border-color .25s;
}
.sound:hover { background: rgba(6,16,28,.62); border-color: rgba(255,255,255,.5); }
.sound svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sound svg path:first-child { fill: currentColor; stroke: none; }
.sound .sound__on { display: none; }
.sound.is-on .sound__on { display: block; }
.sound.is-on .sound__off { display: none; }
.sound.is-on .w { animation: soundwave 1.6s ease-in-out infinite; }
@keyframes soundwave { 0%,100% { opacity: .55; } 50% { opacity: 1; } }
@media (max-width: 820px) { .sound { height: 36px; padding: 0 10px; } .sound__label { display: none; } }

/* ---- Nav: same frosted glass as home .nav ---- */
.snav {
  position: sticky; top: 14px; z-index: 40;
  width: min(1180px, calc(100% - 24px));
  margin: 14px auto 0;
  display: flex; align-items: center; gap: 22px;
  padding: 9px 9px 9px 18px; border-radius: 999px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.92);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 10px 40px -12px rgba(3,10,20,.28), inset 0 1px 0 rgba(255,255,255,.9);
}
.snav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.snav__brand img:first-child { width: 30px; height: auto; }
.snav__brand img:last-child { width: 128px; height: auto; }
.snav__links { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; align-items: center; }
.snav__links a, .snav__links button {
  font: 550 14px/1 var(--sans); color: var(--navy);
  text-decoration: none; padding: 8px 12px; border-radius: 999px;
  border: 0; background: none; cursor: pointer;
  transition: background .25s, color .25s;
}
.snav__links a:hover, .snav__links button:hover,
.snav__links a[aria-current="page"] {
  background: rgba(11,31,51,.08); color: var(--ink);
}
.snav__user {
  font: 550 12.5px/1 var(--sans); color: var(--navy-2);
  max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 8px;
}
.snav__cta {
  /* Home primary Download pill */
  display: inline-flex !important; align-items: center; gap: 8px;
  padding: 11px 18px !important; border-radius: 999px !important;
  font: 650 14px/1 var(--sans) !important; color: #fff !important;
  background: linear-gradient(180deg, #1c4a78, #0b2440) !important;
  border: 0 !important;
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 -1px 0 rgba(0,0,0,.3) inset,
    0 14px 34px -12px rgba(8,30,60,.8), 0 0 0 1px rgba(120,180,255,.25);
}
.snav__cta:hover {
  box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 20px 44px -12px rgba(20,90,170,.75),
    0 0 0 1px rgba(140,200,255,.45);
}

/* ---- Buttons (home values) ---- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; cursor: pointer; text-decoration: none;
  font: 650 16px/1 var(--sans); letter-spacing: .005em;
  padding: 17px 26px; border-radius: 999px; white-space: nowrap;
  transition: box-shadow .4s var(--ease-out), background .3s;
}
.btn .ico { width: 17px; height: 17px; fill: currentColor; flex: none; }
.btn--primary {
  color: #fff; background: linear-gradient(180deg, #1c4a78, #0b2440);
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 -1px 0 rgba(0,0,0,.3) inset,
    0 14px 34px -12px rgba(8,30,60,.8), 0 0 0 1px rgba(120,180,255,.25);
}
.btn--primary:hover {
  box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 20px 44px -12px rgba(20,90,170,.75),
    0 0 0 1px rgba(140,200,255,.45);
}
.btn--glass {
  color: var(--navy); background: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.75);
  backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 12px 30px -14px rgba(10,30,60,.45), inset 0 1px 0 rgba(255,255,255,.9);
}
.btn--glass:hover { background: rgba(255,255,255,.7); }
.btn--ghost {
  color: var(--navy); background: rgba(255,255,255,.45);
  border: 1px solid rgba(255,255,255,.75);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.btn--ghost:hover { background: rgba(255,255,255,.7); }
.btn--sm { padding: 11px 18px; font-size: 14px; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn:active { transform: translateY(1px); }

/* ---- Readable frosted content panels (WCAG AA over busy 3D) ---- */
.panel-read {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.98);
  border-radius: 18px;
  backdrop-filter: blur(24px) saturate(1.25);
  -webkit-backdrop-filter: blur(24px) saturate(1.25);
  box-shadow: var(--panel-shadow);
  color: var(--text-body);
}
.panel-read summary, .panel-read h2, .panel-read h3 { color: var(--text-ink); }

/* ---- Shared frosted glass (home .glass) ---- */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -1px 0 rgba(255,255,255,.08),
    0 30px 60px -30px rgba(3,12,24,.55);
}

/* ---- Page frame ---- */
.spage { position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; padding: 36px var(--pad) 72px; }
.spage__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 650 12.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-ink);
}
.spage__eyebrow::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 0 0 rgba(53,212,154,.55);
}
.spage__title {
  font-family: var(--serif); color: var(--text-ink);
  font-size: clamp(40px, 5.5vw, 64px); line-height: .98; letter-spacing: -.015em; margin-top: 14px;
  text-shadow: 0 1px 0 rgba(255,255,255,.55), 0 8px 28px rgba(255,255,255,.45);
}
.spage__title em { font-style: italic; color: #16406a; }
.spage__lead {
  margin-top: 14px; max-width: 62ch; color: var(--text-body);
  font-size: 16px; line-height: 1.6; font-weight: 500;
}

/* Soft frosted backing behind eyebrow + title + lead */
.spage__head {
  display: block; position: relative; z-index: 1;
  padding: 18px 22px 20px; margin: 0 0 8px; border-radius: 20px;
  background: rgba(255,255,255,.98);
  border: 1px solid rgba(255,255,255,.98);
  backdrop-filter: blur(24px) saturate(1.25);
  -webkit-backdrop-filter: blur(24px) saturate(1.25);
  box-shadow: 0 16px 40px -24px rgba(8,24,48,.32), inset 0 1px 0 rgba(255,255,255,.98);
  max-width: 720px;
}
.spage__head .spage__title { margin-top: 12px; text-shadow: none; }
.spage__head .spage__lead { margin-top: 12px; }

/* Remove old full-width mist */
.spage::before { display: none; content: none; }

/* ---- Footer: same structure/feel as home .site-footer ---- */
.sfoot {
  position: relative; z-index: 2;
  padding: clamp(64px, 10vh, 120px) var(--pad) 28px;
  color: rgba(236,232,224,.82);
  background: linear-gradient(180deg, rgba(3,6,12,0), rgba(3,6,12,.72) 28%, rgba(2,4,9,.95) 62%, #020308);
}
.sfoot::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .08; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='f'><feTurbulence type='fractalNoise' baseFrequency='.012 .6' numOctaves='3' seed='4'/><feColorMatrix values='0 0 0 0 .95  0 0 0 0 .9  0 0 0 0 .8  0 0 0 1.4 -.55'/></filter><rect width='100%' height='100%' filter='url(%23f)'/></svg>");
  mask-image: linear-gradient(180deg, transparent 30%, #000 70%);
  -webkit-mask-image: linear-gradient(180deg, transparent 30%, #000 70%);
}
.sfoot__grid {
  position: relative; max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px;
  padding-top: 44px; border-top: 1px solid rgba(255,255,255,.14);
}
.sfoot__brand p { margin-top: 14px; max-width: 36ch; font-size: 15px; line-height: 1.65; color: rgba(236,232,224,.72); }
.sfoot h3 {
  font: 700 11.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.55); margin-bottom: 18px;
}
.sfoot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.sfoot a, .sfoot button {
  color: rgba(240,236,228,.84); text-decoration: none; font: 500 15px/1.4 var(--sans);
  background: none; border: 0; padding: 0; cursor: pointer; text-align: left;
}
.sfoot a:hover, .sfoot button:hover {
  color: #fff; text-decoration: underline; text-underline-offset: 4px;
  text-decoration-color: rgba(255,255,255,.45);
}
.sfoot__bar {
  position: relative; max-width: 1180px; margin: 48px auto 0; padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: rgba(236,232,224,.55);
}
.cookie {
  position: fixed; left: 16px; bottom: 16px; z-index: 50; max-width: 360px;
  background: rgba(255,255,255,.96);
  color: var(--text-ink); border-radius: 14px; padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.98);
  backdrop-filter: blur(20px) saturate(1.2); -webkit-backdrop-filter: blur(20px) saturate(1.2);
  box-shadow: 0 18px 44px -16px rgba(8,24,48,.45), inset 0 1px 0 #fff; display: none; gap: 12px; align-items: center;
}
.cookie.show { display: flex; }
.cookie p { font-size: 13px; color: var(--text-body); flex: 1; line-height: 1.45; font-weight: 500; }
.cookie a { color: #16406a; font-weight: 650; }
.lawyer-note {
  margin-top: 22px; padding: 16px 18px; border-radius: 16px;
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  backdrop-filter: var(--panel-blur); -webkit-backdrop-filter: var(--panel-blur);
  box-shadow: var(--panel-shadow);
  font-size: 14px; line-height: 1.55; font-weight: 450; color: var(--text-body);
}
.lawyer-note code {
  font-family: var(--mono); font-size: 12px;
  background: rgba(11,31,51,.08); padding: 1px 6px; border-radius: 6px; color: var(--navy);
}
@media (max-width: 860px) {
  .sfoot__grid { grid-template-columns: 1fr 1fr; }
  .snav__links a[data-hide-sm] { display: none; }
}
@media (max-width: 560px) {
  .sfoot__grid { grid-template-columns: 1fr; }
  .cookie { right: 16px; max-width: none; }
}

/* v14 readability: near-opaque panels over live WebGL */
.faq details,
.legal-body,
.contact-panel,
.lawyer-note,
.faq-cta,
.panel-read,
.spage__head,
.cookie {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(24px) saturate(1.25);
  -webkit-backdrop-filter: blur(24px) saturate(1.25);
}

/* v15: no photo fallback; soft sky until 3D mounts */
html { background: linear-gradient(180deg, #c5d6ea 0%, #dfe7f2 42%, #b7c8dc 100%); }
#photo-stage, .ps-layer, .ps-fog { display: none !important; }
#world { opacity: 0; transition: opacity .55s ease; }
html[data-mode='3d'] body.world-ready #world { opacity: 1; }
#world-loader {
  position: fixed; inset: 0; z-index: 3; display: grid; place-items: center; pointer-events: none;
  background: linear-gradient(165deg, rgba(197,214,234,.72), rgba(223,231,242,.55) 45%, rgba(183,200,220,.68));
  transition: opacity .55s ease, visibility .55s ease;
}
#world-loader.is-done { opacity: 0; visibility: hidden; }
#world-loader .wl__card {
  display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px;
  background: rgba(255,255,255,.86); border: 1px solid rgba(255,255,255,.95);
  backdrop-filter: blur(20px) saturate(1.2); -webkit-backdrop-filter: blur(20px) saturate(1.2);
  box-shadow: 0 16px 40px -22px rgba(8,24,48,.35), inset 0 1px 0 rgba(255,255,255,.95);
  color: #0f1f3a; font: 550 14px/1.3 var(--sans);
}
#world-loader .wl__spin {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(15,31,58,.18); border-top-color: #16406a;
  animation: wlspin .7s linear infinite;
}
@keyframes wlspin { to { transform: rotate(360deg); } }

/* v16 snav hamburger (mirrors home) */
.snav { position: relative; }
.snav__toggle {
  display: none; width: 44px; height: 44px; margin-left: auto; border: 0; border-radius: 12px; cursor: pointer;
  background: rgba(15,31,58,.08); align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.snav__toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: #0f1f3a; transition: transform .25s, opacity .2s; }
.snav.is-open .snav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.snav.is-open .snav__toggle span:nth-child(2) { opacity: 0; }
.snav.is-open .snav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .snav__toggle { display: inline-flex; }
  .snav__links {
    display: none; position: absolute; left: 8px; right: 8px; top: calc(100% + 8px); z-index: 50;
    flex-direction: column; gap: 4px; padding: 12px; border-radius: 18px;
    background: rgba(255,255,255,.97); border: 1px solid rgba(255,255,255,.98);
    box-shadow: 0 18px 40px -16px rgba(8,24,48,.35);
  }
  .snav.is-open .snav__links { display: flex; }
  .snav__links a, .snav__links button {
    min-height: 44px; display: flex; align-items: center; padding: 12px 14px; border-radius: 12px;
    color: #0f1f3a; font-size: 15px; font-weight: 550;
  }
  .snav__cta { display: none !important; }
  .snav.is-open .snav__cta { display: inline-flex !important; justify-content: center; margin-top: 4px; }
}

@media (max-width: 430px) {
  .spage { padding: 24px 16px 56px; }
  .spage__title { font-size: clamp(32px, 9vw, 44px); }
  .spage__head { padding: 14px 16px 16px; }
  .contact-panel { padding: 18px 16px; }
  .contact-form input, .contact-form select, .contact-form textarea {
    min-height: 44px; font-size: 16px; /* avoid iOS zoom */
  }
  .faq details { padding: 14px 14px; }
  .faq summary { min-height: 44px; display: flex; align-items: center; font-size: 15px; }
}

.faq { display: grid; gap: 12px; margin-top: 22px; }
.faq details {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--panel-border);
  border-radius: 16px; padding: 16px 18px;
  backdrop-filter: blur(24px) saturate(1.25); -webkit-backdrop-filter: blur(24px) saturate(1.25);
  box-shadow: var(--panel-shadow);
}
.faq summary { cursor: pointer; font-weight: 650; color: var(--text-ink); font-size: 15.5px; }
.faq p { margin-top: 10px; color: var(--text-body); font-size: 15.5px; line-height: 1.6; font-weight: 450; }
.legal-body {
  margin-top: 22px; padding: 22px 24px; border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--panel-border);
  backdrop-filter: blur(24px) saturate(1.25); -webkit-backdrop-filter: blur(24px) saturate(1.25);
  box-shadow: var(--panel-shadow);
  color: var(--text-body); font-size: 15.5px; line-height: 1.65; font-weight: 450;
}
.legal-body h2 { font-size: 22px; margin: 22px 0 8px; color: var(--text-ink); }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: var(--text-body); font-size: 15.5px; }
.legal-body ul { padding-left: 1.2em; margin: 8px 0; }
code {
  font-family: var(--mono); font-size: 12.5px;
  background: rgba(15,31,58,.08); padding: 1px 6px; border-radius: 6px; color: var(--text-ink);
}

/* Contact form */
.contact-panel {
  margin-top: 22px; padding: 24px 26px; border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--panel-border);
  backdrop-filter: blur(24px) saturate(1.25); -webkit-backdrop-filter: blur(24px) saturate(1.25);
  box-shadow: var(--panel-shadow);
  max-width: 640px;
}
.contact-panel .fallback {
  margin: 0 0 18px; font-size: 15px; line-height: 1.55; font-weight: 450; color: var(--text-body);
}
.contact-panel .fallback a { color: #16406a; font-weight: 650; }
.contact-form { display: grid; gap: 14px; }
.contact-form label {
  display: grid; gap: 6px; font: 650 12.5px/1 var(--sans);
  letter-spacing: .06em; text-transform: uppercase; color: var(--text-ink);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%; border: 1px solid rgba(15,31,58,.14); border-radius: 12px;
  padding: 12px 14px; font: 500 15.5px/1.45 var(--sans); color: var(--text-ink);
  background: rgba(255,255,255,.92);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(28,74,120,.35); outline-offset: 1px;
}
.contact-form .hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.contact-form .row { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .contact-form .row { grid-template-columns: 1fr; } }
.contact-form .actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 4px; }
.contact-form .status {
  font-size: 14.5px; font-weight: 500; color: var(--text-body); min-height: 1.3em;
}
.contact-form .status.is-err { color: #9b1c2e; }
.contact-form .status.is-ok { color: #0d5c3a; font-weight: 650; }
.contact-success {
  display: none; padding: 18px 0 4px; color: var(--text-ink);
  font-size: 16.5px; line-height: 1.55; font-weight: 550;
}
.contact-panel.is-sent .contact-form { display: none; }
.contact-panel.is-sent .contact-success { display: block; }
.faq-cta {
  margin-top: 22px; padding: 16px 18px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.98); border: 1px solid var(--panel-border);
  backdrop-filter: blur(24px) saturate(1.25); -webkit-backdrop-filter: blur(24px) saturate(1.25);
  box-shadow: var(--panel-shadow);
  font-size: 15.5px; line-height: 1.55; font-weight: 500; color: var(--text-body);
}
.faq-cta a { color: #16406a; font-weight: 700; text-decoration: none; }
.faq-cta a:hover { text-decoration: underline; text-underline-offset: 3px; }
