@font-face {
  font-family: 'Geologica';
  src: url('/assets/fonts/geologica-latin-variable.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  font-family: 'Geologica', system-ui, sans-serif;
  --page: #FFFFFF;
  --iris: #6A3FD6;
  --iris-hover: #5A33BD;
  --ink: #1C1846;
  --mission: #2E2A5E;
  --muted: #595770;
  --placeholder: #6A6880;
  --input-border: #8A87A3;
  --panel: #F3F0FD;
  --menu-border: #D9D6EA;
  --rule: #E7E5F0;
  --error: #A12C2C;
  background: var(--page);
  color: var(--ink);
}
* { box-sizing: border-box; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
p, h1, h2 { margin: 0; }
a { color: var(--iris); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--ink); }
a:focus-visible { outline: 2px solid var(--iris); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.page {
  --gutter: clamp(24px, 5vw, 72px);
  --bleed: min(32px, calc(var(--gutter) - 8px));
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1200px);
  justify-content: center;
  grid-template-rows: minmax(clamp(40px, 8vh, 96px), 1fr) auto minmax(clamp(56px, 10vh, 128px), 1.5fr) auto clamp(40px, 7vh, 72px) auto;
  padding: 0 var(--gutter);
  container-type: inline-size;
}
.intro { grid-row: 2; min-width: 0; display: flex; flex-direction: column; gap: clamp(16px, 3.2cqi, 28px); }
.wordmark {
  font-size: clamp(1.5rem, 10.4cqi, 4.75rem);
  font-weight: 500;
  font-variation-settings: 'SHRP' 100, 'slnt' -6;
  letter-spacing: -.02em;
  line-height: 1;
  color: var(--iris);
  /* Naturally one line at design sizes; allow reflow with enlarged/fallback type. */
  white-space: normal;
  overflow-wrap: anywhere;
}
.mission { font-size: clamp(1.25rem, 4cqi, 1.875rem); font-weight: 350; font-variation-settings: 'SHRP' 0, 'slnt' 0; letter-spacing: -.01em; line-height: 1.25; color: var(--mission); text-wrap: balance; }
.panel {
  grid-row: 4;
  min-width: 0;
  margin: 0 calc(-1 * var(--bleed));
  padding: clamp(24px, 4vw, 32px) var(--bleed);
  background: var(--panel);
  border-radius: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 28px 32px;
  align-items: start;
}
.signup, .contact { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.signup { max-width: 520px; }
.panel h2 { font-size: 1rem; font-weight: 500; line-height: 1.3; }
.signup-form {
  /* Same default row geometry as minmax(0,1fr) auto; enlarged text may wrap. */
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}
#signup-email {
  flex: 1 1 5rem;
  min-width: min(100%, 5rem);
  width: 0;
  max-width: 100%;
  min-height: 52px;
  padding: 0 22px;
  font-size: 1rem;
  color: var(--ink);
  background: var(--page);
  border: 1px solid var(--input-border);
  border-radius: 999px;
}
#signup-email::placeholder { color: var(--placeholder); opacity: 1; }
#signup-email:focus { border-color: var(--iris); box-shadow: 0 0 0 3px rgba(106, 63, 214, .18); outline: none; }
.signup-form button {
  flex: 0 0 auto;
  min-height: 52px;
  max-width: 100%;
  padding: 0 26px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--page);
  background: var(--iris);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.signup-form button:hover { background: var(--iris-hover); }
.signup-form button:focus-visible { outline: 2px solid var(--iris); outline-offset: 3px; }
.signup-form button:disabled, #signup-email:disabled { cursor: not-allowed; }
.signup-note { padding-left: 22px; font-size: .875rem; line-height: 1.4; color: var(--muted); overflow-wrap: anywhere; }
.signup-note[data-state='invalid'], .signup-note[data-state='error'] { color: var(--error); }
.signup-success { min-height: 52px; padding-left: 22px; display: flex; align-items: center; font-size: 1rem; color: var(--ink); line-height: 1.4; overflow-wrap: anywhere; }
.contact-link { min-height: 52px; display: flex; align-items: center; align-self: start; max-width: 100%; font-size: 1rem; overflow-wrap: anywhere; }
.page-footer {
  grid-row: 6;
  padding: 12px 0 20px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 4px 24px;
  font-size: .875rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--muted);
}
.company-legal { display: flex; flex-wrap: wrap; gap: 4px 20px; overflow-wrap: anywhere; }
.policy-disclosure { position: relative; max-width: 100%; }
.policy-trigger, .privacy-fallback { display: flex; align-items: center; min-height: 44px; padding: 0 4px; margin: 0 -4px; color: var(--muted); }
.policy-trigger { gap: 8px; font-size: inherit; background: none; border: 0; cursor: pointer; }
.policy-trigger:hover { color: var(--ink); }
.policy-trigger:focus-visible { outline: 2px solid var(--iris); outline-offset: 2px; border-radius: 4px; }
.chevron { display: inline-block; flex: 0 0 7px; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: translateY(2px) rotate(-45deg); }
.policy-trigger[aria-expanded='true'] .chevron { transform: translateY(-2px) rotate(135deg); }
.policy-menu { position: absolute; right: 0; bottom: calc(100% + 8px); margin: 0; padding: 8px; list-style: none; background: var(--page); border: 1px solid var(--menu-border); border-radius: 12px; box-shadow: 0 6px 20px rgba(18, 33, 59, .08); min-width: 160px; z-index: 1; }
.policy-menu a { display: block; min-height: 44px; padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.policy-menu a:hover { background: var(--panel); }
.policy-menu a:focus-visible { outline: 2px solid var(--iris); outline-offset: 0; }
.privacy-page { width: min(calc(100% - 48px), 40rem); margin-inline: auto; padding-block: clamp(40px, 8vh, 96px) 64px; line-height: 1.6; overflow-wrap: anywhere; }
.privacy-page .home-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; text-decoration: none; }
.privacy-page h1 { margin: 32px 0 8px; font-size: 1.875rem; font-weight: 500; line-height: 1.25; color: var(--iris); }
.privacy-page p { margin-bottom: 16px; }
.privacy-page .effective-date { margin-bottom: 24px; color: var(--muted); font-size: .875rem; }
.privacy-page p:last-child a { display: inline-flex; align-items: center; min-height: 44px; }
