/* =====================================================================
   Ledgra — Site: hero, page sections, decorative + accounting widgets
   Ledger-gold on deep navy · cream paper statements.
   ===================================================================== */

/* ---------------- Hero ---------------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  background: var(--grad-ink); color: var(--on-dark); overflow: hidden;
  padding-top: calc(var(--nav-h) + 1rem); padding-bottom: 2.5rem;
}
.hero-canvas { position:absolute; inset:0; z-index:0; opacity:1; }
.hero::after {
  content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background:
    radial-gradient(58% 50% at 82% 8%, rgba(217,146,47,.26), transparent 60%),
    radial-gradient(48% 45% at 6% 92%, rgba(184,116,28,.16), transparent 60%);
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display:grid; grid-template-columns: 1.05fr .95fr; gap: 2.6rem; align-items:center; }
@media (max-width: 980px){ .hero-grid { grid-template-columns: 1fr; gap: 2.2rem; } }

.hero h1 { color:#fff; font-size: var(--fs-display); line-height: 1.0; margin: .85rem 0 1rem; font-weight:600; }
.hero h1 .rotator { display:block; }
.hero-sub { font-size: clamp(1rem, .93rem + .35vw, 1.2rem); color: var(--on-dark-body); max-width: 46ch; line-height:1.55; }
.hero-cta { display:flex; gap:.8rem; flex-wrap:wrap; margin-top: 1.5rem; }
.hero-meta { display:flex; gap: 2rem; margin-top: 1.8rem; flex-wrap:wrap; }

/* keep the hero on one screen on short laptops */
@media (max-height: 880px) and (min-width: 981px) {
  .hero h1 { font-size: clamp(2.3rem, 1.2rem + 2.2vw, 3.5rem); }
  .hero-sub { font-size: 1rem; max-width: 44ch; -webkit-line-clamp: unset; }
  .hero-cta { margin-top: 1.2rem; }
  .hero-meta { margin-top: 1.4rem; gap: 1.6rem; }
  .hero .scroll-cue { display: none; }
}
@media (max-height: 760px) and (min-width: 981px) {
  .hero { padding-top: calc(var(--nav-h) + .4rem); padding-bottom: 1.4rem; }
  .hero .badge { padding-block: .34rem; }
  .hero h1 { font-size: clamp(2.1rem, 1rem + 1.9vw, 3rem); margin:.6rem 0 .8rem; }
}
.hero-meta .stat .num { font-size: clamp(1.6rem,1.2rem+1.4vw,2.2rem); }
.hero-meta .stat .lbl { font-size:.82rem; }

/* rotating word */
.rotator-word { display:inline-block; position:relative; }
.rotator-word .w {
  background: var(--grad-text); -webkit-background-clip:text; background-clip:text; color:transparent;
  display:inline-block; font-style: italic;
}

/* scroll cue */
.scroll-cue { position:absolute; bottom: 26px; left:50%; transform:translateX(-50%); z-index:3; display:flex; flex-direction:column; align-items:center; gap:.5rem; color: var(--on-dark-muted); font-family:var(--font-mono); font-size:.7rem; letter-spacing:.2em; text-transform:uppercase; }
.scroll-cue .mouse { width:24px; height:38px; border:1.5px solid var(--on-dark-line-2); border-radius:12px; position:relative; }
.scroll-cue .mouse::before { content:""; position:absolute; top:7px; left:50%; transform:translateX(-50%); width:3px; height:7px; border-radius:2px; background: var(--brand-300); animation: mscroll 1.6s var(--ease-inout) infinite; }
@keyframes mscroll { 0%{opacity:0;transform:translate(-50%,0)} 30%{opacity:1} 70%{opacity:1;transform:translate(-50%,10px)} 100%{opacity:0;transform:translate(-50%,10px)} }

/* ---------------- Interior page hero ---------------- */
.page-hero { position:relative; background:var(--grad-ink); color:var(--on-dark); overflow:hidden;
  padding: calc(var(--nav-h) + clamp(3rem,6vw,5.5rem)) 0 clamp(3rem,6vw,5rem); }
.page-hero canvas { position:absolute; inset:0; z-index:0; opacity:.7; }
.page-hero::after { content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background: radial-gradient(55% 60% at 85% 0%, rgba(217,146,47,.24), transparent 62%),
              radial-gradient(45% 50% at 4% 100%, rgba(184,116,28,.14), transparent 60%); }
.page-hero .container { position:relative; z-index:2; }
.page-hero h1 { color:#fff; margin:1.1rem 0 1.2rem; max-width: 20ch; }
.page-hero .lead { max-width: 62ch; color: var(--on-dark-body); }
.page-hero .hero-cta { margin-top: 2rem; }
.crumb { font-family:var(--font-mono); font-size:.74rem; letter-spacing:.14em; text-transform:uppercase; color: var(--on-dark-muted); }
.crumb a { color: var(--brand-300); } .crumb a:hover { color:#fff; }

/* numbered big section markers */
.sec-num { font-family:var(--font-mono); font-size:.8rem; letter-spacing:.16em; color:var(--brand-600); text-transform:uppercase; }
.on-dark .sec-num { color: var(--brand-300); }

/* mini kpi row */
.kpi-row { display:flex; flex-wrap:wrap; gap: 2.4rem; }
.kpi-row .stat .num { font-size: clamp(1.8rem,1.3rem+1.6vw,2.6rem); }

/* feature list within splits */
.flist { display:grid; gap:1rem; }
.flist .fitem { display:flex; gap:.85rem; align-items:flex-start; }
.flist .fitem .fi-ic { width:38px;height:38px;border-radius:11px;flex:none;display:grid;place-items:center;background:var(--brand-50);color:var(--brand-700); }
.on-dark .flist .fitem .fi-ic { background: rgba(217,146,47,.16); color: var(--brand-300); }
.flist .fitem h4 { font-size:1.05rem; color:var(--text); margin-bottom:.15rem; }
.on-dark .flist .fitem h4 { color:#fff; }
.flist .fitem p { font-size:.92rem; color: var(--muted); }
.on-dark .flist .fitem p { color: var(--on-dark-muted); }

/* ================= Paper statement (hero Trial Balance mock) ================= */
.stmt {
  background: linear-gradient(180deg,#FFFDF8 0%, #FBF5E9 100%);
  border-radius: 16px; overflow:hidden;
  box-shadow: 0 40px 90px rgba(0,0,0,.5), 0 0 0 1px rgba(217,146,47,.28);
  transform: perspective(1700px) rotateY(-9deg) rotateX(3deg);
  transition: transform .6s var(--ease-out);
}
.stmt:hover { transform: perspective(1700px) rotateY(-3deg) rotateX(1deg); }
.stmt-top { background: var(--ink-700); color:#fff; padding:.85rem 1.15rem; display:flex; align-items:center; justify-content:space-between; gap:1rem; border-bottom: 2px solid var(--brand-500); }
.stmt-top .st-title { font-family:var(--font-display); font-weight:600; font-size:1rem; letter-spacing:-.01em; }
.stmt-top .st-title small { display:block; font-family:var(--font-mono); font-weight:500; font-size:.6rem; letter-spacing:.12em; color:var(--brand-300); text-transform:uppercase; margin-top:.1rem; }
.stmt-top .st-badge { font-family:var(--font-mono); font-size:.62rem; letter-spacing:.1em; color:var(--brand-300); border:1px solid rgba(231,169,74,.4); padding:.24rem .5rem; border-radius:var(--r-pill); text-transform:uppercase; }
.stmt-body { padding:1.15rem 1.3rem 1.4rem; position:relative; }
.stmt-cols { display:grid; grid-template-columns:1fr 1fr; gap:0; }
.stmt-col { padding:0 .2rem; }
.stmt-col + .stmt-col { border-left:1px solid var(--line); padding-left:1rem; }
.stmt-col > h5 { font-family:var(--font-mono); font-size:.62rem; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); margin-bottom:.5rem; padding-bottom:.4rem; border-bottom:1px solid var(--line); }
.stmt-row { display:flex; align-items:center; justify-content:space-between; gap:.5rem; padding:.34rem 0; font-size:.78rem; color:var(--text-body); }
.stmt-row .a { font-family:var(--font-mono); font-weight:500; color:var(--text); }
.stmt-tot { display:flex; align-items:center; justify-content:space-between; margin-top:.5rem; padding-top:.5rem; border-top:2px solid var(--line-2); font-size:.82rem; font-weight:700; color:var(--text); }
.stmt-tot .a { font-family:var(--font-mono); }
.stmt-foot { display:flex; align-items:center; justify-content:space-between; gap:.8rem; margin-top:1rem; padding-top:.9rem; border-top:1px dashed var(--line); }
.stmt-foot .diff { font-family:var(--font-mono); font-size:.72rem; color:var(--muted); }
.stmt-foot .diff b { color: var(--teal-500); }

/* Balanced gold seal */
.seal {
  width:74px; height:74px; border-radius:50%; flex:none; position:relative;
  display:grid; place-items:center; text-align:center;
  color: var(--brand-700); border:2px solid var(--brand-500);
  background: radial-gradient(circle at 50% 35%, #FDF3DE, #F6E4BE);
  box-shadow: 0 6px 18px rgba(217,146,47,.28); transform: rotate(-9deg);
  font-family:var(--font-mono); font-size:.5rem; letter-spacing:.12em; line-height:1.25; text-transform:uppercase; font-weight:600;
  animation: sealin .7s var(--ease-spring) both; animation-delay:.6s;
}
.seal::before { content:""; position:absolute; inset:5px; border-radius:50%; border:1px dashed rgba(184,116,28,.6); }
.seal b { display:block; font-family:var(--font-display); font-size:.78rem; letter-spacing:0; }
@keyframes sealin { 0%{ opacity:0; transform: rotate(-9deg) scale(1.5);} 60%{opacity:1;} 100%{ opacity:1; transform: rotate(-9deg) scale(1);} }

/* AI-assist insight strip (a feature, not the brand) */
.ai-insight { display:flex; gap:.6rem; align-items:flex-start; margin-top:.9rem; background: rgba(217,146,47,.1); border:1px solid rgba(231,169,74,.28); border-radius: 12px; padding:.7rem .8rem; }
.ai-insight .av { width:26px; height:26px; border-radius:8px; flex:none; display:grid; place-items:center; background: var(--grad-brand); color:#241905; font-size:.55rem; font-weight:700; font-family:var(--font-mono); }
.ai-insight p { font-size:.8rem; color: var(--text-body); line-height:1.45; margin:0; }
.ai-insight strong { color:var(--text); }

/* ================= Feature tiers (must / nice / best) ================= */
.tier-card { display:flex; flex-direction:column; height:100%; }
.tier-card.best { border-color: var(--brand-400); box-shadow: var(--sh-glow); }
.tier-badge { display:inline-flex; align-items:center; gap:.5rem; align-self:flex-start; font-family:var(--font-mono); font-size:.66rem; letter-spacing:.14em; text-transform:uppercase; font-weight:600; padding:.4rem .75rem; border-radius:var(--r-pill); margin-bottom:1rem; }
.tier-badge.must { background: rgba(46,62,134,.1); color: var(--sky-500); border:1px solid rgba(46,62,134,.22); }
.tier-badge.nice { background: rgba(184,116,28,.12); color: var(--gold-500); border:1px solid rgba(184,116,28,.25); }
.tier-badge.best { background: var(--grad-brand); color:#241905; }
.tier-card h3 { font-size:1.3rem; margin-bottom:.4rem; }
.tier-card > p { color: var(--muted); font-size:.94rem; margin-bottom:1rem; }
.feat-list { display:grid; gap:.62rem; margin-top:.3rem; }
.feat-list li { display:flex; gap:.6rem; align-items:flex-start; font-size:.93rem; color:var(--text-body); line-height:1.4; }
.feat-list li svg { flex:none; width:18px; height:18px; color: var(--teal-500); margin-top:.15rem; }
.feat-list li b { color: var(--text); font-weight:600; }

/* ---------------- Pillars ---------------- */
.pillar { display:flex; flex-direction:column; height:100%; }
.pillar .num { font-family: var(--font-mono); font-size:.78rem; color: var(--faint); letter-spacing:.1em; }
.pillar h3 { margin:.9rem 0 .55rem; }
.pillar .tags { display:flex; flex-wrap:wrap; gap:.4rem; margin-top:auto; padding-top:1.2rem; }
.pillar .tags span { font-family:var(--font-mono); font-size:.68rem; color: var(--muted); background: var(--bg-alt); border:1px solid var(--line); padding:.25rem .55rem; border-radius:6px; }
.on-dark .pillar .tags span { background: rgba(255,255,255,.04); border-color: var(--on-dark-line); color: var(--on-dark-muted); }

/* ---------------- Steps / process ---------------- */
.flow { display:grid; grid-template-columns: repeat(5,1fr); gap:1rem; position:relative; }
.flow::before { content:""; position:absolute; top:23px; left:8%; right:8%; height:2px; background: linear-gradient(90deg, var(--brand-500), var(--gold-500)); opacity:.4; z-index:0; }
@media (max-width:820px){ .flow { grid-template-columns: 1fr 1fr; } .flow::before{ display:none; } }
.flow .node { position:relative; z-index:1; text-align:center; }
.flow .node .dot { width:48px; height:48px; margin:0 auto .9rem; border-radius:50%; display:grid; place-items:center; background: var(--surface); border:2px solid var(--brand-500); color: var(--brand-700); font-weight:700; font-family:var(--font-display); }
.on-dark .flow .node .dot { background: var(--ink-600); color:#fff; }
.flow .node h4 { font-size:1.02rem; margin-bottom:.3rem; }
.flow .node p { font-size:.86rem; }

/* ---------------- Industry tiles ---------------- */
.ind-tile { position:relative; overflow:hidden; padding: 1.6rem; border-radius: var(--r-lg); background: var(--surface); border:1px solid var(--line); transition: all var(--t-med) var(--ease-out); display:block; }
.ind-tile:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: rgba(217,146,47,.3); }
.ind-tile .ic-chip { margin-bottom:1rem; }
.ind-tile h3 { font-size:1.2rem; margin-bottom:.4rem; }
.ind-tile p { font-size:.92rem; color:var(--muted); }
.ind-tile .verticals { margin-top:1rem; padding-top:1rem; border-top:1px solid var(--line); font-family:var(--font-mono); font-size:.74rem; color:var(--faint); }

/* ---------------- CTA band ---------------- */
.cta-band { position:relative; overflow:hidden; border-radius: var(--r-xl); padding: clamp(2.5rem,5vw,4.5rem); background: var(--grad-ink); color:#fff; text-align:center; }
.cta-band::before { content:""; position:absolute; inset:0; background: radial-gradient(50% 80% at 50% 0%, rgba(217,146,47,.34), transparent 70%); }
.cta-band > * { position:relative; z-index:1; }
.cta-band h2 { color:#fff; }
.cta-band .lead { color: var(--on-dark-body); margin: 1rem auto 2rem; max-width:56ch; }

/* ---------------- Bento grid ---------------- */
.bento { display:grid; grid-template-columns: repeat(3,1fr); grid-auto-rows: minmax(180px,auto); gap: 1.2rem; }
.bento .card { display:flex; flex-direction:column; }
.bento .span2 { grid-column: span 2; }
.bento .row2 { grid-row: span 2; }
@media (max-width: 900px){ .bento { grid-template-columns: 1fr 1fr; } .bento .span2 { grid-column: span 2; } .bento .row2{ grid-row: auto; } }
@media (max-width: 600px){ .bento { grid-template-columns: 1fr; } .bento .span2 { grid-column: auto; } }

/* ---------------- Accordion (FAQ) ---------------- */
.acc { border:1px solid var(--line); border-radius: var(--r-md); background: var(--surface); overflow:hidden; }
.acc + .acc { margin-top: .8rem; }
.acc summary { list-style:none; cursor:pointer; padding: 1.15rem 1.4rem; display:flex; justify-content:space-between; align-items:center; gap:1rem; font-family:var(--font-display); font-weight:600; color:var(--text); font-size:1.08rem; }
.acc summary::-webkit-details-marker { display:none; }
.acc summary .plus { flex:none; width:24px; height:24px; position:relative; transition: transform var(--t-med); }
.acc summary .plus::before, .acc summary .plus::after { content:""; position:absolute; background: var(--brand-500); border-radius:2px; }
.acc summary .plus::before { top:50%; left:0; right:0; height:2px; transform:translateY(-50%); }
.acc summary .plus::after { left:50%; top:0; bottom:0; width:2px; transform:translateX(-50%); transition: transform var(--t-med); }
.acc[open] summary .plus::after { transform: translateX(-50%) scaleY(0); }
.acc .acc-body { padding: 0 1.4rem 1.3rem; color: var(--muted); }

/* ---------------- Pricing ---------------- */
.price-card { display:flex; flex-direction:column; height:100%; }
.price-card.featured { border-color: var(--brand-400); box-shadow: var(--sh-glow); position:relative; }
.price-card.featured::after { content:"Most adopted"; position:absolute; top:-1px; right:1.4rem; transform:translateY(-50%); background: var(--grad-brand); color:#241905; font-family:var(--font-mono); font-size:.66rem; letter-spacing:.1em; text-transform:uppercase; padding:.3rem .7rem; border-radius: var(--r-pill); }
.price-card .tier { font-family:var(--font-mono); font-size:.78rem; letter-spacing:.12em; text-transform:uppercase; color:var(--brand-700); }
.price-card .price { font-family:var(--font-display); font-weight:600; font-size:2.2rem; margin:.6rem 0 .2rem; color:var(--text); }
.price-card .price small { font-size:.9rem; color:var(--muted); font-weight:400; }
.price-card ul { margin:1.4rem 0; display:grid; gap:.7rem; }
.price-card ul li { display:flex; gap:.6rem; align-items:flex-start; font-size:.95rem; color:var(--text-body); }
.price-card ul li svg { flex:none; width:19px; height:19px; color:var(--teal-500); margin-top:.15rem; }
.price-card .btn { margin-top:auto; }

/* ---------------- Testimonial / quote ---------------- */
.quote { font-family: var(--font-display); font-weight:500; font-size: clamp(1.35rem,1rem+1.5vw,2.05rem); line-height:1.35; color: var(--text); letter-spacing:-.01em; }
.on-dark .quote { color:#fff; }
.quote-mark { font-family:var(--font-display); font-size:4rem; line-height:.5; color: var(--brand-400); opacity:.6; }

/* ---------------- Decorative blobs ---------------- */
.blob { position:absolute; border-radius:50%; filter: blur(80px); opacity:.5; z-index:0; pointer-events:none; }
.blob.b { background: rgba(217,146,47,.45); } .blob.t { background: rgba(184,116,28,.35); } .blob.g { background: rgba(31,157,107,.24); }

/* ================= Modules grid ================= */
.mod-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: .9rem; }
@media (max-width: 900px){ .mod-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .mod-grid { grid-template-columns: 1fr; } }
.mod {
  display:flex; align-items:center; gap:.85rem; padding:.95rem 1rem; border-radius: var(--r-md);
  background: var(--surface); border:1px solid var(--line); transition: all var(--t-med) var(--ease-out);
}
.mod:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: rgba(217,146,47,.32); }
.mod .mod-ic { width:40px; height:40px; border-radius:11px; flex:none; display:grid; place-items:center; background: var(--brand-50); color: var(--brand-700); border:1px solid rgba(217,146,47,.16); }
.mod .mod-ic svg { width:20px; height:20px; }
.mod strong { display:block; color: var(--text); font-size:.98rem; font-family:var(--font-display); font-weight:600; letter-spacing:-.005em; }
.mod small { color: var(--muted); font-size:.8rem; }

.mod-cat { display:inline-flex; align-items:center; gap:.55rem; font-family:var(--font-mono); font-size:.72rem; letter-spacing:.14em; text-transform:uppercase; color:var(--brand-700); background:var(--brand-50); border:1px solid rgba(217,146,47,.18); padding:.4rem .8rem; border-radius:var(--r-pill); margin-bottom:1.2rem; }
.mod-cat .n { color:var(--brand-500); font-weight:700; }

/* ================= Report widgets ================= */
.report-card { background: var(--surface); border:1px solid var(--line); border-radius: var(--r-lg); overflow:hidden; box-shadow: var(--sh-md); }
.report-head { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1rem 1.3rem; border-bottom:1px solid var(--line); background: var(--bg-alt); }
.report-head h4 { font-size:1.02rem; }
.report-head .rtag { font-family:var(--font-mono); font-size:.68rem; color:var(--muted); }
.report-body { padding: 1.3rem; }
.rline { display:flex; justify-content:space-between; align-items:center; padding:.55rem 0; border-bottom:1px dashed var(--line); font-size:.94rem; }
.rline:last-child { border-bottom:0; }
.rline .lbl { color: var(--text-body); }
.rline .val { font-family:var(--font-mono); font-weight:500; color: var(--text); }
.rline .val.pos { color: var(--teal-500); } .rline .val.neg { color: var(--rose-500); }
.rline.total { border-top:2px solid var(--line-2); border-bottom:0; margin-top:.3rem; padding-top:.7rem; font-weight:700; }
.rline.total .lbl { color: var(--text); font-family:var(--font-display); }

/* mini bar chart */
.bars { display:flex; align-items:flex-end; gap:.5rem; height:120px; padding-top:.5rem; }
.bars .bar { flex:1; border-radius:6px 6px 0 0; background: var(--grad-brand); position:relative; min-height:6px; opacity:.95; transition: height .8s var(--ease-out); }
.bars .bar.alt { background: linear-gradient(180deg, var(--teal-400), var(--teal-500)); }
.bars .bar span { position:absolute; top:-1.3rem; left:50%; transform:translateX(-50%); font-family:var(--font-mono); font-size:.62rem; color:var(--muted); }
.bars-x { display:flex; gap:.5rem; margin-top:.5rem; }
.bars-x span { flex:1; text-align:center; font-family:var(--font-mono); font-size:.62rem; color:var(--faint); }

/* donut ring */
.donut { width:150px; height:150px; border-radius:50%; margin:0 auto;
  background: conic-gradient(var(--brand-500) 0 46%, var(--teal-500) 46% 72%, var(--gold-500) 72% 88%, var(--sky-500) 88% 100%);
  display:grid; place-items:center; position:relative; }
.donut::after { content:""; width:96px; height:96px; border-radius:50%; background: var(--surface); }
.donut-c { position:absolute; text-align:center; }
.donut-c strong { font-family:var(--font-display); font-size:1.3rem; color:var(--text); }
.donut-c small { display:block; color:var(--muted); font-size:.72rem; }

/* ---------------- Ledger table (app mock) ---------------- */
.app-mock {
  background: linear-gradient(160deg, rgba(24,32,82,.9), rgba(11,15,36,.97));
  border: 1px solid var(--on-dark-line-2); border-radius: var(--r-lg);
  box-shadow: 0 40px 90px rgba(0,0,0,.5); overflow:hidden;
}
.cm-bar { display:flex; align-items:center; gap:.5rem; padding:.7rem 1rem; border-bottom:1px solid var(--on-dark-line); background: rgba(0,0,0,.25); }
.cm-bar .dots { display:flex; gap:.4rem; }
.cm-bar .dots i { width:11px; height:11px; border-radius:50%; background: rgba(255,255,255,.18); }
.cm-bar .dots i:nth-child(1){ background:#F5646E } .cm-bar .dots i:nth-child(2){ background:#F5BD4F } .cm-bar .dots i:nth-child(3){ background:#5FCE7E }
.cm-bar .cm-title { font-family: var(--font-mono); font-size:.72rem; color: var(--on-dark-muted); letter-spacing:.04em; }
.cm-body { padding: 1rem 1.1rem 1.2rem; }
.lg-head, .lg-row { display:grid; grid-template-columns: 88px 1fr 92px; gap:.6rem; align-items:center; }
.lg-head { font-family:var(--font-mono); font-size:.62rem; letter-spacing:.08em; text-transform:uppercase; color: var(--on-dark-muted); padding:.3rem .2rem .55rem; border-bottom:1px solid var(--on-dark-line); }
.lg-row { padding:.55rem .2rem; border-bottom:1px solid rgba(255,255,255,.05); font-size:.8rem; color: var(--on-dark-body); }
.lg-row .doc { font-family:var(--font-mono); font-size:.7rem; color: var(--brand-300); }
.lg-row .amt { font-family:var(--font-mono); text-align:right; color:#fff; font-weight:500; }
.lg-row .amt.cr { color: var(--teal-400); }
.lg-row .amt.dr { color: var(--brand-300); }
.lg-row.tot { border-top:1px solid var(--on-dark-line); border-bottom:0; margin-top:.2rem; padding-top:.6rem; font-weight:600; color:#fff; }
.balanced { display:inline-flex; align-items:center; gap:.4rem; font-family:var(--font-mono); font-size:.66rem; color: var(--brand-300); background: rgba(217,146,47,.16); border:1px solid rgba(231,169,74,.32); padding:.2rem .5rem; border-radius:var(--r-pill); }

/* ---------------- Architecture stack ---------------- */
.arch { display:grid; gap:.9rem; max-width: 940px; margin-inline:auto; }
.arch-layer { display:grid; grid-template-columns: auto 1fr auto; gap:1.4rem; align-items:center;
  background: var(--surface); border:1px solid var(--line); border-radius: var(--r-lg); padding:1.3rem 1.6rem;
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med), border-color var(--t-med); }
.arch-layer:hover { transform: translateX(6px); box-shadow: var(--sh-md); border-color: rgba(217,146,47,.32); }
.arch-n { font-family:var(--font-display); font-weight:600; font-size:1.3rem; color:#241905; background: var(--grad-brand); width:52px; height:52px; border-radius:14px; display:grid; place-items:center; box-shadow: var(--sh-brand); }
.arch-body h3 { font-size:1.2rem; margin-bottom:.2rem; }
.arch-body p { font-size:.92rem; color: var(--muted); }
.arch-tags { display:flex; flex-wrap:wrap; gap:.4rem; justify-content:flex-end; max-width: 280px; }
.arch-tags span { font-family:var(--font-mono); font-size:.68rem; color: var(--brand-700); background: var(--brand-50); border:1px solid rgba(217,146,47,.16); padding:.24rem .5rem; border-radius:6px; }
@media (max-width: 760px){ .arch-layer { grid-template-columns: auto 1fr; } .arch-tags { display:none; } }

/* ---------------- Connector tiles ---------------- */
.conn { display:grid; place-items:center; height:66px; border-radius: var(--r-md); background: rgba(255,255,255,.04); border:1px solid var(--on-dark-line); color: var(--on-dark-body); font-weight:600; font-size:.9rem; transition: all var(--t-fast) var(--ease-out); text-align:center; padding:.4rem; }
.conn:hover { border-color: var(--brand-300); color:#fff; background: rgba(217,146,47,.14); transform: translateY(-3px); }
.conn.light { background: var(--surface); border-color: var(--line); color: var(--text-body); }
.conn.light:hover { border-color: var(--brand-400); color: var(--brand-700); background: var(--brand-50); }

/* ---------------- Compliance badges ---------------- */
.cert { display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; gap:.2rem;
  height:96px; border-radius: var(--r-md); background: var(--surface); border:1px solid var(--line);
  font-family:var(--font-display); font-weight:600; color: var(--text); font-size:1rem;
  transition: all var(--t-med) var(--ease-out); }
.cert:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: rgba(217,146,47,.32); color: var(--brand-700); }
.cert small { font-family:var(--font-body); font-weight:500; font-size:.72rem; color: var(--muted); }

/* ---------------- Forms ---------------- */
.field { margin-bottom: 1.1rem; }
.field label { display:block; font-size:.85rem; font-weight:600; color: var(--text); margin-bottom:.45rem; }
.field .inp {
  width:100%; padding:.85rem 1rem; border-radius: var(--r-md); border:1px solid var(--line-2);
  background: var(--surface); transition: border-color var(--t-fast), box-shadow var(--t-fast); font-size:.98rem;
}
.field .inp:focus { outline:none; border-color: var(--brand-400); box-shadow: 0 0 0 4px rgba(217,146,47,.16); }

/* ---------------- Testimonials grid ---------------- */
.tcard { background: var(--surface); border:1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem; }
.tcard p { color: var(--text-body); font-size:1rem; }
.tcard .who { display:flex; align-items:center; gap:.7rem; margin-top:1.2rem; }
.tcard .who .ava { width:42px; height:42px; border-radius:50%; display:grid; place-items:center; font-family:var(--font-display); font-weight:700; color:#241905; background: var(--grad-brand); font-size:.9rem; }
.tcard .who strong { display:block; color:var(--text); font-size:.95rem; }
.tcard .who small { color:var(--muted); font-size:.82rem; }
.stars { color: var(--brand-500); letter-spacing:.1em; font-size:.9rem; margin-bottom:.8rem; }
