:root { --night: #01030b; --accent: #2f4bff; --soft: rgba(255,255,255,.6); --line: rgba(255,255,255,.16); --gut: max(40px, calc((100vw - 1200px) / 2)); --num: 300 1em/1 var(--font-num); }
html { scroll-behavior: smooth; }
html, body { background: var(--night); color: #fff; }
img { display: block; max-width: 100%; }
header { position: fixed; inset: 0 0 auto 0; z-index: 20; isolation: isolate; display: flex; align-items: center; justify-content: space-between; padding: 22px var(--gut); background-color: var(--hd, rgba(1,3,11,.6)); backdrop-filter: blur(16px) saturate(170%); -webkit-backdrop-filter: blur(16px) saturate(170%); box-shadow: inset 0 -1px 0 rgba(255,255,255,.14); transition: background-color .5s ease; }
header::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(100deg, rgba(6,22,87,.62) 0%, rgba(18,56,214,.48) 55%, rgba(47,91,255,.40) 100%); opacity: 0; transition: opacity .5s ease; }
header.blue::before { opacity: 1; }
.logo { display: flex; align-items: flex-end; gap: 14px; color: #fff; text-decoration: none; }
nav { display: flex; gap: 36px; font-size: var(--fs-ui); font-weight: 600; }
nav a { position: relative; color: #fff; text-decoration: none; }
nav a::after { content: ""; position: absolute; left: 50%; bottom: -10px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.25); opacity: 0; scale: .4; transition: opacity .25s, scale .25s; }
.h-end { display: flex; align-items: center; gap: 20px; }
.lang { font-size: var(--fs-caption); font-weight: 600; letter-spacing: .06em; color: #fff; text-decoration: none; transition: color .3s; }
.lang:hover { color: #9fb6ff; }
.cta-mini { font-size: var(--fs-small); font-weight: 600; padding: 9px 18px; border: 1px solid #fff; border-radius: 999px; color: #fff; text-decoration: none; }
.tbd { font-style: normal; font-size: var(--fs-label); font-weight: 400; color: rgba(255,255,255,.72); border: 1px dashed rgba(255,255,255,.45); border-radius: 999px; padding: 1px 8px; white-space: nowrap; }
.foot::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask: linear-gradient(to bottom, transparent, #000 28%, transparent 75%); mask: linear-gradient(to bottom, transparent, #000 28%, transparent 75%); }
/* Footer: warm white at the top (the page above ends in warm white), down to night */
.foot { position: relative; isolation: isolate; overflow: hidden; color: #fff; padding: 200px var(--gut) 32px; background: radial-gradient(110% 36% at 50% 30%, rgba(111,155,255,.85) 0%, rgba(47,91,255,.6) 25%, rgba(31,66,230,.25) 50%, rgba(0,0,0,0) 75%), linear-gradient(to bottom, #e6e0d4 0%, #e6e0d4 4%, #aab4e8 12%, #4865ea 21%, #1238d6 30%, #061657 50%, var(--night) 72%, #000 100%); }
/* Page head: night to brand blue to warm white. Padding is set per page. */
.sp-hero { padding: 148px var(--gut) 120px; background: radial-gradient(110% 45% at 50% 68%, rgba(111, 155, 255, .85) 0%, rgba(47, 91, 255, .6) 25%, rgba(31, 66, 230, .25) 50%, rgba(0, 0, 0, 0) 75%), linear-gradient(to bottom, #000 0%, var(--night) 22%, #061657 44%, #1238d6 62%, #4865ea 76%, #aab4e8 90%, #e6e0d4 100%); }
.sp-hero h1 { font-size: var(--fs-display); line-height: var(--lh-display); font-weight: 900; }
.sp-hero > p { margin-top: 24px; max-width: 520px; font-size: var(--fs-lead); line-height: 1.6; color: rgba(255,255,255,.8); }
/* Middle of the page: warm-white reeded panel, dark text */
.mid { display: flow-root; --soft: #55575b; --line: rgba(18,19,20,.16); color: #121314; background: linear-gradient(#e6e0d4, rgba(230,224,212,0) 160px, rgba(230,224,212,0) calc(100% - 220px), #e6e0d4), radial-gradient(70% 20% at 30% 6%, rgba(255,253,248,.7), transparent 70%), repeating-linear-gradient(90deg, rgba(255,255,255,.55) 0, rgba(255,255,255,0) 3px, rgba(90,70,40,0) 9px, rgba(90,70,40,.13) 16px), #e6e0d4; }
.crumb { display: flex; align-items: center; gap: 12px; padding: 28px var(--gut); border-bottom: 1px solid var(--line); font-size: var(--fs-ui); color: var(--soft); }
.crumb a { color: inherit; text-decoration: none; transition: color .2s; }
.crumb a:hover { color: #fff; }
.crumb i { font-style: normal; font-size: var(--fs-title); font-weight: 600; color: var(--accent); }
.crumb b { color: #fff; font-weight: 600; }
.mid .crumb a:hover, .mid .crumb b { color: #121314; }
.d-sec { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; padding: 96px var(--gut); border-top: 1px solid var(--line); }
.d-sec h2 { font-size: var(--fs-h3); font-weight: 900; line-height: var(--lh-h3); }
.d-sec h2 + p { margin-top: 14px; max-width: 320px; font-size: var(--fs-body); line-height: var(--lh-body); color: var(--soft); }
@media (max-width: 760px) {
  :root { --gut: 20px; }
  nav, .logo-tag { display: none; }
  .foot { padding: 88px var(--gut) 28px; }
  .crumb { padding: 20px var(--gut); font-size: var(--fs-small); }
  .d-sec { grid-template-columns: 1fr; gap: 28px; padding: 64px var(--gut); }
  header { padding: 18px var(--gut); }
  .h-end { margin-left: auto; gap: 16px; }
  .menu-btn { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 40px; height: 40px; margin: 0 -9px 0 8px; padding: 0 9px; border: 0; background: none; color: #fff; cursor: pointer; }
}
