@font-face {
  font-family: "General Sans";
  src: url("/assets/fonts/general-sans-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "General Sans";
  src: url("/assets/fonts/general-sans-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("/assets/fonts/source-sans-3-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #FFFFFF;
  --alt: #F5F5F7;
  --text: #1D1D1F;
  --secondary: #6E6E73;
  --border: #D2D2D7;
  --button: #0B6E4F;
  --button-text: #FFFFFF;
  --link: #0B6E4F;
  --shadow: #1D1D1F12;
  --soft-shadow: #1D1D1F0A;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Source Sans 3", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--link);
  text-underline-offset: .16em;
}

a:hover {
  text-decoration-thickness: 2px;
}

button,
a,
.capture-link,
.capture-link img {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--link);
  outline-offset: 4px;
}

h1,
h2,
h3 {
  font-family: "General Sans", Arial, sans-serif;
  letter-spacing: -.035em;
}

.price {
  font-family: "Manrope", Arial, sans-serif;
  letter-spacing: -.035em;
}

h1,
h2,
h3 {
  max-inline-size: 28ch;
  overflow-wrap: normal;
  text-wrap: pretty;
  text-wrap: balance;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: clamp(3.25rem, 8vw, 6.8rem);
  font-weight: 700;
  line-height: .96;
}

h2 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(1.9rem, 3.1vw, 2.8rem);
  font-weight: 700;
  line-height: 1.02;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
}

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

.narrow {
  width: min(820px, calc(100% - 40px));
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  transform: translateY(-150%);
  border-radius: 8px;
  background: var(--button);
  color: var(--button-text);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(210, 210, 215, .72);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  flex: 0 0 auto;
}

.brand {
  color: #1D1D1F;
  text-decoration: none;
}

.wordmark {
  color: #1D1D1F;
  font-family: "General Sans", Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 34px);
  margin-left: auto;
}

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

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 1px solid var(--button);
  border-radius: 999px;
  background: var(--button);
  color: var(--button-text);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  transition: transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.button-small {
  min-height: 42px;
  padding: 10px 17px;
  font-size: .9rem;
}

.button-block {
  width: 100%;
}

.text-link {
  font-weight: 700;
}

.lede {
  max-width: 680px;
  margin-bottom: 22px;
  color: var(--secondary);
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
  line-height: 1.42;
}

.small-print {
  margin: 16px 0 0;
  color: var(--secondary);
  font-size: .92rem;
}

.summary-secondary { width: min(100%, 300px); margin-top: 0; }
.ledger-capture { margin-top: 18px; }
.operator-note { margin: 20px auto 0; color: var(--secondary); font-size: 16px !important; }

#demo,
section[id] {
  scroll-margin-top: 100px;
}

.proof-pair {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 18px;
}

.proof-pair > *,
.trust-proof > * {
  min-width: 0;
}

.capture-link {
  display: block;
  border-radius: 16px;
  cursor: zoom-in;
}

.media-frame .capture-link img {
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgb(29 29 31 / .06);
}

.ledger-capture {
  margin-top: 28px;
}

.records-table {
  width: 100%;
  table-layout: fixed;
  border-spacing: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg);
  box-shadow: 0 4px 14px rgb(29 29 31 / .06);
  font-size: 14px;
  line-height: 1.35;
  font-variant-numeric: tabular-nums;
}
.records-table .record-date { width: 21%; }
.records-table .record-supplier { width: 29%; }
.records-table th, .records-table td { padding: 12px 7px; vertical-align: top; text-align: left; overflow-wrap: break-word; }
.records-table thead { background: var(--alt); }
.records-table tbody th { font-weight: 400; }
.records-table tbody tr + tr > * { border-top: 1px solid var(--border); }
.records-table td:nth-child(n+3), .records-table thead th:nth-child(n+3) { text-align: right; }
.summary-secondary.year-totals { width: min(100%, 528px); }
.media-frame.year-totals img { padding: 8px; background: #FFFFFF; }

.summary-proof {
  display: grid;
  gap: 24px;
  min-width: 0;
}

.media-frame.menu-capture {
  width: min(100%, 330px);
}

.trust-proof {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  max-width: 980px;
  margin-top: 44px;
}

.capture-dialog {
  width: min(1080px, calc(100% - 24px));
  max-height: calc(100svh - 24px);
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg);
  color: var(--text);
}

.capture-dialog::backdrop {
  background: rgb(0 0 0 / .7);
}

.capture-dialog-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.capture-dialog-bar p {
  margin: 0;
  font-weight: 600;
  line-height: 1.3;
}

.capture-close {
  flex-shrink: 0;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--alt);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

#capture-image {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(100svh - 140px);
  margin-inline: auto;
  object-fit: contain;
}

figcaption {
  margin-top: 12px;
  color: var(--secondary);
  font-size: .88rem;
  line-height: 1.4;
  text-align: center;
}

.section {
  padding-block: clamp(69px, 8.25vw, 123px);
}

.section-alt,
.final-cta {
  background: var(--alt);
}

.section-intro {
  max-width: 720px;
  margin-bottom: 46px;
  color: var(--secondary);
  font-size: 1.25rem;
}

.feature-card p,
.section-copy > p,
.trust-copy p {
  color: var(--secondary);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .92fr);
  align-items: center;
  gap: clamp(54px, 9vw, 120px);
}

.split > * {
  min-width: 0;
}

.split-reverse .section-copy {
  order: 2;
}

.split-reverse .media-frame {
  order: 1;
}

.tick-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.tick-list li {
  position: relative;
  padding-left: 28px;
}

.tick-list li::before {
  position: absolute;
  top: .15em;
  left: 0;
  color: var(--link);
  content: "✓";
  font-weight: 700;
}

.media-frame {
  min-width: 0;
  margin: 0;
}

.media-frame img {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 4px 14px rgb(29 29 31 / .06);
}

.media-frame.capture-pair img {
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.media-frame.portrait {
  width: min(100%, 520px);
  margin-inline: auto;
}

.media-frame.wide {
  width: min(100%, 500px);
  margin-top: 56px;
}

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

.feature-section {
  padding-block: clamp(57px, 6vw, 84px) clamp(44px, 4.5vw, 62px);
}

.feature-card {
  min-height: 0;
  padding: 28px 0 30px;
  border-top: 1px solid var(--border);
  background: transparent;
}

.feature-card h3 {
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

.message-list {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.message-list p {
  margin: 0;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--alt);
  font-weight: 600;
}

.trust-copy {
  max-width: 800px;
}

.price-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 440px);
  align-items: center;
  gap: clamp(48px, 9vw, 130px);
}

.price-card {
  padding: clamp(30px, 5vw, 48px);
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--bg);
  box-shadow: 0 24px 70px var(--soft-shadow);
}

.price {
  margin-bottom: 12px;
  font-size: 1.2rem;
  font-weight: 650;
}

.price span {
  font-size: clamp(3.4rem, 6vw, 5rem);
  font-weight: 760;
}

.compact {
  margin-block: 28px;
}

.faq-list {
  margin-top: 42px;
  border-top: 1px solid var(--border);
}

.faq-list details {
  border-bottom: 1px solid var(--border);
}

.faq-list summary {
  padding: 24px 36px 24px 0;
  cursor: pointer;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 1.14rem;
  font-weight: 700;
}

.faq-list details p {
  max-width: 680px;
  padding-bottom: 24px;
  color: var(--secondary);
}

.final-cta {
  padding-block: clamp(69px, 9vw, 120px);
  text-align: center;
}

.final-cta h2,
.final-cta p {
  margin-inline: auto;
}

.final-cta > div > p:not(.small-print) {
  color: var(--secondary);
  font-size: 1.25rem;
}

.site-footer {
  padding-block: 64px 32px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr .7fr .8fr 1fr;
  gap: 40px;
}

.site-footer h2 {
  margin-bottom: 16px;
  font-size: 1rem;
  letter-spacing: 0;
}

.site-footer p,
.site-footer a {
  color: var(--secondary);
  font-size: .94rem;
}

.site-footer a {
  display: block;
  width: fit-content;
  margin-bottom: 9px;
}

.footer-note {
  grid-column: 1 / -1;
  margin: 28px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.content-header {
  padding-block: clamp(76px, 9vw, 126px) 58px;
  border-bottom: 1px solid var(--border);
}

.content-header h1 {
  max-width: 920px;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
}

.content-header p {
  max-width: 760px;
  color: var(--secondary);
  font-size: 1.18rem;
}

.prose {
  width: min(760px, calc(100% - 40px));
  margin-inline: auto;
  padding-block: 64px 120px;
}

.prose h2 {
  margin-top: 58px;
  font-size: clamp(1.8rem, 4vw, 2.55rem);
  letter-spacing: -.025em;
}

.prose h3 {
  margin-top: 34px;
}

.prose p,
.prose li {
  color: #3A3A3C;
}

.prose li + li {
  margin-top: 8px;
}

.notice {
  margin-block: 28px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--alt);
  color: var(--text);
  font-weight: 600;
}

.confirm-marker {
  display: inline;
  padding: 1px 5px;
  border: 1px solid currentColor;
  border-radius: 4px;
  color: #A10000;
  font-weight: 700;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding-block: 54px 120px;
}

.article-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--bg);
  color: var(--text);
  text-decoration: none;
}

.article-card:hover {
  border-color: var(--text);
  text-decoration: none;
}

.article-card p {
  color: var(--secondary);
}

.article-card span {
  margin-top: auto;
  color: var(--link);
  font-weight: 700;
}

.article-cta {
  margin-top: 60px;
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--alt);
}

.reveal-media.reveal-once {
  opacity: 1;
  transform: translateY(12px);
}

.reveal-media.reveal-once.is-visible {
  animation: media-fade-up 360ms ease-out both;
}

@keyframes media-fade-up {
  from {
    opacity: .9;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .split,
  .price-layout {
    grid-template-columns: 1fr;
  }

  .split-reverse .section-copy,
  .split-reverse .media-frame {
    order: initial;
  }
}

@media (max-width: 680px) {
  .records-table { font-size: 12px; }
  .records-table th, .records-table td { padding: 10px 4px; }
  .records-table thead { font-size: 11px; }
  .records-table time { font-size: 10.5px; white-space: nowrap; }
  .media-frame .density-capture { width: min(100%, var(--phone-capture-width)); }
  body {
    font-size: 17px;
  }

  .shell,
  .narrow,
  .prose {
    width: min(100% - 32px, 1180px);
  }

  .nav-wrap {
    min-height: 64px;
  }

  .wordmark {
    font-size: 1.35rem;
  }

  .button-small {
    min-height: 40px;
    padding-inline: 14px;
  }

  .summary-secondary { width: min(100%, 340px); }

  .section {
    padding-block: 48px;
  }

  .split { gap: 28px; }
  .section h2, .final-cta h2 { font-size: 30px; line-height: 1.1; }
  .section-intro { margin-bottom: 24px; font-size: 18px; }

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

  .feature-section {
    padding-block: 44px 32px;
  }

  .final-cta {
    padding-block: 48px;
  }

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

  .proof-pair,
  .trust-proof {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .receipt-photo {
    width: min(100%, 250px);
    margin-inline: auto;
  }

  .trust-proof {
    margin-top: 32px;
  }

  .capture-dialog {
    padding: 12px;
  }

  .capture-dialog-bar p {
    font-size: .95rem;
  }

  .footer-note {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .reveal-media,
  .reveal-media .capture-link,
  .reveal-media > img {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    animation-timeline: auto !important;
  }
}
