/* Esvita — shared styles. Esvita navy, one accent. */
:root {
  --bg: #030a2c;
  --bg-2: #0a1546;
  --bg-3: #101a4a;
  --glow: #0a2adf;
  --line: rgba(140, 165, 255, 0.14);
  --text: #f5f6fb;
  --text-2: #aab2cc;
  --text-3: #6f7899;
  --blue: #385cad;
  --link: #7fa2ff;
  --green: #6cca98;
  --paper: #f3f5fb;
  --paper-ink: #0b1238;
  --paper-2: #5d6584;
  --paper-line: rgba(11, 18, 56, 0.1);
  --max: 1080px;
  --pad: 112px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Helvetica Neue", Arial, sans-serif;
}
@media (max-width: 760px) { :root { --pad: 64px; } }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 60px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 760px) { .wrap { padding: 0 20px; } }
section { padding: var(--pad) 0; }
section + section { border-top: 1px solid var(--line); }
.paper + section, section + .paper, .tint + section, section + .tint { border-top: 0; }
.tint { background: var(--bg-2); }

/* Brand glow, taken from the Esvita background */
.glow { background: radial-gradient(70% 50% at 50% 0%, rgba(10, 42, 223, 0.45) 0%, rgba(10, 42, 223, 0.12) 45%, rgba(3, 10, 44, 0) 75%), var(--bg); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50; height: 56px;
  background: rgba(3, 10, 44, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav img { height: 32px; width: auto; }
.nav-links { display: flex; gap: 28px; font-size: 13px; color: var(--text-2); }
.nav-links a:hover { color: var(--text); }
.nav-cta { font-size: 13px; font-weight: 500; padding: 7px 14px; border-radius: 999px; background: var(--text); color: var(--bg); }
@media (max-width: 760px) { .nav-links { display: none; } }

/* Type */
h1 { font-size: clamp(40px, 7vw, 80px); line-height: 1.04; letter-spacing: -0.04em; font-weight: 700; }
h2 { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 700; }
h3 { font-size: 20px; line-height: 1.3; letter-spacing: -0.02em; font-weight: 600; }
.label { font-size: 14px; color: var(--text-3); margin-bottom: 10px; }
.lead { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.45; letter-spacing: -0.02em; color: var(--text-2); }
.muted { color: var(--text-2); }
.small { font-size: 14px; color: var(--text-3); }

/* Links & buttons */
.btn {
  display: inline-block; padding: 13px 24px; border-radius: 999px;
  font-size: 17px; font-weight: 500; background: var(--text); color: var(--bg);
  text-align: center;
}
.btn:hover { background: #fff; }
.link { color: var(--link); }
.link:hover { text-decoration: underline; }
.link::after { content: " ›"; }

/* Definition table */
.facts { border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--text-3); }
@media (max-width: 640px) { .facts div { grid-template-columns: 1fr; gap: 2px; padding: 14px 0; } .facts dt:empty { display: none; } }

/* Light section */
.paper { background: var(--paper); color: var(--paper-ink); }
.paper .muted, .paper .lead { color: var(--paper-2); }
.paper .label, .paper .small { color: var(--paper-2); }
.paper .facts, .paper .facts div { border-color: var(--paper-line); }
.paper .facts dt { color: var(--paper-2); }

/* Placeholder surface */
.ph {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px;
  display: flex; align-items: flex-end; padding: 16px; font-size: 13px; color: var(--text-3);
}

/* Video placeholder: poster + play button */
.video { position: relative; display: block; overflow: hidden; border-radius: 18px; background: var(--bg-2); }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .3s, transform .6s; }
.video:hover img { opacity: 1; transform: scale(1.02); }
.video .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--bg); display: grid; place-items: center; padding-left: 4px; }
.video .vcap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; font-size: 14px; color: #fff; background: linear-gradient(transparent, rgba(2,6,32,.85)); display: flex; justify-content: space-between; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 20px 0; font-size: 18px; font-weight: 600; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--text-3); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 22px; color: var(--text-2); max-width: 720px; }

/* Mobile action bar */
.mbar { display: none; }
@media (max-width: 760px) {
  /* Liquid glass: clear tint, heavy blur and saturation, a specular rim; adapts to light sections underneath */
  .mbar { display: flex; position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); padding: 7px 7px 7px 20px; gap: 12px; align-items: center; justify-content: space-between; border-radius: 999px; isolation: isolate; overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, .18) 0%, rgba(255, 255, 255, .06) 100%), rgba(12, 20, 60, .28);
    border: 1px solid rgba(255, 255, 255, .22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -1px 0 rgba(255, 255, 255, .1), inset 0 0 18px rgba(255, 255, 255, .06), 0 18px 40px -14px rgba(3, 8, 36, .55);
    backdrop-filter: blur(22px) saturate(190%) brightness(1.05); -webkit-backdrop-filter: blur(22px) saturate(190%) brightness(1.05);
    font-size: 15px; font-weight: 500; letter-spacing: -0.01em; color: #fff;
    transform: translateY(160%); transition: transform .5s cubic-bezier(.22,1,.36,1), background .4s, color .4s, border-color .4s, box-shadow .4s; }
  .mbar::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit; background: radial-gradient(120% 140% at 18% -30%, rgba(255, 255, 255, .32) 0%, rgba(255, 255, 255, 0) 55%); }
  .mbar.on { transform: none; }
  .mbar .btn { padding: 11px 22px; font-size: 15px; box-shadow: 0 6px 16px -6px rgba(3, 8, 36, .45), inset 0 1px 0 rgba(255, 255, 255, .6); }
  .mbar.light { color: var(--paper-ink); background: linear-gradient(180deg, rgba(255, 255, 255, .72) 0%, rgba(255, 255, 255, .5) 100%); border-color: rgba(255, 255, 255, .8); box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(11, 18, 56, .06), 0 18px 40px -16px rgba(11, 18, 56, .35); }
  .mbar.light .btn { background: #0b1238; color: #fff; box-shadow: 0 6px 16px -6px rgba(11, 18, 56, .5), inset 0 1px 0 rgba(255, 255, 255, .18); }
}

/* Footer */
footer { border-top: 1px solid var(--line); padding: 40px 0 96px; font-size: 12px; color: var(--text-3); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer p { max-width: 560px; }

/* Concept-draft notice shown above the nav */
.draft { background: var(--bg-2); color: var(--text-2); font-size: 13px; text-align: center; padding: 8px 16px; border-bottom: 1px solid var(--line); }
