/* ==========================================================================
   Expense and Budget Management – landing page
   Colors come from the app theme (lib/core/theme/app_theme.dart), the launcher
   icon and the Google Play artwork in play_store_final/. Mobile-first.
   ========================================================================== */

:root {
  /* Google Play artwork + app icon */
  --brand-deep: #03100b;
  --brand-night: #06170f;
  --brand: #0a281e;
  --mint: #34d098;
  --mint-bright: #37e2a4;
  --mint-soft: #5ee3b2;
  --icon-green: #109858;
  --on-mint: #03261a;

  /* App theme */
  --app-primary: #2e7d6b;
  --app-primary-ink: #1f6555;
  --app-primary-dark: #88d4bc;
  --app-surface-dark: #0f1513;
  --app-scaffold-dark: #101115;
  --app-scaffold-light: #f6f7fb;
  --app-amber: #ffa000;
  --app-error-dark: #ffb4ab;
  --app-orange: #d2771a;

  /* Light sections */
  --page: #ffffff;
  --page-soft: var(--app-scaffold-light);
  --page-tint: #eef7f3;
  --ink: #0e1b16;
  --ink-2: #3d4d46;
  --ink-3: #5a6a63;
  --line: #e2e9e5;
  --line-strong: #cfdcd5;

  /* Dark sections */
  --on-dark: #ffffff;
  --on-dark-2: #b6d4c7;
  --on-dark-3: #8fb3a4;
  --line-dark: rgba(182, 212, 199, 0.16);

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-native: system-ui, -apple-system, "Segoe UI", "Nirmala UI", "Noto Sans", sans-serif;

  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --shadow-sm: 0 1px 2px rgba(14, 27, 22, 0.05), 0 4px 14px -6px rgba(14, 27, 22, 0.08);
  --shadow: 0 2px 6px rgba(14, 27, 22, 0.05), 0 18px 40px -18px rgba(14, 27, 22, 0.22);
  --shadow-lg: 0 34px 64px -28px rgba(3, 16, 11, 0.6), 0 16px 32px -20px rgba(3, 16, 11, 0.45);

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 32px);
  --section-space: clamp(72px, 9vw, 120px);
  --header-h: 68px;

  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

[hidden] {
  display: none !important;
}

main:focus {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--app-primary-ink);
  outline-offset: 3px;
}

.site-header :focus-visible,
.hero :focus-visible,
.section--dark :focus-visible,
.cta-panel :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--mint);
}

/* ---------- Utilities ---------- */

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  flex: none;
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--sm {
  width: 1em;
  height: 1em;
}

.native-script {
  font-family: var(--font-native);
}

.skip-link {
  position: absolute;
  top: -120px;
  left: 12px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 12px;
  background: var(--mint);
  color: var(--on-mint);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.accent-bar {
  display: block;
  width: 64px;
  height: 5px;
  border-radius: 99px;
  background: var(--mint);
}

/* ---------- Eyebrow, section heads ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 14px;
  border: 1px solid rgba(46, 125, 107, 0.24);
  border-radius: 999px;
  background: var(--page-tint);
  color: var(--app-primary-ink);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow--dark {
  border-color: rgba(52, 208, 152, 0.45);
  background: rgba(12, 64, 44, 0.72);
  color: var(--mint-bright);
}

.section {
  position: relative;
  padding-block: var(--section-space);
}

.section--soft {
  background: var(--page-soft);
}

.section--dark {
  overflow: hidden;
  background-color: var(--brand-night);
  background-image:
    radial-gradient(70% 55% at 50% -8%, rgba(16, 152, 88, 0.2), transparent 70%),
    linear-gradient(180deg, var(--brand) 0%, var(--brand-night) 55%, #041109 100%);
  color: var(--on-dark);
}

.section-head {
  display: grid;
  justify-items: start;
  gap: 16px;
  max-width: 660px;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section-head--center {
  justify-items: center;
  margin-inline: auto;
  text-align: center;
}

.section-title {
  font-size: clamp(1.85rem, 1.25rem + 2.2vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.section-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 5px;
  margin-top: 18px;
  border-radius: 99px;
  background: var(--mint);
}

.section-head--center .section-title::after {
  margin-inline: auto;
}

.section-lead {
  max-width: 60ch;
  color: var(--ink-2);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  text-wrap: pretty;
}

.section--dark .section-lead {
  color: var(--on-dark-2);
}

/* ---------- Buttons & links ---------- */

.btn {
  --btn-h: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--btn-h);
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    transform 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out),
    background-color 0.2s,
    border-color 0.2s,
    color 0.2s;
}

.btn .icon {
  width: 20px;
  height: 20px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--store {
  background: var(--mint);
  color: var(--on-mint);
  box-shadow: 0 12px 26px -14px rgba(52, 208, 152, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn--store:hover {
  background: var(--mint-soft);
  box-shadow: 0 16px 32px -14px rgba(52, 208, 152, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn--store .icon {
  width: 22px;
  height: 22px;
}

.btn__stack {
  display: grid;
  line-height: 1.12;
  text-align: left;
}

.btn__stack small {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.btn__stack span {
  font-size: 1.0625rem;
  font-weight: 600;
}

.btn--lg {
  --btn-h: 60px;
  padding: 0 28px;
  border-radius: 16px;
}

.btn--compact {
  --btn-h: 44px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 0.9375rem;
}

.btn--compact .icon {
  width: 18px;
  height: 18px;
}

.btn--block {
  width: 100%;
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: var(--on-dark);
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.09);
}

.btn--linkedin {
  --btn-h: 46px;
  gap: 10px;
  padding: 0 16px 0 8px;
  border-color: var(--line-strong);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-size: 0.9375rem;
}

.btn--linkedin:hover {
  border-color: #0a66c2;
  box-shadow: 0 10px 22px -14px rgba(10, 102, 194, 0.6);
}

.btn--linkedin__logo {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: #0a66c2;
  color: #fff;
}

.btn--linkedin__logo .icon {
  width: 18px;
  height: 18px;
}

.btn--linkedin .icon--sm {
  color: var(--ink-3);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--app-primary-ink);
  font-weight: 600;
  text-decoration: none;
}

.text-link .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.2s var(--ease-out);
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.text-link:hover .icon {
  transform: translateX(3px);
}

.round-btn {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--on-dark);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, opacity 0.2s;
}

.round-btn:hover:not(:disabled) {
  border-color: rgba(52, 208, 152, 0.55);
  background: rgba(255, 255, 255, 0.1);
}

.round-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.90625rem;
  font-weight: 500;
  line-height: 1.3;
}

.chip .icon {
  width: 18px;
  height: 18px;
  color: var(--app-primary);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(6, 23, 15, 0.8);
  color: var(--on-dark);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line-dark);
  background: rgba(6, 23, 15, 0.94);
  box-shadow: 0 12px 30px -20px rgba(0, 0, 0, 0.7);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin-right: auto;
  text-decoration: none;
}

.brand__icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.brand__name {
  max-width: 11.5em;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.25;
}

.site-nav__list {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px var(--gutter) 22px;
  border-bottom: 1px solid var(--line-dark);
  background: rgba(6, 23, 15, 0.98);
  box-shadow: 0 24px 40px -24px rgba(0, 0, 0, 0.8);
}

.site-nav__list.is-open {
  display: flex;
  animation: menu-in 0.25s var(--ease-out);
}

.site-nav__link {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 10px;
  color: var(--on-dark-2);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}

.site-nav__link:hover,
.site-nav__link.is-active {
  background: rgba(255, 255, 255, 0.07);
  color: var(--on-dark);
}

.site-nav__store {
  margin-top: 10px;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-header__cta {
  display: none;
}

.menu-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.menu-toggle .icon {
  grid-area: 1 / 1;
  width: 22px;
  height: 22px;
}

.menu-toggle__close,
.menu-toggle[aria-expanded="true"] .menu-toggle__open {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__close {
  display: block;
}

@media (min-width: 480px) {
  .brand__name {
    max-width: none;
  }
}

@media (min-width: 600px) {
  .site-header__cta {
    display: inline-flex;
  }

  .site-nav__store {
    display: none;
  }
}

@media (min-width: 1024px) {
  .site-nav__list {
    position: static;
    display: flex;
    flex-direction: row;
    gap: 2px;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    animation: none;
  }

  .site-nav__link {
    min-height: 44px;
    padding: 0 14px;
    font-size: 0.9375rem;
  }

  .menu-toggle {
    display: none;
  }

  .site-header__actions {
    margin-left: 12px;
  }
}

/* ---------- Phone mockup ---------- */

.phone {
  --phone-w: 244px;
  position: relative;
  width: var(--phone-w);
  max-width: 100%;
  container-type: inline-size;
}

.phone__frame {
  padding: 7px;
  padding: 3cqi;
  border-radius: 36px;
  border-radius: 15cqi;
  background: linear-gradient(150deg, #2b3934 0%, #0c1210 42%, #18201d 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    inset 0 0 0 3px rgba(0, 0, 0, 0.55),
    var(--shadow-lg);
}

.phone__screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1080 / 2412;
  border-radius: 29px;
  border-radius: 12cqi;
  background: var(--app-scaffold-dark);
  isolation: isolate;
  transform: translateZ(0);
}

.phone__screen > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

@media (min-width: 768px) {
  .phone {
    --phone-w: 280px;
  }
}

/* Dashboard screen built from the full-length capture: the content layer moves
   while the app bar, + button and navigation bar stay fixed, as in the app. */
.dash-screen {
  position: absolute;
  inset: 0;
}

.dash-screen img {
  position: absolute;
  left: 0;
  width: 100%;
  height: auto;
}

.dash-screen__scroll {
  top: 0;
}

.dash-screen__appbar {
  top: 0;
}

.dash-screen__navbar {
  bottom: 0;
}

.dash-screen .dash-screen__fab {
  top: 80.89%;
  left: 79.63%;
  width: 16.3%;
  border-radius: 26%;
}

.dash-screen--demo.is-animated .dash-screen__scroll {
  animation: dash-scroll 26s var(--ease-in-out) infinite;
  will-change: transform;
}

.dash-screen--demo.is-paused .dash-screen__scroll,
.dash-screen--demo.is-offscreen .dash-screen__scroll,
.phone--demo:hover .dash-screen__scroll {
  animation-play-state: paused;
}

@keyframes dash-scroll {
  0%,
  12% {
    transform: translateY(0);
  }
  22%,
  36% {
    transform: translateY(-24.23%);
  }
  46%,
  60% {
    transform: translateY(-47.75%);
  }
  68%,
  80% {
    transform: translateY(-64.55%);
  }
  92%,
  100% {
    transform: translateY(0);
  }
}

/* ---------- Floating UI cards ---------- */

.float-card {
  position: absolute;
  z-index: 2;
  width: var(--card-w, 240px);
  animation: card-in 0.9s var(--ease-out) var(--card-delay, 0.6s) both;
}

.float-card__inner {
  animation: float 7s ease-in-out var(--float-delay, 0s) infinite alternate;
}

.float-card__inner img {
  width: 100%;
  filter: drop-shadow(0 20px 26px rgba(0, 0, 0, 0.45));
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--brand);
  background-image: linear-gradient(165deg, #0c2e22 0%, #09241a 38%, #051a11 72%, var(--brand-deep) 100%);
  color: var(--on-dark);
}

.hero__backdrop {
  position: absolute;
  inset: -20% -10% -10%;
  background:
    radial-gradient(38% 32% at 16% 38%, rgba(16, 152, 88, 0.3), transparent 70%),
    radial-gradient(34% 30% at 82% 18%, rgba(52, 208, 152, 0.14), transparent 70%),
    radial-gradient(40% 30% at 70% 90%, rgba(14, 52, 39, 0.9), transparent 70%);
  pointer-events: none;
  animation: drift 20s ease-in-out infinite alternate;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  padding-top: clamp(40px, 8vw, 72px);
}

.hero__content {
  display: grid;
  justify-items: start;
  gap: 20px;
}

.hero__content > * {
  animation: rise 0.8s var(--ease-out) both;
}

.hero__content > :nth-child(2) {
  animation-delay: 0.08s;
}

.hero__content > :nth-child(4) {
  animation-delay: 0.16s;
}

.hero__content > :nth-child(5) {
  animation-delay: 0.24s;
}

.hero__content > :nth-child(6) {
  animation-delay: 0.32s;
}

.hero__title {
  max-width: 15ch;
  font-size: clamp(2.35rem, 1.45rem + 4.2vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.hero__content > .hero__bar {
  width: 88px;
  height: 6px;
  margin-top: -2px;
  transform-origin: left center;
  animation: bar-grow 0.9s var(--ease-out) 0.35s both;
}

.hero__lead {
  max-width: 36ch;
  color: var(--on-dark-2);
  font-size: clamp(1.0625rem, 1rem + 0.45vw, 1.3125rem);
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

@media (max-width: 479.98px) {
  .hero__actions {
    width: 100%;
  }

  .hero__actions .btn {
    flex: 1 1 100%;
  }
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  color: var(--on-dark-2);
  font-size: 0.875rem;
}

.hero__meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__meta .icon {
  width: 18px;
  height: 18px;
  color: var(--mint);
  stroke-width: 2.4;
}

.hero__visual {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 440px;
  height: 440px;
  margin-top: 48px;
}

.hero__glow {
  position: absolute;
  top: 4%;
  left: 50%;
  width: 520px;
  height: 520px;
  margin-left: -260px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(52, 208, 152, 0.28), rgba(52, 208, 152, 0));
  pointer-events: none;
}

.hero__phone {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  justify-content: center;
  animation: rise 1s var(--ease-out) 0.25s both;
}

.float-card--spending {
  --card-w: 200px;
  --card-delay: 0.75s;
  bottom: 34px;
  left: 0;
}

.float-card--balance {
  --card-w: 190px;
  --card-delay: 0.95s;
  --float-delay: -3s;
  top: 8px;
  right: 0;
  display: none;
}

@media (min-width: 600px) {
  .float-card--balance {
    display: block;
  }
}

@media (min-width: 768px) {
  .hero__visual {
    max-width: 580px;
    height: 540px;
  }

  .float-card--spending {
    --card-w: 260px;
    bottom: 60px;
  }

  .float-card--balance {
    --card-w: 220px;
    top: 16px;
  }
}

@media (min-width: 1024px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: 32px;
    align-items: center;
    min-height: min(740px, calc(100vh - var(--header-h)));
    min-height: min(740px, calc(100svh - var(--header-h)));
    padding-top: 0;
  }

  .hero__content {
    padding-block: 64px 96px;
  }

  .hero__visual {
    align-self: end;
    max-width: none;
    height: 640px;
    margin-top: 0;
  }

  .hero__phone {
    top: 64px;
  }

  .hero__phone .phone {
    --phone-w: 300px;
  }

  .float-card--spending {
    --card-w: 270px;
    bottom: 96px;
    left: -6px;
  }

  .float-card--balance {
    --card-w: 230px;
    top: 24px;
    right: -6px;
  }
}

/* ---------- Intro ---------- */

.intro__layout {
  display: grid;
  gap: 40px;
  align-items: center;
}

.intro__text {
  display: grid;
  justify-items: start;
  gap: 16px;
}

.facts {
  display: grid;
  gap: 12px;
}

.fact {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--page-soft);
}

.fact__value {
  color: var(--app-primary-ink);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.fact__label {
  color: var(--ink-2);
  font-size: 0.9375rem;
  line-height: 1.5;
}

@media (min-width: 480px) {
  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .fact {
    grid-template-columns: 1fr;
    align-content: start;
    align-items: start;
    gap: 10px;
    padding: 24px 22px;
  }

  .fact__value {
    font-size: clamp(2.4rem, 2rem + 1.4vw, 3rem);
  }
}

@media (min-width: 1024px) {
  .intro__layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 72px;
  }
}

/* ---------- Features ---------- */

.feature-grid {
  display: grid;
  gap: 16px;
}

.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out),
    border-color 0.3s;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: -1px;
  right: 28px;
  left: 28px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--tone, var(--app-primary));
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card__icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--page-tint);
  background: color-mix(in srgb, var(--tone, var(--app-primary)) 12%, #fff);
  color: var(--tone, var(--app-primary));
}

.feature-card__icon .icon {
  width: 26px;
  height: 26px;
}

.feature-card__title {
  margin-top: 6px;
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.3;
}

.feature-card p {
  color: var(--ink-2);
  font-size: 0.96875rem;
}

.feature-card .feature-card__where {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--line-strong);
  color: var(--ink-3);
  font-size: 0.8125rem;
}

.feature-card__where strong {
  color: var(--ink);
  font-weight: 600;
}

.extras {
  display: grid;
  justify-items: center;
  gap: 16px;
  margin-top: 48px;
  text-align: center;
}

.extras__title {
  color: var(--ink-3);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.extras__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (min-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}

/* ---------- App showcase ---------- */

.showcase__glow {
  position: absolute;
  top: 30%;
  right: -10%;
  width: 60%;
  height: 70%;
  background: radial-gradient(closest-side, rgba(16, 152, 88, 0.2), transparent);
  pointer-events: none;
}

.showcase__layout {
  display: grid;
  gap: 36px;
}

.showcase__tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.showcase-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 84px;
  padding: 12px 6px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  color: var(--on-dark-2);
  text-align: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.25s, border-color 0.25s, color 0.25s;
}

.showcase-tab:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--on-dark);
}

.showcase-tab[aria-selected="true"] {
  border-color: rgba(52, 208, 152, 0.6);
  background: rgba(52, 208, 152, 0.1);
  color: var(--on-dark);
}

.showcase-tab__icon {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--mint-bright);
  transition: background-color 0.25s, color 0.25s;
}

.showcase-tab[aria-selected="true"] .showcase-tab__icon {
  background: var(--mint);
  color: var(--on-mint);
}

.showcase-tab__text {
  display: grid;
}

.showcase-tab__title {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.25;
}

.showcase-tab__desc {
  display: none;
}

.showcase-panel {
  display: grid;
  justify-items: center;
  gap: 36px;
}

.showcase-panel:not([hidden]) {
  animation: panel-in 0.5s var(--ease-out);
}

.showcase-panel:focus-visible {
  outline-offset: 8px;
  border-radius: var(--radius);
}

.showcase-panel__device {
  position: relative;
  isolation: isolate;
}

.showcase-panel__device::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 8% -40%;
  background: radial-gradient(closest-side, rgba(52, 208, 152, 0.22), transparent);
}

.showcase-panel__info {
  width: 100%;
  max-width: 420px;
}

.showcase-panel__title {
  margin-bottom: 18px;
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  font-weight: 600;
  line-height: 1.3;
}

.tick-list {
  display: grid;
  gap: 12px;
}

.tick-list li {
  position: relative;
  padding-left: 34px;
  color: var(--on-dark-2);
}

.tick-list li::before {
  content: "";
  position: absolute;
  top: 0.18em;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(52, 208, 152, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d098' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 9.5 17 19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

@media (min-width: 768px) {
  .showcase-panel {
    grid-template-columns: auto minmax(0, 1fr);
    justify-items: start;
    align-items: center;
    gap: 56px;
  }
}

@media (min-width: 1024px) {
  .showcase__layout {
    grid-template-columns: 330px minmax(0, 1fr);
    align-items: center;
    gap: 64px;
  }

  .showcase__tabs {
    grid-template-columns: 1fr;
  }

  .showcase-tab {
    flex-direction: row;
    justify-content: flex-start;
    gap: 16px;
    min-height: 0;
    padding: 14px 18px;
    text-align: left;
  }

  .showcase-tab__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .showcase-tab__title {
    font-size: 1rem;
  }

  .showcase-tab__desc {
    display: block;
    margin-top: 2px;
    color: var(--on-dark-3);
    font-size: 0.8125rem;
    line-height: 1.45;
  }

  .showcase-tab[aria-selected="true"]::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -48px;
    width: 48px;
    height: 2px;
    background: linear-gradient(90deg, rgba(52, 208, 152, 0.75), rgba(52, 208, 152, 0));
  }
}

/* ---------- How it works ---------- */

.steps {
  display: grid;
  gap: 32px;
  max-width: 1040px;
  margin-inline: auto;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: start;
}

/* Dashed connector from each step's icon to the next one */
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 66px;
  bottom: -22px;
  left: 27px;
  border-left: 2px dashed var(--line-strong);
}

.step__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--brand);
  color: var(--mint-bright);
  box-shadow: 0 14px 26px -14px rgba(10, 40, 30, 0.75);
}

.step__icon .icon {
  width: 26px;
  height: 26px;
}

.step__body {
  display: grid;
  gap: 6px;
  padding-top: 2px;
}

.step__num {
  color: var(--app-primary-ink);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.step__title {
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.25;
}

.step p:not(.step__num) {
  color: var(--ink-2);
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
  }

  .step:not(:last-child)::after {
    top: 36px;
    bottom: auto;
    left: calc(50% + 50px);
    width: calc(100% - 60px);
    border-top: 2px dashed var(--line-strong);
    border-left: 0;
  }

  .step {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 22px;
    text-align: center;
  }

  .step__icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
  }

  .step__icon .icon {
    width: 32px;
    height: 32px;
  }

  .step__body {
    max-width: 300px;
  }
}

/* ---------- Dashboard insights ---------- */

.insights {
  overflow: hidden;
}

.insights__layout {
  display: grid;
  gap: 48px;
  align-items: center;
}

.insights__content .section-head {
  margin-bottom: 28px;
}

.insight {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.insight:last-child {
  border-bottom: 0;
}

.insight__icon,
.point__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--page-tint);
  color: var(--app-primary-ink);
}

.insight__icon .icon,
.point__icon .icon {
  width: 22px;
  height: 22px;
}

.insight__title,
.point__title {
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
}

.insight p,
.point p {
  margin-top: 2px;
  color: var(--ink-2);
  font-size: 0.9375rem;
}

.insights__note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 20px;
  padding: 14px 18px;
  border: 1px solid rgba(46, 125, 107, 0.14);
  border-radius: var(--radius);
  background: var(--page-tint);
  color: var(--ink-2);
  font-size: 0.9375rem;
}

.insights__note .icon {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--app-primary);
}

.insights__note strong {
  color: var(--ink);
}

.insights__visual {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 22px;
}

.insights__halo {
  position: absolute;
  z-index: 0;
  top: 4%;
  left: 50%;
  width: 560px;
  height: 560px;
  margin-left: -280px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(52, 208, 152, 0.26), rgba(52, 208, 152, 0));
  pointer-events: none;
}

.insights__visual .phone {
  z-index: 1;
}

.demo-toggle {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.demo-toggle:hover {
  border-color: var(--app-primary);
  box-shadow: var(--shadow-sm);
}

.demo-toggle .icon {
  width: 16px;
  height: 16px;
  color: var(--app-primary-ink);
}

.demo-toggle__play,
.demo-toggle.is-paused .demo-toggle__pause {
  display: none;
}

.demo-toggle.is-paused .demo-toggle__play {
  display: block;
}

@media (min-width: 1024px) {
  .insights__layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 88px;
  }

  .insights__visual {
    order: -1;
  }
}

/* ---------- Budget ---------- */

.budget {
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, var(--page-tint) 100%);
}

.budget__layout {
  display: grid;
  gap: 56px;
  align-items: center;
}

.budget__content .section-head {
  margin-bottom: 28px;
}

.point-list {
  display: grid;
  gap: 20px;
}

.point {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
}

.legend {
  margin-top: 32px;
  padding: 22px 22px 18px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  background: var(--app-surface-dark);
  color: #e6ece9;
  box-shadow: var(--shadow);
}

.legend__title {
  margin-bottom: 16px;
  color: var(--on-dark-3);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legend__list {
  display: grid;
  gap: 16px;
}

.legend__row {
  display: grid;
  grid-template-areas:
    "bar bar"
    "label chip";
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px 12px;
  font-size: 0.9375rem;
}

.legend__bar {
  grid-area: bar;
  overflow: hidden;
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  background: color-mix(in srgb, var(--tone) 18%, transparent);
}

.legend__bar > span {
  display: block;
  width: var(--fill);
  height: 100%;
  border-radius: inherit;
  background: var(--tone);
  transform-origin: left center;
  transition: transform 1.2s var(--ease-out) 0.25s;
}

.reveal-ready .legend:not(.is-visible) .legend__bar > span {
  transform: scaleX(0);
}

.legend__label {
  grid-area: label;
}

.legend .status-chip {
  grid-area: chip;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

.status-chip--near {
  background: #ffecb3;
  color: #7a4100;
}

.status-chip--over {
  background: #93000a;
  color: #ffdad6;
}

.legend__note {
  margin-top: 16px;
  color: var(--on-dark-3);
  font-size: 0.8125rem;
}

.budget__visual {
  position: relative;
  display: grid;
  justify-items: center;
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
}

.budget__glow {
  position: absolute;
  top: 10%;
  left: 50%;
  width: 520px;
  height: 520px;
  margin-left: -260px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(52, 208, 152, 0.3), rgba(52, 208, 152, 0));
  pointer-events: none;
}

.float-card--budget {
  --card-w: 250px;
  --card-delay: 0.2s;
  top: 44%;
  left: 0;
  animation: none;
}

.float-card--budget .float-card__inner {
  overflow: hidden;
  border: 1px solid rgba(52, 208, 152, 0.45);
  border-radius: 16px;
  background: var(--app-scaffold-dark);
  box-shadow: 0 26px 48px -22px rgba(3, 16, 11, 0.7);
}

.float-card--budget .float-card__inner img {
  filter: none;
}

@media (min-width: 480px) {
  .legend__row {
    grid-template-areas: "bar label chip";
    grid-template-columns: 110px 1fr auto;
  }
}

@media (min-width: 768px) {
  .float-card--budget {
    --card-w: 300px;
  }
}

@media (min-width: 1024px) {
  .budget__layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 80px;
  }

  .float-card--budget {
    left: -24px;
  }
}

/* ---------- Screenshot gallery ---------- */

.gallery__desktop {
  display: none;
}

.gallery__featured {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.gallery__featured-frame {
  overflow: hidden;
  width: 390px;
  aspect-ratio: 9 / 16;
  border-radius: 26px;
  background: var(--brand);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(52, 208, 152, 0.2);
}

.gallery__featured-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s ease;
}

.gallery__featured-frame img.is-switching {
  opacity: 0;
}

.gallery__caption {
  display: grid;
  justify-items: center;
  gap: 4px;
  max-width: 390px;
  text-align: center;
}

.gallery__caption-title {
  color: var(--on-dark);
  font-size: 1.125rem;
  font-weight: 600;
}

.gallery__caption-text {
  color: var(--on-dark-2);
  font-size: 0.9375rem;
}

.gallery__full {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: var(--mint-bright);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}

.gallery__full:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.gallery__full .icon {
  width: 16px;
  height: 16px;
}

.gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.thumb {
  display: grid;
  gap: 10px;
  width: 100%;
  padding: 8px 8px 10px;
  border: 1px solid var(--line-dark);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition:
    transform 0.25s var(--ease-out),
    border-color 0.25s,
    background-color 0.25s;
}

.thumb img {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  object-fit: cover;
}

.thumb__label {
  color: var(--on-dark-2);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
}

.thumb:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-3px);
}

.thumb[aria-pressed="true"] {
  border-color: var(--mint);
  background: rgba(52, 208, 152, 0.1);
}

.thumb[aria-pressed="true"] .thumb__label {
  color: var(--on-dark);
}

.gallery__mobile {
  margin-inline: calc(var(--gutter) * -1);
}

.carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 8px var(--gutter) 24px;
  scroll-padding-inline: var(--gutter);
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.carousel:focus-visible {
  outline-offset: -3px;
}

.carousel__item {
  flex: 0 0 auto;
  width: min(76vw, 300px);
  scroll-snap-align: start;
}

.carousel__item figure {
  display: grid;
  gap: 12px;
}

.carousel__item img {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(52, 208, 152, 0.18);
}

.carousel__item figcaption {
  color: var(--on-dark-2);
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
}

.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding-inline: var(--gutter);
}

.carousel__status {
  min-width: 4.5em;
  color: var(--on-dark-2);
  font-size: 0.875rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

@media (min-width: 1024px) {
  .gallery__desktop {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 56px;
    max-width: 1060px;
    margin-inline: auto;
  }

  .gallery__mobile {
    display: none;
  }
}

/* ---------- Privacy & security ---------- */

.trust__layout {
  display: grid;
  gap: 32px;
  align-items: center;
}

.trust__intro .section-head {
  margin-bottom: 16px;
}

.trust__links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
}

.trust-grid {
  display: grid;
  gap: 16px;
}

.trust-card {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--page-soft);
}

.trust-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 6px;
  border-radius: 14px;
  background: var(--brand);
  color: var(--mint-bright);
}

.trust-card__icon .icon {
  width: 24px;
  height: 24px;
}

.trust-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
}

.trust-card p {
  color: var(--ink-2);
  font-size: 0.9375rem;
}

.personalize {
  margin-top: clamp(48px, 7vw, 80px);
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(46, 125, 107, 0.16);
  border-radius: var(--radius-xl);
  background: var(--page-tint);
}

.personalize__title {
  margin-bottom: 18px;
  font-size: 1.125rem;
  font-weight: 600;
}

.personalize__grid {
  display: grid;
  gap: 14px;
}

.personalize__item {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.personalize__item dt {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-3);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.personalize__item dt .icon {
  width: 18px;
  height: 18px;
  color: var(--app-primary);
}

.personalize__item dd {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 500;
}

.option {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.swatch {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(14, 27, 22, 0.18);
  border-radius: 50%;
}

.swatch--system {
  background: linear-gradient(90deg, var(--app-scaffold-light) 50%, var(--app-scaffold-dark) 50%);
}

.swatch--light {
  background: var(--app-scaffold-light);
}

.swatch--dark {
  background: var(--app-scaffold-dark);
}

.swatch--green {
  background: var(--app-primary);
}

.swatch--orange {
  background: var(--app-orange);
}

.personalize__item .personalize__symbols {
  gap: 8px;
}

.currency {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 30px;
  padding: 0 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--page-soft);
  font-size: 0.875rem;
  font-weight: 600;
}

@media (min-width: 640px) {
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .personalize__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .trust__layout {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 72px;
  }

  .personalize__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
}

/* ---------- FAQ ---------- */

/* Follows the white Privacy & security section, which already provides the top spacing. */
.faq {
  padding-top: 0;
}

.faq-list {
  display: grid;
  align-items: start;
  gap: 12px;
  max-width: 1040px;
  margin-inline: auto;
}

.faq-list__column {
  display: grid;
  align-content: start;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.faq-item:hover {
  border-color: var(--line-strong);
}

.faq-item.is-open {
  border-color: rgba(46, 125, 107, 0.35);
  box-shadow: var(--shadow-sm);
}

.faq-item__heading {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
}

.faq-item__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 56px;
  padding: 14px 18px 14px 20px;
  border: 0;
  border-radius: var(--radius);
  background: none;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.2s;
}

.faq-item__trigger:hover {
  color: var(--app-primary-ink);
}

.faq-item__trigger:focus-visible {
  outline-offset: -3px;
}

.faq-item__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--page-tint);
  color: var(--app-primary-ink);
  transition: background-color 0.25s, color 0.25s;
}

.faq-item__icon .icon {
  width: 16px;
  height: 16px;
  stroke-width: 2.2;
  transform: rotate(90deg);
  transition: transform 0.3s var(--ease-out);
}

.faq-item__trigger[aria-expanded="true"] .faq-item__icon {
  background: var(--mint);
  color: var(--on-mint);
}

.faq-item__trigger[aria-expanded="true"] .faq-item__icon .icon {
  transform: rotate(-90deg);
}

.faq-item__panel {
  display: grid;
  grid-template-rows: 1fr;
}

.faq-item__body {
  min-height: 0;
  overflow: hidden;
}

.faq-item__body p {
  padding: 0 20px 18px;
  color: var(--ink-2);
  font-size: 0.9375rem;
}

.faq-item__body a {
  color: var(--app-primary-ink);
  font-weight: 500;
  text-underline-offset: 3px;
}

/* With JavaScript, closed answers collapse (animated) and are hidden from assistive
   technology. Without it, every answer stays visible. */
.faq-list.is-enhanced .faq-item__panel {
  transition: grid-template-rows 0.3s var(--ease-out), visibility 0s linear 0.3s;
}

.faq-list.is-enhanced .faq-item:not(.is-open) .faq-item__panel {
  grid-template-rows: 0fr;
  visibility: hidden;
}

.faq-list.is-enhanced .faq-item.is-open .faq-item__panel {
  transition: grid-template-rows 0.3s var(--ease-out), visibility 0s;
}

@media (min-width: 1024px) {
  .faq-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

/* ---------- Download CTA ---------- */

.cta {
  padding-top: 0;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 40px;
  padding: clamp(36px, 6vw, 72px) clamp(24px, 5vw, 72px) 0;
  border-radius: clamp(24px, 3vw, 36px);
  background-color: var(--brand);
  background-image:
    radial-gradient(70% 80% at 0% 0%, rgba(16, 152, 88, 0.34), transparent 60%),
    linear-gradient(150deg, #0c3024 0%, var(--brand) 45%, var(--brand-deep) 100%);
  color: var(--on-dark);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

.cta-panel__glow {
  position: absolute;
  z-index: -1;
  right: -10%;
  bottom: -30%;
  width: 70%;
  height: 90%;
  background: radial-gradient(closest-side, rgba(52, 208, 152, 0.24), transparent);
  pointer-events: none;
}

.cta-panel__content {
  display: grid;
  justify-items: start;
  gap: 18px;
}

.cta-panel__icon {
  width: 84px;
  height: 84px;
  border-radius: 22px;
  box-shadow: 0 16px 32px -14px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.cta-panel__title {
  max-width: 16ch;
  font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.cta-panel__text {
  max-width: 44ch;
  color: var(--on-dark-2);
  font-size: 1.0625rem;
}

.cta-panel__content .btn {
  margin-top: 6px;
}

.cta-panel__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  color: var(--on-dark-2);
  font-size: 0.9375rem;
}

.cta-panel__meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cta-panel__meta .icon {
  width: 18px;
  height: 18px;
  color: var(--mint);
  stroke-width: 2.4;
}

.cta-panel__visual {
  position: relative;
  display: flex;
  justify-content: center;
  height: 340px;
}

@media (min-width: 900px) {
  .cta-panel {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: stretch;
  }

  .cta-panel__content {
    align-self: center;
    padding-bottom: clamp(36px, 6vw, 72px);
  }

  .cta-panel__visual {
    height: auto;
    min-height: 420px;
  }

  .cta-panel__visual .phone {
    position: absolute;
    top: 8px;
    right: 0;
    left: 0;
    margin-inline: auto;
  }
}

/* ---------- Company & developer ---------- */

.dev-grid {
  display: grid;
  gap: 20px;
  max-width: 880px;
  margin-inline: auto;
}

.dev-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.dev-card__avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--icon-green), var(--brand));
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.dev-card__avatar .icon {
  width: 30px;
  height: 30px;
}

.dev-card__body {
  display: grid;
  justify-items: start;
  gap: 2px;
  min-width: 0;
}

.dev-card__name {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}

.dev-card__role {
  margin-bottom: 12px;
  color: var(--ink-3);
  font-size: 0.9375rem;
}

.dev-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--app-primary-ink);
  font-weight: 500;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.dev-card__link:hover span {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 768px) {
  .dev-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  padding-block: 64px;
  background: #051510;
  color: var(--on-dark-2);
}

.site-footer__top {
  display: grid;
  gap: 44px;
}

.site-footer__brand {
  display: grid;
  justify-items: start;
  gap: 18px;
}

.site-footer .brand {
  color: var(--on-dark);
}

.site-footer .brand__name {
  max-width: none;
}

.site-footer__tagline {
  max-width: 36ch;
  font-size: 0.9375rem;
}

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 24px;
}

.footer-col__title {
  margin-bottom: 12px;
  color: var(--on-dark);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-col a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--on-dark-2);
  font-size: 0.9375rem;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--mint-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 600px) {
  .site-footer__nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .site-footer__top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    gap: 64px;
  }
}

/* ---------- Motion ---------- */

.reveal-ready [data-reveal]:not(.is-visible) {
  opacity: 0;
}

.reveal-ready [data-reveal].is-visible {
  animation: reveal 0.8s var(--ease-out) var(--reveal-delay, 0s) both;
}

.reveal-ready [data-reveal].is-instant {
  animation: none;
}

@keyframes reveal {
  from {
    opacity: 0;
    translate: 0 28px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    translate: 0 26px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes card-in {
  from {
    opacity: 0;
    translate: 0 18px;
    scale: 0.94;
  }
  to {
    opacity: 1;
    translate: 0 0;
    scale: 1;
  }
}

@keyframes float {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-10px);
  }
}

@keyframes bar-grow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(3%, -4%, 0);
  }
}

@keyframes panel-in {
  from {
    opacity: 0;
    translate: 0 12px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes menu-in {
  from {
    opacity: 0;
    translate: 0 -8px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }

  .hero__backdrop,
  .float-card__inner,
  .dash-screen--demo .dash-screen__scroll {
    animation: none !important;
  }
}

/* ---------- Print ---------- */

@media print {
  .site-header,
  .hero__backdrop,
  .demo-toggle,
  .carousel__controls {
    display: none !important;
  }

  .reveal-ready [data-reveal]:not(.is-visible) {
    opacity: 1;
  }
}
