/* ========================================
   MileTrack Landing Page Styles
   ======================================== */

:root {
  color-scheme: light;
  --header-offset: 104px;
  --sticky-offset: calc(var(--header-offset) + 12px);
  --blue:        #FFCD04;
  --blue-600:    #E6B800;
  --blue-50:     #FFF8D8;
  --blue-100:    #FFE987;
  --blue-25:     #FFFCED;
  --green:       #16A86A;
  --green-50:    #E3F4EB;
  --purple:      #7B61FF;
  --purple-50:   #ECE8FF;
  --red:         #E84545;
  --ink:         #14233A;
  --ink-2:       #1F2D44;
  --muted:       #5A6B85;
  --line:        #E6EAF1;
  --line-2:      #EEF1F6;
  --bg:          #FFFFFF;
  --surface:     #FFFFFF;
  --bg-soft:     #F6F8FB;
  --bg-soft-2:   #F1F4FA;
  --control-bg:  #FFFFFF;
  --phone-surface: #FFFFFF;
  --map-bg:      #EEF2F6;
  --legal-gradient: linear-gradient(135deg, #F6F8FB 0%, #FFF8D8 100%);
  --brand-shadow: none;
  --shadow-card: 0 18px 40px -18px rgba(20, 35, 58, 0.18), 0 4px 12px -4px rgba(20, 35, 58, 0.06);
  --shadow-soft: 0 12px 30px -12px rgba(20, 35, 58, 0.12);
}

[data-theme="dark"] {
  color-scheme: dark;
  --blue:        #FFCD04;
  --blue-600:    #FFD83D;
  --blue-50:     #3A3008;
  --blue-100:    #6A5609;
  --blue-25:     #211C09;
  --green:       #4BD495;
  --green-50:    #123527;
  --purple:      #A794FF;
  --purple-50:   #261F47;
  --red:         #FF7676;
  --ink:         #F4F8FB;
  --ink-2:       #DCE7F2;
  --muted:       #A7B7C8;
  --line:        rgba(226, 236, 246, 0.18);
  --line-2:      rgba(226, 236, 246, 0.12);
  --bg:          #000000;
  --surface:     #060609;
  --bg-soft:     #060609;
  --bg-soft-2:   #1A1A25;
  --control-bg:  #1A1A25;
  --phone-surface: #0F1D27;
  --map-bg:      #172633;
  --legal-gradient: linear-gradient(135deg, #08131C 0%, #2B250D 100%);
  --brand-shadow: none;
  --shadow-card: 0 22px 46px -20px rgba(0, 0, 0, 0.7), 0 6px 16px -8px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 18px 34px -18px rgba(0, 0, 0, 0.58);
}

* { box-sizing: border-box; }
html {
  margin: 0;
  padding: 0;
  scroll-padding-top: var(--header-offset);
}
body { margin: 0; padding: 0; }
[id] {
  scroll-margin-top: var(--header-offset);
}
body {
  font-family: 'Quicksand', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  line-height: 1.5;
}

.wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(24px, 3.5vw, 56px);
}

/* ======================================
   Header
   ====================================== */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  overflow: visible;
  border-bottom: 1px solid var(--line-2);
  background: var(--surface);
  box-shadow: 0 10px 30px -28px rgba(20, 35, 58, 0.5);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 22px 0;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark {
  width: 53.2px; height: 53.2px;
  border-radius: 12px;
  display: block;
  object-fit: contain;
  box-shadow: var(--brand-shadow);
}
.brand-name {
  font-family: 'Quicksand', system-ui, sans-serif;
  font-weight: 700;
  font-size: 31.7px;
  letter-spacing: -0.01em;
}
[data-theme="dark"] .brand-name {
  color: var(--blue);
}

nav.links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: clamp(8px, 0.8vw, 16px);
  margin-right: auto;
}

nav.links a,
.nav-menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-weight: 500;
  font-size: 16px;
  transition: color .15s ease;
}
nav.links a:hover,
.nav-menu-trigger:hover { color: var(--ink); }
nav.links .nav-chevron {
  color: var(--ink);
  transition: transform .15s ease;
}
nav.links a:hover .nav-chevron {
  transform: translateX(2px);
}
.nav-menu {
  position: relative;
}
.nav-menu.is-open .nav-menu-trigger .nav-chevron {
  transform: rotate(90deg);
}
.nav-dropdown {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 300px;
  border: 1px solid var(--line-2);
  border-radius: 0 0 14px 14px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}
.nav-menu.is-open .nav-dropdown,
.nav-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a {
  display: flex;
  align-items: center;
  text-decoration: none;
  width: 100%;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line-2);
  font-family: inherit;
  font-weight: 500;
  font-size: 18px;
  color: var(--ink);
}
.nav-dropdown a:last-child {
  border-bottom: 0;
}
.nav-dropdown a:hover {
  background: var(--bg-soft);
}
.nav-dropdown-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 5px;
  background: rgba(7, 16, 22, 0.16);
  color: #071016;
  display: grid;
  place-items: center;
}
[data-theme="dark"] .nav-dropdown-icon {
  background: rgba(255, 205, 4, 0.14);
  color: var(--blue);
}
[data-theme="dark"] .nav-dropdown a:hover .nav-dropdown-icon {
  background: var(--blue);
  color: #071016;
}

[data-theme="dark"] .nav-dropdown a:hover {
  background: var(--bg-soft-2);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

.stats-ticker {
  position: sticky;
  top: 98px;
  z-index: 60;
  width: 100%;
  overflow: visible;
  border-bottom: 1px solid var(--line-2);
  background: var(--surface);
  margin-top: -1px;
}

.stats-ticker::before,
.stats-ticker::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  width: min(24vw, 260px);
  pointer-events: none;
}

.stats-ticker::before {
  left: 0;
  background: linear-gradient(90deg, var(--surface) 0%, rgba(255, 255, 255, 0) 100%);
}

.stats-ticker::after {
  right: 0;
  background: linear-gradient(270deg, var(--surface) 0%, rgba(255, 255, 255, 0) 100%);
}

.stats-ticker-viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.stats-ticker-track {
  position: relative;
  z-index: 0;
  display: flex;
  width: max-content;
  animation: stats-ticker-scroll 30s linear infinite;
  will-change: transform;
}

.stats-ticker-group {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: clamp(58px, 7vw, 132px);
  padding: 8px clamp(58px, 7vw, 132px) 8px 0;
}

.stats-ticker-item {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}

#how-it-works {
  scroll-margin-top: 150px;
}

.stats-ticker-number {
  color: #8b8996;
  font-size: clamp(14px, 1vw, 16px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.stats-ticker-label {
  color: rgba(20, 35, 58, 0.72);
  font-size: clamp(14px, 1vw, 16px);
  font-weight: 600;
  line-height: 1;
}

.stats-ticker-cta-plate {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  z-index: 70;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 196px;
  padding: 0 12px;
  border: 1px solid var(--line-2);
  border-radius: 0;
  background: var(--surface);
  box-shadow: 0 8px 18px -18px rgba(7, 16, 22, 0.65);
}
html[lang="es"] .stats-ticker-cta-plate {
  min-width: 216px;
}
html[lang="en"] .stats-ticker-cta-plate {
  min-width: 235px;
}

.stats-ticker-cta {
  position: absolute;
  left: 50%;
  top: 34%;
  z-index: 1;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 30px;
  border-radius: 999px;
  background: #071016;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 10px 24px -18px rgba(7, 16, 22, 0.7);
  white-space: nowrap;
}

.stats-ticker-cta:hover {
  filter: brightness(0.98);
}

[data-theme="dark"] .stats-ticker {
  background: var(--surface);
}

[data-theme="dark"] .stats-ticker-number {
  color: rgba(255, 255, 255, 0.62);
}

[data-theme="dark"] .stats-ticker-label {
  color: rgba(255, 255, 255, 0.78);
}

[data-theme="dark"] .stats-ticker-cta {
  background: var(--blue);
  color: #071016;
}

[data-theme="dark"] .stats-ticker::before {
  background: linear-gradient(90deg, var(--surface) 0%, rgba(6, 6, 9, 0) 100%);
}

[data-theme="dark"] .stats-ticker::after {
  background: linear-gradient(270deg, var(--surface) 0%, rgba(6, 6, 9, 0) 100%);
}

@keyframes stats-ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-33.333%); }
}

@media (prefers-reduced-motion: reduce) {
  .stats-ticker-track {
    animation: none;
  }
}

.language-menu {
  position: relative;
}

.lang-select {
  min-width: 118px;
  min-height: 40px;
  padding: 0.5rem 0.8rem 0.5rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.875rem;
  background: var(--bg-soft);
  color: var(--ink);
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: inset 0 1px 2px rgba(20, 35, 58, 0.06);
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.lang-select:hover,
.lang-select:focus {
  border-color: var(--blue-100);
  box-shadow: inset 0 1px 2px rgba(20, 35, 58, 0.08), 0 8px 18px -14px rgba(20, 35, 58, 0.4);
  outline: none;
}

.lang-select svg {
  color: var(--muted);
  transition: transform .16s ease, color .15s ease;
}

.language-menu.is-open .lang-select svg {
  transform: rotate(180deg);
  color: var(--ink);
}

.lang-options {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  min-width: 148px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.language-menu.is-open .lang-options,
.lang-options.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-options button {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 9px 10px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: left;
}

.lang-options button:hover {
  background: transparent;
  border-color: var(--blue-100);
  color: var(--ink);
}

.lang-options button[aria-selected="true"] {
  background: var(--blue-50);
  color: var(--ink);
}

[data-theme="dark"] .lang-options button:hover {
  background: var(--bg-soft-2);
}

.theme-toggle {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  box-shadow: inset 0 1px 2px rgba(20, 35, 58, 0.06);
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.theme-toggle:hover {
  border-color: var(--blue-100);
  box-shadow: inset 0 1px 2px rgba(20, 35, 58, 0.08), 0 8px 18px -14px rgba(20, 35, 58, 0.4);
}

.theme-icon {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: color .15s ease;
}

.theme-icon-moon,
[data-theme="dark"] .theme-icon-sun {
  display: none;
}

[data-theme="dark"] .theme-icon-moon {
  display: grid;
}

/* ======================================
   Hero
   ====================================== */
.hero {
  position: relative;
  display: block;
  padding: 18px 0 56px;
  overflow: visible;
}
.hero-copy {
  position: absolute;
  top: 78px;
  left: clamp(170px, 16vw, 245px);
  z-index: 2;
  max-width: 390px;
  padding: 0;
}
.eyebrow {
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 20px;
}
h1.hero-title {
  font-size: 57px;
  line-height: 0.88;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 34px;
  text-align: left;
  transform: none;
  white-space: normal;
}
h1.hero-title span {
  display: block;
}
h1.hero-title span:nth-child(3) {
  font-size: 0.61em;
  line-height: 0.95;
  letter-spacing: -0.015em;
}
html[lang="en"] h1.hero-title {
  line-height: 0.9;
  text-align: right;
  width: 472px;
}
html[lang="en"] .hero-copy {
  max-width: 472px;
  transform: translate(-40%, -15%);
}
html[lang="en"] h1.hero-title span:nth-child(1),
html[lang="en"] h1.hero-title span:nth-child(2),
html[lang="en"] h1.hero-title span:nth-child(3) {
  line-height: 0.96;
}
html[lang="en"] h1.hero-title span:nth-child(1) { font-size: 76px; }
html[lang="en"] h1.hero-title span:nth-child(2) { font-size: 53px; }
html[lang="en"] h1.hero-title span:nth-child(3) {
  font-size: 64px;
  letter-spacing: -0.02em;
}
html[lang="es"] h1.hero-title {
  width: 472px;
  text-align: left;
}
html[lang="es"] .hero-copy {
  max-width: 472px;
  transform: translate(-25%, -15%);
}
html[lang="es"] h1.hero-title span:nth-child(1) {
  font-size: 46px;
  line-height: 0.98;
}
html[lang="es"] h1.hero-title span:nth-child(2) {
  font-size: 57.5px;
  line-height: 0.95;
}
html[lang="es"] h1.hero-title span:nth-child(3) {
  font-size: 66.7px;
  line-height: 0.9;
  letter-spacing: -0.025em;
}
html[lang="en"] .hero-actions {
  width: 472px;
  max-width: 472px;
  justify-content: flex-start;
  padding-left: 140px;
  box-sizing: border-box;
}
html[lang="es"] .hero-actions {
  width: 472px;
  max-width: 472px;
  justify-content: flex-start;
  padding-left: 0;
  box-sizing: border-box;
}
html[lang="en"] ul.checks {
  width: 100%;
  align-items: flex-start;
}
html[lang="es"] ul.checks {
  width: 100%;
  align-items: flex-start;
}
html[lang="en"] ul.checks li {
  flex-direction: row;
  justify-content: flex-start;
  font-size: 23px;
  text-align: left;
}
html[lang="es"] ul.checks li {
  flex-direction: row;
  justify-content: flex-start;
  font-size: 23px;
  text-align: left;
}
html[lang="en"] ul.checks .check {
  width: 28px;
  height: 28px;
  flex-basis: 28px;
}
html[lang="es"] ul.checks .check {
  width: 28px;
  height: 28px;
  flex-basis: 28px;
}
[data-theme="dark"] h1.hero-title {
  color: var(--blue);
}
.hero-lead {
  color: var(--muted);
  position: relative;
  z-index: 2;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.65;
  margin: 112px auto 0;
  max-width: 780px;
  width: min(780px, 78%);
  text-align: center;
}
ul.checks {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 15px;
  align-items: flex-end;
  width: 360px;
}
ul.checks li {
  display: flex; align-items: center; flex-direction: row-reverse; gap: 12px;
  font-size: 18px;
  color: var(--ink-2);
  font-weight: 700;
  width: 100%;
  justify-content: flex-start;
  text-align: right;
}
ul.checks .check {
  width: 22px; height: 22px; flex: 0 0 22px;
  border-radius: 50%;
  background: #071016;
  border: 3px solid #071016;
  color: var(--blue);
  display: grid; place-items: center;
}
ul.checks .check svg {
  width: 19.25px;
  height: 19.25px;
}
html[lang="es"] ul.checks .check svg {
  width: 22.14px;
  height: 22.14px;
}
html[lang="en"] ul.checks .check svg {
  width: 22.14px;
  height: 22.14px;
}
[data-theme="dark"] ul.checks .check {
  background: var(--blue);
  border-color: var(--blue);
  color: #071016;
}
.hero-actions {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 32px;
  max-width: 360px;
  transform: none;
}
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 172px;
  min-height: 58px;
  padding: 0 24px;
  border-radius: 14px;
  background: var(--blue);
  color: #071016;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: none;
  transition: transform .15s ease, background .15s ease;
}
.cta-button:hover {
  background: var(--blue-600);
  transform: translateY(-1px);
  box-shadow: none;
}
.nav-cta {
  min-width: 132px;
  min-height: 40px;
  height: 40px;
  padding: 0 18px;
  border-radius: 9px;
  background: #071016;
  color: var(--blue);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.nav-cta:hover {
  background: #071016;
  color: var(--blue);
}

[data-theme="dark"] .nav-cta {
  background: var(--blue);
  color: #071016;
}

[data-theme="dark"] .nav-cta:hover {
  background: var(--blue-600);
  color: #071016;
}

/* ======================================
   Phone column
   ====================================== */
.phone-col {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 0;
}
/* organic blob behind phone */
.blob {
  position: absolute;
  inset: 0 -8px 18px 12px;
  background: var(--bg-soft);
  border-radius: 60% 50% 55% 45% / 55% 60% 40% 50%;
  z-index: 0;
  transform: rotate(-8deg);
}
.dots {
  position: absolute;
  right: 2px; bottom: 88px;
  display: grid;
  grid-template-columns: repeat(6, 6px);
  gap: 10px;
  z-index: 0;
}
.dots span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--line);
}

.phone-col-image .phone {
  display: none;
}

.hero-phone-image {
  position: relative;
  z-index: 1;
  display: block;
  width: auto;
  height: 585px;
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  filter: drop-shadow(0 34px 52px rgba(13, 19, 32, 0.18));
  transform: translate(15%, 15%);
}

.phone {
  position: relative;
  width: 320px;
  height: 640px;
  border-radius: 46px;
  background: #0d1320;
  padding: 10px;
  box-shadow: 0 30px 60px -30px rgba(20, 35, 58, 0.4),
              0 12px 32px -12px rgba(20, 35, 58, 0.2);
  z-index: 1;
}
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 38px;
  background: var(--phone-surface);
  overflow: hidden;
  position: relative;
}
.notch {
  position: absolute;
  left: 50%; top: 0;
  transform: translateX(-50%);
  width: 130px; height: 24px;
  background: #0d1320;
  border-radius: 0 0 16px 16px;
  z-index: 2;
}
.status-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 24px 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.status-icons { display: inline-flex; gap: 6px; align-items: center; }
.app-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 18px 14px;
  color: var(--ink);
}
.app-header .title {
  font-weight: 600; font-size: 16px;
}
.icon-btn {
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--ink);
  background: transparent;
  border: none;
  cursor: pointer;
}

/* Map */
.map {
  height: 240px;
  background: var(--map-bg);
  position: relative;
  overflow: hidden;
}
.map svg { width: 100%; height: 100%; display: block; }

/* Trip card overlay */
.trip-card {
  position: absolute;
  left: -28px; right: -28px;
  bottom: 36px;
  background: var(--surface);
  border-radius: 20px;
  padding: 22px 24px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line-2);
  z-index: 3;
}
.trip-stats {
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  gap: 0;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-2);
}
.trip-stat { text-align: center; }
.trip-stat .v {
  font-size: 18px; font-weight: 700; color: var(--ink);
  letter-spacing: -0.01em;
}
.trip-stat .l {
  font-size: 13px; color: var(--muted); margin-top: 4px;
}
.trip-stats .div { background: var(--line-2); height: 32px; }

.addr {
  padding: 18px 0;
  display: flex; flex-direction: column; gap: 12px;
  border-bottom: 1px solid var(--line-2);
}
.addr-row {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; color: var(--ink-2);
}
.pin {
  width: 14px; height: 14px; border-radius: 50%;
  border: 3px solid var(--green);
  background: var(--surface);
  flex: 0 0 14px;
}
.pin.red { border-color: var(--red); }

.category {
  display: flex; align-items: center; gap: 14px;
  padding-top: 18px;
}
.category .ic {
  width: 28px; height: 28px;
  color: var(--muted);
  display: grid; place-items: center;
}
.category .meta { flex: 1; }
.category .meta .l { font-size: 12px; color: var(--muted); }
.category .meta .v { font-size: 15px; color: var(--ink); font-weight: 600; }

/* ======================================
   Features
   ====================================== */
section.features {
  background: var(--bg-soft);
  padding: 48px 0 58px;
  border-top: 1px solid var(--line-2);
}
.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 36px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.feature {
  padding: 0 28px;
  text-align: center;
  border-right: 1px solid var(--line-2);
}
.feature:last-child { border-right: 0; }
.feature .icon {
  width: 76px; height: 76px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: grid; place-items: center;
  border: 3px solid var(--blue-100);
}
.feature .icon.blue { background: var(--blue-50); color: var(--blue); }
.feature .icon.green { background: var(--blue-50); color: var(--blue); }
.feature .icon.purple-light { background: var(--blue-50); color: var(--blue); }
.feature .icon.blue-deep { background: var(--blue-50); color: var(--blue-600); }
.feature .icon.blue,
.feature .icon.green,
.feature .icon.purple-light,
.feature .icon.blue-deep {
  background: #071016;
  border-color: #071016;
  color: var(--blue);
}
[data-theme="dark"] .feature .icon.blue,
[data-theme="dark"] .feature .icon.green,
[data-theme="dark"] .feature .icon.purple-light,
[data-theme="dark"] .feature .icon.blue-deep {
  background: var(--blue);
  border-color: var(--blue);
  color: #071016;
}
.feature .icon svg,
.feature .icon .app-icon-mask {
  width: 36px;
  height: 36px;
}
.feature h3 {
  font-size: 18px; font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

/* ======================================
   Trust card
   ====================================== */
section.trust-wrap { padding: 56px 0 0; background: var(--bg); }
.trust {
  background: var(--bg-soft);
  border: 1px solid var(--line-2);
  border-radius: 24px;
  padding: 56px 64px;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 56px;
  align-items: center;
}

.illus {
  position: relative;
  height: 280px;
}
.illus svg.scene { width: 100%; height: 100%; display: block; }

.trust-meta { text-align: center; margin-top: 8px; }
.trust-meta h4 {
  font-size: 18px; font-weight: 700; color: var(--ink);
  margin: 0 0 12px;
}
.stars {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--ink); font-size: 18px;
}
.stars .row { display: inline-flex; gap: 2px; color: #F5B528; }
.trust-sub { color: var(--muted); font-size: 14px; margin-top: 6px; }

.benefits { display: flex; flex-direction: column; }
.benefit {
  display: flex; align-items: flex-start; gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.benefit:first-child { padding-top: 4px; }
.benefit:last-child { border-bottom: 0; padding-bottom: 4px; }
.benefit .b-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  flex: 0 0 56px;
  display: grid; place-items: center;
  border: 3px solid var(--blue-100);
}
.benefit .b-icon.blue { background: var(--blue-50); color: var(--blue); }
.benefit .b-icon.green { background: var(--blue-50); color: var(--blue); }
.benefit .b-icon.purple { background: var(--blue-50); color: var(--blue); }
.benefit .b-icon.blue,
.benefit .b-icon.green,
.benefit .b-icon.purple {
  background: #071016;
  border-color: #071016;
  color: var(--blue);
}
[data-theme="dark"] .benefit .b-icon.blue,
[data-theme="dark"] .benefit .b-icon.green,
[data-theme="dark"] .benefit .b-icon.purple {
  background: var(--blue);
  border-color: var(--blue);
  color: #071016;
}
.benefit .b-icon svg,
.benefit .b-icon .app-icon-mask {
  width: 28px;
  height: 28px;
}
.benefit .b-text h5 {
  margin: 6px 0 6px;
  font-size: 17px; font-weight: 700; color: var(--ink);
  letter-spacing: -0.01em;
}
.benefit .b-text p {
  margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55;
}

.trust.savings-focus {
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  gap: 72px;
}
.savings-report {
  display: flex;
  justify-content: center;
}
.savings-report-card {
  width: min(100%, 360px);
  background: #071016;
  border: 1px solid rgba(255, 205, 4, 0.24);
  border-radius: 22px;
  padding: 26px;
  box-shadow: var(--shadow-card);
}
[data-theme="dark"] .savings-report-card {
  background: #FFFFFF;
  border-color: #EEF1F6;
}
.report-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #B8C7D8;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
[data-theme="dark"] .report-topline {
  color: #66758A;
}
.savings-report-card h4 {
  margin: 18px 0 8px;
  color: #F4F8FB;
  font-size: 20px;
  line-height: 1.2;
}
[data-theme="dark"] .savings-report-card h4 {
  color: #071016;
}
.savings-report-card strong {
  display: block;
  margin-bottom: 22px;
  color: var(--blue);
  font-size: 54px;
  line-height: 1;
  letter-spacing: -0.04em;
}
.report-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.report-metrics div {
  background: rgba(244, 248, 251, 0.08);
  border: 1px solid rgba(244, 248, 251, 0.12);
  border-radius: 14px;
  padding: 14px;
}
[data-theme="dark"] .report-metrics div {
  background: #F6F8FB;
  border-color: #E6EAF1;
}
.report-metrics span {
  display: block;
  margin-bottom: 4px;
  color: #B8C7D8;
  font-size: 12px;
  font-weight: 800;
}
[data-theme="dark"] .report-metrics span {
  color: #66758A;
}
.report-metrics b {
  color: #F4F8FB;
  font-size: 18px;
}
[data-theme="dark"] .report-metrics b {
  color: #071016;
}
.report-input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #F4F8FB;
  font: inherit;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}
.report-input:focus {
  color: var(--blue);
}
[data-theme="dark"] .report-input {
  color: #071016;
}
[data-theme="dark"] .report-input:focus {
  color: #071016;
}
.report-bar {
  position: relative;
  height: 10px;
  margin: 4px 0 18px;
  overflow: visible;
  background: var(--blue-50);
  border-radius: 999px;
}
.report-bar span {
  position: relative;
  display: block;
  width: 70%;
  height: 100%;
  background: var(--blue);
  border-radius: inherit;
  transition: width .18s ease;
}
.report-bar span::after {
  content: none;
}

.report-range {
  position: absolute;
  z-index: 2;
  inset: 50% 0 auto;
  width: 100%;
  height: 26px;
  margin: 0;
  padding: 0;
  appearance: none;
  transform: translateY(-50%);
  background: transparent;
  cursor: grab;
  touch-action: none;
}
.report-range:active {
  cursor: grabbing;
}
.report-range::-webkit-slider-runnable-track {
  height: 10px;
  background: transparent;
}
.report-range::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  margin-top: -4px;
  appearance: none;
  border: 3px solid #071016;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 2px rgba(255, 205, 4, 0.16);
}
.report-range::-moz-range-track {
  height: 10px;
  background: transparent;
}
.report-range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 3px solid #071016;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 2px rgba(255, 205, 4, 0.16);
}
.report-range:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 5px;
  border-radius: 999px;
}
[data-theme="dark"] .report-range::-webkit-slider-thumb {
  border-color: #FFFFFF;
}
[data-theme="dark"] .report-range::-moz-range-thumb {
  border-color: #FFFFFF;
}
.savings-report-card p {
  margin: 0;
  color: #B8C7D8;
  font-size: 14px;
  line-height: 1.55;
}
[data-theme="dark"] .savings-report-card p {
  color: #66758A;
}
.savings-copy {
  max-width: 620px;
}
.savings-pill {
  display: inline-flex;
  align-items: center;
  margin: 0 0 22px;
  padding: 10px 16px;
  background: #071016;
  border: 2px solid transparent;
  border-radius: 999px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
[data-theme="dark"] .savings-pill {
  background: var(--blue);
  color: #071016;
}
.savings-copy h3 {
  max-width: 620px;
  margin: 0;
  color: var(--ink);
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.savings-stat {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
  padding: 22px;
  background: transparent;
  border: 1px solid #071016;
  border-radius: 18px;
}
[data-theme="dark"] .savings-stat {
  border-color: #FFFFFF;
}
.savings-stat-icon {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  display: grid;
  place-items: center;
  background: #071016;
  border-radius: 50%;
  color: var(--blue);
}
[data-theme="dark"] .savings-stat-icon {
  background: var(--blue);
  color: #071016;
}
.savings-stat h4 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.25;
}
.savings-stat p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

section.compliance-wrap {
  padding: 56px 0 0;
  background: var(--bg);
}
.compliance-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
  align-items: center;
  gap: 48px;
  padding: 40px 52px;
  background: var(--bg-soft);
  border: 1px solid var(--line-2);
  border-radius: 24px;
  box-shadow: var(--shadow-card);
  color: var(--ink);
}
.compliance-copy {
  max-width: 620px;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.compliance-pill {
  background: #071016;
  color: var(--blue);
}
[data-theme="dark"] .compliance-pill {
  background: var(--blue);
  color: #071016;
}
.compliance-copy h3 {
  margin: 0;
  color: var(--ink);
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.compliance-copy .compliance-pill {
  width: max-content;
  max-width: 100%;
  align-self: flex-start;
  margin-bottom: 16px;
}
.compliance-fact {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
  padding: 22px;
  background: transparent;
  border: 1px solid #071016;
  border-radius: 18px;
}
[data-theme="dark"] .compliance-fact {
  border-color: #FFFFFF;
}
.compliance-fact-icon {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  display: grid;
  place-items: center;
  background: #071016;
  border-radius: 50%;
  color: var(--blue);
}
[data-theme="dark"] .compliance-fact-icon {
  background: var(--blue);
  color: #071016;
}
.compliance-fact strong {
  color: var(--ink);
  font-size: 22px;
  line-height: 1.25;
}
.compliance-rates {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 24px;
  padding: 12px 22px;
}
.compliance-rate-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 76px;
  border-right: 1px solid var(--line-2);
  text-align: center;
}
.compliance-rate-item:last-child {
  border-right: 0;
}
.compliance-rate-item > span:not(.audit-category-icon) {
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}
.compliance-rate-item strong {
  color: var(--category-color);
  font-size: 18px;
  white-space: nowrap;
}
.compliance-rate-item small {
  font-size: 11px;
  font-weight: 800;
}
.compliance-expenses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 14px;
  padding: 12px 22px;
}
.compliance-expense-item {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 18px;
  text-align: center;
}
.compliance-expense-item:first-child {
  border-right: 1px solid var(--line-2);
}
.compliance-expense-item > span {
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
}
.compliance-expense-item strong {
  color: var(--blue);
  font-size: 18px;
  white-space: nowrap;
}
.compliance-expense-item small {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
[data-theme="dark"] .compliance-rates,
[data-theme="dark"] .compliance-expenses {
  border-color: #FFFFFF;
}
.compliance-visual {
  display: flex;
  justify-content: center;
}
.audit-card {
  width: min(100%, 380px);
  padding: 24px;
  background: #071016;
  border: 1px solid rgba(255, 205, 4, 0.24);
  border-radius: 22px;
  box-shadow: var(--shadow-card);
  color: #F4F8FB;
}
[data-theme="dark"] .audit-card {
  background: #FFFFFF;
  border-color: #EEF1F6;
  color: #071016;
}
.audit-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.audit-header b {
  color: #F4F8FB;
}
[data-theme="dark"] .audit-header b {
  color: #071016;
}
[data-theme="dark"] .audit-header span {
  color: #071016;
}
.audit-scene {
  display: block;
  width: 100%;
  height: auto;
  margin: 18px 0 16px;
  color: #F4F8FB;
}
.audit-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}
.audit-category-badge {
  display: flex;
  min-width: 0;
  min-height: 112px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 10px;
  background: color-mix(in srgb, var(--category-color) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--category-color) 65%, transparent);
  border-radius: 16px;
  color: var(--category-color);
}
.audit-category-badge strong {
  color: inherit;
  font-size: 14px;
}
.audit-category-icon {
  display: block;
  width: 28px;
  height: 28px;
  fill: currentColor;
  color: var(--category-color);
}
.audit-category-badge .audit-category-icon {
  width: 42px;
  height: 42px;
}
.category-business {
  --category-color: #FFCD04;
}
.category-personal {
  --category-color: #2F6BFF;
}
.category-medical {
  --category-color: #FF4D6D;
}
.category-charity {
  --category-color: #00C99A;
}
.audit-card p {
  margin: 0;
  color: #B8C7D8;
  font-size: 15px;
  line-height: 1.55;
}
[data-theme="dark"] .audit-card p {
  color: #66758A;
}

@media (max-width: 620px) {
  .compliance-rates {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .compliance-rate-item {
    border-right: 0;
    border-bottom: 1px solid var(--line-2);
  }
  .compliance-rate-item:nth-child(odd) {
    border-right: 1px solid var(--line-2);
  }
  .compliance-rate-item:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}
.audit-dark-fill {
  fill: #F4F8FB;
}
[data-theme="dark"] .audit-dark-fill {
  fill: #071016;
}

section.roi-wrap {
  padding: 56px 0 0;
  background: var(--bg);
}
.roi-card {
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1fr);
  background: var(--bg-soft);
  border-color: var(--line-2);
  color: var(--ink);
}
[data-theme="dark"] .roi-card {
  background: var(--bg-soft);
  border-color: transparent;
}
.roi-copy {
  justify-self: end;
}
.roi-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: 48px;
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.roi-pill {
  width: max-content;
  max-width: 100%;
  align-self: flex-start;
  background: #071016;
  color: var(--blue);
}
[data-theme="dark"] .roi-pill {
  background: var(--blue);
  color: #071016;
}
.roi-visual-card {
  width: min(100%, 400px);
  background: #071016;
  border-color: rgba(255, 205, 4, 0.24);
  color: #F4F8FB;
}
[data-theme="dark"] .roi-visual-card {
  background: #FFFFFF;
  border-color: #EEF1F6;
  color: #071016;
}
.roi-savings-box {
  position: relative;
  min-height: 190px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 18px;
  color: #071016;
  text-align: center;
}
.roi-savings-arrow {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 48px;
  height: 48px;
  display: block;
  filter: brightness(0);
  pointer-events: none;
  transform: translate(-50%, -50%);
}
.roi-savings-value {
  min-width: 0;
}
.roi-savings-value > #roi-savings-label {
  align-items: center;
  background: #071016;
  border-radius: 999px;
  color: var(--blue);
  display: inline-flex;
  justify-content: center;
  line-height: 1;
  padding: 7px 12px;
}
.roi-savings-box span {
  font-size: 12.87px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.roi-savings-box strong {
  display: block;
  margin: 5px 0 2px;
  font-size: 41.89px;
  line-height: 0.98;
  letter-spacing: -0.05em;
}
.roi-savings-box b {
  font-size: 19.8px;
}
.roi-app-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.roi-app-brand img {
  display: block;
  width: 76px;
  height: 76px;
  border-radius: 17px;
  object-fit: contain;
}
.roi-savings-box .roi-app-brand span {
  margin-top: 8px;
  color: #071016;
  font-size: 20.4px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  text-transform: lowercase;
}
.roi-visual-card p {
  margin-top: 20px;
  color: #B8C7D8;
}
.roi-visual-description strong {
  color: inherit;
  font-weight: 800;
}
[data-theme="dark"] .roi-visual-card p {
  color: #66758A;
}
.roi-fact {
  background: transparent;
  border-color: #071016;
}
[data-theme="dark"] .roi-fact {
  border-color: #FFFFFF;
}
.roi-fact strong {
  color: var(--ink);
}
.roi-fact-icon {
  background: #071016;
  color: var(--blue);
  font-size: 30px;
  font-weight: 800;
}
[data-theme="dark"] .roi-fact-icon {
  background: var(--blue);
  color: #071016;
}
@media (max-width: 520px) {
  .roi-savings-box {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .roi-app-brand img {
    width: 64px;
    height: 64px;
    border-radius: 14px;
  }
  .roi-savings-arrow {
    transform: translate(-50%, -50%) rotate(90deg);
  }
}

section.risk-wrap {
  padding: 56px 0 56px;
  background: var(--bg);
}
.risk-card {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
}
.risk-copy {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
}
.risk-card > .compliance-visual {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
}
section.risk-wrap .risk-copy {
  grid-column: 2;
  justify-self: start;
}
section.risk-wrap .risk-card > .compliance-visual {
  grid-column: 1;
  justify-self: start;
}
.risk-fact { background: transparent; }
.guarantee-card {
  width: min(100%, 400px);
}
.guarantee-icons {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(154px, 0.62fr);
  gap: 16px;
  align-items: stretch;
  margin-bottom: 18px;
}
.guarantee-shield,
.guarantee-calendar {
  display: grid;
  place-items: center;
  min-height: 172px;
  background: rgba(244, 248, 251, 0.08);
  border: 1px solid rgba(244, 248, 251, 0.12);
  border-radius: 18px;
}
[data-theme="dark"] .guarantee-shield,
[data-theme="dark"] .guarantee-calendar {
  background: #F6F8FB;
  border-color: #E6EAF1;
}
.guarantee-shield {
  color: var(--blue);
  border-color: var(--blue);
}
[data-theme="dark"] .guarantee-shield {
  border-color: var(--blue);
}
.guarantee-calendar {
  padding: 18px;
  text-align: center;
  background: var(--blue);
  border-color: var(--blue);
}
[data-theme="dark"] .guarantee-calendar {
  background: var(--blue);
  border-color: var(--blue);
}
.guarantee-calendar span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.guarantee-calendar strong {
  display: block;
  color: #071016;
  font-size: 64px;
  line-height: 0.95;
  letter-spacing: -0.05em;
}
.guarantee-calendar b {
  display: block;
  color: #071016;
  font-size: 18px;
}
.guarantee-calendar span {
  color: #071016;
}
.guarantee-calendar #risk-calendar-label {
  align-items: center;
  background: #071016;
  border-radius: 999px;
  color: var(--blue);
  display: inline-flex;
  justify-content: center;
  line-height: 1;
  padding: 7px 12px;
  white-space: nowrap;
}
[data-theme="dark"] .guarantee-calendar strong,
[data-theme="dark"] .guarantee-calendar b {
  color: #071016;
}

@media (min-width: 981px) {
  .risk-wrap .guarantee-card {
    width: min(100%, 400px);
  }

  .risk-wrap .guarantee-icons {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .risk-wrap .guarantee-shield,
  .risk-wrap .guarantee-calendar {
    width: 100%;
    min-width: 0;
  }

  .risk-wrap .guarantee-card > p {
    width: 100%;
  }
}

/* ======================================
   Privacy policy
   ====================================== */
section.privacy-wrap {
  background: var(--bg-soft);
  border-top: 1px solid var(--line-2);
  padding: 37px 0 96px;
}
.privacy-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.privacy-head .eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  padding: 7px 14px;
  border-radius: 999px;
  background: #071016;
  color: #fff;
}
[data-theme="dark"] .privacy-head .eyebrow {
  background: #fff;
  color: #071016;
}
.privacy-title {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 16px;
  text-wrap: balance;
}
.privacy-lead {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  margin: 0 0 14px;
}
.privacy-updated {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  background: #071016;
  padding: 6px 14px;
  border-radius: 999px;
  margin: 0;
  letter-spacing: 0.01em;
}
[data-theme="dark"] .privacy-updated {
  color: #071016;
  background: var(--blue);
}
.privacy-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  align-items: start;
}
.privacy-toc {
  position: sticky;
  top: var(--sticky-offset);
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 22px 24px;
}
.toc-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.privacy-toc ol {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
  counter-reset: toc;
}
.privacy-toc a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  display: block;
  border-left: 2px solid transparent;
  border-radius: 10px;
  padding: 8px 10px 8px 12px;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.privacy-toc a:hover {
  color: var(--blue);
  border-left-color: var(--blue);
}
.privacy-toc a.is-active {
  background: var(--blue);
  border-left-color: var(--blue);
  color: #071016;
  font-weight: 700;
}

.privacy-content {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 20px;
  padding: 12px 36px;
}
.p-block {
  padding: 28px 0;
  border-bottom: 1px solid var(--line-2);
}
.p-block:last-child { border-bottom: 0; }
.p-block h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.p-block p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.65;
  margin: 0 0 12px;
}
.p-block p:last-child { margin-bottom: 0; }
.p-block strong { color: var(--ink-2); font-weight: 700; }
.p-block .link { color: var(--blue); text-decoration: none; font-weight: 600; }
.p-block .link:hover { text-decoration: underline; }

ul.dot-list {
  list-style: none;
  padding: 0; margin: 6px 0 0;
  display: flex; flex-direction: column; gap: 10px;
}
ul.dot-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
}
ul.dot-list li::before {
  content: "";
  position: absolute;
  left: 4px; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.p-block.highlight {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: 14px;
  padding: 22px 24px;
  margin: 12px 0;
}
.p-block.highlight + .p-block { padding-top: 28px; }
.p-block.highlight .p-icon {
  width: 40px; height: 40px;
  flex: 0 0 40px;
  border-radius: 10px;
  background: var(--blue);
  color: #071016;
  display: grid; place-items: center;
}
.p-block.highlight h3 { margin-top: 4px; }

/* ======================================
   Legal pages
   ====================================== */
.legal-hero {
  background: var(--legal-gradient);
  border-bottom: 1px solid var(--line-2);
  padding: 48px 0 56px;
}
.legal-hero-inner {
  max-width: 860px;
}
.legal-back {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 40px;
}
.legal-hero .legal-back {
  display: none;
}
.legal-hero-language {
  display: none !important;
}
.legal-hero h1 {
  font-size: 48px;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
}
.legal-hero p:not(.eyebrow):not(.details-pill) {
  max-width: 720px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  margin: 0 0 18px;
}
.legal-document-hero {
  padding: 25px 0 64px;
  background: var(--bg);
}
.legal-document-hero .legal-hero-inner {
  max-width: 860px;
  text-align: center;
}
.legal-document-hero .details-pill {
  margin-right: auto;
  margin-left: auto;
}
.legal-document-hero h1 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 56px;
  line-height: 1.04;
  letter-spacing: -0.025em;
}
.legal-document-hero p:not(.details-pill) {
  max-width: 720px;
  margin: 0 auto 18px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}
.legal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: start;
  padding-top: 48px;
  padding-bottom: 80px;
}
.legal-doc-toc {
  max-height: calc(100vh - var(--sticky-offset) - 24px);
  overflow: auto;
}
.legal-doc {
  padding: 36px 44px;
}
.legal-doc h1 { display: none; }
.legal-doc h2 {
  color: var(--ink);
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin: 42px 0 14px;
}
.legal-doc h2:first-child { margin-top: 0; }
.legal-doc h3 {
  color: var(--ink-2);
  font-size: 19px;
  margin: 28px 0 10px;
}
.legal-doc p,
.legal-doc li,
.legal-doc td,
.legal-doc th {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
}
.legal-doc p { margin: 0 0 14px; }
.legal-doc ul,
.legal-doc ol { margin: 0 0 18px; padding-left: 22px; }
.legal-doc strong { color: var(--ink-2); }
.legal-doc a { color: var(--blue); font-weight: 600; text-decoration: none; }
.legal-doc a:hover { text-decoration: underline; }
.legal-doc code {
  background: var(--bg-soft);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  color: var(--ink-2);
  font-size: 0.92em;
  padding: 1px 5px;
}
.legal-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 18px 0 28px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
}
.legal-doc table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: var(--surface);
}
.legal-doc th,
.legal-doc td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-2);
}
.legal-doc th {
  color: var(--ink);
  font-weight: 700;
  background: var(--bg-soft);
}
.legal-doc tr:last-child td { border-bottom: 0; }
.legal-home-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding-top: 48px;
  padding-bottom: 80px;
}
.landing-legal-grid { padding: 0; }
.legal-card {
  display: block;
  min-height: 220px;
  color: var(--ink);
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow-soft);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.legal-card:hover {
  transform: translateY(-3px);
  border-color: #071016;
  box-shadow: var(--shadow-card);
}
[data-theme="dark"] .legal-card:hover {
  border-color: var(--blue);
}
.legal-card span {
  display: inline-flex;
  color: var(--blue);
  background: #071016;
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.legal-card h2,
.legal-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.015em;
}
.legal-card p {
  color: var(--muted);
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

/* ======================================
   App details page
   ====================================== */
.details-hero {
  background: var(--bg);
  border-bottom: 1px solid var(--line-2);
  padding: 27px 0 72px;
}
.details-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 72px;
  align-items: center;
}
.details-kicker,
.details-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  background: #071016;
  color: #fff;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 22px;
}
[data-theme="dark"] .details-kicker,
[data-theme="dark"] .details-pill {
  background: #fff;
  color: #071016;
}
#tax-kicker {
  background: #071016;
  color: #ffffff;
  border: 1px solid rgba(255, 205, 4, 0.18);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
  padding: 9px 18px;
}
[data-theme="dark"] #tax-kicker {
  background: #ffffff;
  color: #071016;
  border-color: rgba(255, 255, 255, 0.8);
}
.details-copy h1 {
  font-size: 56px;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 24px;
  max-width: 720px;
}
[data-theme="dark"] .details-copy h1 {
  color: var(--blue);
}
.details-copy p:not(.details-kicker) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  margin: 0;
  max-width: 690px;
}
[data-theme="dark"] #tax-lead strong {
  color: #ffffff;
}
#tax-lead strong.brand-inline,
[data-theme="dark"] #tax-lead strong.brand-inline {
  color: var(--blue);
  font-weight: 800;
}
.tax-hero {
  position: relative;
  overflow: hidden;
}
.tax-hero-inner {
  align-items: center;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 70px;
  position: relative;
  z-index: 2;
}
.tax-hero .details-copy {
  overflow: visible;
  position: relative;
}
.details-panel {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.details-panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line-2);
  color: var(--muted);
  font-weight: 600;
}
.details-panel-row:last-child {
  border-bottom: 0;
}
.details-panel-row strong {
  color: #071016;
  background: var(--blue);
  border-radius: 999px;
  padding: 6px 12px;
  white-space: nowrap;
}
.details-panel-row .details-panel-category-icons {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
}
.details-panel-category-icons .app-icon-img {
  width: 20px;
  height: 20px;
}
.details-panel-category-icons .app-icon-mask {
  width: 20px;
  height: 20px;
}
.details-panel-category-icons > span {
  font-size: 15px;
  line-height: 1;
}
.tax-method-panel {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  position: relative;
  z-index: 2;
  transform: translateY(22px);
}
[data-theme="dark"] .tax-method-panel {
  background: transparent;
  border-color: transparent;
}
.tax-method-intro {
  margin-bottom: 24px;
  padding-bottom: 0;
  text-align: center;
}
.tax-method-intro span {
  color: var(--blue);
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 7px;
}
.tax-method-intro strong {
  color: var(--ink);
  display: block;
  font-size: 26.5px;
  line-height: 1.18;
}
.tax-method-intro strong span {
  color: var(--blue);
  display: inline;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: 0;
  margin: 0;
  text-transform: none;
}
.tax-method-path {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 17px;
  align-items: center;
  border: 2px solid rgba(7, 16, 22, 0.04);
  border-radius: 26px;
  background: #f7f7f7;
  box-shadow: inset 0 1px 4px rgba(7, 16, 22, 0.05);
  box-sizing: border-box;
  padding: 19px 20px;
  width: calc(100% - 28px);
}
.tax-method-path > div {
  text-align: center;
}
.tax-method-path-yellow {
  background: rgba(255, 205, 4, 0.08);
  border-color: var(--blue);
  margin-right: auto;
  transform: translateX(-14px);
}
.tax-method-path-black {
  grid-template-columns: minmax(0, 1fr) 78px;
  border-color: #071016;
  margin-left: auto;
  transform: translateX(14px);
}
.tax-method-path-black .tax-method-icon {
  order: 2;
}
.tax-method-path-black > div {
  order: 1;
}
[data-theme="dark"] .tax-method-path {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .tax-method-path-yellow {
  border-color: var(--blue);
}
[data-theme="dark"] .tax-method-path-yellow strong,
[data-theme="dark"] .tax-method-path-yellow p {
  color: var(--blue);
}
[data-theme="dark"] .tax-method-path-black {
  border-color: #ffffff;
}
.tax-method-path strong {
  color: var(--ink);
  display: block;
  font-size: 16px;
  line-height: 1.25;
  margin: 0 0 7px;
}
.tax-method-path p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.42;
  margin: 0;
}
.tax-method-icon {
  width: 78px;
  height: 78px;
  border: 0;
  border-radius: 15px;
  background: transparent;
  color: #071016;
  display: grid;
  place-items: center;
}
.tax-method-icon-yellow {
  border-color: rgba(7, 16, 22, 0.5);
  color: #071016;
}
.tax-method-icon img {
  width: 67px;
  height: 67px;
  display: block;
  filter: brightness(0) saturate(100%);
}
.tax-method-icon svg.tax-method-icon-move {
  width: 89px;
  height: 89px;
  display: block;
  transform: translateY(-8px);
}
[data-theme="dark"] .tax-method-icon {
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
  background: transparent;
}
[data-theme="dark"] .tax-method-icon-yellow {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--blue);
}
[data-theme="dark"] .tax-method-icon img {
  filter: brightness(0) invert(1);
}
.tax-method-cycle {
  position: relative;
  width: 124px;
  height: 117px;
  display: grid;
  place-items: center;
  margin: 5px auto;
}
.tax-method-cycle-ring {
  position: absolute;
  inset: 50%;
  width: 85%;
  height: 85%;
  transform: translate(-50%, -50%);
  object-fit: contain;
  display: block;
  z-index: 2;
}
.tax-method-cycle-ring-dark {
  display: none;
}
[data-theme="dark"] .tax-method-cycle-ring-light {
  display: none;
}
[data-theme="dark"] .tax-method-cycle-ring-dark {
  display: block;
}
.tax-method-paid-icon {
  width: 110px;
  height: 110px;
  position: absolute;
  inset: 50%;
  transform: translate(-50%, -50%);
  color: rgba(255, 205, 4, 0.15);
  display: grid;
  place-items: center;
  z-index: 1;
}
.tax-method-paid-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
[data-theme="dark"] .tax-method-paid-icon {
  color: rgba(255, 205, 4, 0.15);
}
.tax-method-cycle span:not(.tax-method-paid-icon) {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  position: relative;
  z-index: 3;
}
.tax-guide-section {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line-2);
  padding: 54px 0 58px;
}
.tax-guide {
  display: block;
}
.tax-guide-copy h2,
.tax-example h2 {
  color: var(--ink);
  font-size: 42px;
  line-height: 1.08;
  margin: 18px 0;
}
.tax-guide-copy .details-pill {
  margin-bottom: 12px;
  transform: translateY(-10px);
}
.tax-guide-copy h2 {
  margin: 0 0 18px;
}
.title-accent {
  color: var(--blue);
}
.data-accent {
  color: var(--ink);
  font-weight: 800;
}
[data-theme="dark"] .data-accent {
  color: var(--blue);
}
.tax-guide-copy > p,
.tax-example p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  max-width: 760px;
}
.tax-guide-copy {
  max-width: none;
}
.tax-guide-copy > p {
  max-width: 860px;
}
.tax-rule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
  margin-top: 34px;
}
.tax-rule-grid article,
.tax-calculator,
.tax-example-math {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}
.tax-rule-grid article {
  height: 100%;
  padding: 20px;
}
.tax-rule-grid strong {
  color: var(--ink);
  display: block;
  font-size: 17px;
  margin-bottom: 8px;
}
[data-theme="dark"] .tax-rule-grid strong {
  color: var(--blue);
}
.tax-rule-grid p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}
.irs-rate-panel {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  margin-top: 24px;
  padding: 26px 28px;
}
.irs-rate-panel h3 {
  color: var(--ink);
  font-size: 26px;
  line-height: 1.18;
  margin: 0 0 10px;
}
.irs-rate-panel p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  max-width: 920px;
}
.irs-rate-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0;
}
.irs-rate-row {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 14px;
  border: 1px solid color-mix(in srgb, var(--rate-color) 52%, var(--line-2));
  border-radius: 14px;
  background: color-mix(in srgb, var(--rate-color) 10%, var(--surface));
  color: var(--ink);
  padding: 14px 16px;
}
.irs-rate-business { --rate-color: #FFCD04; }
.irs-rate-medical { --rate-color: #FF4D6D; }
.irs-rate-charity { --rate-color: #00D49A; }
.irs-rate-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--rate-color);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--rate-color) 18%, transparent);
}
.irs-rate-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 2.5px solid var(--rate-color);
  background: color-mix(in srgb, var(--rate-color) 18%, transparent);
  color: var(--rate-color);
  display: grid;
  place-items: center;
}
.irs-rate-icon svg {
  width: 31px;
  height: 31px;
  display: block;
  fill: currentColor;
}
.irs-rate-row span:not(.irs-rate-dot):not(.irs-rate-icon) {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.15;
  min-width: 0;
}
.irs-rate-row strong {
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  justify-self: end;
  white-space: nowrap;
}
[data-theme="dark"] .irs-rate-panel {
  background: var(--surface);
  border-color: rgba(255, 255, 255, 0.1);
}
[data-theme="dark"] .irs-rate-panel h3 {
  color: var(--blue);
}
[data-theme="dark"] .irs-rate-row {
  background: color-mix(in srgb, var(--rate-color) 13%, var(--surface));
}
[data-theme="dark"] .irs-rate-row strong {
  color: #ffffff;
}
.irs-extra-deductions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.irs-extra-deductions article {
  --extra-color: #2F6BFF;
  background: color-mix(in srgb, var(--extra-color) 9%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--extra-color) 52%, var(--line-2));
  border-radius: 14px;
  box-shadow: none;
  padding: 16px;
  text-align: center;
}
.irs-extra-head {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 10px;
}
.irs-extra-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Noto Color Emoji", "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.irs-extra-emoji {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.irs-extra-head h3 {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.15;
  margin: 0;
}
.irs-extra-badge {
  border-radius: 999px;
  background: #071016;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
[data-theme="dark"] .legal-card span {
  color: #071016;
  background: var(--blue);
}
.irs-extra-deductions p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}
[data-theme="dark"] .irs-extra-deductions article {
  background: color-mix(in srgb, var(--extra-color) 14%, var(--surface));
  border-color: color-mix(in srgb, var(--extra-color) 58%, rgba(255, 255, 255, 0.1));
}
[data-theme="dark"] .irs-extra-head h3 {
  color: #ffffff;
}
[data-theme="dark"] .irs-extra-badge {
  background: #ffffff;
  color: #071016;
}
.mileage-uses-section {
  background: var(--bg);
  border-bottom: 1px solid var(--line-2);
  padding: 23px 0 25px;
}
.mileage-uses {
  color: var(--ink);
}
.mileage-uses-head {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}
.mileage-uses-head .details-pill {
  background: #071016;
  color: #ffffff;
  margin-bottom: 18px;
}
[data-theme="dark"] .mileage-uses-section {
  background: #020506;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .mileage-uses {
  color: #ffffff;
}
[data-theme="dark"] .mileage-uses-head .details-pill {
  background: #ffffff;
  color: #071016;
}
.mileage-uses-head h2 {
  color: var(--ink);
  font-size: 42px;
  line-height: 1.08;
  margin: 0 0 14px;
}
[data-theme="dark"] .mileage-uses-head h2 {
  color: #ffffff;
}
.mileage-uses-head p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  margin: 0 auto;
  max-width: 620px;
}
[data-theme="dark"] .mileage-uses-head p {
  color: rgba(255, 255, 255, 0.68);
}
.mileage-uses-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 28px;
  align-items: stretch;
}
.mileage-use-group:nth-child(2),
.mileage-use-group:nth-child(3) {
  grid-column: 2;
}
.mileage-use-group:nth-child(2) {
  grid-row: 1;
}
.mileage-use-group:nth-child(3) {
  grid-row: 2;
}
.mileage-use-group:first-child {
  grid-column: 1;
  grid-row: 1 / span 2;
}
.mileage-use-group {
  border: 1.5px solid var(--group-accent);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 28px;
}
[data-theme="dark"] .mileage-use-group {
  border-color: var(--group-accent);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
  box-shadow: 0 24px 56px -34px rgba(0, 0, 0, 0.8);
}
.mileage-use-group-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 34px;
}
.mileage-use-group-icon {
  width: 62px;
  height: 62px;
  border: 2.5px solid var(--group-accent);
  border-radius: 50%;
  color: var(--group-accent);
  display: grid;
  place-items: center;
  flex: 0 0 62px;
}
.mileage-use-group-icon svg {
  width: 31px;
  height: 31px;
}
.mileage-use-group-icon .app-icon-mask {
  width: 31px;
  height: 31px;
}
.mileage-use-group-icon .app-icon-img {
  width: 31px;
  height: 31px;
}
.mileage-use-group h3 {
  color: var(--ink);
  font-size: 28px;
  line-height: 1.12;
  margin: 0;
}
[data-theme="dark"] .mileage-use-group h3 {
  color: #ffffff;
}
.mileage-use-list {
  display: grid;
  align-content: space-between;
  flex: 1;
  gap: 13px;
}
.mileage-use-group:first-child .mileage-use-list {
  gap: 10px;
}
.mileage-use-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}
.mileage-use-item-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--group-accent) 24%, transparent);
  border: 1.5px solid var(--group-accent);
  color: var(--group-accent);
  display: grid;
  place-items: center;
}
.mileage-use-item-icon svg {
  width: 17px;
  height: 17px;
}
.mileage-use-item-icon .app-icon-mask {
  width: 18px;
  height: 18px;
}
.mileage-use-item-icon .app-icon-img {
  width: 18px;
  height: 18px;
}
.app-icon-img {
  display: block;
  object-fit: contain;
  filter: brightness(0) saturate(100%);
}
[data-theme="dark"] .mileage-use-group-icon .app-icon-img,
[data-theme="dark"] .mileage-use-item-icon .app-icon-img {
  filter: brightness(0) invert(1);
}
.app-icon-mask {
  display: block;
  background: currentColor;
  -webkit-mask-image: var(--icon-url);
  mask-image: var(--icon-url);
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}
.mileage-use-group svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mileage-use-group svg.filled-app-icon {
  fill: currentColor;
  stroke: none;
}
.mileage-use-item-icon svg.filled-app-icon {
  color: #071016;
}
[data-theme="dark"] .mileage-use-item-icon svg.filled-app-icon {
  color: #ffffff;
}
.mileage-use-item strong {
  color: var(--ink);
  display: block;
  font-size: 15px;
  line-height: 1.25;
  margin-bottom: 5px;
}
[data-theme="dark"] .mileage-use-item strong {
  color: #ffffff;
}
.mileage-use-item p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.38;
  margin: 0;
}
.mileage-use-group:first-child .mileage-use-item p {
  font-size: 12.5px;
  line-height: 1.34;
}
[data-theme="dark"] .mileage-use-item p {
  color: rgba(255, 255, 255, 0.68);
}
.mileage-uses-note {
  max-width: 860px;
  margin: 34px auto 0;
  border: 1.5px solid var(--blue);
  border-radius: 22px;
  background: rgba(255, 205, 4, 0.08);
  box-shadow: var(--shadow-soft);
  padding: 24px 30px;
  text-align: center;
}
.mileage-uses-note h3 {
  color: var(--ink);
  font-size: 26px;
  line-height: 1.18;
  margin: 0 0 10px;
}
.mileage-uses-note p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 720px;
}
[data-theme="dark"] .mileage-uses-note {
  background: rgba(255, 205, 4, 0.08);
  box-shadow: 0 24px 56px -34px rgba(0, 0, 0, 0.8);
}
[data-theme="dark"] .mileage-uses-note h3 {
  color: var(--blue);
}
[data-theme="dark"] .mileage-uses-note p {
  color: rgba(255, 255, 255, 0.72);
}
.tax-calculator-section {
  background: var(--bg);
  border-bottom: 1px solid var(--line-2);
  padding: 24px 0 72px;
}
.tax-calculator-section .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 64px;
  align-items: center;
}
.tax-calculator-copy {
  max-width: 680px;
}
.tax-calculator-copy .details-pill {
  margin-bottom: 18px;
}
.tax-calculator-copy h2 {
  color: var(--ink);
  font-size: 42px;
  line-height: 1.08;
  margin: 0 0 18px;
}
.tax-calculator-copy > p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  margin: 0;
}
.tax-calculator-steps {
  display: grid;
  gap: 14px;
  margin: 28px 0;
}
.tax-calculator-steps div {
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 14px;
  box-shadow: none;
  padding: 16px 18px;
}
.tax-calculator-steps p {
  color: #071016;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.7;
  margin: 0;
}
[data-theme="dark"] .tax-calculator-steps p {
  color: #071016;
}
.tax-calculator-copy .tax-calculator-tip {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  max-width: 620px;
}
.tax-calculator-copy .tax-calculator-tip p {
  margin: 0 0 14px;
}
.tax-calculator-copy .tax-calculator-tip p:last-child {
  margin-bottom: 0;
}
.tax-calculator-copy .tax-calculator-tip strong {
  color: var(--ink);
  font-weight: 800;
}
[data-theme="dark"] .tax-calculator-copy .tax-calculator-tip strong {
  color: var(--blue);
}
.tax-calculator {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 126px;
  column-gap: 18px;
  row-gap: 10px;
  align-items: center;
  padding: 22px;
}
.tax-calculator-section .tax-calculator {
  width: min(100%, 360px);
  margin: 0;
}
.tax-calculator-head span {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: var(--blue);
  color: #071016;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.tax-calculator h3 {
  color: var(--ink);
  font-size: 23px;
  margin: 8px 0 10px;
}
.tax-calculator-head {
  grid-column: 1 / -1;
}
.tax-calculator label {
  color: var(--ink-2);
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin: 0;
}
.tax-calculator input {
  width: 100%;
  min-height: 36px;
  border: 1px solid var(--blue);
  border-radius: 10px;
  background: var(--control-bg);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  padding: 6px 10px;
  text-align: right;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.tax-calculator input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(255, 205, 4, 0.16);
  outline: none;
}
.tax-results {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  margin-top: 8px;
}
.tax-results div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line-2);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  padding: 10px 0;
}
.tax-results div:last-child {
  border-bottom: 0;
  border-radius: 12px;
  background: var(--blue);
  color: #071016;
  margin-top: 4px;
  padding: 13px 14px;
}
.tax-results span {
  font-size: 13px;
  font-weight: 700;
}
.tax-results div > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.tax-results strong {
  font-size: 21px;
}
.tax-results strong.is-updating {
  animation: resultPulse .32s ease;
}
.tax-results div:last-child strong {
  color: #071016;
  font-size: 26px;
}
.tax-results div:not(:last-child) .info-dot {
  border-color: var(--muted);
  color: var(--muted);
}
.info-dot {
  position: relative;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border: 2px solid #071016;
  border-radius: 50%;
  background: transparent;
  color: #071016;
  cursor: help;
  display: inline-grid;
  place-items: center;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  padding: 0;
}
.info-dot::after {
  content: attr(data-tip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  z-index: 40;
  width: 240px;
  transform: translateX(-50%) translateY(4px);
  border-radius: 10px;
  background: #071016;
  color: #fff;
  box-shadow: var(--shadow-card);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  padding: 10px 12px;
  text-align: left;
  transition: opacity .15s ease, transform .15s ease;
}
.info-dot:hover::after,
.info-dot:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.tax-calculator p {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  margin: 6px 0 0;
  text-align: center;
}
@keyframes resultPulse {
  0% { transform: translateY(0) scale(1); }
  45% { transform: translateY(-1px) scale(1.05); }
  100% { transform: translateY(0) scale(1); }
}
.tax-example-section {
  background: var(--bg);
  border-bottom: 1px solid var(--line-2);
  padding: 7px 0 72px;
}
.tax-example {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  align-items: center;
}
.tax-example-math {
  padding: 22px;
  align-self: start;
  margin-top: 92px;
}
.tax-example-math div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line-2);
  color: var(--ink-2);
  padding: 14px 0;
}
.tax-example-math div:first-child {
  padding-top: 0;
}
.tax-example-math div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.tax-example-math strong {
  color: var(--ink);
}
.tax-example-math div.total {
  color: #071016;
  background: var(--blue);
  border: 0;
  border-radius: 12px;
  margin-top: 14px;
  padding: 16px;
}
.tax-example-math .total strong {
  color: #071016;
  font-size: 24px;
}
.final-cta-section {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line-2);
  padding: 29px 0 88px;
}
.final-cta {
  align-items: center;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  max-width: 900px;
  text-align: center;
}
.final-cta .details-pill {
  background: #071016;
  color: #ffffff;
  margin-bottom: 24px;
}
[data-theme="dark"] .final-cta .details-pill {
  background: #ffffff;
  color: #071016;
}
.final-cta h2 {
  color: var(--ink);
  font-size: 48px;
  letter-spacing: -0.025em;
  line-height: 1.06;
  margin: 0 0 22px;
  max-width: 780px;
}
.final-cta p {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
  margin: 0 auto;
  max-width: 760px;
}
.final-cta #final-cta-copy {
  margin-top: 18px;
}
.final-cta-logo {
  display: block;
  height: 76px;
  margin: 34px auto 16px;
  width: 76px;
}
.final-cta-button {
  background: #071016;
  color: var(--blue);
  margin-top: 0;
  min-width: 250px;
}
.final-cta-button:hover {
  background: #071016;
  color: var(--blue);
}
[data-theme="dark"] .final-cta-button,
[data-theme="dark"] .final-cta-button:hover {
  background: var(--blue);
  color: #071016;
}
.final-cta .final-cta-note {
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-top: 16px;
}
[data-theme="dark"] .final-cta-section {
  background: #020506;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.details-section {
  background: var(--bg-soft);
  padding: 26px 0 96px;
}
.details-section-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}
.details-section-head h2 {
  color: var(--ink);
  font-size: 38px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
}

.details-feature-flow {
  display: grid;
  gap: 0;
}

.details-feature-row {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
  align-items: center;
  gap: clamp(42px, 6vw, 88px);
  min-height: 590px;
  padding: clamp(42px, 5vw, 72px) 0;
}

.details-feature-row + .details-feature-row {
  border-top: 1px solid var(--line-2);
}

.details-feature-row-reverse {
  grid-template-columns: minmax(360px, 1.18fr) minmax(0, 0.82fr);
}

.details-feature-row-reverse .details-feature-copy {
  order: 2;
}

.details-feature-row-reverse .details-feature-shot {
  order: 1;
}

.details-feature-copy {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 28px;
  min-width: 0;
  text-align: center;
}

.details-feature-copy-item + .details-feature-copy-item {
  padding-top: 28px;
  border-top: 1px solid var(--line-2);
}

.details-feature-copy h3 {
  color: var(--ink);
  font-size: clamp(30px, 3vw, 43px);
  line-height: 1.1;
  margin: 0 0 14px;
}

.details-feature-copy p {
  max-width: 570px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
  margin: 0 auto;
  text-align: center;
}

.details-feature-copy-item {
  display: grid;
  justify-items: center;
  width: 100%;
  text-align: center;
}

.details-feature-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--blue);
}

.details-feature-icon img {
  display: block;
  width: 27px;
  height: 27px;
  object-fit: contain;
  filter: brightness(0) saturate(100%);
}

.details-feature-shot {
  display: grid;
  place-items: center;
  min-width: 0;
  margin: 0;
}

.details-feature-shot img {
  display: block;
  width: min(100%, 390px);
  height: auto;
  max-height: 560px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 24px 32px rgba(7, 16, 22, 0.18));
}

/* Desktop: center each text/screenshot pair using the screenshots' rendered width. */
/* Escritorio: desde 981px, para no solaparse con el bloque movil
   `@media (max-width: 980px)`. Antes empezaba en 901px, asi que entre
   901 y 980 se aplicaban las dos y ganaba la movil por orden de cascada,
   dejando un layout a medias. */
@media (min-width: 981px) {
  .app-details-page .details-feature-row {
    grid-template-columns: minmax(0, 500px) 340px;
    justify-content: center;
    width: min(100%, 980px);
    margin-inline: auto;
    gap: clamp(56px, 5vw, 76px);
  }

  .app-details-page .details-feature-row-reverse {
    grid-template-columns: 340px minmax(0, 500px);
  }

  .app-details-page .details-feature-copy {
    width: 100%;
    max-width: 500px;
  }

  .app-details-page .details-feature-copy p {
    max-width: 500px;
  }

  .app-details-page .details-feature-shot {
    width: 340px;
  }

  .app-details-page .details-feature-shot img {
    width: auto;
    max-width: 340px;
    max-height: 560px;
  }
}

.details-feature-trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--line-2);
}

.details-feature-card {
  display: grid;
  grid-template-rows: 280px auto;
  min-width: 0;
}

.details-feature-card-media {
  display: grid;
  place-items: center;
  min-width: 0;
  margin: 0;
  padding: 26px;
  overflow: hidden;
  background: transparent;
}

.details-feature-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 14px 20px rgba(7, 16, 22, 0.14));
}

.details-feature-card-media-notification img {
  width: min(100%, 205px);
}

.details-feature-card-copy {
  padding: 26px;
  text-align: center;
}

.details-feature-card-copy .details-feature-icon {
  margin-bottom: 14px;
}

.details-feature-card-copy h3 {
  color: var(--ink);
  font-size: 23px;
  line-height: 1.2;
  margin: 0 0 10px;
}

.details-feature-card-copy p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
}

[data-theme="dark"] .details-feature-card-media {
  background: transparent;
}

.details-visual-stack {
  display: flex;
  flex-direction: column;
  gap: 94px;
}
.details-visual-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 80px;
  align-items: center;
}
.details-visual-row-reverse {
  grid-template-columns: 420px minmax(0, 1fr);
}
.details-visual-row-reverse .details-benefits {
  order: 2;
}
.details-visual-row-reverse .details-image-wrap {
  order: 1;
}
.details-benefits h3 {
  color: var(--ink);
  font-size: 40px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.details-benefits > p {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
  margin: 0;
}
.details-benefit-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 34px 0 0;
  padding: 0;
}
.details-benefit-list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.details-list-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  flex: 0 0 34px;
  background: var(--blue);
  position: relative;
}
.details-list-icon::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  width: 8px;
  height: 14px;
  border: solid #071016;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}
.details-list-icon.app-icon-holder {
  display: grid;
  place-items: center;
  color: #071016;
}
.details-list-icon.app-icon-holder::after {
  content: none;
}
.details-list-icon.app-icon-holder .app-icon-mask {
  width: 19px;
  height: 19px;
}
.details-list-icon.app-icon-holder .app-icon-img {
  width: 19px;
  height: 19px;
}
.details-benefit-list strong {
  color: var(--ink);
  display: block;
  font-size: 20px;
  line-height: 1.25;
  margin-bottom: 5px;
}
.details-benefit-list p,
.details-final-strip p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
}
.details-image-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}
.details-image-wrap img {
  width: min(100%, 360px);
  height: auto;
  display: block;
  filter: drop-shadow(0 24px 36px rgba(20, 35, 58, 0.18));
}
.phone-shot img {
  width: min(100%, 390px);
}
.details-final-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  border-top: 1px solid var(--line-2);
  padding-top: 36px;
}
.details-final-strip h3 {
  color: var(--ink);
  font-size: 21px;
  line-height: 1.25;
  margin: 0;
}

/* Real app screenshots replace the legacy examples on the mobile App Details flow. */
.details-mobile-showcase {
  display: none;
}
.details-final-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.details-final-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--blue);
  color: #071016;
}
.details-final-icon .app-icon-img {
  width: 22px;
  height: 22px;
}
.details-final-icon .app-icon-mask {
  width: 22px;
  height: 22px;
}

.details-icon-person {
  --icon-url: url("../icons-App/assets/person_24dp_E3E3E3_FILL1_wght400_GRAD0_opsz24.svg");
}
.details-icon-briefcase {
  --icon-url: url("../icons-App/assets/briefcase.svg");
}
.details-icon-pricetag {
  --icon-url: url("../icons-App/assets/pricetag.svg");
}
.details-icon-pricetags {
  --icon-url: url("../icons-App/assets/pricetags.svg");
}
.details-icon-home {
  --icon-url: url("../icons-App/assets/home.svg");
}
.details-icon-document {
  --icon-url: url("../icons-App/assets/document-text.svg");
}
.details-icon-car {
  --icon-url: url("../brand/icons/car-sport (2).svg");
}
.details-icon-schedule {
  --icon-url: url("../brand/icons/event_note_24dp_E3E3E3_FILL1_wght400_GRAD0_opsz24.svg");
}
.details-icon-notification {
  --icon-url: url("../brand/icons/viaje-logo-millar-final.svg");
}
.details-icon-trip {
  --icon-url: url("../icons-App/assets/pin_road_24dp_E3E3E3_FILL1_wght400_GRAD0_opsz24.svg");
}
.details-icon-swap {
  --icon-url: url("../brand/icons/swap-horizontal.svg");
}
.details-icon-shield {
  --icon-url: url("../icons-App/assets/shield-checkmark.svg");
}

/* App Details, light mode: black icon surfaces with Millage yellow artwork. */
[data-theme="light"] .app-details-page .details-panel-row strong,
[data-theme="light"] .app-details-page .details-list-icon,
[data-theme="light"] .app-details-page .details-final-icon {
  background: #071016;
  color: var(--blue);
}

[data-theme="light"] .app-details-page .details-list-icon::after {
  border-color: var(--blue);
}

[data-theme="light"] .app-details-page .details-panel-category-icons .app-icon-mask,
[data-theme="light"] .app-details-page .details-list-icon .app-icon-mask,
[data-theme="light"] .app-details-page .details-final-icon .app-icon-mask {
  color: var(--blue);
}

[data-theme="light"] .app-details-page .details-panel-category-icons .app-icon-img,
[data-theme="light"] .app-details-page .details-list-icon .app-icon-img,
[data-theme="light"] .app-details-page .details-final-icon .app-icon-img {
  filter: brightness(0) saturate(100%) invert(80%) sepia(100%) saturate(1668%) hue-rotate(357deg) brightness(102%) contrast(105%);
}

/* ======================================
   FAQs page
   ====================================== */
.faq-hero {
  background: var(--bg);
  border-bottom: 1px solid var(--line-2);
  padding: 25px 0 64px;
}
.faq-hero-inner {
  max-width: 860px;
  text-align: center;
}
.faq-hero .details-pill {
  margin-left: auto;
  margin-right: auto;
}
.faq-hero h1 {
  color: var(--ink);
  font-size: 56px;
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
}
.faq-hero p {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
  margin: 0 auto;
  max-width: 720px;
}
.faq-section {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line-2);
  padding: 64px 0 82px;
}
.faq-layout {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}
.faq-side {
  position: sticky;
  top: var(--sticky-offset);
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  padding: 28px;
}
.faq-side span {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: var(--blue);
  color: #071016;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 12px;
  margin-bottom: 18px;
}
.faq-side h2 {
  color: var(--ink);
  font-size: 29px;
  line-height: 1.12;
  margin: 0 0 14px;
}
.faq-side p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
}
.faq-toc {
  display: grid;
  gap: 9px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.faq-toc a {
  border-radius: 10px;
  color: var(--ink);
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  padding: 10px 12px;
  text-decoration: none;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.faq-toc a:hover {
  background: var(--blue-50);
  transform: translateX(2px);
}
.faq-toc a.is-active {
  background: var(--blue);
  color: #071016;
}
.faq-list {
  display: grid;
  gap: 14px;
}
.faq-group {
  display: grid;
  gap: 14px;
}
.faq-group + .faq-group {
  margin-top: 22px;
}
.faq-group h3 {
  margin: 8px 0 0;
}
.faq-group h3 span {
  align-items: center;
  background: var(--blue);
  border-radius: 999px;
  color: #071016;
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  padding: 10px 16px;
}
.faq-group-list {
  display: grid;
  gap: 14px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.faq-item summary {
  align-items: center;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  font-size: 18px;
  font-weight: 800;
  justify-content: space-between;
  gap: 18px;
  list-style: none;
  padding: 22px 24px;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary svg {
  color: var(--blue);
  flex: 0 0 18px;
  transition: transform .16s ease;
}
.faq-item[open] summary svg {
  transform: rotate(45deg);
}
.faq-item p {
  border-top: 1px solid var(--line-2);
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
  padding: 18px 24px 24px;
}

/* ======================================
   Download page
   ====================================== */
.download-hero {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line-2);
  padding: 82px 0 92px;
}
.download-hero-inner {
  align-items: center;
  display: grid;
  gap: 64px;
  grid-template-columns: 390px minmax(0, 1fr);
}
.download-copy {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  max-width: 720px;
  text-align: center;
  width: 100%;
}
.download-copy .details-pill {
  display: table;
  margin-left: auto;
  margin-right: auto;
}
.download-mobile-brand {
  display: none;
}
.download-copy h1 {
  color: var(--ink);
  font-size: 58px;
  letter-spacing: -0.025em;
  line-height: 1.04;
  margin: 0 0 20px;
}
.download-copy p {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
  margin: 0 auto;
  max-width: 640px;
}
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.download-store-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 34px auto 0;
  max-width: 620px;
}
.download-store-option {
  align-items: center;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0 28px;
  text-align: center;
}
.download-store-option:first-child {
  border-right: 1px solid var(--line);
}
.store-qr {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  display: grid;
  height: 132px;
  padding: 10px;
  place-items: center;
  width: 132px;
}
.store-qr svg {
  display: block;
  height: 100%;
  width: 100%;
}
.store-qr-note {
  color: var(--muted);
  display: block;
  font-size: 11px;
  font-weight: 700;
  margin: 8px 0 14px;
  text-transform: uppercase;
}
.download-store-option .store-button {
  justify-content: center;
  margin-bottom: 18px;
  min-width: 230px;
  width: 100%;
}
.store-button {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  color: var(--ink);
  display: inline-flex;
  gap: 13px;
  min-height: 70px;
  min-width: 210px;
  padding: 13px 18px;
  text-decoration: none;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.store-button:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}
.store-button-dark {
  background: #071016;
  border-color: #071016;
  color: #ffffff;
}
.store-button small,
.store-button strong {
  display: block;
  line-height: 1.1;
}
.store-button small {
  font-size: 12px;
  font-weight: 700;
  opacity: 0.82;
}
.store-button strong {
  font-size: 22px;
  font-weight: 800;
}
.download-card {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 28px;
  box-shadow: var(--shadow-card);
  padding: 30px;
}
.download-setup {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 26px;
  grid-column: 1;
  grid-row: 1;
}
.download-logo-large {
  align-items: center;
  display: grid;
  gap: 10px;
  place-items: center;
}
.download-logo-large img {
  display: block;
  height: 138px;
  object-fit: contain;
  width: 138px;
}
.download-logo-large span {
  color: var(--ink);
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
}
.download-card h2 {
  color: var(--ink);
  font-size: 30px;
  line-height: 1.12;
  margin: 0 0 24px;
  text-align: center;
}
.download-steps {
  display: grid;
  gap: 14px;
}
.download-steps div {
  align-items: center;
  background: var(--bg-soft);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  display: grid;
  gap: 14px;
  grid-template-columns: 36px minmax(0, 1fr);
  padding: 15px;
}
.download-steps span {
  align-items: center;
  background: var(--blue);
  border-radius: 50%;
  color: #071016;
  display: flex;
  font-size: 15px;
  font-weight: 900;
  height: 36px;
  justify-content: center;
  width: 36px;
}
.download-steps p {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
}

/* ======================================
   Footer
   ====================================== */
footer.fine {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  padding: 24px 0 40px;
}
footer.fine p { margin: 0 0 8px; }
footer.fine p:last-child { margin-bottom: 0; }
footer.fine a { color: var(--muted); font-weight: 600; text-decoration: none; }
footer.fine a:hover { color: var(--blue); }

/* ======================================
   Responsive
   ====================================== */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding: 56px 0; justify-content: stretch; }
  .hero-copy {
    position: relative;
    top: auto;
    left: auto;
    max-width: 560px;
    margin-right: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
    backdrop-filter: none;
  }
  html[lang="en"] .hero-copy {
    transform: none;
  }
  .phone-col { min-height: 600px; justify-content: center; margin-top: 34px; }
  .hero-phone-image { height: 600px; }
  h1.hero-title,
  .hero-actions {
    transform: none;
  }
  ul.checks { width: auto; align-items: flex-start; }
  ul.checks li {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
  }
  .details-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .details-panel { max-width: 460px; }
  .tax-method-panel { max-width: 520px; }
  .tax-method-path { width: 100%; }
  .tax-guide,
  .tax-example,
  .tax-calculator-section .wrap { grid-template-columns: 1fr; gap: 32px; }
  .tax-calculator,
  .tax-example-math { max-width: 520px; }
  .tax-calculator-section .tax-calculator { justify-self: start; }
  .tax-rule-grid { grid-template-columns: 1fr; }
  .irs-rate-list { grid-template-columns: 1fr; }
  .irs-extra-deductions { grid-template-columns: 1fr; }
  .mileage-uses-grid { grid-template-columns: 1fr; }
  .mileage-use-group:first-child,
  .mileage-use-group:nth-child(2),
  .mileage-use-group:nth-child(3) {
    grid-column: auto;
    grid-row: auto;
  }
  .mileage-use-group { max-width: 680px; width: 100%; margin: 0 auto; }
  .details-visual-row,
  .details-visual-row-reverse { grid-template-columns: 1fr; gap: 34px; }
  .details-visual-row-reverse .details-benefits,
  .details-visual-row-reverse .details-image-wrap { order: initial; }
  .details-final-strip { grid-template-columns: 1fr; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-side { position: static; }
  .download-hero-inner { grid-template-columns: 1fr; gap: 34px; }
  .download-copy,
  .download-setup {
    grid-column: auto;
    grid-row: auto;
  }
  .download-setup { margin: 0 auto; max-width: 520px; width: 100%; }
  .download-card { max-width: 520px; width: 100%; }
  .hero-actions { align-items: flex-start; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
  .feature { border-right: 0; }
  .feature:nth-child(odd) { border-right: 1px solid var(--line-2); }
  .trust { grid-template-columns: 1fr; padding: 40px 28px; gap: 32px; }
  .trust.savings-focus { grid-template-columns: 1fr; gap: 36px; }
  .savings-copy h3 { font-size: 36px; }
  .compliance-card {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 40px 28px;
  }
  .risk-card { grid-template-columns: 1fr; }
  .risk-copy,
  .risk-card > .compliance-visual {
    grid-column: auto;
    grid-row: auto;
    justify-self: stretch;
  }
  section.risk-wrap .risk-copy,
  section.risk-wrap .risk-card > .compliance-visual {
    grid-column: auto;
    grid-row: auto;
    justify-self: stretch;
  }
  .compliance-copy h3 { font-size: 36px; }
  .roi-copy h2 { font-size: 36px; }
  nav.links { display: none; }
  h1.hero-title { font-size: 40px; }
}

/* ======================================
   Support page
   ====================================== */
.support-hero {
  background: var(--bg);
  border-bottom: 1px solid var(--line-2);
  padding: 24px 0 20px;
}
.support-hero-inner {
  max-width: 850px;
  text-align: center;
}
.support-hero .details-pill {
  margin-left: auto;
  margin-right: auto;
}
.support-hero h1 {
  color: var(--ink);
  font-size: 56px;
  line-height: 1.04;
  margin: 0 0 18px;
  white-space: nowrap;
}
.support-hero p {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
  margin: 0 auto;
  max-width: 700px;
}
.support-main {
  background: var(--bg-soft);
  padding: 30px 0;
}
.support-main > .wrap {
  display: flex;
  flex-direction: column;
}
.support-quick-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 0;
  order: 2;
}
.support-quick-card {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  color: var(--ink);
  display: grid;
  gap: 14px;
  min-height: 220px;
  padding: 26px;
  text-decoration: none;
  transition: border-color .16s ease, transform .16s ease;
}
.support-quick-card:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
}
.support-quick-icon {
  align-items: center;
  background: #071016;
  border-radius: 9px;
  color: var(--blue);
  display: inline-flex;
  height: 48px;
  justify-content: center;
  width: 48px;
}
[data-theme="dark"] .support-quick-icon {
  background: var(--blue);
  color: #071016;
}
.support-quick-card h2 {
  font-size: 22px;
  line-height: 1.2;
  margin: 0;
}
.support-quick-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}
.support-quick-link {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  gap: 8px;
  margin-top: auto;
}
.support-contact {
  align-items: start;
  display: grid;
  gap: clamp(38px, 6vw, 82px);
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  margin-bottom: 30px;
  order: 1;
}
.support-contact-copy .details-pill {
  margin-bottom: 22px;
}
.support-contact-copy h2 {
  color: var(--ink);
  font-size: 44px;
  line-height: 1.08;
  margin: 0 0 18px;
}
.support-contact-copy > p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  margin: 0 0 26px;
}
.support-contact-list {
  display: grid;
  gap: 13px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.support-contact-list li {
  align-items: center;
  color: var(--ink);
  display: flex;
  font-size: 15px;
  font-weight: 700;
  gap: 11px;
}
.support-contact-list svg {
  color: var(--blue);
  flex: 0 0 20px;
}
.support-form {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 18px;
  padding: 30px;
  transform: none;
}
.support-field {
  display: grid;
  gap: 8px;
}
.support-field label {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}
.support-field input,
.support-field select,
.support-field textarea {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  outline: none;
  padding: 13px 14px;
  width: 100%;
}
.support-field textarea {
  min-height: 132px;
  resize: vertical;
}
.support-field input:focus,
.support-field select:focus,
.support-field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(255, 205, 4, .14);
}

@media (min-width: 901px) {
  .support-field input,
  .support-field select,
  .support-field textarea {
    min-height: 54px;
    background: #fff;
    border: 1.5px solid #A9B4C0;
    box-shadow:
      inset 0 1px 2px rgba(7, 16, 22, 0.035),
      0 7px 18px -16px rgba(7, 16, 22, 0.5);
    transition: border-color .16s ease, box-shadow .16s ease;
  }

  .support-field textarea {
    min-height: 148px;
  }

  .support-field input:hover,
  .support-field select:hover,
  .support-field textarea:hover {
    border-color: #7E8B99;
  }

  .support-field input:focus,
  .support-field select:focus,
  .support-field textarea:focus {
    border-color: var(--blue);
    box-shadow:
      0 0 0 3px rgba(255, 205, 4, .2),
      0 10px 22px -18px rgba(7, 16, 22, 0.56);
  }

  [data-theme="dark"] .support-field input,
  [data-theme="dark"] .support-field select,
  [data-theme="dark"] .support-field textarea {
    background: var(--control-bg);
    border-color: rgba(255, 255, 255, .4);
  }
}

.support-submit {
  align-items: center;
  background: #071016;
  border: 1px solid #071016;
  border-radius: 10px;
  color: var(--blue);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  text-transform: uppercase;
}
[data-theme="dark"] .support-submit {
  background: var(--blue);
  border-color: var(--blue);
  color: #071016;
}
.support-form-note {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  margin: -4px 0 0;
  text-align: center;
}

@media (max-width: 900px) {
  .support-quick-grid { grid-template-columns: 1fr; }
  .support-contact {
    grid-template-columns: 1fr;
    margin-bottom: 24px;
  }
  .support-form {
    max-width: 620px;
    transform: none;
  }
}

@media (max-width: 600px) {
  .support-hero { padding: 18px 0 17px; }
  .support-hero h1 { font-size: 38px; white-space: normal; }
  .support-hero p { font-size: 16px; }
  .support-main { padding: 24px 0; }
  .support-contact-copy h2 { font-size: 34px; }
  .support-form { padding: 22px; }
}

@media (max-width: 880px) {
  .hero-actions { flex-direction: column; gap: 28px; }
  .nav-cta { display: none; }
  .details-hero { padding: 18px 0 58px; }
  .details-copy h1 { font-size: 38px; }
  .details-copy p:not(.details-kicker) { font-size: 16px; }
  .faq-hero { padding: 18px 0 46px; }
  .faq-hero h1 { font-size: 38px; }
  .faq-hero p { font-size: 16px; }
  .faq-section { padding: 42px 0 58px; }
  .download-hero { padding: 54px 0 64px; }
  .download-copy h1 { font-size: 38px; }
  .download-copy p { font-size: 16px; }
  .download-actions { flex-direction: column; align-items: stretch; }
  .download-store-options { grid-template-columns: 1fr; }
  .download-store-option { padding: 24px 0; }
  .download-store-option:first-child { border-bottom: 1px solid var(--line); border-right: 0; }
  .store-button { width: 100%; }
  .guarantee-icons { grid-template-columns: 1fr; }
  .tax-guide-copy h2,
  .tax-example h2,
  .tax-calculator-copy h2,
  .mileage-uses-head h2 { font-size: 32px; }
  .final-cta-section { padding: 20px 0 58px; }
  .final-cta h2 { font-size: 34px; }
  .final-cta p { font-size: 16px; }
  .final-cta-button { width: 100%; min-width: 0; }
  .tax-guide-section { padding: 52px 0; }
  .tax-example-section { padding: 17px 0 52px; }
  .mileage-uses-section { padding: 18px 0 17px; }
  .details-benefits h3 { font-size: 31px; }
  .details-visual-stack { gap: 64px; }
  .privacy-grid { grid-template-columns: 1fr; gap: 24px; }
  .privacy-toc { position: static; }
  .privacy-content { padding: 8px 22px; }
  .privacy-title { font-size: 30px; }
  .legal-layout { grid-template-columns: 1fr; gap: 24px; padding-top: 32px; }
  .legal-doc-toc { max-height: none; }
  .legal-doc { padding: 26px 22px; }
  .legal-hero h1 { font-size: 36px; }
  .legal-document-hero h1 { font-size: 38px; }
  .legal-document-hero { padding: 18px 0 46px; }
  .legal-document-hero p:not(.details-pill) { font-size: 16px; }
  .legal-home-grid { grid-template-columns: 1fr; }
}

/* ======================================
   Pricing
   ====================================== */
.pricing-page {
  min-height: calc(100vh - var(--header-offset));
  padding: clamp(18px, 2.35vw, 31px) 0 clamp(64px, 8vw, 108px);
  background: var(--bg-soft);
}

.pricing-head {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.pricing-pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 0 0 18px;
  padding: 0 18px;
  border-radius: 999px;
  background: #071016;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-head h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(38px, 4.3vw, 62px);
  line-height: 1.05;
}

.pricing-head p {
  max-width: 650px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 18px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  width: 100%;
  min-width: 0;
  max-width: 980px;
  margin: 0 auto;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 520px;
  min-width: 0;
  width: 100%;
  padding: clamp(28px, 3vw, 42px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.pricing-card.is-featured {
  border-color: var(--blue);
}

.pricing-save {
  position: absolute;
  top: 22px;
  right: 22px;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 13px;
  border-radius: 999px;
  background: var(--blue);
  color: #071016;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pricing-flexible {
  background: #f4f8fb;
  border: 1px solid #dfe5ed;
  color: #071016;
}

.pricing-card-kicker {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: 32px;
  line-height: 1.1;
}

.pricing-card-lead {
  min-height: 52px;
  margin: 12px 0 26px;
  color: var(--muted);
  font-size: 16px;
  max-width: 390px;
}

.pricing-price {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  min-height: 70px;
  margin-bottom: 6px;
}

.pricing-price strong {
  color: var(--ink);
  font-size: clamp(46px, 4.2vw, 62px);
  line-height: 0.9;
}

.pricing-price span {
  padding-bottom: 5px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.pricing-billing-note {
  min-height: 48px;
  margin: 8px 0 24px;
  color: var(--muted);
  font-size: 14px;
  width: 100%;
}

.pricing-billing-note strong {
  color: var(--ink);
}

.pricing-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  margin-bottom: 26px;
  border: 1px solid #071016;
  border-radius: 8px;
  background: #071016;
  color: var(--blue);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.pricing-card.is-featured .pricing-action {
  border-color: var(--blue);
  background: var(--blue);
  color: #071016;
}

.pricing-action:hover {
  transform: translateY(-1px);
}

.pricing-features {
  display: grid;
  gap: 14px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  max-width: 360px;
  transform: translateX(15%);
  width: 100%;
}

.pricing-features li {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 11px;
  color: var(--ink);
  font-size: 15px;
  text-align: left;
}

.pricing-features li::before {
  content: "\2713";
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #071016;
  color: var(--blue);
  font-size: 13px;
  flex: 0 0 22px;
  font-weight: 900;
}

.pricing-card.is-featured .pricing-features li::before {
  background: var(--blue);
  color: #071016;
}

.pricing-footnote {
  max-width: 820px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
}

[data-theme="dark"] .pricing-pill {
  background: var(--blue);
  color: #071016;
}

[data-theme="dark"] .pricing-action {
  border-color: #f4f8fb;
  background: #f4f8fb;
  color: #071016;
}

[data-theme="dark"] .pricing-card.is-featured .pricing-action {
  border-color: var(--blue);
  background: var(--blue);
  color: #071016;
}

[data-theme="dark"] .pricing-flexible {
  background: #f4f8fb;
  border-color: #f4f8fb;
  color: #071016;
}

[data-theme="dark"] .pricing-features li::before {
  background: #f4f8fb;
  color: #071016;
}

[data-theme="dark"] .pricing-card.is-featured .pricing-features li::before {
  background: var(--blue);
  color: #071016;
}

@media (max-width: 880px) {
  .pricing-page { padding-top: 16px; }
  .pricing-head { margin-bottom: 30px; }
  .pricing-head p { font-size: 16px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 560px; }
  .pricing-card { min-height: 0; }
}

@media (max-width: 520px) {
  .pricing-body { overflow-x: clip; }
  .pricing-body > header.site {
    position: sticky;
    top: 0;
    z-index: 100;
  }
  .pricing-body .nav {
    gap: 12px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .pricing-body .brand-name { display: none; }
  .pricing-body .nav-actions { gap: 8px; }
  .pricing-body .lang-select { min-width: 112px; }
  .pricing-card { padding: 26px 22px; }
  .pricing-features { transform: none; }
  .pricing-save { position: static; align-self: center; margin-bottom: 18px; }
  .pricing-card-lead { min-height: 0; }
  .pricing-price strong { font-size: 48px; }
}

/* ======================================
   Homepage scroll motion
   ====================================== */
html.home-motion-ready .home-motion-section .home-motion-item {
  --home-motion-x: 0px;
  --home-motion-y: 26px;
  --home-motion-scale: 0.985;
  opacity: 0;
  translate: var(--home-motion-x) var(--home-motion-y);
  scale: var(--home-motion-scale);
  transition:
    opacity 1080ms cubic-bezier(.22, 1, .36, 1),
    translate 1230ms cubic-bezier(.22, 1, .36, 1),
    scale 1230ms cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--home-motion-delay, 0ms);
}

html.home-motion-ready .home-motion-section:not(.is-visible) .home-motion-item {
  will-change: opacity, translate, scale;
}

html.home-motion-ready .home-motion-section.is-visible .home-motion-item {
  opacity: 1;
  translate: 0 0;
  scale: 1;
}

html.home-motion-ready .home-motion-section .home-motion-from-left {
  --home-motion-x: -30px;
  --home-motion-y: 0px;
}

html.home-motion-ready .home-motion-section .home-motion-from-right {
  --home-motion-x: 30px;
  --home-motion-y: 0px;
}

html.home-motion-ready .home-motion-section .home-motion-scale {
  --home-motion-y: 12px;
  --home-motion-scale: 0.95;
}

html.home-motion-ready .trust-wrap #savings-progress {
  transform: scaleX(0);
  transform-origin: left center;
  transition:
    width .18s ease,
    transform 1425ms cubic-bezier(.22, 1, .36, 1) 630ms;
}

html.home-motion-ready .trust-wrap.is-visible #savings-progress {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  html.home-motion-ready .home-motion-section .home-motion-item {
    opacity: 1;
    translate: 0 0;
    scale: 1;
    transition: none;
  }

  html.home-motion-ready .trust-wrap #savings-progress {
    transform: none;
    transition: width .18s ease;
  }
}

/* ======================================
   Mobile-first enhancement layer
   ====================================== */
.mobile-nav-trigger,
.mobile-nav-dialog {
  display: none;
}

.mobile-nav-trigger,
.mobile-nav-close {
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
}

body.mobile-nav-open {
  overflow: hidden;
}

:where(a, button, summary, input, select, textarea):focus-visible {
  outline: 3px solid rgba(255, 205, 4, 0.55);
  outline-offset: 3px;
}

img {
  max-width: 100%;
}

@media (max-width: 980px) {
  :root {
    --header-offset: 108px;
    --sticky-offset: 118px;
  }

  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }

  .wrap {
    width: 100%;
    max-width: none;
    padding-left: 20px;
    padding-right: 20px;
  }

  header.site {
    z-index: 100;
  }

  .nav {
    min-height: 65px;
    padding: 10px 20px;
    gap: 10px;
  }

  .brand {
    min-width: 0;
    gap: 9px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 10px;
  }

  .brand-name {
    overflow: hidden;
    font-size: 25px;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-actions {
    display: flex;
    flex: 0 0 auto;
    min-width: 0;
    gap: 8px;
  }

  .nav-actions .language-menu,
  .nav-actions .nav-cta {
    display: none;
  }

  .theme-toggle,
  .mobile-nav-trigger {
    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;
  }

  .mobile-nav-trigger {
    display: grid;
    place-items: center;
    padding: 0;
    border-radius: 999px;
  }

  .mobile-nav-dialog {
    position: fixed;
    inset: 0;
    z-index: 1000;
    width: 100%;
    max-width: none;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    overflow: hidden;
  }

  .mobile-nav-dialog[open] {
    display: block;
  }

  .mobile-nav-dialog::backdrop {
    background: rgba(0, 0, 0, 0.68);
    backdrop-filter: blur(3px);
  }

  .mobile-nav-panel {
    display: flex;
    flex-direction: column;
    width: min(70vw, 380px);
    height: 100dvh;
    margin-left: auto;
    padding: 18px 18px max(22px, env(safe-area-inset-bottom));
    border-left: 1px solid var(--line);
    background: var(--surface);
    box-shadow: -24px 0 60px -32px rgba(0, 0, 0, 0.72);
    overflow-y: auto;
    overscroll-behavior: contain;
    animation: mobile-nav-enter 240ms cubic-bezier(.22, 1, .36, 1);
  }

  .mobile-nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line-2);
  }

  .mobile-nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-size: 25px;
    font-weight: 700;
    text-decoration: none;
  }

  .mobile-nav-brand img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: contain;
  }

  [data-theme="dark"] .mobile-nav-brand span {
    color: var(--blue);
  }

  .mobile-nav-close {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    padding: 0;
    border-radius: 999px;
  }

  .mobile-nav-title {
    margin: 20px 0 8px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .mobile-nav-groups {
    display: block;
  }

  .mobile-nav-group {
    border-bottom: 1px solid var(--line-2);
  }

  .mobile-nav-group summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    gap: 16px;
    color: var(--ink);
    cursor: pointer;
    font-size: 17px;
    font-weight: 700;
    list-style: none;
  }

  .mobile-nav-group summary::-webkit-details-marker {
    display: none;
  }

  .mobile-nav-group summary .nav-chevron {
    flex: 0 0 auto;
    transition: transform 180ms ease;
  }

  .mobile-nav-group[open] summary .nav-chevron {
    transform: rotate(90deg);
  }

  .mobile-nav-links {
    display: grid;
    gap: 4px;
    padding: 0 0 12px;
  }

  .mobile-nav-links a {
    display: flex;
    align-items: center;
    min-height: 52px;
    gap: 13px;
    padding: 6px 10px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
  }

  .mobile-nav-links a[aria-current] {
    border-color: rgba(255, 205, 4, 0.52);
    background: var(--blue-25);
    color: var(--ink);
  }

  .mobile-nav-links .nav-dropdown-icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .mobile-nav-footer {
    display: grid;
    gap: 12px;
    margin-top: auto;
    padding-top: 22px;
  }

  .mobile-nav-language-label {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .mobile-nav-languages {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .mobile-nav-languages button {
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--bg-soft);
    color: var(--ink);
    cursor: pointer;
    font: inherit;
    font-weight: 700;
  }

  .mobile-nav-languages button[aria-pressed="true"] {
    border-color: var(--blue);
    background: var(--blue);
    color: #071016;
  }

  .mobile-nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 8px;
    background: #071016;
    color: var(--blue);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: uppercase;
  }

  [data-theme="dark"] .mobile-nav-cta {
    background: var(--blue);
    color: #071016;
  }

  .stats-ticker {
    top: 65px;
    z-index: 90;
  }

  .stats-ticker::before,
  .stats-ticker::after {
    width: 72px;
  }

  .stats-ticker-group {
    gap: 36px;
    padding: 7px 36px 7px 0;
  }

  .stats-ticker-number,
  .stats-ticker-label {
    font-size: 12px;
  }

  .stats-ticker-cta-plate,
  html[lang="es"] .stats-ticker-cta-plate,
  html[lang="en"] .stats-ticker-cta-plate {
    min-width: 174px;
    padding: 0 8px;
  }

  .stats-ticker-cta {
    top: 50%;
    min-height: 34px;
    padding: 0 18px;
    font-size: 11px;
  }

  /* Home hero */
  .hero {
    padding-top: 28px;
    padding-bottom: 36px;
  }

  .hero .phone-col {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
    min-height: 0;
    margin-top: 0;
    justify-items: center;
  }

  .hero .hero-copy,
  html[lang="en"] .hero .hero-copy,
  html[lang="es"] .hero .hero-copy {
    position: relative;
    inset: auto;
    width: min(100%, 620px);
    max-width: 620px;
    margin: 0 auto;
    transform: none;
  }

  .hero h1.hero-title,
  html[lang="en"] .hero h1.hero-title,
  html[lang="es"] .hero h1.hero-title {
    width: 100%;
    margin: 0 0 24px;
    text-align: left;
    transform: none;
  }

  html[lang="en"] .hero h1.hero-title span:nth-child(1) {
    font-size: 52px;
  }

  html[lang="en"] .hero h1.hero-title span:nth-child(2) {
    font-size: 43px;
  }

  html[lang="en"] .hero h1.hero-title span:nth-child(3) {
    font-size: 47px;
  }

  html[lang="es"] .hero h1.hero-title span:nth-child(1) {
    font-size: 38px;
  }

  html[lang="es"] .hero h1.hero-title span:nth-child(2) {
    font-size: 45px;
  }

  html[lang="es"] .hero h1.hero-title span:nth-child(3) {
    font-size: 51px;
  }

  .hero .hero-actions,
  html[lang="en"] .hero .hero-actions,
  html[lang="es"] .hero .hero-actions {
    width: 100%;
    max-width: none;
    padding-left: 0;
    transform: none;
  }

  .hero ul.checks,
  html[lang="en"] .hero ul.checks,
  html[lang="es"] .hero ul.checks {
    width: 100%;
    max-width: none;
    gap: 12px;
  }

  .hero ul.checks li,
  html[lang="en"] .hero ul.checks li,
  html[lang="es"] .hero ul.checks li {
    justify-content: flex-start;
    font-size: 18px;
    text-align: left;
  }

  .hero .hero-phone-image {
    width: min(100%, 760px);
    height: auto;
    max-height: none;
    margin: 22px auto 0;
    transform: none;
  }

  .hero .hero-lead {
    position: relative;
    inset: auto;
    box-sizing: border-box;
    width: min(100%, 700px);
    max-width: 700px;
    margin: 24px auto 0;
    padding: 0;
    font-size: 17px;
    line-height: 1.55;
    overflow-wrap: anywhere;
    transform: none;
  }

  .hero .blob {
    inset: 34% 0 8%;
  }

  .hero .dots {
    display: none;
  }

  .feature-grid {
    gap: 0;
  }

  .feature {
    min-width: 0;
    padding-left: 22px;
    padding-right: 22px;
  }

  .trust,
  .compliance-card,
  .risk-card {
    border-radius: 12px;
  }
}

@media (max-width: 640px) {
  :root {
    --header-offset: 104px;
    --sticky-offset: 114px;
  }

  .stats-ticker {
    z-index: 110;
    overflow: visible;
  }

  .stats-ticker-cta-plate {
    z-index: 120;
    overflow: visible;
  }

  .stats-ticker-cta {
    z-index: 2;
  }

  .wrap {
    padding-left: 16px;
    padding-right: 16px;
  }

  .nav {
    min-height: 61px;
    padding: 8px 16px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-name {
    font-size: 23px;
  }

  .theme-toggle,
  .mobile-nav-trigger {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }

  .stats-ticker {
    top: 59px;
  }

  .hero {
    padding-top: 22px;
    padding-bottom: 30px;
  }

  html[lang="en"] .hero h1.hero-title span:nth-child(1) {
    font-size: 42px;
  }

  html[lang="en"] .hero h1.hero-title span:nth-child(2) {
    font-size: 35px;
  }

  html[lang="en"] .hero h1.hero-title span:nth-child(3) {
    font-size: 38px;
  }

  html[lang="es"] .hero h1.hero-title span:nth-child(1) {
    font-size: 30px;
  }

  html[lang="es"] .hero h1.hero-title span:nth-child(2) {
    font-size: 36px;
  }

  html[lang="es"] .hero h1.hero-title span:nth-child(3) {
    font-size: 41px;
  }

  .hero ul.checks li,
  html[lang="en"] .hero ul.checks li,
  html[lang="es"] .hero ul.checks li {
    font-size: 16px;
  }

  .hero .hero-phone-image {
    margin-top: 3px;
  }

  .hero .hero-lead {
    margin-top: 20px;
    font-size: 16px;
    text-align: left;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature,
  .feature:nth-child(odd) {
    padding-top: 26px;
    padding-bottom: 26px;
    border-right: 0;
    border-bottom: 1px solid var(--line-2);
  }

  .feature:last-child {
    border-bottom: 0;
  }

  .trust,
  .compliance-card,
  .risk-card {
    padding: 24px 18px;
  }

  .savings-copy h3,
  .compliance-copy h3,
  .roi-copy h2 {
    font-size: 30px;
  }
}

/* App Details cards: shared desktop and mobile presentation. */
.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.feature,
.feature:nth-child(odd),
.feature:last-child {
  position: relative;
  min-width: 0;
  min-height: 300px;
  padding: 24px 22px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  text-align: center;
  overflow: hidden;
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.feature:hover {
  border-color: rgba(255, 205, 4, 0.7);
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

.feature .icon {
  width: 82px;
  height: 82px;
  margin: 8px auto 22px;
  flex: 0 0 82px;
}

.feature .icon svg,
.feature .icon .app-icon-mask {
  width: 38px;
  height: 38px;
}

.feature h3 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.25;
}

.feature p {
  max-width: 28ch;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.55;
}

[data-theme="dark"] .feature {
  border-color: var(--line-2);
  background: var(--bg-soft);
  box-shadow: var(--shadow-card);
}

[data-theme="dark"] .feature:hover {
  border-color: var(--blue);
}

[data-theme="dark"] section.features {
  background: var(--bg);
}

@media (max-width: 1100px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature,
  .feature:nth-child(odd),
  .feature:last-child {
    min-height: 290px;
  }
}

@media (max-width: 640px) {
  section.features {
    padding-top: 38px;
    padding-bottom: 42px;
  }

  .section-title {
    margin-bottom: 24px;
  }

  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .feature,
  .feature:nth-child(odd),
  .feature:last-child {
    min-height: 280px;
    padding: 22px 20px 24px;
    border: 1px solid var(--line);
  }

  .feature .icon {
    margin-top: 6px;
    margin-bottom: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature {
    transition: none;
  }

  .feature:hover {
    transform: none;
  }
}

/* Each App Details card reveals independently while scrolling on phones. */
@media (max-width: 640px) {
  html.mobile-feature-motion-ready #app-details .feature.mobile-feature-reveal-card {
    opacity: 0;
    translate: 0 38px;
    scale: 0.975;
    transition:
      opacity 1080ms cubic-bezier(.22, 1, .36, 1),
      translate 1230ms cubic-bezier(.22, 1, .36, 1),
      scale 1230ms cubic-bezier(.22, 1, .36, 1),
      box-shadow 260ms ease,
      border-color 260ms ease;
    transition-delay: 60ms;
    will-change: opacity, translate, scale;
  }

  html.mobile-feature-motion-ready #app-details .feature.mobile-feature-reveal-card.is-mobile-visible {
    opacity: 1;
    translate: 0 0;
    scale: 1;
    will-change: auto;
  }

  html.mobile-feature-motion-ready #app-details .feature.mobile-feature-reveal-card.is-mobile-visible:hover {
    transform: none;
  }
}

@media (max-width: 640px) and (prefers-reduced-motion: reduce) {
  html.mobile-feature-motion-ready #app-details .feature.mobile-feature-reveal-card {
    opacity: 1;
    translate: 0 0;
    scale: 1;
    transition: none;
  }
}

/* Mobile-only alignment for the IRS compliance heading. */
@media (max-width: 640px) {
  .compliance-wrap .compliance-copy > .compliance-pill {
    align-self: center;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .compliance-wrap .compliance-copy > h3 {
    width: 100%;
    text-align: center;
  }

  .compliance-wrap .compliance-rate-item > span:not(.audit-category-icon) {
    font-size: 19.8px;
  }

  .compliance-wrap .compliance-rate-item strong {
    font-size: 23.76px;
  }

  .compliance-wrap .compliance-rate-item small {
    font-size: 14.52px;
  }

  .compliance-wrap .compliance-expenses {
    grid-template-columns: minmax(0, 1fr);
    padding: 0 18px;
  }

  .compliance-wrap .compliance-expense-item {
    min-height: 76px;
    padding: 10px 8px;
  }

  .compliance-wrap .compliance-expense-item:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--line-2);
  }

  .compliance-wrap .compliance-expense-item > span {
    font-size: 19.8px;
  }

  .compliance-wrap .compliance-expense-item strong {
    font-size: 23.76px;
  }

  .compliance-wrap .compliance-expense-item small {
    font-size: 14.52px;
  }

  #compliance-visual-desc {
    width: 100%;
    font-size: 16.5px;
    text-align: justify;
    text-align-last: justify;
    text-justify: inter-word;
    hyphens: auto;
  }

  .compliance-wrap .audit-header {
    font-size: 14.3px;
  }

  [data-theme="dark"] .compliance-wrap .audit-header,
  [data-theme="dark"] .compliance-wrap .audit-header span,
  [data-theme="dark"] .compliance-wrap .audit-header b,
  [data-theme="dark"] .compliance-wrap #compliance-visual-desc {
    color: #000000;
  }

  .trust.savings-focus .report-topline {
    font-size: 14.3px;
  }

  .trust.savings-focus .savings-report-card > #benefit-3-desc {
    font-size: 15.4px;
  }

  [data-theme="dark"] .trust.savings-focus .report-topline,
  [data-theme="dark"] .trust.savings-focus .report-topline span,
  [data-theme="dark"] .trust.savings-focus .savings-report-card > #benefit-3-desc {
    color: #000000;
  }

  .trust.savings-focus .savings-stat > div > #benefit-1-desc,
  .roi-wrap .roi-visual-card > .roi-visual-description {
    font-size: 16.5px;
  }

  [data-theme="dark"] .roi-wrap .roi-visual-card > .roi-visual-description {
    color: #000000;
  }

  .trust.savings-focus .savings-copy,
  .roi-wrap .roi-copy {
    width: 100%;
    text-align: center;
  }

  .roi-wrap .roi-copy {
    justify-self: stretch;
    align-items: center;
  }

  .trust.savings-focus .savings-copy > .savings-pill,
  .roi-wrap .roi-copy > .roi-pill {
    align-self: center;
    margin-left: auto;
    margin-right: auto;
  }

  .trust.savings-focus .savings-copy > h3,
  .roi-wrap .roi-copy > h2 {
    width: 100%;
    text-align: center;
  }

  .roi-wrap .roi-savings-box {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .roi-wrap .roi-savings-arrow {
    transform: translate(-50%, -50%);
  }

  .roi-wrap .roi-app-brand img {
    width: 64px;
    height: 64px;
    border-radius: 14px;
  }

  .risk-wrap .guarantee-icons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .risk-wrap .guarantee-shield,
  .risk-wrap .guarantee-calendar {
    min-height: 152px;
  }

  .risk-wrap .guarantee-calendar {
    padding: 12px 8px;
  }

  .legal-home-grid .legal-card {
    text-align: center;
  }

  .risk-wrap .risk-copy {
    width: 100%;
    justify-self: stretch;
    align-items: center;
    text-align: center;
  }

  .risk-wrap .risk-copy > .compliance-pill {
    align-self: center;
    margin-left: auto;
    margin-right: auto;
  }

  .risk-wrap .risk-copy > h3 {
    width: 100%;
    text-align: center;
  }

  .risk-wrap .risk-fact {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .risk-wrap #risk-fact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
  }

  .risk-wrap .risk-fact-separator {
    display: none;
  }

  .risk-wrap #risk-fact-primary::after {
    content: " •";
  }

  .risk-wrap .risk-copy {
    order: 1;
  }

  .risk-wrap .compliance-visual {
    order: 2;
  }

  .roi-wrap .roi-copy {
    order: 1;
  }

  .roi-wrap .compliance-visual {
    order: 2;
  }

  .risk-wrap #risk-visual-desc,
  .roi-wrap .roi-visual-description,
  .trust.savings-focus .savings-report-card > #benefit-3-desc {
    text-align: center;
  }

  .trust.savings-focus .savings-copy {
    order: 1;
  }

  .trust.savings-focus .savings-report {
    order: 2;
  }
}

@keyframes mobile-nav-enter {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-nav-panel {
    animation: none;
  }
}

/* ======================================
   Mobile page modules
   ====================================== */
.legal-toc-disclosure {
  width: 100%;
}

.legal-toc-disclosure > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.legal-toc-disclosure > summary::-webkit-details-marker {
  display: none;
}

.legal-toc-disclosure > summary svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  transition: transform 180ms ease;
}

.legal-toc-disclosure[open] > summary svg {
  transform: rotate(180deg);
}

@media (min-width: 881px) {
  .legal-toc-disclosure > summary {
    cursor: default;
  }

  .legal-toc-disclosure > summary svg {
    display: none;
  }
}

@media (max-width: 980px) {
  .details-hero,
  .faq-hero,
  .download-hero,
  .support-hero,
  .legal-document-hero {
    scroll-margin-top: var(--sticky-offset);
  }

  /* App details */
  .details-hero {
    padding: 24px 0 42px;
  }

  .details-hero-inner {
    gap: 26px;
  }

  .details-copy,
  .details-panel,
  .tax-method-panel {
    width: 100%;
    max-width: none;
  }

  .details-panel {
    box-shadow: var(--shadow-soft);
  }

  .details-section {
    padding: 44px 0 58px;
  }

  .details-section-head {
    margin-bottom: 30px;
  }

  .details-visual-stack {
    gap: 54px;
  }

  .details-visual-row,
  .details-visual-row-reverse {
    gap: 24px;
  }

  .details-image-wrap {
    width: min(100%, 620px);
    margin: 0 auto;
  }

  .details-final-strip {
    gap: 0;
  }

  .details-final-strip > * {
    padding: 22px 0;
  }

  /* Self-employed taxes */
  .tax-hero {
    padding-bottom: 44px;
  }

  .tax-hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .tax-method-panel,
  .tax-method-path {
    transform: none;
  }

  .tax-method-path {
    width: 100%;
    max-width: none;
  }

  .tax-guide-section,
  .tax-calculator-section,
  .tax-example-section {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .tax-guide,
  .tax-example,
  .tax-calculator-section .wrap {
    gap: 26px;
  }

  .tax-calculator,
  .tax-example-math,
  .tax-calculator-section .tax-calculator {
    width: 100%;
    max-width: 560px;
    justify-self: stretch;
  }

  .tax-example-math {
    margin: 0 auto;
  }

  .tax-rule-grid,
  .irs-rate-list,
  .irs-extra-deductions {
    gap: 12px;
  }

  .mileage-uses-section {
    padding: 42px 0;
  }

  .mileage-uses-grid {
    gap: 18px;
  }

  .mileage-use-group {
    max-width: none;
  }

  /* FAQ: turn the long sidebar into a thumb-friendly category rail. */
  .faq-section {
    padding: 32px 0 52px;
  }

  .faq-layout {
    gap: 24px;
  }

  .faq-side {
    top: auto;
    max-width: none;
    padding: 14px;
    overflow: hidden;
  }

  .faq-side h2,
  .faq-side p {
    display: none;
  }

  .faq-toc {
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 0 0 4px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline proximity;
    scrollbar-width: none;
  }

  .faq-toc::-webkit-scrollbar {
    display: none;
  }

  .faq-toc li {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .faq-toc a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    white-space: nowrap;
  }

  .faq-toc a.is-active {
    border-color: var(--blue);
  }

  /* Download */
  .download-hero {
    padding: 42px 0 54px;
  }

  .download-copy {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
  }

  .download-copy .details-pill {
    margin-left: auto;
    margin-right: auto;
  }

  .download-store-options {
    width: 100%;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
  }

  .download-setup,
  .download-card {
    max-width: 620px;
  }

  /* Pricing */
  .pricing-grid {
    gap: 18px;
  }

  .pricing-card {
    min-height: 0;
  }

  .pricing-card.is-featured {
    order: -1;
  }

  .pricing-features {
    transform: none;
  }

  /* Support */
  .support-contact {
    gap: 28px;
  }

  .support-contact-copy,
  .support-form {
    width: 100%;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
  }

  .support-quick-grid {
    gap: 16px;
  }

  /* Legal documents */
  .legal-layout {
    gap: 18px;
    padding-top: 24px;
  }

  .legal-doc-toc {
    position: static;
    max-height: none;
    padding: 12px 18px;
  }

  .legal-toc-disclosure > summary {
    padding: 2px 0;
  }

  .legal-toc-disclosure[open] > summary {
    border-bottom: 1px solid var(--line-2);
    margin-bottom: 10px;
  }
}

@media (max-width: 640px) {
  /* Shared page rhythm */
  .details-hero,
  .faq-hero,
  .download-hero,
  .support-hero,
  .legal-document-hero {
    padding-top: 20px;
    padding-bottom: 30px;
  }

  .details-pill,
  .details-kicker,
  .pricing-pill {
    min-height: 32px;
    padding-left: 14px;
    padding-right: 14px;
    font-size: 11px;
  }

  /* App details */
  .details-copy h1,
  .details-section-head h2 {
    font-size: 34px;
    line-height: 1.08;
  }

  .details-copy p:not(.details-kicker) {
    font-size: 16px;
    line-height: 1.62;
  }

  .details-panel-row {
    min-height: 64px;
    padding: 14px 16px;
  }

  .details-section {
    padding: 34px 0 44px;
  }

  .details-section-head {
    margin-bottom: 24px;
  }

  .details-section-head h2 {
    margin-bottom: 10px;
  }

  .details-visual-stack {
    gap: 42px;
  }

  .details-benefits h3 {
    font-size: 27px;
  }

  .details-benefit-list {
    gap: 16px;
  }

  .details-benefit-list li {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
  }

  .details-list-icon {
    width: 48px;
    height: 48px;
  }

  .details-image-wrap {
    border-radius: 8px;
  }

  .details-final-strip > * {
    padding: 18px 0;
  }

  /* Self-employed taxes */
  .tax-hero {
    padding-top: 20px;
    padding-bottom: 34px;
  }

  .tax-hero .details-copy h1,
  .tax-guide-copy h2,
  .tax-example h2,
  .tax-calculator-copy h2,
  .mileage-uses-head h2 {
    font-size: 32px;
    line-height: 1.08;
  }

  .tax-method-panel {
    padding: 18px 0 0;
  }

  .tax-method-intro {
    padding: 0 4px;
  }

  .tax-method-path {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 12px;
    min-height: 0;
    padding: 16px;
    border-radius: 8px;
  }

  .tax-method-path-black {
    grid-template-columns: minmax(0, 1fr) 54px;
  }

  .tax-method-icon {
    width: 54px;
    height: 54px;
  }

  .tax-method-icon img,
  .tax-method-icon svg.tax-method-icon-move {
    width: 38px;
    height: 38px;
  }

  .tax-method-path strong {
    font-size: 17px;
  }

  .tax-method-path p {
    font-size: 14px;
  }

  .tax-method-cycle {
    margin: 12px auto;
    transform: scale(.9);
  }

  .tax-guide-section,
  .tax-calculator-section,
  .tax-example-section,
  .mileage-uses-section {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .tax-rule-grid article,
  .irs-rate-panel,
  .tax-calculator,
  .tax-example-math,
  .mileage-use-group {
    border-radius: 8px;
  }

  .tax-rule-grid article {
    padding: 18px;
  }

  .irs-rate-panel {
    margin-top: 18px;
    padding: 20px 16px;
  }

  .irs-rate-panel h3 {
    font-size: 23px;
  }

  .irs-rate-list {
    margin: 18px 0;
  }

  .irs-rate-row {
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 12px;
    border-radius: 8px;
  }

  .irs-rate-icon {
    width: 48px;
    height: 48px;
  }

  .irs-rate-icon svg {
    width: 25px;
    height: 25px;
  }

  .irs-rate-row span:not(.irs-rate-dot):not(.irs-rate-icon),
  .irs-rate-row strong {
    font-size: 16px;
  }

  .irs-extra-deductions article {
    padding: 16px 12px;
    border-radius: 8px;
  }

  .mileage-uses-head {
    margin-bottom: 22px;
  }

  .mileage-use-group {
    padding: 20px 16px;
  }

  .mileage-use-group-head {
    gap: 12px;
    margin-bottom: 18px;
  }

  .mileage-use-group-icon {
    width: 52px;
    height: 52px;
  }

  .mileage-use-group h3 {
    font-size: 24px;
  }

  .mileage-use-list,
  .mileage-use-group:first-child .mileage-use-list {
    gap: 16px;
  }

  .mileage-use-item {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
  }

  .mileage-use-item-icon {
    width: 38px;
    height: 38px;
  }

  .mileage-uses-note {
    padding: 18px;
  }

  .tax-calculator-copy > p,
  .tax-example p {
    font-size: 16px;
  }

  .tax-calculator-steps {
    gap: 10px;
  }

  .tax-calculator-steps div {
    padding: 15px 16px;
    border-radius: 8px;
  }

  .tax-calculator {
    padding: 20px 16px;
  }

  .tax-calculator label {
    grid-template-columns: minmax(0, 1fr) 116px;
    gap: 12px;
  }

  .tax-calculator input,
  .support-field input,
  .support-field select,
  .support-field textarea {
    min-height: 48px;
    font-size: 16px;
  }

  .tax-results div {
    min-height: 62px;
    padding: 12px;
  }

  .tax-example-math {
    padding: 18px 16px;
  }

  /* FAQ */
  .faq-hero h1 {
    font-size: 34px;
  }

  .faq-section {
    padding: 24px 0 40px;
  }

  .faq-side {
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }

  .faq-group h3 span {
    max-width: 100%;
    white-space: normal;
  }

  .faq-group-list {
    gap: 10px;
  }

  .faq-item {
    border-radius: 8px;
  }

  .faq-item summary {
    min-height: 56px;
    padding: 14px 16px;
    font-size: 16px;
    line-height: 1.35;
  }

  .faq-item p {
    padding: 0 16px 17px;
    font-size: 15px;
  }

  /* Download */
  .download-copy h1 {
    font-size: 34px;
  }

  .download-mobile-brand {
    align-items: center;
    display: grid;
    gap: 9px;
    justify-items: center;
    margin: 16px auto 24px;
  }

  .download-mobile-brand img {
    display: block;
    height: 124px;
    object-fit: contain;
    width: 124px;
  }

  .download-mobile-brand span {
    color: var(--ink);
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
  }

  .download-store-options {
    gap: 12px;
  }

  .download-store-option,
  .download-store-option:first-child {
    padding: 0;
    border: 0;
  }

  .download-store-option .store-button {
    min-height: 58px;
  }

  .report-range {
    height: 48px;
  }

  .report-input {
    min-height: 48px;
  }

  .info-dot::before {
    content: "";
    position: absolute;
    inset: -13px;
    border-radius: 50%;
  }

  .download-store-option .qr-wrap,
  .download-store-option .qr-label,
  .download-store-option .store-qr,
  .download-store-option .store-qr-note {
    display: none;
  }

  .download-setup {
    gap: 22px;
  }

  .download-logo-large img {
    width: 124px;
    height: 124px;
  }

  .download-setup > .download-logo-large {
    display: none;
  }

  .download-card {
    padding: 22px 16px;
    border-radius: 8px;
  }

  .download-card h2 {
    text-align: center;
  }

  .download-steps div {
    min-height: 64px;
    padding: 12px 14px;
  }

  /* Pricing */
  .pricing-page {
    padding-top: 20px;
    padding-bottom: 48px;
  }

  .pricing-pill {
    background: #071016;
    color: #ffffff;
  }

  [data-theme="dark"] .pricing-pill {
    background: #ffffff;
    color: #071016;
  }

  .pricing-head {
    margin-bottom: 24px;
  }

  .pricing-head h1 {
    font-size: 36px;
    line-height: 1.08;
  }

  .pricing-grid {
    max-width: none;
  }

  .pricing-card {
    padding: 18px;
    border-radius: 8px;
  }

  .pricing-save,
  .pricing-flexible {
    position: static;
    align-self: center;
    margin-bottom: 10px;
  }

  .pricing-card-kicker {
    margin-bottom: 8px;
  }

  .pricing-card-lead {
    min-height: 0;
    margin-top: 8px;
    margin-bottom: 14px;
  }

  .pricing-price {
    justify-content: center;
    min-height: 58px;
  }

  .pricing-price strong {
    font-size: 48px;
  }

  .pricing-billing-note {
    min-height: 0;
    margin-top: 4px;
    margin-bottom: 14px;
  }

  .pricing-action {
    min-height: 52px;
    margin-bottom: 18px;
  }

  .pricing-features {
    width: min(85%, 360px);
    margin-left: 15%;
    margin-right: 0;
    gap: 10px;
  }

  .pricing-features li {
    min-height: 30px;
  }

  /* Support */
  .support-main {
    padding: 24px 0 36px;
  }

  .support-contact {
    gap: 22px;
  }

  .support-contact-copy h2 {
    font-size: 32px;
  }

  .support-form {
    padding: 20px 16px;
    border-radius: 8px;
  }

  .support-submit {
    min-height: 52px;
  }

  .support-quick-card {
    min-height: 0;
    padding: 20px 18px;
    border-radius: 8px;
  }

  /* Legal */
  .legal-document-hero h1 {
    font-size: 34px;
    line-height: 1.08;
  }

  .legal-layout {
    padding-top: 18px;
    padding-bottom: 38px;
    min-width: 0;
  }

  .legal-doc-toc,
  .legal-doc,
  .legal-table-wrap,
  .legal-doc table,
  .legal-doc tbody,
  .legal-doc tr,
  .legal-doc td {
    min-width: 0;
    max-width: 100%;
  }

  .legal-doc-toc {
    margin: 0;
    border-radius: 8px;
  }

  .legal-toc-disclosure > ol {
    max-height: min(52vh, 430px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .legal-doc {
    padding: 8px 0 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .legal-doc h2 {
    scroll-margin-top: var(--sticky-offset);
    font-size: 27px;
  }

  .legal-doc h3 {
    font-size: 20px;
  }

  .legal-doc p,
  .legal-doc li,
  .legal-doc td,
  .legal-doc th {
    font-size: 15px;
    line-height: 1.62;
  }

  .legal-table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .legal-doc table,
  .legal-doc tbody,
  .legal-doc tr,
  .legal-doc td {
    display: block;
    width: 100%;
  }

  .legal-doc p,
  .legal-doc li,
  .legal-doc a,
  .legal-doc code {
    overflow-wrap: anywhere;
  }

  .legal-doc thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }

  .legal-doc tr {
    margin-bottom: 12px;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
  }

  .legal-doc td {
    display: grid;
    grid-template-columns: minmax(96px, 38%) minmax(0, 1fr);
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line-2);
    overflow-wrap: anywhere;
  }

  .legal-doc td:last-child {
    border-bottom: 0;
  }

  .legal-doc td::before {
    content: attr(data-label);
    color: var(--ink);
    font-weight: 800;
  }

  footer.fine {
    padding: 22px 16px 30px;
  }

  .pricing-body .brand-name {
    display: block;
  }
}

/* Mobile-only: keep the home hero message visually centered as one unit. */
@media (max-width: 640px) {
  .hero .hero-copy,
  html[lang="en"] .hero .hero-copy,
  html[lang="es"] .hero .hero-copy {
    width: min(100%, 340px);
    max-width: 340px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero h1.hero-title,
  html[lang="en"] .hero h1.hero-title,
  html[lang="es"] .hero h1.hero-title {
    width: auto;
    max-width: 100%;
    margin-inline: auto;
    text-align: center;
  }

  .hero .hero-actions,
  html[lang="en"] .hero .hero-actions,
  html[lang="es"] .hero .hero-actions {
    display: none;
    width: auto;
    max-width: 100%;
    margin-inline: auto;
  }

  .hero ul.checks,
  html[lang="en"] .hero ul.checks,
  html[lang="es"] .hero ul.checks {
    width: max-content;
    max-width: 100%;
    margin-inline: auto;
  }

  .hero .hero-lead,
  html[lang="en"] .hero .hero-lead,
  html[lang="es"] .hero .hero-lead {
    text-align: center;
  }
}

/* Mobile only: center the complete Support Center presentation. */
@media (max-width: 640px) {
  .support-hero-inner,
  .support-main > .wrap,
  .support-contact,
  .support-contact-copy {
    justify-items: center;
    text-align: center;
  }

  .support-main > .wrap,
  .support-contact-copy {
    align-items: center;
  }

  .support-contact-copy {
    display: flex;
    flex-direction: column;
    margin-inline: auto;
  }

  .support-contact-copy .details-pill,
  .support-contact-copy h2,
  .support-contact-copy > p {
    margin-inline: auto;
    text-align: center;
  }

  .support-contact-list {
    justify-items: center;
    width: 100%;
  }

  .support-contact-list li {
    justify-content: center;
    max-width: 330px;
    text-align: center;
  }

  .support-form {
    margin-inline: auto;
    text-align: center;
  }

  .support-field label,
  .support-form-note {
    text-align: center;
  }

  .support-field input,
  .support-field select,
  .support-field textarea {
    background: #ffffff;
    border: 1.5px solid #9AA6B2;
    box-shadow: 0 7px 18px -16px rgba(7, 16, 22, 0.5);
    min-height: 54px;
  }

  .support-field textarea {
    min-height: 138px;
  }

  .support-field input::placeholder,
  .support-field textarea::placeholder {
    color: #64748B;
    opacity: 1;
  }

  .support-field input:focus,
  .support-field select:focus,
  .support-field textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(255, 205, 4, 0.2);
  }

  [data-theme="dark"] .support-field input,
  [data-theme="dark"] .support-field select,
  [data-theme="dark"] .support-field textarea {
    background: var(--control-bg);
    border-color: rgba(255, 255, 255, 0.38);
  }

  [data-theme="dark"] .support-field input::placeholder,
  [data-theme="dark"] .support-field textarea::placeholder {
    color: var(--muted);
  }

  .support-quick-grid {
    width: 100%;
  }

  .support-quick-card {
    justify-items: center;
    text-align: center;
  }

  .support-quick-icon {
    margin-inline: auto;
  }

  .support-quick-card h2,
  .support-quick-card p {
    text-align: center;
  }

  .support-quick-link {
    justify-content: center;
  }
}

/* Mobile-only: center the complete App Details presentation. */
@media (max-width: 640px) {
  .app-details-page .details-hero-inner {
    justify-items: center;
    text-align: center;
  }

  .app-details-page .details-copy,
  .app-details-page .details-section-head,
  .app-details-page .details-benefits {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    text-align: center;
  }

  .app-details-page .details-kicker,
  .app-details-page .details-pill,
  .app-details-page .details-copy h1,
  .app-details-page .details-copy p:not(.details-kicker),
  .app-details-page .details-benefits > p {
    margin-inline: auto;
    text-align: center;
  }

  .app-details-page .details-panel {
    margin-inline: auto;
    text-align: center;
  }

  .app-details-page .details-panel-row {
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    text-align: center;
  }

  .app-details-page .details-visual-row,
  .app-details-page .details-visual-row-reverse {
    justify-items: center;
    text-align: center;
  }

  .app-details-page .details-benefit-list {
    align-items: center;
    width: 100%;
  }

  .app-details-page .details-benefit-list li {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    width: min(100%, 340px);
    gap: 10px;
    text-align: center;
  }

  .app-details-page .details-benefit-list li > div,
  .app-details-page .details-benefit-list strong,
  .app-details-page .details-benefit-list p {
    width: 100%;
    text-align: center;
  }

  .app-details-page .details-list-icon,
  .app-details-page .details-image-wrap {
    margin-inline: auto;
  }

  .app-details-page .details-final-strip > * {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .app-details-page .details-final-title {
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    text-align: center;
  }

  .app-details-page footer.fine {
    text-align: center;
  }

  .app-details-page .details-visual-stack {
    display: none;
  }

  .app-details-page .details-section {
    padding: 24px 0 56px;
  }

  .app-details-page .details-section-head {
    margin-bottom: 24px;
  }

  .app-details-page .details-feature-flow {
    gap: 20px;
  }

  .app-details-page .details-feature-row,
  .app-details-page .details-feature-row-reverse {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    min-height: 0;
    padding: 0;
  }

  .app-details-page .details-feature-row .details-feature-shot,
  .app-details-page .details-feature-row-reverse .details-feature-shot {
    order: 1;
    width: 100%;
    padding: 22px 14px 6px;
    background: transparent;
  }

  .app-details-page .details-feature-row .details-feature-copy,
  .app-details-page .details-feature-row-reverse .details-feature-copy {
    order: 2;
    gap: 20px;
    width: 100%;
    padding: 22px 20px 24px;
    text-align: center;
  }

  .app-details-page .details-feature-copy-item + .details-feature-copy-item {
    padding-top: 20px;
  }

  .app-details-page .details-feature-copy h3 {
    font-size: 23px;
    line-height: 1.18;
    margin-bottom: 8px;
    text-align: center;
  }

  .app-details-page .details-feature-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 14px;
  }

  .app-details-page .details-feature-icon img {
    width: 25px;
    height: 25px;
  }

  .app-details-page .details-feature-copy p {
    margin-inline: auto;
    font-size: 15px;
    line-height: 1.55;
    text-align: center;
  }

  .app-details-page .details-feature-shot img {
    width: min(74vw, 280px);
    max-height: 480px;
    filter: drop-shadow(0 16px 22px rgba(7, 16, 22, 0.16));
  }

  .app-details-page .details-feature-trio {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    margin-top: 24px;
    padding: 24px 0 12px;
    overflow: visible;
  }

  .app-details-page .details-feature-trio::-webkit-scrollbar {
    display: none;
  }

  .app-details-page .details-feature-card {
    grid-template-rows: auto auto;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .app-details-page .details-feature-card-media {
    min-height: 0;
    padding: 20px;
    overflow: visible;
  }

  .app-details-page .details-feature-card-media img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: none;
  }

  .app-details-page .details-feature-card-media-notification img {
    width: min(100%, 180px);
  }

  .app-details-page .details-feature-card-copy {
    padding: 22px 20px 24px;
  }

  .app-details-page .details-feature-card-copy h3 {
    font-size: 21px;
  }

  .app-details-page .details-feature-card-copy p {
    font-size: 15px;
  }

  .app-details-page .details-mobile-showcase {
    display: grid;
    gap: 24px;
    width: 100%;
  }

  .app-details-page .details-mobile-story {
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--line-2);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow-card);
  }

  .app-details-page .details-mobile-media {
    display: grid;
    place-items: center;
    min-width: 0;
    padding: 22px 14px 4px;
    overflow: hidden;
    background: var(--bg-soft);
  }

  .app-details-page .details-mobile-media-phone img {
    display: block;
    width: min(77vw, 284px);
    max-width: 100%;
    height: auto;
    max-height: 510px;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 16px 22px rgba(7, 16, 22, 0.16));
  }

  .app-details-page .details-mobile-media-wide {
    padding: 22px 16px 8px;
  }

  .app-details-page .details-mobile-media-wide img {
    display: block;
    width: min(100%, 310px);
    height: auto;
    max-height: 340px;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 14px 20px rgba(7, 16, 22, 0.14));
  }

  .app-details-page .details-mobile-story-copy {
    display: grid;
    padding: 0 20px 20px;
  }

  .app-details-page .details-mobile-feature {
    padding: 18px 0 0;
    text-align: center;
  }

  .app-details-page .details-mobile-feature + .details-mobile-feature {
    margin-top: 18px;
    border-top: 1px solid var(--line-2);
  }

  .app-details-page .details-mobile-feature h3 {
    margin: 0 0 8px;
    color: var(--ink);
    font-size: 21px;
    line-height: 1.2;
  }

  .app-details-page .details-mobile-feature p {
    margin: 0 auto;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.55;
    text-align: center;
  }

  .app-details-page .details-mobile-permissions-visual {
    display: grid;
    justify-items: center;
    gap: 20px;
    min-height: 260px;
    padding: 28px 20px;
    background: #071016;
  }

  .app-details-page .details-mobile-permissions-shield {
    display: grid;
    place-items: center;
    width: 88px;
    height: 88px;
    border: 1px solid var(--blue);
    border-radius: 50%;
    background: var(--blue);
  }

  .app-details-page .details-mobile-permissions-shield img {
    display: block;
    width: 46px;
    height: 46px;
    filter: brightness(0) saturate(100%);
  }

  .app-details-page .details-mobile-permission-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    max-width: 300px;
  }

  .app-details-page .details-mobile-permission-grid span {
    display: grid;
    place-items: center;
    min-height: 46px;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
  }

  [data-theme="dark"] .app-details-page .details-mobile-story {
    border-color: var(--line-2);
    background: var(--surface);
  }

  [data-theme="dark"] .app-details-page .details-mobile-media {
    background: var(--bg-soft-2);
  }

  [data-theme="dark"] .app-details-page .details-mobile-permissions-visual {
    background: var(--bg-soft-2);
  }
}

/* Mobile only: center the complete Self-Employed Taxes presentation. */
@media (max-width: 640px) {
  .self-employed-page main,
  .self-employed-page footer.fine {
    text-align: center;
  }

  .self-employed-page .tax-hero-inner,
  .self-employed-page .tax-guide,
  .self-employed-page .tax-example,
  .self-employed-page .tax-calculator-section .wrap {
    justify-items: center;
    text-align: center;
  }

  .self-employed-page .details-copy,
  .self-employed-page .tax-guide-copy,
  .self-employed-page .mileage-uses-head,
  .self-employed-page .tax-example > div:first-child,
  .self-employed-page .tax-calculator-copy {
    width: 100%;
    margin-inline: auto;
    text-align: center;
  }

  .self-employed-page .details-kicker,
  .self-employed-page .details-pill,
  .self-employed-page .details-copy h1,
  .self-employed-page .details-copy p,
  .self-employed-page .tax-guide-copy > p,
  .self-employed-page .tax-calculator-copy > p,
  .self-employed-page .tax-example p,
  .self-employed-page .mileage-uses-head p {
    margin-inline: auto;
    text-align: center;
  }

  .self-employed-page .tax-rule-grid article,
  .self-employed-page .irs-rate-panel,
  .self-employed-page .irs-extra-deductions article,
  .self-employed-page .mileage-use-group,
  .self-employed-page .mileage-uses-note,
  .self-employed-page .tax-example-math,
  .self-employed-page .tax-calculator {
    margin-inline: auto;
  }

  .self-employed-page .tax-rule-grid article,
  .self-employed-page .irs-rate-panel,
  .self-employed-page .irs-extra-deductions article,
  .self-employed-page .mileage-uses-note {
    text-align: center;
  }

  .self-employed-page .irs-rate-panel > p {
    margin-inline: auto;
    text-align: center;
  }

  .self-employed-page .irs-rate-row {
    grid-template-columns: 48px minmax(0, 1fr) auto;
    text-align: center;
  }

  .self-employed-page .irs-rate-row span:not(.irs-rate-icon) {
    text-align: center;
  }

  .self-employed-page .tax-calculator-steps div,
  .self-employed-page .tax-calculator-steps p,
  .self-employed-page .tax-calculator-tip,
  .self-employed-page .tax-calculator-head,
  .self-employed-page .tax-calculator label {
    text-align: center;
  }

  .self-employed-page .tax-calculator-head span {
    margin-inline: auto;
  }

  .self-employed-page .tax-calculator input {
    text-align: center;
  }

  .self-employed-page .tax-example-math,
  .self-employed-page .tax-calculator {
    background: var(--surface);
    border: 1.5px solid #071016;
    box-shadow:
      0 18px 36px -24px rgba(7, 16, 22, 0.48),
      0 4px 12px -8px rgba(7, 16, 22, 0.2);
  }

  .self-employed-page .tax-example-math > div:not(.total),
  .self-employed-page .tax-results > div:not(:last-child) {
    border-bottom-color: rgba(7, 16, 22, 0.2);
  }

  .self-employed-page .tax-calculator input {
    box-shadow: 0 6px 14px -12px rgba(7, 16, 22, 0.45);
  }

  [data-theme="dark"] .self-employed-page .tax-example-math,
  [data-theme="dark"] .self-employed-page .tax-calculator {
    border-color: rgba(255, 255, 255, 0.72);
    box-shadow:
      0 20px 38px -24px rgba(0, 0, 0, 0.82),
      0 4px 14px -8px rgba(0, 0, 0, 0.68);
  }

  [data-theme="dark"] .self-employed-page .tax-example-math > div:not(.total),
  [data-theme="dark"] .self-employed-page .tax-results > div:not(:last-child) {
    border-bottom-color: rgba(255, 255, 255, 0.2);
  }

  .self-employed-page .tax-method-icon img,
  .self-employed-page .tax-method-icon svg.tax-method-icon-move {
    width: 49px;
    height: 49px;
  }

  .self-employed-page .tax-method-icon svg.tax-method-icon-move {
    width: 56px;
    height: 56px;
    transform: none;
  }

  .self-employed-page .mileage-use-group-head {
    justify-content: center;
    width: 100%;
    text-align: left;
  }

  .self-employed-page .mileage-use-group-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    flex: 0 0 52px;
    aspect-ratio: 1;
    box-sizing: border-box;
    border-radius: 50%;
  }

  .self-employed-page .mileage-use-group-icon svg,
  .self-employed-page .mileage-use-group-icon .app-icon-img,
  .self-employed-page .mileage-use-group-icon .app-icon-mask {
    display: block;
    width: 29px;
    height: 29px;
    aspect-ratio: 1;
    object-fit: contain;
  }

  .self-employed-page .mileage-use-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    column-gap: 10px;
    row-gap: 7px;
    text-align: center;
  }

  .self-employed-page .mileage-use-list,
  .self-employed-page .mileage-use-group:first-child .mileage-use-list {
    gap: 24px;
  }

  .self-employed-page .mileage-use-item > div {
    display: contents;
  }

  .self-employed-page .mileage-use-item-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    flex: 0 0 38px;
    aspect-ratio: 1;
    box-sizing: border-box;
    border-radius: 50%;
  }

  .self-employed-page .mileage-use-item-icon svg,
  .self-employed-page .mileage-use-item-icon .app-icon-img,
  .self-employed-page .mileage-use-item-icon .app-icon-mask {
    display: block;
    width: 20px;
    height: 20px;
    aspect-ratio: 1;
    object-fit: contain;
  }

  .self-employed-page .mileage-use-item strong {
    display: flex;
    align-items: center;
    flex: 0 1 auto;
    min-height: 38px;
    width: auto;
    text-align: left;
  }

  .self-employed-page .mileage-use-item p {
    flex: 0 0 100%;
    width: 100%;
    text-align: center;
  }

  .self-employed-page .final-cta-button {
    width: min(100%, 280px);
    min-width: 0;
    min-height: 50px;
    padding-inline: 20px;
  }
}

/* Legal documents: mobile bottom page guide */
.toc-title-mobile {
  display: none;
}

@media (max-width: 640px) {
  .legal-bottom-toc-page [data-legal-app] {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }

  .legal-bottom-toc-page .legal-layout {
    padding-top: 18px;
    padding-bottom: 38px;
  }

  .legal-bottom-toc-page .legal-doc-toc {
    position: fixed;
    inset: auto 0 0;
    z-index: 800;
    width: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    overflow: visible;
    border: 0;
    border-top: 1px solid var(--line-2);
    border-radius: 0;
    background: var(--surface);
    box-shadow: 0 -10px 28px rgba(7, 16, 22, 0.1);
  }

  .legal-bottom-toc-page .legal-toc-disclosure {
    position: relative;
    width: min(100%, 560px);
    margin: 0 auto;
    overflow: visible;
  }

  .legal-bottom-toc-page .legal-toc-disclosure > summary {
    position: relative;
    justify-content: center;
    gap: 0;
    min-height: 54px;
    padding: 9px 48px;
    text-align: center;
    border: 1px solid var(--line-2);
    border-radius: 8px;
    background: var(--surface);
  }

  .legal-bottom-toc-page .legal-toc-disclosure[open] > summary {
    margin-bottom: 0;
    border-bottom: 1px solid var(--line-2);
  }

  .legal-bottom-toc-page .toc-title-default {
    display: none;
  }

  .legal-bottom-toc-page .toc-title-mobile {
    display: block;
    width: 100%;
    margin: 0;
    color: var(--ink);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0;
    text-align: center;
    text-transform: none;
  }

  .legal-bottom-toc-page .legal-toc-disclosure > summary svg {
    position: absolute;
    top: 50%;
    right: 18px;
    transform: translateY(-50%) rotate(-90deg);
  }

  .legal-bottom-toc-page .legal-toc-disclosure[open] > summary svg {
    transform: translateY(-50%) rotate(180deg);
  }

  .legal-bottom-toc-page .legal-toc-disclosure > ol {
    position: absolute;
    right: 0;
    bottom: calc(100% + 10px);
    left: 0;
    max-height: min(62vh, 520px);
    max-height: min(62dvh, 520px);
    margin: 0;
    padding: 12px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid var(--line-2);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 -18px 44px rgba(7, 16, 22, 0.18);
  }
}

/* FAQs: preserve the desktop sidebar and use the legal-style guide on mobile. */
.faq-toc-disclosure > summary {
  display: block;
  list-style: none;
  cursor: default;
}

.faq-toc-disclosure > summary::-webkit-details-marker {
  display: none;
}

.faq-toc-disclosure > summary svg,
.faq-side .faq-toc-title-mobile {
  display: none;
}

@media (max-width: 640px) {
  .faq-bottom-toc-page {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
  }

  .faq-bottom-toc-page .faq-section {
    padding-bottom: 38px;
  }

  .faq-bottom-toc-page .faq-layout {
    display: block;
  }

  .faq-bottom-toc-page .faq-side {
    position: fixed;
    inset: auto 0 0;
    z-index: 800;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    overflow: visible;
    border: 0;
    border-top: 1px solid var(--line-2);
    border-radius: 0;
    background: var(--surface);
    box-shadow: 0 -10px 28px rgba(7, 16, 22, 0.1);
  }

  .faq-bottom-toc-page .faq-toc-disclosure {
    position: relative;
    width: min(100%, 560px);
    margin: 0 auto;
    overflow: visible;
  }

  .faq-bottom-toc-page .faq-toc-disclosure > summary {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 9px 48px;
    cursor: pointer;
    text-align: center;
    border: 1px solid var(--line-2);
    border-radius: 8px;
    background: var(--surface);
  }

  .faq-bottom-toc-page .faq-side .faq-toc-title {
    width: 100%;
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: var(--ink);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0;
    text-align: center;
    text-transform: none;
  }

  .faq-bottom-toc-page .faq-toc-title-default {
    display: none;
  }

  .faq-bottom-toc-page .faq-toc-title-mobile {
    display: block;
  }

  .faq-bottom-toc-page .faq-toc-disclosure > summary svg {
    position: absolute;
    top: 50%;
    right: 18px;
    display: block;
    color: var(--ink);
    transform: translateY(-50%) rotate(-90deg);
  }

  .faq-bottom-toc-page .faq-toc-disclosure[open] > summary svg {
    transform: translateY(-50%) rotate(180deg);
  }

  .faq-bottom-toc-page .faq-toc {
    position: absolute;
    right: 0;
    bottom: calc(100% + 10px);
    left: 0;
    display: grid;
    gap: 6px;
    max-height: min(62vh, 520px);
    max-height: min(62dvh, 520px);
    margin: 0;
    padding: 12px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid var(--line-2);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 -18px 44px rgba(7, 16, 22, 0.18);
    scrollbar-width: thin;
  }

  .faq-bottom-toc-page .faq-toc li {
    width: 100%;
  }

  .faq-bottom-toc-page .faq-toc a {
    display: block;
    width: 100%;
    min-height: 44px;
    padding: 11px 12px;
    border: 1px solid transparent;
    border-radius: 8px;
    white-space: normal;
    transform: none;
  }

  .faq-bottom-toc-page .faq-toc a:hover {
    transform: none;
  }

  .faq-bottom-toc-page .faq-toc a.is-active {
    border-color: var(--blue);
  }
}
