:root {
  color-scheme: light;
  --ink: #11221c;
  --ink-soft: #43534e;
  --paper: #f5f0e6;
  --paper-glass: rgb(250 247 240 / 88%);
  --coral: #ff624e;
  --lime: #c9fa49;
  --line: rgb(17 34 28 / 18%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

.page-shell {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 10%, rgb(255 98 78 / 16%), transparent 30rem),
    radial-gradient(circle at 62% 90%, rgb(201 250 73 / 15%), transparent 26rem),
    var(--paper);
}

.content {
  display: flex;
  width: min(100%, 1440px);
  min-height: 100%;
  padding: clamp(28px, 5vw, 72px) clamp(24px, 5.5vw, 88px) 96px;
  flex-direction: column;
  align-items: flex-start;
}

.hero-grid {
  display: grid;
  width: 100%;
  flex: 1;
  grid-template-columns: minmax(0, 640px) minmax(360px, 1fr);
  grid-template-rows: auto auto;
  column-gap: clamp(32px, 5vw, 90px);
  align-content: center;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  font-weight: 750;
  letter-spacing: -0.045em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.05em;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 0.56em;
  color: var(--paper);
  background: var(--ink);
  font-family: Georgia, serif;
  font-size: 0.98em;
  line-height: 1;
  box-shadow: 0 8px 30px rgb(17 34 28 / 15%);
}

.hero-copy {
  width: 100%;
  grid-column: 1;
  grid-row: 1;
}

.eyebrow {
  margin: 0 0 20px;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 6.1vw, 6.25rem);
  font-weight: 760;
  letter-spacing: -0.07em;
  line-height: 0.98;
}

.intro {
  max-width: 580px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  line-height: 1.42;
}

.signup-panel {
  width: 100%;
  margin-top: clamp(32px, 5vh, 54px);
  padding: clamp(20px, 2.6vw, 30px);
  border: 1px solid rgb(255 255 255 / 72%);
  border-radius: 24px;
  background: var(--paper-glass);
  box-shadow: 0 24px 70px rgb(17 34 28 / 15%);
  backdrop-filter: blur(16px);
  grid-column: 1;
  grid-row: 2;
}

.event-pick {
  position: relative;
  width: 100%;
  height: min(76vh, 760px);
  min-height: 520px;
  margin: 0;
  grid-column: 2;
  grid-row: 1 / span 2;
  filter: drop-shadow(0 28px 38px rgb(17 34 28 / 15%));
}

.event-pick img {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: auto;
  max-width: none;
  height: 100%;
  transform: translate(-50%, -50%) rotate(3.5deg);
}

.signup-title {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 750;
  letter-spacing: -0.035em;
}

.signup-copy {
  margin: 6px 0 18px;
  color: var(--ink-soft);
  line-height: 1.45;
}

.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

input,
button {
  min-height: 52px;
  border-radius: 999px;
  font: inherit;
}

input {
  min-width: 0;
  padding: 0 20px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgb(255 255 255 / 85%);
  outline: none;
}

input::placeholder {
  color: #6a7672;
}

input:focus-visible {
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgb(201 250 73 / 65%);
}

button {
  padding: 0 24px;
  border: 2px solid var(--ink);
  color: var(--ink);
  background: var(--lime);
  font-weight: 800;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 var(--ink);
}

button:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

button:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
  box-shadow: none;
}

.consent-note,
.form-status,
.noscript {
  margin: 13px 4px 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.45;
}

.form-status {
  min-height: 1.15rem;
  font-weight: 700;
}

.form-status.success {
  color: #176234;
}

.form-status.error {
  color: #9e241b;
}

.trap,
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

footer {
  position: absolute;
  right: clamp(24px, 5vw, 72px);
  bottom: 28px;
  left: clamp(24px, 5.5vw, 88px);
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  font-size: 0.88rem;
  font-weight: 750;
}

.privacy-page {
  background:
    radial-gradient(circle at 88% 8%, rgb(255 98 78 / 18%), transparent 28rem),
    var(--paper);
}

.privacy-shell {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 80px;
}

.privacy-shell article {
  margin-top: 72px;
}

.privacy-shell h1 {
  font-size: clamp(2.8rem, 8vw, 5.6rem);
}

.updated {
  margin: 20px 0 52px;
  color: var(--ink-soft);
}

.privacy-shell h2 {
  margin: 38px 0 10px;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
}

.privacy-shell article > p:not(.eyebrow, .updated, .back-link) {
  color: var(--ink-soft);
  font-size: 1.03rem;
  line-height: 1.7;
}

.back-link {
  margin-top: 52px;
  font-weight: 750;
}

@media (max-width: 820px) {
  .content {
    padding-bottom: 112px;
  }

  .hero-grid {
    position: relative;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: start;
  }

  .hero-copy {
    position: relative;
    z-index: 1;
    width: min(100%, 640px);
    margin-top: clamp(52px, 9vh, 88px);
    grid-column: 1;
    grid-row: 1;
  }

  .event-pick {
    position: absolute;
    z-index: 0;
    top: clamp(62px, 8vw, 94px);
    right: clamp(-110px, -9vw, -54px);
    width: clamp(226px, 39vw, 306px);
    height: auto;
    aspect-ratio: 2 / 3;
    min-height: 0;
    margin: 0;
    opacity: 0.16;
    pointer-events: none;
  }

  .signup-panel {
    position: relative;
    z-index: 1;
    width: min(100%, 640px);
    margin-top: clamp(28px, 5vw, 40px);
    grid-column: 1;
    grid-row: 2;
  }

  h1 {
    font-size: clamp(3rem, 13vw, 5.2rem);
  }
}

@media (max-width: 560px) {
  .content {
    padding: 24px 18px 104px;
  }

  .brand {
    gap: 12px;
    font-size: 1.35rem;
  }

  .hero-copy {
    margin-top: 36px;
  }

  .eyebrow {
    margin-bottom: 14px;
  }

  .intro {
    margin-top: 22px;
  }

  .signup-panel {
    margin-top: 26px;
    border-radius: 20px;
  }

  .event-pick {
    top: 78px;
    right: -88px;
    width: clamp(218px, 64vw, 264px);
    opacity: 0.14;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  button {
    width: 100%;
  }

  footer {
    right: 18px;
    bottom: 24px;
    left: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
