/* ClusterCloud UK — site styles. Mobile first. */

:root {
  --bg: #070605;
  --bg-2: #0c0a09;
  --surface: #110f0e;
  --surface-2: #171413;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f6f2ee;
  --muted: #aaa29b;
  --dim: #7b736d;
  --orange: #f2662d;
  --orange-hi: #ff8148;
  --orange-lo: #d45522;
  --orange-ink: #140804;
  --radius: 18px;
  --radius-sm: 12px;
  --shell: 1200px;
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Sora", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: dark;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

main { flex: 1; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--orange-hi); }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: rgba(242, 102, 45, 0.4); color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin: 0;
  color: #fff;
  text-wrap: balance;
}

h1 { font-size: clamp(2.3rem, 6.4vw, 4.25rem); line-height: 1.04; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.75rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.015em; }

p { margin: 0; }

.shell {
  width: min(100% - 40px, var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--orange);
  color: var(--orange-ink);
  font-weight: 600;
}
.skip-link:focus { top: 12px; color: var(--orange-ink); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  background: rgba(7, 6, 5, 0.78);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(7, 6, 5, 0.9); }

.header-inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 28px; width: auto; }

.primary-nav { display: none; }

.nav-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.nav-burger span {
  position: relative;
  width: 20px;
  height: 1.5px;
  background: currentColor;
  transition: background 0.2s;
}
.nav-burger span::before,
.nav-burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}
.nav-burger span::before { transform: translateY(-6px); }
.nav-burger span::after { transform: translateY(6px); }
.nav-open .nav-burger span { background: transparent; }
.nav-open .nav-burger span::before { transform: rotate(45deg); }
.nav-open .nav-burger span::after { transform: rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 55;
  overflow-y: auto;
  padding: 12px 20px 40px;
  background: var(--bg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.nav-open { overflow: hidden; }
.nav-open .mobile-nav { opacity: 1; visibility: visible; transform: none; }

.mobile-nav-group { padding: 18px 0; border-bottom: 1px solid var(--line); }
.mobile-nav-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}
.mobile-nav a.m-link {
  display: block;
  padding: 10px 0;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 500;
  color: #fff;
}
.mobile-nav a.m-link small { display: block; margin-top: 1px; font-family: var(--font-body); font-size: 0.82rem; font-weight: 400; color: var(--dim); }
.mobile-nav a[aria-current="page"] { color: var(--orange-hi); }
.mobile-nav-cta { display: grid; gap: 10px; padding-top: 24px; }

@media (min-width: 960px) {
  :root { --header-h: 76px; }
  .brand img { height: 32px; }
  .nav-burger, .mobile-nav { display: none; }

  .primary-nav {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .primary-nav > ul {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .primary-nav > ul > li { position: relative; }
  .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(246, 242, 238, 0.82);
    background: none;
    border: 0;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.2s, background 0.2s;
  }
  .nav-link:hover,
  .has-menu:hover > .nav-link,
  .has-menu:focus-within > .nav-link { color: #fff; background: rgba(255, 255, 255, 0.05); }
  .nav-link[aria-current="page"],
  .nav-link.is-active { color: #fff; }
  .nav-link[aria-current="page"]::after,
  .nav-link.is-active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 4px;
    height: 4px;
    margin-left: -2px;
    border-radius: 50%;
    background: var(--orange);
  }
  .nav-link .chev { transition: transform 0.25s var(--ease); opacity: 0.7; }
  .has-menu:hover .chev,
  .has-menu:focus-within .chev,
  .has-menu.is-open .chev { transform: rotate(180deg); }

  .mega {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    width: 640px;
    padding: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    background: #110f0e;
    border: 1px solid var(--line-2);
    border-radius: var(--radius);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 8px);
    transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
  }
  .mega::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -16px;
    height: 16px;
  }
  .has-menu:hover .mega,
  .has-menu:focus-within .mega,
  .has-menu.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

  .mega a {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 14px;
    align-items: start;
    padding: 14px;
    border-radius: var(--radius-sm);
    transition: background 0.2s;
  }
  .mega a:hover { background: rgba(255, 255, 255, 0.04); color: inherit; }
  .mega a strong { display: block; font-weight: 600; font-size: 0.95rem; color: #fff; }
  .mega a span.desc { display: block; margin-top: 2px; font-size: 0.83rem; line-height: 1.5; color: var(--muted); }
  .mega .mega-all {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
    padding: 14px 16px;
    border-top: 1px solid var(--line);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    font-size: 0.9rem;
    color: var(--orange-hi);
  }
  .mega .mega-all svg { width: 15px; height: 15px; }
}

.icon-tile {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: rgba(242, 102, 45, 0.1);
  border: 1px solid rgba(242, 102, 45, 0.28);
  color: var(--orange-hi);
  flex-shrink: 0;
}
.icon-tile svg { width: 20px; height: 20px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 600 0.98rem/1 var(--font-body);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-primary {
  background: var(--orange);
  color: var(--orange-ink);
  box-shadow: 0 10px 30px -10px rgba(242, 102, 45, 0.7);
}
.btn-primary:hover {
  background: var(--orange-hi);
  color: var(--orange-ink);
  box-shadow: 0 14px 36px -10px rgba(242, 102, 45, 0.85);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line-2);
  color: #fff;
}
.btn-ghost:hover { border-color: rgba(242, 102, 45, 0.6); color: #fff; background: rgba(242, 102, 45, 0.06); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 519px) {
  .btn-row .btn { flex: 1 1 100%; }
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--orange-hi);
}
.text-link svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- Typography helpers ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-hi);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}

.lead {
  margin-top: 20px;
  max-width: 60ch;
  font-size: clamp(1.02rem, 1.6vw, 1.15rem);
  line-height: 1.7;
  color: var(--muted);
}

.accent {
  background: linear-gradient(100deg, var(--orange-hi) 0%, var(--orange) 55%, var(--orange-lo) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.muted { color: var(--muted); }

/* ---------- Sections ---------- */

.section { padding: clamp(72px, 10vw, 120px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-tight { padding: clamp(48px, 7vw, 80px) 0; }

.section-head { max-width: 740px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .lead { margin-inline: auto; }
.section-mark {
  display: block;
  width: 96px;
  height: auto;
  margin: 0 auto 20px;
}

.split-head {
  display: grid;
  gap: 20px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
@media (min-width: 900px) {
  .split-head { grid-template-columns: 1fr auto; align-items: end; }
  .split-head .section-head { margin-bottom: 0; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 12px 0 28px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 0%, transparent 75%);
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 160px;
  z-index: -1;
  background: linear-gradient(to bottom, transparent, var(--bg));
}

.hero-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 { margin-top: 2px; }
.hero-copy .lead { margin-top: 16px; }
.hero-actions { display: flex; flex-direction: column; }
.hero-actions .btn-row { margin-top: 24px; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
  color: var(--muted);
}
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 16px; height: 16px; color: var(--orange); }

.hero-visual {
  position: relative;
  width: min(100%, 320px);
  aspect-ratio: 1;
  margin-inline: auto;
}

.hero-halo {
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 102, 45, 0.42) 0%, rgba(242, 102, 45, 0.14) 42%, transparent 70%);
  filter: blur(28px);
  animation: halo-breathe 8s ease-in-out infinite;
}

.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

.hero-art .ring { fill: none; stroke: rgba(255, 255, 255, 0.07); stroke-width: 1; }
.hero-art .ring-accent {
  fill: none;
  stroke: rgba(242, 102, 45, 0.5);
  stroke-width: 1.2;
  stroke-dasharray: 1.5 9;
  stroke-linecap: round;
}
.hero-art .spin { transform-origin: 300px 300px; animation: spin 90s linear infinite; }
.hero-art .spin-rev { transform-origin: 300px 300px; animation: spin 140s linear infinite reverse; }
.hero-art .orbit-a { transform-origin: 300px 300px; animation: spin 22s linear infinite; }
.hero-art .orbit-b { transform-origin: 300px 300px; animation: spin 34s linear infinite reverse; }
.hero-art .orbit-dot { fill: var(--orange-hi); }
.hero-art .orbit-dot-soft { fill: rgba(255, 255, 255, 0.55); }

.hero-art .ring,
.hero-art .ring-accent,
.hero-art .orbits { opacity: 0; animation: fade-in 1.4s var(--ease) 0.5s forwards; }
.hero-art .spin,
.hero-art .spin-rev { animation: spin 90s linear infinite, fade-in 1.4s var(--ease) 0.5s forwards; }
.hero-art .spin-rev { animation: spin 140s linear infinite reverse, fade-in 1.4s var(--ease) 0.7s forwards; }

.hero-art .mark-float { animation: float 9s ease-in-out 2.6s infinite; }
.hero-art .mark-line {
  fill: none;
  stroke: var(--orange-hi);
  stroke-width: 0.55;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 2.1s var(--ease) 0.15s forwards, fade-out 0.8s ease 2.1s forwards;
}
.hero-art .mark-fill { opacity: 0; animation: fade-in 1.1s var(--ease) 1.2s forwards; }
.hero-art .mark-sheen { animation: sheen 7s var(--ease) 2.6s infinite; }

.hero-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  border-radius: 12px;
  background: rgba(20, 17, 16, 0.78);
  border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  font-size: 0.74rem;
  line-height: 1.3;
  color: var(--muted);
  white-space: nowrap;
  opacity: 0;
  animation: chip-in 0.9s var(--ease) forwards, float 10s ease-in-out infinite;
}
.hero-chip b { display: block; font-family: var(--font-head); font-size: 0.92rem; font-weight: 600; color: #fff; }
.hero-chip .pulse {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}
.hero-chip .pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--orange);
  animation: pulse 2.4s ease-out infinite;
}
.hero-chip .pulse.is-online {
  background: #3ecf8e;
}
.hero-chip .pulse.is-online::after {
  border-color: #3ecf8e;
}
.hero-chip.c1 { top: 8%; left: -2%; animation-delay: 2s, 2.9s; }
.hero-chip.c2 { top: 46%; right: -4%; animation-delay: 2.25s, 3.4s; }
.hero-chip.c3 { bottom: 6%; left: 6%; animation-delay: 2.5s, 3.9s; }

@media (max-width: 599px) {
  .hero-chip { gap: 8px; padding: 7px 10px; font-size: 0.68rem; }
  .hero-chip b { font-size: 0.82rem; }
  .hero-chip.c1 { left: -6px; top: 3%; }
  .hero-chip.c2 { right: -4px; top: auto; bottom: 12%; }
  .hero-chip.c3 { left: 0; bottom: 3%; }
}

@media (min-width: 600px) {
  .hero-visual { width: min(100%, 400px); }
  .hero-chip { font-size: 0.8rem; padding: 11px 15px; }
}

/* Fit the home hero (copy + art + CTAs) into one mobile viewport so buttons aren't cut off. */
@media (max-width: 999px) {
  .hero {
    display: flex;
    flex-direction: column;
    padding: 8px 0 0;
  }
  .hero > .shell {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .hero-grid {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    align-items: stretch;
    gap: clamp(10px, 1.8vh, 22px);
    height: calc(100svh - var(--header-h) - 8px);
    max-height: calc(100dvh - var(--header-h) - 8px);
    min-height: 0;
  }
  .hero-grid > .hero-copy { align-self: end; }
  .hero-grid > .hero-visual {
    align-self: center;
    width: auto;
    height: 100%;
    max-width: min(100%, 300px);
    max-height: min(38svh, 280px);
    min-height: 0;
    aspect-ratio: 1;
  }
  .hero-grid > .hero-actions {
    align-self: start;
    padding-bottom: max(12px, env(safe-area-inset-bottom, 0px));
  }
  .hero-copy h1 {
    font-size: clamp(1.65rem, 7.2vw, 2.35rem);
    line-height: 1.08;
  }
  .hero-copy .lead {
    margin-top: clamp(8px, 1.4vh, 14px);
    font-size: clamp(0.9rem, 2.7vw, 1rem);
    line-height: 1.5;
  }
  .hero-actions .btn-row { margin-top: clamp(4px, 1vh, 12px); }
  .hero-trust { display: none; }
  .hero .stats {
    margin-top: 8px;
    flex-shrink: 0;
  }
  .hero::after { height: 48px; }
}

@media (max-width: 999px) and (max-height: 720px) {
  .hero-copy .lead {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
  }
  .hero-grid > .hero-visual {
    max-height: min(32svh, 220px);
  }
  .btn {
    min-height: 46px;
    padding: 0 18px;
    font-size: 0.94rem;
  }
}

@media (min-width: 1000px) {
  .hero {
    padding: 8px 0 28px;
    min-height: calc(100svh - var(--header-h));
    display: flex;
    flex-direction: column;
  }
  .hero > .shell {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
  }
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    grid-template-areas:
      "copy visual"
      "actions visual";
    gap: 36px;
    align-items: center;
    flex: 1 1 auto;
    min-height: 0;
  }
  .hero-grid > .hero-copy { grid-area: copy; align-self: end; }
  .hero-grid > .hero-actions { grid-area: actions; align-self: start; }
  .hero-grid > .hero-visual {
    grid-area: visual;
    width: min(100%, 420px);
  }
  .hero-copy h1 {
    font-size: clamp(2.1rem, 3.8vw, 3.35rem);
    line-height: 1.08;
  }
  .hero-copy .lead {
    margin-top: 14px;
    font-size: 1.05rem;
  }
  .hero-actions .btn-row { margin-top: 22px; }
  .hero-trust { margin-top: 18px; }
  .hero::before {
    -webkit-mask-image: radial-gradient(ellipse 60% 70% at 75% 40%, #000 0%, transparent 75%);
    mask-image: radial-gradient(ellipse 60% 70% at 75% 40%, #000 0%, transparent 75%);
  }
  .hero::after { height: 80px; }
  .hero .stats { flex-shrink: 0; }
}

/* ---------- Stats strip ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.005));
  overflow: hidden;
}
.stat { padding: 20px 18px; }
.stat:nth-child(odd) { border-right: 1px solid var(--line); }
.stat:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
.stat-value {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.45rem, 2.8vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
}
.stat-value em { font-style: normal; color: inherit; }
.stat-value.status-online {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
}
.stat-value .status-dot {
  width: 0.42em;
  height: 0.42em;
  border-radius: 50%;
  background: #3ecf8e;
  box-shadow: 0 0 0 0.28em rgba(62, 207, 142, 0.22);
  flex-shrink: 0;
}
.stat-label { display: block; margin-top: 4px; font-size: 0.84rem; color: var(--muted); }

@media (min-width: 860px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stat { padding: 22px 24px; }
  .stat:nth-child(-n + 2) { border-bottom: 0; }
  .stat:not(:last-child) { border-right: 1px solid var(--line); }
}

/* ---------- Cards ---------- */

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.card-link:hover {
  border-color: rgba(242, 102, 45, 0.55);
  transform: translateY(-3px);
  box-shadow: 0 24px 60px -24px rgba(242, 102, 45, 0.35);
}
.card-link .stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card-link h3 a:hover { color: #fff; }

.service-grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .service-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1140px) { .service-grid.four { grid-template-columns: repeat(4, 1fr); } }

.service-card .icon-tile { width: 48px; height: 48px; border-radius: 13px; }
.service-card .icon-tile svg { width: 23px; height: 23px; }
.service-card h3 { margin-top: 22px; }
.service-card p { margin-top: 10px; font-size: 0.95rem; color: var(--muted); }
.service-card .ticks { margin-top: 18px; }
.service-card .card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 22px;
}
.service-card .price-tag { font-size: 0.85rem; color: var(--dim); }
.service-card .price-tag b { color: #fff; font-weight: 600; }
.service-card .arrow {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  color: #fff;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s var(--ease);
}
.service-card .arrow svg { width: 15px; height: 15px; }
.card-link:hover .arrow { background: var(--orange); border-color: var(--orange); color: var(--orange-ink); transform: translateX(2px); }

.ticks { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.ticks li {
  position: relative;
  padding-left: 26px;
  font-size: 0.92rem;
  color: rgba(246, 242, 238, 0.86);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(242, 102, 45, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-5' stroke='%23ff8148' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* ---------- Media split ---------- */

.media-split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 960px) {
  .media-split { grid-template-columns: 0.9fr 1.1fr; gap: 72px; }
  .media-split.flip { grid-template-columns: 1.1fr 0.9fr; }
  .media-split.flip > :first-child { order: 2; }
}

.mark-panel {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  background: radial-gradient(55% 45% at 50% 48%, rgba(242, 102, 45, 0.22), transparent 68%);
}
.mark-panel img {
  position: relative;
  z-index: 1;
  width: min(72%, 300px);
  height: auto;
  filter: drop-shadow(0 18px 40px rgba(242, 102, 45, 0.28));
}
.mark-panel-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(242, 102, 45, 0.16);
  pointer-events: none;
}
.mark-panel-ring.r1 {
  width: 78%;
  aspect-ratio: 1;
  border-color: rgba(255, 255, 255, 0.06);
}
.mark-panel-ring.r2 {
  width: 58%;
  aspect-ratio: 1;
  border-style: dashed;
  border-color: rgba(242, 102, 45, 0.28);
  animation: spin 56s linear infinite;
}
@media (max-width: 959px) {
  .mark-panel { aspect-ratio: 16 / 11; }
  .mark-panel img { width: min(46%, 200px); }
}
@media (prefers-reduced-motion: reduce) {
  .mark-panel-ring.r2 { animation: none; }
}

.media-frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: var(--surface);
  aspect-ratio: 4 / 5;
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(7, 6, 5, 0.7));
  pointer-events: none;
}
.media-frame.is-art {
  background:
    radial-gradient(70% 60% at 50% 38%, rgba(242, 102, 45, 0.12), transparent 70%),
    var(--bg-2);
}
.media-frame.is-art img { object-fit: cover; object-position: center 42%; }
.media-frame.is-art::after { display: none; }
.media-frame figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 1;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
}
@media (max-width: 959px) { .media-frame { aspect-ratio: 16 / 11; } }

.feature-list { display: grid; gap: 22px; margin: 32px 0 0; padding: 0; list-style: none; }
.feature-list li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; }
.feature-list h3 { font-size: 1.05rem; }
.feature-list p { margin-top: 4px; font-size: 0.94rem; color: var(--muted); }
.feature-list .text-link { margin-top: 10px; }

/* ---------- Steps ---------- */

.steps { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  position: relative;
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.step .icon-tile {
  margin-bottom: 18px;
}
.step h3 { font-size: 1.1rem; }
.step p { margin-top: 8px; font-size: 0.93rem; color: var(--muted); }
.section-cta { margin-top: 28px; }

/* ---------- Pricing ---------- */

.plans { display: grid; gap: 16px; align-items: stretch; }
@media (min-width: 720px) { .plans { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1180px) {
  .plans { grid-template-columns: repeat(4, 1fr); }
  .plans .plan .plan-for { min-height: 5em; }
}

.enterprise-strip {
  display: grid;
  gap: 20px;
  margin-top: 20px;
  padding: 28px 30px;
}
.enterprise-strip h3 { font-size: 1.15rem; }
.enterprise-strip p { margin-top: 6px; max-width: 70ch; font-size: 0.95rem; color: var(--muted); }
@media (min-width: 900px) {
  .enterprise-strip { grid-template-columns: 1fr auto; align-items: center; gap: 40px; }
}

.plan { padding: 30px; }
.plan h3 { font-size: 1.15rem; }
.plan .plan-for { margin-top: 8px; font-size: 0.92rem; color: var(--muted); min-height: 3em; }
.plan .amount {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  margin: 22px 0 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 600;
  letter-spacing: -0.035em;
  color: #fff;
}
.plan .amount small { font-family: var(--font-body); font-size: 0.85rem; font-weight: 400; letter-spacing: 0; color: var(--dim); }
.plan .from { font-family: var(--font-body); font-size: 0.85rem; font-weight: 400; letter-spacing: 0; color: var(--dim); width: 100%; }
.plan .ticks { margin-bottom: 28px; }
.plan .btn { margin-top: auto; width: 100%; }
.plan.featured {
  border-color: rgba(242, 102, 45, 0.6);
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(242, 102, 45, 0.14), transparent 60%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  box-shadow: 0 30px 80px -40px rgba(242, 102, 45, 0.5);
}
.ribbon {
  position: absolute;
  top: -12px;
  left: 30px;
  padding: 5px 11px;
  border-radius: 999px;
  background: #241109;
  border: 1px solid rgba(242, 102, 45, 0.55);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange-hi);
}
.fine { margin-top: 18px; font-size: 0.85rem; color: var(--dim); }

/* ---------- Testimonials ---------- */

.quotes { display: grid; gap: 16px; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.quote { margin: 0; padding: 30px; }
.quote svg.qmark { width: 28px; height: 28px; color: var(--orange); opacity: 0.85; }
.quote blockquote { margin: 18px 0 0; font-size: 1rem; line-height: 1.7; color: rgba(246, 242, 238, 0.9); }
.quote figcaption { margin-top: auto; padding-top: 22px; font-size: 0.88rem; color: var(--muted); }
.quote figcaption strong { display: block; color: #fff; font-weight: 600; }

/* ---------- Family ---------- */

.family {
  display: grid;
  gap: 32px;
  padding: clamp(32px, 5vw, 56px);
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  text-align: center;
}
.family-logos {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
}
.family-logos a {
  display: block;
  line-height: 0;
  opacity: 0.9;
  transition: opacity 0.25s, transform 0.25s var(--ease);
}
.family-logos a:hover { opacity: 1; transform: translateY(-2px); }
.family-logos img {
  height: 44px;
  width: auto;
  max-width: none;
  display: block;
}
.family-logos .divider {
  align-self: stretch;
  width: auto;
  height: 1px;
  background: var(--line-2);
}
@media (min-width: 720px) {
  .family-logos {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 48px;
    width: auto;
  }
  .family-logos a:first-child { justify-self: end; }
  .family-logos a:last-child { justify-self: start; }
  .family-logos .divider {
    align-self: auto;
    width: 1px;
    height: 48px;
  }
  .family-logos img { height: 48px; }
}

/* ---------- FAQ ---------- */

.faq-wrap { display: grid; gap: 32px; }
@media (min-width: 960px) { .faq-wrap { grid-template-columns: 0.8fr 1.2fr; gap: 72px; } }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  position: relative;
  display: block;
  padding: 22px 44px 22px 0;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 500;
  color: #fff;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--orange-hi); }
.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 14px;
  height: 1.5px;
  background: var(--orange);
  transition: transform 0.3s var(--ease);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq .answer { padding: 0 44px 24px 0; color: var(--muted); }
.faq .answer a { color: var(--orange-hi); }
.faq details[open] .answer { animation: answer-in 0.35s var(--ease); }

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 7vw, 80px) clamp(24px, 6vw, 72px);
  border-radius: 28px;
  border: 1px solid rgba(242, 102, 45, 0.35);
  background:
    radial-gradient(70% 120% at 100% 0%, rgba(242, 102, 45, 0.26), transparent 60%),
    radial-gradient(60% 100% at 0% 100%, rgba(242, 102, 45, 0.1), transparent 60%),
    var(--surface);
  isolation: isolate;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -70px;
  width: 340px;
  height: 290px;
  z-index: -1;
  background: url("/assets/clustercloud-mark.svg") center / contain no-repeat;
  opacity: 0.07;
}
.cta-band h2 { max-width: 18ch; }
.cta-band .lead { max-width: 52ch; }
.cta-band .btn-row { margin-top: 32px; }

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 28px 0 clamp(48px, 7vw, 80px);
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(50% 80% at 85% 0%, rgba(242, 102, 45, 0.16), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 64px 64px;
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent);
  mask-image: linear-gradient(180deg, #000 30%, transparent);
}
.page-hero-grid { display: grid; gap: 36px; align-items: center; margin-top: clamp(28px, 5vw, 56px); }
.page-hero .btn-row { margin-top: 30px; }
.page-hero .hero-actions .btn-row { margin-top: 0; }

.page-hero.is-service {
  padding-bottom: clamp(56px, 8vw, 96px);
}
.page-hero.is-service .hero-copy { max-width: 38rem; }
.page-hero.is-service h1 {
  font-size: clamp(1.85rem, 4.2vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.page-hero.is-service .lead {
  margin-top: 18px;
  max-width: 48ch;
}

.service-hero-panel {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 320px);
  aspect-ratio: 1;
  margin-inline: auto;
}
.service-hero-glow {
  position: absolute;
  width: 52%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 102, 45, 0.42) 0%, rgba(242, 102, 45, 0.12) 42%, transparent 72%);
  filter: blur(18px);
  animation: service-glow-breathe 3.4s ease-in-out infinite;
  pointer-events: none;
}
.service-hero-ring {
  position: absolute;
  inset: 30%;
  border-radius: 50%;
  border: 1px solid rgba(255, 129, 72, 0.5);
  box-shadow: 0 0 18px rgba(242, 102, 45, 0.18);
  pointer-events: none;
  opacity: 0;
  animation: service-ring-pulse 3.6s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
.service-hero-ring.r1 { animation-delay: 0s; }
.service-hero-ring.r2 { animation-delay: 1.2s; }
.service-hero-ring.r3 { animation-delay: 2.4s; border-style: dashed; }
.service-hero-mark {
  position: relative;
  z-index: 1;
  width: 112px;
  height: 112px;
  border-radius: 30px;
  background: rgba(242, 102, 45, 0.1);
  border-color: rgba(242, 102, 45, 0.38);
  box-shadow:
    0 0 36px rgba(242, 102, 45, 0.28),
    0 0 72px rgba(242, 102, 45, 0.12);
  animation: service-mark-pulse 3.4s ease-in-out infinite;
}
.service-hero-mark svg { width: 48px; height: 48px; }

@keyframes service-ring-pulse {
  0% {
    transform: scale(0.55);
    opacity: 0.65;
    border-color: rgba(255, 129, 72, 0.55);
  }
  65% { opacity: 0.2; }
  100% {
    transform: scale(1.95);
    opacity: 0;
    border-color: rgba(242, 102, 45, 0);
  }
}
@keyframes service-glow-breathe {
  0%, 100% { opacity: 0.7; transform: scale(0.92); }
  50% { opacity: 1; transform: scale(1.12); }
}
@keyframes service-mark-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow:
      0 0 36px rgba(242, 102, 45, 0.28),
      0 0 72px rgba(242, 102, 45, 0.12);
  }
  50% {
    transform: scale(1.035);
    box-shadow:
      0 0 48px rgba(242, 102, 45, 0.4),
      0 0 96px rgba(242, 102, 45, 0.18);
  }
}

@media (max-width: 959px) {
  .service-hero-panel { width: min(100%, 240px); }
  .service-hero-mark { width: 88px; height: 88px; border-radius: 24px; }
  .service-hero-mark svg { width: 36px; height: 36px; }
}
@media (min-width: 960px) {
  .page-hero.is-service .page-hero-grid {
    grid-template-columns: 0.85fr 1.15fr;
    grid-template-areas:
      "panel copy"
      "panel actions";
    gap: 48px;
    min-height: 320px;
  }
  .page-hero.is-service .page-hero-grid > .hero-copy { grid-area: copy; align-self: end; }
  .page-hero.is-service .page-hero-grid > .hero-actions { grid-area: actions; align-self: start; }
  .page-hero.is-service .page-hero-grid > .service-hero-panel {
    grid-area: panel;
    width: min(100%, 360px);
    margin-inline: 0 auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .service-hero-glow,
  .service-hero-ring,
  .service-hero-mark {
    animation: none;
  }
  .service-hero-ring {
    inset: 12%;
    opacity: 0.22;
  }
  .service-hero-ring.r2 { inset: 22%; }
  .service-hero-ring.r3 { inset: 32%; }
}

.crumbs { font-size: 0.85rem; color: var(--dim); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: "/"; color: rgba(255, 255, 255, 0.2); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--orange-hi); }
.crumbs [aria-current] { color: rgba(246, 242, 238, 0.9); }

/* ---------- Detail grids ---------- */

.feature-grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1080px) { .feature-grid.three { grid-template-columns: repeat(3, 1fr); } }
.feature { padding: 26px; }
.feature h3 { margin-top: 18px; font-size: 1.08rem; }
.feature p { margin-top: 8px; font-size: 0.93rem; color: var(--muted); }

.spec-wrap { display: grid; gap: 32px; }
@media (min-width: 960px) { .spec-wrap { grid-template-columns: 0.8fr 1.2fr; gap: 72px; align-items: start; } }

.spec-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
  font-size: 0.95rem;
}
.spec-table th,
.spec-table td { padding: 16px 22px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.spec-table tr:last-child th,
.spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { width: 38%; font-weight: 500; color: var(--muted); }
.spec-table td { color: #fff; }
@media (max-width: 519px) {
  .spec-table th, .spec-table td { display: block; width: 100%; }
  .spec-table th { padding-bottom: 2px; border-bottom: 0; font-size: 0.82rem; }
  .spec-table td { padding-top: 0; }
}

.related-grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .related-grid { grid-template-columns: repeat(3, 1fr); } }
.related-card { padding: 24px; }
.related-card h3 { margin-top: 16px; font-size: 1.05rem; }
.related-card p { margin-top: 6px; font-size: 0.9rem; color: var(--muted); }
.related-card .text-link { margin-top: 16px; }

/* Services index cards */
.service-rows {
  display: grid;
  gap: 16px;
}
@media (min-width: 720px) {
  .service-rows { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
.service-row {
  display: flex;
  flex-direction: column;
  padding: 32px;
}
.service-row .icon-tile {
  width: 56px;
  height: 56px;
  border-radius: 16px;
}
.service-row .icon-tile svg { width: 26px; height: 26px; }
.service-row h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  margin-top: 22px;
}
.service-row > p {
  margin-top: 10px;
  color: var(--muted);
  max-width: 52ch;
}
.service-row .ticks { margin: 22px 0 28px; }
.service-row .row-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: auto;
}
.service-row .price-tag { font-size: 0.9rem; color: var(--dim); }
.service-row .price-tag b { color: #fff; }
@media (min-width: 900px) {
  .service-row { padding: 40px; }
}

/* ---------- Prose ---------- */

.prose { max-width: 72ch; }
.prose h2 { margin: 44px 0 12px; font-size: clamp(1.3rem, 2.4vw, 1.6rem); }
.prose h2:first-child { margin-top: 0; }
.prose p,
.prose ul { margin: 0 0 16px; color: var(--muted); }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--orange-hi); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 129, 72, 0.4); }
.prose strong { color: #fff; font-weight: 600; }
.updated { margin-top: 12px; font-size: 0.88rem; color: var(--dim); }

/* ---------- Contact ---------- */

.contact-grid { display: grid; gap: 24px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: start; } }

.contact-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.contact-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: center;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-2);
  transition: border-color 0.25s;
}
a.contact-item:hover { border-color: rgba(242, 102, 45, 0.5); color: inherit; }
.contact-item .icon-tile { width: 44px; height: 44px; }
.contact-item small { display: block; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.contact-item span.val { display: block; margin-top: 2px; font-weight: 600; color: #fff; word-break: break-word; }

.form-card { padding: clamp(24px, 4vw, 40px); }
.form-card h2 { font-size: 1.5rem; }
.form-card > p { margin-top: 8px; color: var(--muted); font-size: 0.95rem; }
.form-grid { display: grid; gap: 16px; margin-top: 28px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; margin-bottom: 8px; font-size: 0.88rem; font-weight: 500; color: rgba(246, 242, 238, 0.9); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.025);
  color: #fff;
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%23aaa29b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
.field select option { background: var(--surface); }
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: var(--dim); }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--orange); background: rgba(242, 102, 45, 0.04); box-shadow: 0 0 0 4px rgba(242, 102, 45, 0.14); }
.field.has-error input,
.field.has-error textarea { border-color: #ff5d5d; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 24px; }
.form-status { font-size: 0.92rem; color: var(--muted); }
.form-status.is-bad { color: #ff8a8a; }
.form-status.is-ok { color: #9fe0a8; }
.form-note { margin-top: 18px; font-size: 0.85rem; color: var(--dim); }

/* ---------- Footer ---------- */

.site-footer {
  margin-top: auto;
  padding: 64px 0 28px;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  font-size: 0.93rem;
}
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 48px; } }
.footer-brand img { height: 30px; width: auto; }
.footer-brand p { margin-top: 18px; max-width: 36ch; color: var(--muted); }
.site-footer h2 {
  margin-bottom: 16px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}
.site-footer ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.site-footer ul a { color: rgba(246, 242, 238, 0.82); }
.site-footer ul a:hover { color: var(--orange-hi); }
.site-footer address { font-style: normal; color: var(--muted); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--dim);
}

/* ---------- 404 ---------- */

.not-found { padding: clamp(80px, 14vw, 160px) 0; text-align: center; }
.not-found img { width: 96px; margin: 0 auto 28px; }
.not-found .lead { margin-inline: auto; }
.not-found .btn-row { justify-content: center; margin-top: 32px; }

/* ---------- Boot loader ---------- */

body.is-loading { overflow: hidden; }

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: var(--bg);
  transition: opacity 0.85s var(--ease), visibility 0.85s;
}
.loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.loader-mark {
  width: 72px;
  height: auto;
  filter: drop-shadow(0 0 28px rgba(242, 102, 45, 0.45));
  animation: loader-pulse 1.4s ease-in-out infinite;
}
.loader-label {
  color: var(--dim);
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.loader-bar {
  width: 168px;
  height: 1px;
  background: var(--line);
  overflow: hidden;
}
.loader-bar i {
  display: block;
  height: 100%;
  width: 42%;
  background: linear-gradient(90deg, transparent, var(--orange-hi));
  animation: loader-bar 1.15s var(--ease) infinite;
}
@keyframes loader-bar {
  from { transform: translateX(-120%); }
  to { transform: translateX(280%); }
}
@keyframes loader-pulse {
  0%, 100% { opacity: 0.82; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

/* ---------- Reveal ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--d, 0) * 55ms);
  will-change: opacity, transform;
}
.js .reveal.is-in,
.js .no-reveal .reveal {
  opacity: 1;
  transform: none;
  will-change: auto;
  transition: none;
}

.hero-copy > *,
.hero-actions > * { opacity: 0; animation: rise 0.9s var(--ease) forwards; }
.hero-copy > :nth-child(1) { animation-delay: 0.1s; }
.hero-copy > :nth-child(2) { animation-delay: 0.2s; }
.hero-copy > :nth-child(3) { animation-delay: 0.32s; }
.hero-actions > :nth-child(1) { animation-delay: 0.44s; }
.hero-actions > :nth-child(2) { animation-delay: 0.56s; }

/* ---------- Keyframes ---------- */

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes fade-out { to { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes chip-in { from { opacity: 0; transform: translateY(10px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes halo-breathe { 0%, 100% { opacity: 0.85; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes pulse { from { opacity: 0.9; transform: scale(0.6); } to { opacity: 0; transform: scale(1.8); } }
@keyframes sheen { 0% { transform: translateX(-260px); } 28%, 100% { transform: translateX(260px); } }
@keyframes answer-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .hero-art .mark-sheen { display: none; }
  .loader { display: none; }
  body.is-loading { overflow: auto; }
}
