:root {
  --cream: #fff7eb;
  --ink: #092b25;
  --yellow: #ffdf61;
  --bold: 'Arial Rounded MT Bold', 'Arial Black', Arial, sans-serif;
  --gutter: clamp(20px, 4vw, 64px);
}

* { box-sizing: border-box; }
html { background: var(--ink); }
body { margin: 0; font-family: Arial, sans-serif; color: var(--ink); }
a { color: inherit; text-underline-offset: 4px; }
button, input { font: inherit; }
:where(a, input, button):focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; }

.screen {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: clip;
}
.backdrop {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(ellipse at 12% 88%, #2dd0dfbb 0, transparent 53%),
    radial-gradient(ellipse at 94% 20%, #e1574666 0, transparent 53%),
    radial-gradient(ellipse at 43% 1%, #ffdf61e6 0, transparent 60%), #fff6ea;
}
.screen::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(120deg, #fff6ea00, #fff6ea22);
}
.header, .footer {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-inline: var(--gutter);
}
.header { min-height: 76px; justify-content: space-between; }
.brand { font-size: 18px; font-weight: 700; letter-spacing: -.065em; line-height: .91; text-decoration: none; }
.brand span { display: block; font-weight: 400; }
.header-nav { display: flex; align-items: center; gap: 28px; font-size: 11px; }
.header-nav a, .footer-links a { position: relative; text-decoration: none; }
.header-nav a:hover, .footer-links a:hover { text-decoration: underline; }
/* Expand touch targets without changing the text's size or position. */
.header-nav a::after, .footer-links a::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -5px;
  right: -5px;
  height: max(100%, 44px);
  transform: translateY(-50%);
}
.main {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px var(--gutter) 18px;
}
.eyebrow { margin: 0 0 19px; font-size: 11px; letter-spacing: .19em; text-transform: uppercase; }
.headline { margin: 0; font: 900 clamp(85px, min(12.5vw, 16svh), 165px)/.82 var(--bold); letter-spacing: -.075em; }
.headline span { display: block; }
.headline span:first-child { transform: rotate(-2deg); }
.headline span + span { margin-top: .08em; color: #0b4c43; transform: rotate(2deg); }
.intro { font-size: 16px; line-height: 1.5; max-width: 60ch; margin: 22px auto 0; text-wrap: pretty; }
.signup { width: min(100%, 500px); margin: 16px auto 0; text-align: left; }
/* Official native embed; responses are handled by Tally. */
.tally-frame { display: block; width: 100%; border: 0; background: transparent; }
.footer { justify-content: flex-end; padding-block: 14px; font-size: 10px; line-height: 1.5; }
.footer-links { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 12px 23px; }
.footer-links a { font-size: 12px; }

/* Compact phones keep the same content; short landscapes use two columns. */
@media (max-width: 700px) {
  .header { min-height: 56px; }
  .brand { font-size: 17px; }
  .header-nav { font-size: 11px; }
  .main { padding-block: 8px; }
  .eyebrow { font-size: 9px; letter-spacing: .12em; margin-bottom: 14px; }
  .headline { font-size: clamp(62px, min(23vw, 14svh), 104px); line-height: .87; }
  .headline span + span { margin-top: .06em; }
  .intro { font-size: 15px; line-height: 1.45; max-width: 37ch; margin-top: 20px; }
  .signup { margin-top: 12px; max-width: 400px; }
  .footer { padding-block: 13px; }
  .footer-links { gap: 18px; }
}
@media (min-width: 701px) {
  .header, .footer { width: min(100%, 1200px); margin-inline: auto; }
  .intro { max-width: 52ch; }
}
@media (max-height: 740px) and (min-width: 701px) {
  .header { min-height: 56px; }
  .main { padding-block: 6px; }
  .headline { font-size: clamp(70px, 13svh, 100px); }
  .eyebrow { margin-bottom: 12px; }
  .intro { margin-top: 16px; }
  .signup { margin-top: 8px; }
}
@media (max-height: 660px) and (max-width: 700px) {
  .header { min-height: 48px; }
  .eyebrow { margin-bottom: 12px; }
  .headline { display: flex; gap: .16em; font-size: clamp(38px, 9vw, 60px); line-height: 1; }
  .headline span + span { margin-top: 0; }
  .intro { margin-top: 14px; }
  .signup { margin-top: 4px; }
}
@media (max-height: 540px) and (min-width: 560px) {
  .header { min-height: 44px; }
  .main {
    width: min(100%, 1100px);
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    grid-template-rows: auto auto auto;
    align-content: center;
    column-gap: clamp(20px, 4vw, 48px);
    padding-block: 0;
  }
  .eyebrow { grid-column: 1; grid-row: 1; font-size: 9px; letter-spacing: .08em; margin-bottom: 12px; }
  .headline { grid-column: 1; grid-row: 2; display: block; font-size: clamp(42px, min(10vw, 18svh), 80px); line-height: .87; }
  .headline span + span { margin-top: .06em; }
  .intro { grid-column: 1; grid-row: 3; align-self: start; font-size: 14px; line-height: 1.4; margin-top: 14px; }
  .signup { grid-column: 2; grid-row: 1 / -1; align-self: center; width: 100%; max-width: 440px; margin: 0; }
  .footer { padding-block: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
