/* =========================================================
   Ten Tech Solutions — design system v2 (public site + shared components)
   Concept: "launch control" — deep navy surfaces with a precise grid,
   vivid blue for action, crisp white working areas. One committed brand
   look (not theme-switched): every surface sets its colours explicitly.
   ========================================================= */
/* Geist (SIL Open Font License, see /assets/fonts/OFL-Geist.txt), self-hosted: no third-party requests */
@font-face { font-family: "Geist"; src: url("/assets/fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/assets/fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
:root {
  /* Colour */
  --navy-950: #070434;
  --navy-900: #0d0a52;
  --navy: #170787;          /* brand navy, from the logo */
  --blue: #1d4ff2;          /* action blue, AA with white */
  --blue-600: #1641cf;
  --blue-bright: #4f7bff;
  --cyan: #38bdf8;          /* accent glow only, never for text on white */
  --sky: #b9caff;
  --ink: #0f1035;
  --ink-2: #2b2e57;
  --muted: #4b4f75;
  --line: #e1e5f3;
  --line-strong: #c9cfea;
  --mist: #f5f7fd;
  --mist-2: #eef1fb;
  --paper: #ffffff;
  --ok: #0e7a4f;   --ok-bg: #e7f6ef;
  --warn: #8a5300; --warn-bg: #fff4e0;
  --bad: #b3261e;  --bad-bg: #fdecea;
  --wa: #0f7a41;   --wa-hover: #0b6534;
  --blue-soft: #e9eeff;

  /* Type */
  --font-display: "Geist", "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Geist", "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-label: var(--font-body);
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: clamp(1.3rem, 1.1rem + 0.8vw, 1.55rem);
  --step-3: clamp(1.9rem, 1.3rem + 2.2vw, 2.85rem);
  --step-4: clamp(2.5rem, 1.4rem + 4.4vw, 4.6rem);

  /* Space & shape */
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 128px);
  --radius: 16px;
  --radius-lg: 22px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15,16,53,.06);
  --shadow: 0 1px 2px rgba(15,16,53,.05), 0 14px 36px -16px rgba(23,7,135,.25);
  --shadow-lg: 0 2px 4px rgba(15,16,53,.04), 0 30px 60px -24px rgba(23,7,135,.35);
  --header-h: 72px;

  color-scheme: light;
}

/* ---------- Base ---------- */
.top-anchor { position: absolute; top: 0; left: 0; width: 1px; height: 1px; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: var(--step-0); line-height: 1.6;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -0.03em; }
h2 { font-size: var(--step-3); font-weight: 700; }
h3 { font-size: var(--step-2); font-weight: 700; }
p { margin: 0; }
a { color: var(--blue); }
ul, ol { margin: 0; padding: 0; }
.i { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }
:target { scroll-margin-top: calc(var(--header-h) + 16px); }
section[id], .anchor-alias { scroll-margin-top: calc(var(--header-h) + 8px); }
.mono { font-family: var(--font-body); font-variant-numeric: tabular-nums; letter-spacing: 0; white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: var(--step--1); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.section-navy :focus-visible, .hero :focus-visible, .cta :focus-visible, .site-footer :focus-visible, .announce :focus-visible { outline-color: #fff; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.skip-link:focus { top: 12px; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-label); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue);
}
.eyebrow-on-dark { color: var(--sky); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--paper); --btn-fg: var(--navy); --btn-border: var(--line-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 44px; padding: 10px 20px;
  font: 600 var(--step-0)/1.2 var(--font-body);
  color: var(--btn-fg); background: var(--btn-bg); border: 1.5px solid var(--btn-border);
  border-radius: 12px; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn .i { width: 1.1em; height: 1.1em; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn[disabled] { cursor: progress; opacity: .85; transform: none; }
.btn-lg { min-height: 52px; padding: 14px 24px; font-size: var(--step-1); border-radius: 14px; }
.btn-block { width: 100%; }
.btn-primary { --btn-bg: var(--blue); --btn-fg: #fff; --btn-border: var(--blue); box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 10px 24px -12px rgba(29,79,242,.9); }
.btn-primary:hover { --btn-bg: var(--blue-600); --btn-border: var(--blue-600); }
.btn-secondary { --btn-bg: var(--paper); --btn-fg: var(--navy); --btn-border: var(--line-strong); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { --btn-border: var(--blue); --btn-fg: var(--blue); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--ink-2); --btn-border: transparent; }
.btn-ghost:hover { --btn-bg: var(--mist-2); }
.btn-outline-light { --btn-bg: rgba(255,255,255,.06); --btn-fg: #fff; --btn-border: rgba(255,255,255,.35); }
.btn-outline-light:hover { --btn-bg: rgba(255,255,255,.12); --btn-border: #fff; }
.btn-light { --btn-bg: #fff; --btn-fg: var(--navy); --btn-border: #fff; }
.btn-light:hover { --btn-bg: #e9edff; --btn-border: #e9edff; }
.btn-whatsapp { --btn-bg: var(--wa); --btn-fg: #fff; --btn-border: var(--wa); }
.btn-whatsapp:hover { --btn-bg: var(--wa-hover); --btn-border: var(--wa-hover); }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- Announcement ---------- */
.announce { background: var(--navy-950); color: #d6deff; font-size: .9rem; }
.announce-row { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 40px; padding-block: 6px; flex-wrap: wrap; text-align: center; }
.announce-tag { display: inline-block; margin-right: 8px; padding: 2px 8px; border-radius: 999px; background: rgba(79,123,255,.25); color: #fff; font: 600 .72rem/1.4 var(--font-label); letter-spacing: .06em; text-transform: uppercase; }
.announce a { color: #fff; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.announce a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -18px rgba(23,7,135,.45); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; flex: none; border-radius: 8px; }
.brand img { width: 144px; height: auto; }

.primary-nav { display: flex; align-items: center; gap: 20px; flex: 1; justify-content: flex-end; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px; padding: 9px 12px; border-radius: 10px;
  color: var(--ink-2); font: 600 .97rem/1.2 var(--font-body); text-decoration: none; background: none; border: 0; cursor: pointer;
}
.nav-link:hover, .nav-drop[aria-expanded="true"] { color: var(--navy); background: var(--mist-2); }
.i-chev { width: 16px; height: 16px; transition: transform .2s ease; }
.nav-drop[aria-expanded="true"] .i-chev { transform: rotate(180deg); }
.nav-actions { display: flex; gap: 8px; align-items: center; }

/* Mega menu */
.mega {
  position: absolute; top: calc(100% + 12px); left: -20px; z-index: 60;
  width: min(760px, calc(100vw - 48px));
  display: none; grid-template-columns: 1.5fr 1fr; gap: 0;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
}
.has-mega.is-open .mega { display: grid; animation: drop .18s ease-out; }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mega-grid { display: grid; gap: 4px; padding: 14px; }
.mega-item { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: 14px; text-decoration: none; color: var(--ink); }
.mega-item:hover { background: var(--mist); }
.mega-item strong { display: block; font-weight: 700; color: var(--navy); }
.mega-item small { display: block; color: var(--muted); font-size: .88rem; line-height: 1.4; margin-top: 2px; }
.mega-icon { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); }
.mega-icon .i { width: 22px; height: 22px; }
.mega-side { display: grid; align-content: start; gap: 6px; padding: 22px; background: linear-gradient(160deg, var(--mist) 0%, var(--mist-2) 100%); border-left: 1px solid var(--line); }
.mega-label { font: 600 .72rem/1.4 var(--font-label); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.mega-side a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 10px; color: var(--ink-2); font-weight: 600; text-decoration: none; }
.mega-side a:hover { background: var(--paper); color: var(--blue); }
.mega-side a .i { width: 16px; height: 16px; opacity: .6; }
.mega-cta { margin-top: 10px; padding: 12px 14px; border-radius: 12px; border: 0; background: var(--navy); color: #fff; font: 600 .95rem/1.2 var(--font-body); cursor: pointer; }
.mega-cta:hover { background: var(--navy-900); }

.nav-toggle { display: none; width: 46px; height: 46px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--navy); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; content: ""; }
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before { position: absolute; top: -6px; }
.nav-toggle-bars::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 600px) {
  .announce { font-size: .82rem; }
  .announce-row { min-height: 36px; }
  .announce a { display: none; }
}
@media (max-width: 1060px) {
  .nav-toggle { display: inline-flex; }
  /* backdrop-filter would make the header the containing block of the fixed drawer */
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--paper); }
  .primary-nav {
    position: fixed; inset: var(--nav-top, var(--header-h)) 0 0 0; z-index: 70;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 18px;
    padding: 16px var(--gutter) calc(24px + env(safe-area-inset-bottom, 0px));
    background: var(--paper); overflow-y: auto; display: none;
  }
  .primary-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-link { width: 100%; justify-content: space-between; padding: 14px 8px; font-size: var(--step-1); border-radius: 0; border-bottom: 1px solid var(--mist-2); }
  .nav-link:hover, .nav-drop[aria-expanded="true"] { background: none; }
  .mega { position: static; width: 100%; box-shadow: none; border: 0; border-radius: 0; grid-template-columns: 1fr; }
  .has-mega.is-open .mega { animation: none; }
  .mega-grid { padding: 6px 0; }
  .mega-side { border-left: 0; border-radius: 14px; padding: 16px; }
  .nav-actions { flex-direction: column-reverse; align-items: stretch; }
  .nav-actions .btn { width: 100%; }
  .nav-actions .btn-ghost { --btn-border: var(--line); }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff; isolation: isolate;
  background: linear-gradient(170deg, var(--navy) 0%, var(--navy-900) 45%, var(--navy-950) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 75%);
}
.hero-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(520px 340px at 78% 22%, rgba(79,123,255,.55), transparent 70%),
    radial-gradient(420px 300px at 92% 70%, rgba(56,189,248,.22), transparent 70%),
    radial-gradient(480px 360px at 5% 100%, rgba(79,123,255,.25), transparent 70%);
}
.hero-grid {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(36px, 5vw, 80px); align-items: center;
  padding-block: clamp(56px, 8vw, 104px) clamp(110px, 12vw, 150px);
}
.hero-copy { display: grid; gap: 24px; min-width: 0; justify-items: start; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(185,202,255,.25); color: #dfe6ff; font-size: .9rem; font-weight: 600;
}
.hero-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74,222,128,.18); }
.hero h1 { font-size: var(--step-4); font-weight: 700; letter-spacing: -0.045em; line-height: 1.02; }
.hero-accent { background: linear-gradient(92deg, #fff 0%, #c7d5ff 45%, #8fb0ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: var(--step-1); color: #d6deff; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; color: #c9d4ff; font-size: .95rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .i { color: #4ade80; width: 18px; height: 18px; }

/* Browser-window visual */
.launch-window {
  margin: 0; min-width: 0; border-radius: 20px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.04));
  border: 1px solid rgba(185,202,255,.28);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.04) inset;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.window-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid rgba(185,202,255,.18); background: rgba(7,4,52,.35); }
.window-dots { display: inline-flex; gap: 6px; }
.window-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.25); }
.window-dots i:first-child { background: #ff6b6b; } .window-dots i:nth-child(2) { background: #fbbf24; } .window-dots i:nth-child(3) { background: #4ade80; }
.window-url { flex: 1; display: inline-flex; align-items: center; gap: 8px; min-width: 0; padding: 6px 12px; border-radius: 8px; background: rgba(255,255,255,.08); color: #e5ebff; font: 500 .85rem/1.2 var(--font-mono); overflow: hidden; white-space: nowrap; }
.window-url .i { width: 14px; height: 14px; color: #4ade80; }
.window-url .tld-cycle { margin-left: -8px; }
.tld-cycle::after { content: ".com"; animation: tlds 9s steps(1) infinite; }
@keyframes tlds { 0% { content: ".com"; } 16.6% { content: ".net"; } 33.3% { content: ".org"; } 50% { content: ".co"; } 66.6% { content: ".online"; } 83.3% { content: ".store"; } }

.launch { position: relative; padding: 28px 24px 26px; }
.launch-path { position: absolute; inset: 20px; width: calc(100% - 40px); height: calc(100% - 40px); color: rgba(185,202,255,.45); }
.launch-stack { position: relative; list-style: none; display: flex; flex-direction: column-reverse; gap: 12px; }
.plate {
  display: flex; align-items: center; gap: 14px; width: 64%;
  padding: 13px 16px; border-radius: 14px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(185,202,255,.24);
  box-shadow: 0 18px 40px -26px rgba(0,0,0,.7);
  animation: rise .7s cubic-bezier(.2,.7,.2,1) both;
}
.plate-1 { margin-left: 0; animation-delay: .05s; }
.plate-2 { margin-left: 12%; animation-delay: .15s; }
.plate-3 { margin-left: 24%; animation-delay: .25s; }
.plate-4 { margin-left: 36%; animation-delay: .35s; background: linear-gradient(135deg, var(--blue), #3b6bff); border-color: var(--blue-bright); box-shadow: 0 20px 40px -18px rgba(29,79,242,.9); }
.plate-step { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; font: 600 .78rem/1 var(--font-body); color: var(--navy); background: #fff; }
.plate-body { display: grid; gap: 1px; min-width: 0; }
.plate-body strong { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: #fff; }
.plate-body span { font-size: .86rem; color: #d3dcff; }
.plate-4 .plate-body span { color: #eef2ff; }
.launch-flag { position: absolute; right: 22px; bottom: 22px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--navy); background: #fff; box-shadow: 0 0 0 8px rgba(255,255,255,.1); transform: rotate(-45deg); }
.launch-flag .i { width: 20px; height: 20px; }
@keyframes rise { from { transform: translateY(14px); opacity: .25; } to { transform: none; opacity: 1; } }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .launch-window { max-width: 560px; width: 100%; }
}
@media (max-width: 520px) {
  .launch { padding: 22px 16px 20px; }
  .plate { width: auto; padding: 11px 13px; }
  .plate-1 { margin-right: 18%; } .plate-2 { margin-left: 6%; margin-right: 12%; } .plate-3 { margin-left: 12%; margin-right: 6%; } .plate-4 { margin-left: 18%; }
  .launch-flag { width: 36px; height: 36px; bottom: 14px; right: 14px; }
  .hero-actions .btn { width: 100%; }
}

/* ---------- Domain search ---------- */
.domain-section { position: relative; margin-top: -80px; padding-bottom: clamp(8px, 2vw, 24px); }
.domain-card {
  position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 24px;
  box-shadow: var(--shadow-lg); padding: clamp(22px, 4vw, 44px); display: grid; gap: 22px;
}
.domain-head { display: grid; gap: 10px; max-width: 46rem; }
.domain-head .eyebrow .i { width: 15px; height: 15px; }
.domain-form { display: grid; gap: 14px; }
.domain-field { display: flex; align-items: center; min-width: 0; border: 2px solid var(--line-strong); border-radius: 16px; background: var(--paper); padding: 6px 6px 6px 16px; transition: border-color .15s ease, box-shadow .15s ease; }
.domain-field:focus-within { border-color: var(--blue); box-shadow: 0 0 0 5px rgba(29,79,242,.12); }
.domain-field:has(input[aria-invalid="true"]) { border-color: var(--bad); }
.domain-prefix, .domain-suffix { font-family: var(--font-body); color: var(--muted); font-size: 1.05rem; flex: none; }
.domain-suffix { color: var(--navy); font-weight: 600; padding-right: 12px; }
.domain-field input { flex: 1 1 auto; min-width: 0; border: 0; outline: 0; background: transparent; font: 500 1.15rem/1.3 var(--font-body); color: var(--ink); padding: 12px 4px; }
.domain-field input::placeholder { color: #9aa0c3; }
.domain-field input:focus-visible { outline: none; }
.domain-submit { flex: none; min-width: 124px; min-height: 52px; border-radius: 12px; }
.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .8s linear infinite; }
.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.tld-picker { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-width: 0; }
.tld-legend { float: left; font-size: var(--step--1); font-weight: 600; color: var(--muted); margin-right: 4px; padding: 0; }
.tld-options { display: flex; flex-wrap: wrap; gap: 8px; }
.tld-options label { position: relative; cursor: pointer; }
.tld-options input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.tld-options span { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--line); font: 600 .92rem/1.2 var(--font-body); color: var(--navy); background: var(--mist); transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.tld-options label:hover span { border-color: var(--blue); }
.tld-options input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.tld-options input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.domain-hint { font-size: var(--step--1); color: var(--muted); }

.domain-result { border-radius: var(--radius); padding: 18px 20px; display: grid; gap: 14px; border: 1.5px solid var(--line); background: var(--mist); }
.result-row { display: flex; gap: 14px; align-items: flex-start; }
.result-text { display: grid; gap: 4px; min-width: 0; }
.result-title { font-weight: 700; font-size: var(--step-1); overflow-wrap: anywhere; }
.result-body { color: var(--muted); }
.result-actions { display: flex; flex-wrap: wrap; gap: 8px; padding-left: 42px; }
.result-icon { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .9rem; color: #fff; background: var(--muted); }
.result-icon::before { content: "i"; font-family: var(--font-mono); }
.result-available { background: var(--ok-bg); border-color: #b9e3cf; }
.result-available .result-icon { background: var(--ok); }
.result-available .result-icon::before { content: "✓"; font-family: var(--font-body); }
.result-unavailable, .result-invalid { background: var(--bad-bg); border-color: #f2c4c0; }
.result-unavailable .result-icon, .result-invalid .result-icon { background: var(--bad); }
.result-unavailable .result-icon::before { content: "×"; font-family: var(--font-body); font-size: 1.2rem; }
.result-invalid .result-icon::before { content: "!"; }
.result-unknown, .result-offline { background: var(--warn-bg); border-color: #f1d6a4; }
.result-unknown .result-icon, .result-offline .result-icon { background: var(--warn); }
.result-loading .result-icon { background: transparent; border: 3px solid var(--line); border-top-color: var(--blue); animation: spin .8s linear infinite; }
.result-loading .result-icon::before { content: ""; }
.chip { border: 1.5px solid var(--line); background: var(--paper); color: var(--navy); border-radius: 999px; padding: 8px 14px; min-height: 40px; font: 600 .9rem/1.2 var(--font-body); cursor: pointer; }
.chip:hover { border-color: var(--blue); color: var(--blue); }

@media (max-width: 560px) {
  .domain-field { flex-wrap: wrap; padding: 6px 6px 6px 12px; }
  .domain-prefix { display: none; }
  .domain-field input { flex-basis: 0; }
  .domain-submit { flex-basis: 100%; margin-top: 6px; }
  .result-actions { padding-left: 0; }
  .result-actions .btn { width: 100%; }
}

/* ---------- Capabilities ---------- */
.capabilities { padding-block: clamp(36px, 5vw, 56px) 0; }
.cap-label { text-align: center; font: 600 .76rem/1.4 var(--font-label); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.cap-list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.cap-list li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink-2); font-weight: 600; font-size: .95rem; box-shadow: var(--shadow-sm); }
.cap-list .i { color: var(--blue); width: 17px; height: 17px; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section-mist { background: linear-gradient(180deg, var(--mist) 0%, #fff 100%); }
.section-head { display: grid; gap: 14px; max-width: 46rem; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head .muted { font-size: var(--step-1); }
.section-head-split { max-width: none; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; gap: 24px 48px; }
.section-head-split > div { display: grid; gap: 14px; }
.section-head-center { margin-inline: auto; text-align: center; justify-items: center; }
@media (max-width: 860px) { .section-head-split { grid-template-columns: minmax(0, 1fr); } }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service {
  position: relative; display: flex; flex-direction: column; gap: 16px; padding: 30px;
  border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--paper);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.service::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(400px 160px at 0% 0%, rgba(29,79,242,.07), transparent 70%); }
.service:hover { border-color: #c3cbf0; box-shadow: var(--shadow); transform: translateY(-2px); }
.service-top { display: flex; justify-content: space-between; align-items: center; }
.service-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, var(--navy), var(--blue)); box-shadow: 0 10px 22px -12px rgba(23,7,135,.8); }
.service-icon .i { width: 26px; height: 26px; }
.service-tag { font: 600 .72rem/1.4 var(--font-label); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 4px 10px; border-radius: 999px; background: var(--mist); }
.service p { color: var(--muted); }
.service-link { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; color: var(--blue); font: 700 1rem/1.3 var(--font-body); text-align: left; cursor: pointer; position: relative; z-index: 1; }
.service-link .i { transition: transform .2s ease; }
.service-link:hover .i { transform: translateX(4px); }
.ticks { list-style: none; display: grid; gap: 9px; }
.ticks li { position: relative; padding-left: 28px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4L18 8.5' fill='none' stroke='%231d4ff2' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.service-banner {
  margin-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: clamp(22px, 3vw, 32px); border-radius: var(--radius-lg); color: #fff;
  background: radial-gradient(500px 200px at 90% 0%, rgba(79,123,255,.5), transparent 70%), linear-gradient(135deg, var(--navy), var(--navy-950));
}
.service-banner h3 { color: #fff; }
.service-banner p { color: #d3dcff; margin-top: 6px; max-width: 40rem; }
@media (max-width: 960px) { .service-grid { grid-template-columns: minmax(0, 1fr); } }

/* Tabs */
.tabs { display: grid; justify-items: center; }
.tablist { display: inline-flex; gap: 4px; padding: 5px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); margin-bottom: 28px; max-width: 100%; box-shadow: var(--shadow-sm); }
.tablist [role="tab"] { border: 0; background: transparent; color: var(--muted); cursor: pointer; font: 600 var(--step-0)/1.2 var(--font-body); padding: 12px 22px; border-radius: 10px; min-height: 44px; }
.tablist [role="tab"]:hover { color: var(--navy); }
.tablist [role="tab"][aria-selected="true"] { background: var(--navy); color: #fff; box-shadow: 0 8px 18px -10px rgba(23,7,135,.8); }
.tabpanel { display: grid; gap: 24px; width: 100%; border-radius: 6px; }
.tabpanel:focus-visible { outline-offset: 8px; }
.panel-intro { color: var(--muted); font-size: var(--step-1); max-width: 44rem; text-align: center; margin-inline: auto; }
@media (max-width: 520px) { .tablist { display: flex; width: 100%; } .tablist [role="tab"] { flex: 1 1 0; padding: 12px 10px; font-size: .95rem; } }

/* Plans */
.plan-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 30px; border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.plan .btn { margin-top: auto; }
.plan-featured { border: 2px solid var(--blue); box-shadow: var(--shadow-lg); }
.plan-badge { position: absolute; top: -13px; left: 26px; padding: 4px 12px; border-radius: 999px; background: var(--blue); color: #fff; font: 600 .72rem/1.4 var(--font-label); letter-spacing: .06em; text-transform: uppercase; }
.plan-head { display: flex; align-items: center; gap: 12px; }
.plan-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); }
.plan-icon .i { width: 21px; height: 21px; }
.plan-fit { font-size: var(--step-1); font-weight: 500; color: var(--ink-2); }
.plan-note { color: var(--muted); }
.price { display: flex; align-items: baseline; gap: 6px; font-family: var(--font-display); color: var(--navy); }
.price-cur { font-family: var(--font-body); font-size: .9rem; font-weight: 600; color: var(--muted); }
.price-num { font-size: 2.8rem; font-weight: 700; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.price-per { font-family: var(--font-body); font-size: var(--step-0); color: var(--muted); }
.quote-tag { display: inline-flex; align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: var(--blue-soft); color: var(--navy); font: 600 .85rem/1.2 var(--font-body); }
.renewal { font-size: var(--step--1); color: var(--muted); margin-top: -8px; }
.budget { display: grid; gap: 6px; }
.budget-bar { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 8px; border: 0; border-radius: 999px; background: var(--mist-2); overflow: hidden; color: var(--blue); }
.budget-bar::-webkit-progress-bar { background: var(--mist-2); border-radius: 999px; }
.budget-bar::-webkit-progress-value { background: linear-gradient(90deg, var(--blue), var(--blue-bright)); border-radius: 999px; }
.budget-bar::-moz-progress-bar { background: linear-gradient(90deg, var(--blue), var(--blue-bright)); border-radius: 999px; }
.budget-text { font-size: var(--step--1); color: var(--muted); }
.budget-text strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.plan .ticks { padding-top: 14px; border-top: 1px solid var(--line); }
.fine-print { font-size: var(--step--1); color: var(--muted); max-width: 52rem; }
.tabpanel > .fine-print { text-align: center; margin-inline: auto; }
.fine-print.center { text-align: center; margin-inline: auto; }
.empty-public { grid-column: 1 / -1; padding: 24px; border: 1.5px dashed var(--line-strong); border-radius: 16px; color: var(--muted); background: var(--paper); }
@media (max-width: 960px) { .plan-grid { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; width: 100%; } }

/* Why Ten Tech */
.section-navy { position: relative; color: #fff; overflow: hidden; isolation: isolate;
  background: radial-gradient(700px 360px at 100% 0%, rgba(79,123,255,.32), transparent 60%), radial-gradient(500px 300px at 0% 100%, rgba(56,189,248,.12), transparent 60%), var(--navy-950); }
.why-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.why-copy { display: grid; gap: 18px; }
.why-copy p { color: #d3dcff; font-size: var(--step-1); max-width: 36em; }
.process { list-style: none; display: grid; position: relative; }
.process li { position: relative; display: flex; gap: 20px; padding-bottom: 28px; }
.process li:last-child { padding-bottom: 0; }
.process li:not(:last-child)::before { content: ""; position: absolute; left: 23px; top: 50px; bottom: 4px; width: 2px; background: linear-gradient(var(--blue-bright), rgba(79,123,255,.15)); }
.process-num { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font: 700 1.2rem/1 var(--font-display); color: var(--navy); background: #fff; }
.process li:last-child .process-num { background: var(--blue); color: #fff; }
.process h3 { color: #fff; font-size: var(--step-2); margin-bottom: 6px; padding-top: 8px; }
.process p { color: #c8d3ff; }
.benefits { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 6vw, 72px); }
.benefits li { padding: 24px; border-radius: var(--radius-lg); background: rgba(255,255,255,.05); border: 1px solid rgba(185,202,255,.18); display: grid; gap: 8px; }
.benefit-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(79,123,255,.22); color: #fff; margin-bottom: 6px; }
.benefit-icon .i { width: 22px; height: 22px; }
.benefits h3 { color: #fff; font-size: 1.15rem; }
.benefits p { color: #c8d3ff; font-size: .95rem; }
@media (max-width: 860px) { .why-grid, .benefits { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 72px); align-items: start; }
.section-head-left { margin-bottom: 0; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); transition: border-color .2s ease, box-shadow .2s ease; }
.faq-item:has([aria-expanded="true"]) { border-color: #c3cbf0; box-shadow: var(--shadow); }
.faq-q button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; text-align: left; background: none; border: 0; padding: 20px 22px; cursor: pointer; color: var(--ink); font: 700 var(--step-1)/1.35 var(--font-body); border-radius: var(--radius); }
.faq-q button:hover { color: var(--blue); }
.faq-q { font-size: inherit; letter-spacing: 0; }
.faq-icon { flex: none; position: relative; width: 30px; height: 30px; border-radius: 10px; background: var(--mist-2); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--navy); transform: translate(-50%, -50%); transition: transform .2s ease; }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
[aria-expanded="true"] .faq-icon { background: var(--navy); }
[aria-expanded="true"] .faq-icon::before, [aria-expanded="true"] .faq-icon::after { background: #fff; }
[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a { padding: 0 22px 22px; color: var(--muted); max-width: 44rem; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } }

/* CTA */
.cta { padding-block: 0 var(--section); }
.cta-card {
  position: relative; overflow: hidden; isolation: isolate; color: #fff; text-align: center;
  display: grid; justify-items: center; gap: 22px; padding: clamp(40px, 7vw, 80px) clamp(22px, 5vw, 64px);
  border-radius: 28px;
  background: radial-gradient(600px 280px at 50% 0%, rgba(120,150,255,.55), transparent 70%), linear-gradient(135deg, var(--blue) 0%, var(--navy) 60%, var(--navy-950) 100%);
  box-shadow: var(--shadow-lg);
}
.cta-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%); }
.cta-copy { display: grid; gap: 12px; max-width: 40rem; }
.cta h2 { color: #fff; }
.cta p { color: #e6ecff; font-size: var(--step-1); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cta-phone { font-size: var(--step-0) !important; color: #d6deff !important; }
.cta-phone a { color: #fff; font-weight: 600; }

/* Footer */
.site-footer { background: var(--navy-950); color: #c8d3ff; padding-top: clamp(56px, 8vw, 88px); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 32px 28px; }
.footer-brand { display: grid; gap: 16px; align-content: start; }
.footer-logo { justify-self: start; display: inline-flex; padding: 10px 14px; border-radius: 14px; background: #fff; }
.footer-logo img { width: 140px; height: auto; }
.footer-tagline { color: #d3dcff; max-width: 22rem; }
.footer-contact { list-style: none; display: grid; gap: 10px; }
.footer-contact li { display: flex; align-items: center; gap: 10px; color: #c8d3ff; }
.footer-contact .i { color: var(--sky); width: 18px; height: 18px; }
.footer-h { font: 600 .74rem/1.2 var(--font-label); letter-spacing: .06em; text-transform: uppercase; color: var(--sky); margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 11px; }
.site-footer a, .site-footer .link-button { color: #fff; text-decoration: none; font-size: .97rem; }
.site-footer .footer-nav a, .site-footer .footer-nav .link-button { color: #dfe5ff; }
.site-footer a:hover, .site-footer .link-button:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-base { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(185,202,255,.16); margin-top: 56px; padding-block: 24px; font-size: var(--step--1); color: #a9b7ee; }
.back-top { display: inline-flex; align-items: center; gap: 6px; color: #dfe5ff !important; }
.back-top .i { transform: rotate(-90deg); width: 15px; height: 15px; }
@media (max-width: 960px) { .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 340px) { .footer-top { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Footer offices ---------- */
.footer-offices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.office { display: grid; gap: 8px; align-content: start; padding: 20px; border-radius: 18px; background: rgba(185,202,255,.06); border: 1px solid rgba(185,202,255,.14); }
.office-country { display: flex; align-items: center; gap: 8px; font: 600 .74rem/1.2 var(--font-label); letter-spacing: .06em; text-transform: uppercase; color: var(--sky); margin: 0; }
.office-flag { font-size: 1.1rem; letter-spacing: 0; }
.office-entity { font-weight: 700; color: #fff; margin: 0; }
.office address, .office-card address { font-style: normal; line-height: 1.55; }
.office address { color: #c8d3ff; font-size: .95rem; }
.office-lines { list-style: none; display: grid; gap: 6px; margin: 4px 0 0; padding: 0; font-size: .92rem; }
.office-lines li { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.office-lines .i { width: 16px; height: 16px; flex: none; }
.office .office-lines .i { color: var(--sky); }
.office-k { color: #a9b7ee; font-size: .85rem; }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; }
.site-footer .footer-legal-links a { color: #c8d3ff; font-size: var(--step--1); }
@media (max-width: 960px) { .footer-offices { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Information pages (team, blog, contact, policies) ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding-block: clamp(48px, 7vw, 88px) clamp(40px, 6vw, 72px);
  background: radial-gradient(520px 300px at 85% 0%, rgba(79,123,255,.45), transparent 70%), linear-gradient(170deg, var(--navy) 0%, var(--navy-900) 55%, var(--navy-950) 100%); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 70% 0%, #000 25%, transparent 75%); mask-image: radial-gradient(ellipse 70% 90% at 70% 0%, #000 25%, transparent 75%); }
.page-hero .eyebrow { color: var(--sky); }
.page-hero h1 { font-size: var(--step-4); font-weight: 700; letter-spacing: -0.045em; line-height: 1.04; margin-top: 12px; max-width: 18em; }
.page-hero-post h1 { font-size: var(--step-3); }
.page-lead { margin-top: 18px; max-width: 40em; font-size: var(--step-1); color: #d6deff; }
.page-meta { margin-top: 14px; font-size: var(--step--1); color: #b9c6f5; }
.crumbs { font-size: var(--step--1); color: #b9c6f5; margin: 0 0 10px; }
.crumbs a { color: #fff; }
.page-body { padding-block: clamp(40px, 6vw, 80px); background: var(--paper); }
.narrow { max-width: 780px; }
.section-h { font-size: var(--step-2); margin: 48px 0 20px; }
.section-h:first-child { margin-top: 0; }

.doc-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; align-items: start; }
.doc-aside { position: sticky; top: 96px; display: grid; gap: 24px; }
.doc-toc { padding: 18px; border-radius: 16px; background: var(--mist); border: 1px solid var(--line); }
.doc-toc-h { font: 600 .72rem/1.2 var(--font-label); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.doc-toc ol, .doc-toc ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: .92rem; }
.doc-toc a { color: var(--ink-2); text-decoration: none; }
.doc-toc a:hover { color: var(--blue); text-decoration: underline; }
@media (max-width: 900px) { .doc-grid { grid-template-columns: minmax(0, 1fr); } .doc-aside { position: static; } .doc-aside nav:last-child { display: none; } }

.prose { max-width: 46rem; color: var(--ink-2); font-size: 1.04rem; line-height: 1.75; overflow-wrap: anywhere; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: var(--step-2); color: var(--ink); margin-top: 2em; scroll-margin-top: 96px; }
.prose h3 { font-size: 1.15rem; color: var(--ink); margin-top: 1.5em; scroll-margin-top: 96px; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: .45em; }
.prose strong { color: var(--ink); }
.prose a { color: var(--blue); }
.post-lead { font-size: var(--step-1); color: var(--ink); line-height: 1.6; margin: 0 0 28px; padding-left: 16px; border-left: 3px solid var(--blue); }

.page-cta { background: var(--mist); border-top: 1px solid var(--line); padding-block: 40px; }
.page-cta-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.page-cta h2 { font-size: var(--step-2); }
.page-cta p { margin: 6px 0 0; color: var(--muted); }
.page-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.office-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 18px; }
.office-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(180deg, #fff, var(--mist)); }
.office-card .office-country { color: var(--blue); }
.office-card h2, .office-card h3 { font-size: 1.2rem; color: var(--navy); }
.office-card address { color: var(--ink-2); }
.office-card .office-lines .i { color: var(--blue); }
.office-card .office-k { color: var(--muted); }
.office-card .office-lines a { color: var(--ink); font-weight: 600; }
.office-card .btn { margin-top: auto; }
.contact-more { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 32px; padding: 28px; border-radius: 20px; background: var(--navy); color: #fff; }
.contact-more h2 { font-size: var(--step-2); }
.contact-more p { margin: 6px 0 0; color: #d6deff; }
.contact-more .btn-secondary { background: #fff; }

.dept-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.dept-card { padding: 22px; border-radius: 18px; border: 1px solid var(--line); background: #fff; display: grid; gap: 10px; align-content: start; }
.dept-card h3 { font-size: 1.1rem; }
.dept-card p { margin: 0; color: var(--muted); }
.dept-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); }
.dept-icon .i { width: 22px; height: 22px; }
.team-head { text-align: center; max-width: 40rem; margin: 48px auto 28px; display: grid; gap: 8px; justify-items: center; }
.team-head h2 { font-size: var(--step-2); margin: 0; }
.team-head p:last-child { margin: 0; color: var(--muted); }
.team-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; align-items: stretch; max-width: 1180px; margin-inline: auto; }
.team-grid > .team-card { flex: 0 1 252px; min-width: 0; }
.team-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; border: 1px solid var(--line); background: #fff; box-shadow: 0 1px 2px rgba(23,7,135,.04); transition: box-shadow .2s, transform .2s; }
.team-card:hover { box-shadow: 0 22px 44px -28px rgba(23,7,135,.45); transform: translateY(-3px); }
.team-photo { position: relative; aspect-ratio: 1 / 1; background: linear-gradient(135deg, var(--blue-soft), var(--mist)); overflow: hidden; }
.team-initials { position: absolute; inset: 0; display: grid; place-items: center; font: 700 clamp(2.2rem, 6vw, 3rem)/1 var(--font-display); color: var(--blue); letter-spacing: .02em; }
.team-photo-none { background: linear-gradient(135deg, var(--blue), var(--navy)); }
.team-photo-none .team-initials { color: #fff; }
.team-photo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.team-info { display: flex; flex-direction: column; flex: 1; gap: 4px; padding: 18px 20px 20px; }
.team-info > :nth-last-child(2) { margin-bottom: 14px; }
.team-card h3 { font-size: 1.12rem; margin: 0; }
.team-role { margin: 0; color: var(--blue); font-weight: 600; font-size: .95rem; }
.team-bio { margin: 8px 0 0; font-size: .93rem; color: var(--ink-2); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.team-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: .88rem; }
.team-office { color: var(--muted); }
.team-link { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--blue); }
.team-link .i { width: 14px; height: 14px; }
@media (max-width: 600px) {
  .team-grid { gap: 12px; }
  .team-grid > .team-card { flex: 0 1 calc(50% - 6px); }
  .team-card { border-radius: 16px; }
  .team-info { padding: 12px 12px 14px; gap: 2px; }
  .team-info > :nth-last-child(2) { margin-bottom: 10px; }
  .team-card h3 { font-size: .98rem; }
  .team-role { font-size: .82rem; line-height: 1.35; }
  .team-bio { font-size: .82rem; -webkit-line-clamp: 3; margin-top: 6px; }
  .team-meta { flex-wrap: wrap; gap: 4px 8px; padding-top: 10px; font-size: .8rem; }
}

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.post-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 20px; border: 1px solid var(--line); background: #fff; transition: box-shadow .15s, transform .15s; }
.post-card:hover { box-shadow: 0 18px 40px -26px rgba(23,7,135,.45); transform: translateY(-2px); }
.post-card-lead { grid-column: 1 / -1; background: linear-gradient(135deg, var(--blue-soft), #fff 60%); }
.post-card-lead h2 { font-size: var(--step-3); }
.post-card h2 { font-size: var(--step-2); line-height: 1.2; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.post-card h2 a:focus-visible { outline: none; }
.post-card:focus-within { outline: 3px solid var(--blue); outline-offset: 2px; }
.post-meta { display: flex; align-items: center; gap: 10px; margin: 0; font-size: .85rem; color: var(--muted); }
.post-cat { padding: 2px 10px; border-radius: 999px; background: var(--blue-soft); color: var(--navy); font: 600 .7rem/1.6 var(--font-label); letter-spacing: .06em; text-transform: uppercase; }
.post-excerpt { margin: 0; color: var(--ink-2); }
.post-more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 600; text-decoration: none; }
.post-more .i { width: 16px; height: 16px; }
.more-posts { margin-top: 48px; padding: 24px; border-radius: 18px; background: var(--mist); border: 1px solid var(--line); }
.more-posts h2 { font-size: 1.15rem; margin-bottom: 10px; }
.more-posts ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }

/* ---------- Modals ---------- */
.modal { width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 22px; color: var(--ink); background: var(--paper); box-shadow: 0 40px 80px -30px rgba(7,4,52,.6); }
.modal-sm { width: min(460px, calc(100vw - 24px)); }
.modal::backdrop { background: rgba(7,4,52,.62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal[open] { animation: pop .22s ease-out; }
@keyframes pop { from { transform: translateY(10px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-inner { position: relative; display: grid; gap: 16px; padding: clamp(22px, 5vw, 36px); }
.modal h2 { font-size: var(--step-2); padding-right: 40px; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; border: 0; background: var(--mist-2); color: var(--navy); cursor: pointer; }
.modal-close:hover { background: #e3e8fb; }
.enquiry-step { display: grid; gap: 14px; }
#enquiry-form { display: grid; gap: 16px; margin-top: 4px; }

/* ---------- Form fields (shared) ---------- */
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea, .control {
  width: 100%; font: 400 var(--step-0)/1.4 var(--font-body); color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line-strong); border-radius: 12px; background: var(--paper);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:hover, .field select:hover, .field textarea:hover, .control:hover { border-color: #aeb6de; }
.field input:focus, .field select:focus, .field textarea:focus, .control:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(29,79,242,.14); }
.field [aria-invalid="true"] { border-color: var(--bad); }
.field-error { color: var(--bad); font-size: var(--step--1); font-weight: 600; }
.field-help { color: var(--muted); font-size: var(--step--1); }
.domain-chip { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px 14px; border-radius: 12px; background: var(--mist); font-weight: 600; }
.handoff-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { padding: 12px 14px; border-radius: 12px; background: var(--bad-bg); color: var(--bad); font-weight: 600; border: 1px solid #f2c4c0; }
.ref-box { padding: 14px 16px; border-radius: 12px; background: var(--mist); font-weight: 600; display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; }
.ref-box .mono { font-size: 1.1rem; color: var(--navy); }
.btn .spinner { border-color: rgba(255,255,255,.4); border-top-color: #fff; }
body.modal-open { overflow: hidden; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .tld-cycle::after { content: ".com"; }
}

/* Online store teaser in the hosting section */
.store-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin: 0 auto 28px; max-width: 980px; padding: 16px 20px; border-radius: 18px; background: var(--paper); border: 1px solid var(--blue); box-shadow: 0 14px 30px -20px rgba(29,79,242,.6); }
.store-cta[hidden] { display: none; }
.store-cta p { flex: 1 1 280px; margin: 0; color: var(--ink-2); }
.store-cta-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); flex: none; }
.store-cta .btn { gap: 8px; }
.nav-buy { color: var(--blue); }
.nav-buy .i { width: 17px; height: 17px; }
#panel-hosting .center { text-align: center; margin-top: 18px; }
.nav-link { white-space: nowrap; }
@media (min-width: 1061px) and (max-width: 1320px) { .nav-link { padding: 9px 8px; font-size: .92rem; } .nav-actions .btn { padding-inline: 14px; } }

/* Plans popup */
.modal-wide { width: min(1100px, calc(100vw - 24px)); }
.pm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; align-items: stretch; }
/* the popup sizes itself to the number of plans: 1 → narrow, 2 → medium, 3+ → wide */
#plans-modal[data-count="1"] { width: min(460px, calc(100vw - 24px)); }
#plans-modal[data-count="2"] { width: min(780px, calc(100vw - 24px)); }
#plans-modal[data-count="3"] { width: min(1060px, calc(100vw - 24px)); }
#plans-modal[data-count="4"] { width: min(1240px, calc(100vw - 24px)); }
#plans-modal[data-count="1"] .pm-grid { grid-template-columns: 1fr; }
@media (min-width: 720px) {
  #plans-modal[data-count="2"] .pm-grid { grid-template-columns: repeat(2, 1fr); }
  #plans-modal[data-count="3"] .pm-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
#plans-modal[data-count="1"] .modal-inner > div:first-of-type, #plans-modal[data-count="1"] .modal-inner > .small-print { text-align: left; }
.pm-card { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 20px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, #fff, var(--mist)); }
.pm-featured { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29,79,242,.14); }
.pm-tags { display: flex; flex-wrap: wrap; gap: 6px; min-height: 24px; }
.pm-region, .pm-best { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font: 600 .72rem/1.4 var(--font-label); letter-spacing: .04em; text-transform: uppercase; }
.pm-region { background: var(--blue-soft); color: var(--navy); }
.pm-best { background: #e3f8ec; color: #0b6b3a; }
.pm-name { font-size: 1.2rem; line-height: 1.25; color: var(--navy); margin: 0; }
.pm-card .price { margin: 0; }
.pm-form { display: grid; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.pm-field { display: grid; gap: 4px; font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.pm-field select, .pm-field input { width: 100%; min-width: 0; box-sizing: border-box; }
.pm-card .btn-block { width: 100%; white-space: normal; }
/* spec rows: label left, value right — used in the popup and the overview cards */
.spec-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; font-size: .92rem; }
.spec-rows li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.spec-rows li:last-child { border-bottom: 0; }
.spec-k { color: var(--muted); }
.spec-v { color: var(--ink); font-weight: 700; text-align: right; }
.plan .spec-rows { padding-top: 6px; border-top: 1px solid var(--line); }
.plan-meta { display: grid; gap: 4px; font-size: .88rem; color: var(--ink-2); }
.plan-meta-k { font: 600 .7rem/1.4 var(--font-label); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.control { width: 100%; font: 400 .95rem/1.4 var(--font-body); color: var(--ink); padding: 10px 12px; border: 1.5px solid var(--line-strong); border-radius: 12px; background: var(--paper); }
.control:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(29,79,242,.14); }

/* =========================================================
   Mobile hardening (phones and small tablets)
   ========================================================= */
.price { flex-wrap: wrap; row-gap: 0; }
.tablist { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.tablist::-webkit-scrollbar { display: none; }
.tablist > * { flex: none; white-space: nowrap; }
input[type="checkbox"], input[type="radio"] { width: 20px; height: 20px; accent-color: var(--blue); flex: none; }
/* 16px stops iOS Safari (phones and iPads) from zooming into a field when it is tapped */
input:not([type="checkbox"]):not([type="radio"]), select, textarea, .control { font-size: max(16px, 1em) !important; }
@media (max-width: 760px) {
  /* Comfortable tap targets (at least ~40px tall) for small links */
  .site-footer ul { gap: 2px; }
  .site-footer ul a, .site-footer ul .link-button, .footer-legal-links a, .back-top,
  .footer-contact a, .office-lines a { display: inline-flex; align-items: center; min-height: 40px; }
  .footer-legal-links { gap: 0 18px; }
  .post-more, .muted-link, .service-link, .link-button, .team-link { min-height: 40px; display: inline-flex; align-items: center; }
  .post-card { padding: 20px; }
  .post-card-lead h2 { font-size: var(--step-2); }
  .page-hero h1 { font-size: clamp(2rem, 1.2rem + 5vw, 2.6rem); }
  .page-cta-actions, .page-cta-actions .btn { width: 100%; }
  .page-cta-actions .btn { justify-content: center; }
  .contact-more { padding: 22px; }
  .prose { font-size: 1rem; }
  /* small uppercase labels: keep them readable */
  .footer-h, .office-country, .doc-toc-h, .service-tag, .announce-tag, .post-cat, .plan-meta-k, .pm-region, .pm-best, .eyebrow { font-size: .75rem; }
  .modal-inner { padding: 22px 18px; }
}
@media (max-width: 360px) {
  .price-num { font-size: 2.3rem; }
  .wrap { padding-inline: 14px; }
}
@media (max-width: 1060px) {
  .nav-link.nav-buy { justify-content: flex-start; gap: 10px; }
}

/* ---------- Business Email & Google Workspace page ---------- */
.em-hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding-block: clamp(48px, 7vw, 96px);
  background: radial-gradient(560px 360px at 85% 10%, rgba(79,123,255,.5), transparent 70%), radial-gradient(420px 300px at 0% 100%, rgba(56,189,248,.18), transparent 70%), linear-gradient(170deg, var(--navy) 0%, var(--navy-900) 55%, var(--navy-950) 100%); }
.em-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 70% 0%, #000 25%, transparent 75%); mask-image: radial-gradient(ellipse 70% 90% at 70% 0%, #000 25%, transparent 75%); }
.em-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; }
.em-hero .eyebrow { color: var(--sky); }
.em-hero h1 { font-size: var(--step-4); font-weight: 700; letter-spacing: -0.045em; line-height: 1.04; margin: 12px 0 0; }
.em-hero .page-cta-actions { margin-top: 28px; }
.em-hero-points { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: #d6deff; font-size: .95rem; }
.em-hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.em-hero-points .i { width: 18px; height: 18px; color: #6ee7b7; }
.em-mock { background: #fff; color: var(--ink); border-radius: 22px; padding: 20px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.55); transform: rotate(1.5deg); display: grid; gap: 12px; }
.em-mock-bar { display: flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--muted); }
.em-mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.em-mock-bar span:nth-child(2) { background: #febc2e; } .em-mock-bar span:nth-child(3) { background: #28c840; }
.em-mock-bar strong { margin-left: 8px; color: var(--ink); }
.em-mock-from { display: flex; align-items: center; gap: 12px; padding-top: 6px; }
.em-mock-from small, .em-mock-list small { display: block; color: var(--muted); font-size: .8rem; }
.em-avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; font-weight: 700; background: linear-gradient(135deg, var(--blue), var(--navy)); }
.em-mock-line { height: 9px; border-radius: 6px; background: var(--mist-2); }
.em-mock-line.w80 { width: 80%; } .em-mock-line.w95 { width: 95%; } .em-mock-line.w60 { width: 60%; }
.em-mock-list { display: grid; gap: 8px; margin-top: 6px; }
.em-mock-list > div { position: relative; padding: 10px 12px 10px 30px; border-radius: 12px; background: var(--mist); font-size: .9rem; }
.em-dot { position: absolute; left: 12px; top: 16px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.em-dot-2 { background: #10b981; } .em-dot-3 { background: #f59e0b; }

.em-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.em-choice { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(180deg, #fff, var(--mist)); }
.em-choice-gworkspace { border-color: rgba(29,79,242,.35); box-shadow: 0 0 0 4px rgba(29,79,242,.08); }
.em-choice-top { display: flex; justify-content: space-between; align-items: center; }
.em-tag { padding: 4px 12px; border-radius: 999px; background: var(--blue-soft); color: var(--navy); font-size: .78rem; font-weight: 600; }
.em-choice h3 { font-size: var(--step-2); }
.em-choice .ticks { margin: 4px 0 0; padding: 0; }
.em-from { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); }
.em-from strong { color: var(--navy); font-size: 1.3rem; }

.em-plans-section { background: var(--mist); border-block: 1px solid var(--line); }
.em-group + .em-group { margin-top: 40px; }
.em-group-h { display: flex; align-items: center; gap: 10px; font-size: var(--step-2); margin-bottom: 16px; }
.em-group-h .i { width: 24px; height: 24px; color: var(--blue); }
.em-plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.em-plan { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.em-plan .price { margin: 0; }
.em-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.em-stepper { display: grid; grid-template-columns: 40px minmax(0, 1fr) 40px; border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden; background: #fff; }
.em-stepper button { border: 0; background: var(--mist); color: var(--navy); font-size: 1.2rem; font-weight: 700; cursor: pointer; min-height: 44px; }
.em-stepper button:hover { background: var(--blue-soft); }
.em-stepper .control { border: 0; border-radius: 0; text-align: center; padding-inline: 4px; -moz-appearance: textfield; appearance: textfield; box-shadow: none; }
.em-stepper .control::-webkit-outer-spin-button, .em-stepper .control::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.em-total { margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--blue-soft); color: var(--navy); font-weight: 600; font-size: .92rem; }

.em-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: none; }
.em-steps li { padding: 22px; border-radius: 18px; border: 1px solid var(--line); background: #fff; display: grid; gap: 8px; align-content: start; }
.em-steps h3 { font-size: 1.1rem; }
.em-steps p { margin: 0; color: var(--muted); }
.em-step-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--navy); color: #fff; font-weight: 700; }
.em-faq-section { background: var(--mist); border-top: 1px solid var(--line); }
.em-faq { display: grid; gap: 10px; }
.em-faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 0 18px; }
.em-faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; color: var(--ink); list-style-position: outside; }
.em-faq details[open] summary { color: var(--navy); }
.em-faq details p { margin: 0 0 16px; color: var(--ink-2); }
@media (max-width: 960px) {
  .em-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .em-mock { transform: none; max-width: 460px; }
  .em-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .em-choices, .em-steps { grid-template-columns: minmax(0, 1fr); }
  .em-hero h1 { font-size: clamp(2rem, 1.2rem + 5vw, 2.6rem); }
  .em-hero .page-cta-actions .btn { width: 100%; justify-content: center; }
}

/* Homepage hosting tab: link to the email page */
.email-promo { display: flex; align-items: center; gap: 16px; margin-top: 24px; padding: 18px 22px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(135deg, var(--blue-soft), #fff 70%); color: var(--ink); text-decoration: none; transition: box-shadow .15s, transform .15s; }
.email-promo:hover { box-shadow: 0 18px 40px -26px rgba(23,7,135,.45); transform: translateY(-1px); }
.email-promo-icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--navy); color: #fff; }
.email-promo-icon .i { width: 22px; height: 22px; }
.email-promo-text { flex: 1; display: grid; gap: 2px; min-width: 0; }
.email-promo-text span { color: var(--muted); font-size: .95rem; }
.email-promo-go { flex: none; display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 600; }
.email-promo-go .i { width: 16px; height: 16px; }
@media (max-width: 640px) { .email-promo { flex-wrap: wrap; } .email-promo-go { width: 100%; } }
/* one office: keep the card a readable width */
.office-grid:has(> .office-card:only-child) { grid-template-columns: minmax(0, 560px); }

/* ===== Portfolio ===== */
.pf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 26px; }
.pf-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 20px; background: #fff; overflow: hidden; transition: box-shadow .2s, transform .2s; }
.pf-card:hover { box-shadow: 0 24px 50px -30px rgba(23,7,135,.5); transform: translateY(-3px); }
.pf-media { position: relative; display: block; padding: 18px 18px 0; background: linear-gradient(160deg, #eef1ff, #f7f8fd 70%); }
.pf-frame { border-radius: 12px 12px 0 0; overflow: hidden; background: #fff; box-shadow: 0 10px 30px -18px rgba(23,7,135,.45); border: 1px solid #dfe3f5; border-bottom: 0; }
.pf-frame-big { border-radius: 14px; border-bottom: 1px solid #dfe3f5; box-shadow: 0 30px 70px -40px rgba(23,7,135,.6); }
.pf-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #f2f4fb; border-bottom: 1px solid #e3e6f3; }
.pf-bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff6b5f; } .pf-bar i:nth-child(2) { background: #ffbd2e; } .pf-bar i:nth-child(3) { background: #28c840; }
.pf-bar span { margin-left: 10px; flex: 1; min-width: 0; padding: 3px 10px; border-radius: 6px; background: #fff; font-size: .74rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-shot { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #f7f8fd; }
.pf-frame-big .pf-shot { aspect-ratio: auto; max-height: 720px; overflow-y: auto; }
.pf-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 6s ease; }
.pf-frame-big .pf-shot img { height: auto; object-fit: initial; }
.pf-card:hover .pf-shot img { transform: translateY(calc(-1 * min(40%, 160px))); }
@media (prefers-reduced-motion: reduce) { .pf-shot img { transition: none; } .pf-card:hover .pf-shot img { transform: none; } }
.pf-placeholder { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--navy)); }
.pf-placeholder span { font: 800 3rem/1 var(--font-display); color: #fff; letter-spacing: .04em; }
.pf-sale { position: absolute; top: 28px; right: 28px; padding: 6px 12px; border-radius: 999px; background: #0f7a45; color: #fff; font-size: .8rem; font-weight: 700; box-shadow: 0 6px 16px -6px rgba(0,0,0,.4); }
.pf-body { display: flex; flex-direction: column; flex: 1; gap: 6px; padding: 18px 22px 22px; }
.pf-cat { margin: 0; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.pf-body h3 { margin: 0; font-size: 1.25rem; }
.pf-body h3 a { color: inherit; text-decoration: none; } .pf-body h3 a:hover { color: var(--blue); }
.pf-sum { margin: 2px 0 0; color: var(--ink-2); font-size: .95rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pf-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; padding: 0; list-style: none; }
.pf-tags li { padding: 3px 10px; border-radius: 999px; background: var(--mist); border: 1px solid var(--line); font-size: .78rem; color: var(--ink-2); }
.pf-tags-lg li { font-size: .88rem; padding: 5px 12px; }
.pf-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 16px; }
.pf-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.pf-chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-size: .9rem; font-weight: 600; text-decoration: none; }
.pf-chip span { font-size: .75rem; color: var(--muted); }
.pf-chip:hover { border-color: var(--blue); color: var(--blue); }
.pf-chip.is-on { background: var(--navy); border-color: var(--navy); color: #fff; } .pf-chip.is-on span { color: #c9d6ff; }
.pf-more { margin-top: 30px; }
.pf-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pf-main { margin: -90px auto 36px; max-width: 1080px; position: relative; z-index: 1; }
.pf-detail { display: grid; gap: 30px; align-items: start; margin-bottom: 40px; }
@media (min-width: 960px) { .pf-detail { grid-template-columns: minmax(0, 1fr) 340px; } .pf-buy { position: sticky; top: 96px; } }
.pf-client { color: var(--ink-2); }
.pf-h { font-size: 1.15rem; margin: 26px 0 10px; }
.pf-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 14px; }
.pf-thumb { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #fff; text-decoration: none; }
.pf-thumb img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.pf-thumb span { display: block; padding: 8px 10px; font-size: .85rem; color: var(--ink-2); }
.pf-buy { display: grid; gap: 10px; padding: 24px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(180deg, #f5f7ff, #fff 140px); box-shadow: 0 20px 50px -36px rgba(23,7,135,.5); }
.pf-buy-label { margin: 0; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.pf-price { margin: 0; font: 800 2rem/1.1 var(--font-display); color: var(--navy); }
.pf-buy-text { margin: 0; color: var(--ink-2); }
.pf-includes { list-style: none; margin: 4px 0 6px; padding: 0; display: grid; gap: 8px; }
.pf-includes li { display: flex; gap: 8px; align-items: flex-start; font-size: .95rem; color: var(--ink-2); }
.pf-includes .i { flex: none; width: 18px; height: 18px; margin-top: 2px; color: #0f7a45; }
.pf-buy .small-print { margin: 4px 0 0; font-size: .82rem; color: var(--muted); }
@media (max-width: 700px) { .pf-main { margin-top: -60px; } .pf-media { padding: 12px 12px 0; } .pf-sale { top: 20px; right: 20px; } }
/* arriving from the menu at a service card: a short highlight */
.service:target { animation: service-flash 1.6s ease-out 1; }
@keyframes service-flash { 0%, 30% { box-shadow: 0 0 0 3px var(--blue), 0 24px 50px -30px rgba(23,7,135,.55); } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (prefers-reduced-motion: reduce) { .service:target { animation: none; outline: 3px solid var(--blue); outline-offset: 2px; } }
