/* Design tokens */
:root {
  --bg: #0b0d12;
  --bg-soft: #11141d;
  --card: rgba(255, 255, 255, 0.065);
  --card-strong: rgba(255, 255, 255, 0.105);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #f5f7fb;
  --muted: rgba(245, 247, 251, 0.72);
  --soft: rgba(245, 247, 251, 0.56);
  --brand: #8fe7c9;
  --brand-2: #9db7ff;
  --warning: #ffd36a;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --radius: 8px;
  --container: 1160px;
  --header-height: 78px;
  --font-main: "BDO Grotesk", "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-action: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Base */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  font-family: var(--font-main);
  font-weight: 300;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 8%, rgba(143, 231, 201, 0.17), transparent 34%),
    radial-gradient(circle at 86% 4%, rgba(157, 183, 255, 0.2), transparent 30%),
    linear-gradient(180deg, #0b0d12 0%, #10131b 46%, #0b0d12 100%);
  line-height: 1.55;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent 70%);
  opacity: 0.35;
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* Shared layout and components */
.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

/* Header and navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(11, 13, 18, 0.78);
  backdrop-filter: blur(18px);
  transition:
    background 350ms ease,
    border-color 350ms ease,
    box-shadow 350ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(143, 231, 201, 0.16);
  background: rgba(11, 13, 18, 0.91);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.brand-logo {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(111, 76, 221, 0.3));
}

.brand-name {
  color: var(--text);
  font-weight: 650;
  letter-spacing: -0.035em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-action);
  font-size: 14px;
  color: var(--muted);
}

.main-nav a {
  padding: 10px 12px;
  border-radius: var(--radius);
  transition: background 180ms ease, color 180ms ease;
}

.main-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.main-nav a:focus-visible,
.mobile-menu-button:focus-visible,
.promo-copy-button:focus-visible,
.promo-partner-link:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.language-switcher {
  position: relative;
  display: inline-flex;
}

.language-trigger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 7px 5px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-family: var(--font-action);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition:
    color 180ms ease,
    background 180ms ease;
}

.language-trigger:hover,
.language-trigger[aria-expanded="true"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
}

.language-trigger img,
.language-option img {
  width: 24px;
  height: 18px;
  flex: 0 0 auto;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16), 0 5px 14px rgba(0, 0, 0, 0.2);
}

.language-trigger svg {
  width: 10px;
  height: 7px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.language-trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.language-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 80;
  display: grid;
  gap: 4px;
  min-width: 188px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), transparent 42%),
    rgba(11, 13, 18, 0.98);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, -8px, 0) scale(0.97);
  transform-origin: top right;
  transition:
    opacity 190ms ease,
    transform 260ms cubic-bezier(0.16, 1, 0.3, 1),
    visibility 260ms ease;
}

.language-switcher.is-open .language-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
}

.main-nav .language-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 10px;
  border: 1px solid transparent;
}

.language-option > span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
}

.language-option strong {
  color: var(--text);
  font-size: 13px;
  font-weight: 650;
}

.language-option small {
  color: var(--soft);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.language-option.is-active {
  border-color: rgba(143, 231, 201, 0.18);
  background: rgba(143, 231, 201, 0.08);
}

.language-trigger:focus-visible,
.language-option:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.nav-domain {
  color: #10131b !important;
  background: var(--warning) !important;
  font-weight: 700;
}

.mobile-menu-button {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
  overflow: hidden;
  transition:
    border-color 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.mobile-menu-button span {
  position: absolute;
  left: 11px;
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transform-origin: center;
  transition:
    top 260ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 260ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 180ms ease;
}

.mobile-menu-button span:nth-child(1) {
  top: 14px;
}

.mobile-menu-button span:nth-child(2) {
  top: 20px;
}

.mobile-menu-button span:nth-child(3) {
  top: 26px;
}

.mobile-menu-button[aria-expanded="true"] {
  border-color: rgba(143, 231, 201, 0.4);
  background: rgba(143, 231, 201, 0.1);
  box-shadow: 0 0 0 5px rgba(143, 231, 201, 0.05);
}

.mobile-menu-button[aria-expanded="true"] span:nth-child(1),
.mobile-menu-button[aria-expanded="true"] span:nth-child(3) {
  top: 20px;
}

.mobile-menu-button[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg);
}

.mobile-menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.3);
}

.mobile-menu-button[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: var(--header-height) 0 0;
  z-index: 45;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  background: rgba(4, 6, 10, 0.62);
  backdrop-filter: blur(10px);
  transition:
    opacity 260ms ease,
    visibility 260ms ease;
}

.nav-backdrop.is-open {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
}

/* Domain sale banner */
.domain-strip {
  position: relative;
  z-index: 5;
  border-bottom: 1px solid rgba(255, 211, 106, 0.25);
  background:
    linear-gradient(90deg, rgba(255, 211, 106, 0.17), rgba(143, 231, 201, 0.12), rgba(157, 183, 255, 0.12));
}

.domain-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  font-family: var(--font-action);
  font-size: 14px;
  color: var(--muted);
}

.domain-strip strong {
  color: var(--text);
  font-weight: 750;
}

.domain-strip a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 14px;
  border-radius: var(--radius);
  color: #11141d;
  background: var(--warning);
  font-weight: 800;
  white-space: nowrap;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(92svh - var(--header-height));
  display: flex;
  align-items: center;
  padding: 92px 0 76px;
}

.hero > .container {
  position: relative;
  z-index: 2;
}

.hero-webgl {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
  filter: saturate(1.12) contrast(1.04);
  -webkit-mask-image: radial-gradient(circle at 70% 48%, #000 0%, #000 42%, transparent 88%);
  mask-image: radial-gradient(circle at 70% 48%, #000 0%, #000 42%, transparent 88%);
  transition: opacity 1400ms cubic-bezier(0.16, 1, 0.3, 1);
  contain: layout paint;
  will-change: opacity;
}

.hero-webgl.is-ready {
  opacity: 0.78;
}

.hero-webgl canvas {
  display: block;
  width: 100%;
  height: 100%;
  mix-blend-mode: screen;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
    90deg,
    rgba(11, 13, 18, 0.94) 0%,
    rgba(11, 13, 18, 0.72) 30%,
    rgba(11, 13, 18, 0.12) 58%,
    transparent 78%
  );
  transition: opacity 1200ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hero.has-webgl::after {
  opacity: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.78fr);
  gap: 58px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.055);
  font-family: var(--font-action);
  font-size: 13px;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 0 6px rgba(143, 231, 201, 0.11);
}

h1, h2, h3, p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.07em;
  font-weight: 300;
}

.accent-text {
  display: block;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 30px;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--muted);
  letter-spacing: -0.02em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-family: var(--font-action);
  font-size: 14px;
  font-weight: 800;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

/* Sheen sweep across the primary CTAs on hover */
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255, 255, 255, 0.5) 50%,
    transparent 70%
  );
  transform: translateX(-130%);
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover::after {
  transform: translateX(130%);
}

.btn > * {
  position: relative;
  z-index: 2;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.32);
}

.btn:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.btn-primary {
  color: #08100d;
  background: var(--brand);
  border-color: transparent;
  box-shadow: 0 20px 54px rgba(143, 231, 201, 0.19);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--soft);
  font-family: var(--font-action);
  font-size: 13px;
}

.hero-meta span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.visual-card {
  position: relative;
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    radial-gradient(circle at 50% 10%, rgba(143, 231, 201, 0.24), transparent 38%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.visual-card::before,
.visual-card::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(1px);
}

.visual-card::before {
  width: 360px;
  height: 360px;
  right: -130px;
  top: -120px;
  background: rgba(157, 183, 255, 0.2);
}

.visual-card::after {
  width: 260px;
  height: 260px;
  left: -120px;
  bottom: -90px;
  background: rgba(143, 231, 201, 0.18);
}

.browser-frame {
  position: absolute;
  inset: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(9, 11, 16, 0.66);
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.browser-frame::after {
  content: "";
  position: absolute;
  top: -25%;
  left: -70%;
  z-index: 3;
  width: 38%;
  height: 150%;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(200, 228, 255, 0.2), transparent);
  transform: skewX(-17deg);
}

.hero.has-webgl .browser-frame::after {
  animation: hero-interface-scan 7.5s cubic-bezier(0.4, 0, 0.2, 1) 1.4s infinite;
}

.hero.has-webgl .visual-card {
  animation: hero-card-breathe 7s ease-in-out 1.5s infinite alternate;
}

.hero.has-webgl .hero-meta span {
  animation: hero-meta-glow 4.6s ease-in-out infinite;
}

.hero.has-webgl .hero-meta span:nth-child(2) { animation-delay: 450ms; }
.hero.has-webgl .hero-meta span:nth-child(3) { animation-delay: 900ms; }
.hero.has-webgl .hero-meta span:nth-child(4) { animation-delay: 1350ms; }

.browser-top {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  color: var(--soft);
  font-family: var(--font-action);
  font-size: 12px;
}

.browser-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.browser-url {
  margin-left: 8px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.mock-content {
  padding: 26px;
}

.mock-title {
  width: 82%;
  height: 44px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(143, 231, 201, 0.82), rgba(157, 183, 255, 0.62));
  margin-bottom: 18px;
}

.mock-line {
  height: 10px;
  margin: 10px 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
}

.mock-line:nth-child(3) { width: 94%; }
.mock-line:nth-child(4) { width: 72%; }

.mock-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.mock-box {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 112px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  overflow: hidden;
}

.mock-box::before {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  right: -42px;
  bottom: -46px;
  border-radius: 50%;
  background: rgba(157, 183, 255, 0.15);
  filter: blur(2px);
}

.mock-box-label {
  position: relative;
  z-index: 1;
  color: var(--soft);
  font-family: var(--font-action);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mock-domain-card strong {
  position: relative;
  z-index: 1;
  margin: 8px 0;
  font-size: 17px;
  letter-spacing: -0.04em;
}

.mock-status {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand);
  font-family: var(--font-action);
  font-size: 11px;
  font-weight: 750;
}

.mock-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(143, 231, 201, 0.1);
}

.mock-price-card {
  border-color: rgba(255, 211, 106, 0.28);
  background: linear-gradient(145deg, rgba(255, 211, 106, 0.11), rgba(157, 183, 255, 0.07));
}

.mock-price {
  position: relative;
  z-index: 1;
  margin-top: 4px;
  color: var(--text);
  font-size: clamp(22px, 3vw, 31px);
  line-height: 1;
  letter-spacing: -0.055em;
  white-space: nowrap;
}

.mock-price-note {
  position: relative;
  z-index: 1;
  color: var(--warning);
  font-family: var(--font-action);
  font-size: 10px;
  font-weight: 700;
}

.sale-card {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(255, 211, 106, 0.36);
  border-radius: var(--radius);
  background: rgba(255, 211, 106, 0.12);
  backdrop-filter: blur(14px);
}

.sale-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.sale-card strong {
  display: block;
  color: var(--text);
  font-size: 18px;
  letter-spacing: -0.03em;
}

/* Content sections */
section {
  padding: 86px 0;
}

section[id],
#contactForm {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.section-head {
  position: relative;
  max-width: 760px;
  margin-bottom: 30px;
  padding-bottom: 2px;
}

.section-head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -14px;
  width: min(180px, 36%);
  height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2), transparent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1100ms cubic-bezier(0.16, 1, 0.3, 1) 180ms;
}

.section-head.is-visible::after {
  transform: scaleX(1);
}

.section-kicker {
  margin-bottom: 12px;
  color: var(--brand);
  font-family: var(--font-action);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.03;
  letter-spacing: -0.055em;
  font-weight: 300;
}

.section-lead {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  letter-spacing: -0.02em;
}

.focus-stack {
  display: grid;
  gap: 14px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.16);
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand), var(--brand-2), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 1100ms cubic-bezier(0.16, 1, 0.3, 1) 220ms;
}

.service-card.is-visible::after {
  transform: scaleX(1);
}

.service-card-featured {
  border-color: rgba(143, 231, 201, 0.36);
  background:
    radial-gradient(circle at 85% 4%, rgba(143, 231, 201, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(143, 231, 201, 0.09), rgba(157, 183, 255, 0.055));
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.24);
}

.service-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 28px;
  margin-bottom: 16px;
}

.service-type {
  color: var(--soft);
  font-family: var(--font-action);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-badge {
  padding: 5px 8px;
  border: 1px solid rgba(143, 231, 201, 0.28);
  border-radius: 999px;
  color: var(--brand);
  background: rgba(143, 231, 201, 0.08);
  font-family: var(--font-action);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.service-badge-sale {
  border-color: rgba(255, 211, 106, 0.32);
  color: var(--warning);
  background: rgba(255, 211, 106, 0.09);
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: clamp(23px, 2.5vw, 31px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 350;
}

.service-description {
  margin-bottom: 20px;
  color: var(--muted);
}

.service-features {
  display: grid;
  gap: 9px;
  margin: 0 0 26px;
  padding: 0;
  color: var(--muted);
  font-size: 14px;
  list-style: none;
}

.service-features li {
  position: relative;
  padding-left: 19px;
}

.service-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 0 0 4px rgba(143, 231, 201, 0.07);
}

.service-card-footer {
  display: grid;
  gap: 14px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.service-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px;
  margin: 0;
}

.service-price span,
.service-price small {
  color: var(--soft);
  font-family: var(--font-action);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.service-price strong {
  font-size: 25px;
  line-height: 1;
  letter-spacing: -0.045em;
}

.service-price s {
  color: var(--soft);
  font-size: 13px;
}

.service-cta {
  width: 100%;
}

.focus-card {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) auto;
  gap: 28px;
  align-items: start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.18);
}

.focus-card:hover {
  background: var(--card-strong);
  border-color: rgba(255, 255, 255, 0.18);
}

.focus-index {
  color: var(--soft);
  font-family: var(--font-action);
  font-size: 13px;
  font-weight: 800;
}

.focus-card h3 {
  margin-bottom: 8px;
  font-size: clamp(23px, 3vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 300;
}

.focus-card p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
}

.focus-tag {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-family: var(--font-action);
  font-size: 12px;
  white-space: nowrap;
}

.promo-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  margin-top: 18px;
  padding: 24px;
  border: 1px solid rgba(143, 231, 201, 0.25);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(143, 231, 201, 0.12), rgba(157, 183, 255, 0.08));
}

.promo-box p {
  margin: 0;
  color: var(--muted);
}

.promo-content {
  display: grid;
  gap: 5px;
}

.promo-status {
  min-height: 1.35em;
  color: var(--brand) !important;
  font-size: 12px;
  font-weight: 750;
}

.promo-actions {
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 8px;
  align-items: stretch;
}

.promo-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  border: 1px dashed rgba(255, 255, 255, 0.36);
  font-family: var(--font-action);
  font-weight: 900;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.promo-copy-button,
.promo-partner-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 13px;
  border-radius: var(--radius);
  font-family: var(--font-action);
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.promo-copy-button {
  gap: 7px;
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.055);
  cursor: pointer;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.promo-copy-button::before {
  content: "";
  width: 12px;
  height: 14px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  box-shadow: 3px -3px 0 -1px var(--bg-soft), 3px -3px 0 0 currentColor;
}

.promo-copy-button.is-copied {
  border-color: rgba(143, 231, 201, 0.42);
  color: var(--brand);
  background: rgba(143, 231, 201, 0.1);
}

.promo-copy-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.promo-partner-link {
  color: #08100d;
  background: linear-gradient(135deg, var(--brand), #b8f2de);
  box-shadow: 0 12px 30px rgba(143, 231, 201, 0.13);
}

/* FAQ */
.faq-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.faq-item {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.16);
}

.faq-item h3 {
  margin-bottom: 12px;
  font-size: 21px;
  line-height: 1.18;
  letter-spacing: -0.035em;
  font-weight: 400;
}

.faq-item p {
  margin-bottom: 0;
  color: var(--muted);
}

/* Domain callout */
.domain-panel {
  border: 1px solid rgba(255, 211, 106, 0.25);
  border-radius: var(--radius);
  padding: 34px;
  background:
    radial-gradient(circle at 85% 12%, rgba(255, 211, 106, 0.22), transparent 34%),
    rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.domain-panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.domain-panel h2 {
  margin-bottom: 14px;
}

.domain-panel p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 24px;
  align-items: start;
}

.contact-card,
.form-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.contact-card {
  padding: 30px;
}

.contact-card h3,
.form-card h3 {
  margin-bottom: 12px;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-weight: 300;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.contact-list a,
.contact-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
}

.contact-list span:first-child {
  color: var(--soft);
  font-family: var(--font-action);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-list span:last-child {
  color: var(--text);
  text-align: right;
}

.form-card {
  padding: 30px;
}

form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-family: var(--font-action);
  font-size: 13px;
  font-weight: 760;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--text);
  background: rgba(9, 11, 16, 0.58);
  font: inherit;
  outline: none;
  transition: border-color 180ms ease, background 180ms ease;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(143, 231, 201, 0.55);
  background: rgba(9, 11, 16, 0.78);
}

/* Required markers, invalid fields and inline error messages */
.field-label {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
}

.field-required {
  color: var(--warning);
  font-weight: 900;
}

input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: rgba(255, 122, 122, 0.65);
  background: rgba(62, 18, 18, 0.34);
}

input[aria-invalid="true"]:focus,
textarea[aria-invalid="true"]:focus {
  border-color: rgba(255, 122, 122, 0.85);
  background: rgba(62, 18, 18, 0.44);
}

.field-error {
  color: #ff9e9e;
  font-family: var(--font-action);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.4;
}

.field-error:empty {
  display: none;
}

.field-error::before {
  content: "!";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  margin-right: 6px;
  border-radius: 50%;
  background: rgba(255, 122, 122, 0.16);
  color: #ff9e9e;
  font-size: 11px;
  font-weight: 900;
  vertical-align: -2px;
}

.form-required-note {
  margin-top: 2px;
}

.form-note {
  margin: 0;
  color: var(--soft);
  font-size: 13px;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  min-height: 1.5em;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.form-status:empty {
  display: none;
}

.form-status.is-success {
  color: var(--brand);
}

.form-status.is-error {
  color: #ff9e9e;
}

/* Footer */
.site-footer {
  padding: 52px 0 34px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.footer-brand p {
  max-width: 520px;
  color: var(--muted);
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.company-data {
  display: grid;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  font-size: 14px;
}

.company-data div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  color: var(--muted);
}

.company-data span:first-child {
  color: var(--soft);
  font-family: var(--font-action);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.company-data span:last-child {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 13px;
}

.footer-partner-link {
  color: var(--brand);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(143, 231, 201, 0.34);
  text-underline-offset: 3px;
}

/* Scroll motion */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 3px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--brand), var(--brand-2), var(--warning));
  box-shadow: 0 0 22px rgba(143, 231, 201, 0.62);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.motion-enabled body::before {
  background-position: 0 var(--grid-scroll, 0);
  will-change: background-position;
}

.motion-section {
  position: relative;
  isolation: isolate;
  overflow: clip;
}

.motion-section::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  width: min(80vw, 920px);
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(
    circle,
    rgba(143, 231, 201, 0.085),
    rgba(157, 183, 255, 0.045) 38%,
    transparent 70%
  );
  filter: blur(18px);
  opacity: var(--aura-opacity, 0.45);
  transform: translate3d(-50%, calc(-50% + var(--aura-shift, 0px)), 0) scale(1.08);
  will-change: transform;
}

.scroll-reveal {
  opacity: 0;
  filter: blur(14px);
  clip-path: inset(0 0 12% 0 round var(--radius));
  transition:
    opacity 850ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 1050ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 900ms cubic-bezier(0.16, 1, 0.3, 1),
    clip-path 1050ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.scroll-reveal.reveal-up {
  transform: translate3d(0, 58px, 0) scale(0.985);
}

.scroll-reveal.reveal-down {
  transform: translate3d(0, -34px, 0) scale(0.985);
}

.scroll-reveal.reveal-left {
  transform: translate3d(-64px, 24px, 0) rotate(-0.7deg);
}

.scroll-reveal.reveal-right {
  transform: translate3d(64px, 24px, 0) rotate(0.7deg);
}

.scroll-reveal.reveal-scale {
  transform: translate3d(0, 36px, 0) scale(0.92);
}

.scroll-reveal.reveal-tilt {
  transform: perspective(1100px) translate3d(36px, 64px, 0) rotateX(5deg) rotateY(-5deg) scale(0.94);
}

.scroll-reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  clip-path: inset(-80px -80px -80px -80px round var(--radius));
  transform: none;
}

.motion-enabled .accent-text {
  background-size: 220% 100%;
  background-position: var(--accent-position, 0%) center;
}

.motion-enabled .visual-card .browser-frame {
  transform: translate3d(0, var(--browser-parallax, 0), 0);
  will-change: transform;
}

.motion-enabled .visual-card .sale-card {
  transform: translate3d(0, var(--sale-parallax, 0), 0);
  will-change: transform;
}

.motion-enabled .visual-card .mock-title {
  background-size: 220% 100%;
  animation: interface-shimmer 4.8s ease-in-out 700ms infinite alternate;
}

@keyframes interface-shimmer {
  from {
    background-position: 0% 50%;
  }

  to {
    background-position: 100% 50%;
  }
}

@keyframes hero-interface-scan {
  0%,
  58% {
    left: -70%;
    opacity: 0;
  }

  66% {
    opacity: 0.75;
  }

  86% {
    left: 132%;
    opacity: 0.28;
  }

  100% {
    left: 132%;
    opacity: 0;
  }
}

@keyframes hero-card-breathe {
  from {
    transform: translate3d(0, 0, 0);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  }

  to {
    transform: translate3d(0, -12px, 0);
    box-shadow:
      0 28px 90px rgba(0, 0, 0, 0.4),
      0 0 45px rgba(143, 231, 201, 0.08);
  }
}

@keyframes hero-meta-glow {
  0%,
  100% {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.045);
  }

  50% {
    border-color: rgba(143, 231, 201, 0.24);
    background: rgba(143, 231, 201, 0.07);
  }
}

/* Hero intro choreography ------------------------------------------------ */
.hero-title-line {
  display: block;
}

/* Hidden starting state, only applied when motion is allowed, set before the
   first paint by the inline head script so there is no flash of content. */
.motion-enabled .hero-copy .hero-title-line,
.motion-enabled .hero-copy .accent-text,
.motion-enabled .hero-copy .hero-lead,
.motion-enabled .hero-copy .hero-actions,
.motion-enabled .hero-copy .hero-meta,
.motion-enabled .hero .visual-card {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  filter: blur(10px);
  transition:
    opacity 850ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 1000ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 850ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--intro-delay, 0ms);
  will-change: opacity, transform;
}

.motion-enabled .hero .visual-card {
  transform: translate3d(46px, 20px, 0) scale(0.965);
}

.motion-enabled .hero-copy .hero-title-line { --intro-delay: 100ms; }
.motion-enabled .hero-copy .accent-text { --intro-delay: 220ms; }
.motion-enabled .hero-copy .hero-lead { --intro-delay: 360ms; }
.motion-enabled .hero-copy .hero-actions { --intro-delay: 460ms; }
.motion-enabled .hero-copy .hero-meta { --intro-delay: 540ms; }
.motion-enabled .hero .visual-card { --intro-delay: 300ms; }

.hero-ready .hero-copy .hero-title-line,
.hero-ready .hero-copy .accent-text,
.hero-ready .hero-copy .hero-lead,
.hero-ready .hero-copy .hero-actions,
.hero-ready .hero-copy .hero-meta,
.hero-ready .hero .visual-card {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* Hero copy drifts up and fades as the section scrolls away (JS-driven vars,
   compositor-only transform/opacity, stays smooth). */
.motion-enabled .hero-copy {
  transform: translate3d(0, var(--hero-shift, 0px), 0);
  opacity: var(--hero-fade, 1);
  will-change: transform, opacity;
}

/* Hero scroll cue */
.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 3;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--soft);
  font-family: var(--font-action);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0;
  transform: translate3d(-50%, 8px, 0);
  transition:
    opacity 600ms ease 900ms,
    transform 600ms cubic-bezier(0.16, 1, 0.3, 1) 900ms;
}

.hero-ready .hero-scroll-cue {
  opacity: 0.72;
  transform: translate3d(-50%, 0, 0);
}

/* Fade the cue away as soon as the user starts scrolling */
html:not(.is-top) .hero-scroll-cue {
  opacity: 0 !important;
  transform: translate3d(-50%, 6px, 0);
  pointer-events: none;
}

.hero-scroll-cue:hover {
  color: var(--text);
}

.hero-scroll-cue-track {
  position: relative;
  display: block;
  width: 26px;
  height: 40px;
  border-radius: 999px;
}

.hero-scroll-cue-dot {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 999px;
  background: var(--brand);
  animation: hero-scroll-cue 1.9s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes hero-scroll-cue {
  0% { transform: translateY(0); opacity: 0; }
  25% { opacity: 1; }
  70% { opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* Interactive service cards: cursor spotlight + subtle lift ---------------- */
/* The reveal transition (added by JS via .scroll-reveal) and the hover
   transition are merged here so neither clobbers the other. Reveal channels
   keep their per-item delay; the hover lift uses the separate `translate`
   property so it composes with (rather than fights) the reveal `transform`. */
.service-card {
  --spotlight-x: 50%;
  --spotlight-y: 0%;
  transition:
    opacity 850ms cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms),
    transform 1050ms cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms),
    filter 900ms cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms),
    clip-path 1050ms cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms),
    translate 340ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 320ms ease,
    box-shadow 320ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    320px circle at var(--spotlight-x) var(--spotlight-y),
    rgba(143, 231, 201, 0.16),
    rgba(157, 183, 255, 0.08) 42%,
    transparent 66%
  );
  transition: opacity 300ms ease;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

@media (hover: hover) and (pointer: fine) {
  .service-card:hover {
    translate: 0 -6px;
    border-color: var(--line-strong);
    box-shadow: 0 26px 68px rgba(0, 0, 0, 0.28);
  }

  .service-card:hover::before {
    opacity: 1;
  }

  .service-card-featured:hover {
    border-color: rgba(143, 231, 201, 0.5);
  }
}

/* Golden crown perched on the header CTA ---------------------------------- */
.nav-domain {
  position: relative;
  overflow: visible;
}

.nav-domain-crown {
  position: absolute;
  top: -17px;
  right: -8px;
  z-index: 2;
  width: 34px;
  pointer-events: none;
  transform-origin: 50% 88%;
  transform: rotate(17deg);
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.35));
}

.nav-domain-crown .crown-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.crown-sparkle {
  position: absolute;
  top: -4px;
  right: -1px;
  width: 12px;
  height: 12px;
  background: #fff7dd;
  clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%);
  opacity: 0;
  filter: drop-shadow(0 0 5px rgba(255, 224, 138, 0.95));
}

/* Motion layer, gated so reduced-motion users get a static, tilted crown */
.motion-enabled .nav-domain-crown {
  animation: crown-sway 3.4s ease-in-out infinite;
}

.motion-enabled .crown-gem {
  transform-box: fill-box;
  transform-origin: center;
  animation: crown-twinkle 2.6s ease-in-out infinite;
}

.motion-enabled .crown-gem-2 { animation-delay: 0.5s; }
.motion-enabled .crown-gem-3 { animation-delay: 1s; }

.motion-enabled .crown-sparkle {
  animation: crown-sparkle 2.8s ease-in-out infinite;
}

@keyframes crown-sway {
  0%,
  100% {
    transform: rotate(14deg) translateY(0);
    filter:
      drop-shadow(0 3px 4px rgba(0, 0, 0, 0.35))
      drop-shadow(0 0 5px rgba(255, 211, 106, 0.3));
  }

  50% {
    transform: rotate(23deg) translateY(-3px);
    filter:
      drop-shadow(0 5px 8px rgba(0, 0, 0, 0.4))
      drop-shadow(0 0 13px rgba(255, 211, 106, 0.65));
  }
}

@keyframes crown-twinkle {
  0%,
  100% { opacity: 0.85; transform: scale(0.88); }
  50% { opacity: 1; transform: scale(1.18); }
}

@keyframes crown-sparkle {
  0%,
  100% { opacity: 0; transform: scale(0.2) rotate(0deg); }
  45% { opacity: 1; transform: scale(1) rotate(35deg); }
  70% { opacity: 0.6; transform: scale(0.9) rotate(48deg); }
}

/* Legal / content pages (privacy, cookies) -------------------------------- */
.legal-main {
  padding: clamp(48px, 8vw, 88px) 0 clamp(60px, 9vw, 100px);
}

.legal {
  max-width: 820px;
}

.legal-lede {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  letter-spacing: -0.01em;
}

.legal-updated {
  display: inline-block;
  margin-bottom: 8px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--soft);
  font-family: var(--font-action);
  font-size: 12px;
  font-weight: 700;
}

.legal h1 {
  font-size: clamp(34px, 6vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  margin-bottom: 18px;
}

.legal h2 {
  margin-top: clamp(34px, 5vw, 52px);
  margin-bottom: 14px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 450;
}

.legal h3 {
  margin-top: 26px;
  margin-bottom: 8px;
  font-size: 18px;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.legal p,
.legal li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.legal p {
  margin-bottom: 16px;
}

.legal ul {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding-left: 20px;
}

.legal li {
  padding-left: 4px;
}

.legal a {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-color: rgba(143, 231, 201, 0.4);
  text-underline-offset: 2px;
}

.legal a:hover {
  text-decoration-color: var(--brand);
}

.legal strong {
  color: var(--text);
  font-weight: 650;
}

.legal-table-wrap {
  margin: 8px 0 22px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.legal-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14px;
}

.legal-table th,
.legal-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.legal-table th {
  color: var(--soft);
  font-family: var(--font-action);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(255, 255, 255, 0.03);
}

.legal-table td {
  color: var(--muted);
}

.legal-table tr:last-child td {
  border-bottom: 0;
}

.legal-table code {
  color: var(--text);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 13px;
}

.legal-back {
  margin-top: 40px;
}

/* Footer legal row + manage-cookies control ------------------------------- */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-family: var(--font-action);
  font-size: 13px;
}

.footer-legal a,
.footer-cookie-settings {
  color: var(--soft);
  transition: color 180ms ease;
}

.footer-legal a:hover,
.footer-cookie-settings:hover {
  color: var(--text);
}

.footer-cookie-settings {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}



.footer-legal a:focus-visible,
.footer-cookie-settings:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Cookie consent banner --------------------------------------------------- */
.cookie-consent {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 120;
  width: min(430px, calc(100vw - 32px));
  opacity: 0;
  transform: translate3d(0, 26px, 0) scale(0.98);
  transition:
    opacity 480ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 560ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  will-change: opacity, transform;
}

.cookie-consent.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.cookie-card {
  position: relative;
  padding: 22px 22px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03) 44%),
    rgba(11, 13, 18, 0.92);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  backdrop-filter: blur(22px);
  overflow: hidden;
  outline: none;
}



.motion-enabled .cookie-card::before {
  animation: cookie-accent 7s linear infinite;
}

@keyframes cookie-accent {
  to { background-position: 300% 0; }
}

.cookie-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.cookie-glyph-wrap {
  display: inline-flex;


}

.cookie-glyph {
  width: 26px;
  height: 26px;
}

.motion-enabled .cookie-glyph-wrap {
  animation: cookie-glyph-bob 3.6s ease-in-out infinite;
}

@keyframes cookie-glyph-bob {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-3px) rotate(-6deg); }
}

.cookie-card h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.cookie-body {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.cookie-body a {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-color: rgba(143, 231, 201, 0.4);
  text-underline-offset: 2px;
}

.cookie-body a:hover {
  text-decoration-color: var(--brand);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cookie-btn {
  flex: 1 1 auto;
  min-height: 44px;
  min-width: max-content;
  padding: 11px 14px;
  font-size: 13px;
  background: white;
  color: black;
  font-weight: 500;
}

.cookie-actions [data-cookie-accept] {
  flex-basis: 100%;
  order: -1;
}

/* Settings panel: smoothly expands/collapses by animating grid-template-rows
   from 0fr to 1fr, so it eases to the real content height with no jump. */
.cookie-options {
  display: grid;
  grid-template-rows: 0fr;
  margin-bottom: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    grid-template-rows 440ms cubic-bezier(0.16, 1, 0.3, 1),
    margin-bottom 440ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 240ms ease,
    visibility 0s linear 440ms;
}

.cookie-consent.is-expanded .cookie-options {
  grid-template-rows: 1fr;
  margin-bottom: 16px;
  opacity: 1;
  visibility: visible;
  transition:
    grid-template-rows 440ms cubic-bezier(0.16, 1, 0.3, 1),
    margin-bottom 440ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 320ms ease 120ms,
    visibility 0s;
}

.cookie-options-inner {
  display: grid;
  gap: 12px;
  min-height: 0;
  padding: 3px 4px;
  margin: 0 -4px;
  overflow: hidden;
}

.cookie-option {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
}

.cookie-option-text strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 14px;
  font-weight: 650;
}

.cookie-option-text p {
  margin: 0;
  color: var(--soft);
  font-size: 12.5px;
  line-height: 1.5;
}

.cookie-always {
  flex: 0 0 auto;
  align-self: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(143, 231, 201, 0.28);
  color: var(--brand);
  background: rgba(143, 231, 201, 0.08);
  font-family: var(--font-action);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.cookie-save {
  width: 100%;
}

/* Fancy toggle switch */
.cookie-switch {
  position: relative;
  flex: 0 0 auto;
  align-self: center;
  width: 48px;
  height: 28px;
}

.cookie-switch input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.cookie-switch-track {
  display: block;
  width: 48px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.1);
  transition: background 240ms ease, border-color 240ms ease;
}

.cookie-switch-thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-switch input:checked + .cookie-switch-track {
  border-color: transparent;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}

.cookie-switch input:checked + .cookie-switch-track .cookie-switch-thumb {
  transform: translateX(20px);
}

.cookie-switch input:focus-visible + .cookie-switch-track {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

/* Responsive */
@media (max-width: 980px) {
  :root {
    --header-height: 72px;
  }

  .mobile-menu-button {
    display: inline-block;
    z-index: 2;
  }

  .main-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(var(--header-height) + 10px);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    max-height: calc(100dvh - var(--header-height) - 24px);
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.065), transparent 44%),
      rgba(11, 13, 18, 0.97);
    box-shadow: var(--shadow);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translate3d(0, -14px, 0) scale(0.985);
    transform-origin: top center;
    transition:
      opacity 240ms ease,
      transform 320ms cubic-bezier(0.16, 1, 0.3, 1),
      visibility 320ms ease;
  }

  .main-nav.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(0, 0, 0) scale(1);
  }

  .main-nav a {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 13px 14px;
    border: 1px solid transparent;
    opacity: 0;
    transform: translate3d(0, -8px, 0);
    transition:
      opacity 220ms ease,
      transform 280ms cubic-bezier(0.16, 1, 0.3, 1),
      background 180ms ease,
      border-color 180ms ease,
      color 180ms ease;
  }

  .main-nav.is-open a {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  .main-nav.is-open a:nth-child(1) { transition-delay: 35ms; }
  .main-nav.is-open a:nth-child(2) { transition-delay: 65ms; }
  .main-nav.is-open a:nth-child(3) { transition-delay: 95ms; }
  .main-nav.is-open a:nth-child(4) { transition-delay: 125ms; }
  .main-nav.is-open a:nth-child(5) { transition-delay: 155ms; }
  .main-nav.is-open a:nth-child(6) { transition-delay: 185ms; }

  .main-nav > .language-switcher {
    display: flex;
    flex-direction: column;
    width: 100%;
    opacity: 0;
    transform: translate3d(0, -8px, 0);
    transition:
      opacity 220ms ease 155ms,
      transform 280ms cubic-bezier(0.16, 1, 0.3, 1) 155ms;
  }

  .main-nav.is-open > .language-switcher {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  .language-trigger {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 0;
  }

  .language-trigger span {
    margin-right: auto;
  }

  .language-menu {
    position: static;
    width: 100%;
    min-width: 0;
    max-height: 0;
    margin: 0;
    padding: 0 7px;
    border: 0;
    box-shadow: none;
    overflow: hidden;
    transform: translate3d(0, -6px, 0);
    transition:
      max-height 300ms cubic-bezier(0.16, 1, 0.3, 1),
      padding 300ms cubic-bezier(0.16, 1, 0.3, 1),
      opacity 180ms ease,
      transform 260ms cubic-bezier(0.16, 1, 0.3, 1),
      visibility 300ms ease;
  }

  .language-switcher.is-open .language-menu {
    max-height: 132px;
    margin-top: 3px;
    padding: 7px;
    border: 1px solid var(--line);
  }

  .main-nav .nav-domain {
    justify-content: center;
    margin-top: 4px;
  }

  /* The crown belongs on the top-right desktop CTA; inside the mobile
     dropdown it has no corner to perch on, so keep it out of the way. */
  .nav-domain-crown {
    display: none;
  }

  .domain-strip-inner,
  .sale-card,
  .promo-box,
  .domain-panel-grid {
    grid-template-columns: 1fr;
  }

  .domain-strip-inner {
    align-items: stretch;
  }

  .domain-strip a {
    width: 100%;
  }

  .promo-actions {
    grid-template-columns: auto 1fr 1fr;
  }

  .hero-grid,
  .contact-grid,
  .footer-grid,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    min-height: auto;
    padding-top: 70px;
  }

  .visual-card {
    min-height: 440px;
  }

  .hero-webgl {
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.38), #000 30%, #000 72%, transparent 100%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.38), #000 30%, #000 72%, transparent 100%);
  }

  .hero-webgl.is-ready {
    opacity: 0.56;
  }

  .hero::after {
    background: linear-gradient(
      180deg,
      rgba(11, 13, 18, 0.82) 0%,
      rgba(11, 13, 18, 0.36) 38%,
      rgba(11, 13, 18, 0.12) 70%,
      rgba(11, 13, 18, 0.54) 100%
    );
  }

  .focus-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .focus-tag {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  /* Full-bleed bottom sheet on phones: edge to edge, compact, easy to reach. */
  .cookie-consent {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    transform: translate3d(0, 100%, 0);
  }

  .cookie-card {
    max-height: calc(100dvh - 12px);
    padding: 16px 16px calc(14px + env(safe-area-inset-bottom, 0px));
    border-width: 1px 0 0;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -18px 50px rgba(0, 0, 0, 0.6);
    overflow-y: auto;
  }

  .cookie-head {
    gap: 10px;
    margin-bottom: 8px;
  }

  .cookie-glyph-wrap {
    padding: 6px;
    border-radius: 10px;
  }

  .cookie-glyph {
    width: 22px;
    height: 22px;
  }

  .cookie-card h2 {
    font-size: 17px;
  }

  .cookie-body {
    margin-bottom: 14px;
    font-size: 13px;
    line-height: 1.5;
  }

  .cookie-options-inner {
    gap: 10px;
  }

  .cookie-consent.is-expanded .cookie-options {
    margin-bottom: 12px;
  }

  .cookie-option {
    padding: 12px;
  }

  .cookie-option-text p {
    font-size: 12px;
  }

  .cookie-btn {
    min-height: 48px;
  }

  .brand {
    font-size: 19px;
  }

  .domain-strip-inner {
    font-size: 13px;
  }

  h1 {
    font-size: clamp(42px, 16vw, 60px);
  }

  .hero-lead,
  .section-lead,
  .domain-panel p {
    font-size: 16px;
  }

  .hero-actions .btn,
  .domain-panel .btn,
  form .btn {
    width: 100%;
  }

  section {
    padding: 64px 0;
  }

  .browser-frame {
    inset: 16px;
  }

  .mock-content {
    padding: 18px;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .mock-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .promo-actions {
    grid-template-columns: 1fr 1fr;
  }

  .promo-code {
    grid-column: 1 / -1;
  }

  .promo-copy-button,
  .promo-partner-link {
    width: 100%;
  }

  .sale-card {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .focus-card,
  .service-card,
  .faq-item,
  .domain-panel,
  .contact-card,
  .form-card {
    padding: 22px;
  }

  .contact-list a,
  .contact-list div {
    display: grid;
  }

  .contact-list span:last-child {
    text-align: left;
  }

  .company-data div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .scroll-progress {
    display: none;
  }

  .scroll-reveal {
    opacity: 1;
    filter: none;
    clip-path: none;
    transform: none;
  }

  .motion-section::before {
    opacity: 0.18;
    transform: translate3d(-50%, -50%, 0);
  }

  .hero-webgl {
    display: none;
  }

  .hero-scroll-cue {
    display: none;
  }

  .hero-copy {
    transform: none !important;
    opacity: 1 !important;
  }

  .service-card::before {
    display: none;
  }
}
