:root {
  --ink: #f6efe3;
  --muted: #d8c9b3;
  --gold: #f4bc62;
  --gold-deep: #a86624;
  --field: #79d07f;
  --night: #09121a;
  --panel: rgba(9, 18, 26, 0.72);
  --panel-soft: rgba(9, 18, 26, 0.4);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--night);
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
}

a {
  color: var(--gold);
}

button,
input,
textarea {
  font: inherit;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 4rem);
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.06);
  animation: settle-in 1s ease-out both;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 28%, rgba(244, 188, 98, 0.18), transparent 22rem),
    linear-gradient(90deg, rgba(4, 10, 16, 0.9), rgba(4, 10, 16, 0.56) 42%, rgba(4, 10, 16, 0.22)),
    linear-gradient(180deg, rgba(4, 10, 16, 0.82), transparent 35%, rgba(4, 10, 16, 0.88));
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(900px, 100%);
  margin-right: auto;
  padding: clamp(1.3rem, 5vw, 4rem);
  border: 1px solid rgba(246, 239, 227, 0.16);
  border-radius: 34px;
  background: linear-gradient(135deg, var(--panel), var(--panel-soft));
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(16px);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(2.7rem, 8vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: -0.08em;
}

.lead {
  max-width: 760px;
  margin: 1.4rem 0 1.8rem;
  font-size: clamp(1.2rem, 3vw, 2rem);
  line-height: 1.3;
}

.sale-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(720px, 100%);
  margin: 0 0 1.6rem;
  padding: 0.85rem 0.9rem 0.85rem 1.2rem;
  border: 1px solid rgba(244, 188, 98, 0.5);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(168, 102, 36, 0.78), rgba(244, 188, 98, 0.16));
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.sale-banner button,
.submit {
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #0a1118;
  cursor: pointer;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 900;
  padding: 0.9rem 1.2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sale-banner button:hover,
.submit:hover {
  box-shadow: 0 0 28px rgba(244, 188, 98, 0.32);
  transform: translateY(-2px);
}

.highlights {
  display: grid;
  gap: 0.9rem;
  max-width: 740px;
  margin: 0 0 1.5rem;
}

.highlights p {
  margin: 0;
  padding: 1rem 1.1rem;
  border-left: 3px solid rgba(121, 208, 127, 0.72);
  border-radius: 0 18px 18px 0;
  background: rgba(9, 18, 26, 0.34);
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

.highlights strong {
  color: var(--ink);
}

.disclaimer {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
}

.dialog {
  width: min(620px, calc(100vw - 2rem));
  border: 1px solid rgba(244, 188, 98, 0.36);
  border-radius: 28px;
  background: #fff7e9;
  color: #16211f;
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.55);
}

.dialog::backdrop {
  background: rgba(2, 7, 14, 0.72);
  backdrop-filter: blur(8px);
}

.dialog form {
  position: relative;
  padding: 1.8rem;
}

.dialog h2 {
  margin: 0 2rem 0.5rem 0;
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.dialog p {
  color: #58605a;
  line-height: 1.5;
}

.dialog label {
  display: block;
  margin-top: 1rem;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 800;
}

.dialog input,
.dialog textarea {
  width: 100%;
  margin-top: 0.4rem;
  border: 1px solid #ccb488;
  border-radius: 14px;
  padding: 0.85rem;
  background: white;
}

.dialog textarea {
  min-height: 8rem;
  resize: vertical;
}

.dialog__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 2rem;
}

.dialog__close::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  width: max-content;
  max-width: 240px;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(244, 188, 98, 0.5);
  border-radius: 12px;
  background: var(--night);
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: left;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.dialog__close:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.hp {
  position: absolute;
  left: -10000px;
}

.status {
  min-height: 1.5rem;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 700;
}

.site-footer {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 2;
  display: flex;
  gap: 1rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(246, 239, 227, 0.16);
  border-radius: 999px;
  background: rgba(9, 18, 26, 0.72);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(10px);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
}

.site-footer a,
.legal-nav a {
  color: var(--ink);
  text-decoration: none;
}

.site-footer a:hover,
.legal-nav a:hover {
  color: var(--gold);
}

.legal-page {
  min-height: 100vh;
  padding: clamp(1rem, 4vw, 4rem);
  background:
    radial-gradient(circle at 84% 10%, rgba(244, 188, 98, 0.18), transparent 24rem),
    radial-gradient(circle at 14% 90%, rgba(121, 208, 127, 0.14), transparent 26rem),
    var(--night);
}

.legal-card {
  width: min(900px, 100%);
  margin: 0 auto;
  padding: clamp(1.4rem, 4vw, 3.5rem);
  border: 1px solid rgba(246, 239, 227, 0.16);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(9, 18, 26, 0.92), rgba(20, 38, 34, 0.78));
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.45);
}

.legal-card h1 {
  max-width: none;
  font-size: clamp(3rem, 9vw, 6rem);
  letter-spacing: -0.07em;
}

.legal-card h2 {
  margin: 2rem 0 0.6rem;
  color: var(--gold);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-card p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.legal-note {
  padding: 1rem;
  border: 1px solid rgba(244, 188, 98, 0.42);
  border-radius: 18px;
  background: rgba(244, 188, 98, 0.1);
}

@keyframes settle-in {
  from {
    opacity: 0;
    transform: scale(1.04);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 720px) {
  .hero {
    align-items: stretch;
  }

  .hero__content {
    margin-right: 0;
    align-self: end;
  }

  .sale-banner {
    flex-direction: column;
    align-items: stretch;
    border-radius: 26px;
    text-align: center;
  }

  .site-footer {
    left: 1rem;
    right: 1rem;
    justify-content: center;
  }
}
