:root,
:root[data-theme="light"] {
  --bg: #fff7fb;
  --bg-2: #f8fbff;
  --bg-3: #f4edff;
  --text: #221833;
  --text-strong: #160f27;
  --muted: #70677f;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-solid: #ffffff;
  --surface-strong: #fff0f6;
  --line: rgba(34, 24, 51, 0.12);
  --line-strong: rgba(34, 24, 51, 0.2);
  --brand: #ff5c8a;
  --brand-2: #ff7a6b;
  --accent: #7ad7ff;
  --accent-2: #c5a7ff;
  --dark-panel: #fff4f8;
  --dark-panel-2: #eef9ff;
  --logo-tile-bg: rgba(255, 255, 255, 0.7);
  --shadow: 0 26px 70px rgba(34, 24, 51, 0.16);
  --shadow-soft: 0 16px 40px rgba(34, 24, 51, 0.1);
  --header-bg: rgba(255, 247, 251, 0.78);
  --radius: 8px;
  --max: 1180px;
}

:root[data-theme="dark"] {
  --bg: #07111f;
  --bg-2: #0b1728;
  --bg-3: #111b32;
  --text: #f7f4ff;
  --text-strong: #ffffff;
  --muted: #beb5d2;
  --surface: rgba(17, 27, 50, 0.78);
  --surface-solid: #101b2e;
  --surface-strong: #17233a;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --brand: #ff6f9b;
  --brand-2: #ff8a7e;
  --accent: #7ad7ff;
  --accent-2: #cdb6ff;
  --dark-panel: #081323;
  --dark-panel-2: #101b30;
  --logo-tile-bg: rgba(255, 255, 255, 0.08);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
  --shadow-soft: 0 16px 46px rgba(0, 0, 0, 0.24);
  --header-bg: rgba(7, 17, 31, 0.76);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  background: var(--bg);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(135deg, rgba(255, 92, 138, 0.08), transparent 28%),
    linear-gradient(220deg, rgba(122, 215, 255, 0.1), transparent 30%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  transition: background-color 220ms ease, color 220ms ease;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text-strong);
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 920px;
  font-size: 5.9rem;
}

h2 {
  font-size: 3.45rem;
}

h3 {
  font-size: 1.34rem;
}

p {
  margin: 0;
}

.container {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
}

.narrow {
  max-width: 790px;
}

.section {
  padding: 116px 0;
}

.section-heading {
  max-width: 760px;
}

.section-heading p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-split,
.legal-strip-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: end;
  gap: 32px;
  margin-bottom: 34px;
}

.section-note {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 22px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.section-note strong,
.section-note span {
  display: block;
}

.section-note span {
  margin-top: 6px;
  color: var(--muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--accent));
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-150%);
  border-radius: var(--radius);
  background: var(--text-strong);
  color: var(--bg);
  padding: 10px 14px;
  font-weight: 850;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid transparent;
  background: var(--header-bg);
  backdrop-filter: blur(22px);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 18px 44px rgba(10, 8, 24, 0.1);
}

.header-shell {
  min-height: 84px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 16px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img,
.footer-brand img {
  display: block;
  flex: 0 0 auto;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  background: var(--logo-tile-bg);
  object-fit: contain;
  image-rendering: auto;
  box-shadow: 0 12px 28px rgba(255, 92, 138, 0.22);
}

.brand strong,
.footer-brand span {
  display: block;
  color: var(--text-strong);
  font-size: 1.08rem;
  line-height: 1.08;
}

.brand img {
  width: 54px;
  height: 54px;
}

.footer-brand img {
  width: 52px;
  height: 52px;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.primary-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  padding: 7px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.primary-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 850;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.primary-nav a:hover {
  background: rgba(255, 92, 138, 0.12);
  color: var(--text-strong);
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle,
.header-cta,
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-weight: 900;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.theme-toggle {
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  padding: 9px 12px;
  cursor: pointer;
}

.theme-toggle-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: inset -5px -3px 0 rgba(255, 255, 255, 0.42);
}

[data-theme="dark"] .theme-toggle-icon {
  box-shadow: inset -7px -2px 0 #07111f;
}

.header-cta,
.button-primary,
.platform-button {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: white;
  box-shadow: 0 16px 34px rgba(255, 92, 138, 0.3);
  padding: 11px 17px;
}

.button-soft {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text-strong);
  padding: 11px 17px;
  backdrop-filter: blur(16px);
}

.header-cta:hover,
.button:hover,
.theme-toggle:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.button.disabled,
.platform-button.disabled {
  cursor: not-allowed;
  border-color: var(--line);
  background: var(--surface-strong);
  color: var(--muted);
  box-shadow: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text-strong);
  padding: 9px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 999px;
  background: currentColor;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-section {
  position: relative;
  min-height: calc(100svh - 84px);
  display: flex;
  align-items: center;
  padding: 62px 0 42px;
  isolation: isolate;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero-background::before,
.hero-background::after,
.hero-background span {
  content: "";
  position: absolute;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255, 92, 138, 0.16), rgba(122, 215, 255, 0.1));
}

.hero-background::before {
  width: 46vw;
  height: 36vw;
  min-width: 520px;
  min-height: 390px;
  right: -10vw;
  top: 8%;
  border-radius: var(--radius);
  transform: rotate(-9deg);
}

.hero-background::after {
  width: 38vw;
  height: 28vw;
  min-width: 430px;
  min-height: 310px;
  left: -12vw;
  bottom: 8%;
  border-radius: var(--radius);
  transform: rotate(8deg);
  background: linear-gradient(135deg, rgba(197, 167, 255, 0.16), rgba(255, 122, 107, 0.08));
}

.hero-blob-a,
.hero-blob-b {
  display: none;
}

.hero-line {
  left: 50%;
  top: 20%;
  width: 1px;
  height: 66%;
  background: var(--line);
  transform: rotate(18deg);
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(380px, 0.96fr);
  align-items: center;
  gap: 46px;
  min-width: 0;
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.hero-pill {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  padding: 9px 13px;
  color: var(--muted);
  font-weight: 850;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.hero-pill span {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
}

.hero-lead {
  max-width: 680px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 1.28rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-product {
  min-width: 0;
  transform: translateY(var(--parallax-y, 0));
  transition: transform 180ms ease;
}

.hero-device-wrap {
  position: relative;
  min-height: 640px;
  display: grid;
  place-items: center;
}

.phone-mockup {
  position: relative;
  width: min(390px, 90vw);
  border: 10px solid var(--text-strong);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 240, 246, 0.9)),
    var(--surface-solid);
  padding: 18px;
  box-shadow: var(--shadow);
  transition: transform 180ms ease;
}

[data-theme="dark"] .phone-mockup {
  background:
    linear-gradient(180deg, rgba(21, 34, 58, 0.98), rgba(11, 23, 40, 0.98)),
    var(--surface-solid);
}

.hero-phone::before {
  content: "";
  position: absolute;
  inset: -24px;
  z-index: -1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 92, 138, 0.14), rgba(122, 215, 255, 0.12));
  transform: rotate(-5deg);
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-weight: 900;
}

.phone-top span {
  width: 38px;
  height: 8px;
  border-radius: 999px;
  background: var(--line);
}

.pet-profile-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #3a1d59, #211735);
  padding: 18px;
  color: white;
}

.pet-profile-card strong,
.pet-profile-card p {
  color: white;
}

.pet-profile-card p {
  opacity: 0.78;
}

.pet-avatar {
  position: relative;
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--brand), var(--accent));
}

.pet-avatar::before,
.pet-avatar::after,
.pet-avatar span {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: white;
}

.pet-avatar::before {
  width: 18px;
  height: 18px;
  left: 15px;
  top: 17px;
}

.pet-avatar::after {
  width: 18px;
  height: 18px;
  right: 15px;
  top: 17px;
}

.pet-avatar span:first-child {
  width: 29px;
  height: 20px;
  left: 17px;
  bottom: 12px;
}

.pet-avatar span:last-child {
  width: 17px;
  height: 9px;
  left: 23px;
  bottom: 14px;
  background: var(--text-strong);
}

.hero-health-card,
.phone-grid div,
.qr-card,
.floating-chip,
.hero-card,
.feature-card,
.animated-panel,
.platform-card,
.legal-card,
.notice,
.legal-links a {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.hero-health-card {
  margin-top: 14px;
  padding: 16px;
}

.hero-health-card span,
.hero-health-card strong {
  display: block;
}

.hero-health-card span {
  color: var(--brand);
  font-weight: 950;
}

.progress-track {
  height: 9px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--line);
}

.progress-track i {
  display: block;
  width: 78%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

.phone-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.phone-grid div {
  min-height: 84px;
  padding: 14px;
}

.phone-grid strong,
.phone-grid span,
.hero-card strong,
.hero-card span,
.floating-note strong,
.floating-note span {
  display: block;
}

.phone-grid span,
.hero-card span,
.qr-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

.floating-chip {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  padding: 11px 15px;
  color: var(--text-strong);
  font-weight: 950;
}

.chip-left {
  left: 2%;
  top: 16%;
}

.chip-right {
  right: 0;
  top: 28%;
}

.hero-card {
  position: absolute;
  z-index: 3;
  width: 230px;
  padding: 17px;
}

.hero-card-a {
  left: 0;
  bottom: 18%;
}

.hero-card-b {
  right: 2%;
  bottom: 6%;
}

.hero-metrics {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 12px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(20px);
}

.hero-metrics div {
  min-height: 92px;
  display: grid;
  align-content: center;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 92, 138, 0.1), rgba(122, 215, 255, 0.08));
  padding: 18px;
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  color: var(--text-strong);
  font-size: 1.14rem;
}

.hero-metrics span {
  color: var(--muted);
}

.feature-section,
.platform-section,
.legal-page,
.support-page {
  background:
    linear-gradient(180deg, transparent, rgba(255, 92, 138, 0.04)),
    var(--bg-2);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.platform-card,
.legal-card,
.animated-panel {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.feature-card:hover,
.platform-card:hover,
.legal-card:hover,
.animated-panel:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 92, 138, 0.34);
  box-shadow: var(--shadow);
}

.feature-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.feature-card:nth-child(1),
.feature-card:nth-child(2) {
  min-height: 360px;
  grid-column: span 1;
}

.feature-card-top,
.platform-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: auto;
}

.feature-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 92, 138, 0.16), rgba(122, 215, 255, 0.16));
  color: var(--brand);
  font-weight: 1000;
}

.feature-arrow,
.platform-dot {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.feature-card h3,
.platform-card h3,
.legal-card h3 {
  margin-top: 30px;
}

.feature-card p,
.legal-card p,
.animated-panel p,
.content-flow p,
.platform-card p {
  margin-top: 13px;
  color: var(--muted);
}

.trust-section {
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(255, 92, 138, 0.12), transparent 34%),
    linear-gradient(225deg, rgba(122, 215, 255, 0.16), transparent 34%),
    linear-gradient(180deg, #fff8fb, #f4fbff);
}

.trust-section h2,
.trust-section h3,
.trust-section strong {
  color: var(--text-strong);
}

.trust-section .eyebrow {
  color: var(--accent);
}

.trust-section .section-heading p,
.trust-section .animated-panel p,
.trust-card-large p {
  color: var(--muted);
}

.trust-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(340px, 0.94fr);
  align-items: center;
  gap: 22px;
}

.trust-card-large {
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 245, 249, 0.86)),
    linear-gradient(135deg, rgba(255, 92, 138, 0.18), rgba(122, 215, 255, 0.14));
  padding: 34px;
  box-shadow: var(--shadow);
}

.premium-qr {
  display: grid;
  grid-template-columns: 92px 1fr;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.74);
  border-color: var(--line);
}

.qr-visual {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  width: 82px;
  height: 82px;
  border-radius: var(--radius);
  background: rgba(35, 24, 51, 0.08);
  padding: 9px;
}

.qr-visual span {
  border-radius: 3px;
  background: var(--text-strong);
}

.qr-visual span:nth-child(2n) {
  background: var(--brand);
}

.qr-visual span:nth-child(5n) {
  background: var(--accent);
}

.trust-panels,
.support-cards {
  display: grid;
  gap: 14px;
}

.trust-panels .animated-panel {
  background: rgba(255, 255, 255, 0.82);
  border-color: var(--line);
}

.animated-panel {
  padding: 22px;
}

.panel-kicker,
.platform-badge,
.legal-badge,
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.72rem;
  font-weight: 1000;
}

.panel-kicker,
.legal-badge {
  margin-bottom: 14px;
  background: rgba(255, 92, 138, 0.14);
  color: var(--brand);
}

.trust-section .panel-kicker,
.trust-section .platform-badge {
  background: rgba(122, 215, 255, 0.22);
  color: var(--text-strong);
}

.platform-shell {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 92, 138, 0.08), rgba(122, 215, 255, 0.08)),
    var(--surface);
  padding: 34px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.platform-card {
  min-height: 332px;
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.platform-badge {
  background: rgba(197, 167, 255, 0.18);
  color: var(--text-strong);
}

.platform-action {
  display: grid;
  gap: 12px;
  margin-top: auto;
}

.status-pill {
  width: fit-content;
  background: var(--surface-strong);
  color: var(--muted);
}

.status-pill.ready {
  color: var(--text-strong);
  background: rgba(122, 215, 255, 0.16);
}

.legal-strip {
  background:
    linear-gradient(135deg, rgba(255, 92, 138, 0.08), rgba(122, 215, 255, 0.08)),
    var(--bg);
}

.legal-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.legal-links a {
  min-height: 68px;
  display: flex;
  align-items: center;
  padding: 16px;
  color: var(--text-strong);
  font-weight: 900;
  text-decoration: none;
}

.legal-links a:hover {
  border-color: rgba(255, 92, 138, 0.34);
  transform: translateY(-2px);
}

.text-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--brand);
  font-weight: 900;
}

.page-hero {
  position: relative;
  padding: 102px 0 76px;
  background:
    linear-gradient(135deg, rgba(255, 92, 138, 0.1), rgba(122, 215, 255, 0.1)),
    var(--bg);
}

.page-hero p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.16rem;
}

.content-flow {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 34px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.content-flow > * + * {
  margin-top: 18px;
}

.content-flow h2 {
  margin-top: 38px;
  font-size: 1.92rem;
}

.content-flow a {
  color: var(--brand);
  font-weight: 900;
}

.notice {
  padding: 18px;
  border-left: 4px solid var(--brand);
}

.notice p {
  margin-top: 6px;
  color: var(--muted);
}

.legal-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.legal-notice {
  max-width: 760px;
  margin-bottom: 22px;
}

.legal-card {
  min-height: 260px;
  padding: 22px;
}

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 24px;
}

.site-footer {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 92, 138, 0.12), transparent 32%),
    linear-gradient(220deg, rgba(122, 215, 255, 0.14), transparent 34%),
    #fff8fb;
  color: var(--text);
  padding: 70px 0 28px;
}

.site-footer h2,
.site-footer strong,
.footer-brand span {
  color: var(--text-strong);
}

.footer-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  margin-bottom: 56px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  padding: 30px;
}

.footer-hero h2 {
  max-width: 760px;
  font-size: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.75fr 0.8fr;
  gap: 34px;
}

.footer-intro p,
.footer-grid a,
.footer-bottom {
  color: var(--muted);
}

.footer-intro p {
  max-width: 420px;
  margin-top: 16px;
}

.footer-grid h2 {
  margin-bottom: 14px;
  font-size: 1rem;
}

.footer-grid a {
  display: block;
  margin-top: 10px;
  text-decoration: none;
}

.footer-grid a:hover,
.footer-bottom a:hover {
  color: var(--text-strong);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 46px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

[data-theme="dark"] .trust-section {
  color: white;
  background:
    linear-gradient(135deg, rgba(255, 92, 138, 0.16), transparent 34%),
    linear-gradient(225deg, rgba(122, 215, 255, 0.14), transparent 34%),
    var(--dark-panel);
}

[data-theme="dark"] .trust-section h2,
[data-theme="dark"] .trust-section h3,
[data-theme="dark"] .trust-section strong,
[data-theme="dark"] .site-footer h2,
[data-theme="dark"] .site-footer strong,
[data-theme="dark"] .footer-brand span {
  color: white;
}

[data-theme="dark"] .trust-section .section-heading p,
[data-theme="dark"] .trust-section .animated-panel p,
[data-theme="dark"] .trust-card-large p {
  color: #d9d2e8;
}

[data-theme="dark"] .trust-card-large {
  border-color: rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    linear-gradient(135deg, rgba(255, 92, 138, 0.26), rgba(122, 215, 255, 0.12));
}

[data-theme="dark"] .premium-qr {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.16);
}

[data-theme="dark"] .qr-visual {
  background: rgba(255, 255, 255, 0.14);
}

[data-theme="dark"] .qr-visual span {
  background: white;
}

[data-theme="dark"] .trust-panels .animated-panel {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

[data-theme="dark"] .trust-section .panel-kicker,
[data-theme="dark"] .trust-section .platform-badge {
  background: rgba(122, 215, 255, 0.14);
  color: var(--accent);
}

[data-theme="dark"] .site-footer {
  background:
    linear-gradient(135deg, rgba(255, 92, 138, 0.16), transparent 32%),
    linear-gradient(220deg, rgba(122, 215, 255, 0.12), transparent 34%),
    var(--dark-panel);
  color: white;
}

[data-theme="dark"] .footer-hero {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
}

[data-theme="dark"] .footer-intro p,
[data-theme="dark"] .footer-grid a,
[data-theme="dark"] .footer-bottom {
  color: #ded7ed;
}

[data-theme="dark"] .footer-grid a:hover,
[data-theme="dark"] .footer-bottom a:hover {
  color: white;
}

[data-theme="dark"] .footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.14);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 680ms ease var(--reveal-delay, 0s), transform 680ms ease var(--reveal-delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-floating-card] {
  animation: floaty 6.5s ease-in-out infinite;
  animation-delay: var(--float-delay, 0s);
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 1120px) {
  h1 {
    font-size: 4.6rem;
  }

  h2 {
    font-size: 2.9rem;
  }

  .header-shell {
    grid-template-columns: auto 1fr auto;
  }

  .primary-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 10px);
    display: none;
    justify-self: stretch;
    flex-direction: column;
    align-items: stretch;
    border-radius: var(--radius);
    padding: 10px;
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    border-radius: var(--radius);
  }

  .nav-toggle {
    display: block;
  }

  .hero-shell,
  .trust-shell,
  .support-grid,
  .section-split,
  .legal-strip-grid {
    grid-template-columns: 1fr;
  }

  .section-note {
    max-width: 520px;
  }

  .hero-device-wrap {
    min-height: 590px;
  }

  .feature-grid,
  .platform-grid,
  .legal-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  h1 {
    max-width: 100%;
    font-size: 2.05rem;
    line-height: 1.08;
  }

  h2,
  .footer-hero h2 {
    font-size: 2.25rem;
  }

  .container {
    width: calc(100vw - 28px) !important;
    max-width: calc(100vw - 28px) !important;
    margin-left: 14px;
    margin-right: 14px;
  }

  .header-shell {
    min-height: 74px;
    gap: 10px;
  }

  .brand small,
  .header-cta,
  .theme-toggle span[data-theme-label] {
    display: none;
  }

  .theme-toggle {
    width: 44px;
    padding: 0;
  }

  .section {
    padding: 76px 0;
  }

  .hero-section {
    min-height: auto;
    padding: 44px 0 34px;
  }

  .hero-background::before,
  .hero-background::after,
  .hero-line {
    display: none;
  }

  .hero-pill {
    width: 100%;
    max-width: 100%;
    align-items: flex-start;
    border-radius: var(--radius);
    font-size: 0.82rem;
    white-space: normal;
  }

  .hero-pill span {
    flex: 0 0 auto;
  }

  .hero-lead {
    max-width: 100%;
    font-size: 1.08rem;
  }

  .hero-shell,
  .hero-copy,
  .hero-product,
  .hero-actions,
  .hero-pill {
    width: 100%;
    max-width: calc(100vw - 28px);
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .button {
    width: 100%;
    flex: 1 1 100%;
  }

  .hero-device-wrap {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    min-height: auto;
    padding: 36px 0 18px;
  }

  .phone-mockup {
    width: min(100%, 340px);
    max-width: calc(100vw - 44px);
    margin: 0 auto;
    border-width: 8px;
    border-radius: 28px;
  }

  .hero-phone::before {
    inset: -12px;
  }

  .floating-chip,
  .hero-card {
    position: static;
    width: 100%;
    margin-top: 12px;
  }

  .hero-metrics,
  .feature-grid,
  .platform-grid,
  .legal-card-grid,
  .legal-links,
  .footer-grid,
  .footer-hero {
    grid-template-columns: 1fr;
  }

  .platform-shell,
  .content-flow,
  .trust-card-large,
  .footer-hero {
    padding: 22px;
  }

  .trust-card-large {
    min-height: auto;
  }

  .premium-qr {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

.reduced-motion .reveal,
.reduced-motion [data-floating-card],
.reduced-motion [data-parallax-card] {
  opacity: 1;
  transform: none;
  animation: none;
}
