:root {
  color-scheme: light;
  --ink: #17191f;
  --muted: #616879;
  --line: #dde3eb;
  --paper: #ffffff;
  --soft: #f5f7fa;
  --red: #d8473f;
  --teal: #007c89;
  --yellow: #f4bd3c;
  --navy: #202a44;
  --shadow: 0 20px 60px rgba(23, 25, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(221, 227, 235, 0.8);
  backdrop-filter: blur(14px);
}

.brand,
.header-link,
.primary-link {
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--teal));
}

.header-link {
  font-weight: 700;
  color: var(--teal);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 62px));
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #11151d;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 15, 20, 0.86) 0%, rgba(12, 15, 20, 0.55) 43%, rgba(12, 15, 20, 0.1) 72%),
    url("/assets/hero-cards.png") center / cover no-repeat;
}

.hero-content {
  position: relative;
  width: min(720px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 88px);
  padding: 84px 0 120px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--yellow);
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 680px;
  font-size: clamp(3rem, 8vw, 6.8rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 4rem);
}

.hero-content p:not(.eyebrow),
.section-copy > p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.6;
}

.primary-link,
.submit-button,
.secondary-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.primary-link,
.submit-button {
  padding: 0 22px;
  color: #10131a;
  background: var(--yellow);
  box-shadow: 0 12px 28px rgba(244, 189, 60, 0.22);
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-band div {
  display: grid;
  gap: 8px;
  padding: 28px clamp(18px, 4vw, 48px);
  background: var(--paper);
}

.trust-band strong {
  color: var(--navy);
}

.trust-band span,
.section-copy,
.sell-form,
footer {
  color: var(--muted);
  line-height: 1.55;
}

.form-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 560px);
  gap: clamp(32px, 6vw, 96px);
  padding: clamp(56px, 8vw, 112px) clamp(18px, 7vw, 88px);
  background:
    linear-gradient(180deg, #fff 0%, var(--soft) 100%);
}

.section-copy .eyebrow {
  color: var(--teal);
}

.section-copy > p {
  color: var(--muted);
}

dl {
  display: grid;
  gap: 16px;
  margin: 32px 0 0;
}

dt {
  font-weight: 850;
  color: var(--ink);
}

dd {
  margin: 4px 0 0;
}

.sell-form {
  display: grid;
  gap: 18px;
  align-self: start;
  padding: clamp(20px, 4vw, 34px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 750;
  color: var(--ink);
}

input,
textarea {
  width: 100%;
  border: 1px solid #c9d2df;
  border-radius: 8px;
  padding: 13px 14px;
  font: inherit;
  color: var(--ink);
  background: #fff;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(0, 124, 137, 0.2);
  border-color: var(--teal);
}

.bot-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.captcha-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 12px;
}

.secondary-button {
  padding: 0 16px;
  color: var(--teal);
  background: #e8f5f6;
}

.submit-button {
  width: 100%;
  font-size: 1rem;
}

.submit-button[disabled] {
  opacity: 0.68;
  cursor: wait;
}

.form-status {
  min-height: 24px;
  margin: 0;
  font-weight: 750;
}

.form-status.success {
  color: #126b3a;
}

.form-status.error {
  color: #b42318;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 7vw, 88px);
  background: #11151d;
  color: rgba(255, 255, 255, 0.76);
}

@media (max-width: 860px) {
  .hero {
    min-height: 690px;
    align-items: end;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(12, 15, 20, 0.28) 0%, rgba(12, 15, 20, 0.88) 70%),
      url("/assets/hero-cards.png") center / cover no-repeat;
  }

  .hero-content {
    margin: 0 auto;
    padding: 240px 0 52px;
  }

  .trust-band,
  .form-section,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-section {
    padding-top: 52px;
  }

  .captcha-row {
    grid-template-columns: 1fr;
  }

  footer {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding-inline: 14px;
  }

  .hero-content,
  .form-section {
    width: auto;
  }

  h1 {
    font-size: 2.72rem;
  }

  .sell-form {
    padding: 18px;
  }
}
