:root {
  --ink: #18201f;
  --muted: #64716e;
  --paper: #f7f5ee;
  --panel: #ffffff;
  --line: #d8ddd4;
  --teal: #0d756e;
  --teal-dark: #07534e;
  --amber: #c9832b;
  --clay: #aa5f4d;
  --charcoal: #101817;
  --shadow: 0 20px 55px rgba(16, 24, 23, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section,
.offer-section {
  scroll-margin-top: 82px;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: #fff;
  background: rgba(12, 18, 17, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--amber);
  color: #16110a;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 34px);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  font-weight: 600;
}

.main-nav a,
.site-footer a {
  transition: color 160ms ease;
}

.main-nav a:hover,
.site-footer a:hover {
  color: #fff;
}

.header-action,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 800;
  border: 1px solid transparent;
  cursor: pointer;
}

.header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.lang-button {
  min-width: 34px;
  height: 34px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.lang-button.active {
  background: #fff;
  color: var(--charcoal);
}

.header-action,
.primary-button {
  background: var(--amber);
  color: #171109;
}

.secondary-button {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  padding: 132px clamp(18px, 5vw, 72px) 72px;
  overflow: hidden;
  color: #fff;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/hero-domain-marketplace.png");
  background-size: cover;
  background-position: center right;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 13, 12, 0.94) 0%, rgba(8, 13, 12, 0.75) 42%, rgba(8, 13, 12, 0.2) 100%),
    linear-gradient(0deg, rgba(8, 13, 12, 0.88) 0%, rgba(8, 13, 12, 0) 36%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 7vw, 6.7rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 610px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 52px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 150px));
  gap: 14px;
  margin: 0;
}

.hero-stats div {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-stats dt {
  font-size: 1.6rem;
  font-weight: 800;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

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

.trust-band div {
  min-height: 132px;
  padding: 28px clamp(20px, 4vw, 54px);
  background: #fbfaf5;
}

.trust-band strong,
.trust-band span {
  display: block;
}

.trust-band strong {
  margin-bottom: 8px;
  font-size: 1rem;
}

.trust-band span {
  color: var(--muted);
  line-height: 1.55;
}

.portfolio-overview-section {
  background: #fff;
}

.portfolio-overview-section .section-heading {
  margin-bottom: 20px;
}

.overview-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.overview-column {
  min-height: 290px;
  padding: 24px;
  background: #fbfaf5;
}

.overview-column h3 {
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.overview-list {
  display: grid;
  gap: 2px;
}

.overview-link {
  width: 100%;
  min-height: 34px;
  padding: 7px 0;
  border: 0;
  border-bottom: 1px solid rgba(24, 32, 31, 0.08);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  overflow-wrap: anywhere;
}

.overview-link:hover,
.overview-link:focus-visible {
  color: var(--teal-dark);
}

.section {
  padding: 86px clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.offer-copy p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.toolbar {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(170px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.active-sites-section {
  background: #fbfaf5;
}

.bundle-section {
  background: #fff;
}

.brand-assets-section {
  background: var(--paper);
}

.social-accounts-section {
  background: #fbfaf5;
}

.bundle-grid,
.active-site-grid,
.brand-asset-grid,
.social-account-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.bundle-card,
.active-site-card,
.brand-asset-card,
.social-account-card,
.empty-state {
  display: grid;
  gap: 18px;
  min-height: 310px;
  padding: 22px;
  border: 1px solid rgba(13, 117, 110, 0.22);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(24, 32, 31, 0.08);
}

.bundle-card {
  border-color: rgba(201, 131, 43, 0.5);
  box-shadow: var(--shadow);
}

.brand-asset-card {
  border-color: rgba(201, 131, 43, 0.34);
}

.social-account-card {
  border-color: rgba(13, 117, 110, 0.34);
}

.empty-state {
  grid-column: 1 / -1;
  min-height: 180px;
  align-content: center;
  box-shadow: none;
}

.empty-state h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.empty-state p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

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

label span {
  color: var(--muted);
  font-size: 0.84rem;
}

select,
input,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

textarea {
  resize: vertical;
}

select:focus,
input:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(13, 117, 110, 0.13);
}

.domain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.domain-card {
  display: grid;
  gap: 18px;
  min-height: 358px;
  padding: 22px;
  border: 1px solid rgba(24, 32, 31, 0.1);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 12px 34px rgba(24, 32, 31, 0.06);
}

.domain-card.featured {
  border-color: rgba(201, 131, 43, 0.5);
  box-shadow: var(--shadow);
}

.domain-card.expired {
  border-color: rgba(170, 95, 77, 0.34);
}

.card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.domain-name {
  overflow-wrap: anywhere;
  font-size: 1.5rem;
  line-height: 1.1;
  font-weight: 800;
}

.brand-name {
  margin: 7px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.status-pill {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(13, 117, 110, 0.12);
  color: var(--teal-dark);
  font-size: 0.75rem;
  font-weight: 800;
}

.expired .status-pill {
  background: rgba(170, 95, 77, 0.12);
  color: var(--clay);
}

.domain-summary {
  color: var(--muted);
  line-height: 1.62;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.social-row span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(13, 117, 110, 0.1);
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 800;
}

.domain-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
}

.domain-meta div {
  min-height: 72px;
  padding: 12px;
  border-radius: 8px;
  background: #f4f3ed;
}

.domain-meta span {
  display: block;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.domain-meta strong {
  display: block;
  margin-top: 5px;
  overflow-wrap: anywhere;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.price {
  color: var(--clay);
  font-weight: 800;
}

.text-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--teal-dark);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.process-section {
  background: var(--charcoal);
  color: #fff;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.process-grid article {
  min-height: 250px;
  padding: 30px;
  background: #14211f;
}

.process-grid span {
  display: block;
  margin-bottom: 34px;
  color: var(--amber);
  font-weight: 800;
}

.process-grid h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.process-grid p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.65;
}

.offer-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
  padding: 86px clamp(18px, 5vw, 72px);
  background: #fbfaf5;
}

.contact-strip {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-strip a {
  color: var(--teal-dark);
  font-weight: 800;
}

.offer-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.full-field {
  grid-column: 1 / -1;
}

.offer-form .primary-button {
  border: 0;
}

.offer-form .primary-button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.legal-note,
.privacy-note {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(170, 95, 77, 0.22);
  border-radius: 8px;
  background: rgba(170, 95, 77, 0.08);
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.privacy-note {
  border-color: rgba(13, 117, 110, 0.2);
  background: rgba(13, 117, 110, 0.07);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 72px);
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .trust-band,
  .overview-grid,
  .bundle-grid,
  .active-site-grid,
  .brand-asset-grid,
  .social-account-grid,
  .domain-grid,
  .process-grid,
  .offer-section {
    grid-template-columns: 1fr;
  }

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

  .hero {
    min-height: 88vh;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 64px;
    padding: 12px 16px;
    gap: 12px;
  }

  .brand span:last-child {
    display: none;
  }

  .header-action {
    display: none;
  }

  .language-switch {
    padding: 2px;
  }

  .lang-button {
    min-width: 32px;
    min-height: 40px;
  }

  .hero {
    min-height: calc(100svh - 20px);
    padding: 96px 16px 38px;
  }

  h1 {
    font-size: 3rem;
  }

  .hero-actions a,
  .offer-form button {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .hero-stats dt {
    font-size: 1.2rem;
  }

  .hero-stats dd {
    font-size: 0.82rem;
  }

  .section,
  .offer-section {
    padding: 58px 16px;
  }

  .offer-form,
  .domain-meta {
    grid-template-columns: 1fr;
  }
}
