:root {
  color-scheme: light;
  --background: #f8f8f6;
  --text: #151515;
  --muted: #676a63;
  --line: rgba(21, 21, 21, 0.14);
  --accent: #236354;
  --accent-strong: #17473c;
  --surface: rgba(255, 255, 255, 0.64);
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, var(--background) 52%, #efefeb 100%);
  line-height: 1.5;
}

a {
  color: inherit;
}

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

.page-shell {
  width: 100%;
  display: grid;
  place-items: center;
  padding: 4rem 1.25rem 2rem;
}

.sale-panel {
  width: min(100%, 45rem);
  padding: clamp(1rem, 3vw, 2.5rem) 0;
  text-align: center;
}

.eyebrow {
  margin: 0 0 1.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow span,
.price-label span {
  margin-inline-start: 0.4em;
}

h1 {
  margin: 0;
  font-size: clamp(1.85rem, 10.25vw, 7.4rem);
  line-height: 1;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.price {
  margin: 1.7rem 0 0;
  color: var(--accent-strong);
}

.price-label {
  display: block;
  font-size: 1rem;
  color: var(--muted);
}

.price strong {
  display: block;
  font-size: clamp(2rem, 5.4vw, 3.15rem);
  font-variant-numeric: tabular-nums;
  line-height: 1.25;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.45rem;
}

.primary-action,
.secondary-action {
  min-height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 0.85rem 1.15rem;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.secondary-action[hidden] {
  display: none;
}

.primary-action {
  border: 1px solid var(--accent-strong);
  background: var(--accent-strong);
  color: #ffffff;
}

.secondary-action {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
}

.primary-action:hover,
.secondary-action:hover {
  transform: translateY(-1px);
}

.primary-action:focus-visible,
.secondary-action:focus-visible,
.listings a:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 4px;
}

.secondary-action:hover {
  border-color: rgba(23, 71, 60, 0.36);
  background: rgba(255, 255, 255, 0.9);
}

.copy-status {
  min-height: 1.35rem;
  margin: 0.35rem 0 0;
  color: var(--accent);
  font-size: 0.9rem;
}

.domain-copy {
  max-width: 37rem;
  margin-inline: auto;
  color: var(--muted);
}

.domain-copy p {
  margin: 0.55rem 0 0;
  line-height: 1.65;
}

.collection {
  width: min(calc(100% - 2.5rem), 49rem);
  margin: 0 auto 2.25rem;
  padding: clamp(1rem, 4vw, 1.85rem);
  border: 1px solid #dbe4dc;
  border-radius: 1.4rem;
  background: linear-gradient(145deg, #f6fbf7, #edf3ee);
  box-shadow: 0 20px 45px -34px rgba(23, 71, 60, 0.55);
}

.collection-header {
  margin-bottom: 1.15rem;
  padding: 0.1rem 0.1rem 0;
}

.collection h2 {
  margin: 0;
  font-size: clamp(1.2rem, 3vw, 1.65rem);
  letter-spacing: -0.025em;
  color: var(--accent-strong);
}

.collection-header p {
  margin: 0.2rem 0 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.listings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.listings a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  min-height: 4.15rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid #dce6de;
  border-radius: 0.85rem;
  background: #fff;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.listings a:hover {
  border-color: #90b19c;
  box-shadow: 0 5px 12px rgba(23, 71, 60, 0.10);
  transform: translateY(-1px);
}

.listings img {
  display: block;
}

.listing-name {
  display: block;
  overflow-wrap: anywhere;
  font-weight: 700;
}

.listings strong {
  display: block;
  color: var(--accent-strong);
  font-size: 0.87rem;
  font-variant-numeric: tabular-nums;
}

.listing-arrow {
  color: var(--accent);
  font-size: 1.2rem;
}

.site-footer {
  width: min(100%, 58rem);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2rem;
  color: rgba(103, 106, 99, 0.9);
  font-size: 0.78rem;
  text-align: center;
}

.site-footer p {
  margin: 0.35rem 0;
}

@media (max-width: 40rem) {
  .page-shell {
    padding-top: 1.75rem;
  }

  .sale-panel {
    padding: 1rem 0;
  }

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

  .actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

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