/* The promo page of a domain bought on ZATS Market (promo/README.md), in the website's system:
   DESIGN.md §1–§4 — the neutrals, ZATS orange as the one accent, Inter Tight and Geist Mono, pill
   buttons and 20 px panels. One file, no script. */

@font-face {
  font-family: 'Inter Tight';
  src: url('/fonts/InterTight-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: 'Geist Mono';
  src: url('/fonts/GeistMono-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --black: #0a0a0b;
  --anthracite: #232323;
  --grey: #999999;
  --grey-deep: #6b6b6b;
  --mist: #f3f3f3;
  --white: #ffffff;
  --accent: #f98500;
  --radius: 20px;
  --gutter: clamp(16px, 4vw, 40px);
  --measure: 1120px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--black);
  color: var(--white);
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background: var(--black);
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.label {
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* The top bar */
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--measure);
  margin: 0 auto;
  padding: 20px var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-name {
  font-size: 24px;
  letter-spacing: -0.03em;
}

.brand .label {
  color: var(--grey);
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 150ms;
}

.pill-accent {
  background: var(--accent);
  color: var(--black);
}

.pill-accent:hover {
  background: var(--white);
}

.pill-dark {
  background: var(--black);
  color: var(--white);
}

.pill-dark:hover {
  background: var(--anthracite);
}

main {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* The hero */
.hero {
  padding: clamp(56px, 12vw, 140px) 0 clamp(48px, 8vw, 96px);
}

.tag {
  display: inline-block;
  margin: 0 0 24px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--anthracite);
  color: var(--accent);
}

h1 {
  margin: 0;
  font-size: clamp(44px, 11vw, 148px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.05em;
  overflow-wrap: anywhere;
}

.lede {
  max-width: 34ch;
  margin: 28px 0 0;
  color: var(--grey);
  font-size: clamp(20px, 2.6vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.lede em {
  color: var(--white);
  font-style: normal;
}

/* The receipt: a white panel, like the market's pay step */
.receipt {
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--black);
}

.receipt h2 {
  margin: 0 0 12px;
  color: var(--grey-deep);
}

.receipt dl {
  margin: 0;
}

.receipt dl > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  padding: 16px 0;
  border-top: 1px solid var(--mist);
}

.receipt dt {
  color: var(--grey-deep);
}

.receipt dd {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

@media (min-width: 720px) {
  .receipt dl > div {
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: baseline;
    gap: 24px;
  }

  .receipt dd {
    font-size: 20px;
  }
}

/* The steps */
.steps {
  padding: clamp(64px, 10vw, 120px) 0;
}

.steps h2,
.cta h2 {
  margin: 0;
  font-size: clamp(32px, 5.4vw, 64px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}

.steps ol {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 900px) {
  .steps ol {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.steps li {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--anthracite);
}

.step-number {
  color: var(--accent);
}

.steps h3 {
  margin: 18px 0 10px;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.steps p {
  margin: 0;
  color: var(--grey);
  font-size: 17px;
  line-height: 1.4;
}

/* The call to act: the one orange panel */
.cta {
  padding: clamp(32px, 6vw, 72px);
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--black);
}

.cta h2 span {
  display: block;
}

.cta p {
  max-width: 40ch;
  margin: 20px 0 32px;
  font-size: 20px;
  line-height: 1.3;
}

/* The foot */
.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  max-width: var(--measure);
  margin: 0 auto;
  padding: 48px var(--gutter);
  color: var(--grey);
  font-size: 15px;
}

.foot p {
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .pill {
    transition: none;
  }
}
