:root {
  --navy: #34526D;
  --navy-dark: #24384D;
  --ink-950: #0B1622;
  --ink-900: #0F1E2E;
  --ink-800: #16293C;
  --teal: #00A5B9;
  --teal-bright: #12C4D9;
  --teal-dark: #008FA1;
  --teal-tint: #E5F6F8;
  --ink: #1F2D3A;
  --body: #51606E;
  --body-inverse: #9DB2C4;
  --line: #E3E9EE;
  --line-inverse: rgba(255,255,255,.09);
  --bg-soft: #F5F8FA;
  --white: #FFFFFF;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(15, 30, 46, .08);
  --shadow-lg: 0 18px 44px rgba(15, 30, 46, .16);
  --glow: 0 0 60px rgba(0, 165, 185, .35);
  --grad-teal: linear-gradient(120deg, #00A5B9, #12C4D9);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--body);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.18; letter-spacing: -.02em; }

img { max-width: 100%; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px;
  border-radius: 10px;
  font-weight: 600; font-size: 15px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .18s ease;
  font-family: inherit;
}
.btn-primary {
  background: var(--grad-teal); color: #fff;
  box-shadow: 0 6px 18px rgba(0,165,185,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0,165,185,.45); }
.btn-ghost { color: var(--navy); border-color: #C9D5DF; padding: 10px 22px; }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn-light { background: #fff; color: var(--ink-900); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.45); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 80px; gap: 28px;
}
.brand { display: flex; text-decoration: none; }
.brand svg { display: block; height: 46px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > a, .nav-drop > button {
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px;
  padding: 9px 14px; border-radius: 8px;
  background: none; border: 0; cursor: pointer; font-family: inherit;
  display: flex; align-items: center; gap: 5px;
  transition: color .15s, background .15s;
}
.main-nav > a:hover, .nav-drop > button:hover { color: var(--teal); background: var(--teal-tint); }
.main-nav > a.active { color: var(--teal); }

.nav-drop { position: relative; }
.nav-drop .caret { border: solid currentColor; border-width: 0 1.7px 1.7px 0; padding: 2.6px; transform: rotate(45deg) translateY(-2px); }
.drop-menu {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 230px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all .18s ease;
}
.nav-drop:hover .drop-menu, .nav-drop.open .drop-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.drop-menu a {
  display: block; padding: 10px 14px; border-radius: 8px;
  color: var(--ink); text-decoration: none; font-size: 14.5px; font-weight: 500;
}
.drop-menu a:hover { background: var(--teal-tint); color: var(--teal); }
.drop-menu .drop-note { display: block; padding: 2px 14px 8px; font-size: 12px; color: var(--body); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--navy); margin: 5px 0; border-radius: 2px; }

/* ---------- Dark hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(1100px 600px at 78% -10%, rgba(0,165,185,.28), transparent 55%),
              radial-gradient(800px 500px at -10% 115%, rgba(0,165,185,.14), transparent 50%),
              linear-gradient(160deg, var(--ink-900) 0%, var(--ink-950) 100%);
  color: var(--body-inverse);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.055) 1px, transparent 1.4px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 80%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 48px; align-items: center;
  padding: 92px 0 84px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(38px, 5.2vw, 56px);
  font-weight: 800;
}
.hero .accent {
  background: linear-gradient(100deg, var(--teal-bright), #6EE7F5);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lede { font-size: 18.5px; margin-top: 20px; max-width: 520px; }
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 2.2px; text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--teal-bright); border-radius: 2px; }

/* hero illustration */
.hero-art { position: relative; display: flex; justify-content: center; }
.hero-art svg { width: 100%; max-width: 440px; height: auto; filter: drop-shadow(0 30px 60px rgba(0,0,0,.45)); }

/* domain search on dark */
.domain-search {
  display: flex; gap: 8px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(8px);
  padding: 8px; margin-top: 34px; max-width: 560px;
  border-radius: 14px;
}
.domain-search input[type="text"] {
  flex: 1; border: 0; outline: 0;
  font: inherit; font-size: 16px;
  padding: 10px 16px; color: #fff;
  background: transparent; min-width: 0;
}
.domain-search input::placeholder { color: rgba(255,255,255,.5); }
.tld-strip {
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  list-style: none; margin-top: 20px;
  font-size: 14px; color: var(--body-inverse);
}
.tld-strip strong { color: #fff; }

/* ---------- Stats bar ---------- */
.stats-bar { background: var(--ink-950); border-top: 1px solid var(--line-inverse); }
.stats-inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 26px 24px;
}
.stat { text-align: center; padding: 6px 12px; }
.stat + .stat { border-left: 1px solid var(--line-inverse); }
.stat strong { display: block; font-size: 26px; font-weight: 800; color: #fff; letter-spacing: -.5px; }
.stat span { font-size: 13.5px; color: var(--body-inverse); }

/* ---------- Sections ---------- */
section { padding: 92px 0; }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head .eyebrow { color: var(--teal); }
.section-head .eyebrow::before { background: var(--teal); }
.section-title { font-size: clamp(28px, 3.8vw, 38px); font-weight: 800; }
.section-sub { margin-top: 14px; font-size: 17px; }

/* ---------- Service cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px 26px;
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column; gap: 12px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--grad-teal);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.card:hover::before { transform: scaleX(1); }
a.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card h3 { font-size: 19px; }
.card p { font-size: 14.5px; flex: 1; }
.card-icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: var(--teal-tint);
  display: flex; align-items: center; justify-content: center;
}
.card-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--teal); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card-link { color: var(--teal); font-weight: 600; font-size: 14.5px; }
.card-link.muted { color: var(--body); }
.badge-soon {
  position: absolute; top: 18px; right: 18px;
  background: var(--ink-900); color: #7EE3EF;
  font-size: 11px; font-weight: 700; letter-spacing: .6px;
  padding: 5px 12px; border-radius: 999px; text-transform: uppercase;
}

/* ---------- Feature split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-art {
  border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(160deg, var(--ink-800), var(--ink-950));
  display: flex; align-items: center; justify-content: center;
  min-height: 340px; padding: 30px;
}
.split-art svg { width: 100%; max-width: 400px; height: auto; }
.check-list { list-style: none; margin-top: 26px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.check-list .tick {
  flex: none; width: 22px; height: 22px; margin-top: 2px;
  border-radius: 50%; background: var(--teal-tint);
  display: flex; align-items: center; justify-content: center;
}
.check-list .tick::after {
  content: ""; width: 9px; height: 5px;
  border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal);
  transform: rotate(-45deg) translateY(-1px);
}

/* ---------- Why grid ---------- */
.why { background: var(--bg-soft); }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.why-item {
  background: #fff; border-radius: var(--radius);
  padding: 30px 32px; border: 1px solid var(--line);
  display: flex; gap: 18px; align-items: flex-start;
}
.why-icon {
  flex: none; width: 46px; height: 46px; border-radius: 12px;
  background: var(--grad-teal); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  box-shadow: 0 6px 14px rgba(0,165,185,.3);
}
.why-item h3 { font-size: 17.5px; margin-bottom: 6px; }
.why-item p { font-size: 14.5px; }

/* ---------- Support ---------- */
.support-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.support-inner > * { min-width: 0; }
.kb-search {
  display: flex; gap: 10px; margin-top: 28px;
  background: #fff; padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px; box-shadow: var(--shadow);
}
.kb-search input {
  flex: 1; border: 0; outline: 0; font: inherit; font-size: 15.5px;
  padding: 8px 16px; color: var(--ink); background: transparent; min-width: 0;
}
.support-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.support-tile {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; text-decoration: none;
  display: flex; flex-direction: column; gap: 4px;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.support-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--teal); }
.support-tile strong { color: var(--navy); font-size: 16px; }
.support-tile span { font-size: 13.5px; }

/* ---------- Panel tiles (control panels page) ---------- */
.panel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.panel-tile {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 30px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.panel-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--teal); }
.panel-tile h3 { font-size: 20px; }
.panel-tile p { font-size: 14.5px; flex: 1; }
.panel-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.panel-actions .btn { padding: 10px 20px; font-size: 14px; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: radial-gradient(900px 420px at 80% -20%, rgba(0,165,185,.25), transparent 55%),
              linear-gradient(160deg, var(--ink-900), var(--ink-950));
  color: var(--body-inverse);
  padding: 72px 0 64px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1.4px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 85%);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(32px, 4.5vw, 46px); font-weight: 800; }
.page-hero p { margin-top: 14px; font-size: 17.5px; max-width: 620px; }

/* ---------- Pricing ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.plan {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px;
  display: flex; flex-direction: column; gap: 6px;
  position: relative;
  transition: transform .18s, box-shadow .18s;
}
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.plan.featured { border: 2px solid var(--teal); box-shadow: var(--shadow-lg); }
.plan .flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad-teal); color: #fff;
  font-size: 11.5px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px;
}
.plan h3 { font-size: 20px; }
.plan .price { margin: 10px 0 4px; color: var(--ink); }
.plan .price strong { font-size: 38px; font-weight: 800; letter-spacing: -1px; }
.plan .price span { font-size: 14px; color: var(--body); }
.plan ul { list-style: none; margin: 16px 0 22px; display: grid; gap: 10px; font-size: 14.5px; }
.plan ul li { padding-left: 24px; position: relative; }
.plan ul li::before {
  content: ""; position: absolute; left: 2px; top: 7px;
  width: 8px; height: 4.5px;
  border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal);
  transform: rotate(-45deg);
}
.plan .btn { margin-top: auto; }

.plan-grid.two { grid-template-columns: repeat(2, 1fr); max-width: 790px; margin-left: auto; margin-right: auto; }
@media (max-width: 760px) { .plan-grid.two { grid-template-columns: 1fr; } }

/* domain price table */
.tld-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.tld-table th, .tld-table td { padding: 16px 22px; text-align: left; font-size: 15px; }
.tld-table th { background: var(--ink-900); color: #fff; font-weight: 600; font-size: 14px; letter-spacing: .3px; }
.tld-table tr + tr td { border-top: 1px solid var(--line); }
.tld-table td:first-child { font-weight: 700; color: var(--navy); font-size: 16px; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); }

/* ---------- Office apps grid ---------- */
.apps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 40px; max-width: 980px; margin: 0 auto; }
.app-item svg { width: 52px; height: 52px; margin-bottom: 14px; filter: drop-shadow(0 4px 10px rgba(15,30,46,.15)); }
.app-item h3 { font-size: 18px; margin-bottom: 8px; }
.app-item p { font-size: 14.5px; margin-bottom: 6px; }
@media (max-width: 1020px) { .apps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .apps-grid { grid-template-columns: 1fr; } }

/* ---------- Coming soon ---------- */
.soon-wrap { max-width: 720px; margin: 0 auto; text-align: center; }
.soon-badge {
  display: inline-block; background: var(--teal-tint); color: var(--teal-dark);
  font-weight: 700; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 8px 18px; border-radius: 999px; margin-bottom: 22px;
}

/* ---------- CTA ---------- */
.cta-strip {
  background: radial-gradient(700px 300px at 85% 120%, rgba(0,165,185,.35), transparent 60%),
              linear-gradient(120deg, var(--ink-900), var(--ink-950));
  padding: 72px 0;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-strip h2 { color: #fff; font-size: clamp(24px, 3.5vw, 34px); font-weight: 800; }
.cta-strip p { color: var(--body-inverse); margin-top: 8px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-950); color: var(--body-inverse); font-size: 14.5px; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px; padding: 68px 24px 44px;
}
.footer-brand svg { height: 46px; width: auto; margin-bottom: 18px; }
.footer-brand p { margin-bottom: 12px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.site-footer a { display: block; color: var(--body-inverse); text-decoration: none; margin-bottom: 10px; transition: color .15s; }
.site-footer a:hover { color: var(--teal-bright); }
.footer-brand a { display: inline; }
.footer-bottom {
  border-top: 1px solid var(--line-inverse);
  padding: 22px 24px; font-size: 13px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .panel-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; padding: 64px 0 56px; }
  .hero-art { display: none; }
  .support-inner, .split { grid-template-columns: 1fr; gap: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 18px 0; }
  .stat:nth-child(3) { border-left: 0; }
}
@media (max-width: 760px) {
  .header-inner { gap: 10px; height: 66px; }
  .brand svg { height: 34px; }
  .header-actions { gap: 8px; }
  .header-actions .btn-ghost { padding: 7px 13px; font-size: 13.5px; }
  .main-nav {
    display: none;
    position: absolute; top: 66px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch;
    padding: 14px 18px 20px; gap: 2px;
    box-shadow: var(--shadow-lg);
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-drop { display: flex; flex-direction: column; }
  .drop-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    border: 0; box-shadow: none; padding: 0 0 6px 14px; display: none;
  }
  .nav-drop.open .drop-menu { display: block; }
  .domain-search { flex-direction: column; }
  .domain-search .btn { width: 100%; }
  .why-grid, .card-grid, .support-links, .plan-grid, .panel-grid { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat { text-align: left; }
  .stat + .stat { border-left: 0; }
}

/* ---------- Legal / prose pages ---------- */
.legal-content { max-width: 820px; margin: 0 auto; }
.legal-content h2 { font-size: 24px; margin: 38px 0 14px; }
.legal-content h3 { font-size: 19px; margin: 30px 0 10px; }
.legal-content p { margin-bottom: 16px; font-size: 15.5px; }
.legal-content ul, .legal-content ol { margin: 0 0 20px 22px; font-size: 15.5px; }
.legal-content li { margin-bottom: 9px; }
.legal-content strong { color: var(--ink); }
.legal-content a { color: var(--teal); font-weight: 500; overflow-wrap: anywhere; word-break: break-word; }
.legal-content > *:first-child { margin-top: 0; }
.legal-updated {
  display: inline-block; background: var(--teal-tint); color: var(--teal-dark);
  font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 999px; margin-bottom: 28px;
}

@media (max-width: 760px) {
  .legal-content ul, .legal-content ol { margin-left: 16px; padding-left: 2px; }
  .legal-content ul ul, .legal-content ol ol,
  .legal-content ul ol, .legal-content ol ul { margin-left: 12px; }
  .legal-content { overflow-wrap: break-word; }
}
