@font-face {
  font-family: "Poppins";
  src: url("fonts/poppins-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("fonts/poppins-semibold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("fonts/poppins-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("fonts/poppins-extrabold.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("fonts/atkinson-hyperlegible-next-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --ab-navy: #14202B;
  --ab-teal: #2EC4B6;
  --ab-teal-text: #0B7A70;
  --ab-accent: #F0466A;
  --ab-accent-text: #D6284F;
  --ab-btn-top: #F0466A;
  --ab-btn-mid: #D6284F;
  --ab-btn-bot: #B51E40;
  --ab-tint: #F2F8FA;
  --ab-tint-2: #E8F6F4;
  --ab-line: #D3E1E8;
  --ab-white: #FFFFFF;
  --font-head: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Atkinson Hyperlegible Next", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--ab-white); color: var(--ab-navy); }
html { overflow-x: hidden; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: auto;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--ab-teal-text); text-underline-offset: 0.2em; }
a:hover, a:focus-visible { color: var(--ab-navy); }

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

/* Two-colour brand names (navy + accent + matching TM) */
.ab-name { white-space: nowrap; }
.ab-name .ab-first { color: var(--ab-navy); }
.ab-name .ab-batch,
.ab-name .ab-tm { color: var(--ab-accent-text); }

.sa-name { white-space: nowrap; }
.sa-name .sa-sync,
a .sa-name .sa-sync,
a:hover .sa-name .sa-sync,
a:focus-visible .sa-name .sa-sync { color: var(--ab-navy); }
.sa-name .sa-angle,
.sa-name .sa-tm,
a .sa-name .sa-angle,
a .sa-name .sa-tm { color: var(--ab-teal-text); }

/* Hero: full-width photo, copy overlaid (SyncAngle™ pattern). */
.ab-hero {
  position: relative;
  overflow: hidden;
  background: #090E12;
  color: #FFFFFF;
}

.ab-hero-stage {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
}

.ab-hero-photo {
  position: absolute;
  inset: 0;
}

.ab-hero-photo img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 64% 52%;
  display: block;
}

.ab-hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(9, 14, 18, 0.82) 0%, rgba(9, 14, 18, 0.62) 38%, rgba(9, 14, 18, 0.28) 68%, rgba(9, 14, 18, 0.5) 100%);
}

.ab-hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: min(76rem, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: max(2.25rem, env(safe-area-inset-top)) 0 2.75rem;
  min-height: 100vh;
  min-height: 100svh;
  justify-content: flex-start;
  padding-top: max(2.75rem, calc(env(safe-area-inset-top) + 1.75rem));
}

/* Brand lockup: icon slot + wordmark + slogan always stay together */
.ab-brand-lockup {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: clamp(1.35rem, 3vw, 2.1rem);
}

.ab-icon-slot {
  width: 5.5rem;
  height: 5.5rem;
  margin-bottom: 0.95rem;
  border-radius: 22.65%;
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.45));
  flex-shrink: 0;
}

.ab-icon-slot picture, .ab-icon-slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ab-wordmark {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.15rem, 4.4vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.ab-wordmark .ab-tm {
  font-size: 0.42em;
  font-weight: 700;
  vertical-align: 0.85em;
  margin-left: 0.04em;
}

.ab-hero .ab-name .ab-first { color: #FFFFFF; }
.ab-hero .ab-name .ab-batch,
.ab-hero .ab-name .ab-tm { color: var(--ab-accent); }

.ab-slogan {
  margin: 0.45rem 0 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.2rem, 1.92vw, 1.38rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}

.ab-hero .ab-slogan .sa-sync { color: #FFFFFF; }
.ab-hero .ab-slogan .sa-angle,
.ab-hero .ab-slogan .sa-tm,
.ab-hero .sa-name .sa-angle,
.ab-hero .sa-name .sa-tm { color: var(--ab-teal); }

.ab-slogan .sa-tm {
  font-size: 0.65em;
  vertical-align: 0.35em;
}

.ab-hero-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.35rem, 4.8vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: #FFFFFF;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.ab-hero-sub {
  margin: 0 0 1.75rem;
  max-width: 34ch;
  font-size: 1.125rem;
  line-height: 1.5;
  color: #FFFFFF;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}
@media (min-width: 768px) {
  .ab-hero-sub {
    font-size: 1.1875rem;
  }
}

.ab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.75rem 1.85rem;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ab-white);
  background: linear-gradient(180deg, var(--ab-btn-top), var(--ab-btn-mid) 55%, var(--ab-btn-bot));
  border: 1px solid var(--ab-btn-bot);
  border-radius: 0.65rem;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(240, 70, 106, 0.34);
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.ab-btn:hover,
.ab-btn:focus-visible {
  color: var(--ab-white);
  background: var(--ab-navy);
  border-color: var(--ab-navy);
  box-shadow: 0 12px 28px rgba(20, 32, 43, 0.22);
  transform: translateY(-1px);
}

.ab-btn:focus-visible {
  outline: 3px solid var(--ab-teal);
  outline-offset: 3px;
}

@media (min-width: 1024px) {
  .ab-hero-stage,
  .ab-hero-copy {
    min-height: 85vh;
    min-height: 85svh;
  }
  .ab-hero-photo img {
    object-position: 68% 50%;
  }
  .ab-hero-stage::after {
    background: linear-gradient(90deg, rgba(9, 14, 18, 0.88) 0%, rgba(9, 14, 18, 0.72) 32%, rgba(9, 14, 18, 0.28) 58%, rgba(9, 14, 18, 0.08) 100%);
  }
  .ab-hero-copy {
    align-items: flex-start;
    text-align: left;
    justify-content: center;
    padding: 3rem 0;
  }
  .ab-brand-lockup {
    align-items: flex-start;
  }
  .ab-icon-slot {
    width: 6.5rem;
    height: 6.5rem;
    border-radius: 22.65%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ab-btn, .ab-btn:hover { transition: none; transform: none; }
}

/* Waitlist section (SyncAngle™ light card pattern) */
.ab-waitlist-band {
  background: var(--ab-tint);
  border-top: 1px solid var(--ab-line);
  border-bottom: 1px solid var(--ab-line);
  padding: clamp(2.75rem, 6vw, 4.75rem) 1.25rem;
}

.waitlist-card {
  width: min(44rem, 100%);
  margin: 0 auto;
  background: var(--ab-white);
  border: 1px solid var(--ab-line);
  border-top: 4px solid var(--ab-accent);
  border-radius: 1.25rem;
  padding: clamp(1.75rem, 4vw, 2.85rem);
  box-shadow: 0 16px 44px rgba(20, 32, 43, 0.08);
}

.waitlist-card.is-done {
  text-align: center;
}

.waitlist-card.is-done .lede {
  margin-left: auto;
  margin-right: auto;
}

.kicker {
  margin: 0 0 0.5rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ab-teal-text);
}

.waitlist-card h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.65rem, 3.2vw, 2.25rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--ab-navy);
}

.lede {
  margin: 0 0 1.4rem;
  max-width: 52ch;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--ab-navy);
}
@media (min-width: 768px) {
  .lede {
    font-size: 1.1875rem;
  }
}

.waitlist-card form {
  margin-top: 0.5rem;
}

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

.form-row {
  display: block;
}

.field {
  min-width: 0;
}

input[type="email"] {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.65rem 0.95rem;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  color: var(--ab-navy);
  background: var(--ab-white);
  border: 2px solid var(--ab-teal);
  border-radius: 0.6rem;
  outline: none;
}

input[type="email"]::placeholder {
  color: var(--ab-navy);
  opacity: 1;
}

input[type="email"]:focus-visible {
  box-shadow: 0 0 0 3px rgba(46, 196, 182, 0.35);
}

button[type="submit"] {
  margin-top: 0.85rem;
  width: 100%;
  min-height: 3.25rem;
  padding: 0.65rem 1.75rem;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ab-white);
  background: linear-gradient(180deg, var(--ab-btn-top), var(--ab-btn-mid) 55%, var(--ab-btn-bot));
  border: 1px solid var(--ab-btn-bot);
  border-radius: 0.6rem;
  cursor: pointer;
}

button[type="submit"]:hover,
button[type="submit"]:focus-visible {
  background: var(--ab-navy);
  border-color: var(--ab-navy);
  color: var(--ab-white);
}

button[type="submit"]:focus-visible {
  outline: 3px solid var(--ab-teal);
  outline-offset: 2px;
}

button[type="submit"]:disabled {
  cursor: wait;
  opacity: 0.8;
}

@media (min-width: 600px) {
  .form-row {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
  }
  .form-row .field {
    flex: 1;
  }
  button[type="submit"] {
    width: auto;
    margin-top: 0;
    flex-shrink: 0;
  }
}

.privacy-note {
  margin: 0.95rem 0 0;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--ab-navy);
}
@media (min-width: 768px) {
  .privacy-note {
    font-size: 1.0625rem;
  }
}

.form-status {
  margin: 1rem 0 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ab-navy);
}

.form-status[hidden] { display: none; }
.form-status.is-success { color: var(--ab-teal-text); }
.form-status.is-error { color: var(--ab-accent-text); }

.waitlist-done[hidden] { display: none; }

/* Footer */
footer {
  background: var(--ab-white);
  text-align: center;
  padding: 2.5rem 1.25rem max(2.75rem, env(safe-area-inset-bottom));
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ab-navy);
}

footer p {
  margin: 0 0 0.55rem;
  color: var(--ab-navy);
}

footer p:last-child {
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  margin-bottom: 0.85rem;
  font-family: var(--font-head);
  font-weight: 600;
}

.footer-links a {
  color: var(--ab-teal-text);
  text-decoration: none;
  padding: 0.25rem 0;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--ab-navy);
  text-decoration: underline;
}
