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

html {
  width: 100%;
  overflow-x: hidden;
}

:root {
  color-scheme: dark;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #000000;
  color: #f8f9fb;
  --page-bg: #000000;
  --accent: #89a8ff;
  --accent-strong: #6b8aff;
  --accent-soft: rgba(137, 168, 255, 0.2);
  --max-width: 1600px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 16px;
  --shadow: 0 60px 120px -40px rgba(16, 20, 60, 0.6);
  --header-bg: rgba(5, 7, 15, 0.6);
  --header-border: rgba(255, 255, 255, 0.04);
  --ghost-bg: rgba(12, 16, 32, 0.44);
  --ghost-border: rgba(255, 255, 255, 0.08);
  --ghost-border-hover: rgba(255, 255, 255, 0.16);
  --text-primary: #f8f9fb;
  --text-secondary: rgba(240, 241, 248, 0.76);
  --text-tertiary: rgba(240, 241, 248, 0.64);
  --eyebrow-color: rgba(244, 246, 255, 0.64);
  --text-muted: rgba(220, 226, 255, 0.7);
  --text-muted-strong: rgba(220, 226, 255, 0.68);
  --text-muted-soft: rgba(220, 226, 255, 0.6);
  --text-contrast: rgba(235, 238, 255, 0.9);
  --text-contrast-soft: rgba(235, 238, 255, 0.8);
  --text-placeholder: rgba(245, 245, 245, 0.7);
  --surface: #333333;
  --surface-alt: #666666;
  --surface-overlay: rgba(12, 16, 32, 0.7);
  --border-color: rgba(255, 255, 255, 0.1);
  --border-soft: rgba(255, 255, 255, 0.04);
  --badge-bg: rgba(11, 16, 34, 0.6);
  --badge-border: rgba(255, 255, 255, 0.18);
  --menu-bg: #333333;
  --menu-border: rgba(255, 255, 255, 0.1);
  --menu-item-border: rgba(255, 255, 255, 0.08);
  --secondary-button-bg: rgba(17, 22, 44, 0.7);
  --secondary-button-color: rgba(247, 247, 255, 0.86);
  --halo-blue: rgba(94, 126, 255, 0.35);
  --halo-pink: rgba(255, 140, 199, 0.2);
  --footer-bg: rgba(5, 7, 15, 0.85);
  --footer-border: rgba(255, 255, 255, 0.04);
  --footer-text: rgba(220, 226, 255, 0.68);
  --footer-muted: rgba(220, 226, 255, 0.5);
  --menu-icon-color: rgba(248, 249, 251, 0.9);
  --primary-cta-bg: linear-gradient(135deg, #89a8ff, #5a7fff);
  --primary-cta-color: #05070f;
  --secondary-cta-border: rgba(255, 255, 255, 0.12);
  --secondary-cta-border-hover: rgba(255, 255, 255, 0.2);
  --secondary-cta-bg: rgba(12, 16, 32, 0.56);
  --ai-button-bg: linear-gradient(135deg, rgba(137, 168, 255, 0.9), rgba(115, 148, 255, 0.7));
  --ai-button-color: #05070f;
  --ai-button-shadow: 0 18px 36px -18px rgba(137, 168, 255, 0.8);
  --pill-bg: rgba(137, 168, 255, 0.14);
  --pill-color: rgba(207, 216, 255, 0.9);
  --link-accent: rgba(137, 168, 255, 0.96);
  --halo-one-bg: rgba(94, 126, 255, 0.35);
  --halo-two-bg: rgba(255, 140, 199, 0.2);
  --device-frame-bg: linear-gradient(140deg, rgba(34, 37, 48, 0.9), rgba(9, 9, 12, 0.98));
  --device-frame-border: rgba(255, 255, 255, 0.08);
  --device-frame-shadow: 0 60px 120px -40px rgba(10, 12, 28, 0.9);
  --device-notch-bg: linear-gradient(90deg, rgba(45, 50, 60, 0.9), rgba(20, 22, 30, 1));
  --device-notch-detail-bg: #000000;
  --device-notch-detail-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 -2px 6px rgba(0, 0, 0, 0.5);
  --device-side-button-bg: rgba(120, 120, 120, 0.6);
  --device-side-button-shadow: 0 16px 24px -20px rgba(0, 0, 0, 0.6);
  --plan-featured-border: rgba(137, 168, 255, 0.4);
  --plan-featured-badge-bg: rgba(137, 168, 255, 0.35);
  --plan-featured-badge-border: rgba(137, 168, 255, 0.35);
  --cta-inner-shadow: 0 60px 100px -60px rgba(55, 74, 168, 0.7);
  --feature-icon-bg: rgba(137, 168, 255, 0.12);
  --feature-icon-color: var(--accent-strong);
}

body.dark-theme {
  color-scheme: dark;
}

body.light-theme {
  color-scheme: light;
  --page-bg: linear-gradient(135deg, #ffffff 0%, #eef2ff 60%, #f5f7ff 100%);
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-tertiary: #475569;
  --eyebrow-color: rgba(79, 70, 229, 0.7);
  --text-muted: #475569;
  --text-muted-strong: #4b5563;
  --text-muted-soft: #64748b;
  --text-contrast: #0f172a;
  --text-contrast-soft: #334155;
  --text-placeholder: #475569;
  --surface: #ffffff;
  --surface-alt: #e2e8f0;
  --surface-overlay: rgba(255, 255, 255, 0.92);
  --border-color: rgba(148, 163, 184, 0.28);
  --border-soft: rgba(148, 163, 184, 0.18);
  --badge-bg: rgba(79, 70, 229, 0.12);
  --badge-border: rgba(79, 70, 229, 0.22);
  --ghost-bg: rgba(248, 250, 252, 0.92);
  --ghost-border: rgba(148, 163, 184, 0.35);
  --ghost-border-hover: rgba(99, 102, 241, 0.4);
  --header-bg: rgba(255, 255, 255, 0.88);
  --header-border: rgba(148, 163, 184, 0.24);
  --menu-icon-color: #0f172a;
  --menu-bg: #ffffff;
  --menu-border: rgba(148, 163, 184, 0.28);
  --menu-item-border: rgba(203, 213, 225, 0.7);
  --secondary-button-bg: rgba(226, 232, 240, 0.9);
  --secondary-button-color: #1f2937;
  --halo-blue: rgba(79, 70, 229, 0.2);
  --halo-pink: rgba(236, 72, 153, 0.16);
  --footer-bg: #f8fafc;
  --footer-border: rgba(226, 232, 240, 0.9);
  --footer-text: #475569;
  --footer-muted: rgba(71, 85, 105, 0.7);
  --shadow: 0 50px 100px -50px rgba(15, 23, 42, 0.18);
  --secondary-cta-border: rgba(148, 163, 184, 0.35);
  --secondary-cta-border-hover: rgba(99, 102, 241, 0.4);
  --secondary-cta-bg: rgba(226, 232, 240, 0.8);
  --ai-button-shadow: 0 18px 36px -18px rgba(79, 70, 229, 0.28);
  --pill-bg: rgba(79, 70, 229, 0.14);
  --pill-color: #4338ca;
  --link-accent: #4338ca;
  --halo-one-bg: rgba(99, 102, 241, 0.2);
  --halo-two-bg: rgba(236, 72, 153, 0.12);
  --device-frame-bg: linear-gradient(140deg, rgba(255, 255, 255, 0.96), rgba(236, 242, 255, 0.92));
  --device-frame-border: rgba(148, 163, 184, 0.35);
  --device-frame-shadow: 0 40px 90px -40px rgba(148, 163, 184, 0.35);
  --device-notch-bg: linear-gradient(90deg, rgba(226, 232, 240, 1), rgba(203, 213, 225, 1));
  --device-notch-detail-bg: #ffffff;
  --device-notch-detail-shadow: 0 0 0 1px rgba(148, 163, 184, 0.3), inset 0 -2px 6px rgba(203, 213, 225, 0.6);
  --device-side-button-bg: rgba(148, 163, 184, 0.5);
  --device-side-button-shadow: 0 12px 20px -18px rgba(148, 163, 184, 0.4);
  --plan-featured-border: rgba(79, 70, 229, 0.35);
  --plan-featured-badge-bg: rgba(79, 70, 229, 0.15);
  --plan-featured-badge-border: rgba(79, 70, 229, 0.2);
  --cta-inner-shadow: 0 50px 90px -48px rgba(148, 163, 184, 0.3);
  --feature-icon-bg: rgba(79, 70, 229, 0.1);
  --feature-icon-color: #4338ca;
}

body {
  margin: 0;
  padding-top: 64px;
  background: var(--page-bg);
  background-attachment: fixed;
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Inria Sans', 'Inter', sans-serif;
}

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

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

.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;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(20px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
}

.nav {
  margin: 0 auto;
  padding: 16px clamp(20px, 5vw, 80px);
  max-width: var(--max-width);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  display: block;
  height: clamp(28px, 3vw, 36px);
}

.brand span {
  font-family: 'Inria Sans', 'Inter', sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  letter-spacing: 0.04em;
}

.nav-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  padding: 10px 14px;
  background: var(--ghost-bg);
  cursor: pointer;
  transition: border 0.3s ease, transform 0.3s ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  border-color: var(--ghost-border-hover);
  transform: translateY(-1px);
}

.menu-icon {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
}

.menu-icon span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--menu-icon-color);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-active .menu-toggle .menu-icon span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-active .menu-toggle .menu-icon span:nth-child(2) {
  opacity: 0;
}

.menu-active .menu-toggle .menu-icon span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: clamp(20px, 4vw, 48px);
  left: clamp(20px, 4vw, 48px);
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--menu-bg);
  border: 1px solid var(--menu-border);
  box-shadow: 0 40px 80px -40px rgba(10, 12, 28, 0.7);
  z-index: 9;
  display: none;
  flex-direction: column;
  gap: 16px;
  font-size: 1.05rem;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu a {
  padding: 12px 0;
  border-bottom: 1px solid var(--menu-item-border);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.ghost-link {
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  background: none;
  transition: transform 0.3s ease;
}

.ghost-link:hover {
  transform: translateY(-1px);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.theme-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.theme-toggle-icon svg {
  width: 20px;
  height: 20px;
}

[data-next-theme] .theme-toggle-icon {
  display: none;
}

[data-next-theme='dark'] .theme-toggle-icon-moon,
[data-next-theme='light'] .theme-toggle-icon-sun {
  display: inline-flex;
}

.mobile-theme-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--menu-item-border);
  background: var(--menu-bg);
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: border 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.mobile-theme-toggle:hover,
.mobile-theme-toggle:focus-visible {
  border-color: var(--ghost-border-hover);
  transform: translateY(-1px);
}

.mobile-theme-toggle .theme-toggle-icon svg {
  width: 20px;
  height: 20px;
}

.primary-cta,
.secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 26px;
  font-weight: 600;
  transition: transform 0.3s ease, background 0.3s ease;
}

.primary-cta {
  background: linear-gradient(135deg, #9fb6ff, #5f83ff);
  color: #ffffff;
  box-shadow: 0 16px 32px -16px rgba(95, 131, 255, 0.65);
}

.primary-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px -16px rgba(95, 131, 255, 0.75);
  filter: brightness(1.08);
}

.secondary-cta {
  border: 1px solid var(--secondary-cta-border);
  background: var(--secondary-cta-bg);
  color: var(--secondary-button-color);
}

.secondary-cta:hover {
  transform: translateY(-2px);
  border-color: var(--secondary-cta-border-hover);
}

.hero {
  position: relative;
  margin: 0 auto;
  padding: clamp(80px, 10vw, 140px) clamp(20px, 5vw, 80px) 100px;
  max-width: var(--max-width);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.hero-content .eyebrow {
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--eyebrow-color);
  margin-bottom: 16px;
}

.hero-content h1 {
  font-family: 'Inria Sans', 'Inter', sans-serif;
  font-size: clamp(2.5rem, 4vw, 4.8rem);
  line-height: 1.05;
  margin: 0 0 24px;
}

.hero-content h1 span {
  background: linear-gradient(90deg, #9fb4ff, #5a7fff);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-copy {
  margin: 0 0 32px;
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.hero-badges {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.store-badges {
  display: inline-flex;
  gap: 12px;
}

.store-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  color: inherit;
  transition: none;
}

.store-download.primary-cta {
  background: transparent;
  color: inherit;
  box-shadow: none;
  text-shadow: none;
  border-radius: 0;
}

.store-download.primary-cta:hover,
.store-download.primary-cta:focus-visible {
  filter: none;
}

.store-download img {
  display: block;
  height: 40px;
  width: auto;
}

.store-download:hover,
.store-download:focus-visible {
  transform: none;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.device-frame {
  position: relative;
  width: min(360px, 100%);
  padding: 14px 12px 18px;
  border-radius: 52px;
  background: var(--device-frame-bg);
  border: 1px solid var(--device-frame-border);
  box-shadow: var(--device-frame-shadow);
  display: flex;
  align-items: stretch;
  z-index: 1;
}

.device-frame::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 120px;
  width: 2px;
  height: 60px;
  border-radius: 2px;
  background: var(--device-side-button-bg);
  box-shadow: var(--device-side-button-shadow);
}

.device-screen {
  display: flex;
  align-items: stretch;
  flex: 1;
  width: 100%;
  border-radius: 42px;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-color);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.device-screenshot {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.halo {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.65;
  pointer-events: none;
  z-index: 0;
}

.halo-one {
  width: 380px;
  height: 380px;
  background: var(--halo-one-bg);
  top: -80px;
  right: -60px;
}

.halo-two {
  width: 260px;
  height: 260px;
  background: var(--halo-two-bg);
  bottom: -100px;
  right: 40px;
}

.section {
  margin: 0 auto;
  padding: 120px clamp(20px, 5vw, 80px) 80px;
  max-width: var(--max-width);
}

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

.section-heading h2 {
  font-family: 'Inria Sans', 'Inter', sans-serif;
  font-size: clamp(2rem, 3vw, 3.2rem);
  margin-bottom: 16px;
}

.section-heading p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.5;
}

#features .section-heading h2 {
  font-size: clamp(2.8rem, 5vw, 4.4rem);
}

.feature-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: stretch;
}

.feature-block {
  padding: clamp(32px, 6vw, 48px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
  display: flex;
  align-items: stretch;
  gap: clamp(24px, 6vw, 48px);
  flex-wrap: wrap;
}

.feature-content {
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-content h3 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0;
  font-weight: 600;
}

.feature-content p {
  margin: 0;
  color: var(--text-contrast-soft);
  line-height: 1.7;
}

.feature-image {
  flex: 1 1 320px;
  min-height: 220px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  color: var(--feature-icon-color);
  padding: 0;
}

.feature-image svg {
  width: clamp(72px, 10vw, 96px);
  height: clamp(72px, 10vw, 96px);
}

.feature-illustration {
  width: 100%;
  height: auto;
  display: block;
  max-width: none;
}

.pricing {
  position: relative;
}

.pricing-grid {
  margin-top: 56px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1 1 320px;
}

.plan-card.featured {
  background: var(--surface);
  border-color: var(--plan-featured-border);
}
.plan-card .badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--plan-featured-badge-border);
  font-weight: 600;
  font-size: 0.85rem;
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--plan-featured-badge-bg);
  border-color: var(--plan-featured-badge-border);
}

.plan-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.price {
  font-size: 2.4rem;
  margin: 0;
  font-weight: 700;
}

.price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted-strong);
  margin-left: 8px;
}

.plan-note {
  margin: 0;
  color: var(--text-muted);
}

.plan-card ul {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
  color: var(--text-contrast-soft);
}

.plan-card .primary-cta,
.plan-card .secondary-cta {
  margin-top: auto;
  align-self: stretch;
}

.testimonials {
  position: relative;
}

.testimonial-carousel {
  margin-top: 48px;
  position: relative;
}

.testimonial-track {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  transition: transform 0.4s ease;
  will-change: transform;
}

.testimonial-slide {
  margin: 0;
}

.testimonial-controls {
  margin-top: 24px;
  display: none;
  justify-content: center;
  gap: 16px;
}

.carousel-button {
  border: 1px solid var(--border-color);
  background: var(--ghost-bg);
  color: var(--text-primary);
  border-radius: 999px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.carousel-button:hover,
.carousel-button:focus-visible {
  transform: translateY(-1px);
  border-color: var(--ghost-border-hover);
}

blockquote {
  margin: 0;
  padding: 32px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border-color);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-contrast);
}

blockquote cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-size: 0.9rem;
  color: var(--text-muted-soft);
}

.downloads {
  margin: 0 auto;
  padding: 120px clamp(20px, 5vw, 80px);
  max-width: calc(var(--max-width) - 180px);
}

.cta-inner {
  padding: clamp(48px, 8vw, 80px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border-color);
  box-shadow: var(--cta-inner-shadow);
  text-align: center;
}

.cta-inner h2 {
  font-family: 'Inria Sans', 'Inter', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin: 0 0 16px;
}

.cta-inner p {
  margin: 0 0 32px;
  color: var(--text-contrast-soft);
  font-size: 1.05rem;
}

.cta-download-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cta-download-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
  height: auto;
}

.cta-download-buttons .store-download img {
  height: 68px;
}

.cta-qrcode {
  display: none;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.cta-qrcode img {
  max-width: 148px;
  width: 100%;
  height: auto;
  border: 1px solid rgba(0, 0, 0, 0.2);
  padding: 8px;
  background: #ffffff;
  border-radius: 8px;
}

.cta-qrcode p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

@media (min-width: 721px) {
  .cta-download-grid {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 24px;
    text-align: left;
  }

  .cta-download-buttons {
    height: 100%;
    justify-content: space-between;
  }

  .cta-download-buttons .store-download {
    flex: 1 1 0;
  }

  .cta-qrcode {
    display: flex;
  }

  .cta-qrcode img {
    width: 100%;
    max-width: 148px;
    height: auto;
    border: 1px solid rgba(0, 0, 0, 0.2);
    padding: 8px;
    background: #ffffff;
    border-radius: 8px;
  }
}

.site-footer {
  margin-top: 120px;
  padding: 48px clamp(20px, 5vw, 80px);
  background: var(--footer-bg);
  border-top: 1px solid var(--footer-border);
}

.footer-top {
  margin: 0 auto 32px;
  max-width: var(--max-width);
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-size: 1.3rem;
  margin: 0 0 8px;
}

.tagline {
  margin: 0;
  color: var(--text-muted-soft);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.95rem;
  color: var(--footer-text);
}

.footer-bottom {
  margin: 0 auto;
  max-width: var(--max-width);
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--footer-muted);
}

.legal-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.legal-tag {
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--eyebrow-color);
  margin: 0;
}

.legal-hero h1 {
  margin: 0;
  font-family: 'Inria Sans', 'Inter', sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
}

.legal-summary {
  margin: 0;
  max-width: 720px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.legal-content {
  padding-top: 0;
}

.legal-card {
  margin: 0 auto;
  max-width: 920px;
  padding: clamp(32px, 6vw, 56px);
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.legal-card p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

.legal-effective-date {
  font-weight: 600;
  color: var(--text-contrast);
}

.legal-sections {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.legal-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--text-secondary);
}

.legal-section h2 {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-family: 'Inria Sans', 'Inter', sans-serif;
  color: var(--text-primary);
}

.legal-section p {
  margin-bottom: 12px;
}

.legal-section p:last-of-type {
  margin-bottom: 0;
}

.legal-subsections {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.legal-subsection {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-subsection h3 {
  margin: 0;
  font-size: clamp(1.05rem, 2.6vw, 1.25rem);
  font-weight: 600;
  color: var(--text-primary);
}

.legal-card ul {
  margin: 12px 0;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--text-secondary);
}

.legal-card a {
  color: var(--link-accent);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    order: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .hero-visual {
    order: 2;
  }

  .device-frame {
    margin: 0 auto;
  }

  .nav-actions {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero-copy {
    margin-bottom: 0;
    max-width: 520px;
  }

  .cta-group {
    width: 100%;
    justify-content: center;
  }

  .hero-badges {
    max-width: 520px;
    justify-content: center;
  }

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

  .mobile-menu {
    display: flex;
  }

  .mobile-menu[hidden] {
    display: none;
  }

  body.menu-active {
    overflow: hidden;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 96px;
    padding-bottom: 80px;
  }

  .plan-card {
    padding: 32px 24px;
  }

  .downloads {
    max-width: var(--max-width);
    padding: 80px clamp(16px, 5vw, 32px);
  }

  .section {
    padding: 32px clamp(16px, 5vw, 32px);
  }

  .site-footer {
    margin-top: 32px;
    padding: 40px clamp(16px, 5vw, 32px);
  }

  .cta-download-buttons {
    flex-direction: row;
    gap: 12px;
    justify-content: center;
    height: auto;
    width: 100%;
  }

  .cta-download-buttons .store-download {
    flex: 0 1 auto;
    height: auto;
  }

  .cta-download-buttons .store-download img {
    height: 40px;
  }

  .testimonial-carousel {
    overflow: hidden;
  }

  .testimonial-track {
    display: flex;
    gap: 24px;
    padding: 0 12px;
  }

  .testimonial-slide {
    flex: 0 0 100%;
    margin: 0;
  }

  .testimonial-controls {
    display: flex;
  }
}

@media (max-width: 520px) {
  .section {
    padding: 32px clamp(16px, 6vw, 24px);
  }

  .cta-group {
    justify-content: center;
  }
