/* Aurora website — shared styles. Tokens and sizes come from the design handoff
   (README "Design tokens"); change them here, not per page. */

@font-face {
  font-family: "Dune Rise"; /* wordmark only. SIL OFL 1.1 — see /assets/fonts/DuneRise-OFL.txt */
  src: url("/assets/fonts/DuneRise.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: Inter; /* fallback where there is no San Francisco; only fetched when used */
  src: url("/assets/fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1d1d1f;
  --body: #424245;
  --muted: #6e6e73;
  --hairline: #d2d2d7;
  --row-rule: #e8e8ed;
  --surface: #f5f5f7;
  --page: #ffffff;
  --photo-fallback: #dfe5ee;
  --ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --size-display: clamp(30px, 3.9vw, 56px);
  --size-body: clamp(19px, 1.7vw, 24px);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--page);
  color: var(--ink);
  font-family: var(--ui);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
a { color: var(--ink); }
a:hover { color: #000000; }
[hidden] { display: none !important; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

.site { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }

/* ---------- Wordmark ---------- */
.wordmark {
  position: relative;
  margin: 0;
  padding-left: 0.6em; /* balances the trailing letter-space so it sits optically centred */
  font-family: "Dune Rise", Inter, sans-serif;
  font-weight: 400;
  font-size: clamp(24px, 4vw, 64px);
  line-height: 1;
  letter-spacing: 0.6em;
  color: #ffffff;
  text-shadow: 0 1px 28px rgba(18, 26, 44, 0.38);
  white-space: nowrap;
  text-decoration: none;
}
a.wordmark:hover { color: #ffffff; }
a.wordmark:focus-visible { outline: 2px solid #ffffff; outline-offset: 6px; border-radius: 2px; }

/* ---------- Photo header band (every page but the landing page) ---------- */
.band {
  position: relative;
  height: clamp(220px, 25vw, 360px);
  overflow: hidden;
  background: var(--photo-fallback);
  display: flex;
  justify-content: center;
  padding: clamp(28px, 4vw, 60px) 20px 0;
}
.band--short { height: clamp(160px, 14vw, 200px); }
.band .wordmark { align-self: flex-start; }
.photo {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 40%; display: block;
}
.photo-shade {
  position: absolute; top: 0; left: 0; width: 100%; height: 60%;
  background-image: linear-gradient(to bottom, rgba(22, 30, 48, 0.34), rgba(22, 30, 48, 0));
  pointer-events: none;
}

/* ---------- Landing ---------- */
.landing { background: var(--surface); }
.hero {
  position: relative;
  flex: 1 1 auto;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background: var(--photo-fallback);
}
.hero .photo { object-position: 50% 42%; }
.hero .photo-shade { height: 26%; }
.hero-top {
  position: relative; width: 100%;
  padding: clamp(28px, 5.5vh, 60px) 20px 0;
  display: flex; justify-content: center;
}
.hero-bottom {
  position: relative; width: 100%;
  padding: 0 20px clamp(72px, 17vh, 190px);
  display: flex; justify-content: center;
}
.signup { width: 100%; max-width: 480px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.coming {
  margin: 0;
  font-size: 19px; font-weight: 500; line-height: 1.2; letter-spacing: 0.08em;
  color: #ffffff; text-align: center;
  text-shadow: 0 1px 14px rgba(18, 26, 44, 0.5), 0 0 2px rgba(18, 26, 44, 0.3);
}
.bar {
  width: 100%; max-width: 480px; height: 58px;
  padding: 0 7px 0 20px;
  display: flex; align-items: center; gap: 12px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: saturate(180%) blur(28px);
  backdrop-filter: saturate(180%) blur(28px);
  box-shadow: 0 18px 50px rgba(28, 40, 66, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: box-shadow .3s ease, background-color .3s ease;
}
.bar:focus-within {
  background-color: rgba(255, 255, 255, 0.74);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.38), 0 18px 50px rgba(28, 40, 66, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}
.bar > svg { flex-shrink: 0; }
.bar-icon { opacity: 0.72; }
.bar input[type="email"] {
  flex: 1 1 auto; min-width: 0; height: 44px; padding: 0; border: 0;
  background: transparent; color: var(--ink);
  font-family: inherit; font-size: 17px; font-weight: 400; line-height: 1.2; letter-spacing: -0.022em;
}
.bar input::placeholder { color: rgba(29, 29, 31, 0.66); opacity: 1; }
.bar input:focus { outline: none; }
.bar--done { width: auto; padding: 0 26px 0 20px; }
.bar--done p { margin: 0; font-size: 17px; font-weight: 400; line-height: 1.2; letter-spacing: -0.022em; color: var(--ink); }
.signup-note {
  margin: -6px 0 0; padding: 6px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  font-size: 14px; line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); text-align: center;
}

/* ---------- Buttons ---------- */
.btn {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 6px;
  height: 44px; padding: 0 16px 0 20px;
  border: 0; border-radius: 999px;
  background-color: var(--ink); color: #ffffff;
  font-family: inherit; font-size: 15px; font-weight: 500; line-height: 1; letter-spacing: -0.01em;
  white-space: nowrap; text-decoration: none; cursor: pointer;
  transition: background-color .25s ease, transform .25s ease;
}
.btn:hover { background-color: #000000; color: #ffffff; }
.btn:active { transform: scale(0.97); }
.btn:focus-visible { outline: 2px solid #ffffff; outline-offset: 2px; }
.btn[disabled] { opacity: 0.6; cursor: default; }
.btn--standalone {
  margin-top: clamp(24px, 2.8vw, 40px);
  height: 48px; padding: 0 20px 0 24px; gap: 7px;
  font-size: 17px; letter-spacing: -0.015em;
}
.btn--standalone:focus-visible { outline-color: var(--ink); outline-offset: 3px; }

/* ---------- Marketing pages (Manifesto, Careers, Contact) ---------- */
.prose {
  flex: 1 1 auto; width: 100%;
  padding: clamp(64px, 7vw, 104px) 24px clamp(72px, 8.5vw, 128px);
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(28px, 3vw, 44px);
  text-align: center;
}
.prose .label {
  margin: 0;
  font-size: var(--size-body); font-weight: 500; line-height: 1.42; letter-spacing: -0.012em;
  color: var(--muted);
}
.prose .display {
  margin: 0 0 clamp(12px, 1.7vw, 24px); max-width: 920px;
  font-size: var(--size-display); font-weight: 600; line-height: 1.09; letter-spacing: -0.022em;
  color: var(--ink); text-wrap: balance;
}
.prose .copy {
  width: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 1.42em;
  font-size: var(--size-body);
}
.prose .copy p, .prose .copy h2 {
  margin: 0; max-width: 720px;
  font-size: var(--size-body); line-height: 1.42; letter-spacing: -0.012em;
}
.prose .copy p { font-weight: 400; color: var(--body); text-wrap: pretty; }
.prose .copy h2, .prose .copy p.strong { font-weight: 600; color: var(--ink); text-wrap: balance; }
.prose .pair { display: flex; flex-direction: column; align-items: center; gap: 0.2em; }
.text-link, .legal a {
  color: var(--ink); text-decoration: underline;
  text-underline-offset: 0.18em; text-decoration-thickness: 1px;
}

/* ---------- Legal pages (Privacy, Terms) ---------- */
.legal-wrap {
  flex: 1 1 auto; width: 100%;
  padding: clamp(48px, 5.5vw, 80px) 24px clamp(64px, 6.5vw, 96px);
  display: flex; flex-direction: column; align-items: center;
}
.legal { width: 100%; max-width: 980px; display: flex; flex-direction: column; gap: 16px; text-align: left; }
.legal h1 {
  margin: 0;
  font-size: var(--size-display); font-weight: 600; line-height: 1.09; letter-spacing: -0.022em; color: var(--ink);
}
.legal p, .legal li {
  margin: 0;
  font-size: 17px; font-weight: 400; line-height: 1.47; letter-spacing: -0.022em; color: var(--body);
}
.legal p.date { margin-bottom: 16px; color: var(--muted); }
.legal p.lead { font-weight: 500; color: var(--ink); }
.legal strong { font-weight: 600; color: var(--ink); }
.legal h2 {
  margin: 28px 0 0; scroll-margin-top: 24px;
  font-size: 24px; font-weight: 600; line-height: 1.2; letter-spacing: -0.015em; color: var(--ink);
}
.legal ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.legal .contents {
  margin-top: 8px; padding: 22px 26px; border-radius: 18px; background: var(--surface);
  display: flex; flex-direction: column; gap: 10px;
}
.legal .contents > strong { font-size: 17px; line-height: 1.47; letter-spacing: -0.022em; }
.legal .contents ol { margin: 0; padding-left: 24px; display: flex; flex-direction: column; gap: 4px; }
.legal .table-scroll { width: 100%; overflow-x: auto; }
.legal table { width: 100%; min-width: 520px; border-collapse: collapse; table-layout: fixed; }
.legal th {
  padding: 12px 16px 12px 0; text-align: left; vertical-align: bottom;
  font-size: 14px; font-weight: 600; line-height: 1.4; letter-spacing: -0.01em; color: var(--muted);
  border-bottom: 1px solid var(--hairline);
}
.legal td {
  padding: 14px 16px 14px 0; text-align: left; vertical-align: top;
  font-size: 15px; font-weight: 400; line-height: 1.47; letter-spacing: -0.016em; color: var(--body);
  border-bottom: 1px solid var(--row-rule);
}
.legal td.ink { color: var(--ink); }
.legal td.key { font-weight: 600; color: var(--ink); }

/* ---------- Footer ---------- */
.footer { width: 100%; padding: 0 22px; background: var(--surface); border-top: 1px solid var(--hairline); }
.footer-row {
  width: 100%; padding: 8px 0;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  column-gap: 24px; row-gap: 0;
}
.footer p, .footer a { font-size: 12px; font-weight: 400; line-height: 1.33; letter-spacing: -0.01em; }
.footer p { margin: 0; padding: 6px 0; color: var(--muted); }
.footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--body); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer a[aria-current="page"] { color: var(--ink); }
.footer a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 2px; }
/* Page links are separated by 1 x 12px dividers. Each divider belongs to the link AFTER it and
   sits in a strip that is pulled off the left edge and clipped, so when the links wrap, the
   first link on every line shows no divider and none is left hanging at a line's end. */
.footer-pages { overflow: hidden; padding-right: 4px; }
.footer-pages ul { list-style: none; margin: 0 0 0 -25px; padding: 0; display: flex; flex-wrap: wrap; align-items: center; }
.footer-pages li { position: relative; margin-left: 12px; padding-left: 13px; }
.footer-pages li::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 1px; height: 12px; margin-top: -6px;
  background: var(--hairline);
}
.footer-social { display: flex; flex-wrap: wrap; align-items: center; column-gap: 18px; }

@media (max-width: 720px) {
  .photo { object-position: 60% 40%; }
  .hero .photo { object-position: 66% 42%; }
}
@media (prefers-reduced-motion: reduce) {
  .bar, .btn { transition: none; }
}
