:root {
  color-scheme: light;
  --navy: #102f49;
  --navy-strong: #0b2942;
  --blue: #007eb8;
  --cyan: #02a7dc;
  --blue-soft: #e7f5fb;
  --background: #f5f9fc;
  --surface: #ffffff;
  --surface-muted: #eef5f9;
  --border: #ccdde8;
  --text: #18334b;
  --muted: #5a7185;
  --danger: #b42318;
  --success: #147a52;
  --shadow: rgba(18, 47, 73, 0.13);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 35%, rgba(2, 167, 220, 0.08), transparent 33rem),
    var(--background);
  color: var(--text);
  padding: 6px;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(2, 167, 220, 0.38);
  outline-offset: 3px;
}

.page-shell {
  display: flex;
  width: 100%;
  min-height: calc(100vh - 12px);
  flex-direction: column;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 24px;
}

main {
  display: flex;
  width: min(1120px, calc(100% - 56px));
  flex-direction: column;
  margin: 0 auto;
}

.site-header {
  display: flex;
  width: min(1120px, calc(100% - 56px));
  min-height: 80px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy-strong);
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.brand-name {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.app-link,
.uk-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease;
}

.app-link {
  color: var(--blue);
}

.app-link:hover,
.uk-link:hover {
  color: var(--blue);
}

.app-link svg,
.uk-link svg,
.submit-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.hero {
  display: flex;
  min-height: 590px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 126px 0 30px;
  text-align: center;
}

.globe-orbit {
  position: relative;
  display: grid;
  width: 92px;
  height: 92px;
  margin-bottom: 30px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 14px 38px var(--shadow);
  color: var(--blue);
}

.globe-orbit::after {
  position: absolute;
  inset: -14px;
  border: 1px dashed rgba(0, 126, 184, 0.3);
  border-radius: inherit;
  content: "";
}

.globe-orbit svg {
  width: 39px;
  height: 39px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 0 5px rgba(2, 167, 220, 0.14);
}

h1 {
  margin: 0;
  color: var(--navy-strong);
  font-size: clamp(42px, 6vw, 70px);
  font-weight: 600;
  letter-spacing: -0.052em;
  line-height: 1.02;
}

.lead {
  max-width: 700px;
  margin: 24px 0 30px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.62;
}

.waitlist-form {
  display: flex;
  width: min(760px, 100%);
  flex-direction: column;
  gap: 9px;
  text-align: left;
}

.form-controls {
  display: grid;
  grid-template-columns: minmax(190px, 1.35fr) minmax(150px, 0.85fr) auto;
  align-items: start;
  gap: 10px;
  padding: 11px;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: var(--surface);
  box-shadow: 0 20px 48px var(--shadow);
}

.email-field,
.country-field {
  min-width: 0;
}

.email-field label,
.country-field label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.email-field input,
.country-field select {
  width: 100%;
  min-width: 0;
  height: 50px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--background);
  color: var(--text);
  padding: 0 15px;
}

.country-field select {
  appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2318334b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 14px center;
  background-repeat: no-repeat;
  background-size: 16px 16px;
}

.email-field input::placeholder {
  color: #7b8f9f;
}

.email-field input[aria-invalid="true"],
.country-field select[aria-invalid="true"] {
  border-color: var(--danger);
}

.submit-button {
  display: inline-flex;
  height: 50px;
  min-height: 50px;
  align-self: start;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 11px;
  background: var(--navy-strong);
  color: #ffffff;
  cursor: pointer;
  padding: 0 21px;
  font-weight: 700;
  transition:
    background 160ms ease,
    transform 160ms ease;
}

.submit-button:hover:not(:disabled) {
  background: #123b5d;
}

.submit-button:active:not(:disabled) {
  transform: translateY(1px);
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.submit-button[data-state="success"] {
  background: var(--success);
  cursor: default;
  opacity: 1;
}

.submit-button [hidden] {
  display: none;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.consent input {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin: 1px 0 0;
  accent-color: var(--navy-strong);
}

.consent a {
  color: var(--blue);
  font-weight: 700;
}

.field-error,
.form-status {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
}

.field-error {
  color: var(--danger);
  padding: 6px 2px 0;
}

.consent-error {
  margin-top: -4px;
}

.form-status {
  min-height: 0;
  color: var(--muted);
  text-align: center;
}

.form-status[data-state="success"] {
  color: var(--success);
  font-weight: 700;
}

.form-status[data-state="error"] {
  color: var(--danger);
}

.reset-button {
  display: inline-flex;
  align-self: center;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: var(--blue);
  cursor: pointer;
  padding: 2px 8px;
  font-size: 13px;
  font-weight: 700;
}

.reset-button[hidden] {
  display: none;
}

.reset-button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.form-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.feature-section {
  margin-top: 36px;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 22px;
  row-gap: 24px;
  padding: 0 0 28px;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  min-height: 88px;
  padding: 18px 14px 0;
  border-top: 1px solid var(--border);
}

.feature-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 11px;
  background: var(--blue-soft);
  color: var(--blue);
}

.feature-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.feature h3 {
  margin: 0 0 5px;
  color: var(--navy-strong);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.site-footer {
  display: flex;
  width: min(1120px, calc(100% - 56px));
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: auto auto 0;
  padding: 26px 0 32px;
  color: var(--muted);
  font-size: 12px;
}

.site-footer nav {
  display: flex;
  gap: 18px;
}

.site-footer a {
  text-underline-offset: 3px;
}

.security-overlay {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(11, 41, 66, 0.42);
  padding: 24px;
  backdrop-filter: blur(3px);
}

.security-overlay[hidden] {
  display: none;
}

.security-card {
  width: min(390px, 100%);
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  padding: 24px;
  box-shadow: 0 22px 70px rgba(10, 36, 58, 0.25);
  text-align: center;
}

.security-card h2 {
  margin: 0;
  color: var(--navy-strong);
  font-size: 20px;
}

.security-card p {
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: 14px;
}

#turnstile-container {
  display: flex;
  min-height: 65px;
  align-items: center;
  justify-content: center;
}

@media (max-width: 760px) {
  body {
    padding: 0;
  }

  .page-shell {
    min-height: 100vh;
    border: 0;
    border-radius: 0;
  }

  main,
  .site-header,
  .site-footer {
    width: min(100% - 32px, 680px);
  }

  .site-header {
    min-height: 72px;
  }

  .uk-link span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
  }

  .hero {
    min-height: auto;
    padding: 72px 0 54px;
  }

  h1 {
    font-size: clamp(40px, 12vw, 58px);
  }

  .form-controls {
    grid-template-columns: 1fr;
  }

  .submit-button {
    width: 100%;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feature {
    min-height: auto;
  }
}

@media (max-width: 480px) {
  main,
  .site-header,
  .site-footer {
    width: min(100% - 24px, 680px);
  }

  .hero {
    padding-top: 58px;
  }

  .globe-orbit {
    width: 80px;
    height: 80px;
  }

  h1 {
    font-size: clamp(37px, 12.5vw, 48px);
  }

  .lead {
    margin-top: 20px;
    font-size: 16px;
  }

  .waitlist-form {
    gap: 8px;
  }

  .form-controls {
    padding: 9px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
