:root {
  --ink: #082654;
  --ink-2: #0d386b;
  --muted: #516176;
  --soft: #eef7fb;
  --paper: #f7fbff;
  --card: rgba(255, 255, 255, 0.78);
  --solid-card: #ffffff;
  --line: rgba(8, 38, 84, 0.12);
  --blue: #2768ff;
  --blue-2: #0f3fce;
  --teal: #12a9c6;
  --green: #2ed46f;
  --green-2: #10b760;
  --shadow-sm: 0 12px 30px rgba(8, 38, 84, 0.10);
  --shadow-md: 0 24px 70px rgba(8, 38, 84, 0.16);
  --shadow-lg: 0 38px 100px rgba(8, 38, 84, 0.22);
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --max: 1180px;
  --brand-chip: transparent;
  --header: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: light dark;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(39, 104, 255, 0.15), transparent 35rem),
    radial-gradient(circle at 90% 12rem, rgba(46, 212, 111, 0.15), transparent 32rem),
    linear-gradient(180deg, #f8fcff 0%, #eef7fb 55%, #f8fcff 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  min-height: 100vh;
  text-rendering: geometricPrecision;
}

body.nav-open {
  overflow: hidden;
}

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

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

button, input, textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 999;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(247, 251, 255, 0.78);
  border-bottom: 1px solid rgba(8, 38, 84, 0.08);
}

.nav-shell {
  max-width: var(--max);
  min-height: var(--header);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
  padding: 0.34rem 0.46rem;
  margin-left: -0.46rem;
  border-radius: 18px;
  background: var(--brand-chip);
}

.brand img {
  width: 214px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.dropdown-arrow {
  font-size: 0.78rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.nav-dropdown[open] .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.55rem);
  left: 0;
  min-width: 310px;
  padding: 0.5rem;
  display: grid;
  gap: 0.25rem;
  border-radius: 22px;
  border: 1px solid rgba(8, 38, 84, 0.11);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.nav-dropdown[open] .dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-menu a {
  display: grid;
  gap: 0.18rem;
  padding: 0.85rem 0.95rem;
  border-radius: 16px;
  white-space: normal;
}

.dropdown-menu a strong {
  font-size: 0.96rem;
  letter-spacing: -0.02em;
}

.dropdown-menu a span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.35;
}

.nav-links a,
.nav-dropdown summary {
  font-size: 0.94rem;
  font-weight: 700;
  color: rgba(8, 38, 84, 0.76);
  padding: 0.7rem 0.85rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active,
.nav-dropdown summary:hover,
.nav-dropdown summary:focus-visible,
.nav-dropdown summary.active {
  color: var(--ink);
  background: rgba(39, 104, 255, 0.09);
}

.nav-links a:hover,
.nav-dropdown summary:hover {
  transform: translateY(-1px);
}

.nav-cta {
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: white !important;
  box-shadow: 0 12px 30px rgba(39, 104, 255, 0.24);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: linear-gradient(135deg, var(--blue-2), var(--teal)) !important;
}

.menu-toggle {
  display: none;
  border: 0;
  background: rgba(8, 38, 84, 0.08);
  color: var(--ink);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

body.nav-open .menu-toggle span { transform: rotate(45deg); }
body.nav-open .menu-toggle span::before { transform: translateY(6px) rotate(90deg); }
body.nav-open .menu-toggle span::after { transform: translateY(-6px); opacity: 0; }

main {
  overflow: hidden;
}

.section,
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 6rem 1.25rem;
}

.hero {
  min-height: calc(100vh - var(--header));
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(340px, 1.04fr);
  align-items: center;
  gap: 3rem;
  padding-top: 5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  padding: 0.45rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(39, 104, 255, 0.16);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-2);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}

.eyebrow::before {
  content: "";
  width: 0.52rem;
  height: 0.52rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green), var(--teal));
  box-shadow: 0 0 0 6px rgba(46, 212, 111, 0.13);
}

h1, h2, h3, h4 {
  margin: 0;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

h1 {
  font-size: clamp(2.9rem, 5.8vw, 5.65rem);
  max-width: 11.5ch;
}

.hero h1 {
  font-size: clamp(2.85rem, 5.45vw, 5.35rem);
  max-width: 12.4ch;
}

h2 {
  font-size: clamp(2.1rem, 4.8vw, 4rem);
  max-width: 12ch;
}

h3 {
  font-size: clamp(1.45rem, 2.2vw, 2.1rem);
}

h4 {
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}

.lede {
  font-size: clamp(1.1rem, 2vw, 1.32rem);
  color: var(--muted);
  margin: 1.35rem 0 0;
  max-width: 42rem;
}

.hero .lede {
  max-width: 40rem;
}

.hero-actions,
.button-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.84rem 1.05rem;
  border-radius: 999px;
  font-weight: 850;
  border: 1px solid rgba(8, 38, 84, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  box-shadow: 0 20px 45px rgba(39, 104, 255, 0.26);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.button.ghost {
  background: transparent;
  color: var(--ink-2);
}

.button.small {
  min-height: 40px;
  padding: 0.62rem 0.85rem;
  font-size: 0.92rem;
}

.muted-note {
  color: var(--muted);
  font-size: 0.94rem;
  margin-top: 1rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.58rem 0.74rem;
  border-radius: 999px;
  color: rgba(8, 38, 84, 0.78);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(8, 38, 84, 0.1);
  font-weight: 750;
  box-shadow: var(--shadow-sm);
}

.badge svg {
  width: 16px;
  height: 16px;
  color: var(--teal);
}

.hero-visual {
  position: relative;
  min-height: 570px;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(4px);
  opacity: 0.9;
}

.orb.one {
  width: 18rem;
  height: 18rem;
  background: radial-gradient(circle, rgba(39, 104, 255, 0.25), transparent 67%);
  top: -2rem;
  right: 6rem;
}

.orb.two {
  width: 16rem;
  height: 16rem;
  background: radial-gradient(circle, rgba(46, 212, 111, 0.24), transparent 67%);
  bottom: 0;
  left: 0;
}

.visual-card {
  position: absolute;
  inset: 2.2rem 0 auto auto;
  width: min(520px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 42px;
  padding: 1.15rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.48));
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(22px);
}

.visual-phone {
  border-radius: 34px;
  padding: 1.25rem;
  min-height: 480px;
  background:
    radial-gradient(circle at 20% 10%, rgba(46, 212, 111, 0.24), transparent 24rem),
    linear-gradient(160deg, #093264 0%, #0c6ad1 54%, #12a9c6 100%);
  color: white;
  overflow: hidden;
  position: relative;
}

.visual-phone::before {
  content: "";
  position: absolute;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  right: -7rem;
  top: -7rem;
  background: rgba(255, 255, 255, 0.14);
}

.device-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

.device-top span {
  font-weight: 850;
  letter-spacing: -0.03em;
}

.device-pill {
  width: 76px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
}

.app-stack {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.1rem;
}

.app-mini {
  border-radius: 30px;
  min-height: 205px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 20px 35px rgba(1, 15, 35, 0.18);
}

.app-mini:nth-child(2) {
  transform: translateY(2.1rem);
}

.app-mini img {
  width: 82px;
  height: 82px;
  border-radius: 22px;
  margin-bottom: 1rem;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.app-mini strong {
  display: block;
  font-size: 1.06rem;
}

.app-mini p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0.55rem 0 0;
  font-size: 0.92rem;
}

.mock-metrics {
  position: relative;
  z-index: 1;
  margin-top: 3.2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.metric-tile {
  border-radius: 22px;
  padding: 0.9rem;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.metric-tile small {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.metric-tile b {
  display: block;
  font-size: 1.2rem;
  margin-top: 0.2rem;
}

.floating-pill {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  right: 1.25rem;
  bottom: -1rem;
  padding: 0.74rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-md);
  color: var(--ink);
  font-weight: 850;
  pointer-events: none;
  animation: bob 5.5s ease-in-out infinite;
}

.floating-pill .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(46, 212, 111, 0.18);
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.25rem;
}

.section-head p {
  color: var(--muted);
  max-width: 36rem;
  margin: 0;
  font-size: 1.06rem;
}

.grid {
  display: grid;
  gap: 1.2rem;
}

.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  background: var(--card);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(20px);
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.72), transparent 45%);
  opacity: 0.7;
}

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

.product-card {
  min-height: 520px;
  padding: 1.65rem;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}

.product-card.finance {
  background:
    radial-gradient(circle at top right, rgba(46, 212, 111, 0.20), transparent 22rem),
    rgba(255, 255, 255, 0.78);
}

.product-card.ledger {
  background:
    radial-gradient(circle at top right, rgba(39, 104, 255, 0.20), transparent 22rem),
    rgba(255, 255, 255, 0.78);
}

.product-top {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.product-top img {
  width: 90px;
  height: 90px;
  border-radius: 24px;
  box-shadow: 0 18px 36px rgba(8, 38, 84, 0.18);
}

.product-tag {
  display: inline-flex;
  padding: 0.34rem 0.62rem;
  border-radius: 999px;
  background: rgba(8, 38, 84, 0.08);
  color: rgba(8, 38, 84, 0.76);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-card p {
  color: var(--muted);
  margin: 1.15rem 0 0;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.35rem 0 0;
  display: grid;
  gap: 0.72rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.58rem;
  color: rgba(8, 38, 84, 0.82);
}

.check {
  flex: 0 0 auto;
  width: 1.28rem;
  height: 1.28rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(46, 212, 111, 0.22), rgba(18, 169, 198, 0.18));
  color: var(--green-2);
  font-size: 0.82rem;
  font-weight: 900;
  margin-top: 0.1rem;
}

.product-card .button-row {
  margin-top: auto;
}

.ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1.6rem;
}

.ribbon .card {
  min-height: 132px;
}

.ribbon strong {
  display: block;
  font-size: 1.85rem;
  letter-spacing: -0.06em;
}

.ribbon span {
  display: block;
  color: var(--muted);
  font-weight: 650;
  margin-top: 0.25rem;
}

.privacy-band {
  position: relative;
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 3rem);
  background:
    radial-gradient(circle at 95% 20%, rgba(46, 212, 111, 0.22), transparent 26rem),
    linear-gradient(135deg, #071f49, #0a4aa4 58%, #0eaeb5);
  color: white;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.privacy-band::before {
  content: "";
  position: absolute;
  width: 30rem;
  height: 30rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  right: -13rem;
  top: -12rem;
}

.privacy-band > * {
  position: relative;
  z-index: 1;
}

.privacy-band h2 {
  max-width: 12.5ch;
}

.privacy-band .lede {
  color: rgba(255, 255, 255, 0.78);
}

.privacy-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.2rem;
}

.privacy-point {
  border-radius: 24px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.privacy-point strong {
  display: block;
  font-size: 1.05rem;
}

.privacy-point p {
  margin: 0.4rem 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.pathway {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  counter-reset: step;
}

.step-card {
  min-height: 250px;
}

.step-card::before {
  counter-increment: step;
  content: "0" counter(step);
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  font-weight: 950;
  box-shadow: 0 15px 30px rgba(39, 104, 255, 0.22);
  margin-bottom: 1.05rem;
}

.step-card p,
.card p {
  color: var(--muted);
}

.logo-cloud {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
}

.logo-card {
  display: grid;
  place-items: center;
  min-height: 310px;
}

.logo-card img {
  width: min(430px, 94%);
  filter: drop-shadow(0 22px 35px rgba(8, 38, 84, 0.16));
}

.page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 6rem 1.25rem 3rem;
}

.page-hero h1 {
  max-width: 12ch;
}

.page-hero.wide h1 {
  max-width: 14ch;
}

.page-hero .lede {
  max-width: 47rem;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.65fr);
  gap: 1.5rem;
  align-items: start;
}

.sticky-panel {
  position: sticky;
  top: calc(var(--header) + 1.25rem);
}

.product-showcase {
  padding: 1.5rem;
}

.product-showcase img {
  width: 118px;
  height: 118px;
  border-radius: 28px;
  box-shadow: 0 20px 40px rgba(8, 38, 84, 0.18);
  margin-bottom: 1.1rem;
}

.spec-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.spec-row strong {
  color: var(--ink);
}

.calculator-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
}

.icon-bubble {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  font-weight: 900;
  margin-bottom: 0.75rem;
}

.timeline {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 0.8rem;
}

.timeline-dot {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green), var(--teal));
  box-shadow: 0 0 0 8px rgba(46, 212, 111, 0.13);
  margin-top: 0.25rem;
}

.legal-doc {
  max-width: 880px;
  margin: 0 auto;
  padding: 3rem 1.25rem 6rem;
}

.legal-doc .card {
  padding: clamp(1.4rem, 4vw, 2.4rem);
}

.legal-doc h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  max-width: none;
  margin-top: 2rem;
}

.legal-doc h2:first-child {
  margin-top: 0;
}

.legal-doc p,
.legal-doc li {
  color: var(--muted);
}

.legal-doc ul {
  padding-left: 1.2rem;
}

.notice {
  border-left: 4px solid var(--teal);
  padding: 1rem 1rem;
  border-radius: 16px;
  background: rgba(18, 169, 198, 0.08);
  color: var(--ink-2);
}

.support-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.4rem;
}

.faq {
  display: grid;
  gap: 0.9rem;
}

.faq details {
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(8, 38, 84, 0.1);
  box-shadow: var(--shadow-sm);
  padding: 1rem 1rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 850;
}

.faq p {
  color: var(--muted);
  margin: 0.7rem 0 0;
}

.site-footer {
  border-top: 1px solid rgba(8, 38, 84, 0.08);
  background: rgba(255, 255, 255, 0.5);
}

.footer-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) repeat(3, minmax(120px, 0.35fr));
  gap: 2rem;
}

.footer-brand img {
  width: 210px;
}

.footer-brand p {
  color: var(--muted);
  max-width: 32rem;
  margin-bottom: 0;
}

.footer-col strong {
  display: block;
  margin-bottom: 0.65rem;
}

.footer-col a {
  display: block;
  color: var(--muted);
  margin: 0.4rem 0;
  font-weight: 650;
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--ink);
}

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem 2rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero,
  .detail-layout,
  .logo-cloud,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 4rem;
    min-height: auto;
  }

  .hero-visual {
    min-height: 530px;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .grid.three,
  .grid.four,
  .privacy-points,
  .pathway,
  .ribbon {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sticky-panel {
    position: static;
  }

  .footer-shell {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .brand img {
    width: 180px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    inset: var(--header) 0 auto 0;
    display: grid;
    padding: 1rem;
    background: rgba(247, 251, 255, 0.96);
    border-bottom: 1px solid rgba(8, 38, 84, 0.08);
    transform: translateY(-120%);
    transition: transform 0.22s ease;
    box-shadow: var(--shadow-md);
  }

  body.nav-open .nav-links {
    transform: translateY(0);
  }

  .nav-links a,
  .nav-dropdown summary {
    padding: 0.9rem 1rem;
    border-radius: 16px;
  }

  .nav-dropdown {
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    min-width: 0;
    margin: 0.25rem 0 0.6rem;
    box-shadow: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    display: none;
  }

  .nav-dropdown[open] .dropdown-menu {
    display: grid;
  }

  .dropdown-menu a {
    padding: 0.85rem 1rem;
  }

  h1,
  .hero h1 {
    font-size: clamp(2.45rem, 11.5vw, 4.4rem);
  }

  .hero-visual {
    min-height: 470px;
  }

  .visual-card {
    width: 100%;
    inset: 0 auto auto 0;
  }

  .visual-phone {
    min-height: 420px;
  }

  .app-stack {
    gap: 0.75rem;
  }

  .app-mini {
    min-height: 170px;
    border-radius: 24px;
  }

  .app-mini img {
    width: 66px;
    height: 66px;
    border-radius: 18px;
  }

  .mock-metrics {
    grid-template-columns: 1fr;
    margin-top: 2.2rem;
  }

  .floating-pill {
    position: static;
    width: fit-content;
    margin: 0.85rem auto 0;
  }

  .grid.two,
  .grid.three,
  .grid.four,
  .privacy-points,
  .pathway,
  .ribbon,
  .calculator-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: auto;
  }

  .product-top img {
    width: 76px;
    height: 76px;
    border-radius: 20px;
  }

  .section,
  .hero,
  .page-hero {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .footer-shell {
    grid-template-columns: 1fr;
  }
}


@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f3f8ff;
    --ink-2: #d8ecff;
    --muted: #afc2d8;
    --soft: #07172d;
    --paper: #061326;
    --card: rgba(11, 28, 54, 0.78);
    --solid-card: #0b1c36;
    --line: rgba(214, 235, 255, 0.16);
    --brand-chip: rgba(255, 255, 255, 0.94);
    --shadow-sm: 0 12px 34px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 24px 70px rgba(0, 0, 0, 0.34);
    --shadow-lg: 0 38px 100px rgba(0, 0, 0, 0.44);
  }

  body {
    background:
      radial-gradient(circle at top left, rgba(39, 104, 255, 0.18), transparent 35rem),
      radial-gradient(circle at 90% 12rem, rgba(46, 212, 111, 0.13), transparent 32rem),
      linear-gradient(180deg, #061326 0%, #081b34 55%, #061326 100%);
    color: var(--ink);
  }

  .site-header {
    background: rgba(5, 15, 31, 0.86);
    border-bottom-color: rgba(214, 235, 255, 0.11);
  }

  .brand,
  .footer-brand img {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  }

  .nav-links a,
  .nav-dropdown summary {
    color: rgba(235, 245, 255, 0.82);
  }

  .nav-links a:hover,
  .nav-links a:focus-visible,
  .nav-links a.active,
  .nav-dropdown summary:hover,
  .nav-dropdown summary:focus-visible,
  .nav-dropdown summary.active {
    color: #ffffff;
    background: rgba(92, 151, 255, 0.18);
  }

  .dropdown-menu,
  .eyebrow,
  .badge,
  .button.secondary,
  .faq details,
  .floating-pill {
    background: rgba(13, 31, 59, 0.94);
    border-color: rgba(214, 235, 255, 0.14);
  }

  .dropdown-menu a span {
    color: var(--muted);
  }

  .button.ghost,
  .product-tag,
  .feature-list li,
  .card p,
  .step-card p,
  .legal-doc p,
  .legal-doc li,
  .faq p,
  .footer-brand p,
  .footer-col a,
  .footer-bottom,
  .section-head p,
  .ribbon span,
  .lede {
    color: var(--muted);
  }

  .card,
  .product-card.finance,
  .product-card.ledger {
    border-color: rgba(214, 235, 255, 0.14);
    background:
      radial-gradient(circle at top right, rgba(39, 104, 255, 0.13), transparent 22rem),
      var(--card);
  }

  .product-card.finance {
    background:
      radial-gradient(circle at top right, rgba(46, 212, 111, 0.13), transparent 22rem),
      var(--card);
  }

  .card::after {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 46%);
    opacity: 0.75;
  }

  .product-tag {
    background: rgba(214, 235, 255, 0.10);
  }

  .check {
    background: linear-gradient(135deg, rgba(46, 212, 111, 0.16), rgba(18, 169, 198, 0.14));
  }

  .visual-card {
    border-color: rgba(214, 235, 255, 0.18);
    background: linear-gradient(145deg, rgba(19, 46, 83, 0.88), rgba(12, 28, 54, 0.62));
  }

  .metric-tile,
  .app-mini,
  .privacy-point {
    border-color: rgba(255, 255, 255, 0.20);
  }

  .notice {
    background: rgba(18, 169, 198, 0.13);
    color: var(--ink-2);
  }

  .spec-row {
    border-top-color: var(--line);
  }

  .spec-row strong,
  .footer-col a:hover,
  .footer-col a:focus-visible {
    color: var(--ink);
  }

  .site-footer {
    background: rgba(5, 15, 31, 0.62);
    border-top-color: rgba(214, 235, 255, 0.11);
  }

  .logo-card {
    background: rgba(255, 255, 255, 0.92);
  }

  .menu-toggle {
    background: rgba(214, 235, 255, 0.12);
    color: var(--ink);
  }

  @media (max-width: 760px) {
    .nav-links {
      background: rgba(5, 15, 31, 0.98);
      border-bottom-color: rgba(214, 235, 255, 0.11);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
