:root {
  --bg: #050505;
  --panel: rgba(14, 14, 14, 0.86);
  --panel-strong: rgba(22, 22, 22, 0.96);
  --text: #f6efe4;
  --muted: rgba(246, 239, 228, 0.72);
  --gold: #d7a24b;
  --gold-soft: rgba(215, 162, 75, 0.2);
  --line: rgba(255, 255, 255, 0.12);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(215, 162, 75, 0.12), transparent 30%),
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.06), transparent 20%),
    linear-gradient(180deg, #040404, #090909 45%, #050505);
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black 55%, transparent 100%);
  opacity: 0.22;
}

.page-shell {
  width: min(1160px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: center;
  padding: 18px 0 28px;
}

.hero-copy,
.section-card {
  backdrop-filter: blur(14px);
}

.hero-copy {
  position: relative;
  padding: 34px 30px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(30, 24, 15, 0.92), rgba(10, 10, 10, 0.96)),
    var(--panel);
  box-shadow: var(--shadow);
}

.hero-copy::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: calc(var(--radius) - 10px);
  border: 1px solid rgba(215, 162, 75, 0.22);
  pointer-events: none;
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font: 700 0.72rem/1.2 "Segoe UI", system-ui, sans-serif;
  color: var(--gold);
}

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

h1 {
  margin-bottom: 16px;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.lede {
  max-width: 56ch;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-points span,
.button {
  border-radius: 999px;
  border: 1px solid rgba(215, 162, 75, 0.24);
  background: rgba(215, 162, 75, 0.08);
  color: var(--text);
  padding: 10px 15px;
  font: 600 0.92rem/1.2 "Segoe UI", system-ui, sans-serif;
}

.hero-art {
  position: relative;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  min-height: 420px;
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.4));
}

.hero-art img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

main {
  display: grid;
  gap: 22px;
}

.section-card {
  display: grid;
  gap: 20px;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel-strong);
  box-shadow: var(--shadow);
}

.section-heading h2,
.thank-you h2,
.note-card h3 {
  font-size: clamp(1.5rem, 2.3vw, 2.3rem);
  margin-bottom: 10px;
}

.section-heading p,
.note-card li,
.thank-you p {
  color: var(--muted);
  line-height: 1.8;
}

code {
  padding: 0.12rem 0.38rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: #f8e7c4;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.95em;
}

.offerings {
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.95fr);
  align-items: start;
}

.section-heading {
  grid-column: 1 / -1;
}

.embed-frame {
  position: relative;
  min-height: 760px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(135deg, rgba(215, 162, 75, 0.12), transparent 38%),
    #111;
}

.embed-frame::before {
  content: "Paste the n8n public form URL here";
  position: absolute;
  inset: 18px auto auto 18px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font: 600 0.82rem/1.2 "Segoe UI", system-ui, sans-serif;
  z-index: 2;
}

.embed-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 760px;
  border: 0;
  background: #0f0f0f;
}

.note-card {
  padding: 22px 20px;
  border-radius: 22px;
  border: 1px solid rgba(215, 162, 75, 0.18);
  background: linear-gradient(180deg, rgba(215, 162, 75, 0.08), rgba(255, 255, 255, 0.02));
}

.note-card ol {
  margin: 0;
  padding-left: 18px;
}

.note-card li + li {
  margin-top: 12px;
}

.thank-you {
  display: none;
  text-align: center;
  padding: 42px 28px;
}

.thank-you.is-visible {
  display: grid;
  place-items: center;
}

.button {
  display: inline-flex;
  width: fit-content;
  text-decoration: none;
  margin-top: 12px;
}

@media (max-width: 920px) {
  .hero,
  .offerings {
    grid-template-columns: 1fr;
  }

  .hero-art,
  .embed-frame,
  .embed-frame iframe {
    min-height: 420px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100vw - 20px, 1160px);
    padding-top: 12px;
  }

  .hero-copy,
  .section-card {
    padding: 22px 18px;
    border-radius: 22px;
  }

  h1 {
    font-size: clamp(2.3rem, 12vw, 3.2rem);
  }

  .hero-art,
  .embed-frame,
  .embed-frame iframe {
    min-height: 300px;
  }

  .section-heading h2,
  .thank-you h2 {
    font-size: 1.6rem;
  }
}
