:root {
  color-scheme: dark;
  --bg: #050505;
  --panel: #101011;
  --panel-2: #171719;
  --button-secondary: #1f1f22;
  --text: #f5f5f5;
  --muted: #a7a7aa;
  --line: #2a2a2d;
  --red: #ff252f;
  --red-dark: #a20813;
  --blue: #2ea8ff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 18%, rgba(255, 37, 47, 0.32), transparent 28rem),
    radial-gradient(circle at 92% 0%, rgba(255, 37, 47, 0.16), transparent 24rem),
    linear-gradient(180deg, #060606 0%, #0c0c0d 48%, #050505 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  min-height: 100vh;
}

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

.site-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 auto;
  max-width: 1220px;
  min-height: 72px;
  padding: 0.8rem 1.25rem;
}

.brand,
nav {
  align-items: center;
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.brand {
  font-size: 1.28rem;
  font-weight: 900;
}

.brand-logo {
  display: block;
  height: 3.15rem;
  object-fit: contain;
  width: 3.15rem;
}

nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

.hero,
.catalog-hero {
  display: grid;
  gap: clamp(5.5rem, 8vw, 7.25rem);
  margin: 0 auto;
  max-width: 1220px;
  padding: clamp(2rem, 6vh, 4.4rem) 1.25rem clamp(2rem, 6vh, 4rem);
}

.hero {
  grid-template-columns: minmax(0, 0.9fr) minmax(500px, 0.82fr);
  min-height: calc(100svh - 72px);
}

.hero-copy {
  align-self: center;
}

.eyebrow,
.panel-label {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 1rem;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.85rem, 4.1vw, 3.75rem);
  line-height: 1.06;
  margin-bottom: 1.4rem;
  max-width: 580px;
}

.hero-title span {
  display: block;
  white-space: nowrap;
}

h2 {
  font-size: clamp(1.85rem, 3.55vw, 3.85rem);
  line-height: 0.95;
  margin-bottom: 0;
}

.hero-text,
.catalog-hero p {
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.65;
  max-width: 650px;
}

.hero-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.button {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.2rem;
}

.button.primary {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

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

.button.small {
  min-height: 2.5rem;
  padding: 0 0.95rem;
}

.section-actions {
  display: flex;
  justify-content: center;
  margin-top: 1.8rem;
}

.hero-panel {
  align-self: center;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  justify-self: stretch;
  min-height: 330px;
  padding: 1.4rem;
}

.rotating-domain {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1rem;
}

.domain-name {
  font-size: clamp(2rem, 3vw, 2.85rem);
  font-weight: 900;
  line-height: 1.08;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.domain-root,
.domain-extension {
  display: inline;
}

.domain-extension {
  font-size: inherit;
}

.long-domain {
  font-size: clamp(1.7rem, 2.4vw, 2.35rem);
}

.domain-description {
  color: var(--muted);
  display: -webkit-box;
  line-height: 1.55;
  min-height: 6.2em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.rotating-domain .button {
  margin-top: auto;
  line-height: 1.55;
}

.section {
  margin: 0 auto;
  max-width: 1180px;
  padding: 2rem 1.25rem 5rem;
}

.section.compact {
  max-width: 1220px;
  padding-top: 0;
}

.section-heading {
  display: grid;
  justify-items: center;
  margin-bottom: 1.5rem;
  text-align: center;
}

.section-heading .eyebrow {
  font-size: 0.92rem;
  margin-bottom: 1.2rem;
}

.domain-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.domain-card {
  background: rgba(16, 16, 17, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.15rem;
}

.domain-card {
  display: flex;
  flex-direction: column;
  min-height: 340px;
}

.card-topline {
  display: flex;
}

.card-topline {
  color: var(--muted);
  font-size: 0.78rem;
  margin-bottom: 1.2rem;
}

.card-domain-name {
  font-size: clamp(1.45rem, 1.9vw, 1.92rem);
  line-height: 1.12;
  margin-bottom: 0.8rem;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-domain-name.long-domain {
  font-size: clamp(1.2rem, 1.55vw, 1.52rem);
}

.card-domain-name .domain-extension {
  font-size: 0.76em;
}

.domain-card p {
  color: var(--muted);
  line-height: 1.55;
}

.card-description {
  display: -webkit-box;
  min-height: 6.2em;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.card-actions {
  margin-top: auto;
}

.text-link {
  color: var(--blue);
  font-weight: 800;
  padding: 0.65rem 0;
}

.domain-card .button {
  width: 100%;
}

.about-band {
  background: #0d0d0f;
  border-block: 1px solid var(--line);
  padding: 4rem max(1.25rem, calc((100vw - 1180px) / 2));
}

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

.about-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 1.35rem auto 0;
  max-width: 760px;
}

.about-actions {
  justify-content: center;
}

.catalog-hero {
  display: block;
  min-height: auto;
  padding-bottom: 2rem;
}

.catalog-hero h1 {
  margin-bottom: 1rem;
}

.toolbar {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(0, 1fr) 220px;
  margin-top: 2rem;
  max-width: 850px;
}

input,
select,
textarea {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font: inherit;
  min-height: 3rem;
  padding: 0 0.9rem;
}

select option {
  background: #111;
}

textarea {
  min-height: 9rem;
  padding-top: 0.85rem;
  resize: vertical;
}

.contact-shell {
  margin: 0 auto;
  max-width: 900px;
  padding: 4.5rem 1.25rem 5rem;
}

.contact-form {
  display: grid;
  gap: 1.1rem;
  margin-top: 2.15rem;
}

.contact-form .button {
  margin-top: 0;
}

.form-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
}

.field {
  display: grid;
  gap: 0.55rem;
}

.field label {
  color: #c8c8cc;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.1;
}

.contact-note {
  color: var(--muted);
  line-height: 1.7;
  margin-top: 1rem;
}

footer {
  align-items: center;
  color: var(--muted);
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr auto 1fr;
  margin: 0 auto;
  max-width: 1180px;
  padding: 2rem 1.25rem;
}

footer > a:last-child {
  justify-self: end;
}

.footer-nav {
  align-items: center;
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

.loading-line {
  background: #242426;
  border-radius: 999px;
  display: block;
  height: 2rem;
  width: 90%;
}

.loading-line.short {
  height: 1rem;
  width: 60%;
}

.empty,
.load-error {
  color: var(--muted);
}

@media (max-width: 1100px) {
  .hero {
    gap: 3rem;
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-panel {
    justify-self: stretch;
    max-width: 680px;
  }

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

@media (max-width: 860px) {
  .site-header,
  nav,
  footer {
    align-items: flex-start;
  }

  .site-header {
    flex-direction: column;
    min-height: auto;
    padding-top: 1rem;
  }

  footer {
    grid-template-columns: 1fr;
  }

  footer > a:last-child {
    justify-self: start;
  }

  .footer-nav {
    justify-content: flex-start;
  }

  nav,
  .footer-nav {
    row-gap: 0.45rem;
  }

  .hero,
  .form-row,
  .toolbar {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 2rem;
  }

  .hero-title span {
    white-space: normal;
  }

  .domain-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(2.55rem, 12vw, 3.6rem);
  }

  .domain-name {
    font-size: clamp(1.8rem, 9vw, 2.8rem);
  }
}

@media (max-width: 520px) {
  body {
    background:
      radial-gradient(circle at 0% 10%, rgba(255, 37, 47, 0.28), transparent 19rem),
      linear-gradient(180deg, #060606 0%, #0c0c0d 48%, #050505 100%);
  }

  .site-header {
    gap: 0.7rem;
  }

  .brand {
    font-size: 1.12rem;
  }

  .brand-logo {
    height: 2.65rem;
    width: 2.65rem;
  }

  nav a,
  .footer-nav a {
    font-size: 0.92rem;
  }

  .hero,
  .catalog-hero,
  .section,
  .section.compact,
  .contact-shell {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero {
    gap: 2rem;
  }

  h1 {
    font-size: clamp(2.35rem, 11vw, 3rem);
    line-height: 1.04;
  }

  h2 {
    font-size: clamp(2rem, 11vw, 2.85rem);
    line-height: 1.02;
  }

  .hero-text,
  .catalog-hero p,
  .about-heading p:not(.eyebrow) {
    font-size: 1rem;
    line-height: 1.6;
  }

  .hero-actions,
  .card-actions {
    gap: 0.65rem;
  }

  .button {
    min-height: 2.85rem;
    padding-inline: 1rem;
  }

  .hero-panel {
    min-height: 310px;
    padding: 1.1rem;
  }

  .domain-name {
    font-size: clamp(1.75rem, 8vw, 2.2rem);
  }

  .domain-card {
    min-height: 320px;
    padding: 1rem;
  }

  .card-domain-name {
    font-size: clamp(1.35rem, 7vw, 1.65rem);
  }

  .card-domain-name.long-domain {
    font-size: clamp(1.1rem, 5.8vw, 1.35rem);
  }

  .toolbar {
    max-width: none;
  }

  footer {
    padding: 1.5rem 1rem;
  }
}
