:root {
  --ink: #f8f0df;
  --muted: #cbbd9d;
  --teal: #5df2e3;
  --amber: #f2ad45;
  --amber-dark: #8f5722;
  --navy: #07111e;
  --panel: rgba(7, 17, 30, 0.7);
}

* {
  box-sizing: border-box;
}

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

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.05) contrast(1.05);
  animation: slow-rise 1.2s ease-out both;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 74% 58%, rgba(93, 242, 227, 0.12), transparent 24rem),
    linear-gradient(90deg, rgba(3, 9, 18, 0.88), rgba(3, 9, 18, 0.55) 42%, rgba(3, 9, 18, 0.16)),
    linear-gradient(180deg, rgba(3, 9, 18, 0.82), transparent 35%, rgba(3, 9, 18, 0.84));
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  margin-right: auto;
  padding: clamp(1.25rem, 5vw, 4rem);
  border: 1px solid rgba(248, 240, 223, 0.16);
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(7, 17, 30, 0.78), rgba(7, 17, 30, 0.38));
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(14px);
}

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

h1 {
  max-width: 8ch;
  margin: 0;
  font-size: clamp(4rem, 16vw, 11rem);
  line-height: 0.82;
  letter-spacing: -0.085em;
}

.lead {
  max-width: 720px;
  margin: 1.5rem 0;
  color: var(--ink);
  font-size: clamp(1.25rem, 3vw, 2rem);
  line-height: 1.28;
}

.sale-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(720px, 100%);
  margin: 2rem 0;
  padding: 0.8rem 0.8rem 0.8rem 1.2rem;
  border: 1px solid rgba(242, 173, 69, 0.55);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(143, 87, 34, 0.78), rgba(242, 173, 69, 0.2));
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.sale-banner button,
.submit {
  border: 0;
  border-radius: 999px;
  background: var(--teal);
  color: #03121a;
  cursor: pointer;
  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(93, 242, 227, 0.45);
  transform: translateY(-2px);
}

.seo-copy {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.dialog {
  width: min(620px, calc(100vw - 2rem));
  border: 1px solid rgba(242, 173, 69, 0.38);
  border-radius: 28px;
  background: #fff8e8;
  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: #59615b;
  line-height: 1.5;
}

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

.dialog input,
.dialog textarea {
  width: 100%;
  margin-top: 0.4rem;
  border: 1px solid #c7b78e;
  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(242, 173, 69, 0.55);
  border-radius: 12px;
  background: var(--navy);
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.01em;
  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;
}

@keyframes slow-rise {
  from {
    opacity: 0;
    transform: scale(1.04);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 720px) {
  .sale-banner {
    align-items: stretch;
    border-radius: 24px;
    flex-direction: column;
  }

  h1 {
    font-size: clamp(3.5rem, 20vw, 6rem);
  }
}
