:root {
  --blue: #3348ff;
  --blue-dark: #2035e8;
  --blue-soft: #eef0ff;
  --black: #000000;
  --ink: #111111;
  --muted: #626262;
  --line: #dedede;
  --surface: #ffffff;
  --surface-soft: #f5f6f8;
  --green: #137a44;
  --green-soft: #ebf8f0;
  --red: #b42318;
  --red-soft: #fff0ef;
  --amber: #925f00;
  --amber-soft: #fff7df;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow: 0 28px 80px rgba(0, 0, 0, .32);
  --font: Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  background: var(--black);
  color: #fff;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid #8290ff;
  outline-offset: 3px;
}

.page-shell {
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

.page-shell::before,
.page-shell::after {
  background: var(--blue);
  border-radius: 50%;
  content: "";
  filter: blur(10px);
  opacity: .72;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.page-shell::before {
  height: 34rem;
  left: -20rem;
  top: -25rem;
  width: 34rem;
}

.page-shell::after {
  height: 30rem;
  right: -20rem;
  top: 35rem;
  width: 30rem;
}

.container {
  margin-inline: auto;
  width: min(1080px, calc(100% - 40px));
}

.site-header {
  align-items: center;
  display: flex;
  height: 96px;
  justify-content: space-between;
}

.brand-link,
.brand-logo {
  display: block;
}

.brand-logo {
  height: auto;
  width: 191px;
}

.tools-link {
  border-bottom: 2px solid var(--blue);
  color: #fff;
  font-size: .875rem;
  font-weight: 700;
  padding-bottom: 4px;
  text-decoration: none;
}

.hero {
  padding: 58px 0 76px;
}

.eyebrow,
.section-kicker,
.offer-kicker {
  font-size: .8125rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 15px;
}

.hero h1 {
  font-size: clamp(2.65rem, 7vw, 5rem);
  letter-spacing: -.065em;
  line-height: .96;
  max-width: 850px;
}

.hero-copy {
  color: #dfdfdf;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.55;
  margin-top: 22px;
  max-width: 670px;
}

.search-panel {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  color: var(--ink);
  margin-top: 42px;
  max-width: 920px;
  padding: 28px;
}

.search-panel label {
  display: block;
  font-size: .9375rem;
  font-weight: 750;
  margin-bottom: 10px;
}

.search-row {
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.input-wrap {
  align-items: center;
  border: 2px solid #cfcfcf;
  border-radius: 12px;
  display: flex;
  min-width: 0;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.input-wrap:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(51, 72, 255, .12);
}

.input-prefix {
  color: #777;
  font-size: 1.0625rem;
  padding-left: 17px;
  user-select: none;
}

.input-wrap input {
  background: transparent;
  border: 0;
  color: var(--ink);
  font-size: 1.0625rem;
  min-width: 0;
  outline: 0;
  padding: 16px 16px 16px 3px;
  width: 100%;
}

.input-wrap input::placeholder {
  color: #9a9a9a;
}

.search-button,
.hosting-button {
  align-items: center;
  background: var(--blue);
  border: 0;
  border-radius: 12px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-weight: 750;
  gap: 14px;
  justify-content: center;
  min-height: 58px;
  padding: 0 24px;
  text-decoration: none;
  transition: background .15s ease, transform .15s ease;
}

.search-button:hover,
.hosting-button:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.search-button:disabled {
  cursor: wait;
  opacity: .7;
  transform: none;
}

.input-hint {
  color: var(--muted);
  font-size: .875rem;
  margin-top: 10px;
}

.form-error {
  background: var(--red-soft);
  border: 1px solid #ffc9c4;
  border-radius: 9px;
  color: var(--red);
  display: none;
  font-size: .9rem;
  font-weight: 600;
  margin-top: 12px;
  padding: 11px 13px;
}

.form-error.is-visible {
  display: block;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 22px;
}

.trust-list span {
  align-items: center;
  color: #d7d7d7;
  display: inline-flex;
  font-size: .875rem;
  font-weight: 650;
  gap: 8px;
}

.trust-list span::before {
  background: #6c7aff;
  border-radius: 50%;
  content: "";
  height: 7px;
  width: 7px;
}

.results-section {
  background: #fff;
  border-radius: 24px;
  color: var(--ink);
  margin-bottom: 78px;
  padding: 40px;
}

.results-heading {
  align-items: end;
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.section-kicker {
  color: var(--blue);
  margin-bottom: 8px;
}

.results-heading h2,
.content-section h2,
.hosting-offer h2 {
  letter-spacing: -.04em;
  line-height: 1.08;
}

.results-heading h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.new-search {
  background: transparent;
  border: 0;
  color: var(--blue);
  cursor: pointer;
  font-size: .9rem;
  font-weight: 750;
  padding: 7px 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.result-group {
  margin-top: 34px;
}

.result-group > h3 {
  color: var(--muted);
  font-size: .8125rem;
  font-weight: 800;
  letter-spacing: .08em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.result-grid {
  display: grid;
  gap: 12px;
}

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

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

.domain-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  min-height: 164px;
  padding: 20px;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.domain-card.is-requested {
  border: 2px solid var(--blue);
  box-shadow: 0 10px 30px rgba(51, 72, 255, .12);
  min-height: 150px;
}

.domain-name {
  font-size: 1.05rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.domain-status {
  align-items: flex-start;
  color: var(--muted);
  display: flex;
  font-size: .9rem;
  gap: 9px;
  line-height: 1.4;
  margin-top: 10px;
}

.status-dot {
  background: #949494;
  border-radius: 50%;
  flex: 0 0 auto;
  height: 9px;
  margin-top: 5px;
  width: 9px;
}

.domain-card[data-state="available"] {
  background: var(--green-soft);
  border-color: #a9d9bd;
}

.domain-card[data-state="available"] .domain-status {
  color: var(--green);
  font-weight: 700;
}

.domain-card[data-state="available"] .status-dot {
  background: var(--green);
}

.domain-card[data-state="unavailable"] .domain-status {
  color: var(--red);
}

.domain-card[data-state="unavailable"] .status-dot {
  background: var(--red);
}

.domain-card[data-state="attention"] {
  background: var(--amber-soft);
  border-color: #ecd184;
}

.domain-card[data-state="attention"] .domain-status {
  color: var(--amber);
}

.domain-card[data-state="attention"] .status-dot {
  background: #d48b00;
}

.domain-card[data-state="loading"] .status-dot {
  animation: pulse 1s ease-in-out infinite;
  background: var(--blue);
}

.domain-action {
  align-items: center;
  align-self: flex-start;
  background: var(--blue);
  border-radius: 9px;
  color: #fff;
  display: inline-flex;
  font-size: .875rem;
  font-weight: 750;
  gap: 9px;
  margin-top: auto;
  padding: 10px 13px;
  text-decoration: none;
}

.domain-action:hover {
  background: var(--blue-dark);
}

.premium-note {
  color: var(--amber);
  display: block;
  font-size: .75rem;
  font-weight: 700;
  margin-top: 5px;
}

.availability-notice {
  border-left: 3px solid var(--blue);
  color: var(--muted);
  font-size: .8125rem;
  line-height: 1.55;
  margin-top: 30px;
  padding: 4px 0 4px 12px;
}

.hosting-offer {
  align-items: center;
  background: linear-gradient(118deg, #020805 0%, #071a10 58%, #063f26 100%);
  border: 1px solid rgba(48, 219, 119, .55);
  border-radius: 18px;
  box-shadow: 0 20px 46px rgba(10, 105, 56, .2);
  color: #fff;
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr auto;
  margin-top: 34px;
  overflow: hidden;
  padding: 28px;
  position: relative;
}

.hosting-offer::after {
  background: #20d36b;
  border-radius: 50%;
  content: "";
  filter: blur(8px);
  height: 190px;
  opacity: .24;
  position: absolute;
  right: -105px;
  top: -120px;
  width: 190px;
}

.offer-kicker {
  color: #77eaa7;
  margin-bottom: 10px;
}

.offer-benefit {
  align-items: center;
  background: rgba(32, 211, 107, .13);
  border: 1px solid rgba(94, 237, 155, .48);
  border-radius: 999px;
  color: #a4f4c4;
  display: inline-flex;
  font-size: .875rem;
  font-weight: 800;
  gap: 8px;
  letter-spacing: .015em;
  margin-bottom: 14px;
  padding: 7px 12px 7px 8px;
  text-transform: uppercase;
}

.benefit-check {
  align-items: center;
  background: #20d36b;
  border-radius: 50%;
  color: #04140b;
  display: inline-flex;
  font-size: .75rem;
  height: 22px;
  justify-content: center;
  width: 22px;
}

.hosting-offer h2 {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  max-width: 660px;
}

.hosting-offer p:not(.offer-kicker) {
  color: #f1f7f3;
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.5;
  margin-top: 10px;
  max-width: 620px;
}

.hosting-offer small {
  color: #9d9d9d;
  display: block;
  font-size: .75rem;
  margin-top: 8px;
}

.hosting-button {
  background: #20d36b;
  box-shadow: 0 12px 28px rgba(32, 211, 107, .26);
  color: #03150a;
  min-width: 230px;
  position: relative;
  white-space: nowrap;
  z-index: 1;
}

.hosting-button:hover {
  background: #4be58b;
  box-shadow: 0 15px 34px rgba(32, 211, 107, .36);
}

.content-section {
  background: var(--surface-soft);
  color: var(--ink);
  padding: 78px 0 86px;
}

.content-grid {
  display: grid;
  gap: 72px;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr);
}

.content-section h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  margin-top: 52px;
}

.content-section .section-kicker + h2 {
  margin-top: 0;
}

.content-section h2 + p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-top: 16px;
}

.tips-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 30px;
}

.tip-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
}

.tip-number {
  color: var(--blue);
  font-size: .8rem;
  font-weight: 800;
}

.tip-card h3 {
  font-size: 1rem;
  margin-top: 18px;
}

.tip-card p {
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.55;
  margin-top: 7px;
}

.faq {
  align-self: start;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
}

.faq h2 {
  font-size: 1.75rem;
  margin: 0 0 18px;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 17px 0;
}

.faq summary {
  cursor: pointer;
  font-size: .9375rem;
  font-weight: 750;
  list-style: none;
  padding-right: 24px;
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  color: var(--blue);
  content: "+";
  font-size: 1.2rem;
  position: absolute;
  right: 0;
  top: -3px;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.65;
  padding-top: 10px;
}

.site-footer {
  align-items: center;
  color: #a9a9a9;
  display: flex;
  font-size: .8125rem;
  justify-content: space-between;
  padding: 30px 0 36px;
}

.site-footer a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

@keyframes pulse {
  0%, 100% { opacity: .3; transform: scale(.8); }
  50% { opacity: 1; transform: scale(1); }
}

@media (max-width: 860px) {
  .primary-grid,
  .compact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .content-grid {
    gap: 50px;
    grid-template-columns: 1fr;
  }

  .hosting-offer {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .hosting-button {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 24px, 1080px);
  }

  .site-header {
    height: 74px;
  }

  .brand-logo {
    width: 158px;
  }

  .tools-link {
    font-size: .75rem;
  }

  .hero {
    padding: 34px 0 50px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .hero-copy {
    margin-top: 18px;
  }

  .search-panel {
    border-radius: 16px;
    margin-top: 30px;
    padding: 18px;
  }

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

  .search-button {
    width: 100%;
  }

  .input-prefix,
  .input-wrap input {
    font-size: 1rem;
  }

  .results-section {
    border-radius: 18px;
    margin-bottom: 52px;
    padding: 24px 18px;
  }

  .results-heading {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }

  .primary-grid,
  .compact-grid,
  .tips-grid {
    grid-template-columns: 1fr;
  }

  .domain-card {
    min-height: 150px;
  }

  .hosting-offer {
    padding: 24px 20px;
  }

  .hosting-button {
    min-width: 0;
    width: 100%;
  }

  .content-section {
    padding: 58px 0 64px;
  }

  .faq {
    padding: 22px 20px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
}

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