:root {
  --background: #f8f5ef;
  --ink: #17191f;
  --muted: #6d6b68;
  --rule: #ddd7cd;
  --button: #151515;
  --button-hover: #2a2a2a;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--background);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background: var(--background);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-shell {
  width: min(100%, 1140px);
  margin: 0 auto;
  padding: 54px 34px 38px;
}

.hero {
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  padding: 8px 0 28px;
}

h1,
h2,
h3,
p,
.domain-name {
  overflow-wrap: anywhere;
}

h1 {
  width: 100%;
  max-width: 980px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.5rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.hero-domain-name,
.hero-sale-line {
  display: block;
}

.hero-domain-name {
  max-width: 100%;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}

.hero-domain-name.is-long {
  font-size: 0.86em;
}

.hero-domain-name.is-extra-long {
  font-size: 0.72em;
}

.primary-button,
.row-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.primary-button {
  min-width: 232px;
  min-height: 54px;
  margin-top: 24px;
  padding: 14px 30px;
  border: 1px solid var(--button);
  border-radius: 8px;
  color: #fff;
  background: var(--button);
  font-size: 1.06rem;
  font-weight: 800;
}

.primary-button:hover {
  background: var(--button-hover);
  border-color: var(--button-hover);
  transform: translateY(-1px);
}

.primary-button:focus-visible,
.row-button:focus-visible {
  outline: 3px solid rgba(23, 25, 31, 0.22);
  outline-offset: 3px;
}

.secure-note {
  max-width: 720px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.ad-section {
  padding: 0 0 26px;
}

.ad-image-link {
  display: block;
  width: min(100%, 790px);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #d8d1c6;
  border-radius: 8px;
  background: #fbf8f2;
  box-shadow: 0 12px 28px rgba(23, 25, 31, 0.11);
  transition:
    box-shadow 160ms ease,
    transform 160ms ease;
}

.ad-image-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(23, 25, 31, 0.13);
}

.ad-image-link:focus-visible {
  outline: 3px solid rgba(23, 25, 31, 0.22);
  outline-offset: 3px;
}

.ad-image-link img {
  display: block;
  width: 100%;
  height: auto;
}

.portfolio {
  padding: 34px 0 42px;
  border-top: 1px solid var(--rule);
}

.domain-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 64px;
  align-items: start;
}

.domain-column {
  display: grid;
  gap: 36px;
  align-content: start;
}

.domain-group + .domain-group {
  padding-top: 34px;
  border-top: 1px solid var(--rule);
}

.domain-group h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.25;
}

.domain-list {
  display: grid;
  gap: 8px;
}

.domain-row {
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.domain-name {
  min-width: 0;
  font-size: 0.96rem;
  font-weight: 450;
  line-height: 1.2;
}

.row-button {
  flex: 0 0 auto;
  min-width: 122px;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid #c8c1b8;
  border-radius: 6px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.22);
  font-size: 0.64rem;
  font-weight: 800;
  white-space: nowrap;
}

.row-button:hover {
  color: #fff;
  background: var(--button);
  border-color: var(--button);
  transform: translateY(-1px);
}

.hero-payments {
  width: 100%;
  margin-top: 20px;
  text-align: center;
}

.hero-payments h2 {
  margin: 0 0 10px;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.3;
}

.payment-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
}

.payment-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 4px 8px;
  border: 1px solid #d2ccc3;
  border-radius: 6px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.34);
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1;
}

@media (max-width: 1060px) {
  .page-shell {
    padding-right: 26px;
    padding-left: 26px;
  }

  h1 {
    font-size: 3.65rem;
  }

  .domain-groups {
    gap: 34px;
  }

  .domain-name {
    font-size: 0.9rem;
  }
}

@media (max-width: 820px) {
  .page-shell {
    padding: 42px 18px 34px;
  }

  .hero {
    padding: 6px 0 30px;
  }

  h1 {
    font-size: 2.85rem;
  }

  .primary-button {
    width: min(100%, 260px);
    margin-top: 24px;
  }

  .ad-section {
    padding-bottom: 24px;
  }

  .domain-groups {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .domain-column {
    gap: 30px;
  }

  .domain-column + .domain-column {
    padding-top: 30px;
    border-top: 1px solid var(--rule);
  }

  .domain-group + .domain-group {
    padding-top: 30px;
  }

  .domain-group h3 {
    font-size: 1rem;
  }

  .domain-row {
    min-height: 34px;
    gap: 10px;
  }

  .domain-name {
    font-size: 0.98rem;
  }

  .row-button {
    min-width: 130px;
    min-height: 32px;
  }
}

@media (max-width: 460px) {
  .page-shell {
    padding-top: 34px;
  }

  h1 {
    font-size: 2.05rem;
  }

  .hero-domain-name.is-long {
    font-size: 0.78em;
  }

  .hero-domain-name.is-extra-long {
    font-size: 0.63em;
  }

  .secure-note {
    font-size: 0.82rem;
  }

  .domain-row {
    min-height: 32px;
    gap: 8px;
    padding: 2px 0;
  }

  .domain-name {
    font-size: 0.92rem;
  }

  .row-button {
    min-width: 124px;
  }

  .payment-grid {
    gap: 7px;
  }

  .payment-grid span {
    min-height: 24px;
    padding: 4px 6px;
    font-size: 0.58rem;
  }
}
