:root {
  color-scheme: light;
  --marketing-max-width: 1320px;
  --ink: #101828;
  --muted: #5f6b7a;
  --soft: #eef4f8;
  --line: #d9e2ea;
  --paper: #ffffff;
  --blue: #1457e5;
  --blue-dark: #0d3896;
  --teal: #18a889;
  --teal-dark: #0f766e;
  --amber: #f59e0b;
  --surface: #f7fafc;
  --shadow: 0 24px 70px rgba(16, 24, 40, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

.marketing-container {
  width: min(var(--marketing-max-width), calc(100% - 40px));
  margin-right: auto;
  margin-left: auto;
}

.landing-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 64px);
  padding-right: max(clamp(20px, 4vw, 64px), calc((100vw - var(--marketing-max-width)) / 2));
  padding-left: max(clamp(20px, 4vw, 64px), calc((100vw - var(--marketing-max-width)) / 2));
  border-bottom: 1px solid rgba(217, 226, 234, 0.8);
  background: rgba(247, 250, 252, 0.92);
  backdrop-filter: blur(18px);
}

.landing-brand,
.landing-actions,
.landing-links,
.hero-actions,
.landing-footer {
  display: flex;
  align-items: center;
}

.landing-brand {
  gap: 10px;
}

.landing-brand img {
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(20, 87, 229, 0.16);
}

.landing-brand-text {
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 820;
  letter-spacing: 0;
}

.landing-links {
  gap: 28px;
  color: var(--muted);
  font-size: 0.94rem;
}

.landing-links a:hover,
.landing-login:hover,
.landing-footer a:hover {
  color: var(--blue);
}

.landing-actions {
  justify-content: flex-end;
  gap: 16px;
}

.landing-login {
  color: var(--muted);
  font-weight: 680;
}

.landing-button,
.landing-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  font-weight: 760;
  line-height: 1;
}

.landing-button {
  padding: 0 24px;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 14px 30px rgba(20, 87, 229, 0.22);
}

.landing-button:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.landing-button-small {
  min-height: 40px;
  padding: 0 18px;
  font-size: 0.92rem;
}

.landing-secondary {
  padding: 0 4px;
  color: var(--blue-dark);
}

.hero {
  min-height: calc(100vh - 78px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(247, 250, 252, 0.98) 72%),
    var(--surface);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
  min-height: inherit;
  padding-top: clamp(44px, 7vw, 96px);
  padding-bottom: clamp(36px, 6vw, 72px);
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: 5.8rem;
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 610px;
  color: var(--muted);
  font-size: 1.18rem;
  line-height: 1.7;
}

.hero-actions {
  gap: 18px;
  margin: 34px 0 42px;
}

.hero-points {
  display: grid;
  gap: 12px;
  max-width: 620px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  line-height: 1.55;
}

.hero-points li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--teal);
  content: "";
}

.product-preview {
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(217, 226, 234, 0.92);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.preview-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  background: #fbfdff;
  font-size: 0.9rem;
  font-weight: 720;
}

.preview-topbar img {
  width: 28px;
  height: auto;
}

.preview-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.preview-brand img {
  flex: 0 0 auto;
  border-radius: 8px;
}

.preview-brand strong {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 820;
}

.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 16px;
}

.preview-grid section {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.preview-balance {
  padding: 22px;
}

.preview-balance span,
.preview-chart > span,
.preview-alerts > span {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 760;
  text-transform: uppercase;
}

.preview-balance strong {
  display: block;
  margin-bottom: 8px;
  font-size: 3rem;
  line-height: 1;
}

.preview-balance small {
  color: var(--teal-dark);
  font-weight: 760;
}

.preview-accounts {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.preview-accounts div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.preview-accounts span,
.preview-summary span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 680;
}

.preview-accounts strong,
.preview-summary strong {
  font-size: 1rem;
}

.preview-chart {
  display: grid;
  grid-column: span 2;
  align-content: stretch;
  gap: 12px;
  padding: 20px;
  background:
    linear-gradient(#edf4fa 1px, transparent 1px) 0 0 / 100% 25%,
    #fff;
}

.line-chart {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: end;
  min-height: 118px;
  gap: 8px;
}

.line-chart i {
  display: block;
  border-radius: 7px 7px 2px 2px;
  background: linear-gradient(180deg, var(--teal), #7aa7ff);
}

.line-chart i:nth-child(1) { height: 42%; }
.line-chart i:nth-child(2) { height: 58%; }
.line-chart i:nth-child(3) { height: 46%; }
.line-chart i:nth-child(4) { height: 68%; }
.line-chart i:nth-child(5) { height: 61%; }
.line-chart i:nth-child(6) { height: 84%; }
.line-chart i:nth-child(7) { height: 74%; }

.preview-summary {
  grid-column: span 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.preview-summary div {
  padding: 18px;
}

.preview-summary div + div {
  border-left: 1px solid var(--line);
}

.preview-summary strong {
  display: block;
  margin-top: 8px;
  font-size: 1.2rem;
}

.preview-list,
.preview-alerts {
  padding: 10px 14px;
}

.preview-list div,
.preview-scopes div {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
}

.preview-list div + div,
.preview-scopes div + div {
  border-top: 1px solid var(--line);
}

.movement-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.movement-dot.income { background: var(--teal); }
.movement-dot.outcome { background: var(--amber); }
.movement-dot.neutral { background: var(--blue); }

.preview-list p {
  margin: 0;
}

.preview-list strong,
.preview-scopes strong {
  display: block;
  font-size: 0.96rem;
}

.preview-list small {
  color: var(--muted);
}

.preview-list b {
  font-weight: 820;
}

.preview-alerts {
  border-color: rgba(20, 87, 229, 0.28) !important;
  background: #f4f8ff !important;
}

.preview-alerts strong,
.preview-alerts small {
  display: block;
}

.preview-alerts strong {
  margin-bottom: 8px;
}

.preview-alerts small {
  color: var(--muted);
  line-height: 1.45;
}

.value-band,
.split-section,
.plans-band {
  padding: clamp(56px, 8vw, 100px) 0;
}

.value-band {
  background: #fff;
}

.value-band-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.value-band article,
.capability-list article,
.plan-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.value-band article {
  padding: 28px;
}

.feature-icon {
  display: inline-grid;
  width: 36px;
  height: 36px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--ink);
  font-weight: 820;
}

.value-band h2,
.split-section h2,
.plans-band h2 {
  margin-bottom: 16px;
  font-size: 3rem;
  line-height: 1.02;
}

.value-band p,
.split-section p,
.plans-band p,
.capability-list p,
.plan-grid p,
.plan-grid li {
  color: var(--muted);
  line-height: 1.65;
}

.split-section {
  padding: clamp(56px, 8vw, 100px) 0;
}

.split-section-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: start;
  gap: clamp(32px, 6vw, 84px);
}

.split-section-inner > div:first-child {
  position: sticky;
  top: 110px;
}

.capability-list {
  display: grid;
  gap: 16px;
}

.capability-list article {
  padding: 24px;
}

.capability-list h3,
.plan-grid h3 {
  margin-bottom: 10px;
  font-size: 1.24rem;
}

.capability-list p,
.plan-grid p,
.plan-grid ul {
  margin-bottom: 0;
}

.plans-band {
  background: #fff;
}

.plans-band-inner > div:first-child {
  max-width: 820px;
  margin-bottom: 30px;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.plan-grid article {
  padding: 30px;
}

.plan-grid ul {
  display: grid;
  gap: 10px;
  padding-left: 20px;
}

.featured-plan {
  border-color: rgba(20, 87, 229, 0.4) !important;
  box-shadow: 0 18px 44px rgba(20, 87, 229, 0.11);
}

.landing-footer {
  justify-content: center;
  gap: 24px;
  padding: 28px 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
}

.landing-footer span {
  color: var(--ink);
  font-weight: 820;
}

.feature-map-page {
  background: #fff;
}

.feature-map-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  align-items: end;
  gap: clamp(32px, 6vw, 84px);
  padding: clamp(56px, 8vw, 106px) clamp(20px, 5vw, 80px);
  background:
    linear-gradient(180deg, rgba(247, 250, 252, 0.65) 0%, #fff 100%),
    var(--surface);
}

.feature-map-hero h1 {
  max-width: 940px;
  font-size: 5rem;
}

.feature-map-summary {
  display: grid;
  gap: 16px;
}

.feature-map-summary article,
.feature-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.feature-map-summary article {
  padding: 24px;
  box-shadow: 0 18px 44px rgba(16, 24, 40, 0.08);
}

.feature-map-summary span {
  display: block;
  margin-bottom: 10px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 820;
  text-transform: uppercase;
}

.feature-map-summary strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.feature-map-summary p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.feature-story-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: clamp(42px, 6vw, 72px) clamp(20px, 5vw, 80px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.feature-story-band article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-story-band h2 {
  margin-bottom: 12px;
  font-size: 2rem;
}

.feature-story-band p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.feature-map-content {
  display: grid;
  gap: 72px;
  padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 80px);
}

.feature-group {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(28px, 5vw, 64px);
}

.feature-group-copy {
  position: sticky;
  top: 108px;
}

.feature-group-copy h2 {
  max-width: 460px;
  font-size: 2.8rem;
  line-height: 1.04;
}

.feature-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.feature-card-public {
  border-color: rgba(20, 87, 229, 0.36);
  box-shadow: 0 18px 44px rgba(20, 87, 229, 0.08);
}

.feature-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.feature-card h3 {
  margin-bottom: 0;
  font-size: 1.14rem;
  line-height: 1.28;
}

.feature-public-pill,
.feature-card-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 0.78rem;
  font-weight: 820;
  white-space: nowrap;
}

.feature-public-pill {
  color: var(--blue-dark);
  background: #eef4ff;
}

.feature-card:not(.feature-card-public) .feature-public-pill {
  color: var(--muted);
  background: var(--soft);
}

.feature-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-card-tags span {
  color: var(--muted);
  background: var(--soft);
}

.feature-card-tags .is-on {
  color: #0d5d4e;
  background: #dcf8f1;
}

.feature-card-tags .is-on.pro {
  color: var(--blue-dark);
  background: #eaf1ff;
}

.feature-card-tags .status {
  color: var(--ink);
  background: #fff4d8;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.feature-compare-page {
  background: #fff;
}

.feature-compare-main {
  padding: clamp(32px, 5vw, 64px) 0 clamp(64px, 8vw, 108px);
}

.feature-compare-intro {
  max-width: 860px;
  margin-bottom: 42px;
}

.feature-compare-intro h1 {
  margin-bottom: 18px;
  font-size: 3.8rem;
  line-height: 1;
}

.feature-compare-intro p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.65;
}

.compare-table-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 70px rgba(16, 24, 40, 0.08);
}

.compare-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.45fr);
  gap: 24px;
  align-items: end;
  padding: 30px;
  border-bottom: 1px solid var(--line);
  background: #fbfdff;
}

.compare-section-heading h2 {
  margin-bottom: 0;
  font-size: 2.2rem;
  line-height: 1.05;
}

.compare-section-heading > p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.compare-table-wrap {
  overflow-x: auto;
}

.compare-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}

.compare-table th,
.compare-table td {
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.compare-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: var(--muted);
  background: #fff;
  font-size: 0.78rem;
  font-weight: 820;
  text-transform: uppercase;
}

.compare-table thead th:not(:first-child),
.compare-table td:not(:first-child) {
  text-align: center;
}

.compare-group-row th {
  padding: 14px 22px;
  color: var(--blue-dark);
  background: #eef4ff;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.compare-table td:first-child strong,
.compare-table td:first-child span {
  display: block;
}

.compare-table td:first-child strong {
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 1rem;
}

.compare-table td:first-child span {
  color: var(--muted);
  font-size: 0.84rem;
}

.compare-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.05rem;
  font-weight: 820;
}

.compare-mark.is-enabled {
  color: #0d5d4e;
  background: #dcf8f1;
}

.compare-mark.is-enabled.pro {
  color: var(--blue-dark);
  background: #eaf1ff;
}

.compare-mark.is-disabled {
  color: var(--muted);
  background: transparent;
}

.communication-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
}

.communication-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.communication-grid h2 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.communication-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.future-strip {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: start;
  margin-top: 34px;
  padding: 30px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
}

.future-strip h2 {
  margin-bottom: 0;
  font-size: 2rem;
}

.future-strip .eyebrow,
.future-strip p {
  color: #9fe7d7;
}

.future-strip ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: #d8e2ee;
}

@media (max-width: 1040px) {
  .landing-nav {
    grid-template-columns: 1fr auto;
  }

  .landing-links {
    display: none;
  }

  .hero-inner,
  .split-section-inner,
  .feature-map-hero,
  .feature-group {
    grid-template-columns: 1fr;
  }

  .split-section-inner > div:first-child,
  .feature-group-copy {
    position: static;
  }

  .product-preview {
    max-width: 720px;
  }

  h1 {
    font-size: 4.6rem;
  }

  .feature-map-hero h1 {
    font-size: 4.1rem;
  }

  .value-band h2,
  .split-section h2,
  .plans-band h2,
  .feature-group-copy h2 {
    font-size: 2.5rem;
  }

  .compare-section-heading,
  .future-strip {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .landing-nav {
    gap: 12px;
    padding: 14px 16px;
  }

  .landing-brand-text,
  .landing-login {
    display: none;
  }

  .landing-button-small {
    min-height: 38px;
    padding: 0 14px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding-top: 42px;
  }

  h1 {
    font-size: 3.2rem;
  }

  .hero-lead {
    font-size: 1.05rem;
  }

  .preview-balance strong {
    font-size: 2.35rem;
  }

  .value-band h2,
  .split-section h2,
  .plans-band h2 {
    font-size: 2rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 280px;
  }

  .hero-points,
  .feature-story-band,
  .value-band-inner,
  .plan-grid,
  .preview-grid,
  .feature-card-grid {
    grid-template-columns: 1fr;
  }

  .feature-map-hero h1 {
    font-size: 3.2rem;
  }

  .feature-compare-intro h1 {
    font-size: 2.8rem;
  }

  .compare-section-heading {
    padding: 22px;
  }

  .compare-section-heading h2,
  .future-strip h2 {
    font-size: 1.75rem;
  }

  .preview-list,
  .preview-alerts,
  .preview-chart,
  .preview-summary {
    grid-column: auto;
  }

  .preview-summary {
    grid-template-columns: 1fr;
  }

  .preview-summary div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .preview-topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .preview-brand img {
    width: 28px;
  }

  .value-band article,
  .capability-list article,
  .plan-grid article {
    padding: 22px;
  }
}
