:root {
  --bg: #f3f5f8;
  --bg-soft: #e8edf3;
  --surface: #ffffff;
  --text: #121826;
  --muted: #5b6577;
  --line: #d5dbe6;
  --brand: #2f6bff;
  --brand-deep: #1e4fd6;
  --pain: #b42318;
  --pain-soft: #fef3f2;
  --radius: 1.25rem;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --nav-h: 4.25rem;
  --shadow: 0 12px 40px rgba(18, 24, 38, 0.08);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

/* —— Nav —— */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  background: rgba(243, 245, 248, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.35s ease;
  animation: navDrop 0.7s var(--ease-out) both;
}

.nav.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 24px rgba(18, 24, 38, 0.06);
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.nav-links {
  display: none;
  gap: 1.75rem;
}

.nav-links a {
  position: relative;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.nav-actions {
  display: none;
}

.nav-toggle {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: var(--surface);
  display: grid;
  place-content: center;
  gap: 6px;
  cursor: pointer;
  padding: 0;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.nav-toggle span {
  display: block;
  width: 1rem;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease-out), opacity 0.2s ease;
}

.nav.is-open .nav-toggle span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav.is-open .nav-toggle span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.nav.is-open .nav-links,
.nav.is-open .nav-actions {
  display: flex;
  flex-direction: column;
  position: absolute;
  left: 1rem;
  right: 1rem;
  top: calc(var(--nav-h) + 0.5rem);
  padding: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  animation: menuPop 0.35s var(--ease-out) both;
}

.nav.is-open .nav-actions {
  top: calc(var(--nav-h) + 13.5rem);
}

@media (min-width: 880px) {
  .nav-links,
  .nav-actions {
    display: flex;
    align-items: center;
  }

  .nav-toggle {
    display: none;
  }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.35rem;
  border-radius: 0.75rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  border: 1px solid transparent;
  transition:
    transform 0.25s var(--ease-out),
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 20px rgba(47, 107, 255, 0.28);
}

.btn-primary:hover {
  background: var(--brand-deep);
  box-shadow: 0 12px 28px rgba(47, 107, 255, 0.35);
}

.btn-pulse {
  animation: softPulse 2.8s ease-in-out infinite;
}

.btn-ghost {
  border-color: var(--line);
  background: var(--surface);
  color: var(--text);
}

.btn-text {
  background: transparent;
  color: var(--muted);
  min-height: auto;
  padding: 0.5rem 0.15rem;
  font-weight: 600;
}

.btn-text:hover {
  color: var(--text);
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: calc(var(--nav-h) + 2rem) clamp(1.25rem, 4vw, 3rem) 3.5rem;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: heroReveal 1.4s var(--ease-out) both, heroDrift 24s ease-in-out 1.2s infinite alternate;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 24, 38, 0.28) 0%, rgba(18, 24, 38, 0.5) 42%, rgba(18, 24, 38, 0.82) 100%);
  animation: veilIn 1.1s ease both;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
  align-items: end;
}

@media (min-width: 900px) {
  .hero {
    align-items: center;
    padding-bottom: 4rem;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    gap: 3rem;
  }
}

.hero-content {
  max-width: 40rem;
  color: #fff;
}

.hero-device {
  display: flex;
  justify-content: center;
}

@media (min-width: 900px) {
  .hero-device {
    justify-content: flex-end;
  }
}

.hero-phone {
  width: min(100%, 15.5rem);
  animation: phoneFloat 5.5s ease-in-out 1.2s infinite;
}

@media (min-width: 900px) {
  .hero-phone {
    width: min(100%, 17.5rem);
  }
}

.hero-phone img {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.hero-in {
  opacity: 0;
  animation: riseIn 0.85s var(--ease-out) calc(0.25s + var(--d, 0s)) both;
}

.brand-mark {
  margin: 0 0 0.9rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: #dce7ff;
}

.hero-rule {
  display: block;
  width: 3.5rem;
  height: 3px;
  margin: 1.15rem 0 0;
  border-radius: 999px;
  background: var(--brand);
  transform-origin: left center;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.35rem, 5.8vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero-lead {
  margin: 1.1rem 0 0;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.12rem;
  font-weight: 400;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  margin-top: 1.75rem;
}

.hero-cta .btn-text {
  color: rgba(255, 255, 255, 0.85);
}

.hero-cta .btn-text:hover {
  color: #fff;
}

@keyframes navDrop {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes menuPop {
  from { opacity: 0; transform: translateY(-8px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes heroReveal {
  from { transform: scale(1.14); opacity: 0.65; filter: blur(4px); }
  to { transform: scale(1.06); opacity: 1; filter: blur(0); }
}

@keyframes heroDrift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-1.5%, -1%, 0); }
}

@keyframes veilIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes softPulse {
  0%, 100% { box-shadow: 0 8px 20px rgba(47, 107, 255, 0.28); }
  50% { box-shadow: 0 8px 28px rgba(47, 107, 255, 0.48); }
}

@keyframes phoneFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes ruleGrow {
  from { transform: scaleX(0); opacity: 0; }
  to { transform: scaleX(1); opacity: 1; }
}

.hero-rule.hero-in {
  animation-name: ruleGrow;
}

/* —— Sections —— */
.section {
  padding: clamp(4rem, 9vw, 6.5rem) clamp(1.25rem, 4vw, 3rem);
}

.section-head {
  max-width: 40rem;
  margin-bottom: clamp(2rem, 4.5vw, 2.75rem);
}

.eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

.section-head h2,
.cta-panel h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.85rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.section-head p,
.cta-panel p {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

/* Pain points — emphasized */
.pains {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pains .eyebrow {
  color: var(--pain);
}

.pain-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .pain-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem;
  }
}

.pain {
  padding: 1.4rem 1.45rem;
  border-radius: var(--radius);
  background: var(--pain-soft);
  border: 1px solid #f5c6c2;
  border-left: 4px solid var(--pain);
  transition:
    transform 0.35s var(--ease-out),
    box-shadow 0.35s ease,
    border-color 0.25s ease;
}

.pain:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(180, 35, 24, 0.1);
  border-color: #efaba5;
}

.pain h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: #7a1a14;
}

.pain p {
  margin: 0;
  color: #5c3a37;
  font-size: 1.02rem;
}

.bridge {
  padding-block: clamp(3rem, 7vw, 4.5rem);
  background:
    linear-gradient(180deg, var(--bg-soft), var(--bg));
}

.bridge blockquote {
  margin: 0 auto;
  max-width: 42rem;
  text-align: center;
}

.bridge blockquote p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--text);
}

.bridge cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-weight: 600;
  color: var(--muted);
  font-size: 0.95rem;
}

/* How */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
  }
}

.step {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition:
    transform 0.35s var(--ease-out),
    box-shadow 0.35s ease,
    border-color 0.25s ease;
}

.step:hover {
  transform: translateY(-5px);
  border-color: #c5d2ff;
  box-shadow: 0 16px 36px rgba(47, 107, 255, 0.12);
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 0.75rem;
}

.step h3,
.solution-card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.step p,
.solution-card p {
  margin: 0;
  color: var(--muted);
}

.scene {
  margin: clamp(2.25rem, 5vw, 3.5rem) 0 0;
  position: relative;
  border-radius: calc(var(--radius) + 0.25rem);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.scene-with-device {
  overflow: visible;
  border: none;
  box-shadow: none;
  background: transparent;
}

.scene-with-device .scene-bg {
  border-radius: calc(var(--radius) + 0.25rem);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.scene-bg {
  position: relative;
  min-height: 16rem;
}

.scene-bg img,
.scene > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: transform 1.1s var(--ease-out);
}

.scene.is-visible .scene-bg img,
.scene.is-visible > img {
  animation: sceneZoom 12s ease-in-out infinite alternate;
}

.scene-with-device .scene-bg img {
  aspect-ratio: 32 / 14.4;
  min-height: 15.84rem;
  max-height: 20.16rem;
  object-fit: cover;
  object-position: center;
}

.scene-device {
  position: absolute;
  right: 4%;
  bottom: 8%;
  width: min(38%, 15.5rem);
  z-index: 2;
  filter: drop-shadow(0 18px 36px rgba(18, 24, 38, 0.35));
  transform: translateY(18px) rotate(4deg);
  opacity: 0;
  transition:
    opacity 0.65s var(--ease-out) 0.2s,
    transform 0.65s var(--ease-out) 0.2s;
}

.scene.is-visible .scene-device {
  opacity: 1;
  transform: translateY(0) rotate(4deg);
}

.scene-device img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1rem;
  aspect-ratio: auto;
  animation: none !important;
}

@media (max-width: 699px) {
  .scene-with-device .scene-bg img {
    aspect-ratio: 2 / 1.44;
    min-height: 12.96rem;
    max-height: 15.84rem;
  }

  .scene-device {
    width: min(42%, 10.5rem);
    right: 3%;
    bottom: 18%;
  }
}

.scene-caption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  gap: 0.2rem;
  padding: 1rem 1.1rem;
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  transform: translateY(12px);
  opacity: 0;
  z-index: 3;
  transition:
    opacity 0.55s var(--ease-out) 0.15s,
    transform 0.55s var(--ease-out) 0.15s;
}

.scene.is-visible .scene-caption {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 700px) {
  .scene-caption {
    left: 1.15rem;
    right: auto;
    bottom: 1.15rem;
    width: min(22rem, 42%);
  }

  .scene-with-device .scene-bg img {
    max-height: 23.04rem;
  }

  .scene-device {
    width: min(28%, 14rem);
    right: 5%;
    bottom: -18%;
  }
}

.scene-caption strong {
  font-family: var(--font-display);
}

.scene-caption span {
  color: var(--muted);
  font-size: 0.95rem;
}

@keyframes sceneZoom {
  from { transform: scale(1); }
  to { transform: scale(1.05); }
}

/* App screenshots */
.app {
  background:
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 45%, var(--bg) 100%);
  border-top: 1px solid var(--line);
}

.shots {
  display: grid;
  gap: 1.5rem;
  justify-items: center;
}

@media (min-width: 700px) {
  .shots {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem 1.5rem;
  }
}

@media (min-width: 1100px) {
  .shots {
    grid-template-columns: repeat(4, 1fr);
    align-items: end;
  }
}

.shot {
  margin: 0;
  width: min(100%, 17.5rem);
  text-align: center;
}

.phone {
  position: relative;
  border-radius: 1.65rem;
  padding: 0.55rem;
  background: linear-gradient(160deg, #1a2233 0%, #2a3448 100%);
  box-shadow:
    0 18px 40px rgba(18, 24, 38, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease;
}

.shot:hover .phone {
  transform: translateY(-8px);
  box-shadow:
    0 24px 48px rgba(18, 24, 38, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.phone img {
  width: 100%;
  height: auto;
  border-radius: 1.2rem;
  display: block;
  background: #f3f5f8;
}

.shot figcaption {
  margin-top: 1rem;
  display: grid;
  gap: 0.25rem;
}

.shot figcaption strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.shot figcaption span {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Solution places */
.solution {
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.solution-grid {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 900px) {
  .solution-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.solution-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  box-shadow: var(--shadow);
  transition:
    transform 0.4s var(--ease-out),
    box-shadow 0.4s ease;
}

.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(18, 24, 38, 0.12);
}

.solution-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.solution-card:hover img {
  transform: scale(1.06);
}

.solution-card > div {
  padding: 1.2rem 1.25rem 1.4rem;
}

.feature-strip {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.feature-strip li {
  padding: 1rem 1.15rem;
  border-radius: 0.9rem;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--muted);
  transition: border-color 0.25s ease, transform 0.3s var(--ease-out);
}

.feature-strip li:hover {
  border-color: #c5d2ff;
  transform: translateX(4px);
}

.feature-strip strong {
  color: var(--text);
  font-weight: 700;
}

/* CTA */
.cta-panel {
  border-radius: calc(var(--radius) + 0.35rem);
  padding: clamp(2.4rem, 6vw, 4rem);
  background:
    linear-gradient(145deg, #eaf0ff 0%, #f7f8fb 55%, #fff 100%);
  background-size: 200% 200%;
  border: 1px solid var(--line);
  text-align: center;
  box-shadow: var(--shadow);
  animation: ctaShine 10s ease-in-out infinite;
}

.cta-panel .btn {
  margin-top: 1.4rem;
}

@keyframes ctaShine {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.footer {
  padding: 2.5rem clamp(1.25rem, 4vw, 3rem) 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
  background: var(--surface);
}

.footer-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 720px) {
  .footer-inner {
    grid-template-columns: 1fr 1.4fr 0.9fr 0.9fr;
    gap: 2rem;
    align-items: start;
  }
}

.footer-brand .brand {
  display: inline-block;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.footer-brand p,
.footer-col p {
  margin: 0;
  max-width: 22rem;
  line-height: 1.5;
}

.footer-company address {
  font-style: normal;
  margin: 0;
  line-height: 1.55;
  font-size: 0.9rem;
}

.footer-company a {
  color: var(--brand);
  font-weight: 600;
}

.footer-col h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-col a {
  color: var(--muted);
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--brand);
}

.footer-meta {
  max-width: 72rem;
  margin: 1.5rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  line-height: 1.5;
}

.footer-meta p {
  margin: 0 0 0.35rem;
}

/* Legal pages */
.page {
  padding: calc(var(--nav-h) + 2rem) clamp(1.25rem, 4vw, 3rem) 4rem;
}

.page-inner {
  max-width: 44rem;
  margin: 0 auto;
}

.page-inner h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.page-meta {
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.page-inner h2 {
  margin: 2rem 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.page-inner h3 {
  margin: 1.25rem 0 0.4rem;
  font-size: 1.05rem;
}

.page-inner p,
.page-inner li {
  color: var(--muted);
  line-height: 1.65;
}

.page-inner p {
  margin: 0 0 0.9rem;
}

.page-inner ul,
.page-inner ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.page-inner li {
  margin-bottom: 0.35rem;
}

.page-inner a {
  color: var(--brand);
  font-weight: 600;
}

.page-note {
  margin-top: 2rem;
  padding: 1rem 1.15rem;
  border-radius: 0.9rem;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  font-size: 0.95rem;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 0 0 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.legal-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
}

.legal-links a[aria-current="page"] {
  color: var(--brand);
}

/* Reveal — scroll-driven */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
  transition-delay: var(--delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  transform: translateX(-28px);
}

.reveal-left.is-visible {
  transform: translateX(0);
}

.section-head.reveal {
  transform: translateY(18px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .nav,
  .hero-media img,
  .hero-veil,
  .hero-in,
  .hero-phone,
  .btn-pulse,
  .cta-panel,
  .scene.is-visible img,
  .scene.is-visible .scene-bg img,
  .scene-device,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .scene.is-visible .scene-device {
    transform: rotate(4deg) !important;
    opacity: 1 !important;
  }

  .pain:hover,
  .step:hover,
  .solution-card:hover,
  .solution-card:hover img,
  .feature-strip li:hover,
  .shot:hover .phone,
  .btn:hover {
    transform: none;
  }
}
