@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Playfair+Display:ital,wght@1,500&display=swap');

:root {
  --ink: #f6f0e6;
  --muted: rgba(246, 240, 230, 0.72);
  --line: rgba(255,255,255,0.22);
  --glass: rgba(27, 24, 20, 0.24);
  --button: #f2e7d6;
  --button-ink: #1c1a17;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: #171611;
  color: var(--ink);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body { min-height: 100svh; }
a { color: inherit; }

.shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(10,10,8,.66), rgba(10,10,8,.20) 58%, rgba(10,10,8,.08)),
    url("/assets/and-pause-hero.png") center center / cover no-repeat;
}

.overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8,8,7,.22), transparent 34%, rgba(8,8,7,.40)),
    radial-gradient(circle at 18% 50%, rgba(0,0,0,.12), rgba(0,0,0,0) 44%);
}

.nav, .content, .footer { position: relative; z-index: 1; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.brand-mark {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.05rem;
  font-style: italic;
  line-height: 1;
}

.brand-word { font-size: 1.2rem; }

.instagram-link {
  text-decoration: none;
  font-size: .9rem;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  transition: border-color .2s ease, opacity .2s ease;
}

.instagram-link:hover { border-color: rgba(255,255,255,.75); }

.content {
  align-self: center;
  max-width: 760px;
  padding-block: 72px 56px;
}

.eyebrow {
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .75rem;
  font-weight: 600;
  color: var(--muted);
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(4.2rem, 9.5vw, 8.8rem);
  line-height: .83;
  letter-spacing: -0.065em;
  font-weight: 500;
}

h1 em {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
}

.intro {
  max-width: 570px;
  margin: 28px 0 30px;
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  line-height: 1.6;
  color: var(--muted);
}

.signup { max-width: 620px; }

.signup-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 8px;
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.signup input {
  min-width: 0;
  border: 0;
  outline: 0;
  color: white;
  background: transparent;
  padding: 14px 14px;
  font: inherit;
}

.signup input::placeholder { color: rgba(255,255,255,.58); }

.signup button {
  border: 0;
  cursor: pointer;
  background: var(--button);
  color: var(--button-ink);
  font: inherit;
  font-weight: 600;
  padding: 14px 18px;
  transition: transform .18s ease, opacity .18s ease;
}

.signup button:hover:not(:disabled) { transform: translateY(-1px); }
.signup button:disabled { cursor: wait; opacity: .62; }

.turnstile-wrap {
  margin-top: 12px;
  min-height: 65px;
}

.form-note, .form-status {
  margin: 10px 2px 0;
  font-size: .76rem;
  line-height: 1.55;
  color: var(--muted);
}

.form-note a { text-underline-offset: 3px; }

.form-status {
  min-height: 1.2em;
  color: var(--ink);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  font-size: .78rem;
  color: var(--muted);
}

.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;
}

/* Privacy page */
.legal-page {
  min-height: 100svh;
  background: #eee8dd;
  color: #24211c;
}

.legal-shell {
  width: min(760px, calc(100% - 40px));
  margin-inline: auto;
  padding: 28px 0 72px;
}

.legal-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 72px;
}

.legal-nav a { text-decoration: none; }

.legal-page h1 {
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: .95;
  letter-spacing: -.055em;
  margin-bottom: 36px;
}

.legal-page h2 {
  margin-top: 34px;
  font-size: 1.2rem;
}

.legal-page p, .legal-page li {
  line-height: 1.75;
  color: #4d473f;
}

.legal-page .small {
  font-size: .85rem;
  color: #6d655b;
}

@media (max-width: 720px) {
  .shell { width: min(100% - 28px, 1180px); }

  .hero { background-position: 64% center; }

  .nav { padding-top: 20px; }
  .instagram-link { font-size: .8rem; }

  .content {
    align-self: end;
    padding-block: 120px 34px;
  }

  h1 { font-size: clamp(4.2rem, 21vw, 6.5rem); }

  .intro {
    max-width: 92%;
    margin-top: 22px;
  }

  .signup-row { grid-template-columns: 1fr; }
  .signup button { width: 100%; }

  .footer {
    flex-direction: column;
    gap: 6px;
    padding-bottom: 18px;
  }

  .legal-nav { margin-bottom: 48px; }
}
