:root {
  --primary: #185c5d;
  --primary-deep: #104849;
  --background: #f7f4ec;
  --surface: #fbfaf5;
  --text: #182322;
  --muted: rgba(24, 35, 34, .68);
  --line: rgba(24, 92, 93, .19);
  --warning: #f2c94c;
  --danger: #e04d4d;
  --font-display: "Recoleta", "Fraunces", Georgia, serif;
  --font-body: "Satoshi", "DM Sans", Arial, sans-serif;
  --container: 1240px;
  --radius: 14px;
  --radius-lg: 22px;
  --section-space: clamp(6rem, 10vw, 10rem);
  --shadow-soft: 0 24px 70px rgba(24, 35, 34, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; background: var(--background); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid var(--warning); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 200; top: .75rem; left: .75rem; transform: translateY(-150%); background: var(--primary); color: var(--background); padding: .7rem 1rem; border-radius: 8px; }
.skip-link:focus { transform: none; }
.container { width: min(calc(100% - 3rem), var(--container)); margin-inline: auto; }
.narrow { max-width: 1040px; }
.section { padding-block: var(--section-space); }

h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--font-display); color: var(--primary); font-weight: 500; letter-spacing: -.045em; line-height: 1.02; }
h1 { font-size: clamp(3.5rem, 6vw, 6.3rem); margin-bottom: 1.7rem; }
h2 { font-size: clamp(2.7rem, 4.4vw, 4.7rem); margin-bottom: 1.5rem; max-width: 900px; }
h3 { line-height: 1.2; }
.eyebrow, .section-kicker { color: var(--primary); font-size: .75rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 1.35rem; }
.section-heading { margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-lead { color: var(--muted); font-size: 1.12rem; max-width: 640px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: .85rem 1.35rem; border: 1px solid var(--primary); border-radius: 9px; background: var(--primary); color: #fff; font-weight: 600; line-height: 1; transition: background .2s ease, transform .2s ease, border-color .2s ease; }
.button:hover { background: var(--primary-deep); border-color: var(--primary-deep); transform: translateY(-2px); }
.button-small { min-height: 42px; padding: .7rem 1rem; }
.button-light { background: var(--background); border-color: var(--background); color: var(--primary); }
.button-light:hover { background: #fff; border-color: #fff; }
.button-outline { background: transparent; color: var(--primary); }
.button-outline:hover { color: #fff; }

.site-header { position: sticky; z-index: 100; top: 0; background: rgba(247, 244, 236, .93); border-bottom: 1px solid transparent; backdrop-filter: blur(12px); transition: border-color .2s ease; }
.site-header.is-scrolled { border-color: var(--line); }
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; }
.brand { color: var(--primary); font-family: var(--font-display); font-size: 1.65rem; font-weight: 600; letter-spacing: -.035em; line-height: 1; }
.primary-nav { display: flex; align-items: center; gap: clamp(1rem, 2.3vw, 2rem); color: var(--muted); font-size: .92rem; font-weight: 500; }
.primary-nav > a:not(.button) { position: relative; padding-block: .5rem; }
.primary-nav > a:not(.button)::after { content: ""; position: absolute; right: 0; bottom: .2rem; left: 0; height: 1px; background: var(--primary); transform: scaleX(0); transform-origin: right; transition: transform .2s ease; }
.primary-nav > a:not(.button):hover { color: var(--primary); }
.primary-nav > a:not(.button):hover::after { transform: scaleX(1); transform-origin: left; }
.login-link { margin-left: .3rem; }
.menu-button { display: none; border: 0; background: transparent; padding: .7rem; }

.hero { min-height: calc(100vh - 76px); display: grid; align-items: center; padding-block: clamp(3.5rem, 7vw, 6.8rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(530px, 1.1fr); align-items: center; gap: clamp(3rem, 6vw, 7rem); }
.hero-copy { max-width: 610px; }
.hero h1 { font-size: clamp(3.5rem, 5vw, 5.5rem); }
.hero-intro { max-width: 590px; color: var(--muted); font-size: clamp(1.08rem, 1.4vw, 1.25rem); line-height: 1.65; margin-bottom: 2rem; }
.hero-action { display: flex; align-items: center; gap: 1.7rem; }
.quiet-link { color: var(--primary); font-size: .92rem; font-weight: 600; }
.quiet-link span { display: inline-block; margin-left: .25rem; transition: transform .2s ease; }
.quiet-link:hover span { transform: translateY(3px); }
.microcopy { color: var(--muted); font-size: .82rem; margin: .7rem 0 0 .1rem; }

.product-demo { position: relative; min-height: 580px; }
.invoice-sheet, .result-card { position: absolute; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.invoice-sheet { top: 3%; left: 0; z-index: 1; width: 57%; min-height: 500px; padding: 2rem; transform: rotate(-2deg); border-radius: 5px; }
.invoice-sheet::before { content: ""; position: absolute; inset: 0; opacity: .23; pointer-events: none; background-image: repeating-linear-gradient(0deg, transparent, transparent 4px, rgba(24,35,34,.025) 5px); }
.paper-topline { display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .63rem; line-height: 1.5; text-align: right; }
.paper-topline strong { color: var(--text); font-size: .8rem; }
.paper-mark { display: grid; place-items: center; width: 42px; height: 42px; background: var(--primary); color: #fff; font-family: var(--font-display); font-size: 1rem; border-radius: 50%; }
.paper-rule { height: 2px; background: var(--primary); margin: 1.5rem 0; }
.paper-label { color: var(--muted); font-size: .62rem; text-transform: uppercase; letter-spacing: .09em; margin-bottom: .2rem; }
.paper-value { font-weight: 600; font-size: .88rem; }
.paper-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.4rem 0; }
.paper-columns div { display: flex; flex-direction: column; gap: .2rem; }
.paper-columns span, .paper-table-head { color: var(--muted); font-size: .62rem; }
.paper-columns strong { font-size: .73rem; }
.paper-table { border-block: 1px solid var(--line); }
.paper-table > div { display: grid; grid-template-columns: 1fr 42px 60px; gap: .5rem; padding: .8rem .2rem; font-size: .7rem; }
.paper-table > div span:nth-child(n+2) { text-align: right; }
.paper-table-head { padding-block: .55rem !important; text-transform: uppercase; letter-spacing: .06em; }
.faint-row { color: var(--muted); border-top: 1px solid rgba(24,92,93,.1); }
.paper-total { display: flex; justify-content: flex-end; align-items: baseline; gap: 1rem; margin-top: 1.3rem; font-size: .72rem; }
.paper-total strong { color: var(--primary); font-family: var(--font-display); font-size: 1.45rem; }
.result-card { right: 0; bottom: 2%; z-index: 3; width: 59%; padding: 1.7rem; border-radius: var(--radius); }
.result-heading { display: flex; align-items: center; gap: .8rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.result-heading > div { display: flex; flex-direction: column; }
.result-heading span:not(.check-icon) { color: var(--muted); font-size: .68rem; }
.result-heading strong { color: var(--primary); font-size: .9rem; }
.check-icon { flex: 0 0 auto; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--primary); color: #fff; }
.check-icon svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.result-card dl { margin: 0; }
.result-card dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .77rem 0; border-bottom: 1px solid rgba(24,92,93,.1); font-size: .76rem; }
.result-card dt { color: var(--muted); }
.result-card dd { margin: 0; text-align: right; font-weight: 600; }
.result-card .credit-row { margin-top: .55rem; padding: .9rem; background: rgba(24,92,93,.07); border: 0; border-radius: 8px; color: var(--primary); }
.process-connector { position: absolute; z-index: 2; top: 42%; left: 49%; width: 60px; display: flex; align-items: center; color: var(--primary); }
.process-connector span { width: 100%; height: 1px; background: currentColor; }
.process-connector svg { width: 20px; flex: 0 0 auto; margin-left: -8px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.demo-caption { position: absolute; z-index: 4; right: 2%; bottom: -1.6rem; left: 2%; display: flex; justify-content: space-between; color: var(--muted); font-size: .65rem; text-transform: uppercase; letter-spacing: .1em; }

.problem-section { border-top: 1px solid var(--line); }
.problem-section h2 { max-width: 870px; }
.problem-list { margin-top: 4rem; border-top: 1px solid var(--line); }
.problem-list article { display: grid; grid-template-columns: 90px 1fr; gap: 1rem; padding: 1.8rem 0; border-bottom: 1px solid var(--line); }
.problem-list article > span { color: var(--primary); font-family: var(--font-display); font-size: 1.1rem; }
.problem-list h3 { color: var(--text); font-family: var(--font-display); font-size: 1.55rem; font-weight: 500; margin: 0 0 .35rem; }
.problem-list p { color: var(--muted); margin: 0; max-width: 640px; }

.how-section { background: var(--primary); color: var(--background); }
.how-section h2, .how-section .section-kicker { color: var(--background); }
.journey { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 5vw, 5.5rem); }
.journey-line { position: absolute; top: 2.2rem; right: 3%; left: 3%; height: 1px; background: rgba(247,244,236,.26); }
.journey-line span { display: block; width: 67%; height: 100%; background: var(--background); }
.journey-step { position: relative; padding-top: 1rem; }
.journey-step::before { content: ""; position: absolute; top: .85rem; left: 0; width: 10px; height: 10px; border: 3px solid var(--primary); border-radius: 50%; background: var(--background); transform: translateY(-50%); box-shadow: 0 0 0 1px rgba(247,244,236,.5); }
.step-number { margin: 2rem 0 1.4rem; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.journey-step h3 { font-family: var(--font-display); font-size: 1.65rem; font-weight: 500; margin: 1.4rem 0 .5rem; }
.journey-step > p:last-child { color: rgba(247,244,236,.7); font-size: .9rem; }
.step-visual { height: 230px; border-block: 1px solid rgba(247,244,236,.25); display: flex; align-items: center; justify-content: center; }
.upload-visual { gap: 1.5rem; }
.upload-visual > svg { width: 38px; fill: none; stroke: var(--background); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.mini-document { width: 116px; height: 155px; padding: 1.5rem 1rem; background: var(--background); color: var(--primary); transform: rotate(-4deg); box-shadow: 10px 12px 0 rgba(247,244,236,.12); }
.mini-document i { display: block; height: 4px; margin-bottom: .65rem; background: rgba(24,92,93,.25); }
.mini-document i:nth-child(2) { width: 75%; }.mini-document i:nth-child(3) { width: 88%; }
.mini-document strong { display: block; margin-top: 1.7rem; text-align: right; font-family: var(--font-display); }
.read-visual { position: relative; gap: 1.3rem; }
.scan-page { position: relative; width: 100px; height: 135px; padding: 1.8rem 1rem; border: 1px solid rgba(247,244,236,.42); }
.scan-page i { display: block; height: 3px; width: 100%; background: rgba(247,244,236,.34); margin-bottom: .65rem; }
.scan-page i:nth-child(2) { width: 70%; }.scan-page i:nth-child(3) { width: 85%; }
.scan-page span { position: absolute; left: -8px; right: -8px; top: 54%; height: 2px; background: var(--warning); box-shadow: 0 0 12px rgba(242,201,76,.4); }
.data-tags { display: flex; flex-direction: column; gap: .5rem; }
.data-tags b { border: 1px solid rgba(247,244,236,.3); padding: .35rem .55rem; font-size: .65rem; font-weight: 500; }
.organize-visual { position: relative; flex-direction: column; align-items: stretch; gap: .7rem; padding-inline: 1rem; }
.organize-visual > div { display: flex; justify-content: space-between; padding: .65rem .9rem; background: rgba(247,244,236,.1); font-size: .74rem; }
.organize-visual > div span { color: rgba(247,244,236,.7); }
.organize-visual i { position: absolute; right: .3rem; top: 2.2rem; width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; background: var(--background); color: var(--primary); }
.organize-visual svg { width: 15px; fill: none; stroke: currentColor; stroke-width: 2; }

.benefits-grid { border-top: 1px solid var(--line); }
.benefit { min-height: 330px; display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(3rem, 8vw, 9rem); padding: 4rem 0; border-bottom: 1px solid var(--line); }
.benefit-copy { position: relative; padding-left: 3rem; }
.benefit-number { position: absolute; left: 0; top: .2rem; color: var(--primary); font-size: .72rem; }
.benefit h3 { font-family: var(--font-display); color: var(--primary); font-size: clamp(2rem, 3vw, 3rem); font-weight: 500; margin-bottom: 1rem; }
.benefit-copy p { color: var(--muted); max-width: 500px; }
.sample-ui { width: min(100%, 520px); justify-self: end; }
.credit-sample { padding: 2rem; border: 1px solid var(--line); background: var(--surface); }
.credit-sample > span { color: var(--muted); font-size: .78rem; }
.credit-sample > strong { display: block; color: var(--primary); font-family: var(--font-display); font-size: 3rem; line-height: 1.2; margin: .4rem 0 1.3rem; }
.credit-sample p { display: inline-flex; align-items: center; gap: .5rem; margin: 0; padding: .45rem .7rem; background: rgba(242,201,76,.25); font-size: .75rem; font-weight: 600; }
.credit-sample i { width: 7px; height: 7px; border-radius: 50%; background: #b48e00; }
.history-sample { padding: 1.3rem 0; }
.history-sample > div { display: grid; grid-template-columns: 65px 1fr 65px; align-items: center; gap: 1rem; margin: 1.15rem 0; font-size: .75rem; }
.history-sample > div i { width: var(--size); height: 7px; background: var(--primary); }
.history-sample > div strong { text-align: right; }
.history-sample > p { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 1rem; margin: 1.5rem 0 0; color: var(--muted); font-size: .75rem; }
.history-sample > p strong { color: var(--primary); }
.source-sample { border-block: 1px solid var(--line); }
.source-sample > div { display: flex; justify-content: space-between; padding: 1.1rem 0; border-bottom: 1px solid var(--line); font-size: .8rem; }
.source-sample > div span { color: var(--muted); }
.source-sample > a { display: inline-block; color: var(--primary); font-weight: 600; margin-top: 1.1rem; font-size: .82rem; }

.trust-section { background: var(--surface); border-block: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: clamp(4rem, 9vw, 10rem); }
.trust-copy p:last-child { max-width: 540px; color: var(--muted); font-size: 1.05rem; }
.review-panel { padding: 1.2rem 1.8rem; border: 1px solid var(--line); background: var(--background); box-shadow: var(--shadow-soft); }
.review-row { min-height: 65px; display: grid; grid-template-columns: 1fr 1.5fr 26px; align-items: center; gap: 1rem; border-bottom: 1px solid var(--line); font-size: .78rem; }
.review-row > span { color: var(--muted); }
.review-row > strong { text-align: right; }
.review-row i { width: 22px; height: 22px; display: grid; place-items: center; justify-self: end; border-radius: 50%; font-style: normal; font-weight: 600; }
.status-ok { color: var(--primary); background: rgba(24,92,93,.1); }
.warning-row strong { color: #7d6400; }
.warning-row i { color: #5c4b08; background: var(--warning); }
.irregularity { display: flex; align-items: flex-start; gap: .8rem; margin: 1.2rem 0 .2rem; padding: 1rem; border-left: 3px solid var(--danger); background: rgba(224,77,77,.07); }
.irregularity > span { flex: 0 0 auto; width: 20px; height: 20px; display: grid; place-items: center; border: 1px solid var(--danger); border-radius: 50%; color: var(--danger); font-weight: 600; font-size: .7rem; }
.irregularity p { margin: 0; color: var(--muted); font-size: .72rem; line-height: 1.55; }
.irregularity strong { display: block; color: var(--danger); font-size: .75rem; }

.pricing-grid { max-width: 1000px; margin-inline: auto; display: grid; grid-template-columns: 1fr 1.08fr; align-items: stretch; gap: 1.5rem; }
.price-card { display: flex; flex-direction: column; padding: clamp(2rem, 4vw, 3.3rem); border: 1px solid var(--line); background: var(--surface); }
.price-top { min-height: 150px; display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); }
.price-top p { color: var(--primary); font-family: var(--font-display); font-size: 1.6rem; margin-bottom: .3rem; }
.price-top h3 { color: var(--primary); font-family: var(--font-display); font-size: 3.4rem; font-weight: 500; margin: 0; letter-spacing: -.04em; }
.price-top h3 span { font-family: var(--font-body); font-size: .78rem; letter-spacing: 0; }
.price-top h3 small { font-family: var(--font-body); font-size: .75rem; letter-spacing: 0; font-weight: 500; }
.price-top > span { max-width: 140px; color: var(--muted); font-size: .68rem; text-align: right; }
.price-card ul { flex: 1; list-style: none; padding: 1.5rem 0; margin: 0 0 1rem; }
.price-card li { position: relative; padding: .55rem 0 .55rem 1.6rem; font-size: .85rem; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 600; }
.pro-card { background: var(--primary); color: var(--background); border-color: var(--primary); transform: translateY(-1.5rem); }
.pro-card .price-top { border-color: rgba(247,244,236,.25); }
.pro-card .price-top p, .pro-card .price-top h3 { color: var(--background); }
.pro-card .price-top > span { color: rgba(247,244,236,.72); }
.pro-card li::before { color: var(--background); }

.final-cta { background: var(--primary); color: var(--background); padding-block: clamp(6rem, 11vw, 10rem); text-align: center; }
.final-cta h2 { color: var(--background); max-width: 900px; margin: 0 auto 1.5rem; }
.final-cta p { color: rgba(247,244,236,.76); max-width: 580px; margin: 0 auto 2rem; font-size: 1.08rem; }
.site-footer { padding-block: 2.7rem; }
.footer-wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; }
.footer-wrap nav { display: flex; gap: 2rem; color: var(--muted); font-size: .8rem; }
.footer-wrap nav a:hover { color: var(--primary); }
.footer-wrap > p { justify-self: end; color: var(--muted); font-size: .75rem; margin: 0; }

.has-motion .reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.has-motion .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .product-demo { width: min(100%, 720px); margin-inline: auto; }
  .journey { gap: 2rem; }
  .trust-grid { gap: 4rem; }
}

@media (max-width: 760px) {
  :root { --section-space: 5.5rem; }
  .container { width: min(calc(100% - 2rem), var(--container)); }
  html { scroll-padding-top: 4.8rem; }
  h1 { font-size: clamp(3.05rem, 14vw, 4.6rem); }
  h2 { font-size: clamp(2.45rem, 11vw, 3.5rem); }
  .nav-wrap { min-height: 68px; }
  .menu-button { display: grid; width: 44px; height: 44px; place-content: center; gap: 6px; color: var(--primary); cursor: pointer; }
  .menu-button span:not(.sr-only) { width: 22px; height: 2px; display: block; background: currentColor; transition: transform .2s ease; }
  .menu-button[aria-expanded="true"] span:nth-child(2) { transform: translateY(4px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }
  .primary-nav { position: absolute; top: 68px; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: .7rem 1rem 1.3rem; background: var(--background); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(24,35,34,.08); }
  .primary-nav.is-open { display: flex; }
  .primary-nav > a:not(.button) { padding: .85rem .2rem; border-bottom: 1px solid rgba(24,92,93,.1); }
  .primary-nav .button { margin-top: .9rem; }
  .login-link { margin-left: 0; }
  .hero { padding-top: 3.2rem; }
  .hero-grid { gap: 3.5rem; }
  .hero-intro { font-size: 1.02rem; }
  .hero-action { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .hero-action .button { width: 100%; }
  .microcopy { margin-left: 0; }
  .product-demo { min-height: 620px; }
  .invoice-sheet { width: 82%; min-height: 430px; padding: 1.4rem; }
  .result-card { width: 84%; padding: 1.2rem; }
  .process-connector { display: none; }
  .demo-caption { display: none; }
  .problem-list article { grid-template-columns: 42px 1fr; }
  .journey { display: block; }
  .journey-line { display: none; }
  .journey-step { padding-left: 2rem; margin-bottom: 3rem; border-left: 1px solid rgba(247,244,236,.3); }
  .journey-step::before { top: 0; left: -5px; }
  .step-number { margin-top: 0; }
  .step-visual { height: 200px; }
  .benefit { min-height: 0; grid-template-columns: 1fr; gap: 2rem; padding: 3rem 0; }
  .benefit-copy { padding-left: 2.4rem; }
  .sample-ui { width: 100%; }
  .trust-grid { grid-template-columns: 1fr; }
  .review-panel { padding: .8rem 1rem; }
  .review-row { grid-template-columns: 1fr 1.25fr 22px; gap: .5rem; font-size: .7rem; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pro-card { transform: none; }
  .price-top { min-height: 130px; }
  .footer-wrap { grid-template-columns: 1fr; text-align: center; }
  .footer-wrap nav { justify-content: center; flex-wrap: wrap; gap: 1rem 1.7rem; }
  .footer-wrap > p { justify-self: center; }
}

@media (max-width: 390px) {
  .invoice-sheet { width: 91%; }
  .result-card { width: 92%; }
  .review-row { grid-template-columns: 1fr 1.15fr 20px; }
  .price-card { padding: 1.5rem; }
}

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