/* Landing page: the owner look (light, green), with the gate look (black/yellow) for the attendant section. */
:root {
  --font: 'Noto Sans Bengali', 'Hind Siliguri', 'Nirmala UI', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --bg: #ffffff;
  --alt: #f4f6f8;
  --border: #e2e8f0;
  --text: #0f172a;
  --text-2: #475569;
  --muted: #64748b;
  --green: #0f5132;
  --green-dark: #0b3d26;
  --green-soft: #f0fdf4;
  --yellow: #facc15;
  --ink: #111214;
  --go: #22c55e;
  --wa: #25d366;
  --radius: 16px;
}

/* Two languages in the page; show one. */
.lang-bn .en, .lang-en .bn { display: none; }
[hidden] { display: none !important; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--green); }
h1, h2, h3 { margin: 0; line-height: 1.25; letter-spacing: -.01em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; justify-content: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: inherit; font-weight: 700; text-decoration: none; border-radius: 12px; padding: 10px 18px; min-height: 46px; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, transform .05s; }
.btn:active { transform: scale(.98); }
.btn:focus-visible, .lang-toggle:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-lg { font-size: 18px; min-height: 56px; padding: 12px 24px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-ghost { background: #fff; color: var(--text); border-color: #cbd5e1; }
.btn-ghost:hover { background: var(--alt); }
.btn-wa { background: var(--wa); color: #06331a; }
.btn-wa:hover { filter: brightness(1.05); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: #fde047; }
.btn-outline-light { color: #fff; border-color: rgb(255 255 255 / 45%); }
.btn-outline-light:hover { background: rgb(255 255 255 / 8%); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgb(255 255 255 / 92%); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--border); }
.header-row { display: flex; align-items: center; gap: 20px; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--text); text-decoration: none; white-space: nowrap; }
.logo { width: 36px; height: 36px; }
.header-nav { display: flex; gap: 4px; margin-left: 8px; }
.header-nav a { color: var(--text-2); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 10px; }
.header-nav a:hover { background: var(--alt); color: var(--text); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.lang-toggle { font: inherit; font-weight: 700; font-size: 14px; color: var(--text-2); background: transparent; border: 0; padding: 8px 10px; border-radius: 10px; cursor: pointer; }
.lang-toggle:hover { background: var(--alt); }
/* Both languages are always shown, each in its own script; the filled one is in use. */
.lang-switch { display: inline-flex; flex: none; gap: 2px; padding: 3px; border: 1px solid var(--border, #e2e8f0); border-radius: 999px; background: #fff; }
.lang-switch button { font: inherit; font-weight: 700; font-size: 14px; line-height: 1.4; min-height: 32px; padding: 3px 11px; border: 0; border-radius: 999px; background: transparent; color: var(--text-2); cursor: pointer; }
.lang-switch button:hover { background: var(--alt); }
.lang-switch button[aria-pressed="true"] { background: var(--green); color: #fff; }
.lang-switch button:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
@media (max-width: 400px) { .lang-switch { padding: 2px; } .lang-switch button { padding: 3px 7px; font-size: 13px; } .header-actions { gap: 6px; } .header-actions .btn { padding: 6px 9px; font-size: 14px; } .site-header .brand { font-size: 16px; gap: 6px; } .site-header .brand .logo { width: 30px; height: 30px; } .header-actions .btn { min-height: 36px; } }
.header-actions .btn { min-height: 40px; padding: 6px 14px; font-size: 15px; white-space: nowrap; }
@media (max-width: 760px) { .header-nav { display: none; } }

/* Hero */
.hero { padding: 56px 0 64px; background: linear-gradient(180deg, var(--green-soft), #fff 70%); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--text-2); margin: 18px 0 28px; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--text-2); font-weight: 600; font-size: 15px; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { width: 20px; height: 20px; fill: none; stroke: var(--green); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.hero-visual { position: relative; height: 560px; }
.phone { background: #0b0b0c; border-radius: 36px; padding: 10px; box-shadow: 0 30px 60px -20px rgb(15 23 42 / 35%), 0 0 0 1px rgb(15 23 42 / 8%); }
.phone img { border-radius: 27px; width: 100%; height: auto; }
.phone-light { background: #e2e8f0; }
.hero-visual .phone { position: absolute; width: 250px; }
.phone-back { left: 4%; top: 30px; transform: rotate(-5deg); }
.phone-front { right: 4%; top: 0; transform: rotate(4deg); background: #e2e8f0; }
@media (max-width: 900px) {
  .hero { padding: 36px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 430px; max-width: 420px; width: 100%; margin: 0 auto; }
  .hero-visual .phone { width: 200px; }
}

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--alt); }
.section-title { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; text-align: center; max-width: 22em; margin: 0 auto 36px; }
.section-more { text-align: center; margin: 28px 0 0; font-weight: 700; }
.section-more a { color: var(--green); }
.section-sub { text-align: center; color: var(--text-2); margin: -20px auto 36px; font-size: 17px; }
.cards-3 { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.pain { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.pain h3 { font-size: 19px; margin: 14px 0 6px; }
.pain p { margin: 0; color: var(--text-2); }
.pain-icon { width: 48px; height: 48px; border-radius: 12px; background: #fee2e2; color: #b91c1c; display: grid; place-items: center; }
.pain-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); counter-reset: none; }
.steps li { background: #fff; border-radius: var(--radius); padding: 26px; border: 1px solid var(--border); }
.step-num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; font-size: 20px; }
.steps h3 { font-size: 19px; margin: 16px 0 6px; }
.steps p { margin: 0; color: var(--text-2); }

/* Split sections: attendants (dark) and owners (light) */
.split { padding: 80px 0; }
.split-dark { background: var(--ink); color: #f4f4f5; }
.split-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.split-grid.reverse { grid-template-columns: 1.2fr .8fr; }
.split-grid.reverse .split-visual { order: 2; }
.split-visual .phone { width: 270px; margin: 0 auto; }
.split h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; margin-bottom: 22px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 34px; font-size: 17px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat; }
.split-dark .ticks li::before { background-color: var(--yellow); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111214' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E"); }
.split-dark .ticks li { color: #e4e4e7; }
@media (max-width: 860px) {
  .split { padding: 56px 0; }
  .split-grid, .split-grid.reverse { grid-template-columns: 1fr; gap: 32px; }
  .split-grid.reverse .split-visual { order: 0; }
  .split-visual .phone { width: 230px; }
}

/* Who it's for */
.places { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.places li { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 16px 18px; font-weight: 700; }
.places svg { width: 40px; height: 40px; padding: 8px; flex: none; border-radius: 10px; background: var(--green-soft); fill: none; stroke: var(--green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Pricing */
.plans { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1.5px solid var(--border); border-radius: 20px; padding: 28px 24px 24px; }
.plan h3 { font-size: 22px; }
.plan-for { margin: 0; color: var(--muted); font-weight: 600; }
.price { margin: 8px 0 0; font-size: 42px; font-weight: 800; line-height: 1.1; }
.price small { font-size: 16px; font-weight: 600; color: var(--muted); margin-left: 6px; }
.price-talk { font-size: 32px; }
.plan-note { margin: 0; font-size: 14px; color: var(--text-2); background: var(--alt); padding: 8px 12px; border-radius: 10px; }
.plan .ticks { margin: 10px 0 18px; flex: 1; }
.plan .ticks li { font-size: 16px; }
.plan-featured { border: 2.5px solid var(--green); box-shadow: 0 20px 40px -24px rgb(21 128 61 / 50%); }
.plan-badge { position: absolute; top: -14px; left: 24px; margin: 0; background: var(--green); color: #fff; font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.included { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.included li { background: var(--green-soft); color: var(--green-dark); font-weight: 700; font-size: 15px; padding: 8px 16px; border-radius: 999px; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 17px; padding: 18px 28px 18px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 14px; font-size: 24px; font-weight: 400; color: var(--green); }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 0 0 18px; color: var(--text-2); }

/* Final CTA */
.final-cta { background: var(--ink); color: #fff; padding: 80px 0; }
.final-cta h2 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; }
.final-cta p { color: #d4d4d8; font-size: 18px; margin: 14px 0 28px; }
.final-cta .contact-line a { color: var(--yellow); font-weight: 700; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 24px 0; color: var(--muted); font-size: 14px; }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer-row nav { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.footer-row .fb-link { display: inline-flex; align-items: center; gap: 6px; }
.fb-link svg { width: 18px; height: 18px; color: #1877f2; }
.footer-row a { color: var(--text-2); text-decoration: none; font-weight: 600; }
.footer-row a:hover { color: var(--green); }

/* Personas */
.personas { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* Header, quote, ticks and button share rows across the three cards, so they line up. */
.persona { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; background: #fff; border: 1px solid var(--border); border-radius: 20px; overflow: hidden; box-shadow: 0 1px 2px rgb(15 23 42 / 4%); transition: border-color .15s, box-shadow .15s, transform .15s; }
.persona:hover { border-color: #86efac; box-shadow: 0 22px 40px -26px rgb(15 23 42 / 35%); transform: translateY(-3px); }
.persona-head { display: grid; gap: 8px; align-content: start; justify-items: center; text-align: center; padding: 28px 24px 20px; background: linear-gradient(180deg, var(--green-soft), #fff); }
.persona-icon { width: 60px; height: 60px; border-radius: 50%; background: var(--green); display: grid; place-items: center; box-shadow: 0 0 0 7px #dcfce7; margin-bottom: 8px; }
.persona-icon svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.persona h3 { font-size: 20px; line-height: 1.35; margin: 0; text-wrap: balance; }
.persona-who { margin: 0; color: var(--text-2); font-size: 15px; text-wrap: balance; }
.persona-pain { display: grid; place-items: center; margin: 0 20px; padding: 14px 16px; text-align: center; background: var(--alt); border-radius: 14px; color: var(--text); font-weight: 700; font-size: 16px; line-height: 1.5; text-wrap: balance; }
.persona .ticks { align-content: start; gap: 12px; margin: 0; padding: 22px 24px; }
.persona .ticks li { font-size: 15px; line-height: 1.55; padding-left: 30px; }
.persona .ticks li::before { top: 1px; width: 20px; height: 20px; background-size: 12px; background-color: var(--green-soft); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803d' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E"); }
.persona-link { display: flex; align-items: center; justify-content: center; align-self: end; margin: 0 20px 20px; min-height: 46px; padding: 8px 14px; text-align: center; border: 1.5px solid var(--green); border-radius: 12px; color: var(--green); font-weight: 800; text-decoration: none; }
.persona-link:hover, .persona:hover .persona-link { background: var(--green); color: #fff; }
@media (max-width: 900px) {
  .personas { grid-template-columns: minmax(0, 1fr); max-width: 460px; margin: 0 auto; }
  .persona { display: flex; flex-direction: column; }
  .persona:hover { transform: none; }
  .persona-link { align-self: stretch; }
}


/* Package comparison table: ticks for what each package includes */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.plans .plan { gap: 8px; }
.plans .plan .btn { margin-top: 10px; }
.compare { margin-top: 36px; background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 22px 22px 10px; }
.compare-lead { margin: 0 0 16px; font-weight: 700; font-size: 17px; text-align: center; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.compare-table th, .compare-table td { padding: 12px 10px; border-bottom: 1px solid var(--border); }
.compare-table tbody th { text-align: left; font-weight: 500; color: var(--text); }
.compare-table thead th { font-size: 17px; font-weight: 800; text-align: center; padding-bottom: 14px; }
.compare-table td { text-align: center; width: 18%; }
.compare-table .col-pick { background: var(--green-soft); }
.compare-table thead th.col-pick { border-radius: 12px 12px 0 0; color: var(--green-dark); }
.compare-table .row-key th, .compare-table .row-key td { font-weight: 800; }
.compare-table .group th { padding-top: 22px; font-size: 14px; font-weight: 800; color: var(--green); background: #fff; border-bottom: 2px solid var(--border); }
.compare-table td.y::before, .compare-table td.n::before { content: ''; display: inline-block; width: 24px; height: 24px; vertical-align: middle; }
.compare-table td.y::before { border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 15px no-repeat; }
.compare-table td.n::before { width: 14px; height: 2px; background: #cbd5e1; border-radius: 2px; }
.compare-table tbody tr:last-child th, .compare-table tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 600px) {
  .compare { padding: 14px 10px 4px; border-radius: 16px; margin-left: -6px; margin-right: -6px; }
  .compare-lead { font-size: 15px; padding: 0 6px; }
  .compare-table { font-size: 14px; }
  .compare-table th, .compare-table td { padding: 10px 4px; }
  .compare-table thead th { font-size: 14px; }
  .compare-table td { width: 58px; }
  .compare-table tbody th { padding-left: 6px; }
  .compare-table .row-key td { font-size: 13px; }
}

/* Early-bird offer */
.early-bird { display: flex; align-items: center; gap: 14px; max-width: 760px; margin: -12px auto 28px; padding: 14px 18px; border-radius: 16px; background: #fef9c3; border: 1.5px solid #facc15; color: #713f12; }
.early-bird svg { flex: none; width: 34px; height: 34px; padding: 6px; border-radius: 10px; background: var(--yellow); fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.early-bird b { font-size: 17px; color: var(--ink); }
.early-bird p { margin: 2px 0 0; font-size: 15px; }
.early-bird > div { flex: 1; }
.eb-left { flex: none; align-self: center; background: #dc2626; color: #fff; font-weight: 800; font-size: 14px; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
@media (max-width: 520px) { .early-bird { flex-wrap: wrap; } .eb-left { margin-left: 48px; } }
.plan { overflow: visible; }
.save-badge { display: inline-block; vertical-align: 2px; margin-left: 8px; background: #dc2626; color: #fff; font-size: 13px; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.price-was { margin: 10px 0 -6px; color: var(--muted); font-size: 18px; font-weight: 600; display: flex; align-items: center; flex-wrap: wrap; }
.price-was s { text-decoration-thickness: 2px; text-decoration-color: #dc2626; }
.plans .price { margin-top: 0; }
.t-was { display: block; font-size: 12px; font-weight: 600; color: var(--muted); text-decoration-color: #dc2626; }

/* Package card labels */
.plan-tag { margin: 0; font-size: 13px; font-weight: 800; color: var(--green); text-transform: none; }
.plan:target { border-color: var(--green); box-shadow: 0 0 0 4px #dcfce7; }
.price-from { font-size: 16px; font-weight: 600; color: var(--muted); margin-right: 6px; }

.header-nav a[aria-current='page'] { color: var(--green); background: var(--green-soft); }

/* Contact page */
.contact-hero { padding: 48px 0 28px; background: linear-gradient(180deg, var(--green-soft), #fff); }
.contact-hero h1 { font-size: clamp(28px, 4.4vw, 44px); font-weight: 800; max-width: 18em; }
.contact-hero .lead { margin-bottom: 0; }
.contact-body { padding: 24px 0 72px; }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.contact-form, .contact-done { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 28px; display: grid; gap: 16px; box-shadow: 0 1px 3px rgb(15 23 42 / 5%); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field > span { font-size: 14px; font-weight: 700; color: var(--text-2); }
.req { color: #b91c1c; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--text); background: #fff; border: 1.5px solid #cbd5e1; border-radius: 12px; padding: 11px 14px; min-height: 50px; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px #dcfce7; }
.field [aria-invalid='true'] { border-color: #b91c1c; box-shadow: 0 0 0 3px #fee2e2; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin: 0; color: #b91c1c; background: #fee2e2; padding: 10px 14px; border-radius: 10px; font-weight: 600; }
.small-note { margin: 0; font-size: 13px; color: var(--muted); text-align: center; }
.btn:disabled { opacity: .6; cursor: progress; }
.contact-done { text-align: center; justify-items: center; padding: 48px 28px; outline: none; }
.contact-done h2 { font-size: 24px; }
.contact-done p { margin: 0; color: var(--text-2); }
.done-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--green); display: grid; place-items: center; }
.done-icon svg { width: 32px; height: 32px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.contact-side { display: grid; gap: 16px; }
.side-card { background: var(--alt); border-radius: 20px; padding: 22px; }
.side-card h2 { font-size: 18px; margin-bottom: 12px; }
.direct-links { display: grid; gap: 10px; }
.next-steps { margin: 0; padding-left: 22px; display: grid; gap: 10px; color: var(--text-2); }
.next-steps li::marker { color: var(--green); font-weight: 800; }
.side-cta { background: var(--green-soft); border: 1px solid #bbf7d0; }
.side-cta p { margin: 0 0 12px; font-weight: 700; }
.contact-side .contact-line { margin: 12px 0 0; font-weight: 700; }
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form, .contact-done { padding: 20px; }
}

/* Private messages page (/admin) */
.admin { padding: 32px 0 64px; }
.admin h1 { font-size: 28px; margin-bottom: 6px; }
.admin-login { max-width: 420px; display: grid; gap: 12px; margin-top: 20px; }
.admin-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 18px 0; }
.admin-bar button { font: inherit; font-weight: 700; font-size: 14px; border: 1.5px solid var(--border); background: #fff; border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.admin-bar button[aria-pressed='true'] { background: var(--green); color: #fff; border-color: var(--green); }
.lead-list { display: grid; gap: 12px; }
.lead-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 18px; display: grid; gap: 8px; }
.lead-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; }
.lead-top b { font-size: 18px; }
.lead-meta { color: var(--muted); font-size: 14px; }
.lead-msg { margin: 0; white-space: pre-wrap; background: var(--alt); padding: 10px 12px; border-radius: 10px; }
.lead-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.lead-actions select, .lead-actions input { font: inherit; border: 1.5px solid #cbd5e1; border-radius: 10px; padding: 6px 10px; min-height: 40px; }
.lead-actions input { flex: 1 1 200px; }
.lead-actions .btn { min-height: 40px; padding: 6px 14px; font-size: 14px; }
.status-new { color: #b45309; font-weight: 800; }
.admin-tabs { display: flex; gap: 6px; margin: 8px 0 20px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.admin-tabs button { font: inherit; font-weight: 700; background: none; border: 0; border-bottom: 3px solid transparent; padding: 10px 14px; cursor: pointer; color: var(--text-2); }
.admin-tabs button[aria-selected='true'] { color: var(--green); border-bottom-color: var(--green); }
.admin-tabs .count:not(:empty) { display: inline-block; min-width: 22px; padding: 0 6px; margin-left: 4px; border-radius: 11px; background: #dc2626; color: #fff; font-size: 12px; line-height: 20px; text-align: center; }
.admin-section h2 { font-size: 20px; margin-bottom: 4px; }
.admin-h2 { margin-top: 28px; }
.admin-section .lead-list { margin-top: 12px; }
.pay-check { border: 2px solid #f59e0b; }
.pay-facts { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--text-2); font-size: 14px; }
.mono { font-family: ui-monospace, Consolas, monospace; letter-spacing: .5px; }
.due-status { font-weight: 800; font-size: 13px; padding: 2px 10px; border-radius: 999px; background: var(--alt); }
.due-status.st-unpaid { background: #fee2e2; color: #b91c1c; }
.due-status.st-pending { background: #fef3c7; color: #92400e; }
.due-status.st-paid { background: #dcfce7; color: #0b3d26; }
.lead-actions input.amount { flex: 0 0 110px; }

/* Superadmin: loading skeleton */
.sk { display: block; border-radius: 10px; background: linear-gradient(90deg, #eef1f4 25%, #f8fafc 50%, #eef1f4 75%) 0 0 / 200% 100%; animation: shimmer 1.4s linear infinite; }
.sk-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 8px 0 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.sk-tab { width: 84px; height: 24px; }
.sk-stack { display: grid; gap: 8px; margin-bottom: 26px; }
.sk-todo { height: 62px; border-radius: 14px; }
.sk-title { width: 160px; height: 24px; margin-top: 28px; }
.sk-kpi { height: 108px; border-radius: 16px; }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .sk { animation: none; } }

/* Superadmin: error log */
.error-path { font-size: 15px !important; overflow-wrap: anywhere; }
.error-stack { margin: 8px 0 0; padding: 12px; background: var(--alt); border-radius: 10px; font-size: 12px; overflow-x: auto; }
.lead-card { min-width: 0; grid-template-columns: minmax(0, 1fr); }

/* Superadmin: overview */
.admin-tabs .admin-refresh { margin-left: auto; font-size: 14px; color: var(--muted); }
.admin-tabs .admin-refresh:hover { color: var(--green); }
.todo { display: grid; gap: 8px; margin-bottom: 26px; }
.todo-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 16px; border-radius: 14px; background: var(--alt); font-weight: 600; }
.todo-item .btn { min-height: 40px; padding: 6px 14px; font-size: 14px; }
.todo-warn { background: #fffbeb; border: 1px solid #fde68a; }
.todo-ok { background: var(--green-soft); color: var(--green-dark); }
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-top: 12px; }
.kpi { display: grid; gap: 2px; align-content: start; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 16px 18px; }
.kpi-label { color: var(--text-2); font-size: 14px; font-weight: 600; }
.kpi-value { font-size: clamp(24px, 6vw, 30px); line-height: 1.2; font-variant-numeric: tabular-nums; }
.kpi-sub { color: var(--muted); font-size: 13px; }
.kpi-good { border-color: #bbf7d0; background: var(--green-soft); }
.kpi-good .kpi-value { color: var(--green-dark); }
.kpi-warn { border-color: #fde68a; background: #fffbeb; }
.kpi-warn .kpi-value { color: #b45309; }
.table-wrap { overflow-x: auto; margin-top: 12px; border: 1px solid var(--border); border-radius: 16px; background: #fff; }
.usage { width: 100%; border-collapse: collapse; font-size: 15px; }
.usage th, .usage td { padding: 10px 14px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; white-space: nowrap; }
.usage thead th { font-size: 13px; color: var(--muted); font-weight: 700; background: var(--alt); }
.usage tbody tr:last-child > * { border-bottom: 0; }
.usage tbody th, .usage td:nth-child(2) { display: table-cell; }
.usage tbody th > span, .usage td:nth-child(2) > * { display: block; }
.usage .n { text-align: right; font-variant-numeric: tabular-nums; }
.use-chip { width: max-content; margin-top: 2px; font-size: 12px; font-weight: 800; padding: 0 8px; border-radius: 999px; }
.use-daily .use-chip { background: #dcfce7; color: #0b3d26; }
.use-some .use-chip { background: #fef3c7; color: #92400e; }
.use-quiet .use-chip { background: #fee2e2; color: #b91c1c; }
.dots { display: inline-flex; gap: 3px; }
.dots i { width: 10px; height: 10px; border-radius: 3px; background: var(--border); }
.dots i.on { background: var(--green); }

/* Superadmin: owners */
.admin-search { font: inherit; border: 1.5px solid #cbd5e1; border-radius: 999px; padding: 6px 14px; min-height: 38px; flex: 1 1 220px; max-width: 320px; }
.admin-bar-inline { display: contents; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 12px; font-weight: 800; padding: 2px 10px; border-radius: 999px; }
.chip-eb { background: #fef9c3; color: #854d0e; }
.chip-unpaid { background: #fee2e2; color: #b91c1c; }
.chip-off { background: #1f2937; color: #fff; }
.owner-card.is-off { background: #f8fafc; }
.owner-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px 16px; margin: 4px 0; }
.owner-facts div { min-width: 0; }
.owner-facts dt { color: var(--muted); font-size: 12px; font-weight: 700; }
.owner-facts dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.btn-danger { color: #b91c1c; border-color: #fecaca; }
.btn-danger:hover { background: #fef2f2; }
.temp-pass { padding: 12px 14px; border-radius: 12px; background: #fffbeb; border: 1px solid #fde68a; }
.temp-pass b { font-size: 20px; margin-right: 6px; user-select: all; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Superadmin: customer detail, add customer, bill everyone */
.section-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.section-head .btn { min-height: 42px; padding: 8px 16px; font-size: 15px; }
.link-btn { font: inherit; background: none; border: 0; padding: 0; color: var(--green); font-weight: 700; cursor: pointer; text-align: left; text-decoration: underline; text-underline-offset: 3px; }
.usage .link-btn { display: block; color: var(--text); font-weight: 500; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px 14px; }
.owner-detail { display: grid; gap: 16px; }
.back-btn { justify-self: start; min-height: 40px; padding: 6px 14px; font-size: 14px; }
.detail-name { margin: 0; font-size: 24px; }
.detail-panel { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 18px; display: grid; gap: 10px; }
.detail-panel h3 { margin: 0; font-size: 18px; }
.detail-panel h4 { margin: 8px 0 0; font-size: 15px; }
.detail-panel .table-wrap { margin-top: 0; }
.detail-panel .lead-card { border-color: var(--border); background: var(--alt); }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 120px; padding: 8px 0 0; border-bottom: 1px solid var(--border); }
.bars i { flex: 1; min-width: 3px; background: var(--green); border-radius: 3px 3px 0 0; }
.bars i.zero { background: var(--border); }
.bars-axis { display: flex; justify-content: space-between; font-size: 12px; }
.staff-list, .notes { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.staff-list li { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.staff-list li.is-off b { color: var(--muted); text-decoration: line-through; }
.notes li { background: var(--alt); border-radius: 12px; padding: 10px 14px; }
.notes p { margin: 0 0 4px; white-space: pre-wrap; overflow-wrap: anywhere; }
.notes .link-btn { color: #b91c1c; font-size: 13px; }
.note-add { display: grid; gap: 8px; }
.note-add textarea { font: inherit; border: 1.5px solid #cbd5e1; border-radius: 12px; padding: 10px 12px; resize: vertical; }
.note-add .btn { justify-self: start; min-height: 40px; padding: 6px 14px; font-size: 14px; }
.chip-free { background: #dcfce7; color: #0b3d26; }
.chips .chip:not([class*='chip-']) { background: var(--alt); color: var(--text-2); }
.big-pass { font-size: 22px; }
.temp-pass p { margin: 0 0 6px; }
.run-box { display: grid; gap: 12px; margin-top: 12px; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 16px; }
.run-box .table-wrap { margin-top: 0; }
.inline-field { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--text-2); }
.usage tr.is-skip > * { color: var(--muted); }
.add-dialog { width: min(720px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); border: 0; border-radius: 20px; padding: 22px; box-shadow: 0 30px 60px -20px rgb(0 0 0 / 35%); }
.add-dialog::backdrop { background: rgb(15 23 42 / 55%); }
.add-form, .add-done { display: grid; gap: 14px; }
.add-form h2, .add-done h2 { margin: 0; }

.settings-grid { display: grid; gap: 16px; margin-top: 14px; }
.sample-note { margin: 0; padding: 10px 14px; border-radius: 12px; background: #fffbeb; border: 1px solid #fde68a; }
.field [aria-invalid="true"] { border-color: #b91c1c; }

.plan-trial { margin: 0; justify-self: start; align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: #dcfce7; color: #0b3d26; font-size: 14px; font-weight: 800; }

/* Wordmark: bold, light "my", bold. */
.wm { font-weight: 800; letter-spacing: -.03em; }
.wm i { font-style: normal; font-weight: 300; }

/* Admin: post maker */
.studio { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 16px; }
.studio-form { display: grid; gap: 12px; }
.studio-form textarea { min-height: 0 !important; }
.studio-preview { display: grid; gap: 12px; position: sticky; top: 90px; }
.studio-canvas { max-width: 100%; max-height: 70vh; justify-self: center; border: 1px solid var(--border); border-radius: 12px; }
@media (max-width: 800px) { .studio { grid-template-columns: 1fr; } .studio-preview { position: static; order: -1; } }
.letter-preview { position: static; }
.letter-pages { display: grid; gap: 14px; }
.letter-pages .studio-canvas { width: 100%; max-height: none; }

/* Admin: website words */
.content-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 16px 0; }
.content-bar select { font: inherit; padding: 8px 12px; border-radius: 10px; border: 1.5px solid #cbd5e1; }
.content-groups details { border: 1px solid var(--border); border-radius: 12px; padding: 10px 14px; margin-bottom: 8px; }
.content-groups summary { font-weight: 700; cursor: pointer; }
.content-show { display: block; margin: 12px 0; font-weight: 700; }
.content-item { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px 0; border-top: 1px solid var(--border); }
.content-item .field textarea { min-height: 70px; }
.content-item button { justify-self: start; }
@media (max-width: 700px) { .content-item { grid-template-columns: 1fr; } }
.content-bar { position: sticky; top: 64px; z-index: 5; background: #fff; padding: 10px 0; border-bottom: 1px solid var(--border); }
.content-pages { display: flex; flex-wrap: wrap; gap: 6px; }
.content-pages button { font: inherit; font-weight: 700; font-size: 14px; border: 1.5px solid var(--border); background: #fff; border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.content-pages button[aria-pressed='true'] { background: var(--green); color: #fff; border-color: var(--green); }
.content-tools input[type='search'] { font: inherit; padding: 8px 14px; border-radius: 999px; border: 1.5px solid #cbd5e1; flex: 1 1 220px; }
.content-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 12px 0; }
.content-item .content-label { grid-column: 1 / -1; font-weight: 700; }
.content-item .content-foot { grid-column: 1 / -1; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-size: 13px; }
.content-item.edited { background: #fefce8; }
.content-item[hidden], .content-groups details[hidden] { display: none; }

/* Home page closing section: the offer on the left, ways to talk on the right. */
.cta-new { padding: 72px 0; }
.cta-card { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: clamp(24px, 5vw, 56px); border-radius: 28px; background: linear-gradient(135deg, #17603b, #0f5132 45%, #093521); border: 1px solid rgb(163 230 53 / 25%); }
/* a faint marked parking space in the corner */
.cta-card::before { content: 'P'; position: absolute; left: 52%; top: -30px; width: 180px; height: 240px; display: grid; place-items: center; font-size: 140px; font-weight: 800; color: rgb(163 230 53 / 9%); border: 6px dashed rgb(163 230 53 / 14%); border-top: 0; border-radius: 0 0 24px 24px; transform: rotate(8deg); pointer-events: none; }
.cta-main, .cta-talk { position: relative; }
.cta-new h2 { text-wrap: balance; }
.cta-new .cta-main p { margin: 14px 0 18px; color: #e2f5e9; }
.cta-points { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.cta-points li { padding: 6px 14px; border-radius: 999px; background: rgb(255 255 255 / 10%); font-size: 15px; font-weight: 700; }
.cta-points li::before { content: '✓ '; color: #a3e635; }
.btn-lime { background: #a3e635; color: #0f172a; }
.btn-lime:hover { background: #b8ef5c; }
.cta-talk { display: grid; gap: 10px; padding: 24px; border-radius: 20px; background: rgb(0 0 0 / 25%); text-align: center; }
.cta-talk h3 { font-size: 18px; margin-bottom: 4px; }
.cta-new .contact-line { margin: 6px 0 0; font-size: 15px; overflow-wrap: anywhere; }
.cta-new .contact-line a { color: #a3e635; }
.cta-new .btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
@media (max-width: 820px) {
  .cta-card { grid-template-columns: 1fr; gap: 24px; }
  .cta-card::before { left: auto; right: -50px; }
  .cta-main > .btn { width: 100%; }
}
@media (max-width: 340px) { .site-header .brand .wm { display: none; } }

.extra-images { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin: 12px 0; }
.extra-images figure { margin: 0; display: grid; gap: 8px; justify-items: center; align-content: start; text-align: center; font-size: 13px; }
.extra-images img { width: 140px; height: auto; border-radius: 14px; border: 1px solid var(--border); }
.extra-images input[type='file'] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.extra-images label:focus-within { outline: 3px solid var(--green); outline-offset: 2px; }

/* Admin: letter editor */
.rich-bar { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 6px; }
.rich-btn { font: inherit; font-size: 14px; font-weight: 600; min-width: 38px; min-height: 36px; padding: 4px 10px; color: var(--text); background: #fff; border: 1px solid var(--border); border-radius: 8px; cursor: pointer; }
.rich-btn[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.rich-btn:focus-visible { outline: 3px solid var(--green); outline-offset: 1px; }
.rich-bold { font-weight: 900; }
.rich-italic { font-style: italic; }
.rich-underline { text-decoration: underline; }
.rich-body { min-height: 240px; max-height: 460px; overflow-y: auto; padding: 10px 14px; background: #fff; border: 1.5px solid var(--border); border-radius: 12px; font-weight: 400; color: var(--text); overflow-wrap: anywhere; }
.rich-body:focus { outline: 3px solid var(--green); outline-offset: 1px; }
.rich-body p { margin: 0 0 10px; }
.rich-body ul, .rich-body ol { margin: 0 0 10px; padding-left: 24px; }
