/* Belvista Digital Solutions: shared styles.
   Dark navy, the line-art B, a faint dot grid with soft blue/grey blobs
   (the same treatment as the Facebook cover), mono labels for detail. */

:root {
  --bg: #080B12;
  --bg-2: #0C111B;
  --panel: #0F1522;
  --ink: #F2F4F8;
  --muted: #9AA3B5;
  --dim: #5C6578;
  --blue: #3558F5;
  --blue-2: #5373FF;
  --line: rgba(242, 244, 248, 0.10);
  --line-2: rgba(242, 244, 248, 0.18);
  --sans: "Inter", -apple-system, "SF Pro Text", system-ui, sans-serif;
  --mono: "JetBrains Mono", "SF Mono", ui-monospace, Menlo, monospace;
  --wrap: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: rgba(53, 88, 245, 0.45); }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.mono { font-family: var(--mono); }
.label { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 12px; }
.label::before { content: ""; width: 7px; height: 7px; background: var(--blue-2); flex: none; }
.label.plain::before { display: none; }

/* ---------------------------------------------------------------------
   The living background (ported from Belnoir's .welcome-bg), fixed behind
   every page: five glows each drifting on their own slow timers (left-right
   on one, up-down and gently growing on another, so they wander and blend
   without visibly repeating), a dot grid drifting on the diagonal, and now
   and then a band of light sweeping across the dots. Transforms only.
   --------------------------------------------------------------------- */
.welcome-bg { position: fixed; inset: 0; z-index: -10; overflow: hidden; pointer-events: none; background: #06080E; }
.wb-glow { position: absolute; width: 72vmax; height: 52vmax; animation: wb-x var(--tx) ease-in-out infinite alternate; animation-delay: var(--dx, 0s); }
.wb-glow > span { display: block; width: 100%; height: 100%; background: radial-gradient(closest-side, var(--c), transparent); animation: wb-y var(--ty) ease-in-out infinite alternate; animation-delay: var(--dy2, 0s); }
@keyframes wb-x { from { transform: translate3d(calc(-1 * var(--ax)), 0, 0); } to { transform: translate3d(var(--ax), 0, 0); } }
@keyframes wb-y { from { transform: translate3d(0, calc(-1 * var(--ay)), 0) scale(0.92); } to { transform: translate3d(0, var(--ay), 0) scale(1.12); } }
.wb-navy { left: -18vmax; top: -16vmax; width: 82vmax; height: 60vmax; --c: rgba(36, 70, 220, 0.62); --ax: 22vw; --ay: 18vh; --tx: 17s; --ty: 21s; --dx: -7s; }
.wb-blue { right: -20vmax; top: 4vh; width: 80vmax; height: 58vmax; --c: rgba(70, 110, 255, 0.55); --ax: 26vw; --ay: 24vh; --tx: 22s; --ty: 15s; --dy2: -9s; }
.wb-midnight { left: 10vw; bottom: -24vmax; --c: rgba(28, 44, 150, 0.7); --ax: 28vw; --ay: 16vh; --tx: 27s; --ty: 19s; --dx: -15s; }
.wb-slate { left: 24vw; top: 18vh; width: 58vmax; height: 44vmax; --c: rgba(120, 132, 160, 0.3); --ax: 30vw; --ay: 26vh; --tx: 20s; --ty: 25s; --dx: -4s; --dy2: -18s; }
.wb-light { right: 6vw; top: -6vh; width: 44vmax; height: 34vmax; --c: rgba(200, 214, 255, 0.16); --ax: 26vw; --ay: 24vh; --tx: 31s; --ty: 17s; --dx: -21s; --dy2: -6s; }
.wb-dots, .wb-sweep { position: absolute; inset: 0; -webkit-mask-image: radial-gradient(ellipse at 50% 45%, #000 25%, transparent 80%); mask-image: radial-gradient(ellipse at 50% 45%, #000 25%, transparent 80%); }
.wb-dots i, .wb-sweep i { position: absolute; top: -26px; left: -26px; right: 0; bottom: 0; background-size: 26px 26px; animation: wb-drift 9s linear infinite; }
.wb-dots i { background-image: radial-gradient(circle, rgba(226, 232, 248, 0.16) 1px, transparent 1.6px); }
@keyframes wb-drift { to { transform: translate3d(26px, 26px, 0); } }
.wb-sweep { overflow: hidden; }
.wb-sweep > div { position: absolute; top: 0; bottom: 0; left: -100%; width: 100%; -webkit-mask-image: linear-gradient(100deg, transparent 20%, #000 50%, transparent 80%); mask-image: linear-gradient(100deg, transparent 20%, #000 50%, transparent 80%); animation: wb-band 12s cubic-bezier(0.45, 0, 0.55, 1) infinite; }
.wb-sweep b { position: absolute; inset: 0; animation: wb-band-hold 12s cubic-bezier(0.45, 0, 0.55, 1) infinite; }
.wb-sweep i { background-image: radial-gradient(circle, rgba(130, 156, 255, 0.8) 1.2px, transparent 1.9px); }
@keyframes wb-band { 0% { transform: translate3d(0, 0, 0); } 55%, 100% { transform: translate3d(200%, 0, 0); } }
@keyframes wb-band-hold { 0% { transform: translate3d(0, 0, 0); } 55%, 100% { transform: translate3d(-200%, 0, 0); } }
.lb-in { animation: lb-in 1.2s ease both; }
@keyframes lb-in { from { opacity: 0; } }
/* On the home page it waits for the logo, then fades in with the page. */
.hl-bg { opacity: 0; animation: hl-bg-in 1.3s 4.3s ease forwards; }
@keyframes hl-bg-in { to { opacity: 1; } }

/* ---------------------------------------------------------------------
   Home opening (build.py home_hero / hero_logo), ported from Belnoir's
   welcome hero with the same timings and curves:
   1. large and low in the middle, built like a blueprint: dot grid,
      crosshairs, hairline outlines of the ten pieces;
   2. each piece fills as a halftone whose dots swell into solid colour
      (SVG <animate>), the guides fade;
   3. it swells toward the viewer, then eases up and back in to its place;
   4. as it settles it glides left, and "Bel" then "vista" appear beside it.
   --h is the symbol's height; the wordmark keeps the lockup's proportions.
   --------------------------------------------------------------------- */
.hero-intro { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; min-height: calc(100svh - 72px); padding: 56px 16px 64px; text-align: center; overflow-x: clip; }
.hero-logo { --h: 70px; --gap: calc(var(--h) * 0.24); --wh: calc(var(--h) * 0.6); --ww: calc(var(--wh) * 4.082); --s0: 1.9; --dy: 17svh; display: flex; align-items: center; justify-content: center; height: calc(var(--h) * 1.12); }
@media (min-width: 640px) { .hero-logo { --h: 100px; --dy: min(22svh, 210px); } }
@media (min-width: 1024px) { .hero-logo { --h: 120px; --s0: 2; --dy: min(13svh, 130px); } }
.hero-logo .mark { position: relative; z-index: 2; width: calc(var(--h) * 0.74); height: var(--h); flex-shrink: 0; overflow: visible; animation: hl-push 1.27s 2.2s both; }
.hero-logo .guides { animation: hl-off 0.45s 1.75s ease forwards; }
.hero-logo .grid { opacity: 0; animation: hl-grid 0.7s ease-out forwards; }
@keyframes hl-grid { to { opacity: 0.24; } }
.hero-logo .cross { stroke: #8FA6FF; stroke-opacity: 0.5; stroke-width: 2.2; stroke-dasharray: 1; stroke-dashoffset: 1; animation: hl-draw 0.7s 0.1s cubic-bezier(0.3, 0.7, 0.3, 1) forwards; }
.hero-logo .hair { fill: none; stroke: #DCE3FA; stroke-opacity: 0.6; stroke-width: 2.4; stroke-dasharray: 1; stroke-dashoffset: 1; animation: hl-draw 0.8s cubic-bezier(0.55, 0, 0.3, 1) forwards; }
.hero-logo .solid { opacity: 0; animation: hl-on 0.2s 1.95s ease forwards; }
@keyframes hl-draw { to { stroke-dashoffset: 0; } }
@keyframes hl-on { to { opacity: 1; } }
@keyframes hl-off { to { opacity: 0; } }
@keyframes hl-push {
  0% { transform: translateY(var(--dy)) scale(var(--s0)); animation-timing-function: cubic-bezier(0.25, 0.75, 0.3, 1); }
  52% { transform: translateY(var(--dy)) scale(calc(var(--s0) * 1.42)); animation-timing-function: cubic-bezier(0.6, 0, 0.25, 1); }
  100% { transform: none; }
}
.hero-logo .word { position: relative; z-index: 1; width: 0; height: var(--wh); flex-shrink: 0; animation: hl-open 1.1s 3.21s cubic-bezier(0.5, 0, 0.1, 1) forwards; }
@keyframes hl-open { to { width: calc(var(--gap) + var(--ww)); } }
.hero-logo .wordmark { position: absolute; top: 0; left: var(--gap); height: 100%; width: var(--ww); max-width: none; opacity: 0; animation: hl-pop 0.13s ease-out forwards; }
.hero-logo .w1 { clip-path: inset(0 59.6% 0 0); animation-delay: 3.5s; }
.hero-logo .w2 { clip-path: inset(0 0 0 40.4%); animation-delay: 3.64s; }
@keyframes hl-pop { to { opacity: 1; } }

.h-title { font-size: clamp(34px, 5.2vw, 66px); line-height: 1.06; letter-spacing: -0.03em; max-width: 18em; }
.h-title br.m { display: none; }
@media (max-width: 560px) { .h-title br.m { display: inline; } }
.h-sub { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); max-width: 34em; }
.accent > span { background: linear-gradient(100deg, #8FA6FF 0%, #5373FF 50%, #B8C6FF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pills { list-style: none; display: flex; flex-wrap: nowrap; justify-content: center; gap: 8px; }
@media (max-width: 720px) { .pills { display: grid; grid-template-columns: 1fr 1fr; width: 100%; max-width: 380px; } .pills li { justify-content: center; font-size: 12px; padding: 7px 10px; } }
.pills li { display: flex; align-items: center; gap: 8px; white-space: nowrap; border: 1px solid var(--line-2); background: rgba(15, 21, 34, 0.6); border-radius: 999px; padding: 7px 14px; font-size: 13px; color: var(--ink); }
.pills li span { width: 6px; height: 6px; border-radius: 50%; background: var(--blue-2); }

/* Words that arrive one at a time; pale words land faint, then brighten. */
.hl-say > span { display: inline-block; opacity: 0; transform: translateY(0.18em); filter: blur(3px); animation: hl-say 0.42s cubic-bezier(0.25, 0.7, 0.2, 1) forwards; }
@keyframes hl-say { 60% { opacity: 0.55; filter: blur(0); } 100% { opacity: 1; transform: none; filter: none; } }
.hl-pale > span { animation-name: hl-say-pale; animation-duration: 0.85s; }
@keyframes hl-say-pale { 35% { opacity: 0.4; filter: blur(0); transform: none; } 100% { opacity: 1; transform: none; filter: none; } }
/* Buttons and pills come into focus from a soft shape. */
.hl-focus { opacity: 0; filter: blur(14px); transform: scale(0.94); animation: hl-focus 0.5s cubic-bezier(0.25, 0.7, 0.2, 1) forwards; }
@keyframes hl-focus { 40% { opacity: 1; } 100% { opacity: 1; filter: none; transform: none; } }

/* ---------------------------------------------------------------------
   Home page opening around the logo (Belnoir's .welcome-intro): the page
   starts black so only the logo plays; at 4.3s the page fades up with the
   background and the header makes its entrance: a glowing line draws out
   from the centre, the bar opens up and down from it, the logo and links
   come up (links decode, site.js) and a light sweeps across once. The rest
   of the page and the footer fade up with it.
   --------------------------------------------------------------------- */
body.intro { background-color: #000; animation: wi-page 1.4s 4.3s ease forwards; }
@keyframes wi-page { to { background-color: var(--bg); } }
body.intro .site-header { overflow: hidden; background-color: #000; clip-path: inset(calc(50% - 1px) 0 calc(50% - 1px) 0); animation: wi-bar 0.55s 4.75s cubic-bezier(0.3, 0.7, 0.2, 1) forwards; }
@keyframes wi-bar { to { clip-path: inset(0 0 0 0); background-color: rgba(8, 11, 18, 0.78); } }
body.intro .site-header::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; z-index: 2; pointer-events: none; background: linear-gradient(90deg, transparent, #5373FF 20%, #DCE3FA 50%, #5373FF 80%, transparent); box-shadow: 0 0 12px 1px rgba(83, 115, 255, 0.7); transform: scaleX(0); animation: wi-line 0.5s 4.3s cubic-bezier(0.5, 0, 0.2, 1) forwards, wi-line-out 0.45s 5.05s ease forwards; }
@keyframes wi-line { to { transform: scaleX(1); } }
@keyframes wi-line-out { to { opacity: 0; } }
body.intro .site-header::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(100deg, transparent 30%, rgba(220, 228, 255, 0.12) 48%, rgba(83, 115, 255, 0.22) 50%, transparent 66%); transform: translateX(-100%); animation: wi-sweep 1.1s 5.35s cubic-bezier(0.45, 0, 0.25, 1) forwards; }
@keyframes wi-sweep { to { transform: translateX(100%); } }
body.intro .site-header .wrap > * { opacity: 0; transform: translateY(6px); animation: wi-item 0.5s 5s cubic-bezier(0.25, 0.7, 0.2, 1) forwards; }
body.intro .site-header .wrap > *:nth-child(n+2) { animation-delay: 5.1s; }
@keyframes wi-item { to { opacity: 1; transform: none; } }
/* Once the entrance has played (site.js adds .intro-done at 6.5s), the bar
   lets go of its clip so the phone menu can open below it. */
body.intro.intro-done .site-header { animation: none; clip-path: none; overflow: visible; background-color: rgba(8, 11, 18, 0.78); }
body.intro.intro-done .site-header::before, body.intro.intro-done .site-header::after { display: none; }
body.intro.intro-done .site-header .wrap > *:not(.nav) { animation: none; opacity: 1; transform: none; }
@media (min-width: 721px) { body.intro.intro-done .site-header .nav { animation: none; opacity: 1; transform: none; } }
@media (max-width: 720px) {
  body.intro.intro-done .site-header .nav { animation: none; opacity: 0; transform: translateY(-8px); }
  body.intro.intro-done.menu-open .site-header .nav { opacity: 1; transform: none; }
}
body.intro main > section:not(.hero-intro), body.intro .site-footer { opacity: 0; animation: lb-fade 1.4s 4.3s ease forwards; }
@keyframes lb-fade { to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .welcome-bg *, .welcome-bg, .hl-bg, .lb-in { animation: none !important; opacity: 1 !important; }
  .wb-sweep { display: none; }
  .hero-logo .mark, .hero-logo .word, .hero-logo .wordmark, .hero-logo .solid { animation: none; }
  .hero-logo .guides { display: none; }
  .hero-logo .solid, .hero-logo .wordmark { opacity: 1; }
  .hero-logo .word { width: calc(var(--gap) + var(--ww)); }
  .hl-say > span, .hl-focus { animation: none; opacity: 1; transform: none; filter: none; }
  body.intro, body.intro .site-header, body.intro .site-header .wrap > *, body.intro main > section, body.intro .site-footer { animation: none !important; opacity: 1 !important; transform: none !important; clip-path: none !important; }
  body.intro { background-color: var(--bg); }
  body.intro .site-header { background-color: rgba(8, 11, 18, 0.78); }
  body.intro .site-header::before, body.intro .site-header::after { display: none; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Header */
.site-header { position: sticky; isolation: isolate; top: 0; z-index: 50; background: rgba(8, 11, 18, 0.78); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand .m { height: 30px; width: auto; }
.brand .w { height: 21px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 14px; }
@media (min-width: 721px) and (max-width: 1080px) { .nav { gap: 22px; } .nav a.opt { display: none; } }
.nav a { text-decoration: none; color: var(--muted); transition: color 0.2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a.btn-blue, .nav a.btn-blue:hover { color: #fff; }
.menu-btn { display: none; background: none; border: 0; color: var(--ink); width: 40px; height: 40px; align-items: center; justify-content: center; cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: transform 0.25s, opacity 0.2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap; text-decoration: none; font-family: var(--sans); font-size: 14.5px; font-weight: 500; padding: 13px 22px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s; }
.btn .arr { transition: transform 0.2s; }
.btn:hover .arr { transform: translate(2px, -2px); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-2); }
.btn-line { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: rgba(242, 244, 248, 0.45); }
.btn-sm { padding: 10px 18px; font-size: 13.5px; }

/* Hero */
.hero { position: relative; padding: 112px 0 120px; border-bottom: 1px solid var(--line); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero .wrap.form-hero { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
h1, h2, h3 { font-weight: 400; letter-spacing: -0.03em; line-height: 1.04; }
h1 { font-size: clamp(40px, 5.2vw, 72px); margin-top: 28px; }
h1 .soft, h2 .soft { color: var(--muted); }
.lede { margin-top: 28px; font-size: 18.5px; color: var(--muted); max-width: 33em; }
.ctas { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 12px; }
.meta-row { margin-top: 56px; display: flex; flex-wrap: wrap; gap: 28px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; color: var(--dim); text-transform: uppercase; }
.meta-row b { color: var(--blue-2); font-weight: 500; margin-right: 8px; }

/* Blueprint B */
.figure { position: relative; }
.figure svg { width: 100%; height: auto; }
.figure .cap { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--dim); text-transform: uppercase; }

/* Sections */
section { position: relative; padding: 120px 0; border-bottom: 1px solid var(--line); }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: end; }
h2 { font-size: clamp(36px, 4.4vw, 58px); margin-top: 22px; }
.sec-head p { color: var(--muted); font-size: 17px; max-width: 30em; }

/* Offer (free preview) */
.offer { background: rgba(12, 17, 27, 0.45); overflow: hidden; }
.offer .wrap { position: relative; z-index: 1; }
.steps { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-2); }
.step { padding: 32px 32px 8px 0; }
.step + .step { padding-left: 32px; border-left: 1px solid var(--line); }
.step .n { font-family: var(--mono); font-size: 12px; color: var(--blue-2); letter-spacing: 0.12em; }
.step h3 { font-size: 26px; margin-top: 16px; letter-spacing: -0.02em; }
.step p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }
.offer .ctas { margin-top: 56px; }

/* Services */
.services { margin-top: 64px; border-top: 1px solid var(--line-2); }
.svc { display: grid; grid-template-columns: 90px 1fr 1.2fr; gap: 32px; padding: 36px 0; border-bottom: 1px solid var(--line); align-items: start; }
.svc .n { font-family: var(--mono); font-size: 13px; color: var(--blue-2); letter-spacing: 0.1em; padding-top: 8px; }
.svc h3 { font-size: 32px; letter-spacing: -0.025em; }
.svc p { color: var(--muted); font-size: 16px; }
.svc ul { list-style: none; margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.svc li { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; }

/* Process */
.process { margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.proc { padding: 28px 28px 0 0; border-top: 1px solid var(--line-2); position: relative; }
.proc::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: var(--blue-2); }
.proc .n { font-family: var(--mono); font-size: 12px; color: var(--dim); letter-spacing: 0.12em; }
.proc h3 { font-size: 22px; margin-top: 12px; letter-spacing: -0.02em; }
.proc p { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* Care plans */
.plans { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-2); border-radius: 6px; overflow: hidden; }
.plan { padding: 36px 32px 34px; display: flex; flex-direction: column; background: rgba(15, 21, 34, 0.55); }
.plan + .plan { border-left: 1px solid var(--line-2); }
.plan.featured { background: linear-gradient(180deg, rgba(53, 88, 245, 0.14), rgba(53, 88, 245, 0.02) 60%), rgba(15, 21, 34, 0.55); }
.plan .tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.plan.featured .tag { color: var(--blue-2); }
.plan h3 { font-size: 26px; margin-top: 14px; letter-spacing: -0.02em; }
.plan .price { margin-top: 18px; font-size: 48px; letter-spacing: -0.04em; line-height: 1; }
.plan .price small { font-size: 15px; letter-spacing: 0; color: var(--muted); margin-left: 4px; }
.plan .desc { margin-top: 14px; color: var(--muted); font-size: 15px; min-height: 48px; }
.plan ul { list-style: none; margin: 24px 0 30px; border-top: 1px solid var(--line); flex: 1; }
.plan li { padding: 11px 0 11px 26px; border-bottom: 1px solid var(--line); font-size: 14.5px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 10px; height: 1.5px; background: var(--blue-2); }
.plan .btn { align-self: flex-start; }
.plans-note { margin-top: 22px; font-size: 14px; color: var(--dim); }

/* FAQ */
.faq { margin-top: 56px; border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 48px 26px 0; font-size: 20px; letter-spacing: -0.015em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-75%) rotate(45deg); transition: transform 0.25s; }
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq .a { padding: 0 0 28px; color: var(--muted); max-width: 46em; font-size: 16px; }

/* Closing CTA */
.closing { overflow: hidden; text-align: left; }
.closing .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: end; }
.closing h2 { font-size: clamp(40px, 5vw, 68px); max-width: 12.5em; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.field label .opt { color: var(--dim); text-transform: none; letter-spacing: 0.02em; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: rgba(15, 21, 34, 0.8); border: 1px solid var(--line-2); border-radius: 6px; padding: 13px 14px; transition: border-color 0.2s, background 0.2s; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-2); background: rgba(15, 21, 34, 1); }
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%239AA3B5' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field select option { background: #0F1522; color: var(--ink); }
.choice { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.choice label { cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: block; height: 100%; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 6px; font-family: var(--sans); font-size: 14.5px; letter-spacing: 0; text-transform: none; color: var(--ink); transition: border-color 0.2s, background 0.2s; }
.choice.two { grid-template-columns: repeat(2, 1fr); }
.choice span small { display: block; color: var(--dim); font-size: 12.5px; margin-top: 2px; }
.choice input:checked + span { border-color: var(--blue-2); background: rgba(53, 88, 245, 0.12); }
.choice input:focus-visible + span { outline: 2px solid var(--blue-2); outline-offset: 2px; }
.turnstile:empty, .turnstile .cf-turnstile:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
.form-foot p { font-size: 13px; color: var(--dim); max-width: 34em; }
.form-foot p a { color: var(--muted); }
.form-status { grid-column: 1 / -1; font-size: 15px; padding: 14px 16px; border-radius: 6px; display: none; }
.form-status.err { display: block; background: rgba(229, 72, 77, 0.1); border: 1px solid rgba(229, 72, 77, 0.35); color: #FFB4B4; }
.sent { display: none; padding: 48px 0; }
.sent h3 { font-size: 34px; letter-spacing: -0.025em; margin-top: 18px; }
.sent p { color: var(--muted); margin-top: 12px; max-width: 32em; }
.is-sent form { display: none; }
.is-sent .sent { display: block; }

/* Contact routes: a quiet list with dividers */
.routes { list-style: none; margin-top: 40px; border-top: 1px solid var(--line-2); }
.routes li { display: grid; grid-template-columns: 34px 1fr auto; gap: 14px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.routes .mono { font-size: 12px; color: var(--blue-2); letter-spacing: 0.1em; align-self: start; padding-top: 3px; }
.routes b { font-weight: 500; font-size: 16px; }
.routes p { color: var(--muted); font-size: 14.5px; margin-top: 2px; }
.routes p a { color: var(--ink); }
@media (max-width: 560px) { .routes li { grid-template-columns: 28px 1fr; } .routes li .btn { grid-column: 2; justify-self: start; margin-top: 6px; } }

/* Prose (privacy) */
.prose { max-width: 720px; }
.prose h2 { font-size: 26px; margin: 48px 0 12px; letter-spacing: -0.02em; }
.prose p, .prose li { color: var(--muted); font-size: 16px; }
.prose p + p { margin-top: 12px; }
.prose ul { margin: 12px 0 0 20px; }
.prose li + li { margin-top: 6px; }

/* Footer */
.site-footer { padding: 72px 0 40px; position: relative; overflow: hidden; }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot-top .brand .m { height: 36px; }
.foot-top .brand .w { height: 24px; }
.foot-top p { color: var(--muted); font-size: 14.5px; margin-top: 18px; max-width: 26em; }
.foot-col h4 { font-family: var(--mono); font-weight: 500; font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); margin-bottom: 16px; }
.foot-col a, .foot-col span { display: block; text-decoration: none; color: var(--muted); font-size: 14.5px; padding: 4px 0; }
.foot-col a:hover { color: var(--ink); }
.foot-bot { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; color: var(--dim); text-transform: uppercase; }
.foot-bot a { text-decoration: none; }
.foot-bot a:hover { color: var(--muted); }

/* Reveal on scroll, as Belnoir's <Reveal>: glides up and settles the first
   time it comes into view (site.js sets data-shown). Hidden only once the
   script has run (html.js). Other pages' first screen rises on load. */
.js .rv { opacity: 0; transform: translate3d(0, 36px, 0) scale(0.985); transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1); }
.js .rv[data-shown] { opacity: 1; transform: none; }
.hero .rv, .js .hero .rv { opacity: 1; transform: none; transition: none; animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero .rv:nth-child(2) { animation-delay: 0.06s; }
.hero .rv:nth-child(3) { animation-delay: 0.12s; }
.hero .rv:nth-child(4) { animation-delay: 0.18s; }
@keyframes rise { from { opacity: 0; transform: translate3d(0, 24px, 0) scale(0.985); } }
@media (prefers-reduced-motion: reduce) { .js .rv, .hero .rv { opacity: 1; transform: none; transition: none; animation: none; } html { scroll-behavior: auto; } }

/* Tablet */
@media (max-width: 980px) {
  .wrap { padding: 0 24px; }
  .hero { padding: 72px 0 88px; }
  .hero .wrap, .hero .wrap.form-hero { grid-template-columns: 1fr; gap: 56px; }
  .hero .figure { max-width: 420px; }
  section { padding: 88px 0; }
  .sec-head { grid-template-columns: 1fr; gap: 20px; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .svc { grid-template-columns: 56px 1fr; }
  .svc > div:last-child { grid-column: 2; }
  .process { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .plans { grid-template-columns: 1fr; }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--line-2); }
  .plan .desc { min-height: 0; }
  .closing .wrap { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-top > div:first-child { grid-column: 1 / -1; }
}

/* Phone */
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .site-header .wrap { height: 64px; }
  .menu-btn { display: inline-flex; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - 64px); height: calc(100dvh - 64px); overflow-y: auto; background: var(--bg); border-top: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 12px 16px 32px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.25s; }
  .nav a { font-size: 22px; color: var(--ink); padding: 18px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 24px; font-size: 16px; padding: 15px 22px; border-bottom: 0; color: #fff; }
  .menu-open .nav { opacity: 1; transform: none; pointer-events: auto; }
  .menu-open { overflow: hidden; }
  .hero { padding: 56px 0 72px; }
  .lede { font-size: 17px; }
  .meta-row { flex-direction: column; gap: 10px; margin-top: 44px; }
  section { padding: 72px 0; }
  .svc { grid-template-columns: 1fr; gap: 10px; padding: 28px 0; }
  .svc > div:last-child { grid-column: 1; }
  .svc .n { padding-top: 0; }
  .process { grid-template-columns: 1fr; gap: 28px; }
  .plan { padding: 28px 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .choice { grid-template-columns: 1fr; }
  .faq summary { font-size: 18px; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .ctas .btn { flex: 1 1 auto; }
}
