:root {
  color-scheme: light;
  --ink: #101828;
  --muted: #667085;
  --line: #ffd3aa;
  --orange: #ff6a00;
  --orange-dark: #d64f00;
  --orange-soft: #fff0df;
  --blue: #0c3f95;
  --blue-dark: #06265f;
  --blue-soft: #eaf2ff;
  --green: #067647;
  --amber: #b54708;
  --bg: #fff7ef;
  --panel: #ffffff;
  --shadow: 0 18px 48px rgba(143, 64, 0, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

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

.prebar {
  align-items: center;
  background: var(--blue-dark);
  color: #ffffff;
  display: flex;
  font-size: 14px;
  font-weight: 800;
  justify-content: space-between;
  padding: 10px clamp(18px, 6vw, 84px);
}

.topbar {
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid #ffe0c2;
  display: flex;
  justify-content: space-between;
  padding: 18px clamp(18px, 6vw, 84px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  color: var(--blue);
  font-size: 31px;
  font-weight: 900;
}

.brand-logo {
  display: block;
  max-height: 54px;
  max-width: 240px;
  object-fit: contain;
}

.topbar nav {
  align-items: center;
  display: flex;
  gap: 24px;
  font-weight: 900;
}

.nav-cta {
  background: var(--orange);
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(255, 106, 0, 0.28);
  color: #ffffff;
  padding: 12px 18px;
}

.shell {
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 18px 70px;
}

.domain-hero {
  background:
    linear-gradient(140deg, rgba(255, 106, 0, 0.96), rgba(255, 139, 37, 0.94) 48%, rgba(12, 63, 149, 0.96)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px 18px);
  color: #ffffff;
  display: grid;
  gap: 44px;
  grid-template-columns: 1fr;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: 610px;
  overflow: hidden;
  padding: 76px clamp(18px, 10vw, 150px) 76px;
  position: relative;
}

.domain-hero::after {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
  content: "";
  height: 100%;
  left: -45%;
  position: absolute;
  top: 0;
  transform: skewX(-16deg);
  width: 34%;
  animation: sweep 7s ease-in-out infinite;
}

@keyframes sweep {
  0%, 35% {
    left: -45%;
  }
  75%, 100% {
    left: 120%;
  }
}

.hero-copy,
.domain-finder {
  position: relative;
  z-index: 2;
}

.hero-copy {
  max-width: 920px;
}

.eyebrow {
  color: #ffe5cf;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.domain-hero h1,
.guide-hero h1 {
  font-size: clamp(39px, 5.6vw, 74px);
  line-height: 1.02;
  margin: 0 0 20px;
  max-width: 980px;
}

.domain-hero p,
.guide-hero p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 20px;
  line-height: 1.62;
  margin: 0;
  max-width: 800px;
}

.domain-finder {
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 10px;
  box-shadow: var(--shadow);
  color: var(--ink);
  display: grid;
  gap: 18px;
  max-width: 1040px;
  padding: 26px;
}

.domain-finder label,
.domain-search label {
  color: var(--blue-dark);
  font-size: 17px;
  font-weight: 900;
}

.search-row {
  display: grid;
  grid-template-columns: 1fr 176px;
}

.search-row input {
  border-radius: 9px 0 0 9px;
  border-right: 0;
  font-size: 18px;
  min-height: 62px;
}

.search-row button {
  background: var(--blue);
  border-radius: 0 9px 9px 0;
  box-shadow: none;
  font-size: 18px;
  min-height: 62px;
}

.tld-marquee {
  overflow: hidden;
  position: relative;
}

.tld-track {
  display: flex;
  gap: 14px;
  min-width: max-content;
  animation: slideTlds 24s linear infinite;
}

.tld-marquee:hover .tld-track {
  animation-play-state: paused;
}

@keyframes slideTlds {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.tld-pill {
  align-items: center;
  background: var(--orange-soft);
  border: 1px solid #ffc58f;
  border-radius: 9px;
  display: flex;
  flex: 0 0 260px;
  justify-content: space-between;
  padding: 16px 18px;
}

.tld-pill strong {
  color: var(--blue);
  font-size: 28px;
}

.tld-pill span {
  color: #7a4b22;
  font-weight: 900;
}

.trust-row {
  background: #ffffff;
  border: 1px solid #ffd1a7;
  border-radius: 9px;
  box-shadow: 0 14px 34px rgba(143, 64, 0, 0.12);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, 1fr);
  margin: -28px 0 36px;
  overflow: hidden;
  position: relative;
  z-index: 5;
}

.trust-row span {
  background: #ffffff;
  color: var(--blue);
  font-weight: 900;
  padding: 20px;
  text-align: center;
}

.steps-band {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  margin: 36px 0;
}

.steps-band article,
.domain-result,
.guide-card,
.panel,
.price-card,
.stats article {
  background: #ffffff;
  border: 1px solid #ffd8b5;
  border-radius: 9px;
  box-shadow: 0 12px 30px rgba(143, 64, 0, 0.08);
  padding: 24px;
}

.steps-band span,
.guide-card span {
  color: var(--orange);
  display: block;
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 14px;
}

.steps-band strong,
.guide-card h2 {
  display: block;
  font-size: 24px;
  margin: 0 0 8px;
}

.steps-band p,
.guide-card p,
.domain-result p,
.muted {
  color: var(--muted);
  line-height: 1.58;
}

.domain-strip {
  background: linear-gradient(120deg, var(--orange), #ff9a3d);
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 38px clamp(18px, 14vw, 220px);
}

.domain-strip label {
  color: #ffffff;
}

.wide {
  margin: 0 auto;
  max-width: 900px;
}

.header-row {
  align-items: flex-end;
  display: flex;
  justify-content: space-between;
  margin: 38px 0 18px;
}

.header-row h1,
.panel h1 {
  font-size: clamp(30px, 4vw, 46px);
  margin: 0 0 10px;
}

.results-grid {
  display: grid;
  gap: 18px;
}

.domain-result {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr 370px;
}

.domain-result h2 {
  color: var(--blue-dark);
  font-size: clamp(28px, 4vw, 43px);
  margin: 12px 0 6px;
}

.status {
  border-radius: 999px;
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  padding: 7px 12px;
}

.status.available {
  background: #dcfce7;
  color: var(--green);
}

.status.taken {
  background: #fff7ed;
  color: var(--amber);
}

.status.unknown {
  background: #e2e8f0;
  color: #475569;
}

.result-action {
  border-left: 1px solid #ffd8b5;
  padding-left: 22px;
}

.result-action strong {
  color: var(--orange-dark);
  display: block;
  font-size: 30px;
  margin-bottom: 14px;
}

.result-action small {
  color: var(--muted);
  font-size: 14px;
}

.result-action form,
.form,
.search-box,
.domain-search {
  display: grid;
  gap: 11px;
}

.payment-state {
  align-items: center;
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr 320px;
  min-height: 460px;
}

.payment-state h1 {
  color: var(--blue-dark);
  font-size: clamp(38px, 5vw, 64px);
  margin: 0 0 14px;
}

.payment-state p {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}

.payment-card {
  background: #ffffff;
  border: 1px solid #ffd8b5;
  border-radius: 10px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px;
  padding: 24px;
}

.payment-card span {
  color: var(--muted);
  font-weight: 800;
}

.payment-card strong {
  color: var(--orange-dark);
  font-size: 28px;
}

.button-link {
  background: var(--blue);
  border-radius: 8px;
  color: #ffffff;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  margin-top: 8px;
  padding: 13px 16px;
}

.button-link.secondary {
  background: var(--orange);
}

.button-link.small {
  font-size: 13px;
  margin: 0;
  min-height: auto;
  padding: 9px 11px;
}

.full-link {
  width: 100%;
}

.countdown-box {
  background: #ffffff;
  border: 1px solid #ffd8b5;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(143, 64, 0, 0.08);
  display: inline-grid;
  gap: 6px;
  margin-top: 22px;
  padding: 18px 22px;
}

.countdown-box span {
  color: var(--muted);
  font-weight: 800;
}

.countdown-box strong {
  color: var(--orange-dark);
  font-size: 34px;
}

.guide-hero {
  background: linear-gradient(125deg, var(--orange), var(--blue));
  color: #ffffff;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 72px clamp(18px, 12vw, 180px);
}

.guide-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, 1fr);
  margin: 34px 0;
}

.dns-table {
  display: grid;
  gap: 8px;
  grid-template-columns: 70px 1fr 1.5fr;
}

code {
  background: var(--orange-soft);
  border-radius: 6px;
  padding: 8px;
}

.narrow {
  margin-left: auto;
  margin-right: auto;
  max-width: 620px;
}

.client-hero {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 106, 0, 0.95), rgba(12, 63, 149, 0.96)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 20px);
  border-radius: 10px;
  color: #ffffff;
  display: grid;
  gap: 28px;
  grid-template-columns: 1.1fr 0.9fr;
  margin: 38px 0 28px;
  overflow: hidden;
  padding: 36px;
}

.client-hero h1 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
  margin: 0 0 14px;
}

.client-hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.55;
  margin: 0;
}

.client-kpis {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
}

.client-kpis article {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  padding: 16px;
}

.client-kpis span {
  display: block;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 8px;
  opacity: 0.86;
}

.client-kpis strong {
  display: block;
  font-size: 24px;
}

.grid,
.stats {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.price-card strong,
.stats strong {
  display: block;
  font-size: 28px;
}

label {
  color: #344054;
  font-size: 14px;
  font-weight: 800;
}

input,
select,
button {
  border-radius: 7px;
  font: inherit;
  min-height: 44px;
}

input,
select {
  background: #ffffff;
  border: 1px solid #ffd0a3;
  padding: 10px 12px;
  width: 100%;
}

button {
  background: var(--orange);
  border: 0;
  color: #ffffff;
  cursor: pointer;
  font-weight: 900;
  padding: 10px 16px;
}

button:hover {
  filter: brightness(0.94);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.quote,
.notice {
  background: var(--orange-soft);
  border: 1px solid #ffc58f;
  border-radius: 8px;
  padding: 12px;
}

.admin-nav {
  background: var(--blue-dark);
  border-radius: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 22px 0;
  padding: 8px;
}

.admin-nav a {
  border-radius: 6px;
  color: #ffffff;
  padding: 10px 12px;
}

.admin-nav a:hover {
  background: rgba(255, 255, 255, 0.12);
}

table {
  border-collapse: collapse;
  width: 100%;
}

th,
td {
  border-bottom: 1px solid #ffd8b5;
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

th {
  color: #344054;
  font-size: 13px;
  text-transform: uppercase;
}

.inline-form {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.inline-form input,
.inline-form select {
  max-width: 150px;
}

.customer-form input {
  max-width: 190px;
}

.search-admin input {
  max-width: 420px;
}

.fx-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.fx-grid label {
  display: grid;
  gap: 6px;
}

.add-form {
  align-items: end;
}

.check {
  align-items: center;
  display: inline-flex;
  gap: 8px;
}

.check input {
  min-height: auto;
  width: auto;
}

hr {
  border: 0;
  border-top: 1px solid #ffd8b5;
  width: 100%;
}

@media (max-width: 860px) {
  .prebar,
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .topbar nav {
    flex-wrap: wrap;
  }

  .domain-result,
  .guide-grid,
  .steps-band,
  .trust-row,
  .payment-state,
  .client-hero {
    grid-template-columns: 1fr;
  }

  .client-kpis {
    grid-template-columns: 1fr;
  }

  .result-action {
    border-left: 0;
    border-top: 1px solid #ffd8b5;
    padding-left: 0;
    padding-top: 18px;
  }

  .search-row {
    grid-template-columns: 1fr;
  }

  .search-row input,
  .search-row button {
    border-radius: 8px;
    border-right: 1px solid #ffd0a3;
  }

  .domain-hero {
    padding-top: 48px;
  }

  table {
    display: block;
    overflow-x: auto;
  }
}
