/* Fly Girlies — the brand is a felt-tip pen on a soft pink page, not a
   product site. Big stacked caps, handwriting, doodles, warmth. Nothing here
   should feel like software. */
:root {
  --ink: #1c1618;
  --pink: #e8709f;
  --pink-deep: #d1517f;
  --pink-soft: #f6d3df;
  --pink-wash: #fdeaf1;
  --cream: #fdf4f0;
  --muted: #9a8188;
  --white: #ffffff;

  --shout: 'Anton', 'Arial Narrow', sans-serif;
  --serif: 'Fraunces', Georgia, serif;
  --script: 'Great Vibes', cursive;
  --sans: 'Plus Jakarta Sans', -apple-system, system-ui, sans-serif;
}

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

body {
  position: relative;
  font-family: var(--sans);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100%;
  background: linear-gradient(180deg, #fbe7ef 0%, #fdeef2 26%, var(--cream) 58%, var(--cream) 100%);
  overflow-x: hidden;
}

/* The cabin window. A photograph would give this page its warmth and its
   place; without one, the light has to do it. A tall rounded pane at the top
   left, blown out to white, exactly where crew spend hours looking. */
.window {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.window-pane {
  position: absolute;
  top: -9rem;
  left: -11rem;
  width: 26rem;
  height: 34rem;
  border-radius: 50% / 42%;
  background: radial-gradient(
    120% 100% at 62% 58%,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.6) 42%,
    rgba(255, 255, 255, 0) 72%
  );
  filter: blur(2px);
}

.window-glow {
  position: absolute;
  top: -6rem;
  right: -8rem;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 214, 230, 0.75) 0%, rgba(255, 214, 230, 0) 68%);
}

main {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3rem;
}

/* ---------- Doodles ---------- */

.mini-heart {
  display: inline-block;
  width: 0.72em;
  height: 0.72em;
  margin-left: 0.28em;
  color: var(--pink);
  vertical-align: baseline;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  text-align: center;
  padding-top: 1rem;
}

/* The plane and its looping heart trail — the page's one flourish. */
/* The mark sits behind the words, in the corner it would fly into anyway. */
.trail {
  position: absolute;
  top: -1.5rem;
  right: -2rem;
  width: 9.5rem;
  height: auto;
  opacity: 0.55;
  pointer-events: none;
}

footer .logo {
  color: var(--pink);
  opacity: 0.9;
}

.eyebrow {
  font-weight: 500;
  font-size: 0.6875rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

.wordmark {
  margin-top: 1.5rem;
  font-weight: 400;
  line-height: 1;
}

.wordmark-serif {
  display: block;
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  color: var(--pink);
}

/* The script needs room to swing — its descenders and flourishes are the
   point, and they were colliding with the serif above them. */
.wordmark-script {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--script);
  font-size: 3.25rem;
  line-height: 1.35;
  color: var(--pink);
}

.wordmark-script .mini-heart {
  width: 0.28em;
  height: 0.28em;
  margin-left: 0.06em;
  vertical-align: 0.55em;
}

/* The shout: stacked condensed caps, tight, alternating black and pink.
   This is the loudest thing on the page and it should be. */
.shout {
  position: relative;
  margin-top: 2.75rem;
}

.shout-line {
  display: block;
  font-family: var(--shout);
  font-weight: 400;
  font-size: clamp(3.1rem, 14.5vw, 5.25rem);
  line-height: 1.06;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.shout-dark {
  color: var(--ink);
}

.shout-pink {
  color: var(--pink);
}

.shout-small {
  position: relative;
  display: inline-block;
  font-size: clamp(2.3rem, 10.5vw, 3.75rem);
}

/* A painted swipe, not an ellipse: uneven edges, the way a brush leaves the
   page. The shape is an SVG behind the words, so it can be genuinely lopsided. */
/* `inline-block` put this and the button on the same line. It gets its own. */
.brush {
  position: relative;
  display: inline-block;
  margin-top: 2.75rem;
  padding: 0.9rem 2.5rem 1rem;
}

.brush-wrap {
  display: block;
}

.brush-stroke {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: var(--pink-soft);
  opacity: 0.85;
  z-index: -1;
}

.brush-caps {
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

.brush-script {
  display: block;
  margin-top: 0.1rem;
  font-family: var(--script);
  font-size: 1.9rem;
  line-height: 1.1;
  color: var(--pink-deep);
}

.brush-script .mini-heart {
  width: 0.42em;
  height: 0.42em;
  vertical-align: 0.35em;
}

.hero-note {
  margin-top: 0.875rem;
  font-size: 0.875rem;
  color: var(--muted);
}

/* ---------- Buttons ---------- */

.cta {
  display: inline-block;
  height: 3.5rem;
  line-height: 3.5rem;
  padding: 0 2.5rem;
  border: 0;
  border-radius: 999px;
  background: var(--pink);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(232, 112, 159, 0.32);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(232, 112, 159, 0.38);
}

.cta:focus-visible {
  outline: 3px solid var(--pink-deep);
  outline-offset: 3px;
}

.cta[disabled] {
  opacity: 0.6;
  cursor: default;
  transform: none;
}

.cta-hero {
  display: inline-block;
  margin-top: 2.25rem;
}

/* ---------- The whisper ---------- */

.whisper {
  margin: 6rem auto 0;
  max-width: 24rem;
  text-align: center;
}

.whisper-line {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.75rem, 7.5vw, 2.35rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.whisper-sub {
  margin-top: 1.5rem;
  font-family: var(--script);
  font-size: 1.7rem;
  line-height: 1.3;
  color: var(--pink);
}

.whisper-sub .mini-heart {
  width: 0.4em;
  height: 0.4em;
  vertical-align: 0.3em;
}

/* ---------- Join ---------- */

.join {
  margin-top: 4.5rem;
  background: var(--white);
  border-radius: 2rem;
  padding: 2.25rem 1.5rem 2rem;
  text-align: center;
  box-shadow: 0 12px 34px rgba(210, 140, 165, 0.16);
}

.join-eyebrow {
  font-weight: 500;
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.join-shout .shout-line {
  font-size: clamp(2.6rem, 12vw, 3.75rem);
}

/* The eyebrow was sitting on top of the shout. Push them apart. */
.join-shout {
  margin-top: 1.25rem;
}

form {
  margin-top: 1.75rem;
  display: grid;
  gap: 0.875rem;
  text-align: left;
}

.field {
  position: relative;
  display: grid;
  gap: 0.4rem;
}

/* Our own picker. A native <datalist> is drawn by the OS — a grey system menu
   that lands in the wrong place and belongs to no brand. On a page whose whole
   argument is that it was made with care, that one control undoes it. */
.combo-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 20;
  margin: 0.375rem 0 0;
  padding: 0.375rem;
  list-style: none;
  max-height: 17rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  background: var(--white);
  border: 1.5px solid var(--pink-soft);
  border-radius: 1.125rem;
  box-shadow: 0 14px 34px rgba(210, 140, 165, 0.22);
}

.combo-panel li {
  padding: 0.625rem 0.75rem;
  border-radius: 0.75rem;
  font-size: 0.9375rem;
  color: var(--ink);
  cursor: pointer;
}

.combo-panel li:hover,
.combo-panel li.is-active {
  background: var(--pink-wash);
  color: var(--pink-deep);
}

.field > span {
  font-weight: 500;
  font-size: 0.8125rem;
  color: var(--muted);
}

.field input {
  height: 3.5rem;
  width: 100%;
  border: 1.5px solid var(--pink-soft);
  border-radius: 1.125rem;
  background: var(--cream);
  padding: 0 1.125rem;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
}

.field input::placeholder {
  color: #c3aeb5;
}

.field input:focus-visible {
  outline: none;
  border-color: var(--pink);
  background: var(--white);
}

.field-row {
  display: grid;
  gap: 0.875rem;
}

@media (min-width: 32rem) {
  .field-row {
    grid-template-columns: 1fr 1fr;
  }
}

form .cta {
  margin-top: 0.5rem;
  width: 100%;
  padding: 0;
}

/* Present to a naive bot, unreachable to a person. Never `display: none` —
   some bots skip that. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.turnstile {
  display: flex;
  justify-content: center;
  min-height: 1px;
}

.form-note {
  min-height: 1.4rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted);
}

.form-note[data-tone='error'] {
  color: #c2415f;
}

.form-note[data-tone='ok'] {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- Footer ---------- */

footer {
  margin-top: 4rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.875rem;
}

footer .logo {
  opacity: 0.75;
}

footer p {
  margin-top: 0.5rem;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}
