/* ============================================================
   Monet - Split Bills & Expenses
   Background: #DFF6E9 (mint)
   Palette: iOS system colors used in the app
   green  #34C759   blue   #007AFF   orange #FF9500
   pink   #FF2D55   teal   #30B0C7   purple #AF52DE
   ============================================================ */

:root {
  --background: #DFF6E9;              /* mint, same as the App Store artwork */
  --surface: #ffffff;                 /* systemBackground */
  --surface-strong: #ffffff;
  --surface-2: rgba(52, 199, 89, 0.06);
  --text: #08301C;                    /* deep green-black, reads well on mint */
  --muted: rgba(8, 48, 28, 0.62);
  --border: rgba(8, 48, 28, 0.14);
  --accent: #34C759;                  /* .green */
  --accent-2: #007AFF;                /* .blue */
  --accent-3: #30B0C7;                /* .teal */
  --accent-warm: #E07B00;             /* .orange, darkened for contrast on mint */
  --brand-deep: #0E7A4B;
  --link: #0B6B9E;
  --card-grad-end: #F2FBF6;
  --inset-hl: rgba(255, 255, 255, 0.9);
  --shadow-soft: rgba(6, 46, 20, 0.12);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, sans-serif;
  background: var(--background);
  color: var(--text);
  overflow-x: hidden;
}

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

.hero {
  min-height: 100vh;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

/* ------------------------------------------- app store badge */
.app-store-badge-link {
  display: inline-block;
  margin-top: 28px;
  line-height: 0;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: transform 180ms ease, opacity 180ms ease, filter 260ms ease;
}

.app-store-badge-link:hover {
  transform: translateY(-2px) scale(1.02);
  filter:
    drop-shadow(0 18px 36px rgba(52, 199, 89, 0.40))
    drop-shadow(0 5px 12px rgba(0, 60, 30, 0.25));
}

.app-store-badge {
  height: 54px;
  width: auto;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}

.footer-privacy-link {
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
}

.footer-privacy-link a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.footer-privacy-link a:hover {
  color: var(--link);
  border-bottom-color: currentColor;
}

.footer-sep {
  margin: 0 8px;
  opacity: 0.5;
}

/* ---------------------------------------------------- navbar */
.navbar {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-logo {
  height: 40px;
  width: 40px;
  border-radius: 10px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 10px 30px rgba(52, 199, 89, 0.35);
}

.brand-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* Language switch (EN / ES) */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.lang-opt {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  padding: 6px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease;
}

.lang-opt:hover {
  color: var(--link);
}

a.lang-opt {
  display: inline-block;
  line-height: 1.2;
}

.lang-opt.is-active,
.lang-opt[aria-current="page"] {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 8px 24px rgba(52, 199, 89, 0.35);
}

.nav-link {
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
  transition: color 160ms ease;
}

.nav-link:hover {
  color: var(--link);
}

.nav-button,
.primary-button,
.secondary-button {
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  font-size: 14px;
}

.nav-button,
.secondary-button {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--brand-deep);
}

.primary-button {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #ffffff;
  box-shadow: 0 20px 70px rgba(52, 199, 89, 0.35);
}

.glow-btn {
  position: relative;
  overflow: hidden;
}

.glow-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(120px circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, 0.40),
    rgba(52, 199, 89, 0.16) 45%,
    transparent 70%);
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.glow-btn:hover::before {
  opacity: 1;
}

/* ------------------------------------------------------ hero */
.hero-content {
  width: min(1180px, 100%);
  margin: auto;
  text-align: center;
  padding: 80px 0 40px;
}

.eyebrow,
.feature-kicker {
  color: var(--accent-warm);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
}

h1 {
  margin: 16px 0;
  font-size: clamp(48px, 8vw, 100px);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

h1 .hl-green {
  background: linear-gradient(120deg, var(--brand-deep), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-description {
  width: min(680px, 100%);
  margin: 24px auto 0;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  color: var(--muted);
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* -------------------------------------------------- carousel */
.carousel {
  position: relative;
  width: min(1180px, 100%);
  margin: 56px auto 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.carousel-viewport {
  min-width: 0;
}

.carousel-track {
  position: relative; /* slides measure their offsetLeft against the track */
  display: flex;
  gap: clamp(14px, 2.4vw, 28px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 10px 0 8px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-slide {
  flex: 0 0 auto;
  width: clamp(190px, 21vw, 260px);
  margin: 0;
  scroll-snap-align: center;
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-slide img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 26px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow:
    0 30px 70px var(--shadow-soft),
    0 0 40px rgba(52, 199, 89, 0.12);
}

.carousel-slide.is-active {
  transform: translateY(-8px) scale(1.03);
}

.carousel-nav {
  appearance: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--brand-deep);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 26px var(--shadow-soft);
  transition: transform 160ms ease, color 160ms ease, opacity 160ms ease;
}

.carousel-nav:hover {
  transform: translateY(-2px);
  color: var(--accent);
}

.carousel-nav:disabled {
  opacity: 0.35;
  cursor: default;
  transform: none;
}

.carousel-nav svg {
  width: 20px;
  height: 20px;
  display: block;
}

.carousel-dots {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
}

.carousel-dot {
  appearance: none;
  border: 0;
  padding: 0;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(8, 48, 28, 0.20);
  cursor: pointer;
  transition: width 220ms ease, background 220ms ease;
}

.carousel-dot.is-active {
  width: 26px;
  background: linear-gradient(90deg, var(--brand-deep), var(--accent));
}

/* --------------------------------------- product showcase */
.product-showcase {
  width: min(1080px, 100%);
  margin: 84px auto 0;
  text-align: center;
}

.product-frame {
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow:
    0 40px 100px var(--shadow-soft),
    inset 0 1px 0 var(--inset-hl);
}

.product-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.product-caption {
  margin: 20px auto 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

main {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 44px 0 80px;
}

.showcase-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 0 64px;
}

.showcase-intro h2 {
  margin: 12px 0;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.showcase-intro-text {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.55;
  margin: 0 auto;
}

/* ---------------------------------------------- how it works */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-card {
  position: relative;
  padding: 30px 26px 26px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface), var(--card-grad-end));
  box-shadow: inset 0 1px 0 var(--inset-hl);
}

.step-num {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #ffffff;
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 14px 34px rgba(52, 199, 89, 0.35);
}

.step-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.step-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}

/* -------------------------------------------- features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}

.featurette {
  padding: 30px 28px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform 200ms ease, box-shadow 260ms ease, border-color 200ms ease;
}

.featurette:hover {
  transform: translateY(-4px);
  border-color: rgba(52, 199, 89, 0.45);
  box-shadow: 0 24px 60px var(--shadow-soft);
}

.featurette-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 14px;
  color: #ffffff;
}

.featurette-icon svg {
  width: 22px;
  height: 22px;
}

.featurette-icon.green  { background: #34C759; box-shadow: 0 14px 30px rgba(52, 199, 89, 0.35); }
.featurette-icon.blue   { background: #007AFF; box-shadow: 0 14px 30px rgba(0, 122, 255, 0.35); }
.featurette-icon.orange { background: #FF9500; box-shadow: 0 14px 30px rgba(255, 149, 0, 0.35); }
.featurette-icon.purple { background: #AF52DE; box-shadow: 0 14px 30px rgba(175, 82, 222, 0.35); }
.featurette-icon.teal   { background: #30B0C7; box-shadow: 0 14px 30px rgba(48, 176, 199, 0.35); }
.featurette-icon.pink   { background: #FF2D55; box-shadow: 0 14px 30px rgba(255, 45, 85, 0.35); }

.featurette h3 {
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.featurette p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

/* ------------------------------------------- perfect-for band */
.usecase-band {
  position: relative;
  overflow: hidden;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 48px;
  border: 1px solid var(--border);
  border-radius: 36px;
  background:
    radial-gradient(circle at top, rgba(52, 199, 89, 0.08), transparent 26rem),
    linear-gradient(180deg, var(--surface), var(--card-grad-end));
  box-shadow:
    0 30px 90px var(--shadow-soft),
    inset 0 1px 0 var(--inset-hl);
  text-align: center;
}

.usecase-band::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.7;
}

.usecase-band h2 {
  font-size: clamp(30px, 5vw, 52px);
  letter-spacing: -0.05em;
  line-height: 1.0;
  margin: 12px 0 14px;
}

.usecase-band > p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
  max-width: 660px;
  margin: 0 auto;
}

.usecase-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 36px 0 6px;
  text-align: left;
}

.usecase-card {
  padding: 26px 24px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.usecase-chip {
  margin-top: 0;
  letter-spacing: normal;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px 8px 12px;
  margin-bottom: 14px;
  border-radius: 999px;
  border: 1px solid var(--chip, var(--border));
  background: var(--chip-bg, rgba(52, 199, 89, 0.06));
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
}

.usecase-chip::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--chip, rgba(52, 199, 89, 0.6));
  box-shadow: 0 0 10px var(--chip, transparent);
}

.usecase-card.roommates .usecase-chip { --chip: #34C759; --chip-bg: rgba(52, 199, 89, 0.10); }
.usecase-card.trips     .usecase-chip { --chip: #007AFF; --chip-bg: rgba(0, 122, 255, 0.10); }
.usecase-card.nights    .usecase-chip { --chip: #FF9500; --chip-bg: rgba(255, 149, 0, 0.10); }
.usecase-card.couples   .usecase-chip { --chip: #FF2D55; --chip-bg: rgba(255, 45, 85, 0.10); }

.usecase-card p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0;
}

/* ------------------------------------------- download section */
.download-section {
  position: relative;
  overflow: hidden;
  width: min(1020px, calc(100% - 40px));
  margin: 80px auto 120px;
  padding: 84px 28px 72px;
  text-align: center;
  border-radius: 40px;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 50% -10%, rgba(52, 199, 89, 0.20), transparent 24rem),
    radial-gradient(circle at 50% 120%, rgba(0, 122, 255, 0.12), transparent 22rem),
    linear-gradient(180deg, var(--surface), var(--card-grad-end));
  box-shadow:
    0 40px 120px var(--shadow-soft),
    0 0 80px rgba(52, 199, 89, 0.10),
    inset 0 1px 0 var(--inset-hl);
}

.download-section::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 64%;
  width: 360px;
  height: 360px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(52, 199, 89, 0.18), transparent 62%);
  filter: blur(22px);
  pointer-events: none;
  z-index: 0;
}

.download-section > * {
  position: relative;
  z-index: 1;
}

.download-eyebrow {
  margin-bottom: 6px;
}

.download-section h2 {
  font-size: clamp(36px, 5.5vw, 66px);
}

.download-section .app-store-badge-link {
  filter: drop-shadow(0 16px 34px rgba(52, 199, 89, 0.35));
  transition: transform 180ms ease, opacity 180ms ease, filter 260ms ease;
}

.download-section .app-store-badge-link:hover {
  opacity: 1;
  filter:
    drop-shadow(0 22px 44px rgba(52, 199, 89, 0.45))
    drop-shadow(0 6px 14px rgba(0, 60, 30, 0.28));
}

.download-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 11.5px;
  letter-spacing: 0.01em;
}

.trust-icon {
  width: 15px;
  height: 15px;
  flex: none;
  color: inherit;
}

.download-section h2 {
  margin: 12px 0;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.download-section p {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.55;
}

/* ------------------------------------- monet vs splitwise band */
.compare-band {
  width: min(1180px, calc(100% - 40px));
  margin: 80px auto 0;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-radius: 36px;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 122, 255, 0.10), transparent 22rem),
    linear-gradient(180deg, var(--surface), var(--card-grad-end));
  box-shadow: 0 30px 90px var(--shadow-soft), inset 0 1px 0 var(--inset-hl);
}

.compare-band-text {
  max-width: 680px;
}

.compare-band h2 {
  margin: 10px 0 12px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.compare-band p:not(.feature-kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.compare-band .primary-button {
  flex: none;
  white-space: nowrap;
}

/* ------------------------------------------------------- FAQ */
.faq {
  width: min(880px, calc(100% - 40px));
  margin: 96px auto 0;
}

.faq-head {
  text-align: center;
  margin-bottom: 28px;
}

.faq-head h2 {
  margin: 10px 0 0;
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 200ms ease, box-shadow 260ms ease;
}

.faq-item[open] {
  border-color: rgba(52, 199, 89, 0.45);
  box-shadow: 0 18px 50px var(--shadow-soft);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 24px;
  position: relative;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2.4px solid var(--brand-deep);
  border-bottom: 2.4px solid var(--brand-deep);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 200ms ease;
}

.faq-item[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.faq-item summary:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
  border-radius: 20px;
}

.faq-a {
  padding: 0 24px 20px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
}

.faq-a p {
  margin: 0;
}

.faq-a a,
.compare-section a {
  color: var(--link);
  border-bottom: 1px solid currentColor;
}

/* ---------------------------------------------- subpages */
.page-header {
  padding: 24px;
}

.page-hero {
  width: min(900px, 100%);
  margin: 0 auto;
  padding: 64px 0 24px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(40px, 6.4vw, 76px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.breadcrumbs a:hover {
  color: var(--link);
}

.page-main {
  padding-top: 24px;
}

.compare-section {
  margin-top: 72px;
}

.compare-section > h2 {
  margin: 0 0 12px;
  text-align: center;
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.section-lead {
  max-width: 680px;
  margin: 0 auto 28px;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.compare-section .features-grid,
.compare-section .steps-grid {
  margin-top: 28px;
}

.table-wrap {
  overflow-x: auto;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 30px 80px var(--shadow-soft);
}

.table-wrap:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}

.compare-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.45;
}

.compare-table th,
.compare-table td {
  padding: 16px 20px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-table thead th {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.compare-table tbody th {
  width: 30%;
  font-weight: 700;
}

.compare-table td {
  color: var(--muted);
}

.compare-table .col-monet {
  background: rgba(52, 199, 89, 0.08);
  color: var(--text);
}

.compare-table thead .col-monet {
  color: var(--brand-deep);
}

.yes {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--brand-deep);
}

.yes::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 11px no-repeat,
    var(--accent);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.fit-card {
  padding: 32px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.fit-card.fit-monet {
  border-color: rgba(52, 199, 89, 0.45);
  background: linear-gradient(180deg, var(--surface), var(--card-grad-end));
}

.fit-card h2 {
  margin: 0 0 14px;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.fit-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
}

.faq-inline {
  width: auto;
  max-width: 880px;
  margin-top: 72px;
}

.compare-disclaimer {
  max-width: 640px;
  margin: 28px auto 0;
  font-size: 12.5px !important;
  line-height: 1.5 !important;
}

.subpage .download-section {
  margin-top: 96px;
}

@media (max-width: 860px) {
  .compare-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 28px;
  }

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

@media (max-width: 560px) {
  .compare-band {
    width: min(1180px, calc(100% - 32px));
    margin-top: 48px;
    padding: 30px 20px;
    border-radius: 28px;
  }

  .compare-band .primary-button {
    white-space: normal;
    text-align: center;
    width: 100%;
  }

  .faq {
    width: min(880px, calc(100% - 32px));
    margin-top: 64px;
  }

  .faq-inline {
    width: auto;
  }

  .faq-item summary {
    padding: 18px 48px 18px 18px;
    font-size: 16px;
  }

  .faq-item summary::after {
    right: 20px;
  }

  .faq-a {
    padding: 0 18px 18px;
  }

  .page-header {
    padding: 16px;
  }

  .page-hero {
    padding-top: 32px;
  }

  .compare-section {
    margin-top: 52px;
  }

  /* Phone: feature name on its own line, Monet and Splitwise side by side */
  .compare-table {
    min-width: 0;
  }

  .compare-table thead,
  .compare-table tbody {
    display: block;
  }

  .compare-table tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .compare-table thead th:first-child {
    display: none;
  }

  .compare-table th,
  .compare-table td {
    padding: 10px 14px 14px;
    font-size: 14px;
  }

  .compare-table tbody th {
    grid-column: 1 / -1;
    width: auto;
    padding: 14px 14px 4px;
    border-bottom: 0;
    font-size: 13px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--muted);
  }

  .fit-card {
    padding: 24px 20px;
  }
}

/* -------------------------------------------- reveal / motion */
.reveal {
  opacity: 0;
  transform: translateY(80px) scale(0.96);
  filter: blur(10px);
  transition:
    opacity 800ms ease,
    transform 900ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 900ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .carousel-track { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .carousel-slide.is-active { transform: none; }
}

/* --------------------------------------------------- responsive */
@media (max-width: 980px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .usecase-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-showcase {
    margin-top: 64px;
  }
}

@media (max-width: 860px) {
  h1 {
    letter-spacing: -0.05em;
  }

  .download-section::before {
    width: 240px;
    height: 240px;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: auto;
    padding: 16px 16px 24px;
  }

  .navbar {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 14px;
    column-gap: 12px;
  }

  .brand {
    width: 100%;
    justify-content: center;
    gap: 10px;
  }

  .brand-logo {
    height: 34px;
    width: 34px;
  }

  .brand-title {
    font-size: 19px;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
  }

  .nav-link {
    font-size: 13px;
  }

  .nav-button,
  .primary-button,
  .secondary-button {
    padding: 10px 14px;
    font-size: 13px;
  }

  .lang-opt {
    padding: 5px 9px;
    font-size: 12px;
  }

  .hero-content {
    padding: 32px 0 8px;
  }

  h1 {
    margin: 12px 0;
    font-size: clamp(38px, 12vw, 58px);
    letter-spacing: -0.045em;
  }

  .hero-description {
    margin-top: 18px;
    font-size: 17px;
  }

  .hero-actions {
    margin-top: 26px;
    gap: 10px;
  }

  .hero-actions .primary-button,
  .hero-actions .secondary-button {
    flex: 1 1 auto;
    text-align: center;
  }

  .carousel {
    margin-top: 32px;
    grid-template-columns: minmax(0, 1fr);
  }

  .carousel-nav {
    display: none;
  }

  .carousel-track {
    padding-inline: 6px;
  }

  .carousel-slide {
    width: min(64vw, 260px);
  }

  .carousel-slide img {
    border-radius: 20px;
  }

  .product-showcase {
    margin-top: 48px;
  }

  .product-frame {
    border-radius: 22px;
  }

  .product-caption {
    font-size: 15.5px;
  }

  main {
    width: min(1180px, calc(100% - 32px));
    padding: 24px 0 40px;
  }

  .showcase-intro {
    padding: 20px 0 32px;
  }

  .steps-grid,
  .features-grid,
  .usecase-cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .usecase-band {
    width: min(1180px, calc(100% - 32px));
    padding: 40px 20px;
    border-radius: 28px;
  }

  .download-section {
    margin: 40px auto 72px;
    padding: 52px 20px 48px;
    border-radius: 28px;
  }

  .download-section p {
    font-size: 17px;
  }
}

@media (max-width: 380px) {
  .nav-button,
  .primary-button,
  .secondary-button {
    padding: 9px 12px;
    font-size: 12.5px;
  }

  .nav-links {
    gap: 6px;
  }

  h1 {
    font-size: clamp(32px, 11vw, 50px);
  }
}
