:root {
  color-scheme: dark;
  --navy-950: #07111b;
  --navy-900: #0a1520;
  --navy-850: #0e1d2b;
  --navy-800: #0e2438;
  --navy-700: #18344c;
  --blue-500: #29b6f6;
  --blue-400: #4fc3f7;
  --blue-300: #7bd2f8;
  --ink: #e9f1f8;
  --muted: #9db0c1;
  --faint: #667d91;
  --line: rgba(255, 255, 255, 0.1);
  --white: #ffffff;
  --paper: #f3f8fc;
  --paper-ink: #101c28;
  --paper-muted: #5e7182;
  --danger: #ff5f57;
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --page: min(1180px, calc(100% - 40px));
  font-family:
    Inter, ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--navy-950);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--navy-900);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

a:focus-visible,
label:focus-visible {
  outline: 3px solid var(--blue-300);
  outline-offset: 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);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--white);
  color: var(--navy-900);
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
}

.nav-shell {
  width: var(--page);
  min-height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--white);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.capsule-logo {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 18px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      var(--blue-500) 0 47%,
      var(--white) 47% 53%,
      var(--navy-800) 53% 100%
    );
  box-shadow: 0 5px 18px rgba(41, 182, 246, 0.32);
  transform: rotate(-38deg);
}

.capsule-logo.large {
  width: 88px;
  height: 40px;
  border-width: 2px;
  box-shadow: 0 14px 40px rgba(41, 182, 246, 0.42);
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: color 160ms ease;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-auth {
  display: inline-flex;
  align-items: center;
}

.nav-signin {
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--white);
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.account-chip {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 6px 5px 7px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(7, 17, 27, 0.52);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.account-avatar {
  width: 34px;
  height: 34px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--blue-500);
  color: var(--navy-950);
  font-size: 13px;
  font-weight: 950;
  overflow: hidden;
}

.account-avatar img,
.state-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.account-copy {
  max-width: 120px;
  display: grid;
  line-height: 1.08;
}

.account-copy strong,
.account-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-copy strong {
  color: var(--white);
  font-size: 11px;
}

.account-copy small {
  margin-top: 3px;
  color: var(--blue-300);
  font-size: 9px;
}

.account-signout {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}

.nav-signin:hover,
.account-signout:hover {
  background: rgba(255, 255, 255, 0.14);
}

.nav-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy-900) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
}

.hero {
  position: relative;
  min-height: 860px;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 28%, rgba(41, 182, 246, 0.22), transparent 25%),
    radial-gradient(circle at 12% 90%, rgba(41, 182, 246, 0.1), transparent 22%),
    linear-gradient(145deg, var(--navy-800) 0%, var(--navy-900) 55%, var(--navy-950) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -210px;
  top: 130px;
  border: 1px solid rgba(79, 195, 247, 0.18);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(79, 195, 247, 0.025),
    0 0 0 140px rgba(79, 195, 247, 0.02);
}

.hero-grid {
  position: relative;
  z-index: 2;
  width: var(--page);
  min-height: 860px;
  margin: 0 auto;
  padding: 138px 0 82px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  align-items: center;
  gap: clamp(52px, 8vw, 110px);
}

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

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: var(--blue-500);
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  color: var(--white);
  font-size: clamp(54px, 7vw, 98px);
  line-height: 0.94;
  letter-spacing: -0.072em;
}

.hero h1 span {
  display: block;
}

.hero h1 .accent {
  color: var(--blue-500);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
}

.language-switch button {
  min-width: 38px;
  height: 34px;
  padding: 0 9px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.58);
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.language-switch button.active {
  background: var(--white);
  color: var(--navy-900);
}

.language-switch button:focus-visible {
  outline: 3px solid var(--blue-300);
  outline-offset: 3px;
}

.hero-copy {
  max-width: 610px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--blue-500);
  color: var(--navy-950);
  box-shadow: 0 14px 34px rgba(41, 182, 246, 0.3);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.button-arrow {
  font-size: 20px;
  line-height: 1;
}

.hero-trust {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--faint);
  font-size: 12px;
  font-weight: 750;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-trust span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(41, 182, 246, 0.1);
}

.auth-preview-wrap {
  position: relative;
  width: min(100%, 410px);
  justify-self: end;
}

.float-pill {
  position: absolute;
  z-index: -1;
  width: 96px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      var(--blue-500) 0 48%,
      var(--white) 48% 52%,
      var(--navy-700) 52% 100%
    );
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.24);
}

.float-pill.one {
  left: -64px;
  top: 90px;
  transform: rotate(28deg);
}

.float-pill.two {
  right: -48px;
  bottom: 70px;
  width: 70px;
  height: 32px;
  transform: rotate(-42deg);
}

.auth-shell {
  position: relative;
  overflow: hidden;
  min-height: 610px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 42px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    var(--navy-800);
  box-shadow:
    0 38px 90px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.auth-shell::after {
  content: "";
  position: absolute;
  inset: auto 22% -24px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
}

.auth-brand {
  display: grid;
  justify-items: center;
  padding: 18px 0 24px;
}

.mark-halo {
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(41, 182, 246, 0.1);
  box-shadow: inset 0 0 0 1px rgba(79, 195, 247, 0.08);
}

.auth-brand strong {
  margin-top: 17px;
  color: var(--white);
  font-size: 28px;
  letter-spacing: -0.045em;
}

.auth-brand small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.auth-switch {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.auth-tabs label {
  display: grid;
  min-height: 42px;
  place-items: center;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

#preview-signin:checked ~ .auth-tabs label[for="preview-signin"],
#preview-signup:checked ~ .auth-tabs label[for="preview-signup"] {
  background: var(--white);
  color: var(--navy-900);
}

#preview-signin:focus-visible ~ .auth-tabs label[for="preview-signin"],
#preview-signup:focus-visible ~ .auth-tabs label[for="preview-signup"] {
  outline: 3px solid var(--blue-300);
  outline-offset: 3px;
}

.auth-panels {
  padding-top: 18px;
}

.preview-panel {
  display: none;
}

#preview-signin:checked ~ .auth-panels .signin-panel,
#preview-signup:checked ~ .auth-panels .signup-panel {
  display: block;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.preview-panel form {
  display: grid;
  width: 100%;
  gap: 10px;
}

.preview-panel form .field-row {
  gap: 10px;
}

.preview-field {
  min-height: 52px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.075);
  color: rgba(255, 255, 255, 0.42);
  font-size: 13px;
}

.preview-field::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
}

.auth-field {
  display: block;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  outline: 0;
  background: rgba(255, 255, 255, 0.075);
  color: var(--white);
  font: inherit;
  font-size: 16px;
  line-height: 1.2;
  caret-color: var(--blue-300);
  transition:
    border-color 150ms ease,
    background 150ms ease,
    box-shadow 150ms ease;
}

.auth-field::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.auth-field:focus {
  border-color: rgba(79, 195, 247, 0.72);
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 0 0 3px rgba(41, 182, 246, 0.12);
}

.auth-field:-webkit-autofill,
.auth-field:-webkit-autofill:hover,
.auth-field:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--white);
  box-shadow: 0 0 0 1000px #17344d inset;
  transition: background-color 9999s ease-out 0s;
}

.auth-field:disabled,
.preview-submit:disabled,
.auth-secondary:disabled {
  cursor: wait;
  opacity: 0.58;
}

.preview-submit {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  min-height: 52px;
  margin-top: 5px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: var(--blue-500);
  color: var(--navy-950);
  font-family: inherit;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(41, 182, 246, 0.24);
  cursor: pointer;
}

.preview-submit:hover:not(:disabled) {
  background: var(--blue-400);
}

.preview-note {
  margin: 17px 16px 0;
  color: rgba(255, 255, 255, 0.38);
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}

.preview-note a {
  color: var(--blue-300);
  font-weight: 800;
}

.auth-state-panel {
  min-height: 340px;
  padding: 28px 6px 0;
  text-align: center;
}

.state-icon {
  width: 74px;
  height: 74px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(79, 195, 247, 0.22);
  border-radius: 50%;
  background: rgba(41, 182, 246, 0.1);
  color: var(--blue-400);
  font-size: 30px;
  font-weight: 950;
}

.auth-state-panel h2 {
  margin: 0;
  color: var(--white);
  font-size: 25px;
  letter-spacing: -0.04em;
}

.auth-state-panel p {
  margin: 9px 0;
  color: var(--muted);
  font-size: 12px;
}

.state-email {
  display: inline-block;
  max-width: 100%;
  margin: 2px 0 15px;
  overflow: hidden;
  color: var(--blue-300);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-secondary {
  width: 100%;
  min-height: 48px;
  margin-top: 10px;
  border: 1px solid rgba(79, 195, 247, 0.44);
  border-radius: 999px;
  background: transparent;
  color: var(--blue-300);
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.auth-link {
  margin-top: 15px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}

.account-state-avatar {
  background: var(--blue-500);
  color: var(--navy-950);
}

.signed-in-copy {
  max-width: 270px;
  margin: 14px auto 18px !important;
  line-height: 1.55;
}

.auth-message {
  min-height: 19px;
  margin: 14px 6px 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
}

.auth-message[data-tone="error"] {
  color: #ffaaa6;
}

.auth-message[data-tone="success"] {
  color: #8be5ba;
}

.preview-caption {
  margin: 14px 0 0;
  color: var(--faint);
  font-size: 11px;
  text-align: center;
}

.feature-band {
  position: relative;
  z-index: 3;
  background: var(--blue-500);
  color: var(--navy-950);
}

.feature-band-grid {
  width: var(--page);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.quick-feature {
  min-height: 190px;
  padding: 38px clamp(18px, 3vw, 38px);
  border-right: 1px solid rgba(7, 17, 27, 0.14);
}

.quick-feature:last-child {
  border-right: 0;
}

.quick-feature .number {
  display: block;
  margin-bottom: 22px;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.14em;
}

.quick-feature h2 {
  margin: 0;
  font-size: clamp(23px, 3vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.quick-feature p {
  max-width: 290px;
  margin: 12px 0 0;
  color: rgba(7, 17, 27, 0.68);
  font-size: 14px;
  font-weight: 650;
}

.section {
  padding: clamp(86px, 10vw, 140px) 0;
}

.section-shell {
  width: var(--page);
  margin: 0 auto;
}

.section-heading {
  max-width: 800px;
}

.section-kicker {
  margin: 0 0 14px;
  color: var(--blue-500);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  font-size: clamp(43px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.062em;
}

.section-lead {
  max-width: 660px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.moments {
  background: var(--paper);
  color: var(--paper-ink);
}

.moments .section-kicker {
  color: #0089ca;
}

.moments .section-lead {
  color: var(--paper-muted);
}

.moment-grid {
  margin-top: 58px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
}

.moment-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  padding: clamp(28px, 5vw, 52px);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 20px 60px rgba(18, 39, 58, 0.08);
}

.moment-card.dark {
  background:
    radial-gradient(circle at 85% 20%, rgba(41, 182, 246, 0.22), transparent 25%),
    var(--navy-800);
  color: var(--white);
}

.moment-card.wide {
  grid-column: 1 / -1;
  min-height: 290px;
}

.moment-card h3 {
  max-width: 480px;
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -0.052em;
}

.moment-card p {
  max-width: 490px;
  margin: 18px 0 0;
  color: var(--paper-muted);
  font-size: 16px;
}

.moment-card.dark p {
  color: var(--muted);
}

.card-tag {
  display: inline-flex;
  margin-bottom: 32px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(41, 182, 246, 0.13);
  color: #007eb9;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.dark .card-tag {
  color: var(--blue-300);
}

.card-orbit {
  position: absolute;
  width: 260px;
  height: 260px;
  right: -80px;
  bottom: -90px;
  border: 1px solid rgba(41, 182, 246, 0.24);
  border-radius: 50%;
  box-shadow:
    0 0 0 36px rgba(41, 182, 246, 0.04),
    0 0 0 72px rgba(41, 182, 246, 0.025);
}

.card-orbit::after {
  content: "";
  position: absolute;
  width: 70px;
  height: 32px;
  left: 24px;
  top: 24px;
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      var(--blue-500) 0 48%,
      var(--white) 48% 52%,
      var(--navy-800) 52%
    );
  transform: rotate(-40deg);
  box-shadow: 0 12px 28px rgba(41, 182, 246, 0.25);
}

.safety {
  background:
    radial-gradient(circle at 12% 15%, rgba(41, 182, 246, 0.11), transparent 22%),
    var(--navy-900);
}

.safety-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(54px, 8vw, 100px);
  align-items: center;
}

.safety-list {
  display: grid;
  gap: 14px;
}

.safety-item {
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
}

.safety-item strong {
  display: block;
  color: var(--white);
  font-size: 17px;
}

.safety-item p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.legal-cta {
  background: var(--paper);
  color: var(--paper-ink);
}

.legal-cta-card {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
  padding: clamp(38px, 7vw, 80px);
  border-radius: 42px;
  background: var(--blue-500);
  box-shadow: 0 30px 80px rgba(41, 182, 246, 0.2);
}

.legal-cta-card::after {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  right: -100px;
  top: -170px;
  border: 1px solid rgba(7, 17, 27, 0.15);
  border-radius: 50%;
  box-shadow:
    0 0 0 50px rgba(7, 17, 27, 0.035),
    0 0 0 100px rgba(7, 17, 27, 0.025);
}

.legal-cta-card h2 {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0;
  font-size: clamp(43px, 6vw, 72px);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.legal-cta-card p {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 20px 0 0;
  color: rgba(7, 17, 27, 0.66);
  font-weight: 650;
}

.legal-links {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
}

.legal-links a {
  min-width: 190px;
  padding: 15px 20px;
  border: 1px solid rgba(7, 17, 27, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.36);
  color: var(--navy-950);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.site-footer {
  padding: 42px 0;
  background: var(--navy-950);
  color: var(--faint);
}

.footer-shell {
  width: var(--page);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-links {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-links a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.footer-note {
  font-size: 12px;
}

/* Legal pages */
.legal-page {
  background:
    radial-gradient(circle at 82% 5%, rgba(41, 182, 246, 0.13), transparent 22%),
    var(--navy-900);
}

.legal-page .site-header {
  position: relative;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 17, 27, 0.5);
}

.legal-main {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 110px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 38px;
  color: var(--blue-300);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.legal-hero {
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
}

.legal-hero .capsule-logo {
  margin-bottom: 28px;
}

.legal-hero h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(44px, 7vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.updated {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.legal-content {
  padding-top: 28px;
}

.legal-content h2 {
  margin: 48px 0 13px;
  color: var(--blue-400);
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.legal-content p,
.legal-content li {
  color: #c7d5e2;
}

.legal-content p {
  margin: 0 0 15px;
}

.legal-content ul {
  margin: 8px 0 20px;
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 10px;
  padding-left: 5px;
}

.legal-content a {
  color: var(--blue-300);
  font-weight: 700;
}

.legal-footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 13px;
}

.legal-footer a {
  color: var(--muted);
  text-decoration: none;
}

@media (max-width: 900px) {
  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .nav-links {
    gap: 12px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 150px;
  }

  .hero-copy {
    max-width: 700px;
  }

  .auth-preview-wrap {
    justify-self: center;
  }

  .feature-band-grid {
    grid-template-columns: 1fr;
  }

  .quick-feature {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(7, 17, 27, 0.14);
  }

  .quick-feature:last-child {
    border-bottom: 0;
  }

  .moment-grid,
  .safety-grid {
    grid-template-columns: 1fr;
  }

  .moment-card.wide {
    grid-column: auto;
  }

  .legal-cta-card {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .legal-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  :root {
    --page: min(100% - 28px, 1180px);
  }

  .nav-shell {
    min-height: 76px;
  }

  .nav-shell .brand > span:last-child {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .account-copy {
    display: none;
  }

  .account-chip {
    gap: 4px;
  }

  .account-signout {
    display: none;
  }

  .hero-grid {
    padding: 124px 0 68px;
  }

  .hero h1 {
    font-size: clamp(49px, 16vw, 68px);
  }

  .hero-copy {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }

  .hero-trust {
    display: grid;
    gap: 11px;
  }

  .auth-shell {
    min-height: 590px;
    padding: 21px;
    border-radius: 34px;
  }

  .float-pill {
    display: none;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .moment-card {
    min-height: 330px;
    border-radius: 30px;
  }

  .legal-cta-card {
    min-height: 0;
    border-radius: 30px;
  }

  .legal-links {
    grid-template-columns: 1fr;
  }

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

  .footer-links {
    margin-left: 0;
  }

  .legal-main {
    width: min(100% - 32px, 860px);
    padding-top: 52px;
  }
}

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

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

/* ---------- Moderation dashboard (/admin) ----------
   Deliberately plain. This is an internal tool for two people; the only thing its
   appearance has to do is make severity obvious at a glance and keep an attacker-supplied
   report reason visually separate from the interface around it. */
.admin-body { background: #0a1520; color: #e8eef5; font-family: system-ui, -apple-system, sans-serif; }
.admin-wrap { max-width: 52rem; margin: 0 auto; padding: 1.5rem 1rem 4rem; }
.admin-muted { color: #8fa3b8; }
.admin-error { background: #48151b; border: 1px solid #a33; border-radius: .5rem; padding: .75rem 1rem; }
.admin-bar { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.admin-spacer { flex: 1 1 auto; }
.admin-queue { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.admin-case { border: 1px solid #1e3247; border-left: 4px solid #1e3247; border-radius: .6rem; padding: .9rem 1rem; background: #0f1e2d; }
/* The only strong colour on the page, so a pile-on is visible without reading anything. */
.admin-case-urgent { border-left-color: #e0603a; }
.admin-case-head { display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.admin-status { margin-left: auto; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: #8fa3b8; }
.admin-flag { background: #e0603a; color: #0a1520; font-size: .72rem; font-weight: 700; padding: .1rem .4rem; border-radius: .25rem; }
.admin-uid { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .8rem; color: #8fa3b8; overflow-wrap: anywhere; }
/* Indented and quoted so a stranger's words never read as the app talking to you. */
.admin-reason { margin: .5rem 0; padding: .5rem .75rem; border-left: 2px solid #2a4459; color: #cfe0f0; white-space: pre-wrap; overflow-wrap: anywhere; }
.admin-actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .75rem; }
.admin-actions button { background: #16293b; color: #e8eef5; border: 1px solid #27405a; border-radius: .4rem; padding: .35rem .75rem; cursor: pointer; }
.admin-actions button:disabled { opacity: .5; cursor: default; }
.admin-danger { background: #48151b !important; border-color: #a33 !important; }
.admin-reports { margin: .75rem 0 0; padding-left: 1rem; }
