/* Self-hosted Manrope (variable font, Latin) */
@font-face { font-family: Manrope; font-style: normal; font-weight: 200 800; font-display: swap; src: url('../assets/fonts/manrope-latin.woff2') format('woff2'); }
/* ---------- 1. Design tokens & base ---------- */
:root {
  --ink: #06080d;                        /* page background */
  --panel: #0b1018;                      /* raised surfaces */
  --glass: rgba(255, 255, 255, .04);     /* frosted surfaces */
  --line: rgba(255, 255, 255, .09);      /* hairlines */
  --line-strong: rgba(255, 255, 255, .18);
  --cyan: #52d9ff;                       /* Haven-i display colour (used sparingly) */
  --amber: #ffb02e;                      /* power / light colour */
  --text: #eef2f8;
  --muted: #8d9bb0;
  --font: Manrope, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: inherit; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 16px/1.7 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3 { margin: 0; font-family: var(--font); }
h1 { max-width: 14ch; font-weight: 300; font-size: clamp(40px, 6.4vw, 84px); line-height: 1.04; letter-spacing: -.03em; }
h1 em { font-style: normal; background: linear-gradient(90deg, #fff, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { margin-bottom: 18px; font-weight: 300; font-size: clamp(30px, 4.2vw, 52px); line-height: 1.1; letter-spacing: -.025em; }
h3 { margin-bottom: 8px; font-weight: 600; font-size: 16px; }
p  { max-width: 58ch; margin: 0 0 14px; color: var(--muted); }
a  { color: inherit; }
section { padding: 120px 0; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

/* ---------- 2. Buttons ---------- */
.btn { display: inline-block; padding: 13px 26px; border: 1px solid transparent; border-radius: 999px; background: #f3f6fb; color: var(--ink); font: 600 14px var(--font); letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: transform .25s, box-shadow .3s, border-color .3s, color .3s; }
.btn:hover { box-shadow: 0 10px 40px rgba(82, 217, 255, .25); }
.btn.outline { background: transparent; border-color: var(--line-strong); color: var(--text); }
.btn.outline:hover { border-color: var(--cyan); color: var(--cyan); box-shadow: none; }

/* ---------- 3. Navigation ---------- */
nav { position: sticky; top: 0; z-index: 20; background: rgba(6, 8, 13, .72); backdrop-filter: blur(18px) saturate(1.4); border-bottom: 1px solid var(--line); }
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 88px; }
nav img { height: 80px; filter: invert(1); }
nav ul { display: flex; gap: 32px; margin: 0; padding: 0; list-style: none; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
nav ul a { color: var(--muted); text-decoration: none; transition: color .3s; }
nav ul a:hover { color: var(--text); }
nav .btn { padding: 9px 20px; font-size: 13px; }

/* ---------- 4. Hero: heading + interactive home scene ---------- */
.hero { padding: 90px 0 100px; background: radial-gradient(70% 55% at 15% 0%, rgba(82, 217, 255, .09), transparent), radial-gradient(60% 50% at 95% 15%, rgba(255, 176, 46, .05), transparent); }
.hero .lead { max-width: 54ch; margin-top: 18px; font-size: 19px; font-weight: 300; }
.creative-tagline { margin-top: 20px; color: var(--text); font-size: clamp(19px, 2.5vw, 26px); letter-spacing: -.02em; }
.seo-copy { max-width: 78ch; }
.seo-copy p { max-width: 78ch; }
.faq-list { margin-top: 34px; border-top: 1px solid var(--line); }
.faq-list details { padding: 20px 0; border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; color: var(--text); font-weight: 600; }
.faq-list details p { margin: 12px 0 0; }
.contact-links { display:flex; justify-content:center; flex-wrap:wrap; gap:14px; margin-top:24px; }
nav .brand-name { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 820px) { nav .brand-name { display:none; } }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .wrap > :nth-child(-n+3) { animation: rise 1.1s var(--ease) both; }
.hero .wrap > :nth-child(2) { animation-delay: .12s; }
.hero .wrap > :nth-child(3) { animation-delay: .24s; }

/* The scene = dim photo + bright "lit" copy revealed around active lights + SVG overlay */
.scene { position: relative; margin-top: 64px; overflow: hidden; line-height: 0; border: 1px solid var(--line-strong); border-radius: 26px; background: #000; box-shadow: 0 50px 140px rgba(0, 0, 0, .7); }
.scene::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 140px rgba(0, 0, 0, .5); }   /* soft vignette */
.scene__photo { display: block; width: 100%; filter: brightness(.4) saturate(.75) contrast(1.05); }
.scene__lit { position: absolute; inset: 0; background-size: 100% 100%; pointer-events: none; }
.scene__svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* SVG pieces drawn on top of the photo */
.hit { fill: transparent; cursor: pointer; outline: none; }
.hit:focus-visible { stroke: var(--amber); stroke-width: 4; }
.haven-hit { fill: transparent; cursor: pointer; }
.marker { fill: none; stroke: #fff; stroke-width: 3; stroke-opacity: .7; animation: pulse 2.6s ease-in-out infinite; transition: opacity .3s; }
.label { font: 600 32px var(--font); fill: #fff; letter-spacing: .04em; paint-order: stroke; stroke: rgba(0, 0, 0, .75); stroke-width: 8; stroke-linejoin: round; text-anchor: middle; pointer-events: none; }
.link { fill: none; stroke: transparent; stroke-width: 4; transition: stroke .3s; }                    /* signal line device -> load */
.link.on { stroke: var(--cyan); opacity: .7; stroke-dasharray: 14 14; animation: flow .7s linear infinite; filter: drop-shadow(0 0 6px var(--cyan)); }
.spill { opacity: .35; transition: opacity .4s; mix-blend-mode: screen; pointer-events: none; }        /* light from the Haven-i screen */
#device.active .spill { opacity: .85; }
.spin { transform-origin: 0 0; }                                                                      /* fan blades */

.hint { max-width: 70ch; margin-top: 22px; font-size: 14px; }
.controls { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.controls button { padding: 10px 20px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--glass); color: var(--text); font: 500 13px var(--font); letter-spacing: .02em; cursor: pointer; transition: border-color .3s, background .3s; }
.controls button:hover { border-color: var(--cyan); }
.controls button[aria-pressed="true"] { border-color: rgba(82, 217, 255, .6); background: rgba(82, 217, 255, .08); }
#status { margin: 18px 0 0; font: 500 12px/1.4 var(--font); font-variant-numeric: tabular-nums; letter-spacing: .06em; color: var(--muted); }

/* ---------- 5. Content sections ---------- */
.facts { border-block: 1px solid var(--line); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 0; font-size: 14px; color: var(--muted); text-align: center; }
.facts span { padding: 30px 12px; }
.facts span + span { border-left: 1px solid var(--line); }
.facts b { display: block; color: var(--text); font-weight: 500; font-size: 16px; }

.columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 56px; }
.columns h3 { margin-bottom: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); }
.columns ul { margin: 0; padding: 0; list-style: none; }
.columns li { padding: 9px 0; font-size: 16px; color: #c9d3e1; }
.columns li::before { content: ""; display: inline-block; width: 14px; height: 1px; margin: 0 12px 4px 0; background: var(--cyan); }

.stage { display: flex; justify-content: center; margin-top: 48px; }
.stage__device { width: min(520px, 100%); aspect-ratio: 2 / 1; padding: 16px; border: 1px solid var(--line-strong); border-radius: 28px; background: linear-gradient(145deg, #1a1f27, #050607 45%, #0b0d11); box-shadow: 0 40px 100px rgba(0, 0, 0, .6), 0 0 70px rgba(82, 217, 255, .16); }
.stage__screen { width: 100%; height: 100%; overflow: hidden; border: 1px solid #16212e; border-radius: 14px; background: #02060c; box-shadow: inset 0 0 40px rgba(82, 217, 255, .12); }
.faces { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 14px; margin-top: 36px; }
.face-tile { padding: 14px 12px 12px; font: inherit; color: inherit; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .01)); text-align: center; cursor: pointer; transition: transform .5s var(--ease), border-color .3s, box-shadow .5s; }
.face-tile:hover { transform: translateY(-8px); border-color: rgba(82, 217, 255, .5); box-shadow: 0 24px 60px rgba(82, 217, 255, .12); }
.face-tile.active { border-color: rgba(82, 217, 255, .6); box-shadow: 0 0 40px rgba(82, 217, 255, .15); }
.face-tile .screen { aspect-ratio: 2 / 1; margin-bottom: 12px; padding: 2px; border: 1px solid #16212e; border-radius: 8px; background: #02060c; }
.face-tile span { font-size: 13px; letter-spacing: .08em; color: var(--muted); }

.band { background: linear-gradient(180deg, rgba(255, 255, 255, .015), rgba(255, 255, 255, .045)); border-block: 1px solid var(--line); }
.power-path { display: flex; flex-wrap: wrap; margin-top: 56px; }
.power-path > div { position: relative; flex: 1 1 150px; margin-right: 28px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--glass); backdrop-filter: blur(8px); }
.power-path > div::after { content: ""; position: absolute; right: -28px; top: 50%; width: 28px; height: 1px; background: linear-gradient(90deg, var(--amber), var(--cyan)); }
.power-path > div:last-child { margin: 0; }
.power-path > div:last-child::after { display: none; }
.power-path p { margin: 0; font-size: 14px; }
.power-path .end { display: flex; align-items: center; justify-content: center; border-style: dashed; background: none; backdrop-filter: none; color: var(--muted); font-size: 14px; text-align: center; }

.gallery { display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px; margin-top: 56px; align-items: start; }
.gallery img { display: block; width: 100%; border-radius: 24px; box-shadow: 0 30px 80px rgba(0, 0, 0, .55); transition: transform .8s var(--ease); }
.gallery img:hover { transform: translateY(-6px); }
.gallery .stack { display: grid; gap: 22px; }

.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 56px; margin-top: 40px; }
.specs div { display: flex; flex-direction: column; gap: 2px; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 300; }
.specs span { font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

#contact .wrap { text-align: center; }
#contact p { margin-inline: auto; }
.signup { display: flex; gap: 6px; max-width: 660px; margin: 32px auto 0; padding: 6px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--glass); transition: border-color .3s; }
.signup:focus-within { border-color: var(--cyan); }
.signup input { flex: 1 1 0; min-width: 0; padding: 12px 20px; border: 0; background: transparent; color: var(--text); font: 16px var(--font); }
.signup input:focus-visible { outline: none; }
footer { padding: 48px 0 calc(clamp(120px, 22vw, 176px) * .625 + 40px); border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
footer img { height: 84px; filter: invert(1); }

/* ---------- 6. Floating Haven-i + chat ---------- */
#fab { position: fixed; z-index: 30; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); }
#fab > button { width: clamp(120px, 22vw, 176px); aspect-ratio: 8 / 5; padding: 8px 10px; border: 1px solid #2a3a52; border-radius: 18px; background: linear-gradient(135deg, #1a1f27, #050607 45%, #0b0d11); box-shadow: 0 14px 40px #000b, 0 0 30px #52d9ff2a; cursor: pointer; touch-action: none; animation: bob 4s ease-in-out infinite; transition: width .5s var(--ease), box-shadow .4s, border-color .4s; }
#fab.on > button { border-color: rgba(82, 217, 255, .7); box-shadow: 0 14px 40px #000b, 0 0 60px #52d9ff66; }
#fab.speaking #chat:not(.open) ~ #fabBtn { width: clamp(230px, 34vw, 310px); }   /* grows while Haven-i is reading out a message */
#chat { display: none; position: absolute; right: 0; bottom: calc(clamp(120px, 22vw, 176px) * .625 + 22px); width: min(350px, calc(100vw - 32px)); padding: 16px; border: 1px solid var(--line-strong); border-radius: 24px; background: rgba(11, 16, 24, .86); backdrop-filter: blur(22px) saturate(1.3); box-shadow: 0 30px 80px #000c; }
#chat.open { display: block; animation: rise .5s var(--ease) both; }
#chat .screen { width: 100%; aspect-ratio: 2 / 1; margin: 24px 0 4px; padding: 2px; border: 1px solid #1c2a3a; border-radius: 10px; background: #02060c; box-shadow: inset 0 0 30px rgba(82, 217, 255, .1); }
#cx { position: absolute; top: 12px; right: 12px; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--muted); font: 20px/1 var(--font); cursor: pointer; transition: background .3s, color .3s; }
#cx:hover { background: #f3f6fb; border-color: #f3f6fb; color: var(--ink); }
#log { display: flex; flex-direction: column; gap: 8px; height: 120px; margin: 12px 0; overflow: auto; font-size: 14px; line-height: 1.5; }
#log div { max-width: 88%; padding: 9px 13px; border-radius: 16px; }
#log .haven { align-self: flex-start; border: 1px solid rgba(82, 217, 255, .2); background: rgba(82, 217, 255, .09); }
#log .user  { align-self: flex-end; background: rgba(255, 255, 255, .08); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { padding: 5px 11px; border: 1px solid var(--line-strong); border-radius: 99px; background: none; color: var(--muted); font: 12px var(--font); cursor: pointer; transition: color .3s, border-color .3s; }
.chips button:hover { color: var(--cyan); border-color: var(--cyan); }
#chat form { display: flex; gap: 8px; margin-top: 12px; }
#chat input { flex: 1; min-width: 0; padding: 9px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--text); font: 16px var(--font); }
#chat .btn { padding: 9px 18px; }
svg.face { display: block; width: 100%; height: 100%; }

/* Welcome screen: shown once on load, above everything except the custom cursor */
body.welcoming { overflow: hidden; }
#welcome { display: none; position: fixed; inset: 0; z-index: 200; flex-direction: column; align-items: center; justify-content: center; gap: 34px; padding: 24px; text-align: center; overflow: hidden;
  background: radial-gradient(60% 50% at 50% 42%, rgba(82, 217, 255, .15), transparent 70%), radial-gradient(40% 35% at 88% 92%, rgba(255, 176, 46, .09), transparent), #04060a;
  transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
#welcome.open { display: flex; }
#welcome.leaving { opacity: 0; transform: scale(1.06); pointer-events: none; }
#welcome::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(60% 55% at 50% 45%, #000, transparent); mask-image: radial-gradient(60% 55% at 50% 45%, #000, transparent); }   /* faint grid fading to the edges */
#welcome > * { position: relative; }
.welcome__logo { height: 76px; filter: invert(1); opacity: .92; animation: rise 1s var(--ease) both; }
.welcome__device { width: min(560px, 82vw); aspect-ratio: 2 / 1; padding: 18px; border: 1px solid var(--line-strong); border-radius: 30px; background: linear-gradient(145deg, #1a1f27, #050607 45%, #0b0d11);
  box-shadow: 0 40px 120px #000, 0 0 90px rgba(82, 217, 255, .22); animation: rise 1.2s var(--ease) .15s both, breathe 5s ease-in-out 1.4s infinite; }
.welcome__screen { width: 100%; height: 100%; overflow: hidden; border: 1px solid #16212e; border-radius: 14px; background: #02060c; box-shadow: inset 0 0 40px rgba(82, 217, 255, .12); }
.welcome__copy .welcome__title { margin: 0; font-size: clamp(30px, 5vw, 56px); font-weight: 300; line-height: 1.1; letter-spacing: -.025em; }
.welcome__copy p { max-width: 46ch; margin: 14px auto 0; font-size: 17px; font-weight: 300; }
.welcome__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.w1, .w2, .w3 { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform .9s var(--ease); }   /* revealed one by one by the script */
#welcome.step-1 .w1, #welcome.step-2 .w2, #welcome.step-3 .w3 { opacity: 1; transform: none; }
.welcome__bar { position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--amber)); transform: scaleX(0); transform-origin: left; }
#welcome.open .welcome__bar { animation: fill 11s linear forwards; }   /* time left before it opens by itself */
@keyframes breathe { 50% { box-shadow: 0 40px 120px #000, 0 0 130px rgba(82, 217, 255, .34); } }
@keyframes fill { to { transform: scaleX(1); } }

/* ---------- 7. Cursor effects (mouse only) ---------- */
body.has-cursor, body.has-cursor * { cursor: none; }
#spot  { position: fixed; inset: 0; z-index: 4; pointer-events: none; mix-blend-mode: screen; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 30%), rgba(82, 217, 255, .07), transparent 70%); }
#trail { position: fixed; inset: 0; z-index: 299; pointer-events: none; }
#dot, #ring { position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; opacity: 0; transition: opacity .25s; }
body.has-cursor #dot, body.has-cursor #ring { opacity: 1; }
body.cursor-out #dot, body.cursor-out #ring { opacity: 0; }
#dot  { width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px rgba(82, 217, 255, .95), 0 0 16px var(--cyan); }   /* the exact point that selects */
#ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
#ring i { position: absolute; inset: 0; border: 2px solid rgba(255, 255, 255, .7); border-radius: 50%; transition: transform .3s var(--ease), background .3s, border-color .3s; }
#ring.hover i { transform: scale(1.25); border-color: var(--cyan); background: rgba(82, 217, 255, .1); }
#ring.down i  { transform: scale(.65); }
#ring b { position: absolute; left: 84px; top: 50%; padding: 4px 12px; border-radius: 99px; background: rgba(255, 255, 255, .92); color: var(--ink); font: 600 12px var(--font); letter-spacing: .02em; white-space: nowrap; opacity: 0; transform: translateY(-50%); transition: opacity .2s; }
#ring.labelled b { opacity: 1; }
#hud { display: none; position: fixed; left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 30; padding: 6px 14px; border: 1px solid var(--line); border-radius: 99px; background: rgba(11, 16, 24, .8); color: var(--muted); font: 500 11px var(--font); font-variant-numeric: tabular-nums; letter-spacing: .05em; pointer-events: none; }
body.has-cursor #hud { display: block; }
.ripple { position: fixed; z-index: 298; width: 12px; height: 12px; margin: -6px 0 0 -6px; border: 1px solid var(--cyan); border-radius: 50%; pointer-events: none; animation: ripple .8s ease-out forwards; }

/* ---------- 8. Animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }   /* added by script on scroll */
.reveal.in { opacity: 1; transform: none; }
@keyframes rise   { from { opacity: 0; transform: translateY(24px); } }
@keyframes flow   { to { stroke-dashoffset: -14; } }
@keyframes pulse  { 50% { stroke-opacity: .12; } }
@keyframes spin   { to { transform: rotate(360deg); } }
@keyframes bob    { 50% { transform: translateY(-6px); } }
@keyframes ripple { to { transform: scale(7); opacity: 0; } }

/* ---------- 9. Responsive & reduced motion ---------- */
@media (max-width: 820px) {
  section { padding: 84px 0; }
  nav ul { display: none; }
  .facts .wrap { grid-template-columns: 1fr 1fr; }
  .facts span:nth-child(3) { border-left: 0; }
  .facts span:nth-child(n+3) { border-top: 1px solid var(--line); }
  .gallery, .columns { grid-template-columns: 1fr; }
  .power-path > div { flex-basis: 100%; margin: 0 0 28px; }
  .power-path > div::after { right: 50%; top: auto; bottom: -28px; width: 1px; height: 28px; }
  .signup { flex-wrap: wrap; border-radius: 28px; }
  .signup .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* Keep every image proportional: width/height attributes only reserve space, CSS controls the real size. */
img { max-width: 100%; height: auto; }
nav img, footer img, .welcome__logo { width: auto; max-width: none; }

/* ---------- Content pages, byline, quotes ---------- */
section.page { padding: 90px 0 110px; }
.meta { font-size: 13px; letter-spacing: .02em; color: var(--muted); }
.meta a { color: var(--cyan); }
blockquote { max-width: 70ch; margin: 22px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--cyan); color: var(--text); font-size: 18px; font-weight: 300; }
blockquote cite { display: block; margin-top: 6px; font-size: 13px; font-style: normal; color: var(--muted); }
.seo-copy ul { max-width: 78ch; color: var(--muted); padding-left: 20px; }
.seo-copy li { margin-bottom: 6px; }
.seo-copy a:not(.btn) { color: var(--cyan); }
footer a { color: var(--muted); }

/* Pseudo-headings: keep the look of h3 without creating tiny retrieval chunks */
.h3 { margin: 0 0 8px; font-family: var(--font); font-weight: 600; font-size: 16px; color: var(--text); }
.columns .h3 { margin-bottom: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); }

/* Comparison table */
.table-scroll { max-width: 78ch; overflow-x: auto; margin: 22px 0; }
.cmp { width: 100%; border-collapse: collapse; font-size: 15px; }
.cmp th, .cmp td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cmp thead th { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.cmp tbody th { font-weight: 600; color: var(--text); }
.cmp td { color: #c9d3e1; }

/* One typeface everywhere: browsers do not inherit fonts into form controls by default */
button, input, select, textarea, summary, table, th, td { font-family: var(--font); }
::placeholder { font-family: var(--font); opacity: .6; }

/* Social profiles */
.social { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.social__label { margin-right: 6px; color: var(--text); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.social a, footer .social a { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--glass); color: var(--text); font: 500 14px var(--font); text-decoration: none; transition: color .3s, border-color .3s, box-shadow .3s; }
.social a:hover, .social a:focus-visible { border-color: var(--cyan); color: var(--cyan); box-shadow: 0 8px 30px rgba(82, 217, 255, .15); }
.social svg { flex: none; }
.social--inline { margin-top: 28px; }
footer .social--footer { max-width: 1180px; margin: 32px auto 0; padding: 28px 24px 0; border-top: 1px solid var(--line); justify-content: flex-start; }
.social--inline { justify-content: center; }

/* headings inside FAQ summaries look like the old plain summary text */
.faq-list summary h3 { display: inline; font-size: inherit; font-weight: 600; letter-spacing: 0; text-transform: none; color: inherit; margin: 0; padding: 0; border: 0; }
h3.h3 { font-family: var(--font); }
.seo-copy h2 + .faq-list, .page h2 { margin-top: 36px; }
blockquote.pull { margin: 40px 0 0; padding: 18px 24px; border-left: 3px solid var(--cyan); background: var(--glass); border-radius: 0 16px 16px 0; }
blockquote.pull p { margin: 0 0 8px; font-size: 18px; color: var(--text); }
blockquote.pull footer { font-size: 14px; color: var(--muted); }
.figures { margin: 12px 0 28px; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.figures li { padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--glass); font-size: 15px; color: #c9d3e1; }
.figures strong { color: var(--cyan); font-weight: 600; }

/* ---------- Comparison tables ---------- */
.table-scroll { overflow-x: auto; margin: 28px 0; border: 1px solid var(--line-strong); border-radius: 18px; background: var(--panel); -webkit-overflow-scrolling: touch; }
table.cmp { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.cmp th, .cmp td { padding: 15px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.cmp thead th { background: rgba(255, 255, 255, .06); color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.cmp tbody th { width: 26%; color: var(--text); font-weight: 600; }
.cmp td { color: var(--muted); }
.cmp tbody tr:nth-child(even) { background: rgba(255, 255, 255, .02); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp--last thead th:last-child { color: var(--cyan); }
.cmp--last td:last-child { color: var(--text); font-weight: 600; background: rgba(82, 217, 255, .08); }
.cmp tr.hl th, .cmp tr.hl td { color: var(--text); font-weight: 600; background: rgba(82, 217, 255, .10); }

/* ---------- Mofit highlight ---------- */
.mofit { padding: 96px 0; }
.mofit__box { padding: clamp(28px, 5vw, 56px); border: 1px solid rgba(82, 217, 255, .35); border-radius: 28px; background: radial-gradient(120% 140% at 0% 0%, rgba(82, 217, 255, .14), transparent 55%), var(--panel); box-shadow: 0 30px 90px rgba(0, 0, 0, .45), 0 0 60px rgba(82, 217, 255, .08); }
.mofit__eyebrow { display: inline-block; margin: 0 0 14px; padding: 6px 14px; border: 1px solid rgba(82, 217, 255, .5); border-radius: 999px; color: var(--cyan); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.mofit h2 { max-width: 20ch; font-weight: 300; font-size: clamp(30px, 4.4vw, 54px); line-height: 1.08; letter-spacing: -.025em; }
.mofit__lead { max-width: 64ch; margin-top: 16px; color: var(--text); font-size: 18px; font-weight: 300; }
.mofit__steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin: 32px 0 0; padding: 0; list-style: none; counter-reset: step; }
.mofit__steps li { position: relative; padding: 22px 22px 22px 22px; border: 1px solid var(--line-strong); border-radius: 20px; background: var(--glass); color: var(--muted); counter-increment: step; }
.mofit__steps li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 14px; border-radius: 50%; background: var(--cyan); color: var(--ink); font-weight: 800; }
.mofit__steps strong { display: block; margin-bottom: 6px; color: var(--text); font-size: 18px; }
.mofit__note { max-width: 70ch; margin: 24px 0 22px; font-size: 14px; }

/* ---------- Nav alignment fixes ---------- */
nav .wrap { gap: 20px; }
nav ul { gap: clamp(14px, 1.8vw, 28px); }
nav ul a, nav .btn { white-space: nowrap; }
nav .btn { flex: none; }
nav .wrap > a:first-child { flex: none; }
@media (max-width: 1200px) { .nav-main li:nth-child(5), .nav-main li:nth-child(6) { display: none; } }  /* Gallery, Specs */
@media (max-width: 980px)  { .nav-main li:nth-child(4), .nav-main li:nth-child(7) { display: none; } }  /* Protection, Compatibility */
@media (max-width: 760px)  { .nav-main { display: none; } }
.mofit__compare-title { margin: 36px 0 6px; color: var(--text); font-size: 20px; font-weight: 600; }
.mofit__compare-note { margin: 0 0 6px; font-size: 14px; }

/* ---------- Mofit pros ---------- */
.mofit__pros { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin: 24px 0 0; padding: 0; list-style: none; }
.mofit__pros li { padding: 18px 20px; border: 1px solid rgba(82, 217, 255, .3); border-radius: 18px; background: rgba(82, 217, 255, .05); color: var(--muted); }
.mofit__pros strong { display: block; margin-bottom: 4px; color: var(--text); font-size: 16px; }
.mofit__pros strong::before { content: "\2713"; margin-right: 8px; color: var(--cyan); }

/* ---------- Mofit title + section spacing ---------- */
.mofit__title { margin: 0 0 6px; }
.mofit__name { display: block; font-weight: 300; font-size: clamp(72px, 14vw, 160px); line-height: .95; letter-spacing: -.04em; background: linear-gradient(90deg, #fff, var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mofit__tag { display: inline-block; margin-top: 12px; padding: 6px 14px; border: 1px solid rgba(82, 217, 255, .5); border-radius: 999px; color: var(--cyan); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.mofit h2 { margin-top: 26px; max-width: 26ch; font-size: clamp(24px, 3.2vw, 40px); }
.mofit__section { margin-top: 72px; padding-top: 48px; border-top: 1px solid var(--line-strong); }
.mofit__section .mofit__compare-title, .seo-copy .mofit__compare-title { margin: 0 0 10px; color: var(--text); font-size: clamp(22px, 2.8vw, 32px); font-weight: 600; letter-spacing: -.01em; }
.mofit__note { margin-top: 48px; }
