:root {
  --bg: #f4f1ea;
  --paper: #fffdf8;
  --ink: #171717;
  --muted: #77736b;
  --line: #d8d3c8;
  --accent: #ff5a1f;
  --max: 1120px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.45;
}

a { color: inherit; }

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

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(244, 241, 234, .92);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  font-weight: 950;
  letter-spacing: -1px;
  text-decoration: none;
  font-size: 21px;
}

.brand span { color: var(--accent); }

.text-link {
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 0 24px;
  background: var(--ink);
  color: white;
  border-radius: 999px;
  text-decoration: none;
  border: 0;
  font-weight: 850;
  cursor: pointer;
  font-size: 15px;
  transition: transform .15s ease, opacity .15s ease;
}

.button:hover { transform: translateY(-2px); }
.button-small { min-height: 42px; padding: 0 18px; font-size: 14px; }
.button-full { width: 100%; }

.hero {
  padding-top: 105px;
  padding-bottom: 95px;
}

.eyebrow {
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .15em;
  margin: 0 0 16px;
}

.hero h1 {
  font-size: clamp(52px, 8vw, 96px);
  line-height: .91;
  letter-spacing: -.065em;
  margin: 0;
  max-width: 920px;
}

.hero h1 span { color: var(--accent); }

.hero-copy {
  max-width: 620px;
  color: var(--muted);
  font-size: 19px;
  margin: 28px 0;
}

.stats {
  margin-top: 60px;
  display: flex;
  gap: 45px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.stats div { display: grid; gap: 2px; }
.stats strong { font-size: 25px; }
.stats span { color: var(--muted); font-size: 12px; }

.board-section {
  padding-bottom: 110px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 22px;
}

.section-heading h2,
.how h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -.045em;
  line-height: 1;
}

.live {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
}

.live::first-letter { color: var(--accent); }

.ad-list {
  border-top: 1px solid var(--ink);
}

.ad-card {
  min-height: 118px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 23px 10px;
}

.ad-card.first {
  background: var(--paper);
  border: 2px solid var(--ink);
  margin: 12px 0;
  border-radius: 18px;
  padding: 26px 18px;
}

.rank {
  font-size: 20px;
  font-weight: 900;
}

.ad-message {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 5px;
}

.ad-link {
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.ad-date {
  color: var(--muted);
  font-size: 11px;
  margin: 7px 0 0;
}

.ad-price {
  font-size: 18px;
  font-weight: 950;
  white-space: nowrap;
}

.empty {
  background: var(--paper);
  border: 1px dashed var(--line);
  padding: 60px 30px;
  text-align: center;
  border-radius: 18px;
}

.empty-number { font-size: 70px; font-weight: 950; letter-spacing: -.08em; }
.empty h3 { margin: 0 0 8px; font-size: 26px; }
.empty p { color: var(--muted); margin-bottom: 25px; }

.how {
  padding: 80px 0 120px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 80px;
}

.rules { display: grid; gap: 0; }

.rules > div {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  display: grid;
  grid-template-columns: 50px 1fr;
  column-gap: 20px;
}

.rules > div:last-child { border-bottom: 1px solid var(--line); }

.rules b { font-size: 12px; }
.rules h3 { margin: 0 0 5px; font-size: 18px; }
.rules p { grid-column: 2; color: var(--muted); margin: 0; font-size: 14px; }

.footer {
  border-top: 1px solid var(--line);
  padding: 25px 0;
  font-size: 12px;
  color: var(--muted);
}

.form-page {
  padding-top: 80px;
  padding-bottom: 100px;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 100px;
}

.form-intro h1 {
  font-size: clamp(52px, 7vw, 80px);
  line-height: .92;
  letter-spacing: -.06em;
  margin: 0 0 24px;
}

.form-intro > p:last-child {
  color: var(--muted);
  max-width: 390px;
}

.ad-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 30px;
}

.ad-form label {
  display: block;
  margin-bottom: 22px;
}

.ad-form label > span {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-weight: 850;
  font-size: 14px;
  margin-bottom: 8px;
}

small, .hint { color: var(--muted); font-weight: 500; }

textarea, input {
  width: 100%;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
  border-radius: 12px;
  font: inherit;
  outline: none;
}

textarea {
  min-height: 145px;
  padding: 15px;
  resize: vertical;
}

input {
  height: 52px;
  padding: 0 15px;
}

textarea:focus, input:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(23,23,23,.08);
}

.price-input {
  position: relative;
}

.price-input input { padding-right: 40px; }
.price-input > span {
  position: absolute;
  right: 15px;
  top: 14px;
  font-weight: 900;
}

.hint {
  display: block;
  margin-top: 7px;
  font-size: 12px;
}

.immutable {
  padding: 15px;
  border: 1px solid #e1c8b7;
  background: #fff5ed;
  border-radius: 12px;
  margin: 28px 0 18px;
  font-size: 13px;
}

.immutable p { margin: 5px 0 0; color: var(--muted); }

.alert, .notice {
  grid-column: 1 / -1;
  padding: 14px 16px;
  border-radius: 12px;
  margin-bottom: -70px;
  background: #fff0ec;
  border: 1px solid #e6b4a7;
  font-weight: 700;
}

.notice { background: #fffdf8; border-color: var(--line); }

.secure {
  color: var(--muted);
  font-size: 11px;
  text-align: center;
  margin: 13px 0 0;
}

.center-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 30px;
}

.success-card {
  max-width: 620px;
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 60px 40px;
}

.success-card h1 {
  font-size: clamp(42px, 7vw, 70px);
  letter-spacing: -.06em;
  line-height: .95;
  margin: 0 0 18px;
}

.success-card p:not(.eyebrow) {
  color: var(--muted);
  margin: 0 auto 28px;
}

.success-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  margin: 0 auto 25px;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-size: 28px;
  font-weight: 900;
}

@media (max-width: 800px) {
  .hero { padding-top: 70px; padding-bottom: 70px; }
  .form-page, .how { grid-template-columns: 1fr; gap: 45px; }
  .form-page { padding-top: 55px; }
  .alert, .notice { margin-bottom: 0; grid-column: auto; }
  .section-heading { align-items: start; flex-direction: column; }
  .ad-card { grid-template-columns: 55px 1fr auto; gap: 12px; }
  .ad-card.first { padding: 22px 14px; }
  .ad-message { font-size: 16px; }
  .ad-price { font-size: 15px; }
  .stats { gap: 25px; }
}

@media (max-width: 520px) {
  .container { width: min(calc(100% - 26px), var(--max)); }
  .nav { min-height: 64px; }
  .button-small { padding: 0 13px; }
  .hero h1 { font-size: 55px; }
  .ad-card { grid-template-columns: 42px 1fr; }
  .ad-price { grid-column: 2; justify-self: start; margin-top: 2px; }
  .ad-card.first { margin-inline: 0; }
  .ad-form { padding: 20px; }
  .success-card { padding: 45px 22px; }
}
