/* Fruit Invoice website – one stylesheet, no framework */
:root {
  --green-9: #0f3d24;
  --green-8: #14532d;
  --green-7: #1b6b3a;
  --green-6: #22874a;
  --green-5: #2fa55c;
  --green-1: #e8f5ec;
  --green-0: #f3faf5;
  --red: #c0392b;
  --red-1: #fdecea;
  --saffron: #f08a24;
  --saffron-1: #fff3e4;
  --gold: #f6c343;
  --ink: #142019;
  --ink-2: #3d4b43;
  --ink-3: #6b786f;
  --line: #e3e9e4;
  --cream: #fbf8f1;
  --white: #fff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-1: 0 1px 2px rgba(16, 40, 26, .06), 0 2px 8px rgba(16, 40, 26, .05);
  --shadow-2: 0 10px 30px -10px rgba(16, 40, 26, .25), 0 4px 10px -4px rgba(16, 40, 26, .1);
  --shadow-3: 0 30px 60px -20px rgba(15, 61, 36, .45);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Devanagari", sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--green-7); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-8); }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; border-radius: 6px; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section.tint { background: var(--green-0); }
.section.cream { background: var(--cream); }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head p { color: var(--ink-2); font-size: 1.08rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-7); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--saffron); border-radius: 2px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-2); }
.muted { color: var(--ink-3); }
.small { font-size: .88rem; }
.center { text-align: center; }
.hi { font-family: "Noto Sans Devanagari", var(--font); }

/* Buttons */
.btn { --bg: var(--green-7); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: 999px; background: var(--bg); color: var(--fg); font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid var(--bg); cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:hover { color: var(--fg); transform: translateY(-1px); box-shadow: var(--shadow-2); }
.btn svg { width: 20px; height: 20px; }
.btn-light { --bg: #fff; --fg: var(--green-8); }
.btn-ghost { --bg: transparent; --fg: var(--green-8); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--green-6); box-shadow: none; }
.btn-saffron { --bg: var(--saffron); --fg: #fff; }
.btn-wa { --bg: #1fae55; --fg: #fff; }
.btn-sm { padding: 9px 16px; font-size: .92rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px -12px rgba(0, 0, 0, .2); }
.nav { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.brand svg { width: 38px; height: 38px; }
.brand small { display: block; font-size: .68rem; font-weight: 600; color: var(--ink-3); letter-spacing: .02em; margin-top: -3px; }
.nav-menu { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.nav-links { display: flex; gap: 2px; list-style: none; padding: 0; margin: 0; }
.nav-links a { display: block; padding: 8px 13px; border-radius: 999px; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .95rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--green-1); color: var(--green-8); }
.nav-cta { display: flex; gap: 10px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 12px; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.menu-btn svg { width: 22px; height: 22px; }
.menu-btn .i-close, .site-header.open .menu-btn .i-menu { display: none; }
.site-header.open .menu-btn .i-close { display: block; }

@media (max-width: 1020px) {
  .menu-btn { display: inline-flex; }
  .nav-menu { display: none; }
  .site-header.open .nav-menu { display: flex; flex-direction: column; align-items: stretch; gap: 12px; position: absolute; top: 72px; left: 0; right: 0; background: #fff; padding: 10px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 24px 30px -20px rgba(0, 0, 0, .3); max-height: calc(100vh - 72px); overflow-y: auto; }
  .site-header.open .nav-links { flex-direction: column; }
  .nav-links a { padding: 12px 14px; font-size: 1.05rem; }
  .site-header.open .nav-cta .btn { flex: 1; }
}

/* Hero */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(900px 500px at 85% 10%, rgba(47, 165, 92, .16), transparent 60%),
  radial-gradient(600px 400px at 0% 100%, rgba(240, 138, 36, .12), transparent 60%),
  linear-gradient(180deg, #fff, var(--green-0)); padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
.hero h1 span { color: var(--green-7); position: relative; white-space: nowrap; }
.hero h1 span::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .22em; background: rgba(246, 195, 67, .55); z-index: -1; border-radius: 4px; }
.hero .hi { font-size: 1.15rem; font-weight: 600; color: var(--red); margin: -4px 0 14px; }
.hero .btn-row { margin: 28px 0 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-size: .86rem; font-weight: 600; color: var(--ink-2); }
.chips svg { width: 16px; height: 16px; color: var(--green-6); }
.hero-visual { position: relative; display: flex; justify-content: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-visual { margin-top: 12px; } }

/* Phone mockup */
.phone { position: relative; width: 300px; max-width: 78vw; aspect-ratio: 9 / 17.2; background: #0d1512; border-radius: 42px; padding: 11px; box-shadow: var(--shadow-3), inset 0 0 0 2px #2a352f; transform: rotate(2deg); }
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; width: 80px; height: 20px; transform: translateX(-50%); background: #0d1512; border-radius: 12px; z-index: 3; }
.phone-screen { height: 100%; border-radius: 32px; overflow: hidden; background: #f4f6f4; display: flex; flex-direction: column; }
.app-bar { background: var(--green-7); color: #fff; padding: 40px 14px 12px; font-size: .78rem; display: flex; justify-content: space-between; align-items: center; }
.app-bar b { font-size: .95rem; }
.phone-screen .bill { font-size: 9.6px; }
.app-actions { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 6px; padding: 10px 10px 16px; background: #fff; border-top: 1px solid var(--line); }
.app-actions span { display: flex; align-items: center; justify-content: center; gap: 5px; font-size: .7rem; font-weight: 700; color: var(--green-8); background: var(--green-0); border-radius: 10px; padding: 9px 4px; }
.app-actions span.wa { background: #1fae55; color: #fff; }
.app-actions svg { width: 14px; height: 14px; }
.float-card { position: absolute; background: #fff; border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow-2); font-size: .82rem; font-weight: 700; display: flex; align-items: center; gap: 10px; z-index: 4; animation: bob 5s ease-in-out infinite; }
.float-card i { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-style: normal; }
.float-card i svg { width: 18px; height: 18px; }
.float-card small { display: block; font-weight: 500; color: var(--ink-3); font-size: .72rem; }
.fc-1 { left: -10px; top: 18%; } .fc-1 i { background: #dcf8e6; color: #1fae55; }
.fc-2 { right: -14px; top: 52%; animation-delay: -2s; } .fc-2 i { background: var(--saffron-1); color: var(--saffron); }
.fc-3 { left: 4px; bottom: 9%; animation-delay: -3.5s; } .fc-3 i { background: var(--red-1); color: var(--red); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 520px) { .fc-1 { left: 0; } .fc-2 { right: 0; } }
@media (prefers-reduced-motion: reduce) { .float-card { animation: none; } html { scroll-behavior: auto; } }

/* Mini bill (used in phone + design showcase) */
.bill { background: #fff; font-size: 9px; line-height: 1.35; color: #222; font-family: system-ui, sans-serif; }
.bill table { width: 100%; border-collapse: collapse; }
.bill td, .bill th { padding: 3px 4px; text-align: left; }
.bill .r { text-align: right; }
.bill-modern .bm-head { background: linear-gradient(135deg, #1b6b3a, #2fa55c); color: #fff; padding: 10px; display: flex; gap: 8px; align-items: center; }
.bill-modern .bm-logo { width: 28px; height: 28px; background: #fff; border-radius: 7px; display: grid; place-items: center; flex: none; }
.bill-modern .bm-logo svg { width: 20px; height: 20px; }
.bill-modern .bm-firm { font-weight: 800; font-size: 11px; }
.bill-modern .bm-no { margin-left: auto; text-align: right; font-size: 8px; opacity: .9; }
.bill-modern .bm-no b { display: block; font-size: 13px; opacity: 1; }
.bill-modern .bm-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 8px; }
.bill-modern .bm-cards div { background: #f1f7f3; border-radius: 6px; padding: 5px 7px; }
.bill-modern .bm-cards small { display: block; color: #6b786f; font-size: 7px; text-transform: uppercase; letter-spacing: .05em; }
.bill-modern table { margin: 0 8px; width: calc(100% - 16px); }
.bill-modern th { background: #14532d; color: #fff; font-weight: 700; font-size: 8px; }
.bill-modern tbody tr:nth-child(even) { background: #f3faf5; }
.bill-modern .bm-total { margin: 8px; border-radius: 8px; border: 1px solid #e3e9e4; overflow: hidden; }
.bill-modern .bm-total div { display: flex; justify-content: space-between; padding: 3px 8px; }
.bill-modern .bm-total .grand { background: #1b6b3a; color: #fff; font-weight: 800; font-size: 11px; padding: 6px 8px; }
.bill-classic { padding: 10px; border: 2px solid #c0392b; margin: 6px; }
.bill-classic .bc-firm { text-align: center; font-weight: 800; font-size: 14px; color: #c0392b; letter-spacing: .02em; }
.bill-classic .bc-firm span { color: #1b6b3a; }
.bill-classic .bc-sub { text-align: center; font-size: 8px; color: #555; border-bottom: 1px dashed #bbb; padding-bottom: 5px; margin-bottom: 5px; }
.bill-classic .bc-meta { display: flex; justify-content: space-between; margin-bottom: 5px; }
.bill-classic th { background: #f08a24; color: #fff; }
.bill-classic td { border-bottom: 1px solid #f3e1cc; }
.bill-classic .bc-total { text-align: right; font-weight: 800; color: #c0392b; font-size: 11px; margin-top: 5px; }
.bill-simple { padding: 10px; }
.bill-simple .bs-firm { font-weight: 800; font-size: 13px; border-bottom: 2px solid #111; padding-bottom: 4px; }
.bill-simple .bs-meta { display: flex; justify-content: space-between; margin: 5px 0; font-size: 8px; }
.bill-simple th { border-top: 1px solid #111; border-bottom: 1px solid #111; }
.bill-simple td { border-bottom: 1px solid #ddd; }
.bill-simple .bs-total { display: flex; justify-content: flex-end; margin-top: 6px; }
.bill-simple .bs-total div { border: 2px solid #111; padding: 3px 8px; font-weight: 800; font-size: 11px; }
.bill-qr { display: flex; align-items: center; gap: 6px; padding: 0 8px 8px; font-size: 7.5px; color: #555; }
.bill-qr svg { width: 30px; height: 30px; flex: none; }

/* Audience strip */
.strip { background: var(--green-9); color: #d7ecdf; padding: 18px 0; }
.strip ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; list-style: none; margin: 0; padding: 0; font-weight: 600; font-size: .95rem; }
.strip li { display: flex; align-items: center; gap: 8px; }
.strip li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

/* Cards / grids */
.grid { display: grid; gap: 20px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .g-3, .g-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g-2, .g-3, .g-4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-1); transition: transform .2s, box-shadow .2s, border-color .2s; }
a.card { text-decoration: none; color: inherit; display: block; }
a.card:hover, .card.lift:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: #cfe3d6; }
.card p { color: var(--ink-2); margin-bottom: .6em; }
.card ul { margin: 0; padding-left: 18px; color: var(--ink-2); }
.card ul li { margin: 4px 0; }
.icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--green-1); color: var(--green-7); margin-bottom: 16px; }
.icon svg { width: 24px; height: 24px; }
.icon.saffron { background: var(--saffron-1); color: var(--saffron); }
.icon.red { background: var(--red-1); color: var(--red); }
.icon.ink { background: #e9edf5; color: #2c3e66; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; margin-top: 8px; }
.more svg { width: 16px; height: 16px; transition: transform .15s; }
.more:hover svg { transform: translateX(3px); }

/* Design showcase */
.designs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .designs { grid-template-columns: 1fr; max-width: 380px; margin: auto; } }
.design { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 16px; box-shadow: var(--shadow-1); }
.design .paper { border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 12px 24px -16px rgba(0, 0, 0, .4); background: #fff; min-height: 300px; }
.design h3 { margin: 16px 4px 2px; display: flex; align-items: center; gap: 8px; }
.design p { margin: 0 4px; color: var(--ink-2); font-size: .95rem; }
.tag { display: inline-block; font-size: .7rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--green-1); color: var(--green-7); }
.tag.new { background: var(--saffron-1); color: #b35c07; }
.tag.red { background: var(--red-1); color: var(--red); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; list-style: none; padding: 0; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; position: relative; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--green-7); color: #fff; font-weight: 800; margin-bottom: 12px; }
.steps li p { color: var(--ink-2); margin: 0; font-size: .95rem; }

/* Two modes */
.mode { border-radius: var(--radius); padding: 30px; color: #fff; position: relative; overflow: hidden; }
.mode.online { background: linear-gradient(140deg, var(--green-8), var(--green-6)); }
.mode.offline { background: linear-gradient(140deg, #23324f, #3a5683); }
.mode h3 { color: #fff; font-size: 1.4rem; }
.mode ul { list-style: none; padding: 0; margin: 14px 0 0; }
.mode li { padding: 7px 0 7px 30px; position: relative; border-top: 1px solid rgba(255, 255, 255, .15); }
.mode li svg { position: absolute; left: 0; top: 10px; width: 18px; height: 18px; color: var(--gold); }
.mode .big { position: absolute; right: -10px; top: -10px; width: 120px; height: 120px; opacity: .12; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-1); -webkit-overflow-scrolling: touch; }
table.data { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .93rem; }
table.data th, table.data td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.data thead th { background: var(--green-0); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); position: sticky; top: 0; z-index: 1; }
table.data tbody tr:last-child td, table.data tbody tr:last-child th { border-bottom: 0; }
table.data tbody tr:hover td, table.data tbody tr:hover th { background: #fafcfa; }
table.data .c { text-align: center; }

.matrix { font-size: .86rem; }
.matrix th, .matrix td { padding: 10px 8px !important; text-align: center !important; white-space: nowrap; }
.matrix thead th { vertical-align: bottom; font-size: .72rem !important; line-height: 1.25; white-space: normal; min-width: 78px; }
.matrix tbody th { text-align: left !important; font-weight: 600; position: sticky; left: 0; background: #fff; z-index: 2; min-width: 190px; white-space: normal; box-shadow: 1px 0 0 var(--line); }
.matrix thead th:first-child { position: sticky; left: 0; z-index: 3; text-align: left !important; min-width: 190px; }
.matrix .fi { background: var(--green-1) !important; font-weight: 700; }
.matrix thead .fi { background: var(--green-7) !important; color: #fff; }
.matrix tbody tr:hover .fi { background: #dff0e5 !important; }
.matrix tr.group th { background: var(--saffron-1) !important; color: #8a4a06; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; text-align: left !important; }
.yes, .no, .nd { display: inline-grid; place-items: center; }
.yes svg { width: 20px; height: 20px; color: var(--green-6); }
.no { font-size: .72rem; font-weight: 700; color: var(--red); background: var(--red-1); padding: 2px 7px; border-radius: 999px; }
.nd { color: #b4bdb7; font-size: .72rem; font-weight: 600; }
.txt { font-size: .72rem; font-weight: 700; color: var(--ink-2); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .86rem; color: var(--ink-2); margin: 14px 2px 0; align-items: center; }
.legend span { display: inline-flex; gap: 6px; align-items: center; }

/* Head to head */
.h2h { display: grid; grid-template-columns: 340px 1fr; gap: 28px; align-items: start; }
@media (max-width: 900px) { .h2h { grid-template-columns: 1fr; } }
.h2h-side { position: sticky; top: 92px; }
@media (max-width: 900px) { .h2h-side { position: static; } }
.picker { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.picker button { font: inherit; font-size: .88rem; font-weight: 600; border: 1px solid var(--line); background: #fff; padding: 8px 14px; border-radius: 999px; cursor: pointer; color: var(--ink-2); }
.picker button[aria-pressed="true"] { background: var(--green-7); color: #fff; border-color: var(--green-7); }
.h2h-info { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; font-size: .92rem; }
.h2h-info dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); font-weight: 700; margin-top: 10px; }
.h2h-info dd { margin: 2px 0 0; }
.score { display: flex; gap: 12px; margin-top: 14px; }
.score div { flex: 1; text-align: center; padding: 12px 6px; border-radius: 14px; background: var(--green-0); }
.score b { display: block; font-size: 1.6rem; color: var(--green-7); line-height: 1.1; }
.score div.them b { color: var(--ink-2); }
.score small { font-size: .74rem; color: var(--ink-3); font-weight: 600; }

/* Bar chart */
.bars { display: grid; gap: 10px; }
.bar-row { display: grid; grid-template-columns: 150px 1fr; gap: 12px; align-items: center; font-size: .88rem; }
.bar-row .lbl { font-weight: 600; color: var(--ink-2); text-align: right; }
.bar-track { position: relative; height: 26px; }
.bar { height: 100%; border-radius: 6px; background: #c9d3cc; display: flex; align-items: center; justify-content: flex-end; padding-right: 8px; color: var(--ink); font-weight: 700; font-size: .78rem; min-width: 56px; transform-origin: left; animation: grow .9s cubic-bezier(.2, .8, .2, 1) both; }
.bar.fi { background: linear-gradient(90deg, var(--green-6), var(--green-5)); color: #fff; }
@keyframes grow { from { transform: scaleX(0); } }
@media (max-width: 560px) { .bar-row { grid-template-columns: 96px 1fr; font-size: .8rem; } }

/* Pricing */
.toggle { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px; gap: 4px; box-shadow: var(--shadow-1); }
.toggle button { font: inherit; font-weight: 700; border: 0; background: none; padding: 10px 20px; border-radius: 999px; cursor: pointer; color: var(--ink-2); }
.toggle button[aria-pressed="true"] { background: var(--green-7); color: #fff; }
.toggle .save { font-size: .7rem; background: var(--gold); color: var(--ink); padding: 2px 7px; border-radius: 999px; margin-left: 6px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; margin-top: 34px; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px 26px; display: flex; flex-direction: column; position: relative; box-shadow: var(--shadow-1); }
.plan.featured { border: 2px solid var(--green-6); box-shadow: var(--shadow-2); }
.plan .badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--saffron); color: #fff; font-size: .75rem; font-weight: 800; padding: 5px 14px; border-radius: 999px; letter-spacing: .03em; white-space: nowrap; }
.plan h3 { font-size: 1.35rem; margin-bottom: 4px; }
.plan .who { color: var(--ink-3); font-size: .92rem; min-height: 2.6em; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 14px 0 4px; }
.price b { font-size: 2.6rem; letter-spacing: -.03em; line-height: 1; }
.price span { color: var(--ink-3); font-weight: 600; }
.price-note { font-size: .85rem; color: var(--ink-3); min-height: 1.4em; }
.price-note s { color: var(--ink-3); }
.offer { display: inline-block; background: var(--saffron-1); color: #a4540a; font-weight: 700; font-size: .8rem; padding: 4px 10px; border-radius: 8px; margin-top: 6px; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 24px; flex: 1; }
.plan li { padding: 7px 0 7px 28px; position: relative; font-size: .95rem; color: var(--ink-2); }
.plan li svg { position: absolute; left: 0; top: 10px; width: 18px; height: 18px; color: var(--green-6); }
[data-period="year"] .m-only, [data-period="month"] .y-only { display: none !important; }

/* FAQ */
.faq { max-width: 820px; margin: auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-1); border-color: #cfe3d6; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 54px 18px 20px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--green-1); color: var(--green-7); display: grid; place-items: center; font-size: 1.2rem; font-weight: 700; transition: transform .2s; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--ink-2); }

/* CTA band */
.cta-band { background: radial-gradient(500px 300px at 90% 0%, rgba(246, 195, 67, .25), transparent 60%), linear-gradient(135deg, var(--green-9), var(--green-7)); color: #fff; border-radius: 28px; padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: #cfe8d9; margin: 0; font-size: 1.05rem; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; } }

/* Page hero (inner pages) */
.page-hero { background: linear-gradient(180deg, var(--green-0), #fff); padding: clamp(36px, 5vw, 64px) 0 clamp(28px, 4vw, 44px); }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 3rem); max-width: 860px; }
.page-hero .lead { max-width: 760px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; color: var(--ink-3); list-style: none; padding: 0; margin: 0 0 16px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #b4bdb7; }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--green-7); }

/* Sub-nav (features) */
.subnav { position: sticky; top: 72px; z-index: 20; background: rgba(255, 255, 255, .95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.subnav ul { display: flex; gap: 6px; overflow-x: auto; list-style: none; margin: 0 auto; padding: 10px 0; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: block; white-space: nowrap; padding: 7px 14px; border-radius: 999px; background: var(--green-0); color: var(--green-8); font-weight: 600; font-size: .88rem; text-decoration: none; }
.subnav a:hover { background: var(--green-1); }

.feature-block { display: grid; grid-template-columns: 320px 1fr; gap: 40px; padding: 56px 0; border-bottom: 1px solid var(--line); }
.feature-block:last-child { border-bottom: 0; }
@media (max-width: 860px) { .feature-block { grid-template-columns: 1fr; gap: 20px; padding: 40px 0; } }
.feature-block .items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 600px) { .feature-block .items { grid-template-columns: 1fr; } }
.feature-block .item { background: var(--cream); border-radius: 14px; padding: 18px 20px; }
.feature-block .item h3 { font-size: 1.02rem; margin-bottom: 6px; display: flex; gap: 8px; align-items: center; }
.feature-block .item h3 svg { width: 18px; height: 18px; color: var(--green-6); flex: none; }
.feature-block .item p { margin: 0; color: var(--ink-2); font-size: .95rem; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 900px) { .form-grid { grid-template-columns: 1fr; } }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow-2); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
@media (max-width: 600px) { .fields { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 700; font-size: .92rem; }
.field label .opt { font-weight: 500; color: var(--ink-3); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid #d3ddd6; border-radius: 12px; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; width: 100%; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--green-6); box-shadow: 0 0 0 4px rgba(47, 165, 92, .15); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); }
.field .err { color: var(--red); font-size: .85rem; font-weight: 600; }
.field .hint { color: var(--ink-3); font-size: .84rem; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.radios { display: flex; flex-wrap: wrap; gap: 8px; }
.radios label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1.5px solid #d3ddd6; border-radius: 12px; cursor: pointer; font-weight: 600; font-size: .94rem; }
.radios input { width: auto; accent-color: var(--green-7); }
.radios label:has(input:checked) { border-color: var(--green-6); background: var(--green-0); }
.radios.stack { flex-direction: column; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green-7); flex: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.alert { border-radius: 14px; padding: 16px 18px; margin-bottom: 20px; font-size: .96rem; display: flex; gap: 12px; align-items: flex-start; }
.alert svg { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.alert.ok { background: var(--green-1); color: var(--green-9); border: 1px solid #c4e4cf; }
.alert.warn { background: var(--saffron-1); color: #7a3f05; border: 1px solid #f7d9b3; }
.alert.bad { background: var(--red-1); color: #7d1f15; border: 1px solid #f3c6c0; }
.alert b { display: block; }
.side-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.side-list li { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.side-list a { font-weight: 700; text-decoration: none; color: var(--ink); }
.side-list small { display: block; color: var(--ink-3); font-size: .82rem; }
.side-list .icon { margin: 0; width: 44px; height: 44px; flex: none; }

/* Legal */
.legal { max-width: 820px; margin: auto; }
.legal h2 { font-size: 1.4rem; margin-top: 2em; padding-top: .4em; }
.legal h3 { font-size: 1.08rem; margin-top: 1.4em; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 20px; }
.legal li { margin: 6px 0; }
.legal .toc { background: var(--green-0); border-radius: 16px; padding: 18px 22px; margin: 10px 0 30px; }
.legal .toc ol { margin: 6px 0 0; padding-left: 20px; columns: 2; column-gap: 30px; }
@media (max-width: 600px) { .legal .toc ol { columns: 1; } }
.legal .toc a { text-decoration: none; }
.legal table.data { font-size: .9rem; }
.note-box { background: var(--cream); border-left: 4px solid var(--saffron); border-radius: 10px; padding: 14px 18px; margin: 18px 0; color: var(--ink-2); }

/* Timeline (deletion) */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline li { position: relative; padding: 0 0 22px 44px; }
.timeline li::before { content: ""; position: absolute; left: 15px; top: 30px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline .dot { position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--green-1); color: var(--green-7); font-weight: 800; font-size: .9rem; }
.timeline li.done .dot { background: var(--green-7); color: #fff; }
.timeline li.now .dot { background: var(--saffron); color: #fff; box-shadow: 0 0 0 5px var(--saffron-1); }
.timeline b { display: block; }
.timeline span { color: var(--ink-3); font-size: .9rem; }

/* Footer */
.site-footer { background: var(--green-9); color: #b9d3c3; padding: 64px 0 28px; margin-top: 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 8px 0; }
.site-footer a { color: #d7ecdf; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand small { color: #9fc0ac; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .85rem; color: #8fb19c; }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #1fae55; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -6px rgba(31, 174, 85, .6); transition: transform .15s; }
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; text-align: center; }
.stat b { display: block; font-size: 1.9rem; color: var(--green-7); letter-spacing: -.03em; line-height: 1.1; }
.stat span { font-size: .86rem; color: var(--ink-3); font-weight: 600; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }

/* Admin */
.admin-body { background: #f4f6f5; }
.admin-top { background: var(--green-9); color: #fff; padding: 14px 0; }
.admin-top .wrap { display: flex; align-items: center; gap: 16px; }
.admin-top a { color: #fff; }
.tabs { display: flex; gap: 6px; margin: 22px 0 16px; flex-wrap: wrap; }
.tabs a { padding: 9px 16px; border-radius: 999px; text-decoration: none; font-weight: 700; background: #fff; border: 1px solid var(--line); color: var(--ink-2); }
.tabs a.on { background: var(--green-7); color: #fff; border-color: var(--green-7); }
.admin-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.admin-filter input, .admin-filter select { font: inherit; padding: 9px 12px; border: 1px solid #d3ddd6; border-radius: 10px; }
.admin-table td { font-size: .88rem; }
.admin-table form { display: grid; gap: 6px; min-width: 200px; }
.admin-table select, .admin-table textarea { font: inherit; font-size: .85rem; padding: 6px 8px; border: 1px solid #d3ddd6; border-radius: 8px; width: 100%; }
.admin-table textarea { min-height: 54px; }
.pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .75rem; font-weight: 700; background: #eef1ef; color: var(--ink-2); }
.pill.new, .pill.verified { background: var(--saffron-1); color: #a4540a; }
.pill.contacted, .pill.processing { background: #e8eefb; color: #2c4a8a; }
.pill.converted, .pill.completed { background: var(--green-1); color: var(--green-7); }
.pill.closed, .pill.rejected { background: #eee; color: #777; }
.pill.overdue { background: var(--red-1); color: var(--red); }
.pager nav { margin-top: 16px; }
.pager svg { width: 18px; height: 18px; }
