/* ==========================================================================
   VisenWeb — main stylesheet
   Dark editorial system: blue-black, cool light, periwinkle accent.
   Print-inspired layout with the original VisenWeb night palette.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #07080a;
  --bg-soft: #090b0e;
  --paper: #eef1f5;
  --ink: #08090c;
  --text: #f2f3f4;
  --text-soft: #d6d9dd;
  --muted: #a0a5ac;
  --dim: #777d86;
  --meta: #7b818b;
  --faint: #565c65;
  --line: rgba(242, 243, 244, 0.13);
  --line-strong: rgba(242, 243, 244, 0.27);
  --line-soft: rgba(242, 243, 244, 0.07);
  --accent: #a9c6ff;
  --accent-strong: #7ea6ff;
  --accent-deep: #365fb8;
  --panel: #0a111f;
  --panel-2: #111c30;

  --font: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --shell: 1280px;
  --pad: clamp(20px, 4.2vw, 52px);
  --header-h: 84px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 28px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--muted);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body.nav-open { overflow: hidden; }

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.028;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
strong { font-weight: 600; }

::selection { background: var(--accent); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #07080a; }
::-webkit-scrollbar-thumb { background: #1d2126; border-radius: 10px; border: 2px solid #07080a; }
::-webkit-scrollbar-thumb:hover { background: #2b3036; }

/* ---------- Helpers ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 16px; height: 16px; flex: none; }

.square {
  width: 6px;
  height: 6px;
  background: var(--accent);
  display: inline-block;
  flex: none;
}

.label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.skip-link {
  position: fixed;
  left: 18px;
  top: -90px;
  z-index: 300;
  padding: 10px 16px;
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  transition: top 0.25s var(--ease-soft);
}
.skip-link:focus { top: 18px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  color: var(--text);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(2.15rem, 4.4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  max-width: 19ch;
}

h2 .dim { color: var(--dim); }

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.kicker::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--accent);
}

.section-lead {
  max-width: 44ch;
  font-size: clamp(14.5px, 1.1vw, 15.5px);
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
  white-space: nowrap;
  transition: background 0.3s var(--ease-soft), border-color 0.3s, color 0.3s, transform 0.3s var(--ease);
}
.btn .icon { width: 15px; height: 15px; transition: transform 0.35s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }

.btn--solid {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}
.btn--solid:hover { background: #ffffff; border-color: #ffffff; }

.btn--line {
  border-color: rgba(242, 243, 244, 0.28);
  color: var(--text);
}
.btn--line:hover {
  border-color: var(--paper);
  background: rgba(242, 243, 244, 0.05);
}

.btn--dark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.btn--dark:hover { background: #000000; border-color: #000000; }

.btn--sm { height: 40px; padding: 0 16px; font-size: 12.5px; gap: 9px; }
.btn--sm .icon { width: 14px; height: 14px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(242, 243, 244, 0.32);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  transition: border-color 0.3s, color 0.3s;
}
.link-arrow .icon { width: 14px; height: 14px; transition: transform 0.35s var(--ease); }
.link-arrow:hover { border-color: var(--accent); color: #ffffff; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: transform 0.45s var(--ease);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 8, 10, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  opacity: 0;
  transition: opacity 0.4s var(--ease-soft);
  pointer-events: none;
}
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-hidden { transform: translateY(-100%); }
body.nav-open .site-header { transform: none; }
body.nav-open .site-header::before { opacity: 0; }

.header-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  position: relative;
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.brand-mark { width: auto; height: 23px; }
.brand-mark--ink { display: none; }
.brand-name {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.6vw, 34px);
}
.nav > a {
  position: relative;
  padding: 8px 0;
  font-size: 13.5px;
  color: var(--muted);
  transition: color 0.3s;
}
.nav > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.4s var(--ease);
}
.nav > a:hover,
.nav > a.is-active { color: var(--text); }
.nav > a:hover::after,
.nav > a.is-active::after { transform: scaleX(1); }

.nav-extra { display: none; }

.header-actions {
  position: relative;
  z-index: 95;
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(242, 243, 244, 0.28);
  border-radius: 2px;
  transition: border-color 0.3s, background 0.3s;
}
.menu-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.4s var(--ease), background 0.3s;
}
body.nav-open .menu-toggle span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
body.nav-open .menu-toggle span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

/* No-JS fallback: compact section nav below the fixed header */
.noscript-nav {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--header-h);
  z-index: 99;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 20px;
  padding: 10px var(--pad);
  background: rgba(7, 8, 10, 0.96);
  border-bottom: 1px solid var(--line-soft);
  font-size: 12.5px;
}
.noscript-nav a { color: var(--muted); }
.noscript-nav a:hover { color: var(--text); }
html:not(.js) .menu-toggle { display: none; }
html:not(.js) { scroll-padding-top: calc(var(--header-h) + 72px); }

@media (max-width: 980px) {
  /* Clear the extra no-JS nav bar above the hero. */
  html:not(.js) .hero { padding-top: calc(var(--header-h) + 114px); }
}

@media (min-width: 981px) {
  .noscript-nav { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + clamp(32px, 6vh, 64px));
  padding-bottom: clamp(44px, 6vh, 76px);
  overflow: hidden;
  isolation: isolate;
}
.hero-art {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1100px 700px at 78% 18%, rgba(90, 124, 180, 0.14), transparent 65%),
    radial-gradient(900px 600px at 12% 100%, rgba(80, 100, 140, 0.07), transparent 70%),
    var(--bg);
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(242, 243, 244, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(242, 243, 244, 0.04) 1px, transparent 1px);
  background-size: 92px 92px;
  -webkit-mask-image: radial-gradient(760px 620px at 74% 34%, #000 0%, transparent 72%);
  mask-image: radial-gradient(760px 620px at 74% 34%, #000 0%, transparent 72%);
  opacity: 0.6;
}
.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    560px circle at 72% 30%,
    rgba(133, 165, 219, 0.11),
    transparent 68%
  );
}
.contour {
  position: absolute;
  top: -22%;
  right: -16%;
  width: 88%;
  height: 150%;
  color: var(--accent);
  opacity: 0.16;
  -webkit-mask-image: linear-gradient(to left, #000 25%, transparent 88%),
    linear-gradient(to bottom, #000 40%, transparent 92%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to left, #000 25%, transparent 88%),
    linear-gradient(to bottom, #000 40%, transparent 92%);
  mask-composite: intersect;
}
.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-inner { display: block; }

.hero-copy { max-width: 860px; }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  animation: fadeUp 0.8s var(--ease) 0.05s both;
}

.hero-title {
  margin-top: clamp(22px, 2.8vw, 34px);
  font-size: clamp(3.1rem, 7.8vw, 7rem);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.055em;
  color: var(--text);
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.055em; }
.hero-title .line > span {
  display: block;
  transform: translateY(110%);
  animation: lineUp 1s var(--ease) both;
}
.hero-title .line:nth-child(1) > span { animation-delay: 0.12s; }
.hero-title .line:nth-child(2) > span { animation-delay: 0.22s; }
.hero-title .accent { color: var(--accent); }

.hero-lead {
  max-width: 58ch;
  margin-top: clamp(22px, 2.6vw, 32px);
  font-size: clamp(15px, 1.12vw, 16.5px);
  line-height: 1.72;
  color: var(--muted);
  animation: fadeUp 0.9s var(--ease) 0.38s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(28px, 3.2vw, 38px);
  animation: fadeUp 0.9s var(--ease) 0.48s both;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  max-width: 640px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  animation: fadeUp 0.9s var(--ease) 0.58s both;
}
.hero-meta li {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.hero-meta li:not(:last-child)::after {
  content: "/";
  margin-left: 12px;
  color: var(--accent);
}

/* ---------- Sections ---------- */
.section {
  position: relative;
  padding: clamp(76px, 9vw, 132px) 0;
  border-top: 1px solid var(--line-soft);
}

.section-head { margin-bottom: clamp(36px, 4.5vw, 60px); }

.head-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.68fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: end;
}
.head-grid .section-lead { padding-bottom: 8px; }

.section-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
  margin-top: 0;
}
.section-foot p { font-size: 13px; color: var(--dim); max-width: 58ch; }

/* ---------- Services ---------- */
.services { border-top: 1px solid var(--line); }

.service {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr) 26px;
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.4s var(--ease-soft);
}
.service:hover { background: rgba(242, 243, 244, 0.02); }

.service-main h3 {
  position: relative;
  display: inline-block;
  font-size: clamp(1.35rem, 1.85vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.2;
}
.service-main h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.45s var(--ease);
}
.service:hover .service-main h3::after { width: 34px; }

.service-main p {
  max-width: 48ch;
  margin-top: 12px;
  font-size: 14.3px;
  line-height: 1.65;
  color: var(--muted);
}

.service-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  padding-top: 7px;
}
.service-meta li {
  display: inline-flex;
  align-items: baseline;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
  white-space: nowrap;
}
.service-meta li:not(:last-child)::after {
  content: "/";
  margin-left: 16px;
  color: var(--faint);
}

.service-arrow {
  justify-self: end;
  color: var(--faint);
  margin-top: 5px;
  transition: color 0.35s, transform 0.45s var(--ease);
}
.service-arrow .icon { width: 18px; height: 18px; }
.service:hover .service-arrow { color: var(--accent); transform: translate(2px, -2px); }

/* ---------- Comparison ---------- */
.compare { border-top: 1px solid var(--line); }

.compare-head,
.compare-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) minmax(0, 1.1fr);
}

.compare-head { padding: 15px 0; }
.compare-head > div {
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--meta);
}
.compare-head .c-crit { padding-right: 24px; }
.compare-head .c-us,
.compare-head .c-them {
  padding-left: clamp(18px, 2.4vw, 30px);
}
.compare-head .c-us { border-left: 1px solid var(--line); }
.compare-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--text);
}
.compare-brand .square { width: 5px; height: 5px; }

.compare-row {
  border-top: 1px solid var(--line);
  transition: background 0.35s var(--ease-soft);
}
.compare-row:hover { background: rgba(242, 243, 244, 0.018); }
.compare-row > div { padding: 21px 0; }

.compare-row .c-crit {
  padding-right: 24px;
  font-size: 14.3px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--text-soft);
}
.compare-row .c-us,
.compare-row .c-them {
  display: grid;
  grid-template-columns: 15px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding-left: clamp(18px, 2.4vw, 30px);
  font-size: 13.2px;
  line-height: 1.6;
}
.compare-row .c-us { border-left: 1px solid var(--line); color: var(--text-soft); }
.compare-row .c-them { color: var(--dim); }
.compare-row .icon { width: 14px; height: 14px; margin-top: 3px; }
.i-yes { color: var(--accent); }
.dash { color: var(--faint); line-height: 1.6; }
.cell-label { display: none; }

.note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 30px;
  padding-left: 20px;
  border-left: 2px solid var(--accent);
}
.note .icon { width: 18px; height: 18px; color: var(--accent); margin-top: 2px; }
.note p { font-size: 13.5px; line-height: 1.65; color: var(--muted); max-width: 100ch; }
.note strong { color: var(--text); }

/* ---------- Hosting ---------- */
.host-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}
.host-option {
  padding: 24px clamp(24px, 4vw, 56px) 0 0;
  border-top: 1px solid var(--line);
}
.host-option--feature { border-top-color: var(--accent); }
.host-option + .host-option {
  padding: 24px 0 0 clamp(24px, 4vw, 56px);
  border-left: 1px solid var(--line-soft);
}
.host-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}
.tag {
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--accent);
  white-space: nowrap;
}
.host-option h3 {
  margin-top: 26px;
  font-size: clamp(1.8rem, 2.7vw, 2.4rem);
  letter-spacing: -0.04em;
}
.host-lead {
  max-width: 40ch;
  margin-top: 12px;
  font-size: 14.2px;
  line-height: 1.7;
  color: var(--muted);
}
.check-list { margin-top: 22px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  font-size: 13.2px;
  line-height: 1.55;
  color: var(--text-soft);
}
.check-list .icon { width: 14px; height: 14px; color: var(--accent); margin-top: 3px; }
.host-cta { margin-top: 28px; }
.host-note {
  margin-top: 44px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--meta);
  line-height: 1.8;
}

/* ---------- Process ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.step {
  padding: 17px clamp(16px, 2vw, 26px) 0 0;
  border-top: 1px solid var(--line);
}
.step-num {
  display: block;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--accent);
}
.step h3 {
  margin-top: 28px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.025em;
}
.step p {
  max-width: 27ch;
  margin-top: 9px;
  font-size: 13.2px;
  line-height: 1.65;
  color: var(--muted);
}
/* ---------- Standard ---------- */
.standard {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(32px, 5vw, 72px);
}
.standard li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14.2px;
  line-height: 1.5;
  color: var(--text-soft);
}
.standard li:nth-last-child(-n + 2) { border-bottom-color: var(--line); }
.standard .icon { width: 13px; height: 13px; color: var(--accent); margin-top: 4px; }

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.faq-intro { position: sticky; top: calc(var(--header-h) + 36px); }
.faq-intro .section-lead { margin-top: 20px; margin-bottom: 26px; max-width: 38ch; }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 21px 0;
  text-align: left;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--text-soft);
  transition: color 0.3s;
}
.faq-q:hover { color: var(--text); }
.faq-icon {
  width: 16px;
  height: 16px;
  color: var(--dim);
  transition: transform 0.45s var(--ease), color 0.3s;
}
.faq-item.is-open .faq-icon { transform: rotate(135deg); color: var(--accent); }
/* Answers stay open when JS is unavailable; .faq-ready is added only after
   the accordion has been wired up. */
.faq-a {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.5s var(--ease);
}
.faq-list.faq-ready .faq-a { grid-template-rows: 0fr; }
.faq-a > div { overflow: hidden; }
.faq-a p {
  max-width: 62ch;
  padding: 0 40px 23px 0;
  font-size: 13.8px;
  line-height: 1.75;
  color: var(--muted);
}
.faq-list.faq-ready .faq-item.is-open .faq-a { grid-template-rows: 1fr; }

/* ---------- Contact ---------- */
.section--contact { border-top: 1px solid var(--line); }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}
.contact-copy h2 { max-width: 16ch; }
.contact-copy .section-lead { margin-top: 20px; max-width: 40ch; }

.contact-steps {
  max-width: 460px;
  margin-top: 36px;
  border-top: 1px solid var(--line);
}
.contact-steps li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-soft);
}
.contact-steps li > span {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--accent);
  padding-top: 2px;
}
.contact-steps p { font-size: 13px; line-height: 1.6; color: var(--muted); }
.contact-steps strong {
  display: block;
  margin-bottom: 2px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-soft);
}

.contact-hours {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}

.contact-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 440px;
  padding: clamp(26px, 3.4vw, 42px);
  background-color: var(--panel);
  background-image:
    radial-gradient(120% 95% at 82% 0%, rgba(105, 145, 220, 0.26), transparent 62%),
    linear-gradient(160deg, var(--panel-2) 0%, var(--panel) 58%, #060a12 100%);
  box-shadow: 0 40px 110px -65px rgba(126, 166, 255, 0.35);
  color: var(--paper);
  isolation: isolate;
}
.contact-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.28;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.contact-card > * { position: relative; z-index: 2; }
.contact-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.contact-card .label { color: rgba(242, 243, 244, 0.8); }
.contact-card-fb {
  position: absolute;
  top: -46px;
  right: -32px;
  width: 200px;
  height: 200px;
  color: rgba(169, 198, 255, 0.14);
}
.contact-card h3 {
  margin-top: 54px;
  font-size: clamp(1.9rem, 2.8vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.05;
  color: var(--paper);
}
.contact-card p {
  max-width: 34ch;
  margin-top: 14px;
  font-size: 14.2px;
  line-height: 1.7;
  color: rgba(242, 243, 244, 0.82);
}
.contact-card-btn {
  width: 100%;
  height: 52px;
  margin-top: 26px;
  justify-content: space-between;
}
.contact-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(169, 198, 255, 0.3);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(242, 243, 244, 0.65);
}

/* ---------- Brand plate ---------- */
.brand-plate {
  border-top: 1px solid var(--line);
  background: #05070b;
  overflow: hidden;
}
.brand-plate img {
  width: 100%;
  height: clamp(190px, 26vw, 360px);
  object-fit: cover;
  object-position: center;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #05070a;
  padding-top: clamp(48px, 6vw, 72px);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 48px);
  padding-bottom: 48px;
}
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p {
  max-width: 34ch;
  font-size: 13px;
  line-height: 1.7;
  color: var(--dim);
}
.footer-social { display: flex; gap: 8px; margin-top: 22px; }
.footer-social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.footer-social a:hover {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(242, 243, 244, 0.04);
}

.footer-col h4 {
  margin-bottom: 14px;
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--meta);
}
.footer-col a {
  display: block;
  padding: 4.5px 0;
  font-size: 13px;
  color: var(--muted);
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--text); }
.footer-hours {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--meta);
}
.footer-top { margin-top: 14px; }
.footer-top span { display: inline-block; transition: transform 0.3s var(--ease); }
.footer-top:hover span { transform: translateY(-3px); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 20px 0 26px;
  border-top: 1px solid var(--line-soft);
  font-size: 11.5px;
  color: var(--meta);
}
.footer-legal { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 22px; }
.footer-legal a { transition: color 0.3s; }
.footer-legal a:hover { color: var(--text); }

/* ---------- Legal page ---------- */
.legal-main {
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: clamp(64px, 8vw, 110px);
}
.legal-hero {
  padding: clamp(32px, 5vw, 64px) 0 clamp(28px, 3.5vw, 44px);
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(32px, 4vw, 52px);
}
.legal-hero h1 {
  margin-top: 20px;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.legal-hero .section-lead {
  margin-top: 18px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--meta);
}
.legal { max-width: 740px; }
.legal section { margin-bottom: 34px; }
.legal h2 {
  max-width: none;
  margin: 0 0 10px;
  font-size: 1.14rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.35;
}
.legal p,
.legal li {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}
.legal p + p { margin-top: 10px; }
.legal ul { list-style: disc; padding-left: 20px; }
.legal li { margin-bottom: 5px; }
.legal a { color: var(--text-soft); border-bottom: 1px solid rgba(242, 243, 244, 0.35); transition: color 0.3s; }
.legal a:hover { color: var(--text); }
.legal-back { margin-top: 10px; }

/* ---------- 404 ---------- */
.error-main {
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + 56px);
  padding-bottom: clamp(64px, 8vw, 100px);
}
.error-main h1 {
  margin-top: 20px;
  font-size: clamp(2.8rem, 6.4vw, 5.4rem);
  line-height: 1;
  letter-spacing: -0.05em;
}
.error-main h1 .dim { color: var(--dim); }
.error-lead { margin-top: 20px; }
.error-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 34px;
}

/* ---------- Reveal animations ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}

@keyframes lineUp {
  from { transform: translateY(110%); }
  to { transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .service { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 24px; gap: 28px; }
}

@media (max-width: 980px) {
  :root { --header-h: 72px; }

  .header-cta { display: none; }
  .menu-toggle { display: flex; }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: calc(var(--header-h) + 18px) var(--pad) 32px;
    background: var(--paper);
    color: var(--ink);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.4s var(--ease-soft), transform 0.5s var(--ease), visibility 0.4s;
  }
  body.nav-open .nav { opacity: 1; visibility: visible; transform: none; }

  .nav > a {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(25, 20, 16, 0.14);
    font-size: clamp(1.7rem, 7vw, 2.4rem);
    font-weight: 500;
    letter-spacing: -0.04em;
    color: var(--ink);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s var(--ease-soft), transform 0.5s var(--ease), color 0.3s;
  }
  .nav > a::after {
    content: "↗";
    position: static;
    width: auto;
    height: auto;
    background: none;
    transform: none;
    font-size: 18px;
    color: var(--accent-deep);
  }
  .nav > a:hover { color: var(--accent-deep); }
  .nav > a:nth-of-type(1) { transition-delay: 0.06s; }
  .nav > a:nth-of-type(2) { transition-delay: 0.1s; }
  .nav > a:nth-of-type(3) { transition-delay: 0.14s; }
  .nav > a:nth-of-type(4) { transition-delay: 0.18s; }
  .nav > a:nth-of-type(5) { transition-delay: 0.22s; }
  body.nav-open .nav > a { opacity: 1; transform: none; }

  .nav-extra {
    display: block;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid rgba(25, 20, 16, 0.14);
  }
  .nav-extra-label {
    margin-bottom: 8px;
    font-size: 9.5px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(25, 20, 16, 0.65);
  }
  .nav-extra-fb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 6px 0 18px;
    font-size: 15px;
    color: var(--ink);
  }
  .nav-extra .btn { width: 100%; }

  body.nav-open .brand-mark { display: none; }
  body.nav-open .brand-mark--ink { display: block; }
  body.nav-open .brand-name { color: var(--ink); }
  body.nav-open .menu-toggle { border-color: rgba(25, 20, 16, 0.25); }
  body.nav-open .menu-toggle span { background: var(--ink); }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 46px);
    padding-bottom: 60px;
  }
  .hero-copy { max-width: 100%; }
  .hero-title { font-size: clamp(2.9rem, 10.5vw, 5.2rem); }

  .head-grid { grid-template-columns: 1fr; align-items: start; gap: 20px; }
  .head-grid .section-lead { max-width: 58ch; padding-bottom: 0; }

  .service { grid-template-columns: minmax(0, 1fr) 24px; gap: 14px; padding: 26px 0; }
  .service-main { grid-column: 1; }
  .service-meta { grid-column: 1; padding-top: 0; }
  .service-arrow { grid-column: 2; grid-row: 1; margin-top: 2px; }
  .service:hover { background: none; }

  .host-grid { grid-template-columns: 1fr; }
  .host-option { padding-right: 0; }
  .host-option + .host-option {
    margin-top: 36px;
    padding: 24px 0 0;
    border-left: 0;
  }

  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 22px; }
  .step { padding-right: 0; }

  .faq-grid { grid-template-columns: 1fr; }
  .faq-intro { position: static; }
  .faq-intro .section-lead { max-width: 58ch; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-copy h2 { max-width: 20ch; }
  .contact-card { max-width: 620px; min-height: 380px; }

  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 44ch; }
}

@media (max-width: 820px) {
  .compare-head { display: none; }
  .compare { border-top: 1px solid var(--line); }
  .compare-row {
    display: block;
    border-top: 0;
    border-bottom: 1px solid var(--line);
    padding: 18px 0;
  }
  .compare-row:hover { background: none; }
  .compare-row > div { padding: 0; }
  .compare-row .c-crit {
    padding: 0 0 12px;
    font-size: 13px;
    letter-spacing: 0.02em;
    color: var(--text);
  }
  .compare-row .c-us,
  .compare-row .c-them {
    padding: 12px 0 12px 14px;
    font-size: 13px;
    grid-template-columns: 15px minmax(0, 1fr);
  }
  .compare-row .c-us { border-left: 2px solid var(--accent); }
  .compare-row .c-them { border-left: 1px solid var(--line); }
  .cell-label {
    display: block;
    grid-column: 1 / -1;
    margin-bottom: -2px;
    font-size: 8.5px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--meta);
  }
  .compare-row .c-us .cell-label { color: var(--accent); }
  .compare-row .icon,
  .compare-row .dash { grid-row: 2; }
  .compare-row .c-us span:last-child,
  .compare-row .c-them span:last-child { grid-row: 2; }
  .note { margin-top: 26px; }
}

@media (max-width: 720px) {
  .section { padding: 68px 0; }
  .hero-meta { font-size: 10px; }
  .standard { grid-template-columns: 1fr; }
  .standard li:nth-last-child(2) { border-bottom-color: var(--line-soft); }
  .brand-plate img { height: 190px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 620px) {
  .hero-title { font-size: clamp(2.7rem, 11vw, 3.6rem); }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { flex: 1 1 auto; padding-inline: 16px; font-size: 13.5px; }
  .hero-meta { flex-direction: column; gap: 7px; }
  .hero-meta li:not(:last-child)::after { content: none; }

  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { padding: 18px 0 22px; }
  .step h3 { margin-top: 14px; }
  .step p { max-width: none; }

  .faq-q { font-size: 14.8px; padding: 18px 0; }
  .faq-a p { padding-right: 10px; }

  .contact-card { min-height: 0; }
  .contact-card h3 { margin-top: 44px; }
  .contact-steps { max-width: none; }
}

@media (max-width: 480px) {
  .brand-name { font-size: 18px; }
  .brand-mark { height: 21px; }
  .hero { padding-top: calc(var(--header-h) + 34px); }
  .hero-actions .btn { width: 100%; flex: none; }

  .service-meta {
    flex-direction: column;
    gap: 3px;
    padding-top: 2px;
  }
  .service-meta li { font-size: 9.5px; }
  .service-meta li:not(:last-child)::after { content: none; }

  .host-option h3 { font-size: 1.9rem; }
  .contact-card { padding: 24px 20px; }
  .contact-card-fb { width: 160px; height: 160px; }
  .brand-plate img { height: 150px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-col:last-child { grid-column: auto; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .hero-title .line > span { transform: none; }
}
