:root {
  --bg: #f6f7f5;
  --surface: #ffffff;
  --surface-soft: #edf3ef;
  --ink: #172033;
  --muted: #59636e;
  --border: #d9e0dc;
  --primary: #1f6f68;
  --primary-dark: #174f4a;
  --navy: #123050;
  --success: #2e7d58;
  --danger: #c4514a;
  --warning: #a86522;
  --accent: #8a4f2a;
  --shadow: 0 18px 50px rgba(23, 32, 51, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

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

h1,
h2,
h3 {
  letter-spacing: 0;
  line-height: 1.08;
}

h1 {
  max-width: 760px;
  margin-bottom: 1.25rem;
  font-size: 4rem;
}

h2 {
  margin-bottom: 1rem;
  font-size: 2.45rem;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: 1.18rem;
}

p {
  color: var(--muted);
  font-size: 1.02rem;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 40;
  padding: 0.75rem 1rem;
  color: #ffffff;
  background: var(--navy);
  border-radius: 8px;
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(217, 224, 220, 0.88);
  background: rgba(246, 247, 245, 0.94);
  backdrop-filter: blur(14px);
}

.nav-shell,
.section-shell {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.nav-shell {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: max-content;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.3rem;
  flex: 1;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--primary);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.8rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.nav-cta {
  color: #ffffff;
  background: var(--primary);
}

.nav-cta:hover,
.button.primary:hover {
  background: var(--primary-dark);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 720px;
  overflow: hidden;
  background: var(--surface-soft);
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--border);
  content: "";
}

.hero-visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-mark {
  position: absolute;
  right: 5%;
  bottom: -72px;
  width: 430px;
  opacity: 0.1;
}

.product-preview {
  position: relative;
  width: 100%;
  padding: 1rem;
  border: 1px solid rgba(31, 111, 104, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  transform: rotate(-1deg);
}

.preview-topbar,
.saving-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
}

.preview-topbar span,
.saving-row span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.preview-topbar strong,
.saving-row strong {
  color: var(--primary);
}

.eye-symbol {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 22px;
  height: 14px;
  border: 2px solid #6e7176;
  border-radius: 999px / 760px;
}

.eye-symbol::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  background: #6e7176;
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
}

.summary-panel {
  margin-top: 0.7rem;
  padding: 0.9rem;
  border: 1px solid rgba(31, 111, 104, 0.18);
  border-radius: 8px;
  background: #ffffff;
}

.summary-title,
.details-link {
  display: block;
  color: #59636e;
  font-size: 0.78rem;
  font-weight: 800;
}

.summary-card {
  margin-block: 0.75rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid #e8ad4d;
  border-top-width: 3px;
  border-radius: 8px;
  background: #fff6e8;
}

.summary-card small {
  display: block;
  margin-bottom: 0.25rem;
  color: #9a5f04;
  font-weight: 850;
}

.summary-card strong {
  color: #9a5f04;
  font-size: 1.45rem;
  letter-spacing: 0.08em;
}

.preview-period {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  margin-block: 0.9rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.preview-period strong {
  display: block;
  margin-top: 0.2rem;
  color: var(--ink);
  font-size: 0.84rem;
}

.month-pill {
  min-width: max-content;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(31, 111, 104, 0.38);
  border-radius: 8px;
  color: var(--primary-dark);
  background: #ffffff;
  font-weight: 900;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.65rem;
  margin-block: 0.7rem;
}

.metric {
  min-width: 0;
  padding: 0.7rem 0.55rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
}

.metric small {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.metric strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 0.82rem;
  white-space: nowrap;
}

.metric.income strong,
.metric.paid strong,
.metric.leftover strong {
  color: var(--success);
}

.metric.expense strong {
  color: var(--danger);
}

.metric.pending strong {
  color: var(--warning);
}

.preview-table {
  display: grid;
  grid-template-columns: 72px 58px minmax(96px, 1fr) 88px 54px 76px;
  gap: 0;
  margin-top: 0.7rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
}

.preview-table span {
  min-height: 38px;
  padding: 0.6rem 0.5rem;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
  font-size: 0.68rem;
}

.preview-table span:nth-last-child(-n + 6) {
  border-bottom: 0;
}

.preview-table .table-head {
  color: var(--muted);
  background: #f8faf8;
  font-weight: 800;
}

.preview-table b {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding-inline: 0.55rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: #51606f;
  background: #ffffff;
  font-size: 0.66rem;
  font-weight: 800;
  white-space: nowrap;
}

.checked::before {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: #ffffff;
  background: var(--primary);
  border-radius: 4px;
  content: "✓";
  font-size: 0.78rem;
  font-weight: 900;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(460px, 0.82fr);
  align-items: center;
  gap: 4rem;
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
  padding-block: 7rem 5rem;
}

.hero-text {
  min-width: 0;
}

.eyebrow {
  margin-bottom: 0.85rem;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 1.6rem;
  color: #334154;
  font-size: 1.22rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.4rem;
}

.button.primary {
  color: #ffffff;
  background: var(--primary);
}

.button.secondary {
  color: var(--primary-dark);
  background: #ffffff;
  border-color: var(--border);
}

.button.secondary:hover {
  border-color: var(--primary);
}

.button.large {
  min-width: 220px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  max-width: 760px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(31, 111, 104, 0.2);
  border-radius: 8px;
  color: #334154;
  background: rgba(255, 255, 255, 0.68);
  font-size: 0.94rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.search-intent {
  background: var(--navy);
}

.search-intent p {
  max-width: 980px;
  margin: 0;
  padding-block: 1.6rem;
  color: #edf3ef;
  font-size: 1.08rem;
}

.section {
  padding-block: 6rem;
}

.split-section {
  background: #ffffff;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 4rem;
}

.copy-stack p:last-child {
  margin-bottom: 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2.2rem;
}

.section-heading.compact {
  max-width: 660px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature-card,
.comparison-block,
.faq-list details {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.feature-card {
  min-height: 230px;
  padding: 1.35rem;
}

.feature-card p,
.comparison-block p,
.comparison-block li,
.faq-list p {
  font-size: 0.98rem;
}

.feature-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 1.4rem;
  color: #ffffff;
  background: var(--primary);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 900;
}

.process-section {
  background: var(--surface-soft);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  gap: 1rem;
  align-content: start;
  min-height: 260px;
  padding: 1.35rem;
  border: 1px solid rgba(31, 111, 104, 0.18);
  border-radius: 8px;
  background: #ffffff;
}

.process-list li > span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #ffffff;
  background: var(--navy);
  border-radius: 8px;
  font-weight: 900;
}

.comparison-section {
  background: #ffffff;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.comparison-block {
  padding: 1.5rem;
}

.comparison-block h3 {
  color: var(--primary-dark);
}

.comparison-block ul {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding-left: 1.2rem;
}

.comparison-block li {
  color: var(--muted);
}

.muted-block {
  background: #fbfcfb;
}

.muted-block h3 {
  color: var(--accent);
}

.cta-section {
  background: var(--navy);
}

.cta-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-shell h2,
.cta-shell p {
  color: #ffffff;
}

.cta-shell .eyebrow {
  color: #9ee0d3;
}

.cta-shell p {
  max-width: 660px;
  opacity: 0.9;
}

.faq-list {
  display: grid;
  gap: 0.85rem;
}

.faq-list details {
  padding: 1rem 1.2rem;
}

.faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 850;
}

.faq-list p {
  margin: 0.85rem 0 0;
}

.site-footer {
  padding-block: 2rem;
  border-top: 1px solid var(--border);
  background: #ffffff;
}

.footer-shell {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-brand img {
  width: 36px;
  height: 36px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-contact,
.footer-links a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 750;
  text-decoration: none;
}

.footer-contact:hover,
.footer-contact:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--primary);
}

.site-footer p {
  margin: 0;
  font-size: 0.94rem;
}

.footer-note {
  margin-left: auto;
}

.legal-main {
  min-height: calc(100vh - 72px);
  padding-block: 5rem;
  background: var(--surface-soft);
}

.legal-article {
  width: min(860px, calc(100% - 32px));
  margin-inline: auto;
  padding: clamp(1.4rem, 4vw, 3rem);
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 14px 36px rgba(23, 32, 51, 0.08);
}

.legal-article h1 {
  max-width: 760px;
  margin-bottom: 0.7rem;
  font-size: clamp(2.1rem, 6vw, 3.2rem);
}

.legal-article h2 {
  margin-top: 2rem;
  margin-bottom: 0.65rem;
  font-size: 1.35rem;
}

.legal-article p,
.legal-article li {
  color: var(--muted);
  font-size: 1rem;
}

.legal-article a {
  color: var(--primary-dark);
  font-weight: 800;
}

.legal-article ul {
  display: grid;
  gap: 0.55rem;
  margin: 0.8rem 0 0;
  padding-left: 1.2rem;
}

.legal-date {
  margin-bottom: 1.8rem;
  color: #6b737d;
  font-size: 0.94rem;
}

.contact-email {
  margin-block: 1.4rem 2rem;
  padding: 1rem;
  border: 1px solid rgba(31, 111, 104, 0.22);
  border-radius: 8px;
  background: var(--surface-soft);
  font-size: 1.15rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.contact-grid section {
  padding: 1.2rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
}

.contact-grid h2 {
  margin-top: 0;
}

@media (max-width: 1040px) {
  h1 {
    font-size: 3.1rem;
  }

  h2 {
    font-size: 2.1rem;
  }

  .hero {
    min-height: auto;
    align-items: start;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-top: 6rem;
  }

  .product-preview {
    width: min(560px, calc(100% - 48px));
    margin-inline: auto;
  }

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

  .split-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 760px) {
  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  p,
  .hero-copy {
    font-size: 1rem;
  }

  .nav-shell {
    width: 100%;
    min-height: auto;
    padding-block: 0.8rem;
    padding-inline: 16px;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .brand {
    flex: 1;
    min-width: 0;
  }

  .brand span {
    font-size: 0.98rem;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    min-height: 40px;
    max-width: 136px;
    padding: 0.65rem 0.75rem;
    font-size: 0.86rem;
    line-height: 1.1;
    text-align: center;
    white-space: normal;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    width: 100%;
    padding-block: 4.2rem 3rem;
    padding-inline: 16px;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-points {
    display: grid;
  }

  .product-preview {
    max-width: 100%;
    min-width: 0;
    width: 100%;
    padding: 0.75rem;
  }

  .preview-topbar strong,
  .saving-row strong {
    overflow-wrap: anywhere;
  }

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

  .metric.leftover {
    grid-column: span 2;
  }

  .preview-table {
    grid-template-columns: 70px 56px minmax(96px, 1fr) 82px 54px;
  }

  .preview-table span:nth-child(6n),
  .preview-table span:nth-child(6) {
    display: none;
  }

  .preview-table span:nth-last-child(-n + 6) {
    border-bottom: 1px solid var(--border);
  }

  .preview-table span:nth-last-child(-n + 5) {
    border-bottom: 0;
  }

  .section {
    padding-block: 4rem;
  }

  .section-shell {
    width: 100%;
    padding-inline: 16px;
  }

  .feature-grid,
  .process-list,
  .comparison-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .process-list li {
    min-height: auto;
  }

  .cta-shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-shell .button {
    width: 100%;
  }

  .footer-shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-note {
    margin-left: 0;
  }
}

@media (max-width: 420px) {
  .product-preview {
    width: 100%;
  }

  .preview-topbar,
  .saving-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.3rem;
  }
}
