:root {
  --bg: #fbfaf4;
  --bg-lavender: #f5f1fa;
  --card: #ffffff;
  --ink: #3d1375;
  --ink-2: #57239a;
  --ink-900: #210046;
  --ink-text: #25033f;
  --fog: #6d6678;
  --mute: #928a9f;
  --line: #e8e1ee;
  --anis: #c6e300;
  --anis-dim: #aecb00;
  --mint: #31a66a;
  --danger: #c63d3d;
  --shadow-card: 0 14px 34px rgba(35, 0, 70, 0.08);
  --shadow-button: 0 10px 28px rgba(198, 227, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink-text);
  background: linear-gradient(180deg, #efe9fb 0%, var(--bg-lavender) 45%, #fff 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.waiting-page {
  min-height: 100vh;
  overflow: hidden;
}

.clip-svg {
  position: absolute;
}

.waiting-hero {
  position: relative;
  width: 100%;
  height: 430px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  clip-path: url("#waitingHeroClip");
  background: linear-gradient(135deg, var(--ink-900), var(--ink-2));
}

.hero-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(16, 10, 38, 0.64) 0%, rgba(16, 10, 38, 0.24) 48%, rgba(16, 10, 38, 0.07) 72%);
}

.waiting-top {
  position: relative;
  z-index: 1;
  padding: max(18px, env(safe-area-inset-top)) 20px 0;
}

.wordmark {
  display: inline-block;
  color: var(--ink-2);
  font-size: 35px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
  opacity: 0.95;
  text-shadow: 0 12px 28px rgba(255, 255, 255, 0.24);
}

.wordmark span {
  color: var(--anis);
}

.wordmark-inline {
  font-size: 31px;
  text-shadow: none;
}

.wordmark-gate {
  display: block;
  margin: 0 auto 16px;
  font-size: 44px;
  text-align: center;
  text-shadow: none;
}

.shell {
  min-height: 100vh;
}

.nav {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
}

.nav-inner,
.wrap {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 74px;
}

.logo-badge,
.nav-links,
.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.logo-badge,
.nav-links a,
.footer-links a {
  text-decoration: none;
}

.nav-links {
  color: var(--ink-2);
  font-size: 12.5px;
  font-weight: 800;
}

.legal-hero {
  padding: 54px 0 24px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--anis-dim);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-hero h1 {
  max-width: 720px;
  margin: 0 0 10px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 7vw, 62px);
  font-weight: 600;
  line-height: 1.02;
}

.lead {
  max-width: 680px;
  color: var(--fog);
  font-size: 16px;
  line-height: 1.6;
}

.legal-main {
  padding: 20px 0 54px;
}

.legal-content {
  display: grid;
  gap: 14px;
}

.legal-block {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
  box-shadow: var(--shadow-card);
  padding: 22px;
}

.legal-block h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 18px;
}

.legal-block p,
.legal-block li {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.6;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding: 18px 0;
  color: var(--fog);
  font-size: 12px;
}

.gate {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px 20px;
}

.gate-card {
  width: min(420px, 100%);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--card);
  box-shadow: var(--shadow-card);
  padding: 28px;
}

.gate-card h1 {
  margin: 0 0 8px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 600;
  text-align: center;
}

.gate-card p,
.gate-card label {
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.5;
}

.gate-card label {
  display: block;
  margin-top: 16px;
  font-weight: 800;
}

.gate-card input {
  width: 100%;
  margin-top: 7px;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 12px 15px;
  outline: none;
}

.gate-card .error {
  min-height: 18px;
  color: var(--danger);
  text-align: center;
}

.sparkle {
  position: absolute;
  right: 24px;
  bottom: 58px;
  z-index: 1;
  color: #fff;
  opacity: 0.86;
  font-size: 18px;
  font-weight: 900;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 20px 20px 0;
}

.kicker {
  margin: 0 0 9px;
  color: var(--anis);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

.hero-copy h1 {
  max-width: 300px;
  margin: 0 0 10px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: 0;
}

.hero-copy p:not(.kicker) {
  max-width: 270px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12.5px;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  padding: 11px 18px;
  cursor: pointer;
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1;
}

.btn-primary {
  color: var(--ink-900);
  background: var(--anis);
  box-shadow: var(--shadow-button);
}

.btn-ghost {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
}

.pillar-list {
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 auto;
  padding: 22px 20px 6px;
}

.pillar-card,
.signup-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--card);
  box-shadow: var(--shadow-card);
}

.pillar-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
}

.icon-box,
.form-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--bg-lavender);
}

svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-box svg,
.form-icon svg {
  color: var(--ink-2);
}

.pillar-card div {
  min-width: 0;
  flex: 1;
}

.pillar-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.2;
}

.pillar-card p {
  margin: 2px 0 0;
  color: var(--fog);
  font-size: 12px;
  line-height: 1.35;
}

.arrow {
  color: var(--fog);
  font-size: 16px;
  font-weight: 900;
}

.signup-section {
  padding: 22px 20px;
}

.signup-card {
  max-width: 520px;
  margin: 0 auto;
  padding: 22px;
}

.form-icon {
  margin-bottom: 14px;
}

.signup-card h2 {
  margin: 0 0 6px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.18;
}

.form-intro {
  margin: 0 0 18px;
  color: var(--fog);
  font-size: 12.5px;
  line-height: 1.45;
}

.signup-card label {
  display: block;
  margin-bottom: 12px;
}

.signup-card label > span:not(.form-status) {
  display: block;
  margin-bottom: 6px;
  color: var(--fog);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.signup-card input,
.signup-card select,
.signup-card textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  outline: none;
  background: #fff;
  color: var(--ink-text);
  padding: 12px 15px;
  font-size: 14px;
}

.signup-card textarea {
  resize: vertical;
}

.signup-card input:focus,
.signup-card select:focus,
.signup-card textarea:focus {
  border-color: rgba(87, 35, 154, 0.52);
  box-shadow: 0 0 0 4px rgba(87, 35, 154, 0.08);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.consent-line {
  display: flex !important;
  align-items: flex-start;
  gap: 8px;
  margin: 12px 0 18px !important;
  cursor: pointer;
}

.consent-line input {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  padding: 0;
  accent-color: var(--anis-dim);
}

.consent-line span {
  margin: 0 !important;
  color: var(--ink-2) !important;
  font-size: 11.5px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  line-height: 1.45 !important;
  text-transform: none !important;
}

.submit {
  width: 100%;
  min-height: 48px;
  padding: 14px;
  font-size: 13.5px;
}

.submit:disabled {
  cursor: progress;
  opacity: 0.55;
}

.privacy-note,
.form-status {
  margin: 12px 0 0;
  color: var(--fog);
  font-size: 10.5px;
  line-height: 1.4;
  text-align: center;
}

.privacy-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.privacy-note svg {
  width: 11px;
  height: 11px;
}

.form-status:empty {
  display: none;
}

.form-status[data-type="success"] {
  color: var(--mint);
  font-size: 13px;
  font-weight: 800;
}

.form-status[data-type="error"] {
  color: var(--danger);
  font-size: 12.5px;
  font-weight: 800;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.partner-note {
  max-width: 400px;
  margin: 0 auto;
  padding: 4px 20px 24px;
  text-align: center;
}

.partner-note p {
  margin: 0 0 6px;
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.4;
}

.partner-note a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--ink-2);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 800;
}

.waiting-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding: 16px 20px;
  color: var(--fog);
  text-align: center;
  font-size: 11px;
}

.waiting-footer nav {
  display: flex;
  gap: 16px;
}

.waiting-footer a {
  text-decoration: none;
}

@media (min-width: 760px) {
  .waiting-hero {
    height: 520px;
  }

  .waiting-top,
  .hero-copy {
    width: min(720px, calc(100% - 64px));
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
  }

  .wordmark {
    font-size: 48px;
  }

  .hero-copy {
    padding-top: 54px;
  }

  .hero-copy h1 {
    max-width: 500px;
    font-size: 42px;
  }

  .hero-copy p:not(.kicker) {
    max-width: 430px;
    font-size: 15px;
  }
}

@media (max-width: 420px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}
