/* =========================================================================
   VZN base — shared by every page (fonts, colour, gloss, nav, buttons,
   page transition panel, alternating white / glossy-teal sections)
   ========================================================================= */
:root {
  /* colour */
  --white: #ffffff;
  --paper: #f4f7f6;          /* off-white page behind the cards */
  --ink: #0b0c0c;
  --ink-2: #4c5754;
  --ink-3: #8a9592;
  --line: rgba(11, 12, 12, 0.09);
  --night: #040b0a;          /* the dark world */
  --deep: #062420;
  --teal-900: #073a33;
  --teal-700: #0b5d4e;
  --teal-500: #10b99b;
  --teal: #3ee8c8;           /* VZN official accent */
  --teal-glow: rgba(62, 232, 200, 0.35);

  /* the gloss: same recipe as the reference's purple card, in VZN teal */
  --gloss:
    radial-gradient(120% 85% at 78% 112%, #6ff5dc 0%, #3ee8c8 14%, #10b99b 30%, #0b5d4e 50%, #073a33 66%, #041a17 84%, #020807 100%);
  --gloss-soft:
    radial-gradient(90% 70% at 85% 110%, rgba(62,232,200,.55) 0%, rgba(16,185,155,.28) 30%, rgba(7,58,51,.0) 65%),
    radial-gradient(70% 60% at 0% 0%, rgba(16,185,155,.16), transparent 60%),
    #051210;
  --sheen: linear-gradient(180deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.04) 18%, transparent 40%);

  /* type */
  --f-display: "Inter Tight", "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, sans-serif;

  /* shape + motion */
  --r-xl: 1.75rem;
  --r-lg: 1.25rem;
  --r-md: 0.9rem;
  --pill: 999px;
  --gutter: 0.75rem;
  --ease-expo: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
}

html { -webkit-text-size-adjust: 100%; background: var(--paper); }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img, svg, canvas { display: block; max-width: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--teal); color: #031512; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.display { font-family: var(--f-display); font-weight: 500; letter-spacing: -0.045em; line-height: 0.95; }
.eyebrow { font-family: var(--f-body); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }

/* ---------- Floating pill nav (white segmented, like the reference) ---------- */
.pill-nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 900;
  display: flex; align-items: stretch; gap: 0;
  background: rgba(255,255,255,.92); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(11,12,12,.08); border-radius: 12px; padding: 3px;
  box-shadow: 0 10px 30px -12px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.9);
  font-size: 13px; font-weight: 500; color: var(--ink);
}
.pill-nav > a, .pill-nav > button {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 36px; padding: 0 14px; border-radius: 9px; white-space: nowrap;
  transition: background .25s, color .25s;
}
.pill-nav > a + a { border-left: 1px solid rgba(11,12,12,.07); }
.pill-nav > a:hover { background: rgba(11,12,12,.05); }
.pill-nav .pn-mark { width: 40px; padding: 0; background: #eef2f1; }
.pill-nav .pn-mark svg { width: 20px; }
.pill-nav .pn-cta { background: var(--ink); color: #fff; border-left: 0 !important; margin-left: 3px; }
.pill-nav .pn-cta:hover { background: #000; color: var(--teal); }
.pill-nav .pn-menu { display: none; width: 40px; padding: 0; }
.pill-nav .pn-menu span { width: 16px; height: 1.5px; background: var(--ink); box-shadow: 0 5px 0 var(--ink); transform: translateY(-2.5px); }
@media (max-width: 860px) {
  .pill-nav .pn-link { display: none; }
  .pill-nav .pn-menu { display: inline-flex; }
}
.menu-sheet {
  position: fixed; inset: 0; z-index: 890; background: var(--night); color: #fff;
  display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 90px 24px 40px;
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-io);
}
.menu-sheet.is-open { clip-path: inset(0 0 0 0); }
.menu-sheet a { font-family: var(--f-display); font-size: clamp(2.4rem, 11vw, 4rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.05; }
.menu-sheet a:hover { color: var(--teal); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 12px;
  font-size: 14px; font-weight: 500; letter-spacing: -.005em; white-space: nowrap;
  /* never transition `transform` here: GSAP animates transform on these and a CSS
     transition on the same property leaves elements stuck part-way (the "upar-niche" bug) */
  transition: scale .3s var(--ease-expo), color .3s, background .3s, border-color .3s;
}
.btn:active { scale: .97; }
.btn-light { background: #fff; color: var(--ink); box-shadow: 0 8px 24px -10px rgba(0,0,0,.45), inset 0 -1px 0 rgba(0,0,0,.06); }
.btn-light:hover { background: var(--teal); }
.btn-glass { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255,255,255,.2); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: var(--teal); }
.btn-teal { background: var(--teal); color: #03201b; box-shadow: 0 10px 30px -10px var(--teal-glow); }
.btn-teal:hover { background: #fff; }
.btn .arr { transition: transform .45s var(--ease-expo); }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- Glossy teal surface (cards, dark sections) ---------- */
.gloss {
  position: relative; isolation: isolate; color: #fff;
  background: var(--gloss);
  box-shadow: 0 30px 80px -30px rgba(4, 40, 34, .55), inset 0 1px 0 rgba(255,255,255,.18);
}
.gloss::after { /* top sheen + fine grain = the "shine" */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 1;
  background: var(--sheen), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

/* ---------- Alternating page sections ---------- */
.sec { position: relative; margin: var(--gutter); border-radius: var(--r-xl); padding: clamp(72px, 9vw, 140px) clamp(20px, 5vw, 72px); }
.sec--white { background: var(--white); color: var(--ink); }
.sec--dark { background: var(--gloss-soft); color: #fff; overflow: hidden; }
.sec--dark::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: var(--sheen); opacity: .7; }
.sec-head { display: grid; grid-template-columns: 1.4fr .8fr; gap: 2rem 4rem; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head h2 { font-family: var(--f-display); font-size: clamp(2.4rem, 4.8vw, 4.6rem); font-weight: 500; letter-spacing: -.045em; line-height: .98; }
.sec-head h2 .rv-line > span, .section-h2, .footer-cta-band h2 { text-wrap: balance; }
.sec-head h2 .dim { color: var(--ink-3); }
.sec--dark .sec-head h2 .dim { color: rgba(255,255,255,.45); }
.sec-head p { max-width: 30rem; color: var(--ink-2); font-size: 1.05rem; }
.sec--dark .sec-head p { color: rgba(255,255,255,.72); }
.sec .eyebrow { color: var(--teal-500); margin-bottom: 18px; display: block; }
.sec--dark .eyebrow { color: var(--teal); }
.sec-head > div:only-child { grid-column: 1 / -1; } /* no side paragraph: let the headline use the full width */
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } }

/* ---------- Reveal helpers (JS adds .is-in) ---------- */
/* Line masks: tight display line-heights (.85–.95) put descenders (y g p) below the line box,
   so the mask gets .24em of extra room below and gives it back with a negative margin. */
.rv-line { display: block; overflow: hidden; padding-bottom: .24em; margin-bottom: -.16em; }
.rv-line > span { display: block; }

/* ---------- Page transition panel ---------- */
.pt {
  position: fixed; inset: 0; z-index: 1000; pointer-events: none;
  display: grid; place-items: center;
  background: var(--gloss);
  transform: translate3d(0, 100%, 0);
}
.pt::after { content: ""; position: absolute; inset: 0; background: var(--sheen); }
.pt.is-cover { transform: none; }
.pt-mark { position: relative; z-index: 2; width: 92px; color: #fff; filter: drop-shadow(0 0 30px rgba(62,232,200,.6)); }
.pt-word { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 2; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.7); }

/* ---------- Stacking sections (set up by vzn-transition.js) ---------- */
/* !important: section rules elsewhere set position: relative / child z-index, which would
   silently turn the stack off */
main > .stack-item { position: relative; } /* stacking order (z-index) works for every section */
main > .stack-item.is-stuck { position: sticky !important; transform-origin: 50% 0%; }
main > .stack-item.is-cover { box-shadow: 0 -30px 60px -30px rgba(0,0,0,.35); }
/* cards that stick or slide over are at least a full screen tall (content centred), so a short
   section rising fully hides the one beneath, with no strip of the previous section peeking out */
main > .stack-item.is-stuck:not(.site-footer):not(.page-hero), main > .stack-item.is-cover:not(.site-footer):not(.page-hero) { min-height: calc(100svh - 2 * var(--gutter)); display: flex; flex-direction: column; justify-content: center; }
.stack-pause { height: 55vh; pointer-events: none; } /* time to read a card's end before the next one covers it */
@media (max-width: 860px) { .stack-pause { height: 40vh; } }
.stack-item > .stack-shade { position: absolute !important; inset: 0; z-index: 50 !important; border-radius: inherit; background: #020807; opacity: 0; pointer-events: none; }

/* ---------- Content blocks used by the normal sections ---------- */
.svc-list { border-top: 1px solid var(--line); }
.svc-row { position: relative; display: grid; grid-template-columns: 4rem 1.2fr 2fr 9rem 3rem; align-items: center; gap: 1.5rem; padding: 28px 8px; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease-expo), background .4s; }
.svc-row .n { font-size: 13px; color: var(--ink-3); }
.svc-row .t { font-family: var(--f-display); font-size: clamp(1.6rem, 2.6vw, 2.5rem); font-weight: 500; letter-spacing: -.04em; }
.svc-row .d { color: var(--ink-2); font-size: 15px; }
.svc-row .p { font-weight: 500; color: var(--teal-700); }
.svc-row .a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); transition: background .3s, color .3s, transform .5s var(--ease-expo); }
.svc-row:hover { padding-left: 22px; background: linear-gradient(90deg, rgba(62,232,200,.12), transparent 60%); }
.svc-row:hover .a { background: var(--ink); color: var(--teal); transform: rotate(-45deg); }
/* hover opens the row: what's included, as chips (grid-rows 0fr → 1fr animates the height) */
.svc-row .x { grid-column: 2 / -1; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease-expo); }
.svc-row .x > span { overflow: hidden; display: flex; flex-wrap: wrap; gap: 8px; }
.svc-row .x i { font-style: normal; font-size: 13px; padding: 7px 12px; border-radius: var(--pill); background: var(--paper); border: 1px solid var(--line); color: var(--ink-2); opacity: 0; translate: 0 8px; transition: opacity .4s, translate .5s var(--ease-expo); }
.svc-row:hover .x, .svc-row:focus-visible .x { grid-template-rows: 1fr; }
.svc-row:hover .x i, .svc-row:focus-visible .x i { opacity: 1; translate: 0 0; }
.svc-row:hover .x i:nth-child(2) { transition-delay: .04s; } .svc-row:hover .x i:nth-child(3) { transition-delay: .08s; } .svc-row:hover .x i:nth-child(4) { transition-delay: .12s; }
.svc-row:hover .x > span { padding-top: 14px; }
@media (hover: none), (max-width: 860px) { .svc-row .x { grid-template-rows: 1fr; } .svc-row .x i { opacity: 1; translate: 0 0; } .svc-row .x > span { padding-top: 12px; } }

/* hover life for the other homepage blocks (uses translate, never transform — GSAP owns transform) */
.why, .step, .plan { transition: translate .6s var(--ease-expo), box-shadow .5s, border-color .4s, background .4s; }
.why:hover { translate: 0 -6px; border-color: rgba(62,232,200,.5); box-shadow: 0 30px 60px -30px rgba(62,232,200,.55); }
.step:hover { translate: 0 -6px; border-color: rgba(16,185,155,.5); background: linear-gradient(180deg, rgba(62,232,200,.1), var(--paper)); }
.plan:hover { translate: 0 -6px; box-shadow: 0 30px 60px -30px rgba(4,40,34,.45); }
.plan--featured:hover { box-shadow: 0 40px 80px -30px rgba(62,232,200,.7); }
@media (max-width: 860px) { .svc-row { grid-template-columns: 2.5rem 1fr 2.6rem; } .svc-row .d { grid-column: 2 / 4; } .svc-row .p { grid-column: 2; } .svc-row .a { grid-row: 1; grid-column: 3; } }

.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; position: relative; z-index: 2; }
.why { padding: 26px; border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(12px); min-height: 250px; display: flex; flex-direction: column; box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }
.why h3 { margin-top: auto; font-family: var(--f-display); font-weight: 500; font-size: 1.5rem; letter-spacing: -.03em; line-height: 1.1; }
.why p { margin-top: 10px; color: rgba(255,255,255,.7); font-size: 14px; }
@media (max-width: 1024px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .why-grid { grid-template-columns: 1fr; } }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px; border-radius: var(--r-xl); background: var(--paper); border: 1px solid var(--line); }
.plan-name { font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.plan-price { margin-top: 14px; font-family: var(--f-display); font-weight: 500; font-size: clamp(2.6rem, 4vw, 3.8rem); letter-spacing: -.05em; line-height: 1; }
.plan-time { margin-top: 8px; font-size: 13px; color: var(--ink-3); }
.plan-for { margin: 20px 0; color: var(--ink-2); font-size: 15px; }
.plan ul { list-style: none; display: grid; gap: 10px; margin-bottom: 28px; font-size: 14px; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 3px; border-radius: 50%; background: radial-gradient(circle at 50% 50%, var(--teal-500) 0 4px, rgba(16,185,155,.18) 4.5px); }
.plan .btn { margin-top: auto; }
.plan--featured { border: 0; transform: translateY(-14px); border-radius: var(--r-xl); background: var(--gloss); color: #fff; } /* .plan sets paper; the featured card must win */
.plan--featured .plan-name, .plan--featured .plan-time { color: rgba(255,255,255,.65); }
.plan--featured .plan-price { color: var(--teal); text-shadow: 0 0 40px rgba(62,232,200,.4); }
.plan--featured .plan-for, .plan--featured ul { color: rgba(255,255,255,.82); position: relative; z-index: 2; }
.plan--featured li::before { background: radial-gradient(circle, var(--teal) 0 4px, rgba(62,232,200,.25) 4.5px); }
.plan--featured > * { position: relative; z-index: 2; }
.plan .plan-badge { position: absolute !important; /* homepage plans only — service pages use .glass-card badges in flow */ top: 22px; right: 22px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: var(--teal); color: #03201b; padding: 5px 10px; border-radius: var(--pill); }
.plans-more { margin-top: 28px; text-align: center; font-weight: 500; }
.plans-more a { border-bottom: 1px solid currentColor; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; } .plan--featured { transform: none; order: -1; } }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; position: relative; z-index: 2; }
.stat { padding: 24px 0 0 20px; border-left: 1px solid rgba(255,255,255,.16); }
.stat b { display: block; font-family: var(--f-display); font-weight: 500; font-size: clamp(3rem, 6vw, 6rem); letter-spacing: -.06em; line-height: 1; background: linear-gradient(180deg, #fff 35%, var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat p { margin-top: 14px; font-size: 14px; color: rgba(255,255,255,.72); max-width: 16rem; }
.stat a { display: inline-block; margin-top: 10px; font-size: 12px; color: var(--teal); }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step { padding: 28px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); min-height: 260px; display: flex; flex-direction: column; }
.step > span { font-family: var(--f-display); font-size: 3rem; font-weight: 500; letter-spacing: -.05em; color: var(--teal-500); line-height: 1; }
.step h3 { margin-top: auto; font-family: var(--f-display); font-weight: 500; font-size: 1.5rem; letter-spacing: -.03em; }
.step p { margin-top: 8px; color: var(--ink-2); font-size: 14px; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.faq { display: grid; gap: 10px; max-width: 980px; position: relative; z-index: 2; }
.faq details { border-radius: var(--r-lg); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); transition: background .3s; }
.faq details[open] { background: rgba(255,255,255,.1); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 22px 24px; font-size: 1.1rem; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); font-size: 20px; transition: transform .5s var(--ease-expo), background .3s, color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--teal); color: #03201b; }
.faq details p { padding: 0 24px 22px; color: rgba(255,255,255,.75); max-width: 46rem; }

.contact-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: end; }
.contact-h { font-family: var(--f-display); font-weight: 500; letter-spacing: -.06em; line-height: .88; font-size: clamp(4rem, 10vw, 10.5rem); }
.contact-h .dim { color: var(--teal-500); }
.contact-side p { color: var(--ink-2); font-size: 1.05rem; max-width: 28rem; }
.contact-side .hc-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.contact-side .local { font-size: 13px; color: var(--ink-3); }
@media (max-width: 860px) { .contact-wrap { grid-template-columns: 1fr; } }

.foot { position: relative; margin: var(--gutter); border-radius: var(--r-xl); padding: clamp(48px, 6vw, 90px) clamp(20px, 5vw, 72px) 28px; color: #fff; overflow: hidden; }
.foot-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.foot-say { font-family: var(--f-display); font-size: 2rem; font-weight: 500; letter-spacing: -.04em; }
.foot-about { margin-top: 10px; color: rgba(255,255,255,.65); max-width: 22rem; font-size: 14px; }
.foot h4 { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.foot nav a, .foot-grid > div:last-child a, .foot-grid > div:last-child span { display: block; color: rgba(255,255,255,.78); font-size: 14px; padding: 4px 0; }
.foot a:hover { color: var(--teal); }
.foot-base { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 60px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: rgba(255,255,255,.55); }
.foot-base > span:last-child { display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Touch screens: every tap target at least 44px ---------- */
@media (pointer: coarse) {
  .pill-nav > a, .pill-nav > button { min-height: 44px; }
  .pill-nav .pn-mark, .pill-nav .pn-menu { width: 46px; }
  .related-link, .tab-btn, .chip-btn { min-height: 44px; }
  .footer-nav-list a, .foot nav a, .foot-grid > div:last-child a, .footer-inline-nav a, .foot-base a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-nav-list { gap: 0; }
  .breadcrumb-nav a { display: inline-flex; align-items: center; min-height: 44px; }
  .stat a { display: inline-flex; align-items: center; min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
