:root {
  --ink: #0b1f2a;
  --eucalyptus: #1a6b6a;
  --coral: #e8a87c;
  --coral-deep: #d4895c;
  --sand: #f3ede4;
  --foam: #faf7f2;
  --mist: rgba(250, 247, 242, 0.88);
  --ink-soft: rgba(11, 31, 42, 0.72);
  --line: rgba(11, 31, 42, 0.12);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background: var(--foam);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.font-display {
  font-family: var(--font-display);
}

/* —— Top nav —— */
.site-nav {
  position: absolute;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
}

@media (min-width: 768px) {
  .site-nav {
    padding: 1.25rem 2rem;
  }
}

.nav-brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: 0.01em;
  color: var(--foam);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.2rem;
  border-radius: 999px;
  background: rgba(11, 31, 42, 0.28);
  backdrop-filter: blur(8px);
}

.lang-switch button {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(250, 247, 242, 0.75);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.4rem 0.55rem;
  border-radius: 999px;
  cursor: pointer;
  min-height: 32px;
}

.lang-switch button.is-active,
.lang-switch button[aria-pressed="true"] {
  background: rgba(250, 247, 242, 0.95);
  color: var(--ink);
}

.nav-download {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1rem;
  border-radius: 999px;
  background: rgba(250, 247, 242, 0.14);
  border: 1px solid rgba(250, 247, 242, 0.35);
  color: var(--foam);
  font-size: 0.875rem;
  font-weight: 600;
}

@media (min-width: 640px) {
  .nav-download {
    display: inline-flex;
  }
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--foam);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #0b1f2a;
}

.hero-bg-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.04);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 31, 42, 0.35) 0%, rgba(11, 31, 42, 0.5) 42%, rgba(11, 31, 42, 0.9) 100%),
    radial-gradient(ellipse 70% 45% at 75% 15%, rgba(232, 168, 124, 0.28), transparent 55%),
    radial-gradient(ellipse 55% 40% at 10% 85%, rgba(26, 107, 106, 0.35), transparent 50%);
  pointer-events: none;
}

.hero-horizon {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(250, 247, 242, 0.35), transparent);
  opacity: 0.7;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  padding: 6.5rem 1.25rem 3.5rem;
}

@media (min-width: 768px) {
  .hero-content {
    padding: 7rem 2rem 4.5rem;
  }
}

@media (max-width: 1023px) {
  .hero {
    min-height: 100svh;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    padding-bottom: 1.75rem;
  }

  .hero-content {
    order: 1;
    padding-bottom: 1rem;
  }

  .swipe-stage {
    order: 2;
  }

  .hero-horizon {
    display: none;
  }
}

.hero-copy {
  max-width: 36rem;
}

.hero-brand {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3rem, 10vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.hero-headline {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.75rem, 5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-support {
  margin: 0 0 1.75rem;
  max-width: 28rem;
  font-size: clamp(1rem, 2.4vw, 1.125rem);
  line-height: 1.55;
  color: rgba(250, 247, 242, 0.86);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: stretch;
}

@media (min-width: 480px) {
  .hero-actions {
    flex-direction: row;
    align-items: center;
  }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.4rem;
  border: 0;
  border-radius: 999px;
  background: var(--coral);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background: var(--coral-deep);
  transform: translateY(-1px);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--foam);
  outline-offset: 3px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(250, 247, 242, 0.4);
  color: var(--foam);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s ease;
}

.btn-ghost:hover {
  background: rgba(250, 247, 242, 0.08);
}

/* Swipe profile cards */
.swipe-stage {
  position: relative;
  z-index: 2;
  width: min(220px, 56vw);
  aspect-ratio: 3 / 4;
  margin: 0 auto 1.5rem;
  pointer-events: none;
}

@media (min-width: 1024px) {
  .swipe-stage {
    position: absolute;
    right: 7%;
    bottom: 16%;
    width: min(250px, 28vw);
    margin: 0;
  }
}

.swipe-card {
  position: absolute;
  inset: 0;
  border-radius: 1.25rem;
  overflow: hidden;
  background: #163d45;
  box-shadow: 0 24px 48px rgba(11, 31, 42, 0.35);
  border: 1px solid rgba(250, 247, 242, 0.18);
  transform-origin: 60% 90%;
}

.swipe-card-back {
  transform: rotate(8deg) translate(14px, 8px) scale(0.96);
  opacity: 0.7;
  filter: saturate(0.9);
}

.swipe-card-front {
  z-index: 1;
}

.swipe-card-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.swipe-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(11, 31, 42, 0.85) 100%);
  pointer-events: none;
}

.swipe-card-meta {
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.9rem;
  z-index: 1;
  color: var(--foam);
}

.swipe-card-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.2;
}

.swipe-card-place {
  margin: 0.2rem 0 0;
  font-size: 0.8rem;
  opacity: 0.88;
}

.swipe-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.55rem;
}

.swipe-card-tags span {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: rgba(250, 247, 242, 0.16);
  border: 1px solid rgba(250, 247, 242, 0.22);
}

.swipe-hint-active {
  animation: swipe-tilt 4.5s ease-in-out infinite;
}

@keyframes swipe-tilt {
  0%,
  100% {
    transform: rotate(-2deg) translateX(0);
  }
  40% {
    transform: rotate(6deg) translateX(10px);
  }
  55% {
    transform: rotate(-4deg) translateX(-6px);
  }
}

/* —— Sections —— */
.section {
  padding: 4.5rem 1.25rem;
}

@media (min-width: 768px) {
  .section {
    padding: 6rem 2rem;
  }
}

.section-inner {
  max-width: 72rem;
  margin: 0 auto;
}

.section-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--eucalyptus);
}

.section-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-subtitle {
  margin: 0;
  max-width: 34rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.6;
}

.section-sand {
  background: var(--sand);
}

.steps {
  display: grid;
  gap: 2rem;
  margin-top: 2.75rem;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.step-icon {
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.85rem;
  color: var(--eucalyptus);
}

.step-icon svg {
  width: 100%;
  height: 100%;
}

.step-index {
  display: block;
  margin-bottom: 0.65rem;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--eucalyptus);
  line-height: 1;
}

.step-title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.step-body {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* Scene */
.scene {
  display: grid;
  gap: 0;
  background: var(--ink);
  color: var(--foam);
}

@media (min-width: 900px) {
  .scene {
    grid-template-columns: 1.15fr 1fr;
    min-height: 28rem;
  }
}

.scene-media {
  min-height: 16rem;
  overflow: hidden;
}

.scene-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.scene-copy {
  padding: 3rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px) {
  .scene-copy {
    padding: 4rem 3rem;
  }
}

.scene .section-kicker {
  color: var(--coral);
}

.scene .section-title,
.scene .section-subtitle {
  color: var(--foam);
}

.scene .section-subtitle {
  opacity: 0.88;
  max-width: 28rem;
}

.features-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2.75rem;
}

.features-grid-compact {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 3rem;
  }

  .features-grid-compact {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-showcases {
  display: grid;
  gap: 3rem;
  margin-top: 3rem;
}

.feature-row {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 900px) {
  .feature-row {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }

  .feature-row-reverse .feature-copy {
    order: 2;
  }

  .feature-row-reverse .ui-panel {
    order: 1;
  }
}

.feature-title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.feature-body {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

.ui-panel {
  background: #12262f;
  color: var(--foam);
  border-radius: 1.25rem;
  padding: 1rem;
  box-shadow: 0 18px 40px rgba(11, 31, 42, 0.12);
  overflow: hidden;
}

.ui-panel-photo {
  border-radius: 0.9rem;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.ui-panel-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.ui-panel-body {
  padding: 0.9rem 0.25rem 0.25rem;
}

.ui-panel-name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}

.ui-panel-prompt {
  margin: 0.55rem 0 0.2rem;
  font-size: 0.85rem;
  color: rgba(250, 247, 242, 0.65);
}

.ui-panel-answer {
  margin: 0;
  font-size: 0.95rem;
}

.ui-panel-filters {
  padding: 1.4rem 1.25rem;
}

.ui-filter-label {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
}

.ui-filter-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 0.45rem;
}

.ui-slider {
  height: 0.35rem;
  border-radius: 999px;
  background: rgba(250, 247, 242, 0.15);
  margin-bottom: 1.1rem;
  overflow: hidden;
}

.ui-slider span {
  display: block;
  height: 100%;
  background: var(--coral);
  border-radius: inherit;
}

.ui-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.ui-chips span {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(250, 247, 242, 0.2);
}

.ui-chips span:first-child {
  background: rgba(232, 168, 124, 0.25);
  border-color: transparent;
}

.ui-panel-chat {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.4rem 1.2rem;
  min-height: 14rem;
  justify-content: flex-end;
}

.chat-bubble {
  max-width: 85%;
  padding: 0.7rem 0.9rem;
  border-radius: 1rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.chat-bubble-them {
  align-self: flex-start;
  background: rgba(250, 247, 242, 0.12);
  border-bottom-left-radius: 0.3rem;
}

.chat-bubble-me {
  align-self: flex-end;
  background: var(--coral);
  color: var(--ink);
  border-bottom-right-radius: 0.3rem;
}

.safety-grid {
  display: grid;
  gap: 2.25rem;
  margin-top: 2.75rem;
}

@media (min-width: 768px) {
  .safety-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

/* —— Download —— */
.download {
  background: linear-gradient(160deg, #0f2e36 0%, #1a6b6a 48%, #c9784f 120%);
  color: var(--foam);
  padding: 4.5rem 1.25rem;
}

@media (min-width: 768px) {
  .download {
    padding: 6rem 2rem;
  }
}

.download-layout {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .download-layout {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
  }
}

.download .section-title,
.download .section-subtitle {
  color: var(--foam);
}

.download .section-subtitle {
  opacity: 0.88;
}

.download-cta {
  margin-top: 2rem;
}

.download .btn-download {
  background: var(--coral);
  color: var(--ink);
  min-width: min(100%, 16rem);
}

.download .btn-download:hover {
  background: var(--coral-deep);
}

.download .btn-download:focus-visible {
  outline: 2px solid var(--foam);
  outline-offset: 3px;
}

.phone-mock {
  display: flex;
  justify-content: center;
}

.phone-shell {
  width: min(240px, 70vw);
  border-radius: 2rem;
  padding: 0.7rem;
  background: #0a1620;
  box-shadow: 0 28px 50px rgba(11, 31, 42, 0.35);
  border: 1px solid rgba(250, 247, 242, 0.12);
}

.phone-notch {
  width: 38%;
  height: 0.55rem;
  margin: 0.15rem auto 0.65rem;
  border-radius: 999px;
  background: rgba(250, 247, 242, 0.12);
}

.phone-screen {
  background: linear-gradient(180deg, #17343c, #0f242c);
  border-radius: 1.4rem;
  padding: 0.85rem 0.75rem 1rem;
}

.phone-app-brand {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
}

.phone-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.phone-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.phone-card-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2rem 0.75rem 0.75rem;
  background: linear-gradient(180deg, transparent, rgba(11, 31, 42, 0.85));
}

.phone-card-meta p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
}

.phone-card-meta span {
  font-size: 0.75rem;
  opacity: 0.85;
}

.phone-actions {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 0.9rem;
}

.phone-btn {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  border: 2px solid rgba(250, 247, 242, 0.25);
}

.phone-btn-no {
  background: rgba(250, 247, 242, 0.08);
}

.phone-btn-yes {
  background: rgba(232, 168, 124, 0.85);
  border-color: transparent;
}

/* People gallery */
.people-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(148px, 18%);
  gap: 0.85rem;
  margin-top: 2.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 900px) {
  .people-rail {
    grid-auto-flow: dense;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-columns: unset;
    overflow: visible;
  }
}

.people-card {
  position: relative;
  border-radius: 1.1rem;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  scroll-snap-align: start;
  background: #163d45;
}

.people-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.45s ease;
}

.people-card:hover img {
  transform: scale(1.04);
}

.people-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2rem 0.75rem 0.75rem;
  background: linear-gradient(180deg, transparent, rgba(11, 31, 42, 0.88));
  color: var(--foam);
}

.people-meta span {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
}

.people-meta small {
  opacity: 0.82;
  font-size: 0.78rem;
}

/* Reviews */
.reviews-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1100px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review {
  padding: 1.35rem 1.25rem;
  border-radius: 1rem;
  background: rgba(11, 31, 42, 0.03);
  border: 1px solid var(--line);
}

.review-good {
  border-color: rgba(26, 107, 106, 0.22);
}

.review-mixed {
  border-color: rgba(212, 137, 92, 0.35);
  background: rgba(232, 168, 124, 0.08);
}

.review-stars {
  color: var(--coral-deep);
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  margin-bottom: 0.65rem;
}

.review-body {
  margin: 0 0 0.9rem;
  color: var(--ink-soft);
  line-height: 1.6;
  font-size: 0.98rem;
}

.review-author {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
}

/* Download modal */
body.modal-open {
  overflow: hidden;
}

.download-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.download-modal[hidden] {
  display: none;
}

.download-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 31, 42, 0.62);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.download-modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 26rem);
  background: var(--foam);
  color: var(--ink);
  border-radius: 1.5rem;
  padding: 1.75rem 1.4rem 1.5rem;
  text-align: center;
  box-shadow: 0 28px 60px rgba(11, 31, 42, 0.35);
  transform: translateY(18px) scale(0.96);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
}

.download-modal.is-open .download-modal-backdrop {
  opacity: 1;
}

.download-modal.is-open .download-modal-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.download-modal-close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  border: 0;
  background: transparent;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--ink-soft);
  cursor: pointer;
  width: 2.25rem;
  height: 2.25rem;
}

.download-modal-visual {
  position: relative;
  width: 7.5rem;
  height: 7.5rem;
  margin: 0.25rem auto 1.1rem;
}

.modal-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(232, 168, 124, 0.28);
  animation: pulse-ring 1.8s ease-out infinite;
}

.modal-mini-phone {
  position: absolute;
  inset: 12%;
  border-radius: 1rem;
  overflow: hidden;
  border: 3px solid #0b1f2a;
  box-shadow: 0 12px 24px rgba(11, 31, 42, 0.2);
}

.modal-mini-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.85);
    opacity: 0.85;
  }
  70% {
    transform: scale(1.2);
    opacity: 0;
  }
  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}

.download-modal-title {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.2;
}

.download-modal-body {
  margin: 0 0 1.25rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

.download-modal-cta {
  width: 100%;
}

.download-modal-note {
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

@media (prefers-reduced-motion: reduce) {
  .modal-pulse {
    animation: none;
  }

  .download-modal-backdrop,
  .download-modal-panel {
    transition: none;
  }

  .people-card:hover img {
    transform: none;
  }
}

/* Legal pages */
.legal-page {
  min-height: 100svh;
  background: var(--foam);
}

.legal-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.legal-nav a {
  font-weight: 600;
  color: var(--eucalyptus);
}

.legal-nav .brand {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
}

.legal-content {
  max-width: 42rem;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}

.legal-content h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin: 0 0 0.75rem;
}

.legal-content .updated {
  color: var(--ink-soft);
  margin: 0 0 2rem;
  font-size: 0.9rem;
}

.legal-content h2 {
  font-size: 1.15rem;
  margin: 1.75rem 0 0.55rem;
}

.legal-content p {
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0 0 0.85rem;
}

/* —— Footer —— */
.site-footer {
  background: var(--ink);
  color: rgba(250, 247, 242, 0.78);
  padding: 2rem 1.25rem;
}

@media (min-width: 768px) {
  .site-footer {
    padding: 2.25rem 2rem;
  }
}

.footer-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-links {
  display: flex;
  gap: 1.25rem;
}

.footer-links a:hover {
  color: var(--foam);
}

.footer-copy {
  margin: 0;
  font-size: 0.875rem;
}

/* —— Motion —— */
.hero-animate > * {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-animate > * {
    opacity: 0;
    transform: translateY(18px);
    animation: rise-in 0.9s ease forwards;
  }

  .hero-animate > *:nth-child(1) {
    animation-delay: 0.08s;
  }

  .hero-animate > *:nth-child(2) {
    animation-delay: 0.2s;
  }

  .hero-animate > *:nth-child(3) {
    animation-delay: 0.32s;
  }

  .hero-animate > *:nth-child(4) {
    animation-delay: 0.44s;
  }
}

@keyframes rise-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  [data-reveal-delay="1"].is-visible {
    transition-delay: 0.08s;
  }

  [data-reveal-delay="2"].is-visible {
    transition-delay: 0.16s;
  }

  [data-reveal-delay="3"].is-visible {
    transition-delay: 0.24s;
  }
}

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

  .swipe-hint-active {
    animation: none;
  }

  .btn-primary:hover {
    transform: none;
  }
}
