/* =========================================================
   Reap SmartERP — Premium Light Theme
   Brand: Gold (#E89A00) + Ink (#16181D) on warm white
   ========================================================= */

:root {
    --gold:        #E89A00;
    --gold-2:      #F5B72E;
    --gold-deep:   #C77F00;
    --gold-soft:   #FFF4DC;
    --gold-tint:   #FFFAF0;

    --ink:         #16181D;
    --ink-2:       #2C3038;
    --muted:       #6A6F7A;
    --muted-2:     #9AA0AB;

    --bg:          #FFFFFF;
    --bg-soft:     #FCFAF5;
    --bg-cream:    #FFF9EE;
    --border:      #ECE6D9;
    --border-2:    #F1EEE7;

    --shadow-sm:   0 1px 2px rgba(22,24,29,.05), 0 1px 3px rgba(22,24,29,.04);
    --shadow-md:   0 6px 24px rgba(22,24,29,.07);
    --shadow-lg:   0 22px 60px rgba(22,24,29,.10);
    --shadow-gold: 0 14px 34px rgba(232,154,0,.28);

    --radius:      18px;
    --radius-sm:   12px;
    --radius-lg:   28px;

    --maxw:        1180px;

    --font:        'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
    --font-body:   'Inter', system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
    font-family: var(--font-body);
    color: var(--ink-2);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: var(--font);
    color: var(--ink);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.02em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

section { position: relative; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font);
    font-weight: 700;
    font-size: 15px;
    padding: 13px 24px;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
    white-space: nowrap;
}
.btn-primary {
    background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, var(--gold-deep));
    color: #1c1300;
    box-shadow: var(--shadow-gold);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(232,154,0,.36); }
.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-deep); background: var(--gold-tint); }
.btn-dark {
    background: var(--ink);
    color: #fff;
}
.btn-dark:hover { transform: translateY(-2px); background: #000; }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- Navigation ---------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.82);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.nav.scrolled { border-color: var(--border); box-shadow: var(--shadow-sm); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 74px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: 38px; width: auto; }
.footer-logo { height: 38px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-links a {
    font-family: var(--font);
    font-weight: 600;
    font-size: 14.5px;
    color: var(--ink-2);
    padding: 9px 14px;
    border-radius: 10px;
    transition: color .15s ease, background .15s ease;
}
.nav-links a:hover { color: var(--gold-deep); background: var(--gold-tint); }
.nav-links a.active { color: var(--gold-deep); }
.nav-cta { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Generic section heading ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--gold-deep);
    background: var(--gold-soft);
    padding: 7px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}
.section-head { max-width: 720px; margin: 0 auto 54px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 16px; }
.section-head p { font-size: 18px; color: var(--muted); }

.pad { padding: 92px 0; }
.pad-sm { padding: 64px 0; }
.bg-soft { background: var(--bg-soft); }
.bg-cream { background: var(--bg-cream); }
.bg-ink { background: var(--ink); color: #cfd2d8; }
.bg-ink h2, .bg-ink h3 { color: #fff; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: 84px 0 96px;
    background:
        radial-gradient(60% 80% at 85% -10%, rgba(245,183,46,.20), transparent 60%),
        radial-gradient(50% 60% at 0% 0%, rgba(232,154,0,.10), transparent 55%),
        var(--bg);
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 56px;
    align-items: center;
}
.hero h1 {
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.05;
    margin-bottom: 22px;
}
.hero h1 .grad {
    background: linear-gradient(120deg, var(--gold-deep), var(--gold-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-note { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.hero-note .dot { width: 7px; height: 7px; background: var(--gold); border-radius: 50%; box-shadow: 0 0 0 4px var(--gold-soft); }

/* Hero visual — app mock */
.hero-visual { position: relative; }
.mock {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
    transition: transform .4s ease;
}
.hero-visual:hover .mock { transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); }
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 14px 16px; border-bottom: 1px solid var(--border-2); background: var(--bg-soft); }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: #e2ddd2; display: inline-block; }
.mock-bar i:nth-child(1){ background:#ff5f57;} .mock-bar i:nth-child(2){ background:#febc2e;} .mock-bar i:nth-child(3){ background:#28c840;}
.mock-bar .mock-title { margin-left: 10px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.mock-body { padding: 22px; display: grid; gap: 16px; }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mock-stat { background: var(--gold-tint); border: 1px solid var(--border-2); border-radius: 14px; padding: 14px; }
.mock-stat .v { font-family: var(--font); font-weight: 800; font-size: 22px; color: var(--ink); }
.mock-stat .l { font-size: 12px; color: var(--muted); }
.mock-chart { height: 150px; border: 1px solid var(--border-2); border-radius: 14px; padding: 16px; display: flex; align-items: flex-end; gap: 10px; background: #fff; }
.mock-chart .bar { flex: 1; border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, var(--gold-2), var(--gold)); opacity: .85; }
.mock-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border: 1px solid var(--border-2); border-radius: 12px; font-size: 13px; }
.mock-row .tag { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--gold-soft); color: var(--gold-deep); }

.float-card {
    position: absolute;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
}
.float-card .ic { width: 30px; height: 30px; border-radius: 9px; background: var(--gold-soft); display: grid; place-items: center; font-size: 16px; }
.float-1 { top: -18px; left: -26px; animation: floaty 5s ease-in-out infinite; }
.float-2 { bottom: 26px; right: -28px; animation: floaty 6s ease-in-out infinite .8s; }
@keyframes floaty { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-12px);} }

/* ---------- Trust strip ---------- */
.trust { padding: 34px 0; border-bottom: 1px solid var(--border-2); }
.trust p { text-align: center; color: var(--muted-2); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 20px; }
.trust-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 40px; }
.trust-logos span {
    font-family: var(--font); font-weight: 800; font-size: 20px; color: #b9bcc4; letter-spacing: -.02em;
    transition: color .2s ease;
}
.trust-logos span:hover { color: var(--ink); }

/* ---------- Card grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold-2); }
.card .ic {
    width: 50px; height: 50px; border-radius: 14px;
    background: linear-gradient(135deg, var(--gold-soft), #fff);
    border: 1px solid var(--border-2);
    display: grid; place-items: center; font-size: 24px; margin-bottom: 18px;
}
.card h3 { font-size: 19px; margin-bottom: 9px; }
.card p { color: var(--muted); font-size: 15px; }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-family: var(--font); font-weight: 700; font-size: 14px; color: var(--gold-deep); }
.card .more:hover { gap: 10px; }

/* ---------- Problem / Solution band ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.split .panel { border-radius: var(--radius); padding: 34px; border: 1px solid var(--border); }
.panel-problem { background: var(--bg-soft); }
.panel-solution { background: linear-gradient(150deg, var(--gold-tint), #fff); border-color: var(--gold-2); }
.panel h3 { font-size: 22px; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.panel ul { list-style: none; display: grid; gap: 14px; }
.panel li { display: flex; gap: 12px; font-size: 15px; }
.panel li .mk { flex-shrink: 0; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.panel-problem .mk { background: #f3ece0; color: var(--muted); }
.panel-solution .mk { background: var(--gold); color: #fff; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 30px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
.step .n {
    width: 44px; height: 44px; border-radius: 12px;
    background: var(--ink); color: var(--gold-2);
    font-family: var(--font); font-weight: 800; font-size: 18px;
    display: grid; place-items: center; margin-bottom: 16px;
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat .v { font-family: var(--font); font-weight: 800; font-size: clamp(32px, 4vw, 46px); color: var(--gold-2); letter-spacing: -.02em; }
.stat .l { color: #aab; font-size: 14.5px; margin-top: 4px; }
.bg-ink .stat .l { color: #9aa0ab; }

/* ---------- Testimonials ---------- */
.tcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tcard { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.tcard .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 12px; }
.tcard p { font-size: 15.5px; color: var(--ink-2); margin-bottom: 20px; }
.tcard .who { display: flex; align-items: center; gap: 12px; }
.tcard .av { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-2), var(--gold-deep)); color: #fff; display: grid; place-items: center; font-family: var(--font); font-weight: 800; }
.tcard .who b { font-family: var(--font); font-size: 14.5px; color: var(--ink); display: block; }
.tcard .who span { font-size: 13px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-box {
    background: linear-gradient(130deg, var(--ink), #23262e);
    border-radius: var(--radius-lg);
    padding: 64px 56px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-box::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(50% 120% at 80% 0%, rgba(245,183,46,.28), transparent 60%);
}
.cta-box > * { position: relative; z-index: 1; }
.cta-box h2 { color: #fff; font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; }
.cta-box p { color: #c4c8d0; font-size: 18px; max-width: 560px; margin: 0 auto 28px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Pricing teaser / pricing page ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; position: relative; }
.price-card.featured { border-color: var(--gold); box-shadow: var(--shadow-gold); transform: translateY(-8px); }
.price-card .badge { position: absolute; top: 18px; right: 18px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: #1c1300; background: linear-gradient(135deg, var(--gold-2), var(--gold)); padding: 5px 11px; border-radius: 999px; }
.price-card h3 { font-size: 20px; margin-bottom: 6px; }
.price-card .desc { color: var(--muted); font-size: 14px; min-height: 40px; }
.price-card .price { font-family: var(--font); font-weight: 800; font-size: 42px; color: var(--ink); margin: 14px 0 4px; letter-spacing: -.02em; }
.price-card .price span { font-size: 15px; font-weight: 600; color: var(--muted); }
.price-card .per { font-size: 13px; color: var(--muted-2); margin-bottom: 22px; }
.price-card ul { list-style: none; display: grid; gap: 12px; margin-bottom: 26px; flex: 1; }
.price-card li { display: flex; gap: 10px; font-size: 14.5px; }
.price-card li::before { content: "✓"; color: var(--gold-deep); font-weight: 800; }

.toggle-wrap { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 40px; }
.toggle-wrap .lbl { font-family: var(--font); font-weight: 700; color: var(--muted); }
.toggle-wrap .lbl.on { color: var(--ink); }
.switch { width: 54px; height: 30px; border-radius: 999px; background: var(--ink); position: relative; cursor: pointer; border: 0; }
.switch::after { content:""; position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--gold-2); transition: .22s; }
.switch.annual::after { left: 28px; }
.save-pill { font-size: 12px; font-weight: 700; color: var(--gold-deep); background: var(--gold-soft); padding: 4px 10px; border-radius: 999px; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { padding: 64px 0 48px; background: radial-gradient(60% 100% at 50% 0%, var(--gold-tint), var(--bg) 70%); text-align: center; }
.page-hero h1 { font-size: clamp(32px, 5vw, 50px); margin-bottom: 16px; }
.page-hero p { font-size: 19px; color: var(--muted); max-width: 680px; margin: 0 auto; }

/* ---------- Anchored sub-nav (modules etc.) ---------- */
.subnav { position: sticky; top: 74px; z-index: 50; background: rgba(255,255,255,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.subnav-inner { display: flex; gap: 6px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav a { flex-shrink: 0; font-family: var(--font); font-weight: 600; font-size: 14px; color: var(--muted); padding: 8px 15px; border-radius: 999px; transition: .15s; }
.subnav a:hover { color: var(--gold-deep); background: var(--gold-tint); }

/* ---------- Feature / module block ---------- */
.feature-block { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; padding: 70px 0; border-bottom: 1px solid var(--border-2); scroll-margin-top: 140px; }
.feature-block:nth-child(even) .fb-visual { order: -1; }
.fb-text .eyebrow { margin-bottom: 16px; }
.fb-text h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 16px; }
.fb-text > p { color: var(--muted); font-size: 17px; margin-bottom: 22px; }
.fb-list { list-style: none; display: grid; gap: 13px; margin-bottom: 26px; }
.fb-list li { display: flex; gap: 12px; font-size: 15.5px; }
.fb-list li .mk { flex-shrink: 0; width: 24px; height: 24px; border-radius: 8px; background: var(--gold-soft); color: var(--gold-deep); display: grid; place-items: center; font-weight: 800; font-size: 12px; }
.ai-callout { display: flex; gap: 14px; align-items: flex-start; background: linear-gradient(140deg, var(--gold-tint), #fff); border: 1px solid var(--gold-2); border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 24px; }
.ai-callout .ai-ic { flex-shrink: 0; width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(135deg, var(--gold-2), var(--gold-deep)); display: grid; place-items: center; font-size: 18px; }
.ai-callout b { font-family: var(--font); color: var(--ink); display: block; font-size: 14.5px; }
.ai-callout p { font-size: 13.5px; color: var(--muted); margin: 0; }

.fb-visual { }
.visual-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.visual-card .vc-head { padding: 14px 18px; border-bottom: 1px solid var(--border-2); background: var(--bg-soft); font-family: var(--font); font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.visual-card .vc-head .pill { margin-left: auto; font-size: 11px; font-weight: 700; color: var(--gold-deep); background: var(--gold-soft); padding: 3px 10px; border-radius: 999px; }
.visual-card .vc-body { padding: 22px; display: grid; gap: 14px; }
.vrow { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border: 1px solid var(--border-2); border-radius: 12px; font-size: 13.5px; }
.vrow .left { display: flex; align-items: center; gap: 10px; }
.vrow .ic2 { width: 30px; height: 30px; border-radius: 8px; background: var(--gold-tint); display: grid; place-items: center; font-size: 15px; }
.vrow b { font-family: var(--font); color: var(--ink); }
.vrow .ok { color: #1f9d55; font-weight: 700; }
.vrow .warn { color: var(--gold-deep); font-weight: 700; }
.vbar { height: 10px; border-radius: 999px; background: var(--border-2); overflow: hidden; }
.vbar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--gold-2), var(--gold)); }

/* ---------- Comparison table ---------- */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.compare th, .compare td { padding: 16px 20px; text-align: left; font-size: 15px; border-bottom: 1px solid var(--border-2); }
.compare thead th { font-family: var(--font); background: var(--bg-soft); color: var(--ink); }
.compare thead th:last-child { background: var(--gold-soft); color: var(--gold-deep); }
.compare td:first-child { font-weight: 600; color: var(--ink); }
.compare tr:last-child td { border-bottom: 0; }
.compare .no { color: var(--muted-2); }
.compare .yes { color: #1f9d55; font-weight: 700; }
.compare td:last-child { background: rgba(255,244,220,.4); }

/* ---------- FAQ accordion ---------- */
.faq-cat { margin-bottom: 44px; }
.faq-cat h3 { font-size: 22px; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.faq-cat h3 .ic { width: 36px; height: 36px; border-radius: 10px; background: var(--gold-soft); display: grid; place-items: center; font-size: 17px; }
.acc { border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; background: #fff; }
.acc + .acc { margin-top: 12px; }
.acc summary { cursor: pointer; list-style: none; padding: 18px 22px; font-family: var(--font); font-weight: 700; font-size: 16px; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .chev { flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; background: var(--gold-tint); display: grid; place-items: center; transition: .2s; color: var(--gold-deep); font-weight: 800; }
.acc[open] summary .chev { transform: rotate(45deg); }
.acc .acc-body { padding: 0 22px 20px; color: var(--muted); font-size: 15px; }

/* ---------- Forms (Contact / Try Now) ---------- */
.form-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 36px; }
.form-card h2 { font-size: 26px; margin-bottom: 6px; }
.form-card .sub { color: var(--muted); margin-bottom: 26px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font); font-weight: 600; font-size: 14px; color: var(--ink); margin-bottom: 7px; }
.field input, .field textarea, .field select {
    width: 100%; font-family: var(--font-body); font-size: 15px; color: var(--ink);
    background: var(--bg-soft); border: 1px solid var(--border); border-radius: 12px; padding: 13px 15px;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px var(--gold-soft); }
.field textarea { resize: vertical; min-height: 120px; }
.plan-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.plan-opt { position: relative; }
.plan-opt input { position: absolute; opacity: 0; }
.plan-opt label { cursor: pointer; text-align: center; border: 1px solid var(--border); border-radius: 12px; padding: 14px 8px; background: var(--bg-soft); transition: .15s; margin: 0; }
.plan-opt label b { display: block; font-family: var(--font); color: var(--ink); font-size: 15px; }
.plan-opt label span { font-size: 12px; color: var(--muted); }
.plan-opt input:checked + label { border-color: var(--gold); background: var(--gold-tint); box-shadow: 0 0 0 3px var(--gold-soft); }

.form-aside { padding-top: 6px; }
.form-aside h2 { font-size: 30px; margin-bottom: 16px; }
.form-aside .lead { color: var(--muted); font-size: 17px; margin-bottom: 26px; }
.aside-list { list-style: none; display: grid; gap: 18px; }
.aside-list li { display: flex; gap: 14px; }
.aside-list .ic { flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; background: var(--gold-soft); display: grid; place-items: center; font-size: 19px; }
.aside-list b { font-family: var(--font); color: var(--ink); display: block; }
.aside-list p { color: var(--muted); font-size: 14.5px; margin: 0; }
.contact-line { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--border-2); font-size: 15px; }
.contact-line .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--gold-tint); display: grid; place-items: center; font-size: 17px; }

/* ---------- Alerts ---------- */
.alert { border-radius: 12px; padding: 14px 18px; margin-bottom: 22px; font-size: 14.5px; font-weight: 600; border: 1px solid; }
.alert-success { background: #ecfbf1; border-color: #b7e8c6; color: #1a7a3e; }
.alert-error { background: #fdecec; border-color: #f3c2c2; color: #b3261e; }
.alert-info { background: var(--gold-tint); border-color: var(--gold-2); color: var(--gold-deep); }

/* ---------- Legal / long-form content ---------- */
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-size: 24px; margin: 36px 0 12px; }
.legal h3 { font-size: 18px; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--ink-2); font-size: 15.5px; margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 14px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 30px; }

/* ---------- About ---------- */
.story { max-width: 760px; margin: 0 auto; }
.story p { font-size: 17px; color: var(--ink-2); margin-bottom: 20px; }
.value-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #aab0bb; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 48px; }
.footer-brand .footer-logo { margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 14.5px; max-width: 320px; margin-bottom: 18px; line-height: 1.7; }
.footer-contact { display: grid; gap: 6px; font-size: 13.5px; color: #8b909b; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: #aab0bb; padding: 5px 0; transition: color .15s; }
.footer-col a:hover { color: var(--gold-2); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.08); font-size: 13.5px; color: #8b909b; flex-wrap: wrap; gap: 10px; }
.footer-bottom .made-in .heart { color: #ff5b6e; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { max-width: 480px; }
    .grid-4 { grid-template-columns: repeat(2,1fr); }
    .grid-3, .tcards, .steps, .stats, .price-grid, .value-grid { grid-template-columns: repeat(2,1fr); }
    .feature-block { grid-template-columns: 1fr; gap: 32px; padding: 50px 0; }
    .feature-block:nth-child(even) .fb-visual { order: 0; }
    .split, .form-wrap { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .price-card.featured { transform: none; }
}
@media (max-width: 720px) {
    .nav-links, .nav-cta .btn-ghost { display: none; }
    .nav-toggle { display: flex; }
    .nav-links.open {
        display: flex; flex-direction: column; position: absolute; top: 74px; left: 0; right: 0;
        background: #fff; border-bottom: 1px solid var(--border); padding: 14px 24px; gap: 2px; box-shadow: var(--shadow-md);
    }
    .nav-links.open a { padding: 13px 12px; }
    .pad { padding: 64px 0; }
    .grid-3, .grid-4, .tcards, .steps, .stats, .price-grid, .value-grid, .grid-2 { grid-template-columns: 1fr; }
    .cta-box { padding: 44px 26px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
    .footer-brand { grid-column: 1 / -1; }
    .plan-picker { grid-template-columns: 1fr; }
}

/* ---------- SVG icons ---------- */
.ic-svg { display: block; flex-shrink: 0; }
.card .ic { color: var(--gold-deep); }
.card .ic .ic-svg { width: 24px; height: 24px; }
.ai-callout .ai-ic { color: #fff; }
.aside-list .ic, .contact-line .ic, .faq-cat h3 .ic { color: var(--gold-deep); }
.vrow .ic2 { color: var(--gold-deep); }
.vrow .ic2 .ic-svg { width: 16px; height: 16px; }
.float-card .ic { color: var(--gold-deep); }
.eyebrow .ic-svg { width: 15px; height: 15px; }
.panel h3 .ic-svg, .faq-cat h3 .ic-svg { vertical-align: -3px; }
.made-in .heart { display: inline-flex; }
.made-in .heart .ic-svg { color: #ff5b6e; fill: #ff5b6e; }
.hero-note .ic-svg { width: 16px; height: 16px; color: var(--gold-deep); vertical-align: -3px; }
.mk .ic-svg { width: 13px; height: 13px; }
.fb-list .mk .ic-svg, .panel .mk .ic-svg { width: 13px; height: 13px; }
.step .n .ic-svg, .stat .v .ic-svg { display: inline; }

/* ---------- Hero integration strip ---------- */
.hero-integrations { margin-top: 30px; }
.hero-integrations .lbl { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 12px; }
.int-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.int-chip {
    display: inline-flex; align-items: center; gap: 7px;
    font-family: var(--font); font-weight: 700; font-size: 13.5px; color: var(--ink-2);
    background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 8px 14px;
    box-shadow: var(--shadow-sm); transition: border-color .15s ease, transform .15s ease;
}
.int-chip:hover { border-color: var(--gold-2); transform: translateY(-2px); }
.int-chip .dotc { width: 8px; height: 8px; border-radius: 50%; }

/* ---------- Hero rating row ---------- */
.hero-rating { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
.hero-rating .stars { color: var(--gold); display: inline-flex; gap: 2px; }
.hero-rating .stars .ic-svg { width: 17px; height: 17px; fill: var(--gold); }
.hero-rating span { font-size: 14px; color: var(--muted); font-weight: 600; }
.hero-rating b { color: var(--ink); }

/* ---------- "The shift" before/after enhancement ---------- */
.split { position: relative; }
.panel-label {
    display: inline-flex; align-items: center;
    font-family: var(--font); font-weight: 800; font-size: 11.5px;
    letter-spacing: .07em; text-transform: uppercase;
    padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.panel-problem .panel-label { background: #f1ebe0; color: var(--muted); }
.panel-solution .panel-label { background: var(--gold); color: #1c1300; }
.vs-badge {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3;
    width: 56px; height: 56px; border-radius: 50%;
    background: var(--ink); color: var(--gold-2);
    display: grid; place-items: center;
    font-family: var(--font); font-weight: 800; font-size: 16px; letter-spacing: .02em;
    border: 4px solid #fff; box-shadow: 0 10px 24px rgba(22,24,29,.22);
}
@media (max-width: 960px) { .vs-badge { display: none; } }

/* ---------- Legal pages — proper document layout ---------- */
.legal-wrap { display: grid; grid-template-columns: 250px 1fr; gap: 56px; align-items: start; }
.legal-toc { position: sticky; top: 100px; }
.legal-toc .toc-title {
    font-family: var(--font); font-weight: 800; font-size: 12px; letter-spacing: .07em;
    text-transform: uppercase; color: var(--muted-2); margin-bottom: 14px;
}
.legal-toc nav { display: grid; gap: 2px; border-left: 2px solid var(--border); }
.legal-toc nav a {
    font-size: 13.5px; color: var(--muted); padding: 7px 0 7px 16px; margin-left: -2px;
    border-left: 2px solid transparent; transition: color .15s ease, border-color .15s ease;
    line-height: 1.4;
}
.legal-toc nav a:hover { color: var(--gold-deep); border-left-color: var(--gold); }

.legal-content { max-width: 760px; }
.legal-content .legal-intro {
    font-size: 17px; color: var(--ink-2); line-height: 1.75; margin-bottom: 10px;
    padding: 20px 22px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-sm);
}
.legal-content .legal-intro + .legal-intro { margin-top: 14px; }
.legal-section { padding-top: 30px; margin-top: 30px; border-top: 1px solid var(--border-2); scroll-margin-top: 100px; }
.legal-section:first-of-type { border-top: 0; }
.legal-section h2 {
    font-size: 21px; margin-bottom: 14px; display: flex; align-items: baseline; gap: 10px;
}
.legal-section h2 .num {
    flex-shrink: 0; font-size: 14px; font-weight: 800; color: var(--gold-deep);
    font-family: var(--font);
}
.legal-section h3 { font-size: 16.5px; margin: 18px 0 8px; color: var(--ink); }
.legal-section p, .legal-section li { color: var(--ink-2); font-size: 15.5px; line-height: 1.7; margin-bottom: 12px; }
.legal-section ul { padding-left: 20px; margin-bottom: 14px; }
.legal-section li { margin-bottom: 8px; }
.legal-updated-pill {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
    font-size: 13px; font-weight: 600; color: var(--gold-deep);
    background: var(--gold-soft); padding: 7px 14px; border-radius: 999px;
}

@media (max-width: 860px) {
    .legal-wrap { grid-template-columns: 1fr; gap: 28px; }
    .legal-toc { position: static; }
    .legal-toc nav { grid-template-columns: 1fr 1fr; display: grid; }
}

/* ---------- Hero: AI Bill Auto-Read demo ---------- */
.ai-reader .reader-body {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
}
.reader-doc {
    position: relative;
    background: var(--bg-soft);
    border-right: 1px solid var(--border-2);
    padding: 20px 18px 34px;
    overflow: hidden;
}
.reader-doc > * { position: relative; z-index: 1; }
.reader-doc .doc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.reader-doc .doc-logo { width: 38px; height: 38px; border-radius: 9px; background: linear-gradient(135deg, var(--gold-2), var(--gold-deep)); flex-shrink: 0; }
.reader-doc .doc-hlines { display: grid; gap: 6px; flex: 1; }
.reader-doc .doc-hlines span { height: 7px; border-radius: 4px; background: #e4ddcd; }
.reader-doc .doc-hlines span:first-child { width: 70%; }
.reader-doc .doc-hlines span:last-child { width: 45%; background: #ece6d8; }
.reader-doc .doc-block { display: grid; gap: 6px; margin-bottom: 16px; }
.reader-doc .doc-block span { height: 6px; border-radius: 4px; background: #ece6d8; }
.reader-doc .doc-block span:nth-child(2) { width: 85%; }
.reader-doc .doc-block span:nth-child(3) { width: 60%; }
.reader-doc .doc-rows { display: grid; gap: 9px; margin-bottom: 16px; }
.reader-doc .doc-rows span { height: 11px; border-radius: 5px; background: #fff; border: 1px solid var(--border-2); }
.reader-doc .doc-foot { display: flex; justify-content: space-between; gap: 10px; }
.reader-doc .doc-foot span { height: 10px; width: 40%; border-radius: 5px; background: #e4ddcd; }
.reader-doc .doc-foot span:last-child { width: 28%; background: var(--gold-2); opacity: .8; }
.reader-doc .doc-tag {
    position: absolute; bottom: 10px; left: 14px; z-index: 2;
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 11px; font-weight: 700; color: var(--muted);
    background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 4px 9px;
}
.reader-doc .doc-tag .ic-svg { width: 13px; height: 13px; color: var(--gold-deep); }

/* scan line sweeping the document */
.scanline {
    position: absolute; left: 0; right: 0; top: 0; height: 38%;
    background: linear-gradient(180deg, rgba(232,154,0,0) 0%, rgba(245,183,46,.22) 70%, rgba(232,154,0,.65) 100%);
    border-bottom: 2px solid var(--gold);
    z-index: 1;
    animation: scan 2.8s cubic-bezier(.6,0,.4,1) infinite;
}
@keyframes scan {
    0%   { transform: translateY(-40%); opacity: 0; }
    12%  { opacity: 1; }
    88%  { opacity: 1; }
    100% { transform: translateY(180%); opacity: 0; }
}

.reader-data { padding: 18px 18px 20px; display: grid; gap: 9px; align-content: start; background: #fff; }
.rd-title {
    display: inline-flex; align-items: center; gap: 7px;
    font-family: var(--font); font-weight: 800; font-size: 13px; color: var(--gold-deep);
    margin-bottom: 4px;
}
.rd-title .ic-svg { color: var(--gold-deep); }
.rd-field {
    display: flex; align-items: center; justify-content: space-between;
    padding: 9px 12px; border: 1px solid var(--border-2); border-left: 3px solid var(--gold);
    border-radius: 9px; background: var(--gold-tint);
    opacity: 0; transform: translateX(10px);
    animation: rdin .5s ease forwards; animation-delay: var(--d, 0s);
}
.rd-field .k { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.rd-field .val { font-family: var(--font); font-weight: 700; font-size: 13.5px; color: var(--ink); }
@keyframes rdin { to { opacity: 1; transform: none; } }

.rd-confidence { opacity: 0; animation: rdin .5s ease forwards; animation-delay: var(--d, 0s); margin-top: 4px; }
.rd-conf-top { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.rd-conf-top b { color: var(--ink); font-family: var(--font); }
.rd-confidence .vbar { height: 8px; }
.rd-confidence .vbar i { width: 0; animation: confgrow 1s ease forwards; animation-delay: calc(var(--d, 0s) + .2s); }
@keyframes confgrow { to { width: 98.9%; } }

.rd-posted {
    display: inline-flex; align-items: center; gap: 7px; justify-self: start;
    font-family: var(--font); font-weight: 700; font-size: 12.5px; color: #1a7a3e;
    background: #ecfbf1; border: 1px solid #b7e8c6; border-radius: 999px; padding: 6px 13px;
    margin-top: 4px;
    opacity: 0; animation: rdin .5s ease forwards; animation-delay: var(--d, 0s);
}
.rd-posted .ic-svg { color: #1a7a3e; width: 14px; height: 14px; }

@media (max-width: 420px) {
    .ai-reader .reader-body { grid-template-columns: 1fr; }
    .reader-doc { border-right: 0; border-bottom: 1px solid var(--border-2); }
}
@media (prefers-reduced-motion: reduce) {
    .scanline { animation: none; opacity: 0; }
    .rd-field, .rd-confidence, .rd-posted { opacity: 1; transform: none; animation: none; }
    .rd-confidence .vbar i { width: 98.9%; animation: none; }
}

/* ---------- Hero: SaaS dashboard mock ---------- */
.dash { background: #fff; overflow: hidden; }
.dash-top { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--border-2); background: var(--bg-soft); }
.dash-brand { display: flex; align-items: center; gap: 7px; font-family: var(--font); font-weight: 800; font-size: 13px; color: var(--ink); white-space: nowrap; }
.dash-logo { width: 18px; height: 18px; border-radius: 6px; background: linear-gradient(135deg, var(--gold-2), var(--gold-deep)); }
.dash-search { flex: 1; display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--muted-2); background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 6px 12px; white-space: nowrap; overflow: hidden; }
.dash-search .ic-svg { width: 13px; height: 13px; color: var(--gold-deep); flex-shrink: 0; }
.dash-ava { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--gold-2); font-family: var(--font); font-weight: 800; font-size: 10.5px; display: grid; place-items: center; flex-shrink: 0; }

.dash-body { display: grid; grid-template-columns: 52px 1fr; }
.dash-side { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 0; border-right: 1px solid var(--border-2); background: var(--bg-soft); }
.dash-side a { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: var(--muted-2); }
.dash-side a.active { background: var(--gold-soft); color: var(--gold-deep); }

.dash-main { padding: 14px; display: grid; gap: 11px; }

.ai-insight { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 12px; background: linear-gradient(135deg, #fff7e6, var(--gold-tint)); border: 1px solid var(--gold-2); }
.ai-insight-ic { width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(135deg, var(--gold-2), var(--gold-deep)); color: #fff; display: grid; place-items: center; flex-shrink: 0; box-shadow: 0 4px 10px rgba(232,154,0,.3); animation: aipulse 2.6s ease-in-out infinite; }
@keyframes aipulse { 0%,100% { box-shadow: 0 4px 10px rgba(232,154,0,.3); } 50% { box-shadow: 0 4px 18px rgba(232,154,0,.55); } }
.ai-insight-ic .ic-svg { color: #fff; }
.ai-insight-txt b { display: block; font-family: var(--font); font-size: 10.5px; color: var(--gold-deep); letter-spacing: .05em; text-transform: uppercase; }
.ai-insight-txt span { font-size: 12.5px; color: var(--ink-2); line-height: 1.35; }
.ai-insight-cta { margin-left: auto; flex-shrink: 0; font-family: var(--font); font-size: 11px; font-weight: 800; color: #1c1300; background: linear-gradient(135deg, var(--gold-2), var(--gold)); border-radius: 999px; padding: 5px 12px; }

.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.kpi { position: relative; border: 1px solid var(--border-2); border-radius: 11px; padding: 11px; background: #fff; }
.kpi .kv { font-family: var(--font); font-weight: 800; font-size: 17px; color: var(--ink); letter-spacing: -.02em; }
.kpi .kl { font-size: 10.5px; color: var(--muted); margin-top: 1px; }
.ktrend { position: absolute; top: 9px; right: 9px; display: inline-flex; align-items: center; gap: 2px; font-family: var(--font); font-size: 9.5px; font-weight: 800; color: var(--gold-deep); }
.ktrend.up { color: #1f9d55; }
.ktrend .ic-svg { width: 11px; height: 11px; }

.dash-card { border: 1px solid var(--border-2); border-radius: 12px; padding: 12px; background: #fff; }
.dash-card-head { display: flex; align-items: center; justify-content: space-between; font-family: var(--font); font-weight: 700; font-size: 12.5px; color: var(--ink); margin-bottom: 10px; }
.dch-sub { font-size: 10.5px; color: var(--muted-2); font-weight: 600; }
.dash-chart { display: flex; align-items: flex-end; gap: 8px; height: 80px; }
.dash-chart .bar { flex: 1; height: var(--h, 50%); border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--gold-2), var(--gold)); opacity: .85; transform-origin: bottom; animation: bargrow .9s cubic-bezier(.3,.7,.3,1) backwards; }
.dash-chart .bar:nth-child(1){ animation-delay:.05s } .dash-chart .bar:nth-child(2){ animation-delay:.12s }
.dash-chart .bar:nth-child(3){ animation-delay:.19s } .dash-chart .bar:nth-child(4){ animation-delay:.26s }
.dash-chart .bar:nth-child(5){ animation-delay:.33s } .dash-chart .bar:nth-child(6){ animation-delay:.4s; opacity:1 }
.dash-chart .bar:nth-child(7){ animation-delay:.47s }
@keyframes bargrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

.dash-list { display: grid; gap: 7px; }
.dash-li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 11px; border: 1px solid var(--border-2); border-radius: 10px; font-size: 12px; color: var(--ink-2); }
.dli-l { display: flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dli-l .ic-svg { width: 14px; height: 14px; color: var(--gold-deep); flex-shrink: 0; }
.dash .tag { flex-shrink: 0; font-family: var(--font); font-size: 9.5px; font-weight: 800; letter-spacing: .02em; padding: 3px 9px; border-radius: 999px; background: var(--gold-soft); color: var(--gold-deep); }
.dash .tag.tag-warn { background: #fdecec; color: #b3261e; }

@media (prefers-reduced-motion: reduce) {
    .ai-insight-ic { animation: none; }
    .dash-chart .bar { animation: none; }
}
@media (max-width: 380px) {
    .dash-body { grid-template-columns: 1fr; }
    .dash-side { flex-direction: row; justify-content: center; border-right: 0; border-bottom: 1px solid var(--border-2); padding: 8px 0; }
}
