/* =========================================================
   AutoCount Accounting 2.2.33.50 — What's New (Presoft)
   Layout: same section rhythm as the VynAgent page
   (header → hero → video → pain → solution → features →
   who → steps → contact → footer), re-skinned in the
   Presoft core orange theme (Marketing SOP, 15/6/2026).
   - Presoft logo top left · Inter / Helvetica
   - Light mode only, no dark sections
   ========================================================= */

:root {
  /* Presoft core colour theme (SOP) */
  --orange: #F2AA24;
  --brown: #504538;
  --taupe: #B7A99A;
  --green: #00D697;
  --red: #D90000;
  --cream: #F2F1EF;

  /* derived tints / accessible shades */
  --orange-deep: #E6980F;      /* button hover, chart fill */
  --orange-ink: #A45F00;       /* orange text on white (AA) */
  --orange-tint: #FFF3DC;
  --orange-tint-2: #FDE2AE;
  --green-deep: #00936A;
  --green-tint: #DBFAEF;
  --red-tint: #FDE6E6;
  --taupe-tint: #ECE6DF;

  --bg: #FFFFFF;
  --bg-alt: #FFFAF1;
  --text: #3A3129;
  --text-muted: #75685B;
  --border: #EEE2CF;

  --shadow-sm: 0 2px 8px rgba(80, 69, 56, .07);
  --shadow-md: 0 10px 30px rgba(80, 69, 56, .11);
  --shadow-lg: 0 24px 60px rgba(80, 69, 56, .17);
  --font: 'Inter', Helvetica, Arial, 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 26px;
  --container: 1200px;
  color-scheme: light only;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--font); background: var(--bg); color: var(--text);
  line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: none; background: none; cursor: pointer; color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3 { letter-spacing: -0.025em; line-height: 1.15; color: var(--brown); text-wrap: balance; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 6px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.hl { color: var(--orange-ink); position: relative; white-space: nowrap; }
.hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: .3em;
  background: var(--orange); opacity: .35; border-radius: 4px; z-index: -1;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: .95rem; padding: 13px 24px; border-radius: 999px;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s; white-space: nowrap;
}
.btn svg { transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--orange); color: var(--brown); box-shadow: 0 6px 18px rgba(242, 170, 36, .38); }
.btn-primary:hover { background: var(--orange-deep); transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid var(--border); background: #fff; color: var(--brown); }
.btn-ghost:hover { border-color: var(--orange); transform: translateY(-2px); }
.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn-sm { padding: 10px 18px; font-size: .88rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--orange-ink); background: var(--orange-tint); padding: 6px 14px; border-radius: 999px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.tick {
  display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green-tint); color: var(--green-deep); font-size: .75rem; font-weight: 800; flex-shrink: 0;
}

/* ============ HEADER ============ */
.navbar {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 100;
  background: rgba(255, 255, 255, .88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.navbar.scrolled { border-color: var(--border); box-shadow: var(--shadow-sm); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand-logo { height: 36px; width: auto; }
.brand-divider { width: 1px; height: 26px; background: var(--border); }
.brand-ac { height: 40px; width: auto; }
.brand-product { display: flex; flex-direction: column; line-height: 1.1; }
.brand-product b { font-weight: 800; font-size: .98rem; color: var(--brown); letter-spacing: -.01em; }
.brand-product small { font-size: .72rem; font-weight: 700; color: var(--orange-ink); letter-spacing: .04em; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-weight: 500; font-size: .93rem; color: var(--text-muted); transition: color .2s; }
.nav-links a:hover { color: var(--brown); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: flex; background: var(--cream); border-radius: 999px; padding: 3px; }
.lang-btn { white-space: nowrap; padding: 6px 12px; border-radius: 999px; font-size: .82rem; font-weight: 600; color: var(--text-muted); }
.lang-btn.active { background: #fff; color: var(--brown); box-shadow: var(--shadow-sm); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { width: 22px; height: 2px; background: var(--brown); border-radius: 2px; transition: .3s; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; }

/* ============ HERO ============ */
.hero {
  padding: 56px 0 40px;
  background:
    radial-gradient(900px 520px at 88% 8%, rgba(253, 226, 174, .75) 0%, transparent 62%),
    radial-gradient(600px 400px at 0% 100%, rgba(242, 241, 239, .9) 0%, transparent 70%),
    #fff;
}
.hero-inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.hero-copy { min-width: 0; }
.version-tag {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.plugin-free {
  display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700;
  color: var(--green-deep); background: var(--green-tint); padding: 6px 12px; border-radius: 999px;
}
.hero h1 { position: relative; z-index: 0; font-size: clamp(2.2rem, 4.6vw, 3.5rem); font-weight: 800; margin: 18px 0 18px; }
.hero-sub { font-size: 1.12rem; color: var(--text-muted); max-width: 520px; }
.hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0 26px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-badges li { display: flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--brown); }

.hero-visual { position: relative; min-height: 520px; padding-block: 36px; display: grid; place-items: center; }
.blob { position: absolute; border-radius: 50%; filter: blur(4px); }
.blob-1 { width: 380px; height: 380px; background: var(--orange-tint-2); top: 30px; right: 10px; opacity: .8; }
.blob-2 { width: 170px; height: 170px; background: var(--green-tint); bottom: 30px; left: 20px; }

/* bank reconciliation mock */
.recon {
  position: relative; width: 100%; max-width: 500px; background: #fff; border-radius: 20px;
  border: 1px solid var(--border); box-shadow: var(--shadow-lg); overflow: hidden;
}
.recon-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 16px; background: var(--bg-alt); border-bottom: 1px solid var(--border);
}
.recon-bar b { font-size: .88rem; color: var(--brown); }
.recon-bar span { font-size: .72rem; font-weight: 700; color: var(--orange-ink); background: var(--orange-tint); padding: 3px 9px; border-radius: 999px; }
.recon-load {
  margin: 14px 16px 6px; display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border: 1.5px dashed var(--orange); border-radius: 12px; background: #FFFCF6; font-size: .8rem; font-weight: 600; color: var(--brown);
}
.file-ic { font-size: .62rem; font-weight: 800; color: #fff; background: var(--red); padding: 4px 6px; border-radius: 5px; }
.file-ic.csv { background: var(--green-deep); }
.recon-load .prog { flex: 1; height: 6px; background: var(--taupe-tint); border-radius: 3px; overflow: hidden; }
.recon-load .prog i { display: block; height: 100%; width: 100%; background: var(--orange); border-radius: 3px; transform-origin: left; animation: load 1.6s ease-out both; }
@keyframes load { from { transform: scaleX(.05); } to { transform: scaleX(1); } }
.recon-head, .recon-row {
  display: grid; grid-template-columns: 1fr 58px 1fr; align-items: center; gap: 8px; padding: 0 16px;
}
.recon-head { font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); padding-top: 10px; padding-bottom: 6px; }
.recon-head span:nth-child(2) { text-align: center; }
.recon-row { padding-top: 7px; padding-bottom: 7px; }
.cell {
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: 10px; padding: 7px 10px; min-width: 0;
  display: flex; flex-direction: column; gap: 1px;
}
.cell small { font-size: .64rem; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.cell b { font-size: .76rem; color: var(--brown); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cell em { font-style: normal; font-size: .76rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--text); }
.cell.missing { border-style: dashed; background: #fff; align-items: flex-start; justify-content: center; min-height: 52px; }
.cell.missing b { color: var(--orange-ink); }
.score {
  justify-self: center; display: grid; place-items: center; width: 50px; height: 34px; border-radius: 999px;
  font-size: .72rem; font-weight: 800; background: var(--green-tint); color: var(--green-deep);
  opacity: 0; transform: scale(.6); transition: opacity .35s, transform .35s;
}
.score.none { background: var(--orange-tint); color: var(--orange-ink); }
.recon-row.on .score { opacity: 1; transform: none; }
.recon-row .cell.gl { opacity: .45; transition: opacity .35s, border-color .35s; }
.recon-row.on .cell.gl { opacity: 1; border-color: var(--green); }
.recon-foot {
  display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 8px; padding: 12px 16px; border-top: 1px solid var(--border); font-size: .76rem; color: var(--text-muted);
}
.recon-foot b { color: var(--brown); font-variant-numeric: tabular-nums; }
.recon-foot .diff { color: var(--green-deep); font-weight: 800; }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; z-index: 2;
  padding: 10px 16px 10px 10px; border-radius: 14px; box-shadow: var(--shadow-md); border: 1px solid var(--border);
  animation: floaty 5s ease-in-out infinite;
}
.float-card b { display: block; font-size: .86rem; color: var(--brown); }
.float-card small { display: block; font-size: .72rem; color: var(--text-muted); }
.fc-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: .9rem; }
.fc-icon.green { background: var(--green-tint); color: var(--green-deep); }
.fc-icon.orange { background: var(--orange-tint); color: var(--orange-ink); }
.fc-icon.taupe { background: var(--taupe-tint); color: var(--brown); }
.fc-2 { bottom: -22px; right: -18px; animation-delay: -1.6s; }
.fc-3 { top: 0; right: 28px; animation-delay: -3.2s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* highlights strip */
.integrations {
  margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px;
  padding: 16px; background: #fff; border: 1px solid var(--border); border-radius: 999px; box-shadow: var(--shadow-sm);
}
.int-label { font-size: .8rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; margin-right: 6px; }
.int-chip { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; color: var(--brown); padding: 6px 12px; border-radius: 999px; background: var(--bg-alt); }
.int-chip i { width: 10px; height: 10px; border-radius: 3px; background: var(--orange); }
.int-chip i.g { background: var(--green); } .int-chip i.t { background: var(--taupe); } .int-chip i.r { background: var(--red); }

/* ============ SECTIONS (shared) ============ */
section { padding: 88px 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; margin-top: 14px; }
.section-head p { margin-top: 12px; color: var(--text-muted); font-size: 1.02rem; }

/* ============ VIDEO ============ */
.video-section { padding: 40px 0 56px; }
.video-frame {
  position: relative; aspect-ratio: 16 / 9; max-width: 1000px; margin: 0 auto; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg); border: 8px solid #fff; background: var(--cream);
}
.video-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; filter: blur(3px) saturate(.9); transform: scale(1.04); }
.video-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  background: linear-gradient(180deg, rgba(255, 250, 241, .55), rgba(255, 238, 205, .9)); text-align: center; padding: 24px;
}
.video-overlay h2 { font-size: clamp(1.3rem, 2.8vw, 2.1rem); font-weight: 800; max-width: 620px; }
.play-btn {
  width: 92px; height: 92px; border-radius: 50%; background: var(--orange); color: var(--brown);
  display: grid; place-items: center; box-shadow: 0 0 0 12px rgba(242, 170, 36, .28), var(--shadow-md);
  transition: transform .2s; padding-left: 6px;
}
.play-btn:hover { transform: scale(1.07); }
.video-soon { font-size: .82rem; font-weight: 700; color: var(--orange-ink); background: #fff; padding: 6px 14px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ============ CHART CARDS ============ */
.chart-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 22px 24px; box-shadow: var(--shadow-sm); min-width: 0;
}
.chart-card figcaption { display: flex; flex-direction: column; gap: 2px; margin-bottom: 16px; }
.chart-title { font-weight: 700; color: var(--brown); font-size: 1rem; }
.chart-note { font-size: .78rem; color: var(--text-muted); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 14px; font-size: .8rem; color: var(--text); }
.legend > span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.chart-tip {
  position: fixed; pointer-events: none; z-index: 300; background: #fff; color: var(--text);
  border: 1px solid var(--border); box-shadow: var(--shadow-md); border-radius: 10px;
  padding: 8px 12px; font-size: .8rem; opacity: 0; transition: opacity .12s; max-width: 240px;
}
.chart-tip.on { opacity: 1; }
.chart-tip b { color: var(--brown); }

/* ============ PAIN ============ */
.pain { background: var(--bg-alt); }
.pain-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pain-card {
  display: flex; flex-direction: column; gap: 16px; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 18px; box-shadow: var(--shadow-sm);
}
.pain-card h3 { font-size: 1.08rem; font-weight: 700; }
.pain-card p { font-size: .88rem; color: var(--text-muted); margin-top: -8px; }
.pain-visual {
  height: 150px; border-radius: 12px; background: repeating-linear-gradient(45deg, #FFF6E6 0 10px, #FFFBF4 10px 20px);
  display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px; overflow: hidden;
}
/* pain 1: long tick list */
.ticklist { display: flex; flex-direction: column; gap: 6px; width: 78%; }
.ticklist span { display: flex; align-items: center; gap: 8px; height: 18px; background: #fff; border-radius: 5px; padding: 0 7px; box-shadow: var(--shadow-sm); }
.ticklist span::before { content: ""; width: 10px; height: 10px; border: 1.5px solid var(--taupe); border-radius: 3px; flex-shrink: 0; }
.ticklist span.done::before { background: var(--taupe); }
.ticklist span::after { content: ""; flex: 1; height: 4px; border-radius: 2px; background: var(--taupe-tint); }
.counter { font-size: .72rem; font-weight: 800; color: #fff; background: var(--red); padding: 3px 9px; border-radius: 999px; align-self: flex-start; }
/* pain 2: pile of docs */
.docs { position: relative; width: 150px; height: 110px; }
.docs .d {
  position: absolute; width: 74px; height: 94px; background: #fff; border-radius: 7px; box-shadow: var(--shadow-sm);
  padding: 10px 8px; display: flex; flex-direction: column; gap: 5px; border: 1px solid var(--border);
}
.docs .d i { height: 4px; border-radius: 2px; background: var(--taupe-tint); }
.docs .d i:first-child { width: 60%; background: var(--orange); }
.docs .d:nth-child(1) { left: 0; top: 10px; transform: rotate(-8deg); }
.docs .d:nth-child(2) { left: 38px; top: 4px; transform: rotate(3deg); }
.docs .d:nth-child(3) { left: 76px; top: 12px; transform: rotate(10deg); }
.docs .q { position: absolute; right: -8px; top: -6px; width: 30px; height: 30px; border-radius: 50%; background: var(--brown); color: #fff; display: grid; place-items: center; font-weight: 800; }
/* pain 3: expired key */
.keyv { display: flex; align-items: center; gap: 12px; }
.keycard { background: #fff; border-radius: 12px; box-shadow: var(--shadow-sm); padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--border); }
.keycard small { font-size: .64rem; font-weight: 700; color: var(--text-muted); letter-spacing: .04em; }
.keycard .mask { font-family: ui-monospace, Consolas, monospace; font-size: .8rem; color: var(--brown); letter-spacing: .1em; }
.keycard .exp { font-size: .7rem; font-weight: 800; color: var(--red); background: var(--red-tint); padding: 2px 8px; border-radius: 999px; align-self: flex-start; }
.redo { font-size: 1.6rem; color: var(--orange-ink); font-weight: 800; }

/* ============ BENEFITS ============ */
.flow { display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; margin-bottom: 44px; }
.flow-step { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.flow-step b { font-size: .92rem; color: var(--brown); max-width: 150px; }
.flow-icon {
  width: 78px; height: 78px; border-radius: 22px; display: grid; place-items: center; font-weight: 800; font-size: 1rem;
  box-shadow: var(--shadow-md); background: #fff; border: 1px solid var(--border); color: var(--brown);
}
.flow-icon.sm { width: 50px; height: 50px; border-radius: 14px; font-size: .8rem; }
.flow-icon.or { background: var(--orange); border: none; color: var(--brown); }
.flow-icon.ok { background: var(--green-tint); color: var(--green-deep); font-size: 1.5rem; }
.flow-icon.tt { background: var(--orange-tint); color: var(--orange-ink); font-size: 1.4rem; }
.flow-arrow { flex: 0 0 44px; height: 78px; position: relative; }
.flow-arrow::before { content: ""; position: absolute; top: 50%; left: 0; right: 8px; border-top: 2px dashed var(--taupe); }
.flow-arrow::after { content: ""; position: absolute; top: calc(50% - 5px); right: 0; border: 6px solid transparent; border-left-color: var(--taupe); border-right: 0; }

.compare-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 20px; }

/* score stack chart */
.stack-wrap { position: relative; padding-top: 30px; }
.stack { display: flex; height: 44px; border-radius: 8px; overflow: hidden; background: var(--taupe-tint); }
.stack span { display: flex; align-items: center; justify-content: center; color: var(--brown); font-weight: 800; font-size: .8rem; cursor: default; transition: filter .2s; }
.stack span:hover { filter: brightness(.95); }
.s-date { background: var(--orange); }
.s-chq { background: var(--taupe); }
.s-desc { background: var(--green); }
.marker { position: absolute; top: 0; bottom: -6px; border-left: 2px dashed var(--brown); }
.marker b { position: absolute; top: 0; left: 6px; font-size: .7rem; color: var(--brown); white-space: nowrap; font-weight: 700; }
.marker.lenient { border-color: var(--text-muted); }
.marker.lenient b { color: var(--text-muted); }
.axis { display: flex; justify-content: space-between; font-size: .68rem; color: var(--text-muted); margin-top: 10px; font-variant-numeric: tabular-nums; }

/* date score column chart */
.cols { display: flex; align-items: flex-end; gap: 2px; height: 130px; border-bottom: 1px solid var(--border); position: relative; }
.cols span { flex: 1; background: var(--orange); border-radius: 2px 2px 0 0; min-height: 2px; cursor: default; transition: background .2s; }
.cols span.mid { background: var(--taupe); }
.cols span.low { background: var(--taupe-tint); }
.cols span:hover { background: var(--orange-ink); }
.cols-axis { display: flex; justify-content: space-between; font-size: .68rem; color: var(--text-muted); margin-top: 6px; font-variant-numeric: tabular-nums; }
.cols-y { position: absolute; left: 0; right: 0; border-top: 1px dotted var(--taupe); font-size: .62rem; color: var(--text-muted); }
.cols-y em { position: absolute; right: 0; top: -14px; font-style: normal; }

.hbars { display: flex; flex-direction: column; gap: 12px; padding-top: 2px; }
.hbar-row { display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 10px; cursor: default; }
.hbar-label { font-size: .8rem; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.hbar-track { position: relative; height: 28px; background: var(--bg-alt); border-radius: 0 6px 6px 0; }
.hbar-fill { height: 100%; width: 0; border-radius: 0 6px 6px 0; transition: width 1.1s cubic-bezier(.2, .8, .2, 1); background: var(--green); }
.hbar-val { position: absolute; left: 8px; top: 50%; transform: translateY(-50%); font-weight: 800; font-size: .76rem; color: var(--brown); white-space: nowrap; }
.hbar-foot { margin-top: 14px; font-size: .78rem; color: var(--text-muted); }
.hbar-foot b { color: var(--brown); }

/* ============ FEATURES ============ */
.features { background: linear-gradient(180deg, var(--bg-alt), #fff); }
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.tab {
  padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--text-muted);
  background: #fff; border: 1.5px solid var(--border); transition: .2s; display: inline-flex; align-items: center; gap: 6px;
}
.tab:hover { border-color: var(--orange); color: var(--brown); }
.tab.active { background: var(--orange); border-color: var(--orange); color: var(--brown); box-shadow: 0 6px 16px rgba(242, 170, 36, .35); }
.tab .beta { font-size: .62rem; font-weight: 800; background: var(--brown); color: #fff; padding: 2px 6px; border-radius: 999px; letter-spacing: .04em; }
.tab-panel { display: none; }
.tab-panel.active { display: grid; grid-template-columns: 1fr; gap: 20px; animation: fadein .45s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.panel-head { text-align: center; max-width: 720px; margin: 0 auto; }
.panel-head h3 { font-size: 1.3rem; font-weight: 800; }
.panel-head .path { display: inline-block; margin-top: 8px; font-size: .8rem; font-weight: 600; color: var(--orange-ink); background: var(--orange-tint); padding: 5px 12px; border-radius: 8px; }
.browser { background: #fff; border-radius: var(--radius-md); border: 1px solid var(--border); box-shadow: var(--shadow-lg); overflow: hidden; max-width: 1000px; margin: 0 auto; width: 100%; }
.browser.narrow { max-width: 720px; }
.browser-bar { height: 34px; background: var(--cream); display: flex; align-items: center; gap: 7px; padding: 0 14px; }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--taupe); }
.browser-bar i:nth-child(1) { background: var(--red); opacity: .6; }
.browser-bar i:nth-child(2) { background: var(--orange); }
.browser-bar i:nth-child(3) { background: var(--green); }
.browser img { width: 100%; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chips li {
  display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border);
  padding: 9px 16px; border-radius: 999px; font-size: .9rem; font-weight: 600; color: var(--brown); box-shadow: var(--shadow-sm);
}
.chips li::before { content: "✓"; color: var(--green-deep); font-weight: 800; }
.beta-note {
  max-width: 1000px; margin: 0 auto; width: 100%; display: flex; gap: 12px; align-items: flex-start;
  background: var(--orange-tint); border-radius: var(--radius-sm); padding: 12px 16px; font-size: .84rem; color: var(--text);
}
.beta-note b { color: var(--brown); }

/* Bank Rules diagram */
.rules {
  max-width: 900px; margin: 0 auto; width: 100%; display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); padding: 28px;
}
.rule-month { display: flex; flex-direction: column; gap: 10px; align-items: stretch; min-width: 0; }
.rule-tag { align-self: flex-start; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); background: var(--cream); padding: 4px 10px; border-radius: 999px; }
.rule-month.next .rule-tag { color: var(--green-deep); background: var(--green-tint); }
.rule-arrow { text-align: center; font-weight: 800; color: var(--taupe); }
.rule-pick { border: 1.5px dashed var(--orange); border-radius: 10px; padding: 9px 12px; display: flex; flex-direction: column; gap: 1px; background: #FFFCF6; }
.rule-pick small { font-size: .68rem; color: var(--text-muted); }
.rule-pick b { font-size: .86rem; color: var(--brown); font-variant-numeric: tabular-nums; }
.rule-pick.auto { border-style: solid; border-color: var(--green); background: var(--green-tint); }
.rule-pick.auto b { color: var(--green-deep); }
.rule-save { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; max-width: 120px; }
.rule-save b { font-size: .82rem; color: var(--brown); }
.rule-ic { width: 56px; height: 56px; border-radius: 16px; background: var(--orange); color: var(--brown); display: grid; place-items: center; font-size: 1.5rem; font-weight: 800; box-shadow: var(--shadow-md); }

/* Good to know (BETA) */
.good-to-know {
  max-width: 1000px; margin: 40px auto 0; background: var(--orange-tint); border-radius: var(--radius-md); padding: 20px 24px;
}
.good-to-know h3 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; font-weight: 800; margin-bottom: 10px; }
.beta-pill { font-size: .66rem; font-weight: 800; letter-spacing: .06em; color: #fff; background: var(--brown); padding: 3px 8px; border-radius: 999px; }
.good-to-know ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 20px; }
.good-to-know li { font-size: .86rem; color: var(--text); padding-left: 18px; position: relative; }
.good-to-know li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }

/* pain 3: repeating months */
.months { display: flex; gap: 8px; }
.months span {
  width: 52px; height: 60px; border-radius: 8px; background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 8px;
  font-size: .66rem; font-weight: 800; color: var(--text-muted); position: relative; overflow: hidden;
}
.months span::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 14px; background: var(--taupe-tint); }
.months span::after { content: "44.55"; position: absolute; top: 20px; font-size: .62rem; color: var(--brown); font-weight: 700; }
.months span.now { border-color: var(--red); }
.months span.now::before { background: var(--red); }

/* ============ WHO ============ */
.who-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.who-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px;
  padding: 26px 14px; border-radius: var(--radius-md); background: #fff; border: 1px solid var(--border);
  box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s;
}
.who-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--orange); }
.who-card b { font-size: .92rem; color: var(--brown); }
.who-card small { font-size: .76rem; color: var(--text-muted); margin-top: -8px; }
.who-icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--orange-tint); color: var(--orange-ink); }
.who-grid.four { grid-template-columns: repeat(4, 1fr); }
.who-card:nth-child(even) .who-icon { background: var(--green-tint); color: var(--green-deep); }

/* ============ STEPS ============ */
.steps { background: var(--bg-alt); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 14px 14px 20px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 10px; }
.step-visual { height: 150px; border-radius: 12px; overflow: hidden; background: var(--orange-tint); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; gap: 10px; }
.step-visual img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.step-num { font-size: .8rem; font-weight: 800; color: var(--orange-ink); letter-spacing: .08em; margin-top: 4px; }
.step b { font-size: 1rem; color: var(--brown); line-height: 1.35; }
.step small { font-size: .8rem; color: var(--text-muted); margin-top: -4px; }
.db { width: 56px; height: 70px; position: relative; }
.db i { position: absolute; left: 0; right: 0; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--brown); }
.db i:nth-child(1) { top: 0; } .db i:nth-child(2) { top: 22px; } .db i:nth-child(3) { top: 44px; }
.shield { font-size: 1.4rem; font-weight: 800; color: var(--green-deep); background: var(--green-tint); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; }
.ver { display: flex; align-items: center; gap: 10px; }
.ver span { font-size: .78rem; font-weight: 800; padding: 8px 10px; border-radius: 10px; background: #fff; color: var(--text-muted); box-shadow: var(--shadow-sm); font-variant-numeric: tabular-nums; }
.ver span.new { background: var(--orange); color: var(--brown); }
.ver em { font-style: normal; font-weight: 800; color: var(--orange-ink); }

/* ============ CONTACT ============ */
.contact-inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: start; }
.contact-copy { min-width: 0; }
.contact-copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 800; margin: 14px 0 22px; }
.contact-points { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.contact-points li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--brown); }
.contact-illus { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-md); transform: rotate(-1.5deg); }
.contact-form {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px;
  box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 16px; border-top: 5px solid var(--orange); min-width: 0;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form > label, .form-row > label, .contact-form > .field { display: flex; flex-direction: column; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--brown); min-width: 0; }
.contact-form input[type=text], .contact-form input[type=tel], .contact-form input[type=email], .contact-form select, .contact-form textarea {
  font: inherit; font-weight: 400; font-size: .95rem; color: var(--text); background: var(--bg-alt);
  border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 11px 13px; outline: none; transition: border-color .2s, box-shadow .2s; width: 100%;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(242, 170, 36, .22); background: #fff; }
.contact-form .invalid { border-color: var(--red) !important; }
.contact-form textarea { resize: vertical; }
.pick { display: flex; flex-wrap: wrap; gap: 8px; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick label { padding: 8px 12px; border-radius: 999px; border: 1.5px solid var(--border); background: var(--bg-alt); font-weight: 600; font-size: .82rem; color: var(--text-muted); cursor: pointer; transition: .2s; }
.pick input:checked + label { background: var(--orange-tint); border-color: var(--orange); color: var(--brown); }
.pick input:focus-visible + label { outline: 3px solid var(--orange); outline-offset: 2px; }
.form-status { font-size: .88rem; font-weight: 600; min-height: 1.2em; text-align: center; }
.form-status.ok { color: var(--green-deep); }
.form-status.err { color: var(--red); }
.form-status .status-link { display: inline-block; margin-top: 6px; color: var(--green-deep); text-decoration: underline; }

/* ============ WHATSAPP BUBBLE ============ */
.whatsapp-float {
  position: fixed; right: 22px; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); z-index: 200; width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37, 211, 102, .45); transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25D366; animation: pulse 2.4s infinite; z-index: -1; }
@keyframes pulse { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(1.6); opacity: 0; } }
.wa-tip {
  position: absolute; right: 72px; background: #fff; color: var(--brown); font-weight: 600; font-size: .85rem;
  padding: 8px 14px; border-radius: 999px; box-shadow: var(--shadow-md); white-space: nowrap; opacity: 0; transform: translateX(8px); transition: .25s; pointer-events: none;
}
.whatsapp-float:hover .wa-tip { opacity: 1; transform: none; }

/* ============ FOOTER ============ */
.footer { background: var(--cream); padding: 48px 0 24px; border-top: 1px solid var(--border); }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid #E2DDD6; }
.footer-brand p { margin-top: 12px; color: var(--text-muted); font-size: .9rem; max-width: 380px; }
.footer-links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-links a { font-weight: 600; font-size: .9rem; color: var(--brown); }
.footer-links a:hover { color: var(--orange-ink); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 20px; font-size: .82rem; color: var(--text-muted); }

/* ============ FADE-UP (visible at rest; only animates once JS opts in) ============ */
.js .fade-up { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .fade-up.visible { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
  .who-grid, .who-grid.four { grid-template-columns: repeat(2, 1fr); }
  .compare-grid { grid-template-columns: 1fr 1fr; }
  .compare-grid .chart-card:first-child { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-menu {
    display: flex; flex-direction: column; gap: 4px; max-height: 0; overflow: hidden; transition: max-height .35s ease;
    background: #fff; padding: 0 24px;
  }
  .mobile-menu.open { max-height: 420px; padding: 8px 24px 20px; border-bottom: 1px solid var(--border); }
  .mobile-menu a:not(.btn) { padding: 12px 0; font-weight: 600; color: var(--brown); border-bottom: 1px solid var(--border); }
  .mobile-menu .btn { margin-top: 12px; }
  .hero-inner, .contact-inner { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-sub { margin: 0 auto; }
  .hero-cta-row, .hero-badges, .version-tag { justify-content: center; }
  .pain-cards { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .flow { flex-wrap: wrap; justify-content: center; row-gap: 26px; }
  .flow-step { flex: 0 0 30%; }
  .flow-arrow { display: none; }
}
@media (max-width: 640px) {
  section { padding: 64px 0; }
  .container { padding: 0 16px; }
  .brand-logo { height: 28px; }
  .brand-divider { height: 20px; }
  .brand-ac { height: 32px; }
  .brand-product b { font-size: .85rem; }
  .brand-product small { font-size: .66rem; }
  .lang-btn { padding: 6px 9px; }
  .hero { padding-top: 32px; }
  .hero-visual { min-height: 0; padding: 48px 0 40px; }
  .fc-2, .fc-3 { display: none; }
  .brand-product small { display: none; }
  .recon-head, .recon-row { grid-template-columns: 1fr 46px 1fr; padding-left: 10px; padding-right: 10px; gap: 6px; }
  .score { width: 42px; }
  .integrations { border-radius: var(--radius-md); }
  .compare-grid, .steps-grid, .form-row, .good-to-know ul { grid-template-columns: 1fr; }
  .rules { grid-template-columns: 1fr; padding: 20px; }
  .rule-save { flex-direction: row; max-width: none; justify-content: center; }
  .rule-ic { width: 44px; height: 44px; font-size: 1.2rem; }
  .who-grid, .who-grid.four { grid-template-columns: 1fr 1fr; }
  .flow-step { flex: 0 0 44%; }
  .contact-form { padding: 22px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 6px; scrollbar-width: none; }
  .tab { flex-shrink: 0; }
  .whatsapp-float { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 56px; height: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .fade-up { opacity: 1; transform: none; }
  .score { opacity: 1; transform: none; }
}
