:root {
  --ulu-bg: #08A6BF;
  --ulu-button: #078CA3;
  --ulu-button-pressed: #057B91;
  --ulu-highlight: #14B9D4;
  --ulu-white: #FFFFFF;
  --ulu-card: rgba(247, 251, 252, 0.86);
  --ulu-text: #1F2633;
  --ulu-text-secondary: #5C6670;
  --ulu-placeholder: #9AA3AD;
  --ulu-border: #D7DDE2;
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  --font-brand: Georgia, Cambria, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ulu-text);
  font-family: var(--font-sans);
  background: var(--ulu-bg);
  isolation: isolate;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(
      180deg,
      rgba(8, 166, 191, 0.03) 0%,
      rgba(8, 166, 191, 0.12) 54%,
      rgba(5, 123, 145, 0.24) 100%
    ),
    url("assets/ulu-background.png") center / cover no-repeat;
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 52% 35%, rgba(255, 255, 255, 0.28), transparent 28%),
    linear-gradient(180deg, rgba(8, 166, 191, 0.03), rgba(8, 166, 191, 0.34));
  pointer-events: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-shell {
  min-height: 100svh;
}

.hero {
  display: flex;
  min-height: 100svh;
  width: 100%;
  align-items: center;
  justify-content: flex-start;
  padding: clamp(56px, 8vh, 96px) 24px 40px;
  flex-direction: column;
}

.brand {
  display: flex;
  align-items: center;
  color: var(--ulu-white);
  flex-direction: column;
  margin-bottom: 46px;
  text-align: center;
  text-shadow: 0 18px 42px rgba(31, 38, 51, 0.22);
}

.brand-word {
  font-family: var(--font-brand);
  font-size: 4.75rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.brand-wave {
  width: 64px;
  height: auto;
  margin-top: 12px;
  opacity: 0.96;
}

.waitlist-card {
  width: min(calc(100vw - 48px), 440px);
  padding: 44px 42px 40px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 30px;
  background: var(--ulu-card);
  box-shadow:
    0 28px 72px rgba(5, 123, 145, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  text-align: center;
}

.waitlist-card h1 {
  margin: 0;
  font-size: 2.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.intro {
  max-width: 320px;
  margin: 12px auto 32px;
  color: var(--ulu-text-secondary);
  font-size: 1.0625rem;
  line-height: 1.5;
}

.waitlist-form {
  display: grid;
  gap: 16px;
}

.input-shell {
  display: flex;
  height: 60px;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--ulu-border);
  border-radius: 15px;
  background: var(--ulu-white);
  color: var(--ulu-placeholder);
  padding: 0 18px;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease;
}

.input-shell:focus-within {
  border-color: var(--ulu-button);
  box-shadow: 0 0 0 4px rgba(20, 185, 212, 0.18);
  color: var(--ulu-button);
}

.input-shell.has-error {
  border-color: #C94545;
  box-shadow: 0 0 0 4px rgba(201, 69, 69, 0.12);
}

.field-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ulu-text);
  background: transparent;
  font-size: 1rem;
}

input::placeholder {
  color: var(--ulu-placeholder);
}

.form-message,
.form-status {
  margin: -6px 0 0;
  color: #A13B3B;
  font-size: 0.8125rem;
  line-height: 1.35;
  text-align: left;
}

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

.form-status {
  margin: 0;
  color: var(--ulu-button-pressed);
  text-align: center;
}

.submit-button {
  height: 60px;
  width: 100%;
  border: 0;
  border-radius: 15px;
  color: var(--ulu-white);
  background:
    linear-gradient(180deg, rgba(20, 185, 212, 0.22), rgba(20, 185, 212, 0)),
    var(--ulu-button);
  box-shadow: 0 16px 30px rgba(5, 123, 145, 0.2);
  font-size: 1rem;
  font-weight: 700;
  transition:
    background-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.submit-button:hover {
  box-shadow: 0 22px 42px rgba(5, 123, 145, 0.3);
  transform: translateY(-1px);
}

.submit-button:active {
  background-color: var(--ulu-button-pressed);
  transform: translateY(0);
}

.submit-button:focus-visible {
  outline: 4px solid rgba(255, 255, 255, 0.72);
  outline-offset: 4px;
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.82;
  transform: none;
}

.waitlist-form.is-success .submit-button {
  background:
    linear-gradient(180deg, rgba(20, 185, 212, 0.16), rgba(20, 185, 212, 0)),
    var(--ulu-button-pressed);
  cursor: default;
  opacity: 1;
}

.trust-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 24px 0 0;
  color: #4F7480;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.43;
}

.trust-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.site-footer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  text-shadow: 0 10px 30px rgba(31, 38, 51, 0.22);
}

.site-footer a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 4px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration: underline;
}

.content-shell {
  display: flex;
  min-height: 100svh;
  width: 100%;
  align-items: center;
  padding: 56px 24px 40px;
  flex-direction: column;
}

.content-brand {
  margin-bottom: 28px;
}

.brand-home-link {
  display: inline-flex;
  align-items: center;
  color: inherit;
  flex-direction: column;
  text-decoration: none;
}

.content-card {
  width: min(calc(100vw - 48px), 760px);
  padding: 46px 48px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 30px;
  background: var(--ulu-card);
  box-shadow:
    0 28px 72px rgba(5, 123, 145, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}

.content-card h1 {
  margin: 0 0 26px;
  font-size: 2.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-align: center;
}

.content-card h2 {
  margin: 30px 0 10px;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.content-card p,
.content-card li {
  color: var(--ulu-text-secondary);
  font-size: 1rem;
  line-height: 1.65;
}

.content-card p {
  margin: 0 0 14px;
}

.content-card ul {
  margin: 0 0 18px;
  padding-left: 22px;
}

.content-card li + li {
  margin-top: 6px;
}

.content-card a {
  color: var(--ulu-button-pressed);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.content-card .eyebrow {
  margin-bottom: 10px;
  color: #4F7480;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

.support-content {
  max-width: 680px;
}

.support-intro {
  max-width: 560px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.text-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(5, 123, 145, 0.22);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.58);
  padding: 0 16px;
  text-decoration: none;
}

.content-footer {
  margin-top: 22px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 720px) {
  .hero {
    padding: 104px 24px 28px;
  }

  .brand {
    margin-bottom: 58px;
  }

  .brand-word {
    font-size: 3.375rem;
  }

  .brand-wave {
    width: 56px;
    margin-top: 10px;
  }

  .waitlist-card {
    width: min(calc(100vw - 48px), 352px);
    padding: 34px 26px;
    border-radius: 30px;
  }

  .waitlist-card h1 {
    font-size: 1.875rem;
    line-height: 1.27;
  }

  .intro {
    max-width: 300px;
    margin: 12px auto 30px;
    font-size: 1rem;
    line-height: 1.5;
  }

  .input-shell {
    height: 56px;
  }

  .submit-button {
    height: 56px;
  }

  .site-footer {
    margin-top: 20px;
    font-size: 0.8125rem;
  }

  .content-shell {
    padding: 44px 24px 28px;
  }

  .content-brand {
    margin-bottom: 22px;
  }

  .content-brand .brand-word {
    font-size: 3rem;
  }

  .content-brand .brand-wave {
    width: 50px;
    margin-top: 9px;
  }

  .content-card {
    width: min(calc(100vw - 48px), 520px);
    padding: 34px 26px;
    border-radius: 30px;
  }

  .content-card h1 {
    margin-bottom: 22px;
    font-size: 1.875rem;
    line-height: 1.27;
  }

  .content-card h2 {
    margin-top: 26px;
    font-size: 1.0625rem;
  }

  .content-card p,
  .content-card li {
    font-size: 0.9375rem;
    line-height: 1.6;
  }
}

@media (max-width: 420px) {
  .hero {
    padding-top: 96px;
  }

  .waitlist-card {
    padding-right: 24px;
    padding-left: 24px;
  }

  .content-card {
    padding-right: 24px;
    padding-left: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
