/* ================================
   FONT LOADING
================================ */

@font-face {
  font-family: "Gascogne Serial";
  src: url("assets/gascogne-serial-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Whyte Book";
  src: url("assets/whyte_book.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ================================
   BASE RESET
================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

/* ================================
   PAGE BACKGROUND
================================ */

body {
  font-family: "Whyte Book", -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Arial, sans-serif;
  background: url("assets/bg.jpg") center center / cover no-repeat fixed;
  color: #ffffff;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Dark overlay */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1;
}

/* ================================
   LAYOUT
================================ */

.container {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 72px auto;
  padding: 24px;
  text-align: center;
}

/* ================================
   TYPOGRAPHY
================================ */

h1, h2 {
  font-family: "Gascogne Serial", Georgia, serif;
  letter-spacing: -0.02em;
    font-weight: normal;
}

h1 {
  font-size: clamp(2.2rem, 4.5vw, 2.9rem);
  line-height: 1.05;
  margin-bottom: 20px;
}

h2 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.intro {
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 42rem;
  margin: 0 auto 26px;
  opacity: 0.95;
}

.details {
  text-align: left;
  max-width: 46rem;
  margin: 22px auto 0;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 18px 18px 14px;
  backdrop-filter: blur(2px);
}

.details ul {
  list-style: disc;
  padding-left: 1.2rem;
  line-height: 1.7;
}

.note {
  margin-top: 12px;
  font-size: 0.95rem;
  opacity: 0.85;
}

/* ================================
   FORM
================================ */

.form-container {
  margin: 26px auto 22px;
  max-width: 720px;
}

/* Make Beehiiv responsive */
.beehiiv-embed {
  width: 100% !important;
  max-width: 100% !important;
}

/* ================================
   FOOTER
================================ */

.footer {
  margin-top: 20px;
  font-size: 0.95rem;
  opacity: 0.85;
}

.footer a {
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.4);
}

.footer a:hover {
  border-bottom-color: rgba(255,255,255,0.9);
}

/* ------------------------------
   Beehiiv mobile crop fix
--------------------------------*/

.form-container {
  position: relative;
  overflow: hidden;
}

/* move the iframe up to cut empty header */
iframe.beehiiv-embed {
  position: relative;
  height: 260px !important; /* visible portion */
}

/* mobile: more aggressive crop */
@media (max-width: 480px) {
  iframe.beehiiv-embed {
    height: 300px !important;
  }
}