﻿/* ==========================================================================
   KryoHost â€” Design System
   Palette: teal / black / white / light teal
   ========================================================================== */

:root {
  /* Teal ramp */
  --teal-50:  #f0fdfa;
  --teal-100: #ccfbf1;
  --teal-200: #99f6e4;
  --teal-300: #5eead4;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --teal-800: #115e59;
  --teal-900: #134e4a;
  --teal-950: #042f2e;

  /* Black / ink ramp */
  --ink-950: #04100f;
  --ink-900: #061615;
  --ink-850: #0a1f1e;
  --ink-800: #0f2928;
  --ink-700: #16403e;
  --ink-600: #35514f;
  --ink-500: #56706e;
  --ink-400: #7b918f;
  --ink-300: #a8bab8;
  --ink-200: #cddad9;
  --ink-100: #e6eeed;
  --ink-50:  #f4f8f8;

  --white: #ffffff;

  /* Semantic tokens */
  --brand:          var(--teal-600);
  --brand-strong:   var(--teal-700);
  --brand-soft:     var(--teal-100);
  --brand-softer:   var(--teal-50);
  --brand-bright:   var(--teal-400);

  --bg:             var(--white);
  --bg-alt:         var(--teal-50);
  --bg-dark:        var(--ink-950);
  --bg-dark-2:      var(--ink-900);

  --text:           var(--ink-900);
  --text-muted:     var(--ink-500);
  --text-invert:    var(--white);
  --text-invert-muted: #9fc4c0;

  --border:         #dfeae9;
  --border-strong:  #c3d6d4;
  --border-dark:    rgba(94, 234, 212, 0.16);

  --success: #16a34a;
  --warn:    #d97706;
  --danger:  #dc2626;

  /* Type â€” Inter for UI/body, Plus Jakarta Sans for display headings.
     (Roobert, used on the reference site, is a commercial Displaay face;
     Plus Jakarta Sans is the closest free geometric grotesque.) */
  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Space & shape */
  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --shell:     1240px;
  --shell-wide: 1400px;

  --shadow-sm: 0 1px 2px rgba(4, 47, 46, .05), 0 1px 2px rgba(4, 47, 46, .06);
  --shadow:    0 2px 8px rgba(4, 47, 46, .06), 0 6px 16px rgba(4, 47, 46, .05);
  --shadow-lg: 0 8px 20px rgba(4, 47, 46, .08), 0 20px 40px rgba(4, 47, 46, .08);
  --shadow-teal: 0 6px 16px rgba(13, 148, 136, .20);

  --header-h: 72px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ------------------------------- Reset ---------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
svg { display: block; flex: none; }
a { color: var(--brand-strong); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--teal-500); }
button { font: inherit; cursor: pointer; }
ul, ol { padding-left: 1.15rem; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2.5rem 0; }
:focus-visible { outline: 3px solid var(--teal-400); outline-offset: 2px; border-radius: 4px; }

/* ------------------------------- Flags ---------------------------------- */
/* Real SVGs, not emoji: Windows has no colour glyph for regional indicator
   pairs, so 🇵🇰 renders as the letters "PK" in Chrome and Edge. */
img.flag {
  display: inline-block;
  flex: none;
  width: 20px;
  height: 15px;
  border-radius: 2.5px;
  object-fit: cover;
  vertical-align: -2px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .10), 0 1px 2px rgba(0, 0, 0, .12);
  background: var(--ink-100);
}
.section-dark img.flag, .hero img.flag, .site-footer img.flag {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 1px 3px rgba(0, 0, 0, .4);
}
.flag-emoji { font-size: 1.05rem; line-height: 1; flex: none; }

/* --------------------------- Icon normalisation ------------------------- */
/* Every inline icon gets an explicit size so nothing renders at SVG default. */
.btn svg            { width: 16px; height: 16px; }
.btn-lg svg         { width: 17px; height: 17px; }
.btn-sm svg         { width: 14px; height: 14px; }
.eyebrow svg        { width: 14px; height: 14px; }
.footer-contact svg { width: 15px; height: 15px; margin-top: .28rem; }
.feat-list .tick svg{ width: 15px; height: 15px; }
.prose a svg,
p a svg, li a svg   { width: 14px; height: 14px; display: inline-block; vertical-align: -2px; }
.card p a svg       { width: 14px; height: 14px; }
.tag-icon svg       { width: 15px; height: 15px; }

h1, h2, h3, h4, h5, .brand, .price-amount .num, .stat-band .n, .trust-item .n {
  font-family: var(--font-display);
}
h1, h2, h3, h4, h5 {
  margin: 0 0 .6em;
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: -.018em;
  color: var(--ink-950);
}
h1 { font-size: clamp(2.15rem, 1.3rem + 2.9vw, 3.75rem); line-height: 1.07; letter-spacing: -.026em; font-weight: 800; }
h2 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.6rem); line-height: 1.1; letter-spacing: -.024em; font-weight: 800; }
h3 { font-size: clamp(1.24rem, 1.06rem + .7vw, 1.6rem); }
h4 { font-size: 1.11rem; font-weight: 700; }
p  { margin: 0 0 1.15rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; color: var(--ink-950); }
code {
  font-family: var(--font-mono); font-size: .88em;
  background: var(--brand-softer); color: var(--teal-800);
  padding: .16em .42em; border-radius: 6px; border: 1px solid var(--teal-100);
}

/* ------------------------------ Layout ---------------------------------- */
.shell { width: min(100% - 2.6rem, var(--shell)); margin-inline: auto; }
.shell-wide { width: min(100% - 2.6rem, var(--shell-wide)); margin-inline: auto; }
.section { padding: clamp(3.4rem, 6vw, 6rem) 0; }
.section-tight { padding: clamp(2.4rem, 4vw, 3.6rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark {
  background:
    radial-gradient(900px 460px at 12% -10%, rgba(13,148,136,.30), transparent 62%),
    radial-gradient(760px 420px at 88% 8%, rgba(45,212,191,.16), transparent 60%),
    var(--bg-dark);
  color: var(--text-invert);
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark p { color: var(--text-invert-muted); }
.section-dark a { color: var(--teal-300); }

.grid { display: grid; gap: 1.5rem; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-split { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }

.center { text-align: center; }
.measure { max-width: 62ch; }
.measure-wide { max-width: 78ch; }
.mx-auto { margin-inline: auto; }
.stack > * + * { margin-top: 1rem; }

/* ---------------------------- Section head ------------------------------ */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .755rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase;
  color: var(--brand-strong);
  background: none;
  border: none; border-left: 2px solid var(--brand);
  padding: .1rem 0 .1rem .68rem; margin-bottom: 1rem;
}
.section-dark .eyebrow {
  color: var(--teal-200); border-left-color: var(--teal-400);
}
.section-head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; }
.section-head .lede { font-size: 1.09rem; color: var(--text-muted); margin-bottom: 0; }
.section-dark .section-head .lede { color: var(--text-invert-muted); }

/* ------------------------------ Buttons --------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-weight: 700; font-size: .95rem; line-height: 1;
  padding: .92rem 1.5rem; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .16s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--brand); color: var(--white); box-shadow: var(--shadow-teal); }
.btn-primary:hover { background: var(--teal-500); color: var(--white); }
.btn-dark { background: var(--ink-950); color: var(--white); }
.btn-dark:hover { background: var(--ink-800); color: var(--white); }
.btn-ghost { background: transparent; color: var(--ink-950); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-strong); background: var(--brand-softer); }
.btn-light { background: var(--white); color: var(--ink-950); }
.btn-light:hover { background: var(--teal-50); color: var(--teal-800); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.34); }
.btn-outline-light:hover { background: rgba(255,255,255,.10); color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-sm { padding: .62rem 1.05rem; font-size: .86rem; }
.btn-lg { padding: 1.08rem 1.95rem; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.btn-row.center { justify-content: center; }

/* ------------------------------- Header --------------------------------- */
.topbar {
  background: var(--ink-950); color: var(--text-invert-muted);
  font-size: .805rem; border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 38px; }
.topbar a { color: var(--text-invert-muted); }
.topbar a:hover { color: var(--teal-300); }
.topbar-left { display: flex; align-items: center; gap: .5rem; }
.topbar-right { display: flex; align-items: center; gap: 1.35rem; }
.topbar .dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.22); flex: none; }

.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); }
.nav {
  display: flex; align-items: center; gap: 1.1rem;
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 850; font-size: 1.24rem; letter-spacing: -.03em; color: var(--ink-950); flex: none; }
.brand:hover { color: var(--ink-950); }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  background: linear-gradient(140deg, var(--teal-400), var(--teal-700));
  display: grid; place-items: center; color: var(--white); font-size: 1rem; font-weight: 900;
  box-shadow: 0 4px 12px rgba(13,148,136,.35);
}
.brand-mark svg { width: 19px; height: 19px; }
.brand em { font-style: normal; color: var(--brand); }

.nav > nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; flex: none; }
.nav-item { position: static; }
.nav-link {
  display: inline-flex; align-items: center; gap: .34rem;
  padding: .62rem .7rem; border-radius: 10px;
  font-size: .915rem; font-weight: 650; color: var(--ink-800);
  background: transparent; border: 0;
  white-space: nowrap;              /* never let "Domain & Hosting" break in two */
}
.nav-list { flex-wrap: nowrap; }
.nav-link:hover, .nav-item.open > .nav-link, .nav-link.active {
  color: var(--brand-strong); background: var(--brand-softer);
}
.nav-link .chev { width: 13px; height: 13px; transition: transform .22s var(--ease); opacity: .6; }
.nav-item.open > .nav-link .chev { transform: rotate(180deg); }
.nav-actions { display: flex; align-items: center; gap: .55rem; flex: none; }

.nav-badge {
  font-size: .6rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  background: var(--brand); color: var(--white);
  padding: .12rem .38rem; border-radius: 5px; line-height: 1.5;
}
.nav-badge.sale { background: #e11d48; }

/* ----------------------------- Mega menu -------------------------------- */
.mega {
  position: absolute; left: 50%; transform: translate(-50%, 10px);
  top: calc(100% + 1px);
  width: min(100% - 2.6rem, var(--shell));
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.7rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  z-index: 950;
}
.nav-item.open .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.mega.w-narrow  { width: min(100% - 2.6rem, 460px); }
.mega.w-medium  { width: min(100% - 2.6rem, 900px); }
.mega.w-wide    { width: min(100% - 2.6rem, var(--shell)); }
.mega.w-full    { width: min(100% - 2.6rem, var(--shell-wide)); }

.mega-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)) .95fr; gap: 1.6rem; }
.mega-grid.cols-1 { grid-template-columns: 1fr .9fr; }
.mega-grid.cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)) .9fr; }
.mega-grid.no-promo { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.mega-col-title {
  display: flex; align-items: center; gap: .5rem;
  font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-muted); margin: 0 0 .75rem; padding-bottom: .6rem;
  border-bottom: 1px solid var(--border);
}
.mega-col-icon {
  display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 999px; flex: none;
  background: var(--brand-soft); color: var(--brand-strong);
}
.mega-col-icon svg { width: 13px; height: 13px; }
.mega-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.mega-link {
  display: block; padding: .55rem .65rem; border-radius: 10px;
  transition: background .16s var(--ease), transform .16s var(--ease);
}
.mega-link.has-icon { display: flex; align-items: flex-start; gap: .6rem; }
.mega-link .mega-body { min-width: 0; }
.mega-ico {
  flex: none; width: 30px; height: 30px; border-radius: 9px;
  display: grid; place-items: center; margin-top: 1px;
  background: var(--brand-soft); color: var(--brand-strong);
  transition: background .18s var(--ease), color .18s var(--ease);
}
.mega-ico svg { width: 15px; height: 15px; }
.mega-link:hover .mega-ico { background: var(--brand); color: var(--white); }
.mega-link:hover { background: var(--brand-softer); transform: translateX(3px); }
.mega-link .t { display: flex; align-items: center; gap: .45rem; font-weight: 680; font-size: .935rem; color: var(--ink-950); }
.mega-link .d { display: block; font-size: .8rem; color: var(--text-muted); line-height: 1.5; margin-top: .1rem; }
.mega-link:hover .t { color: var(--brand-strong); }
.mega-link .pill {
  font-size: .58rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
  background: var(--brand-soft); color: var(--teal-800); padding: .1rem .34rem; border-radius: 5px;
}

.mega-promo {
  background: linear-gradient(155deg, var(--ink-950), var(--teal-900));
  color: var(--white); border-radius: var(--radius); padding: 1.35rem;
  display: flex; flex-direction: column; justify-content: space-between; gap: .9rem;
}
.mega-promo h4 { color: var(--white); font-size: 1.05rem; margin-bottom: .35rem; }
.mega-promo p { color: rgba(204,251,241,.85); font-size: .855rem; line-height: 1.6; margin: 0; }
.mega-promo .stat { font-size: .74rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-300); }

/* Region tab panel */
.mega-regions { display: grid; grid-template-columns: 218px minmax(0,1fr); gap: 1.5rem; }
.region-tabs { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; border-right: 1px solid var(--border); padding-right: 1rem; }
.region-tab {
  width: 100%; text-align: left; background: transparent; border: 0;
  padding: .62rem .75rem; border-radius: 10px;
  font-size: .92rem; font-weight: 650; color: var(--ink-800);
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
}
.region-tab:hover { background: var(--brand-softer); color: var(--brand-strong); }
.region-tab[aria-selected="true"] { background: var(--brand); color: var(--white); }
.region-tab .count { font-size: .72rem; opacity: .65; font-variant-numeric: tabular-nums; }
.region-panel { display: none; }
.region-panel.active { display: block; animation: fadeUp .22s var(--ease); }
.region-blurb { font-size: .855rem; color: var(--text-muted); margin: 0 0 .9rem; }
/* Fixed column count (rather than auto-fill) so the divider lines below line
   up predictably — auto-fill's column count depends on available width, which
   would put a divider in a different place on every viewport. */
.region-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; max-height: 340px; overflow-y: auto; padding-right: .4rem; }
.region-grid::-webkit-scrollbar { width: 8px; }
.region-grid::-webkit-scrollbar-thumb { background: var(--teal-200); border-radius: 8px; }
.loc-link {
  display: flex; align-items: center; gap: .55rem; padding: .6rem .75rem; border-radius: 0;
  font-size: .89rem; font-weight: 620; color: var(--ink-800);
}
.loc-link:hover { background: var(--brand-softer); color: var(--brand-strong); }

/* Divider lines between cells only — never around the outer edge, so a region
   with a single entry (Oceania) draws zero lines instead of an unclosed box. */
.loc-link:nth-child(4n+2), .loc-link:nth-child(4n+3), .loc-link:nth-child(4n) { border-left: 1px solid var(--border); }
.loc-link:nth-child(n+5) { border-top: 1px solid var(--border); }

@media (max-width: 1300px) {
  .region-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .loc-link:nth-child(4n+2), .loc-link:nth-child(4n+3), .loc-link:nth-child(4n) { border-left: 0; }
  .loc-link:nth-child(n+5) { border-top: 0; }
  .loc-link:nth-child(3n+2), .loc-link:nth-child(3n) { border-left: 1px solid var(--border); }
  .loc-link:nth-child(n+4) { border-top: 1px solid var(--border); }
}
.loc-link img.flag { width: 18px; height: 13.5px; }
.loc-link .city { font-size: .74rem; color: var(--text-muted); font-weight: 500; margin-left: auto; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* --------------------------- Mobile nav --------------------------------- */
.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 11px;
  border: 1px solid var(--border-strong); background: var(--white);
  align-items: center; justify-content: center; flex: none;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink-950); border-radius: 2px; position: relative; transition: .22s var(--ease); }
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink-950); border-radius: 2px; transition: .22s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

.mobile-nav {
  display: none; position: fixed; inset: 0; top: 0; z-index: 999;
  background: var(--white); overflow-y: auto; padding: 1rem 1.3rem 4rem;
}
.mobile-nav.open { display: block; }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; padding: .5rem 0 1rem; border-bottom: 1px solid var(--border); margin-bottom: .8rem; }
.m-acc { border-bottom: 1px solid var(--border); }
.m-acc-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: .95rem .2rem; background: transparent; border: 0;
  font-size: 1rem; font-weight: 700; color: var(--ink-950); text-align: left;
}
.m-acc-btn svg { width: 15px; height: 15px; transition: transform .22s var(--ease); color: var(--brand); }
.m-acc.open .m-acc-btn svg { transform: rotate(180deg); }
.m-acc-body { display: none; padding: 0 0 .9rem .2rem; }
.m-acc.open .m-acc-body { display: block; }
.m-group-title { font-size: .7rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; color: var(--text-muted); margin: .8rem 0 .35rem; }
.m-link { display: block; padding: .5rem .55rem; border-radius: 9px; font-size: .93rem; font-weight: 600; color: var(--ink-800); }
.m-link:hover { background: var(--brand-softer); color: var(--brand-strong); }

/* ------------------------------- Hero ----------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 620px at 50% -22%, rgba(13,148,136,.20), transparent 68%),
    linear-gradient(180deg, #04100f 0%, #061918 48%, #041110 100%);
  color: var(--white);
  padding: clamp(3.4rem, 7vw, 6.4rem) 0 clamp(3.4rem, 7vw, 5.6rem);
}
.hero > .shell { position: relative; z-index: 1; }
.hero h1 { color: var(--white); }
.hero h1 .hl {
  color: var(--teal-300);
  text-decoration: underline; text-decoration-color: rgba(94,234,212,.4);
  text-decoration-thickness: .06em; text-underline-offset: .1em;
}
.hero-lede { font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem); color: #b9d9d6; max-width: 60ch; margin-bottom: 1.8rem; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(2rem, 5vw, 3.6rem); align-items: center; }
.hero-slim { padding: clamp(2.8rem, 5vw, 4.4rem) 0; }
.hero-slim .hero-grid { grid-template-columns: minmax(0, 1fr); }

.hero-points { list-style: none; padding: 0; margin: 0 0 1.9rem; display: grid; gap: .55rem; }
.hero-points li { display: flex; align-items: flex-start; gap: .6rem; font-size: .955rem; color: #cdeae7; }
.hero-points .tick { flex: none; width: 19px; height: 19px; border-radius: 50%; background: rgba(45,212,191,.16); color: var(--teal-300); display: grid; place-items: center; margin-top: .28rem; }
.hero-points .tick svg { width: 11px; height: 11px; }

.trust-strip { display: flex; flex-wrap: wrap; gap: 1.6rem 2.4rem; padding-top: 1.9rem; margin-top: 1.9rem; border-top: 1px solid rgba(255,255,255,.10); }
.trust-item .n { font-size: 1.5rem; font-weight: 800; color: var(--white); letter-spacing: -.03em; line-height: 1.1; }
.trust-item .l { font-size: .78rem; color: #8fb6b3; text-transform: uppercase; letter-spacing: .08em; font-weight: 650; }

/* Terminal / console card in hero */
.console {
  background: rgba(4,16,15,.72); border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  backdrop-filter: blur(6px);
}
.console-bar { display: flex; align-items: center; gap: .45rem; padding: .7rem .95rem; border-bottom: 1px solid var(--border-dark); background: rgba(255,255,255,.03); }
.console-bar i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.console-bar i:nth-child(1) { background: #ff5f57; }
.console-bar i:nth-child(2) { background: #febc2e; }
.console-bar i:nth-child(3) { background: #28c840; }
.console-bar .t { margin-left: .6rem; font-size: .74rem; color: #7fa5a2; font-family: var(--font-mono); }
.console-body { padding: 1.1rem 1.2rem; font-family: var(--font-mono); font-size: .82rem; line-height: 1.95; color: #b6d8d5; }
.console-body .p { color: var(--teal-400); }
.console-body .ok { color: #4ade80; }
.console-body .dim { color: #5c7d7a; }
.console-body .val { color: #fbbf24; }

/* ------------------------------- Cards ---------------------------------- */
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.6rem;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--teal-200); }
.card h3 { font-size: 1.16rem; margin-bottom: .5rem; }
.card p { color: var(--text-muted); font-size: .93rem; margin-bottom: 0; }
.card-soft { background: var(--brand-softer); border-color: var(--teal-100); }
.card-dark { background: var(--ink-900); border-color: var(--border-dark); color: var(--text-invert-muted); }
.card-dark h3 { color: var(--white); }
.card-flat:hover { transform: none; box-shadow: none; }

.icon-badge {
  width: 40px; height: 40px; display: grid; place-items: center;
  background: none; color: var(--brand-strong); margin-bottom: 1rem; flex: none;
  border-bottom: 2px solid var(--brand-soft);
}
.icon-badge svg { width: 22px; height: 22px; }
.icon-badge.solid { background: var(--brand); color: var(--white); border-radius: 10px; border-bottom: none; }
.section-dark .icon-badge { color: var(--teal-300); border-bottom-color: rgba(45,212,191,.22); }

/* ------------------------------ Pricing --------------------------------- */
/* padding-top leaves room for the "Most popular" badge that overhangs the card. */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: 1.35rem; align-items: stretch; padding-top: 14px; }
.price-grid-3col { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .price-grid-3col { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .price-grid-3col { grid-template-columns: 1fr; } }
.price-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.7rem 1.5rem;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--teal-300); }
.price-card.popular { border-color: var(--brand); box-shadow: var(--shadow-teal); }
.price-card.popular::before {
  content: 'Most popular'; position: absolute; z-index: 2;
  top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: var(--white); font-size: .68rem; font-weight: 800;
  letter-spacing: .09em; text-transform: uppercase; padding: .34rem .85rem;
  border-radius: 999px; white-space: nowrap; line-height: 1.35;
  box-shadow: 0 4px 14px rgba(13,148,136,.4);
}
.price-name { font-size: 1.14rem; font-weight: 800; margin-bottom: .2rem; color: var(--ink-950); }
.price-tag { font-size: .855rem; color: var(--text-muted); margin-bottom: 1.1rem; min-height: 2.6em; }
.price-amount { display: flex; align-items: baseline; gap: .18rem; margin-bottom: .3rem; }
.price-amount .cur { font-size: 1.1rem; font-weight: 750; color: var(--brand-strong); }
.price-amount .num { font-size: 2.65rem; font-weight: 850; letter-spacing: -.045em; color: var(--ink-950); line-height: 1; }
.price-amount .per { font-size: .92rem; color: var(--text-muted); font-weight: 600; }
.price-renew { font-size: .77rem; color: var(--text-muted); margin-bottom: 1.2rem; }
.spec-list { list-style: none; margin: 0 0 1.2rem; padding: 0; border-top: 1px solid var(--border); }
.spec-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--border); font-size: .87rem; }
.spec-list li > span:first-child { color: var(--text-muted); }
.spec-list li > span:last-child { font-weight: 700; color: var(--ink-950); text-align: right; }
.spec-list li { position: relative; }
.spec-note {
  position: relative;
  display: inline-grid; place-items: center; width: 16px; height: 16px; margin-left: .35rem;
  border-radius: 50%; border: 1.5px solid var(--brand); font-size: .68rem; font-weight: 800;
  color: var(--brand-strong); background: var(--brand-softer); cursor: help; vertical-align: middle;
}
.spec-note:hover, .spec-note:focus-visible { background: var(--brand); color: var(--white); outline: none; }
.spec-tooltip {
  position: absolute; left: 50%; bottom: calc(100% + 9px); transform: translateX(-50%) translateY(4px);
  width: 220px; max-width: 60vw; padding: .6rem .75rem; border-radius: 10px;
  background: var(--ink-950); color: #fff; font-size: .76rem; font-weight: 500; line-height: 1.45;
  text-align: left; white-space: normal; z-index: 30;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .15s var(--ease), transform .15s var(--ease);
  box-shadow: 0 8px 20px rgba(0,0,0,.22);
}
.spec-tooltip::after {
  content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  border: 6px solid transparent; border-top-color: var(--ink-950);
}
.spec-note:hover .spec-tooltip, .spec-note:focus-visible .spec-tooltip {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.feat-list { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: .45rem; }
.feat-list li { display: flex; gap: .55rem; font-size: .875rem; color: var(--ink-700); line-height: 1.55; }
.feat-list .tick { flex: none; width: 16px; height: 16px; color: var(--brand); margin-top: .24rem; }
.price-card .btn { margin-top: auto; }

/* ------------------------------- Tables --------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); }
table.data { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 640px; }
table.data th, table.data td { padding: .82rem 1rem; text-align: left; border-bottom: 1px solid var(--border); }
table.data thead th { background: var(--brand-softer); font-size: .74rem; letter-spacing: .09em; text-transform: uppercase; color: var(--teal-800); font-weight: 800; white-space: nowrap; }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: var(--teal-50); }
table.data td strong { color: var(--ink-950); }
.tick-y { color: var(--brand); font-weight: 800; }
.tick-n { color: var(--ink-300); }

/* ------------------------------ Feature rows ---------------------------- */
.feature-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.feature-row + .feature-row { margin-top: clamp(3rem, 6vw, 5rem); }
.feature-row.flip > *:first-child { order: 2; }
.check-list { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .7rem; }
.check-list li { display: flex; gap: .7rem; font-size: .95rem; line-height: 1.6; }
.check-list .tick { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-strong); display: grid; place-items: center; margin-top: .2rem; }
.check-list .tick svg { width: 11px; height: 11px; }
.section-dark .check-list .tick { background: rgba(45,212,191,.14); color: var(--teal-300); }

/* -------------------------- Long-form content --------------------------- */
.prose { max-width: 74ch; }
.prose h2 { margin-top: 2.9rem; padding-top: .3rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 2rem; }
.prose ul, .prose ol { margin: 0 0 1.25rem; padding-left: 1.3rem; }
.prose li { margin-bottom: .5rem; }
.prose li::marker { color: var(--brand); font-weight: 700; }
.prose blockquote {
  margin: 1.8rem 0; padding: 1.1rem 1.4rem;
  border-left: 4px solid var(--brand); background: var(--brand-softer);
  border-radius: 0 var(--radius) var(--radius) 0; font-size: 1.02rem; color: var(--ink-800);
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose .table-wrap { margin: 1.7rem 0; }
.callout {
  margin: 1.8rem 0; padding: 1.25rem 1.4rem; border-radius: var(--radius);
  background: var(--brand-softer); border: 1px solid var(--teal-100);
}
.callout h4 { margin: 0 0 .4rem; color: var(--teal-800); }
.callout p { font-size: .93rem; margin-bottom: 0; color: var(--ink-700); }

/* -------------------------------- Modal ---------------------------------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  background: rgba(4, 16, 15, .55); padding: 1.2rem; backdrop-filter: blur(2px);
}
.modal-box {
  position: relative; width: min(420px, 100%); background: var(--white);
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  padding: 2rem 1.8rem 1.8rem; box-shadow: var(--shadow-lg); text-align: center;
}
.modal-close {
  position: absolute; top: .8rem; right: .8rem; width: 30px; height: 30px; border-radius: 8px;
  border: 1px solid var(--border); background: var(--white); color: var(--text-muted);
  display: grid; place-items: center; cursor: pointer; transition: background .15s var(--ease), color .15s var(--ease);
}
.modal-close:hover { background: var(--bg-alt); color: var(--text); }
.modal-close svg { width: 16px; height: 16px; }
.modal-icon {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 1rem;
}
.modal-icon svg { width: 24px; height: 24px; }
.modal-icon.ok { background: #dcfce7; color: var(--success); }
.modal-icon.err { background: #fee2e2; color: var(--danger); }
.modal-box h3 { margin: 0 0 .5rem; }
.modal-box p { color: var(--text-muted); font-size: .93rem; margin: 0; }
.modal-box .btn-row { justify-content: center; }

.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(2rem, 5vw, 3.6rem); align-items: start; }
.toc {
  position: sticky; top: calc(var(--header-h) + 20px);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 1.2rem 1.3rem;
  background: var(--brand-softer);
}
.toc h4 { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: .8rem; }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; display: grid; gap: .12rem; }
.toc li { counter-increment: toc; margin: 0; }
/* Scoped to list links only — an unscoped ::before was stamping the section
   number onto the call-to-action button that sits below the list. */
.toc ol a { display: block; font-size: .855rem; font-weight: 600; color: var(--ink-700); padding: .38rem .5rem; border-radius: 8px; line-height: 1.45; }
.toc ol a::before { content: counter(toc) '. '; color: var(--brand); font-weight: 800; }
.toc ol a:hover, .toc ol a.active { background: var(--white); color: var(--brand-strong); }
.toc .btn { margin-top: 1.1rem; }

/* ------------------------------- FAQ ------------------------------------ */
.faq { display: grid; gap: .7rem; max-width: 60rem; margin-inline: auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); overflow: hidden; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.faq-item.open { border-color: var(--teal-300); box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.05rem 1.3rem; background: transparent; border: 0; text-align: left;
  font-size: 1rem; font-weight: 700; color: var(--ink-950);
}
.faq-q:hover { color: var(--brand-strong); }
.faq-q .ico { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-strong); display: grid; place-items: center; transition: transform .22s var(--ease); }
.faq-q .ico svg { width: 12px; height: 12px; }
.faq-item.open .faq-q .ico { transform: rotate(180deg); background: var(--brand); color: var(--white); }
.faq-a { display: none; padding: 0 1.3rem 1.25rem; color: var(--text-muted); font-size: .945rem; line-height: 1.72; }
.faq-item.open .faq-a { display: block; }
.faq-a p:last-child { margin-bottom: 0; }

/* ------------------------------ Domain search --------------------------- */
.domain-search {
  display: flex; gap: .6rem; background: var(--white); padding: .55rem;
  border-radius: 999px; box-shadow: var(--shadow-lg); max-width: 640px;
}
.domain-search input {
  flex: 1; border: 0; background: transparent; padding: .8rem 1.1rem;
  font-size: 1rem; color: var(--ink-950); min-width: 0;
}
.domain-search input:focus { outline: none; }
.domain-search input::placeholder { color: var(--ink-400); }
.tld-strip { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.tld-chip {
  display: inline-flex; align-items: baseline; gap: .35rem;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  color: #d5efec; padding: .34rem .75rem; border-radius: 999px; font-size: .82rem; font-weight: 650;
}
.tld-chip b { color: var(--teal-300); font-weight: 800; }

/* ------------------------------ Misc bits ------------------------------- */
.logo-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.2rem 2.6rem; opacity: .78; }
.logo-strip span { font-weight: 750; font-size: 1.02rem; color: var(--ink-400); letter-spacing: -.02em; }

.stat-band { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.4rem; }
.stat-band .s { text-align: center; }
.stat-band .n { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.7rem); font-weight: 850; letter-spacing: -.04em; color: var(--brand); line-height: 1.1; }
.section-dark .stat-band .n { color: var(--teal-300); }
.stat-band .l { font-size: .84rem; color: var(--text-muted); font-weight: 620; }
.section-dark .stat-band .l { color: var(--text-invert-muted); }

.breadcrumbs { font-size: .82rem; color: var(--text-muted); padding: .9rem 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; padding: 0; }
.breadcrumbs li::after { content: '/'; margin-left: .45rem; color: var(--ink-300); }
.breadcrumbs li:last-child::after { content: ''; }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--brand-strong); }
.hero .breadcrumbs, .hero .breadcrumbs a { color: #8fb6b3; }
.hero .breadcrumbs a:hover { color: var(--teal-300); }

.cta-band {
  background: linear-gradient(135deg, var(--ink-950), var(--teal-900) 62%, var(--teal-800));
  color: var(--white); border-radius: var(--radius-xl);
  padding: clamp(2.2rem, 5vw, 3.6rem); text-align: center; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: -40% -10% auto auto; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(45,212,191,.28), transparent 65%); pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #b9d9d6; max-width: 56ch; margin-inline: auto; }

.tabs { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin-bottom: 2rem; padding: .35rem; background: var(--brand-softer); border-radius: 999px; width: fit-content; margin-inline: auto; border: 1px solid var(--teal-100); }
.tab-btn { border: 0; background: transparent; padding: .58rem 1.15rem; border-radius: 999px; font-size: .9rem; font-weight: 700; color: var(--ink-700); }
.tab-btn:hover { color: var(--brand-strong); }
.tab-btn[aria-selected="true"] { background: var(--brand); color: var(--white); box-shadow: var(--shadow-teal); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp .25s var(--ease); }

.badge-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.badge {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .78rem; font-weight: 700; padding: .32rem .72rem; border-radius: 999px;
  background: var(--brand-soft); color: var(--teal-800); border: 1px solid var(--teal-200);
}
.badge.dark { background: rgba(45,212,191,.12); color: var(--teal-300); border-color: var(--border-dark); }
.badge.green { background: #dcfce7; color: #166534; border-color: #bbf7d0; }

.loc-card { display: flex; align-items: center; gap: .85rem; padding: .95rem 1.1rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); transition: .2s var(--ease); }
.loc-card:hover { border-color: var(--teal-300); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.loc-card img.flag { width: 28px; height: 21px; border-radius: 3px; }
.loc-card .flag-emoji { font-size: 1.5rem; }
.loc-card .n { font-weight: 720; font-size: .95rem; color: var(--ink-950); }
.loc-card .c { font-size: .78rem; color: var(--text-muted); }

/* Post / blog cards */
.post-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.post-card .thumb { aspect-ratio: 16/9; background: linear-gradient(140deg, var(--teal-700), var(--ink-900)); display: grid; place-items: center; color: var(--teal-200); font-size: 2rem; }
.post-card .body { padding: 1.3rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.post-card .meta { font-size: .76rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .07em; font-weight: 700; }
.post-card h3 { font-size: 1.05rem; margin: 0; }

/* Forms */
.form-grid { display: grid; gap: 1.1rem; }
.field label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: .35rem; color: var(--ink-800); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem 1rem; font: inherit; font-size: .95rem;
  border: 1.5px solid var(--border-strong); border-radius: var(--radius-sm);
  background: var(--white); color: var(--ink-950); transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(13,148,136,.13);
}
.field textarea { min-height: 150px; resize: vertical; }
.field .hint { font-size: .78rem; color: var(--text-muted); margin-top: .3rem; }

/* Status page */
.status-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .95rem 1.15rem; border-bottom: 1px solid var(--border); }
.status-row:last-child { border-bottom: 0; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.status-dot.up { background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.16); }
.status-dot.warn { background: #f59e0b; box-shadow: 0 0 0 4px rgba(245,158,11,.16); }
.uptime-bars { display: flex; gap: 2px; }
.uptime-bars i { width: 5px; height: 22px; border-radius: 2px; background: #22c55e; display: block; }
.uptime-bars i.w { background: #f59e0b; }

/* ------------------------------- Footer --------------------------------- */
.site-footer { background: var(--ink-950); color: var(--text-invert-muted); padding-top: clamp(3rem, 6vw, 4.6rem); }
.site-footer h4 { color: var(--white); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer a { color: #a7c8c5; font-size: .895rem; }
.site-footer a:hover { color: var(--teal-300); }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(5, minmax(0,1fr)); gap: 2rem 1.6rem; padding-bottom: 2.8rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer-about p { font-size: .9rem; line-height: 1.7; margin: 1rem 0 1.2rem; max-width: 34ch; }
.footer-contact { display: grid; gap: .45rem; font-size: .875rem; }
.footer-contact a { display: flex; align-items: center; gap: .5rem; }
.footer-social { display: flex; gap: .5rem; margin-top: 1.2rem; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); color: #a7c8c5;
}
.footer-social a:hover { background: var(--brand); color: var(--white); border-color: var(--brand); }
.footer-social svg { width: 16px; height: 16px; }
.footer-pay { display: flex; flex-wrap: wrap; gap: .45rem; padding: 1.6rem 0; border-top: 1px solid rgba(255,255,255,.08); }
.footer-pay span { font-size: .72rem; font-weight: 650; padding: .3rem .6rem; border-radius: 6px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); color: #a7c8c5; }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.4rem 0; border-top: 1px solid rgba(255,255,255,.08); font-size: .83rem;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 1.2rem; }

/* ------------------------------ Utilities ------------------------------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 9999;
  background: var(--brand); color: var(--white); padding: .8rem 1.2rem; border-radius: 0 0 10px 0; font-weight: 700;
}
.skip-link:focus { left: 0; color: var(--white); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.text-muted { color: var(--text-muted); }
.nowrap { white-space: nowrap; }

/* ========================================================================
   MOTION SYSTEM
   ======================================================================== */

@keyframes kh-fade-up   { from { opacity: 0; transform: translate3d(0, 26px, 0); } to { opacity: 1; transform: none; } }
@keyframes kh-fade-in   { from { opacity: 0; } to { opacity: 1; } }
@keyframes kh-fade-left { from { opacity: 0; transform: translate3d(-28px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes kh-fade-right{ from { opacity: 0; transform: translate3d(28px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes kh-zoom      { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes kh-float     { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes kh-float-sm  { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes kh-drift     { 0% { transform: translate(0,0) scale(1); } 33% { transform: translate(40px,-30px) scale(1.08); } 66% { transform: translate(-30px,24px) scale(.95); } 100% { transform: translate(0,0) scale(1); } }
@keyframes kh-pulse     { 0% { transform: scale(.85); opacity: .85; } 70% { transform: scale(2.1); opacity: 0; } 100% { transform: scale(2.1); opacity: 0; } }
@keyframes kh-spin      { to { transform: rotate(360deg); } }
@keyframes kh-caret     { 0%, 45% { opacity: 1; } 50%, 95% { opacity: 0; } 100% { opacity: 1; } }
@keyframes kh-marquee   { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes kh-bar       { from { transform: scaleY(.15); } to { transform: scaleY(1); } }
@keyframes kh-progress  { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes kh-pop       { 0% { transform: scale(.6); opacity: 0; } 60% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
@keyframes kh-slide-cell{ from { opacity: 0; transform: translate3d(0, 14px, 0); } to { opacity: 1; transform: none; } }

/* ---- Scroll reveal (JS adds .is-in when the element enters the viewport) */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: calc(var(--d, 0) * 85ms);
  will-change: opacity, transform;
}
[data-reveal="left"]  { transform: translate3d(-30px, 0, 0); }
[data-reveal="right"] { transform: translate3d(30px, 0, 0); }
[data-reveal="zoom"]  { transform: scale(.95); }
[data-reveal="fade"]  { transform: none; }
[data-reveal].is-in   { opacity: 1; transform: none; }

/* ========================================================================
   BUTTONS — two hover systems (from the Uiverse references)
   A. .btn-primary  → corner brackets draw out into a complete frame
   B. everything else → a circle slides open across the button

   NOTE: the stray-mark artifact seen earlier was NOT this design. The TOC's
   `counter()` rule was unscoped (`.toc a::before`) and stamped its section
   number onto the sidebar CTA. That is fixed at the .toc rule; these buttons
   own their own pseudo-elements safely.
   ======================================================================== */

.btn {
  position: relative;
  isolation: isolate;
  overflow: visible;
}
.btn:hover, .btn:focus-visible { transform: none; }   /* the effect is the feedback */

/* ---- A. Frame buttons (primary CTAs) ---------------------------------- */
/* The reference masks the border with two bars painted in the page colour.
   That needs the bar to match whatever sits behind it, which breaks across our
   white, light-teal and near-black sections — so the frame is drawn from two
   corner brackets instead. Same read: corners at rest, complete frame on hover. */
.btn-primary {
  --fr: var(--teal-300);
  --fr-hover: var(--white);
  --fr-size: 18px;
  /* A visible fill so it reads as a button at rest — the frame is the hover
     event, not the only thing holding the shape together. */
  background: var(--teal-600);
  color: var(--white);
  border: 0;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(13, 148, 136, .22);
  text-transform: uppercase;
  letter-spacing: .07em;
  font-size: .8rem;
  font-weight: 800;
  padding: 0 1.75rem;
  min-height: 2.7rem;
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease);
}
.btn-primary::before,
.btn-primary::after {
  content: '';
  position: absolute;
  width: var(--fr-size);
  height: var(--fr-size);
  border: 2px solid var(--fr);
  border-radius: 6px;
  pointer-events: none;
  transition: width .34s var(--ease), height .34s var(--ease), border-color .34s var(--ease);
}
.btn-primary::before { top: 0; left: 0;     border-right: 0; border-bottom: 0; border-radius: 6px 0 0 0; }
.btn-primary::after  { bottom: 0; right: 0; border-left: 0;  border-top: 0;    border-radius: 0 0 6px 0; transition-delay: .1s; }

.btn-primary:hover::before,
.btn-primary:hover::after,
.btn-primary:focus-visible::before,
.btn-primary:focus-visible::after {
  width: 100%;
  height: 100%;
  border-color: var(--fr-hover);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background-color: var(--teal-500);
  box-shadow: 0 10px 26px rgba(13, 148, 136, .34);
}
.btn-primary:active { background-color: var(--teal-700); }

/* Brackets scale with the button so they never dominate a small one. */
.btn-primary.btn-lg { --fr-size: 22px; padding: 0 2.1rem; min-height: 3.1rem; font-size: .875rem; }
.btn-primary.btn-sm { --fr-size: 12px; padding: 0 1.15rem; min-height: 2.2rem; font-size: .7rem; letter-spacing: .06em; }

/* On light ground the fill goes near-black so white brackets stay legible. */
.section-alt .btn-primary,
.price-card .btn-primary,
.toc .btn-primary,
.section:not(.section-dark) .btn-primary {
  --fr: var(--teal-400);
  --fr-hover: var(--teal-300);
  background: var(--ink-950);
  box-shadow: 0 4px 14px rgba(4, 47, 46, .22);
}
.section-alt .btn-primary:hover,
.price-card .btn-primary:hover,
.toc .btn-primary:hover,
.section:not(.section-dark) .btn-primary:hover {
  background-color: var(--teal-700);
  box-shadow: 0 10px 26px rgba(4, 47, 46, .28);
}

/* The domain-search submit stays a solid pill — it sits inside a white field
   and a bracketed square there reads as broken. */
.domain-search .btn-primary {
  background: var(--teal-600);
  border-radius: 999px;
  padding: .78rem 1.45rem;
  min-height: 2.6rem;
  letter-spacing: .03em;
  text-transform: none;
  font-size: .9rem;
}
.domain-search .btn-primary::before,
.domain-search .btn-primary::after { display: none; }
.domain-search .btn-primary:hover { background: linear-gradient(180deg, var(--teal-400), var(--teal-500)); }

/* ---- B. Circle-expand buttons (everything else) ----------------------- */
.btn-ghost, .btn-outline-light, .btn-light, .btn-dark {
  --circle: var(--ink-950);
  --label: var(--ink-950);
  --label-hover: var(--white);
  --dot: 2.7rem;
  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M12 5l7 7-7 7'/%3E%3C/svg%3E");

  display: inline-flex;
  align-items: center;
  justify-content: center;      /* centres within the space right of the circle */
  gap: 0;
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--label);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .78rem;
  font-weight: 800;
  padding: 0 1.5rem 0 calc(var(--dot) + .8rem);
  min-height: var(--dot);
  box-shadow: none;
  transition: color .45s cubic-bezier(.65, 0, .076, 1);
}

/* The circle sits behind the label so the text survives the sweep. */
.btn-ghost::before, .btn-outline-light::before, .btn-light::before, .btn-dark::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: var(--dot);
  height: var(--dot);
  border-radius: 999px;
  background: var(--circle);
  transition: width .45s cubic-bezier(.65, 0, .076, 1), background-color .45s var(--ease);
}

/* The arrow, drawn from a data URI so no template needs an extra span. */
.btn-ghost::after, .btn-outline-light::after, .btn-light::after, .btn-dark::after {
  content: '';
  position: absolute;
  left: calc(var(--dot) / 2 - .55rem);
  top: 50%;
  width: 1.1rem;
  height: 1.1rem;
  background: var(--arrow) center / contain no-repeat;
  transform: translateY(-50%);
  transition: transform .45s cubic-bezier(.65, 0, .076, 1);
  pointer-events: none;
}

.btn-ghost:hover::before, .btn-ghost:focus-visible::before,
.btn-outline-light:hover::before, .btn-outline-light:focus-visible::before,
.btn-light:hover::before, .btn-light:focus-visible::before,
.btn-dark:hover::before, .btn-dark:focus-visible::before { width: 100%; }

.btn-ghost:hover::after, .btn-ghost:focus-visible::after,
.btn-outline-light:hover::after, .btn-outline-light:focus-visible::after,
.btn-light:hover::after, .btn-light:focus-visible::after,
.btn-dark:hover::after, .btn-dark:focus-visible::after { transform: translate(.9rem, -50%); }

.btn-ghost:hover, .btn-ghost:focus-visible,
.btn-outline-light:hover, .btn-outline-light:focus-visible,
.btn-light:hover, .btn-light:focus-visible,
.btn-dark:hover, .btn-dark:focus-visible { color: var(--label-hover); }

/* The CSS arrow replaces any inline icon on these buttons. */
.btn-ghost svg, .btn-outline-light svg, .btn-light svg, .btn-dark svg { display: none; }

/* Palette per context — the label must never inherit a dark colour on a dark band. */
.btn-outline-light { --circle: var(--teal-500); --label: var(--white); --label-hover: var(--white); }
.btn-light         { --circle: var(--teal-500); --label: var(--white); --label-hover: var(--white); }
.btn-dark          { --circle: var(--teal-600); --label: var(--ink-950); --label-hover: var(--white); }
.hero .btn-ghost, .section-dark .btn-ghost, .cta-band .btn-ghost {
  --circle: var(--teal-500); --label: var(--white); --label-hover: var(--white);
}

/* Sizes */
.btn-ghost.btn-sm, .btn-outline-light.btn-sm, .btn-light.btn-sm, .btn-dark.btn-sm {
  --dot: 2.2rem; font-size: .68rem; padding-right: 1.1rem;
}
.btn-ghost.btn-lg, .btn-outline-light.btn-lg, .btn-light.btn-lg, .btn-dark.btn-lg {
  --dot: 3.1rem; font-size: .84rem; padding-right: 1.8rem;
}
.btn-ghost.btn-block, .btn-outline-light.btn-block, .btn-light.btn-block, .btn-dark.btn-block {
  width: 100%;
}


/* ---- Card & icon hover ------------------------------------------------ */
.card .icon-badge { transition: border-color .22s var(--ease), color .22s var(--ease); }
.card:hover .icon-badge { border-bottom-color: var(--brand); color: var(--brand-strong); }
.section-dark .card:hover .icon-badge { border-bottom-color: var(--teal-400); color: var(--teal-300); }
.loc-card .flag { transition: transform .3s var(--ease); }
.loc-card:hover .flag { transform: scale(1.12); }
/* No overflow:hidden here — the "Most popular" badge sits at top:-12px and was
   being clipped straight off the card by it. The hover glow is inset instead. */
.price-card::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(120% 70% at 50% 118%, rgba(13,148,136,.14), transparent 62%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.price-card:hover::after { opacity: 1; }

/* ---- Stat counters ---------------------------------------------------- */
.stat-band .n, .trust-item .n { font-variant-numeric: tabular-nums; }

/* Eyebrow badges stay static â€” no shimmer, no sweep. */

/* ---- Logo / trust marquee -------------------------------------------- */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: kh-marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track > * { flex: none; }

/* ========================================================================
   HERO SLIDER
   ======================================================================== */

.hero-slider { position: relative; padding: 0; overflow: hidden; }
.hero-slider::after { display: none; }

/* ---- Background layer: restrained, not a light show -------------------- */
.hero-fx { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }

/* A single soft glow that breathes very slowly. */
.hero-fx .fx-glow {
  position: absolute; top: -34%; left: 50%; width: 1100px; height: 640px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(20,184,166,.20), rgba(13,148,136,.07) 45%, transparent 72%);
  filter: blur(30px);
  animation: kh-breathe 16s ease-in-out infinite;
}

/* Fine engineering grid, masked so it fades out before the edges. */
.hero-fx .fx-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.030) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.030) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 78% 62% at 50% 26%, #000 0%, transparent 100%);
  animation: kh-fade-in 1.2s var(--ease) both;
}

/* Bottom vignette so the hero seats cleanly against the next section. */
.hero-fx .fx-vignette {
  position: absolute; inset: auto 0 0 0; height: 46%;
  background: linear-gradient(180deg, transparent, rgba(4,16,15,.85) 78%, #04100f 100%);
}

/* Hairline at the bottom edge â€” the detail that reads as "considered". */
.hero-fx .fx-edge {
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(45,212,191,.34) 25%, rgba(45,212,191,.34) 75%, transparent);
}

@keyframes kh-breathe {
  0%, 100% { opacity: .82; transform: translateX(-50%) scale(1); }
  50%      { opacity: 1;   transform: translateX(-50%) scale(1.07); }
}
.hero-slider .shell { position: relative; z-index: 1; }

/* ---- Track: a real horizontal rail that slides ------------------------- */
.hero-viewport {
  overflow: hidden;
  /* No horizontal padding â€” overflow clips at the padding box, so any inline
     padding would let the next slide peek through at the edge. */
  padding: clamp(2.6rem, 5vw, 4.4rem) 0 clamp(2.4rem, 4vw, 3.4rem);
}
.hero-track {
  display: flex;
  will-change: transform;
  transition: transform .72s cubic-bezier(.65, .02, .18, 1);
}
/* Copy on the left, a large app panel on the right that runs off the edge. */
.hero-slide {
  flex: 0 0 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 44%) minmax(0, 56%);
  gap: clamp(1.5rem, 3vw, 2.6rem);
  align-items: center;
  opacity: .28;
  transition: opacity .5s var(--ease);
}
.hero-slide.is-active { opacity: 1; }
.hero-slider.is-dragging .hero-track { transition: none; }

/* The domain slide has no panel â€” centre it instead. */
.hero-slide.is-centred { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.hero-slide.is-centred .hero-copy { align-items: center; max-width: 46rem; }
.hero-slide.is-centred .hero-lede { margin-inline: auto; }
.hero-slide.is-centred .btn-row,
.hero-slide.is-centred .tld-strip { justify-content: center; }
.hero-slide.is-centred .hero-search-wrap { width: min(100%, 40rem); }
.hero-slide.is-centred h1 { max-width: 16ch; margin-inline: auto; }

/* ---- Copy column ------------------------------------------------------- */
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; }
.hero-copy .brand-mark {
  width: 30px; height: 30px; border-radius: 9px; margin-bottom: 1.6rem;
  background: linear-gradient(140deg, var(--teal-400), var(--teal-700));
  box-shadow: 0 4px 14px rgba(13,148,136,.32);
}
.hero-copy .brand-mark svg { width: 16px; height: 16px; }

.hero-flags { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: 0 0 1.5rem; }
.hero-flag {
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  color: var(--teal-200); background: rgba(45,212,191,.12);
  border: 1px solid rgba(94,234,212,.22);
  padding: .28rem .68rem; border-radius: 999px; white-space: nowrap;
}
.hero-flag.accent { color: var(--ink-950); background: var(--teal-300); border-color: var(--teal-300); }
.hero-note {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.62);
}
.hero-note:hover { color: var(--teal-300); }
.hero-note svg { width: 13px; height: 13px; transition: transform .25s var(--ease); }
.hero-note:hover svg { transform: translateX(3px); }

.hero-slide h1 { margin-bottom: .7rem; }
.hero-slide .hero-lede { max-width: 34rem; margin-bottom: 1.9rem; }
.hero-slide .btn-row { align-items: center; gap: 1.1rem; }

/* Text CTA beside the solid one, as on the reference. */
.hero-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .88rem; font-weight: 700; color: var(--white);
}
.hero-link:hover { color: var(--teal-300); }
.hero-link svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.hero-link:hover svg { transform: translateX(4px); }

.hero-search-wrap { width: 100%; margin-bottom: 1.9rem; }

/* ---- App panel --------------------------------------------------------- */
/* Deliberately wider than its column so it runs past the right edge and is
   clipped by .hero-viewport â€” the reference's "screenshot bleeding off" look. */
.hero-panel { position: relative; width: 152%; min-width: 0; }

.panel {
  position: relative;
  background: #071a19;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,.5);
}

.panel-bar {
  display: flex; align-items: center; gap: .8rem;
  padding: .7rem .95rem; border-bottom: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.02);
}
.panel-mark {
  width: 22px; height: 22px; border-radius: 6px; flex: none;
  background: linear-gradient(140deg, var(--teal-400), var(--teal-700));
  display: grid; place-items: center; color: var(--white);
}
.panel-mark svg { width: 12px; height: 12px; }
.panel-title { font-size: .78rem; font-weight: 700; color: rgba(255,255,255,.72); }
.panel-search {
  margin-left: auto; display: inline-flex; align-items: center; gap: .45rem;
  font-size: .74rem; color: rgba(255,255,255,.38);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07);
  border-radius: 7px; padding: .3rem .65rem; min-width: 170px;
}
.panel-search svg { width: 12px; height: 12px; }

.panel-body { display: grid; grid-template-columns: 152px minmax(0, 1fr); }
.panel-nav { padding: .9rem .7rem; border-right: 1px solid rgba(255,255,255,.07); }
.panel-nav-title {
  font-size: .64rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.32); font-weight: 700; margin: 0 0 .55rem .35rem;
}
.pnav {
  display: flex; align-items: center; gap: .5rem;
  padding: .38rem .45rem; border-radius: 7px;
  font-size: .78rem; color: rgba(255,255,255,.58);
}
.pnav svg { width: 13px; height: 13px; opacity: .7; }
.pnav.active { background: rgba(255,255,255,.06); color: var(--white); }
.pnav.active svg { color: var(--teal-300); opacity: 1; }

.panel-main { padding: .9rem 1rem 1.1rem; min-width: 0; }
.panel-row {
  display: grid; grid-template-columns: 8px minmax(0, 1fr); column-gap: .6rem; row-gap: .15rem;
  padding: .5rem .2rem; border-bottom: 1px solid rgba(255,255,255,.05);
}
.panel-row:last-child { border-bottom: 0; }
.p-dot { width: 7px; height: 7px; border-radius: 50%; margin-top: .42rem; }
.p-dot.ok   { background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.16); }
.p-dot.warn { background: #f59e0b; box-shadow: 0 0 0 3px rgba(245,158,11,.16); }
.p-dot.bad  { background: #f43f5e; box-shadow: 0 0 0 3px rgba(244,63,94,.16); }
.p-name { font-size: .8rem; display: flex; align-items: center; gap: .35rem; min-width: 0; }
.p-name .org { color: rgba(255,255,255,.48); }
.p-name .sep { color: rgba(255,255,255,.22); }
.p-name .nm  { color: var(--white); font-weight: 650; }
.p-name .star { color: #fbbf24; font-size: .72rem; }
.p-meta { grid-column: 2; font-size: .7rem; color: rgba(255,255,255,.34); }

/* Code panel */
.panel-code { background: #061615; }
.panel-tabs { display: flex; gap: .2rem; padding: .55rem .6rem 0; border-bottom: 1px solid rgba(255,255,255,.07); background: rgba(255,255,255,.02); }
.ptab {
  font-size: .74rem; font-weight: 600; color: rgba(255,255,255,.4);
  padding: .45rem .8rem; border-radius: 8px 8px 0 0;
}
.ptab.active { color: var(--white); background: #061615; border: 1px solid rgba(255,255,255,.07); border-bottom-color: transparent; margin-bottom: -1px; }
.panel-code-body { padding: 1rem .4rem 1.2rem 0; font-family: var(--font-mono); font-size: .78rem; line-height: 1.85; }
.cline { display: flex; gap: .9rem; white-space: pre; }
.cline .ln { width: 2.4rem; flex: none; text-align: right; color: rgba(255,255,255,.18); user-select: none; }
.cline .cx { min-width: 0; color: #bcd9d6; }
.c-com { color: #4f6f6c; }
.c-kw  { color: var(--teal-300); }
.c-fn  { color: #7dd3fc; }
.c-str { color: #fbbf24; }
.c-num { color: #f9a8d4; }
.c-ok  { color: #4ade80; }
.panel-code-body .caret { display: inline-block; width: 8px; background: var(--teal-300); animation: kh-caret 1.1s steps(1) infinite; }

/* Panel entrance */
.hero-slide.is-active .hero-panel { animation: kh-panel-in .75s var(--ease) .15s both; }
@keyframes kh-panel-in {
  from { opacity: 0; transform: translate3d(28px, 12px, 0); }
  to   { opacity: 1; transform: none; }
}
/* Code lines are revealed by the typewriter, not by a fade. */
[data-code-typer] .cx { visibility: hidden; }
[data-code-typer] .cx.is-typed { visibility: visible; }

.hero-slide.is-active .panel-row { animation: kh-fade-in .3s linear both; }
.hero-slide.is-active .panel-row:nth-child(2) { animation-delay: .42s; }
.hero-slide.is-active .panel-row:nth-child(3) { animation-delay: .50s; }
.hero-slide.is-active .panel-row:nth-child(4) { animation-delay: .58s; }
.hero-slide.is-active .panel-row:nth-child(5) { animation-delay: .66s; }
.hero-slide.is-active .panel-row:nth-child(6) { animation-delay: .74s; }
.hero-slide.is-active .panel-row:nth-child(7) { animation-delay: .82s; }
.hero-slide.is-active .panel-row:nth-child(8) { animation-delay: .90s; }
/* Typing caret, parked at the end of the line currently being written. */
.cline .caret {
  display: inline-block; width: 8px; height: 1em; vertical-align: -2px;
  background: var(--teal-300); margin-left: 1px;
  animation: kh-caret 1.05s steps(1) infinite;
}

/* Light stagger on the active slide's children. The rail already carries the
   motion, so this stays subtle rather than competing with it. */
@keyframes kh-slide-lift { from { opacity: 0; transform: translate3d(0, 10px, 0); } to { opacity: 1; transform: none; } }

.hero-slide.is-active .anim { animation: kh-slide-lift .5s var(--ease) both; }
.hero-slide.is-active .anim:nth-child(1) { animation-delay: .08s; }
.hero-slide.is-active .anim:nth-child(2) { animation-delay: .14s; }
.hero-slide.is-active .anim:nth-child(3) { animation-delay: .20s; }
.hero-slide.is-active .anim:nth-child(4) { animation-delay: .26s; }
.hero-slide.is-active .anim:nth-child(5) { animation-delay: .32s; }
.hero-slide.is-active .anim:nth-child(6) { animation-delay: .38s; }
.hero-slide.is-active .anim:nth-child(7) { animation-delay: .44s; }
.hero-slide.is-active .anim:nth-child(8) { animation-delay: .50s; }
.hero-slide.is-active .hero-visual { animation: kh-slide-lift .55s var(--ease) .2s both; }

.hero-slide h1 { color: var(--white); margin-bottom: .55rem; }
.hero-slide .hero-lede { margin-bottom: 1.5rem; }
.hero-slide .hero-points { margin-bottom: 1.6rem; }

/* ---- Slider controls -------------------------------------------------- */
.hero-nav {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-bottom: 1.8rem;
}
.hero-dots { display: flex; gap: .55rem; flex-wrap: wrap; }
.hero-dot {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: #9fc4c0; border-radius: 999px;
  padding: .48rem .95rem; font-size: .8rem; font-weight: 700;
  transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.hero-dot:hover { color: var(--white); border-color: rgba(94,234,212,.45); }
.hero-dot[aria-selected="true"] { color: var(--ink-950); background: var(--teal-300); border-color: var(--teal-300); }
.hero-dot .bar {
  position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--teal-300); transform: scaleX(0); transform-origin: left;
}
.hero-dot[aria-selected="true"] .bar { background: var(--ink-950); }
.hero-slider:not(.is-paused) .hero-dot[aria-selected="true"] .bar {
  animation: kh-progress var(--slide-ms, 7000ms) linear forwards;
}
.hero-dot .n { font-variant-numeric: tabular-nums; opacity: .55; font-size: .72rem; }

.hero-arrows { display: flex; gap: .5rem; }
.hero-arrow {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  color: var(--white);
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.hero-arrow:hover { background: var(--brand); border-color: var(--brand); transform: scale(1.08); }
.hero-arrow svg { width: 16px; height: 16px; }
.hero-arrow.prev svg { transform: rotate(180deg); }

/* ---- Slide visuals ---------------------------------------------------- */
.hero-visual {
  background: rgba(4,16,15,.62);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px);
  overflow: hidden;
}
.hero-visual-head {
  display: flex; align-items: center; gap: .55rem;
  padding: .8rem 1.05rem; border-bottom: 1px solid var(--border-dark);
  background: rgba(255,255,255,.03);
  font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #7fa5a2;
}
.hero-visual-head svg { width: 15px; height: 15px; color: var(--teal-300); }
.hero-visual-body { padding: 1.25rem; }

/* Domain search visual */
.dom-result {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .72rem .9rem; border-radius: 11px; margin-bottom: .5rem;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07);
  font-size: .9rem; color: #cdeae7;
  opacity: 0;
}
.hero-slide.is-active .dom-result { animation: kh-fade-up .5s var(--ease) both; }
.hero-slide.is-active .dom-result:nth-child(1) { animation-delay: .45s; }
.hero-slide.is-active .dom-result:nth-child(2) { animation-delay: .62s; }
.hero-slide.is-active .dom-result:nth-child(3) { animation-delay: .79s; }
.hero-slide.is-active .dom-result:nth-child(4) { animation-delay: .96s; }
.dom-result .name { font-weight: 700; color: var(--white); }
.dom-result .status { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; font-weight: 700; }
.dom-result .status.ok   { color: #4ade80; }
.dom-result .status.gone { color: #f87171; }
.dom-result .price { color: var(--teal-300); font-weight: 800; font-size: .84rem; }
.dom-result.taken .name { text-decoration: line-through; opacity: .6; }

/* Speed gauge visual */
.gauge-rows { display: grid; gap: .95rem; }
.gauge-row .lbl { display: flex; justify-content: space-between; font-size: .82rem; color: #a7c8c5; margin-bottom: .38rem; }
.gauge-row .lbl b { color: var(--teal-300); font-variant-numeric: tabular-nums; }
.gauge-track { height: 8px; border-radius: 999px; background: rgba(255,255,255,.07); overflow: hidden; }
.gauge-fill {
  height: 100%; border-radius: 999px; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, var(--teal-500), var(--teal-300));
}
.gauge-fill.slow { background: linear-gradient(90deg, #b45309, #f59e0b); }
.hero-slide.is-active .gauge-fill { animation: kh-progress 1.1s var(--ease) both; }
.hero-slide.is-active .gauge-row:nth-child(1) .gauge-fill { animation-delay: .35s; }
.hero-slide.is-active .gauge-row:nth-child(2) .gauge-fill { animation-delay: .5s; }
.hero-slide.is-active .gauge-row:nth-child(3) .gauge-fill { animation-delay: .65s; }
.hero-slide.is-active .gauge-row:nth-child(4) .gauge-fill { animation-delay: .8s; }

/* Region / globe visual */
.region-pings { display: grid; gap: .1rem; }
.ping-row {
  display: flex; align-items: center; gap: .7rem;
  padding: .5rem .6rem; border-radius: 10px; font-size: .87rem; color: #cdeae7;
  opacity: 0;
}
.hero-slide.is-active .ping-row { animation: kh-fade-left .48s var(--ease) both; }
.hero-slide.is-active .ping-row:nth-child(1) { animation-delay: .38s; }
.hero-slide.is-active .ping-row:nth-child(2) { animation-delay: .5s; }
.hero-slide.is-active .ping-row:nth-child(3) { animation-delay: .62s; }
.hero-slide.is-active .ping-row:nth-child(4) { animation-delay: .74s; }
.hero-slide.is-active .ping-row:nth-child(5) { animation-delay: .86s; }
.hero-slide.is-active .ping-row:nth-child(6) { animation-delay: .98s; }
.ping-row .flag { font-size: 1.15rem; }
.ping-row .ms { margin-left: auto; font-weight: 800; color: var(--teal-300); font-variant-numeric: tabular-nums; font-size: .82rem; }
.ping-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--teal-400); }
.ping-dot::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: var(--teal-400); animation: kh-pulse 2.2s ease-out infinite;
}
.ping-row:nth-child(2) .ping-dot::after { animation-delay: .35s; }
.ping-row:nth-child(3) .ping-dot::after { animation-delay: .7s; }
.ping-row:nth-child(4) .ping-dot::after { animation-delay: 1.05s; }
.ping-row:nth-child(5) .ping-dot::after { animation-delay: 1.4s; }
.ping-row:nth-child(6) .ping-dot::after { animation-delay: 1.75s; }

/* Terminal / agent visual */
.term { font-family: var(--font-mono); font-size: .82rem; line-height: 1.95; color: #b6d8d5; }
.term .line { opacity: 0; }
.hero-slide.is-active .term .line { animation: kh-fade-in .3s linear both; }
.hero-slide.is-active .term .line:nth-child(1) { animation-delay: .35s; }
.hero-slide.is-active .term .line:nth-child(2) { animation-delay: .70s; }
.hero-slide.is-active .term .line:nth-child(3) { animation-delay: 1.05s; }
.hero-slide.is-active .term .line:nth-child(4) { animation-delay: 1.40s; }
.hero-slide.is-active .term .line:nth-child(5) { animation-delay: 1.75s; }
.hero-slide.is-active .term .line:nth-child(6) { animation-delay: 2.10s; }
.hero-slide.is-active .term .line:nth-child(7) { animation-delay: 2.45s; }
.term .p   { color: var(--teal-400); }
.term .ok  { color: #4ade80; }
.term .dim { color: #5c7d7a; }
.term .val { color: #fbbf24; }
.term .caret { display: inline-block; width: 8px; background: var(--teal-300); animation: kh-caret 1.1s steps(1) infinite; }

/* Hero domain search form gets a focus glow */
.hero-slide .domain-search { transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.hero-slide .domain-search:focus-within { box-shadow: 0 0 0 4px rgba(45,212,191,.28), var(--shadow-lg); transform: translateY(-2px); }
.tld-chip { transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.tld-chip:hover { background: rgba(45,212,191,.14); border-color: rgba(94,234,212,.4); transform: translateY(-2px); }

/* Trust strip inside the slider sits below the track */
.hero-slider .trust-strip { border-top: 1px solid rgba(255,255,255,.09); margin-top: 0; padding-bottom: 2.4rem; }

/* ---- Standard (non-slider) hero entrance ------------------------------ */
.hero-enter { position: relative; overflow: hidden; }
.hero-enter .anim { animation: kh-slide-cell .62s var(--ease) both; }
.hero-enter .anim:nth-child(1) { animation-delay: .04s; }
.hero-enter .anim:nth-child(2) { animation-delay: .12s; }
.hero-enter .anim:nth-child(3) { animation-delay: .20s; }
.hero-enter .anim:nth-child(4) { animation-delay: .28s; }
.hero-enter .anim:nth-child(5) { animation-delay: .36s; }
.hero-enter .anim:nth-child(6) { animation-delay: .44s; }
.hero-enter .anim:nth-child(7) { animation-delay: .52s; }
.hero-enter .anim:nth-child(8) { animation-delay: .60s; }
.hero-enter > .shell > .breadcrumbs.anim { animation-delay: 0s; }
.hero-enter .hero-visual { animation: kh-zoom .75s var(--ease) .2s both; }
.hero-enter .term .line { animation: kh-fade-in .3s linear both; }
.hero-enter .term .line:nth-child(1) { animation-delay: .40s; }
.hero-enter .term .line:nth-child(2) { animation-delay: .72s; }
.hero-enter .term .line:nth-child(3) { animation-delay: 1.04s; }
.hero-enter .term .line:nth-child(4) { animation-delay: 1.36s; }
.hero-enter .term .line:nth-child(5) { animation-delay: 1.68s; }
.hero-enter .term .line:nth-child(6) { animation-delay: 2.00s; }
.hero-enter .term .line:nth-child(7) { animation-delay: 2.32s; }
.hero-slim .hero-fx .fx-glow { height: 460px; top: -30%; }

/* Typewriter placeholder needs a steady colour so the caret does not flicker. */
.domain-search input::placeholder { color: var(--ink-400); opacity: 1; }
.domain-search input { font-variant-ligatures: none; }

/* ----------------------------- Responsive ------------------------------- */
@media (max-width: 1180px) {
  .hero-slide { grid-template-columns: minmax(0, 48%) minmax(0, 52%); }
  .hero-panel { width: 168%; }
  .panel-body { grid-template-columns: 132px minmax(0, 1fr); }
}
@media (max-width: 1024px) {
  .hero-slide { grid-template-columns: minmax(0, 1fr); }
  .hero-visual, .hero-panel { display: none; }
  .hero-viewport { padding-top: 2rem; }
  .hero-copy { max-width: 40rem; }
}
@media (max-width: 620px) {
  .hero-nav { flex-direction: column-reverse; align-items: stretch; gap: .9rem; }
  .hero-arrows { justify-content: center; }
  .hero-dots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; }
  .hero-dot { justify-content: center; text-align: center; font-size: .73rem; padding: .5rem .5rem; line-height: 1.25; }
  .hero-dot .n { display: none; }
}

@media (max-width: 1150px) {
  .footer-grid { grid-template-columns: 1.4fr repeat(3, minmax(0,1fr)); }
  .mega-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .mega-promo { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
  .nav-list, .nav-actions .btn-ghost { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav { justify-content: space-between; }
  .hero-grid, .g-split, .feature-row, .content-layout { grid-template-columns: minmax(0,1fr); }
  .feature-row.flip > *:first-child { order: 0; }
  .toc { position: static; }
  .g4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 860px) {
  .g3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .topbar-right a:not(.hl) { display: none; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .shell, .shell-wide { width: min(100% - 1.8rem, var(--shell)); }
  .g2, .g3, .g4 { grid-template-columns: minmax(0,1fr); }
  .footer-grid { grid-template-columns: minmax(0,1fr); }
  .domain-search { flex-direction: column; border-radius: var(--radius-lg); }
  .domain-search .btn { width: 100%; }
  .trust-strip { gap: 1.2rem 1.8rem; }
  .btn { width: 100%; }
  .btn-row .btn { width: auto; flex: 1 1 auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

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

@media print {
  .site-header, .topbar, .site-footer, .mobile-nav, .cta-band, .toc { display: none !important; }
  body { font-size: 11pt; }
}
