/*
Theme Name: Buy This Domain Landing
Theme URI: https://example.com/
Author: Codex
Author URI: https://example.com/
Description: A single-purpose premium domain sale landing page with editable inquiry and PayPal buy-now settings.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: buy-this-domain-landing
*/

:root {
  --ink: #101412;
  --paper: #fbfaf6;
  --paper-deep: #f1eee6;
  --mist: #e8f4f1;
  --teal: #0f766e;
  --teal-dark: #0b4f4a;
  --brass: #c99b44;
  --wood: #5e4635;
  --white: #ffffff;
  --muted: #5d6662;
  --shadow: 0 22px 55px rgba(10, 16, 14, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 40px;
  color: var(--white);
}

.admin-bar .site-header {
  top: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.brand [data-domain-label] {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  flex: 0 0 auto;
  margin-left: auto;
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.88;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  opacity: 1;
}

.nav-paypal {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.hero {
  --hero-image: url("assets/domain-hero.png");
  min-height: calc(100svh - 88px);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8, 12, 11, 0.94) 0%, rgba(8, 12, 11, 0.82) 34%, rgba(8, 12, 11, 0.28) 68%, rgba(8, 12, 11, 0.12) 100%),
    var(--hero-image) center right / cover no-repeat;
}

.hero-inner {
  width: min(760px, calc(100% - 80px));
  margin-left: max(40px, calc((100vw - 1180px) / 2));
  padding: 130px 0 80px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--brass);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: var(--domain-title-size, 3.55rem);
  line-height: 1.02;
  letter-spacing: 0;
  overflow-wrap: break-word;
  word-break: normal;
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.22rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
  margin-top: 34px;
}

.inquiry-form {
  display: flex;
  align-items: center;
  width: min(100%, 500px);
  min-height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.inquiry-form input {
  width: 100%;
  min-width: 0;
  height: 54px;
  border: 0;
  padding: 0 18px;
  color: var(--white);
  background: transparent;
  outline: none;
}

.inquiry-form input::placeholder {
  color: rgba(255, 255, 255, 0.66);
}

.inquiry-form button,
.paypal-button {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 0;
  border-radius: 8px;
  padding: 0 22px;
  color: var(--white);
  background: var(--teal);
  font-weight: 850;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.inquiry-form button {
  margin-right: 4px;
  min-height: 48px;
}

.paypal-button {
  box-shadow: var(--shadow);
}

.inquiry-form button:hover,
.inquiry-form button:focus-visible,
.paypal-button:hover,
.paypal-button:focus-visible {
  background: var(--teal-dark);
  transform: translateY(-1px);
}

.purchase-note {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.96rem;
}

.purchase-note span {
  color: var(--white);
  font-weight: 850;
}

.form-status {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--mist);
  font-size: 0.94rem;
  font-weight: 700;
}

.details {
  background: var(--paper);
  padding: 60px 40px 72px;
}

.details-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.84fr) 1.4fr;
  gap: 46px;
  align-items: start;
}

.details h2,
.contact-band h2 {
  margin: 0;
  color: var(--ink);
  font-size: 2.2rem;
  line-height: 1.08;
  letter-spacing: 0;
}

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

.value-grid article {
  min-height: 220px;
  padding: 24px;
  border: 1px solid rgba(16, 20, 18, 0.09);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(16, 20, 18, 0.08);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 28px;
  border-radius: 8px;
  color: var(--teal-dark);
  background: var(--mist);
  font-weight: 900;
}

.value-grid h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  letter-spacing: 0;
}

.value-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.contact-band {
  padding: 54px 40px;
  color: var(--ink);
  background: var(--paper-deep);
}

.contact-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  max-width: 650px;
}

.inquiry-form.compact {
  width: min(100%, 430px);
  border-color: rgba(16, 20, 18, 0.12);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(16, 20, 18, 0.08);
}

.inquiry-form.compact input {
  color: var(--ink);
}

.inquiry-form.compact input::placeholder {
  color: #8b948f;
}

.paypal-button.secondary {
  color: var(--ink);
  background: var(--brass);
  box-shadow: 0 12px 30px rgba(16, 20, 18, 0.12);
}

.paypal-button.secondary:hover,
.paypal-button.secondary:focus-visible {
  background: #b7832e;
}

.form-status.dark {
  flex-basis: 100%;
  min-height: 22px;
  margin: 0;
  color: var(--teal-dark);
}

.site-footer {
  padding: 24px 40px 32px;
  color: rgba(255, 255, 255, 0.7);
  background: var(--ink);
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 900px) {
  .site-header {
    padding: 18px 22px;
  }

  .site-nav {
    gap: 14px;
  }

  .site-nav a:not(.nav-paypal) {
    display: none;
  }

  .hero {
    min-height: calc(100svh - 76px);
    background-position: 58% center;
  }

  .hero-inner {
    width: auto;
    max-width: 680px;
    margin: 0 22px;
    padding: 116px 0 58px;
  }

  h1 {
    font-size: var(--domain-title-size-tablet, 2.85rem);
  }

  .details-inner,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .contact-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 620px) {
  .site-header {
    gap: 12px;
    padding-left: 16px;
    padding-right: 16px;
    width: min(100%, 390px);
  }

  .brand {
    gap: 10px;
    font-size: 0.9rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand [data-domain-label] {
    display: none;
  }

  .nav-paypal {
    min-height: 38px;
    padding: 0 10px;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .hero {
    min-height: calc(100svh - 70px);
    background-position: 64% center;
  }

  .hero-inner {
    width: min(calc(100% - 32px), 358px);
    max-width: none;
    margin: 0 0 0 16px;
    padding-top: 104px;
  }

  h1 {
    font-size: var(--domain-title-size-mobile, 1.72rem);
    line-height: 1.04;
    overflow-wrap: anywhere;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .inquiry-form,
  .inquiry-form.compact {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    padding: 4px;
  }

  .inquiry-form input {
    height: 48px;
  }

  .inquiry-form button,
  .paypal-button {
    width: 100%;
  }

  .inquiry-form button {
    margin-right: 0;
  }

  .details,
  .contact-band {
    padding-left: 18px;
    padding-right: 18px;
  }

  .details h2,
  .contact-band h2 {
    font-size: 1.72rem;
  }

  .value-grid article {
    min-height: auto;
  }

  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }
}
