:root {
  color-scheme: light dark;
  --bg: #f4efe8;
  --bg-alt: #fffaf4;
  --panel: rgba(255, 255, 255, 0.74);
  --panel-strong: #fffdf8;
  --panel-muted: rgba(255, 255, 255, 0.5);
  --line: rgba(15, 23, 42, 0.08);
  --ink: #0f172a;
  --muted: #66758b;
  --muted-strong: #516074;
  --teal: #0f766e;
  --teal-strong: #0b5e58;
  --teal-soft: rgba(15, 118, 110, 0.12);
  --blue: #2563eb;
  --blue-soft: rgba(37, 99, 235, 0.12);
  --amber: #ea7a26;
  --amber-soft: rgba(234, 122, 38, 0.14);
  --coral: #f15f5c;
  --coral-soft: rgba(241, 95, 92, 0.12);
  --shadow: 0 24px 80px rgba(15, 23, 42, 0.12);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #07111f;
    --bg-alt: #0d1729;
    --panel: rgba(13, 23, 41, 0.76);
    --panel-strong: #0f1b2f;
    --panel-muted: rgba(34, 46, 70, 0.9);
    --line: rgba(255, 255, 255, 0.08);
    --ink: #f8fbff;
    --muted: #94a5be;
    --muted-strong: #c6d2e3;
    --teal: #29d7c3;
    --teal-strong: #17baa8;
    --teal-soft: rgba(41, 215, 195, 0.14);
    --blue: #76a7ff;
    --blue-soft: rgba(118, 167, 255, 0.16);
    --amber: #ffab6b;
    --amber-soft: rgba(255, 171, 107, 0.18);
    --coral: #ff8a88;
    --coral-soft: rgba(255, 138, 136, 0.18);
    --shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, var(--teal-soft), transparent 26rem),
    radial-gradient(circle at 85% 12%, var(--amber-soft), transparent 22rem),
    linear-gradient(180deg, var(--bg-alt), var(--bg));
}

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

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

.page-shell {
  width: min(1380px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 48px;
}

.topbar,
.feature-card,
.workflow-step,
.pricing-card,
.faq-grid article,
.footer,
.app-window {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border-radius: 24px;
  background: color-mix(in srgb, var(--panel) 88%, transparent);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

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

.brand-wordmark {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.nav,
.nav-actions,
.hero-actions,
.hero-proof,
.cred-strip,
.pricing-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.nav {
  justify-content: center;
  color: var(--muted-strong);
  gap: 20px;
}

.nav-actions {
  justify-content: flex-end;
  gap: 10px;
}

.nav-link,
.nav-cta,
.primary-btn,
.secondary-btn {
  min-height: 46px;
  min-width: 108px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.96rem;
  line-height: 1;
  white-space: nowrap;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nav-link,
.secondary-btn {
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--panel-muted);
}

.nav-cta,
.primary-btn {
  color: white;
  background: linear-gradient(135deg, var(--teal), var(--teal-strong));
  box-shadow: 0 14px 30px rgba(15, 118, 110, 0.25);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(420px, 0.88fr);
  gap: 8px;
  align-items: start;
  padding: 60px 0 16px;
}

.hero-copy {
  max-width: 650px;
  padding-top: 8px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
}

.hero h1,
.section-head h2,
.pricing-card h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.hero h1 {
  font-size: clamp(2.55rem, 4.7vw, 4.35rem);
  max-width: 11.5ch;
  line-height: 1.01;
}

.hero-text,
.section-copy,
.feature-card p,
.workflow-step p,
.pricing-card p,
.faq-grid p,
.footer-copy p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-text {
  max-width: 56ch;
  margin: 20px 0 0;
  font-size: 1rem;
}

.hero-actions {
  margin-top: 22px;
  gap: 12px;
}

.hero-proof {
  margin-top: 14px;
  color: var(--muted-strong);
  gap: 12px;
}

.hero-proof span,
.cred-strip span {
  padding: 10px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel-muted);
  color: var(--muted-strong);
  font-size: 0.96rem;
}

.announcement-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
  padding: 14px 18px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel) 92%, transparent);
  box-shadow: var(--shadow);
}

.announcement-bar p {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.6;
}

.announcement-pill,
.pledge-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.announcement-pill {
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  white-space: nowrap;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.app-window {
  width: min(100%, 560px);
  border-radius: 32px;
  overflow: hidden;
}

.product-shot {
  display: grid;
  grid-template-columns: 170px 1fr;
  min-height: 360px;
}

.mock-sidebar {
  padding: 18px 14px;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(12, 23, 40, 0.32), rgba(12, 23, 40, 0.08));
}

.mock-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.96rem;
}

.mock-logo img {
  width: 28px;
  height: 28px;
}

.mock-nav {
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.mock-nav span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-size: 0.92rem;
}

.mock-nav svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
  opacity: 0.9;
  flex: 0 0 auto;
}

.mock-nav .active {
  background: var(--teal-soft);
  color: var(--ink);
  border-color: var(--line);
}

.mock-main {
  padding: 16px;
  display: grid;
  gap: 12px;
}

.mock-summary,
.mock-grid {
  display: grid;
  gap: 12px;
}

.mock-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mock-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.mock-kicker {
  color: var(--teal);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
}

.mock-title {
  margin: 6px 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.3rem;
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.mock-subtitle {
  margin: 14px 0 0;
  max-width: 48ch;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.9rem;
}

.mock-filter-rows {
  display: grid;
  gap: 12px;
}

.mock-chip-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.mock-chip {
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel-muted);
  color: var(--muted-strong);
  font-weight: 700;
  font-size: 0.92rem;
}

.mock-chip.active {
  background: linear-gradient(135deg, var(--teal), var(--teal-strong));
  color: white;
  border-color: transparent;
}

.mock-chip.secondary-active {
  background: var(--blue);
  color: white;
  border-color: transparent;
}

.summary-card,
.mock-panel,
.table-card,
.tax-stack,
.info-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 22px;
}

.summary-card {
  padding: 14px;
}

.summary-card.accent {
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.94), rgba(11, 94, 88, 0.92));
  color: white;
  border-color: transparent;
}

.summary-label {
  display: block;
  color: var(--muted-strong);
  font-size: 0.85rem;
  font-weight: 700;
}

.summary-card.accent .summary-label,
.summary-card.accent small {
  color: rgba(255, 255, 255, 0.82);
}

.summary-card strong {
  display: block;
  margin: 12px 0 6px;
  font-size: 1.55rem;
  line-height: 1;
  font-family: "Space Grotesk", sans-serif;
}

.summary-split {
  display: flex;
  gap: 20px;
  margin-top: 14px;
}

.summary-split small {
  display: block;
  color: var(--muted-strong);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 700;
}

.mini-strong {
  margin-top: 8px;
  font-size: 1.18rem;
}

.mini-strong.income {
  color: var(--teal);
}

.mini-strong.expense {
  color: var(--coral);
}

.mock-grid {
  grid-template-columns: 1.15fr 0.85fr;
}

.mock-panel {
  padding: 14px;
}

.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-weight: 800;
}

.panel-pill {
  padding: 8px 12px;
  border-radius: 999px;
  color: white;
  background: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
}

.panel-pill.subtle {
  background: var(--panel-muted);
  color: var(--muted-strong);
}

.panel-meta {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.table-card,
.tax-stack {
  padding: 6px;
}

.row,
.tax-line {
  display: grid;
  grid-template-columns: 1.3fr 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 10px;
  border-radius: 14px;
}

.row + .row,
.tax-line + .tax-line {
  border-top: 1px solid var(--line);
}

.row span:nth-child(2) {
  color: var(--muted);
}

.tax-line {
  grid-template-columns: 1fr auto;
}

.tax-line.strong {
  margin-top: 6px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.mock-tag {
  margin-top: 14px;
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--panel-muted);
  border: 1px solid var(--line);
  color: var(--muted-strong);
  font-size: 0.82rem;
  font-weight: 700;
}

.portfolio-card {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 8px 2px 2px;
}

.portfolio-name {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 6px;
}

.portfolio-copy {
  color: var(--muted);
  font-size: 0.88rem;
}

.portfolio-profit,
.portfolio-loss,
.negative {
  color: var(--coral);
}

.portfolio-profit {
  color: var(--teal);
}

.positive {
  color: var(--teal);
}

.trend-stack {
  display: grid;
  gap: 10px;
}

.trend-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.mock-footer-note {
  align-self: start;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.88rem;
}

.cred-strip {
  justify-content: flex-start;
  max-width: 650px;
  padding: 18px 0 0;
  color: var(--muted-strong);
  gap: 14px;
}

.founder-pledge {
  margin-top: 22px;
  padding: 22px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.11), rgba(37, 99, 235, 0.11)),
    var(--panel);
  box-shadow: var(--shadow);
}

.founder-pledge-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.pledge-kicker {
  margin-bottom: 12px;
  color: var(--teal);
  background: var(--teal-soft);
}

.founder-pledge h3,
.pricing-card-secondary h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.pledge-price,
.pricing-price {
  min-width: 150px;
  display: grid;
  gap: 6px;
  justify-items: end;
}

.pledge-price strong,
.pricing-price strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.5rem;
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.pledge-price span,
.pricing-price span {
  color: var(--muted);
  font-size: 0.9rem;
  text-align: right;
}

.pledge-points,
.pricing-checks,
.pricing-note-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.pledge-points span,
.pricing-checks span,
.pricing-note-list span {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel-muted);
  color: var(--muted-strong);
  font-size: 0.92rem;
  font-weight: 700;
}

.section {
  padding: 52px 0;
}

.section-head {
  display: grid;
  gap: 16px;
  margin-bottom: 34px;
}

.section-head.split {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.7fr);
  align-items: end;
}

.section-head h2 {
  font-size: clamp(2rem, 3.6vw, 3.35rem);
  max-width: 14ch;
}

.section-copy {
  margin: 0;
}

.feature-grid,
.workflow-grid,
.faq-grid {
  display: grid;
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.workflow-step,
.pricing-card,
.faq-grid article,
.footer {
  border-radius: 30px;
}

.feature-card,
.workflow-step,
.faq-grid article {
  padding: 24px;
}

.feature-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  margin-bottom: 16px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.feature-icon.teal {
  background: var(--teal-soft);
  color: var(--teal);
}

.feature-icon.blue {
  background: var(--blue-soft);
  color: var(--blue);
}

.feature-icon.amber {
  background: var(--amber-soft);
  color: var(--amber);
}

.feature-icon.coral {
  background: var(--coral-soft);
  color: var(--coral);
}

.feature-card h3,
.workflow-step h3,
.faq-grid h3 {
  margin: 0 0 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.12rem;
  line-height: 1.25;
}

.workflow-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-no {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}

.pricing-card {
  padding: 38px;
}

.pricing-card-primary {
  text-align: left;
}

.pricing-card-primary h2 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2rem, 3.8vw, 3.2rem);
}

.pricing-card-primary p,
.pricing-card-secondary p {
  max-width: 48ch;
  margin: 18px 0 0;
}

.pricing-actions {
  justify-content: flex-start;
  margin-top: 26px;
}

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

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 30px;
  margin-top: 10px;
}

.footer-copy {
  max-width: 420px;
}

.footer-legal {
  margin-top: 10px;
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer-brand {
  margin-bottom: 12px;
}

.footer-actions {
  display: grid;
  gap: 12px;
  justify-items: end;
  color: var(--muted-strong);
}

.nav a:hover,
.nav-link:hover,
.nav-cta:hover,
.primary-btn:hover,
.secondary-btn:hover,
.footer-actions a:hover {
  transform: translateY(-1px);
}

@media (max-width: 1180px) {
  .hero,
  .section-head.split,
  .mock-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .workflow-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 980px) {
  .topbar {
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .product-shot {
    grid-template-columns: 1fr;
  }

  .app-window {
    transform: none;
  }

  .mock-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

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

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 1380px);
    padding-top: 12px;
  }

  .topbar {
    padding: 16px;
    gap: 14px;
    border-radius: 22px;
  }

  .brand {
    width: 100%;
    justify-content: flex-start;
  }

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

  .brand-wordmark {
    font-size: 1rem;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 18px;
    font-size: 0.95rem;
  }

  .nav-actions {
    width: 100%;
    justify-content: stretch;
    gap: 10px;
  }

  .nav-link,
  .nav-cta {
    flex: 1 1 0;
    min-width: 0;
    min-height: 44px;
    font-size: 0.95rem;
  }

  .hero {
    gap: 22px;
    padding-top: 42px;
  }

  .app-window {
    margin-right: 0;
  }

  .hero h1 {
    max-width: 9.8ch;
    font-size: clamp(2rem, 8.2vw, 3rem);
    line-height: 0.99;
    letter-spacing: -0.05em;
  }

  .hero-copy {
    max-width: none;
    padding-top: 0;
  }

  .eyebrow {
    margin-bottom: 12px;
    font-size: 0.72rem;
  }

  .hero-text {
    margin-top: 16px;
    font-size: 1rem;
    line-height: 1.65;
    max-width: 34ch;
  }

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

  .primary-btn,
  .secondary-btn {
    min-width: 0;
    min-height: 44px;
    padding: 0 16px;
    font-size: 0.95rem;
  }

  .hero-proof,
  .cred-strip,
  .pledge-points,
  .pricing-checks,
  .pricing-note-list {
    gap: 10px;
  }

  .announcement-bar,
  .founder-pledge-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .pledge-price,
  .pricing-price {
    justify-items: start;
  }

  .pledge-price span,
  .pricing-price span {
    text-align: left;
  }

  .hero-proof {
    margin-top: 14px;
  }

  .hero-proof span,
  .cred-strip span {
    padding: 9px 14px;
    font-size: 0.92rem;
  }

  .cred-strip {
    padding-top: 14px;
  }

  .feature-grid,
  .workflow-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
  }

  .footer-actions {
    justify-items: start;
  }
}
