/* Inter Tight, latin subset, weights used on the site. License: fonts/OFL.txt */
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/inter-tight-latin-300-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/inter-tight-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/inter-tight-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/inter-tight-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --white: #ffffff;
  --text: rgba(255, 255, 255, 0.96);
  --muted: rgba(255, 255, 255, 0.74);
  --faint: rgba(255, 255, 255, 0.5);
  --glass: rgba(14, 22, 32, 0.42);
  --glass-line: rgba(255, 255, 255, 0.22);
  --field: rgba(255, 255, 255, 0.1);
  --field-line: rgba(255, 255, 255, 0.28);
  --sans: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  /* Photo: Samuel Yongbo Kwon, Unsplash License. Swap for a local file (e.g. url("ocean.jpg")) any time. */
  --photo: url("ocean-2400.jpg");
  --photo-small: url("ocean-1200.jpg");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6;
  color: var(--text); background: #1d2a36;
  -webkit-font-smoothing: antialiased;
}

/* Full-screen photo that stays put while the page scrolls (works on iOS too). */
.bg {
  position: fixed; inset: 0; z-index: -1;
  background-color: #1d2a36;
  background-image:
    linear-gradient(180deg, rgba(8,14,22,.55) 0%, rgba(8,14,22,.12) 38%, rgba(8,14,22,.28) 70%, rgba(8,14,22,.72) 100%),
    var(--photo);
  background-size: cover; background-position: center 80%;
}
@media (max-width: 700px) {
  .bg {
    background-image:
      linear-gradient(180deg, rgba(8,14,22,.6) 0%, rgba(8,14,22,.2) 40%, rgba(8,14,22,.4) 75%, rgba(8,14,22,.78) 100%),
      var(--photo-small);
  }
}

h1, h2, h3 { font-weight: 300; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -0.025em; color: var(--white); }
h1 { font-size: clamp(2.6rem, 7.5vw, 5.4rem); text-shadow: 0 2px 30px rgba(0,0,0,.25); }
h1 .soft { color: var(--muted); }
h2 { font-size: clamp(2rem, 5vw, 3rem); }
h3 { font-size: 1.15rem; font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0 0 1em; }
a { color: var(--white); }

/* Header */
.top {
  max-width: 1120px; margin: 0 auto; padding: 22px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { font-size: 1.35rem; font-weight: 500; letter-spacing: -0.03em; color: var(--white); text-decoration: none; }

/* Buttons */
.btn {
  display: inline-block; background: var(--white); color: #0e1620;
  padding: 15px 30px; border-radius: 999px; text-decoration: none;
  font-weight: 600; font-size: 1rem; border: none; cursor: pointer;
  font-family: var(--sans); transition: transform .15s, background .15s;
}
.btn:hover { background: rgba(255,255,255,.88); transform: translateY(-1px); }
.btn-small {
  padding: 9px 18px; font-size: .9rem; font-weight: 500;
  background: rgba(255,255,255,.14); color: var(--white);
  border: 1px solid var(--glass-line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn-small:hover { background: rgba(255,255,255,.24); }
.btn-full { width: 100%; margin-top: 8px; padding: 17px; }

/* Hero fills the first screen */
.hero {
  max-width: 1120px; margin: 0 auto; padding: 0 24px;
  min-height: calc(100svh - 84px);
  display: flex; flex-direction: column; justify-content: center;
}
.eyebrow {
  text-transform: uppercase; letter-spacing: .18em; font-size: .74rem;
  font-weight: 500; color: var(--muted); margin-bottom: 20px;
}
.lede { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--muted); max-width: 560px; margin-bottom: 34px; font-weight: 300; }
.hero .btn { align-self: flex-start; }
.fine { font-size: .86rem; color: var(--faint); }
.center { text-align: center; }
.opt { font-weight: 400; color: var(--faint); }

/* How it works */
.how { max-width: 1120px; margin: 0 auto; padding: 40px 24px 80px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.steps li { border-top: 1px solid var(--glass-line); padding-top: 22px; }
.num { display: block; font-size: .8rem; letter-spacing: .12em; color: var(--faint); margin-bottom: 10px; }
.steps p { color: var(--muted); font-size: .98rem; margin: 0; font-weight: 300; }

/* Join */
.section { max-width: 1120px; margin: 0 auto; padding: 40px 24px 90px; }
.join { max-width: 660px; }
.join h2 { text-align: center; margin-bottom: 6px; }
.sub { text-align: center; color: var(--muted); margin-bottom: 26px; }

.chooser {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px;
  margin-bottom: 14px; border-radius: 18px;
  background: var(--glass); border: 1px solid var(--glass-line);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.choice {
  text-align: left; font-family: var(--sans); cursor: pointer;
  background: transparent; border: none; border-radius: 13px;
  padding: 14px 16px; color: var(--text); transition: background .2s, color .2s;
}
.choice:hover { background: rgba(255,255,255,.08); }
.choice[aria-selected="true"] { background: var(--white); color: #0e1620; }
.choice-title { display: block; font-size: 1.1rem; font-weight: 500; letter-spacing: -0.01em; }
.choice-desc { display: block; font-size: .85rem; opacity: .72; margin-top: 2px; }

/* Without JavaScript both forms show, one after the other. */
.no-js .chooser { display: none; }
.no-js .panel { margin-bottom: 24px; }
.panel-title { display: none; }
.no-js .panel-title { display: block; }

.card {
  background: var(--glass); border: 1px solid var(--glass-line);
  border-radius: 22px; padding: 30px;
  backdrop-filter: blur(22px) saturate(140%); -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.45);
}
.card label { display: block; font-size: .88rem; font-weight: 500; margin-bottom: 18px; color: var(--text); }
.card input[type=text], .card input[type=email], .card input[type=url], .card select, .card textarea {
  display: block; width: 100%; margin-top: 7px; padding: 13px 14px;
  font: inherit; font-weight: 400; font-size: 16px; color: var(--white);
  background: var(--field); border: 1px solid var(--field-line); border-radius: 12px;
  transition: border-color .15s, background .15s;
}
.card select { appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='white' stroke-opacity='.7' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; padding-right: 38px;
}
.card select:invalid { color: var(--faint); }
.card option { color: #0e1620; background: #fff; }
.card ::placeholder { color: var(--faint); }
.card textarea { resize: vertical; }
.card input:focus, .card select:focus, .card textarea:focus {
  outline: none; border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.16);
}
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
fieldset { border: none; padding: 0; margin: 0 0 18px; }
legend { font-size: .88rem; font-weight: 500; margin-bottom: 10px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 14px; }
.card label.check { display: flex; gap: 9px; align-items: flex-start; font-weight: 400; margin: 0; font-size: .92rem; color: var(--muted); }
.check input { margin-top: 5px; accent-color: #fff; width: 15px; height: 15px; }
.hp { position: absolute; left: -9999px; }
[hidden] { display: none !important; }
.join .fine { margin-top: 18px; }

/* Footer */
.foot { text-align: center; padding: 40px 24px 50px; border-top: 1px solid rgba(255,255,255,.14); }
.foot p { margin: 0 0 4px; color: var(--muted); }
.foot strong { color: var(--white); font-weight: 500; }
.credit { font-size: .76rem; color: var(--faint) !important; margin-top: 12px !important; }
.credit a { color: var(--faint); }

/* Thanks / privacy pages */
.page {
  max-width: 640px; margin: 40px auto 80px; padding: 40px 36px;
  background: var(--glass); border: 1px solid var(--glass-line); border-radius: 22px;
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
}
.page p { color: var(--muted); }
.page strong { color: var(--white); font-weight: 500; }
.thanks { text-align: center; margin-top: 12vh; }
.thanks .lede { margin: 0 auto 28px; }

@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .how { padding-bottom: 50px; }
}
@media (max-width: 520px) {
  .top { padding: 18px; }
  .hero, .how, .section { padding-left: 18px; padding-right: 18px; }
  .row, .checks { grid-template-columns: 1fr; gap: 0; }
  .checks { gap: 9px; }
  .choice { padding: 12px 12px; }
  .choice-desc { font-size: .78rem; }
  .card { padding: 22px 18px; border-radius: 18px; }
  .page { margin: 20px 14px 60px; padding: 30px 22px; }
  /* Room so a fixed bottom-corner badge cannot cover a field or the submit button. */
  .section,
  .page {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
}
