/* statements2excel — "modern ledger" aesthetic.
   Warm paper + faint ledger grid, slate-navy ink, emerald (balance/verified) accent.
   Fraunces (display serif) · IBM Plex Sans (body) · IBM Plex Mono (figures). */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap');

:root {
  --paper:#FBFAF6; --paper-2:#F4F1E9; --ink:#14222E; --ink-soft:#48586280;
  --muted:#5C6A73; --line:#E4DECE; --line-strong:#D6CFBC;
  --emerald:#0E7C57; --emerald-deep:#0A5C40; --emerald-tint:#E4F1EA;
  --gold:#B6802E; --warn:#FBEFCB; --danger:#B0402E; --white:#fff;
  --shadow:0 1px 2px rgba(20,34,46,.04), 0 12px 32px -12px rgba(20,34,46,.18);
  --shadow-lg:0 2px 4px rgba(20,34,46,.05), 0 30px 60px -20px rgba(20,34,46,.28);
  --radius:14px; --maxw:1080px;
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0; color:var(--ink); background:var(--paper);
  font-family:'IBM Plex Sans',system-ui,sans-serif; font-size:17px; line-height:1.6;
  /* faint ledger grid */
  background-image:
    linear-gradient(var(--line) 1px,transparent 1px),
    linear-gradient(90deg,rgba(228,222,206,.4) 1px,transparent 1px);
  background-size:100% 30px, 30px 100%;
  background-position:0 -1px;
}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 22px}
a{color:var(--emerald-deep);text-underline-offset:3px;text-decoration-thickness:1px}
h1,h2,h3{font-family:'Fraunces',Georgia,serif;font-weight:600;line-height:1.08;letter-spacing:-.015em;color:var(--ink)}
.mono{font-family:'IBM Plex Mono',monospace;font-variant-numeric:tabular-nums}

/* ---- header ---- */
.site-head{position:sticky;top:0;z-index:20;background:rgba(251,250,246,.82);
  backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.site-head .wrap{display:flex;align-items:center;justify-content:space-between;height:64px}
.brand{display:flex;align-items:center;gap:10px;font-family:'Fraunces',serif;font-weight:600;
  font-size:21px;color:var(--ink);text-decoration:none;letter-spacing:-.02em}
.brand .mark{width:30px;height:30px;border-radius:8px;background:var(--ink);color:var(--paper);
  display:grid;place-items:center;font-family:'IBM Plex Mono';font-weight:600;font-size:15px}
.nav{display:flex;gap:26px;align-items:center}
.nav a{color:var(--ink);text-decoration:none;font-weight:500;font-size:15px}
.nav a:hover{color:var(--emerald-deep)}
@media(max-width:640px){.nav a.hide-sm{display:none}}

/* ---- hero ---- */
.hero{padding:62px 0 30px;position:relative}
.eyebrow{display:inline-flex;align-items:center;gap:8px;font-family:'IBM Plex Mono';
  font-size:12.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--emerald-deep);
  background:var(--emerald-tint);border:1px solid #cfe6da;padding:6px 12px;border-radius:999px}
.hero h1{font-size:clamp(34px,5.4vw,58px);margin:20px 0 14px;max-width:16ch}
.hero h1 em{font-style:italic;color:var(--emerald-deep)}
.lede{font-size:clamp(17px,2vw,20px);color:var(--muted);max-width:54ch;margin:0 0 8px}
.trust{display:flex;flex-wrap:wrap;gap:18px;margin:26px 0 4px;padding:0;list-style:none}
.trust li{display:flex;align-items:center;gap:9px;font-size:14.5px;color:var(--ink);font-weight:500}
.trust svg{flex:none;color:var(--emerald)}

/* ---- converter card (the hero of every page) ---- */
.converter{background:var(--white);border:1px solid var(--line-strong);border-radius:var(--radius);
  box-shadow:var(--shadow-lg);padding:26px;position:relative;overflow:hidden}
.converter::before{content:"";position:absolute;inset:0 0 auto 0;height:4px;
  background:linear-gradient(90deg,var(--emerald),var(--gold))}
.converter h2{font-size:22px;margin:2px 0 16px}
.drop{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;
  text-align:center;border:2px dashed var(--line-strong);border-radius:12px;background:var(--paper-2);
  padding:34px 20px;cursor:pointer;transition:border-color .18s,background .18s,transform .18s}
.drop:hover{border-color:var(--emerald);background:var(--emerald-tint)}
.drop.dragover{border-color:var(--emerald);background:var(--emerald-tint);transform:scale(1.01)}
.drop .ico{width:42px;height:42px;color:var(--emerald-deep)}
.drop strong{font-size:17px}
.drop .hint{color:var(--muted);font-size:14px}
.drop .fname{font-family:'IBM Plex Mono';font-size:14px;color:var(--emerald-deep);font-weight:500}
.controls{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:16px}
input[type=password],select{font:inherit;padding:11px 13px;border:1px solid var(--line-strong);
  border-radius:10px;background:var(--white);color:var(--ink)}
select{cursor:pointer}
.controls .grow{flex:1;min-width:140px}
.btn{font:inherit;font-weight:600;border:0;border-radius:10px;padding:13px 22px;cursor:pointer;
  display:inline-flex;align-items:center;gap:8px;transition:transform .12s,box-shadow .18s,background .18s}
.btn-primary{background:var(--emerald);color:#fff;box-shadow:0 6px 18px -6px rgba(14,124,87,.6)}
.btn-primary:hover{background:var(--emerald-deep);transform:translateY(-1px)}
.btn-ghost{background:var(--ink);color:var(--paper)}
.btn-ghost:hover{background:#000;transform:translateY(-1px)}
.fineprint{margin-top:13px;color:var(--muted);font-size:13.5px}

/* ---- results ---- */
.ll-result{margin-top:18px}
.ll-result .summary{display:flex;flex-wrap:wrap;gap:8px 18px;align-items:baseline;
  font-size:15px;color:var(--muted);margin-bottom:12px}
.ll-result .summary b{color:var(--ink);font-size:17px;font-family:'Fraunces',serif}
.ll-result table{width:100%;border-collapse:collapse;font-family:'IBM Plex Mono';font-size:13px;
  border:1px solid var(--line);border-radius:10px;overflow:hidden}
.ll-result th{background:var(--paper-2);text-align:left;font-weight:600;color:var(--ink-soft);
  text-transform:uppercase;letter-spacing:.06em;font-size:11px;padding:9px 11px;border-bottom:1px solid var(--line)}
.ll-result td{padding:8px 11px;border-bottom:1px solid var(--line);white-space:nowrap}
.ll-result tr:last-child td{border-bottom:0}
.ll-result td.amt{text-align:right;font-variant-numeric:tabular-nums}
.ll-result tr.low{background:var(--warn)}
.spinner{display:inline-block;width:18px;height:18px;border:2.5px solid var(--line-strong);
  border-top-color:var(--emerald);border-radius:50%;animation:spin .7s linear infinite;vertical-align:-3px}
@keyframes spin{to{transform:rotate(360deg)}}
.msg-err{color:var(--danger);font-weight:500}

/* ---- generic sections ---- */
section{padding:34px 0}
.section-title{font-size:clamp(24px,3vw,32px);margin:0 0 18px}
.steps{list-style:none;counter-reset:s;padding:0;margin:0;display:grid;gap:14px;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.steps li{counter-increment:s;background:var(--white);border:1px solid var(--line);border-radius:12px;
  padding:20px 18px 18px;position:relative}
.steps li::before{content:counter(s);position:absolute;top:-14px;left:18px;width:30px;height:30px;
  background:var(--ink);color:var(--paper);border-radius:8px;display:grid;place-items:center;
  font-family:'IBM Plex Mono';font-weight:600}
.steps li b{display:block;font-family:'Fraunces',serif;font-size:17px;margin-bottom:3px}
.steps li span{color:var(--muted);font-size:15px}

details{border-bottom:1px solid var(--line);padding:14px 2px}
details summary{cursor:pointer;font-weight:600;font-size:16.5px;list-style:none;
  display:flex;justify-content:space-between;align-items:center;gap:12px}
details summary::-webkit-details-marker{display:none}
details summary::after{content:"+";font-family:'IBM Plex Mono';color:var(--emerald-deep);font-size:20px}
details[open] summary::after{content:"–"}
details p{color:var(--muted);margin:10px 0 2px}

.related{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:10px}
.related a{background:var(--white);border:1px solid var(--line);border-radius:999px;
  padding:8px 15px;font-size:14px;text-decoration:none;color:var(--ink)}
.related a:hover{border-color:var(--emerald);color:var(--emerald-deep)}

/* ---- pricing ---- */
.price-grid{display:grid;gap:18px;grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}
.price{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:24px}
.price.feature{border-color:var(--emerald);box-shadow:var(--shadow)}
.price .amt{font-family:'Fraunces',serif;font-size:40px;line-height:1}
.price .amt small{font-size:15px;color:var(--muted);font-family:'IBM Plex Sans'}
.price h3{font-size:18px;margin:0 0 10px}

/* ---- footer ---- */
.site-foot{border-top:1px solid var(--line);margin-top:30px;padding:30px 0;color:var(--muted);font-size:14px}
.site-foot .wrap{display:flex;flex-wrap:wrap;gap:14px;justify-content:space-between;align-items:center}
.site-foot a{color:var(--muted);text-decoration:none;margin-right:16px}
.site-foot a:hover{color:var(--ink)}

/* ---- load animation ---- */
@media(prefers-reduced-motion:no-preference){
  .reveal{opacity:0;transform:translateY(14px);animation:rise .6s cubic-bezier(.2,.7,.2,1) forwards}
  .reveal:nth-child(2){animation-delay:.06s}.reveal:nth-child(3){animation-delay:.12s}
  .reveal:nth-child(4){animation-delay:.18s}
  @keyframes rise{to{opacity:1;transform:none}}
}
.prose{max-width:65ch}
.prose h1{font-size:clamp(30px,4vw,44px);margin:30px 0 16px}
.prose ul{padding-left:1.1em}.prose li{margin:8px 0}
