/* FleetSeva landing page. Colours follow the app (frontend/src/index.css). */
:root {
  --brand: #9e5700;          /* app --primary: hsl(33 100% 31%) */
  --brand-strong: #7f4600;
  --brand-soft: #fbf1e4;
  --brand-line: #ecd3b2;
  --ink: #141a21;
  --ink-2: #3a4450;
  --muted: #64707d;
  --line: #e3e8ee;
  --bg: #f5f7f9;
  --card: #ffffff;
  --night: #161c23;
  --night-2: #1f2730;
  --free: #00704a;
  --free-soft: #e3f3ec;
  --info: #006c75;
  --info-soft: #e0f1f2;
  --warn: #c0262d;
  --warn-soft: #fbe9e9;
  --wa: #128c7e;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 26, 33, .06), 0 8px 24px rgba(20, 26, 33, .06);
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--card); color: var(--ink); font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[data-lucide] { width: 20px; height: 20px; stroke-width: 2; }

/* --- buttons ------------------------------------------------------------------------------ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 10px;
  font-weight: 600; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-strong); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand-line); background: var(--brand-soft); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 15px; }
.btn [data-lucide] { width: 18px; height: 18px; }

/* --- header ------------------------------------------------------------------------------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-tile { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 8px; background: var(--brand); color: #fff; }
.brand-tile svg { width: 24px; height: 24px; }
.wordmark { font: 700 24px/1 var(--display); letter-spacing: .03em; text-transform: uppercase; }
.wordmark b { color: var(--brand); font-weight: 700; }
.brand small { display: block; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav { display: none; gap: 4px; margin-left: 12px; }
.nav a { white-space: nowrap; padding: 8px 10px; border-radius: 8px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.nav a:hover { color: var(--ink); background: var(--bg); }
.top-cta { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.top-cta .signin { display: none; }
.menu-btn { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
.mobile-nav { display: none; border-top: 1px solid var(--line); background: #fff; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 14px 16px; border-bottom: 1px solid var(--line); font-weight: 500; }
@media (min-width: 1080px) {
  .nav { display: flex; }
  .menu-btn, .mobile-nav { display: none !important; }
  .top-cta .signin { display: inline-flex; }
}
@media (max-width: 420px) { .top-cta .btn-primary { padding: 0 12px; } .brand small { display: none; } }

/* --- shared section bits -------------------------------------------------------------------- */
section { padding: 48px 0; }
@media (min-width: 900px) { section { padding: 60px 0; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--brand-soft);
  border: 1px solid var(--brand-line); color: var(--brand-strong); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.eyebrow [data-lucide] { width: 15px; height: 15px; }
h1, h2, h3 { margin: 0; }
h2 { font: 700 clamp(34px, 5vw, 52px)/1 var(--display); letter-spacing: .01em; text-transform: uppercase; }
h2 em { font-style: normal; color: var(--brand); }
.lead { color: var(--muted); font-size: 18px; max-width: 640px; margin: 16px 0 0; }
.head { margin-bottom: 32px; }
.head.center { text-align: center; }
.head.center .lead { margin-left: auto; margin-right: auto; }

/* --- hero --------------------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(ellipse at 25% 30%, #000 25%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 25% 30%, #000 25%, transparent 70%); }
.hero .wrap { position: relative; display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .hero { padding: 80px 0 104px; } .hero .wrap { grid-template-columns: 1.02fr 1fr; gap: 56px; } }
.hero h1 { margin-top: 20px; font: 700 clamp(46px, 7.4vw, 84px)/.95 var(--display); letter-spacing: .005em; text-transform: uppercase; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lead { font-size: 19px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 22px 0 0; padding: 0; list-style: none; color: var(--ink-2); font-size: 14px; }
.hero-notes li { display: flex; align-items: center; gap: 6px; }
.hero-notes [data-lucide] { width: 16px; height: 16px; color: var(--free); }

/* bay board mock */
.board { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px rgba(20, 26, 33, .12); padding: 16px; }
.board-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.board-title { font: 700 20px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.legend { display: flex; gap: 10px; font-size: 11px; color: var(--muted); }
.legend span { display: flex; align-items: center; gap: 4px; }
.legend i { width: 9px; height: 9px; border-radius: 2px; display: inline-block; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tile { min-height: 132px; border-radius: 10px; border: 1px solid; padding: 9px; display: flex; flex-direction: column; font-size: 11px; min-width: 0; }
.tile .no { display: flex; justify-content: space-between; align-items: baseline; }
.tile .no b { font: 700 22px/1 var(--display); }
.tile .no small { font-size: 9px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.tile.free { background: var(--free-soft); border-color: #b9dfcf; }
.tile.free .state { margin-top: auto; color: var(--free); font-weight: 700; font-size: 10px; text-transform: uppercase; }
.tile.busy { background: #fbf4ea; border-color: var(--brand-line); }
.tile.late { background: #fbf4ea; border-color: #e3a3a3; box-shadow: inset 0 0 0 1px #e3a3a3; }
.tile.maint { border-color: #e7b7b9; background: repeating-linear-gradient(135deg, #f8dcdd 0 8px, #fdf2f2 8px 16px); }
.tile.maint .state { margin-top: auto; color: var(--warn); font-weight: 700; font-size: 10px; text-transform: uppercase; }
.who { display: flex; align-items: center; gap: 6px; margin-top: 10px; min-width: 0; }
.av { flex-shrink: 0; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #efd9bd; color: var(--brand-strong); font-size: 9px; font-weight: 700; }
.who p { margin: 0; min-width: 0; }
.who p b, .who p span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who p span { color: var(--info); font-weight: 600; font-size: 10px; }
.reg { margin: 8px 0 0; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chip { display: inline-flex; align-items: center; gap: 3px; margin-top: auto; align-self: flex-start; padding: 2px 6px; border-radius: 4px; font-size: 9.5px; font-weight: 700; white-space: nowrap; }
.chip.warn { color: var(--warn); background: var(--warn-soft); border: 1px solid #efc0c2; }
.chip.ok { color: var(--free); background: var(--free-soft); border: 1px solid #b9dfcf; }
.chip.qc { color: var(--info); background: var(--info-soft); border: 1px solid #b4dadd; }
.float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(20, 26, 33, .14); font-size: 13px; }
.float .ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0; }
.float b { display: block; font-size: 13px; }
.float span { color: var(--muted); font-size: 12px; }
.float-wa { left: -14px; bottom: -26px; }
.float-wa .ic { background: #dcf3ee; color: var(--wa); }
.float-due { right: -12px; top: -22px; }
.float-due .ic { background: var(--free-soft); color: var(--free); }
@media (max-width: 640px) { .float-wa { left: 8px; } .float-due { right: 8px; } }
@media (max-width: 520px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .float-due, .legend { display: none; } .float-wa { bottom: -30px; } }

/* --- built for strip ---------------------------------------------------------------------- */
.strip { padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.strip .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 28px; color: var(--ink-2); font-weight: 600; font-size: 15px; }
.strip .wrap > span:first-child { color: var(--muted); font-weight: 500; }
.strip .item { display: flex; align-items: center; gap: 8px; }
.strip .item [data-lucide] { color: var(--brand); width: 18px; height: 18px; }

/* --- flow --------------------------------------------------------------------------------- */
.flow { background: var(--bg); }
.steps { display: grid; gap: 14px; counter-reset: s; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(6, 1fr); gap: 12px; } }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px; box-shadow: var(--shadow); }
.step .n { display: flex; align-items: center; justify-content: space-between; }
.step .n b { font: 700 40px/1 var(--display); color: var(--brand-line); }
.step .n [data-lucide] { color: var(--brand); width: 24px; height: 24px; }
.step h3 { margin-top: 12px; font: 700 22px/1.05 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.step .owner { display: inline-block; margin-top: 6px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--info); }
.step p { margin: 8px 0 0; font-size: 14px; color: var(--muted); }

/* --- workflows ---------------------------------------------------------------------------- */
#workflows { background: #fff; }
.wf-note { display: flex; align-items: center; gap: 8px; margin: 24px 0 0; padding: 12px 14px; border-radius: 10px; background: var(--info-soft); color: var(--info); font-size: 14px; font-weight: 600; }
.wf-note [data-lucide] { width: 18px; height: 18px; flex-shrink: 0; }
.wf { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px rgba(20, 26, 33, .1); padding: 18px; }
.wf-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.wf-head small { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.wf-head b { font: 700 26px/1 var(--display); text-transform: uppercase; }
.wf-tag { padding: 4px 10px; border-radius: 999px; background: var(--brand-soft); border: 1px solid var(--brand-line); color: var(--brand-strong); font-size: 12px; font-weight: 700; white-space: nowrap; }
.wf-steps { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; position: relative; }
.wf-steps li { position: relative; display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line); font-size: 14px; }
.wf-steps li:not(:last-child)::after { content: ""; position: absolute; left: 24px; top: 100%; width: 2px; height: 6px; background: var(--line); }
.wf-steps li.on { border-color: var(--brand); background: var(--brand-soft); }
.wf-steps .dot { flex-shrink: 0; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--free-soft); color: var(--free); font-size: 12px; font-weight: 700; }
.wf-steps li.on .dot { background: var(--brand); color: #fff; }
.wf-steps li.on ~ li .dot { background: var(--bg); color: var(--muted); }
.wf-steps div { min-width: 0; flex: 1; }
.wf-steps b { display: block; font-weight: 600; }
.wf-steps .r { display: block; font-size: 12px; color: var(--info); font-weight: 600; }
.wf-steps em { flex-shrink: 0; font-style: normal; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--bg); color: var(--ink-2); }
.wf-steps em.ap { background: var(--info-soft); color: var(--info); }
.wf-steps li.on em { background: var(--brand); color: #fff; }
.wf-form { margin-top: 14px; padding: 14px; border-radius: 12px; border: 1px dashed var(--brand-line); background: #fffbf6; font-size: 14px; }
.wf-form p { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; font-weight: 700; }
.wf-form p [data-lucide] { width: 16px; height: 16px; color: var(--brand); }
.wf-form label { display: flex; align-items: center; gap: 8px; margin-top: 6px; color: var(--ink-2); }
.cb { flex-shrink: 0; width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid #c3ccd6; background: #fff; }
.cb.on { border-color: var(--free); background: var(--free) 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.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat; }
.wf-field { display: flex; justify-content: space-between; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--brand-line); color: var(--ink-2); }
.wf-field b { color: var(--ink); }

/* --- features ----------------------------------------------------------------------------- */
.grid { display: grid; gap: 16px; }
@media (min-width: 680px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: border-color .15s, box-shadow .15s, transform .15s; }
.card:hover { border-color: var(--brand-line); box-shadow: var(--shadow); transform: translateY(-2px); }
.card .ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); }
.card h3 { margin-top: 16px; font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.card p { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
.card ul { margin: 12px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--ink-2); }
.card li { display: flex; gap: 8px; margin-top: 6px; }
.card li::before { content: ""; flex-shrink: 0; width: 6px; height: 6px; margin-top: 8px; border-radius: 50%; background: var(--brand); }
.tag-new { margin-left: 6px; padding: 2px 7px; border-radius: 999px; background: var(--info-soft); color: var(--info); font-size: 11px; font-weight: 700; vertical-align: middle; }

/* --- split sections (WhatsApp, reports) --------------------------------------------------- */
.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } .split.flip > :first-child { order: 2; } }
.ticks { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.ticks li { display: flex; gap: 14px; }
.ticks .ic { flex-shrink: 0; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); }
.ticks b { display: block; font-size: 16px; }
.ticks span { color: var(--muted); font-size: 15px; }
.dark { background: var(--night); color: #e8edf2; }
.dark h2 { color: #fff; }
.dark h2 em { color: #f0b25f; }
.dark .lead, .dark .ticks span { color: #a7b1bc; }
.dark .ticks b { color: #fff; }
.dark .ticks .ic { background: rgba(255, 255, 255, .07); color: #f0b25f; }
.dark .eyebrow { background: rgba(240, 178, 95, .12); border-color: rgba(240, 178, 95, .3); color: #f0b25f; }

/* phone chat mock */
.phone { width: 100%; max-width: 400px; margin: 0 auto; background: #0b141a; border-radius: 34px; padding: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); border: 1px solid #2a3540; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #1f2c33; border-radius: 24px 24px 0 0; color: #e9edef; }
.chat-head .gav { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #2a3942; color: #8696a0; }
.chat-head b { display: block; font-size: 14px; }
.chat-head span { font-size: 11px; color: #8696a0; }
.chat { display: flex; flex-direction: column; gap: 8px; padding: 14px 12px 16px; border-radius: 0 0 24px 24px; min-height: 420px;
  background: #0b141a radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .025) 0 2px, transparent 3px) 0 0/22px 22px; }
.msg { max-width: 86%; padding: 7px 10px 6px; border-radius: 10px; font-size: 13.5px; line-height: 1.4; color: #e9edef; background: #202c33; }
.msg .from { display: block; font-size: 12px; font-weight: 700; margin-bottom: 2px; }
.msg .t { display: block; text-align: right; font-size: 10px; color: #8696a0; margin-top: 2px; }
.msg.bot { align-self: flex-end; background: #005c4b; }
.msg.note { align-self: center; max-width: 100%; background: #182229; color: #8696a0; font-size: 11.5px; text-align: center; }
.voice { display: flex; align-items: center; gap: 8px; }
.voice .wave { flex: 1; height: 18px; background: repeating-linear-gradient(90deg, #8696a0 0 2px, transparent 2px 5px); mask-image: linear-gradient(90deg, #000 40%, rgba(0, 0, 0, .35) 40%); -webkit-mask-image: linear-gradient(90deg, #000 40%, rgba(0, 0, 0, .35) 40%); border-radius: 2px; }
.voice [data-lucide] { width: 16px; height: 16px; }

/* report mock */
.report { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px rgba(20, 26, 33, .1); padding: 18px; }
.report .kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kpi { border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 10px; padding: 10px 12px; }
.kpi.good { border-left-color: var(--free); }
.kpi small { display: block; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.kpi b { font: 700 28px/1.1 var(--display); }
.bars { margin-top: 16px; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.bars h4 { margin: 0 0 10px; font: 700 18px/1 var(--display); text-transform: uppercase; }
.bar { margin-top: 10px; font-size: 13px; }
.bar .lab { display: flex; justify-content: space-between; gap: 8px; }
.bar .lab b { font-weight: 600; }
.bar .lab .flag { margin-left: 6px; padding: 1px 6px; border-radius: 4px; color: var(--warn); background: var(--warn-soft); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.bar .track { height: 8px; margin-top: 5px; border-radius: 99px; background: var(--bg); overflow: hidden; }
.bar .fill { height: 100%; border-radius: 99px; background: var(--brand); }
.mock-note { margin: 10px 0 0; font-size: 12px; color: var(--muted); text-align: center; }


/* --- pricing ------------------------------------------------------------------------------ */
.pricing { background: var(--bg); }
.plans { display: grid; gap: 16px; max-width: 1040px; margin: 0 auto; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px 24px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.plan.hot { border: 2px solid var(--brand); box-shadow: 0 20px 50px rgba(158, 87, 0, .12); }
.plan .badge { position: absolute; top: -13px; left: 24px; padding: 4px 10px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.plan h3 { font: 700 26px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.plan .price { margin-top: 16px; display: flex; align-items: baseline; gap: 6px; }
.plan .price b { font: 700 52px/1 var(--display); }
.plan .price span { color: var(--muted); font-size: 15px; }
.plan .sub { margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.plan .price s { flex-basis: 100%; color: var(--muted); font-size: 18px; font-weight: 600; }
.plan .price { flex-wrap: wrap; }
.plan .price span { white-space: nowrap; }
.plans > .plan { min-width: 0; }
.plan .save[hidden] { display: none; }
.plan .save { display: inline-block; margin-right: 6px; padding: 2px 8px; border-radius: 999px; background: var(--free-soft); color: var(--free); font-size: 13px; font-weight: 700; }
.plan .badge [data-lucide] { width: 13px; height: 13px; vertical-align: -2px; }
.pricing[data-period="monthly"] [data-only="yearly"],
.pricing[data-period="yearly"] [data-only="monthly"] { display: none; }
.period-toggle { display: flex; width: max-content; max-width: 100%; margin: 0 auto 28px; padding: 4px; gap: 4px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.period-toggle button { padding: 8px 18px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font: inherit; font-weight: 600; cursor: pointer; }
.period-toggle button[aria-pressed="true"] { background: var(--brand); color: #fff; }
.period-toggle button:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.period-toggle small { margin-left: 4px; font-size: 12px; font-weight: 700; opacity: .85; }
.plan ul { margin: 22px 0 26px; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 15px; }
.plan li { display: flex; gap: 10px; }
.plan li [data-lucide] { flex-shrink: 0; width: 18px; height: 18px; margin-top: 3px; color: var(--free); }
.plan .btn { margin-top: auto; width: 100%; }
.price-notes { max-width: 1040px; margin: 24px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; color: var(--ink-2); font-size: 14px; }
.price-notes span { display: flex; align-items: center; gap: 6px; }
.business-note { max-width: 1040px; margin: 20px auto 0; padding: 14px 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; border: 1px dashed var(--line); border-radius: 14px; color: var(--ink-2); font-size: 15px; text-align: center; }
.business-note a { color: var(--brand); font-weight: 700; }
.business-note [data-lucide] { width: 18px; height: 18px; color: var(--brand); }
.price-notes [data-lucide] { width: 16px; height: 16px; color: var(--brand); }

/* --- sign-up ------------------------------------------------------------------------------ */
.signup { position: relative; overflow: hidden; }
.signup .split { align-items: start; }
.signup-card { background: #fff; color: var(--ink); border-radius: 20px; padding: 28px 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
@media (min-width: 640px) { .signup-card { padding: 34px 32px; } }
.signup-card h3 { font: 700 30px/1 var(--display); text-transform: uppercase; }
.signup-card > p { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
.form { margin-top: 22px; display: grid; gap: 16px; }
.row2 { display: grid; gap: 16px; }
@media (min-width: 560px) { .row2 { grid-template-columns: 1fr 1fr; } }
.field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.field label small { font-weight: 400; color: var(--muted); }
.field input { width: 100%; height: 48px; padding: 0 14px; border: 1px solid #cfd6de; border-radius: 10px; background: #fff; color: var(--ink); font-size: 16px; outline: none; transition: border-color .15s, box-shadow .15s; }
.field input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(158, 87, 0, .15); }
.field input[aria-invalid="true"] { border-color: var(--warn); }
.field .err { display: none; margin-top: 5px; font-size: 13px; color: var(--warn); }
.field input[aria-invalid="true"] + .err { display: block; }
.field .hint { margin-top: 5px; font-size: 12.5px; color: var(--muted); }
.form .btn { width: 100%; height: 52px; font-size: 16px; }
.next { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.next li { display: flex; gap: 8px; align-items: flex-start; }
.next [data-lucide] { width: 15px; height: 15px; margin-top: 3px; color: var(--free); flex-shrink: 0; }
.already { margin: 6px 0 0; padding-top: 16px; border-top: 1px solid var(--line); text-align: center; font-size: 14px; color: var(--muted); }
.already a, .legal a { color: var(--brand); font-weight: 600; }
.legal { margin: 0; text-align: center; font-size: 12px; color: var(--muted); }
.closed { display: none; margin-top: 18px; padding: 16px; border-radius: 12px; background: var(--brand-soft); border: 1px solid var(--brand-line); font-size: 15px; }
.signup-card.is-closed .form { display: none; }
.signup-card.is-closed .closed { display: block; }
.spin { width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* --- faq ---------------------------------------------------------------------------------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; cursor: pointer; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary [data-lucide] { flex-shrink: 0; color: var(--brand); transition: transform .2s; }
.faq details[open] summary [data-lucide] { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--muted); }

/* --- footer ------------------------------------------------------------------------------- */
footer { background: var(--night); color: #a7b1bc; padding: 48px 0 32px; font-size: 14px; }
footer .wrap { display: grid; gap: 28px; }
@media (min-width: 800px) { footer .wrap { grid-template-columns: 1.4fr 1fr 1fr; } }
footer .wordmark { color: #fff; }
footer .wordmark b { color: #f0b25f; }
footer h4 { margin: 0 0 10px; color: #fff; font-size: 14px; }
footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
footer a:hover { color: #fff; }
footer .base { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid #2a333d; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 13px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }

/* ---- highlights (why) ---- */
.eyebrows { display: flex; flex-wrap: wrap; gap: 8px; }
.eyebrow.ai { background: var(--night); border-color: var(--night); color: #f0b25f; }
.why { background: #fff; }
.why-grid { display: grid; gap: 18px; }
@media (min-width: 960px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }
.why-card { display: flex; flex-direction: column; padding: 26px; border-radius: 18px; border: 1px solid var(--brand-line);
  background: linear-gradient(180deg, var(--brand-soft) 0%, #fff 60%); }
.why-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--brand); color: #fff; }
.why-ic.wa { background: var(--wa); }
.why-ic [data-lucide] { width: 24px; height: 24px; }
.why-card h3 { margin: 18px 0 0; font: 700 30px/1.02 var(--display); text-transform: uppercase; }
.why-card > p { margin: 12px 0 0; color: var(--ink-2); }
.why-card ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; font-size: 14px; font-weight: 600; }
.why-card li { display: flex; align-items: center; gap: 8px; }
.why-card li [data-lucide] { width: 16px; height: 16px; color: var(--free); flex-shrink: 0; }
.tr { margin-top: 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow); font-size: 14px; }
.tr-head { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.tr-head [data-lucide] { width: 14px; height: 14px; }
.tr-row { display: flex; gap: 10px; padding: 12px 14px; }
.tr-row .av { flex-shrink: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-strong); font-size: 12px; font-weight: 700; }
.tr-row > div { min-width: 0; }
.tr-row b { display: block; font-weight: 700; }
.tr-row b small { color: var(--muted); font-weight: 500; }
.tr-row .ta { display: flex; align-items: center; gap: 6px; margin: 6px 0 0; color: var(--ink); }
.tr-row .ta [data-lucide] { width: 14px; height: 14px; color: var(--brand); flex-shrink: 0; }
.tr-row .en { margin: 2px 0 0; color: var(--muted); font-style: italic; }
.tr-move { display: inline-block; margin-top: 8px; padding: 2px 8px; border-radius: 999px; background: var(--info-soft); color: var(--info); font-size: 12px; font-weight: 700; }
[lang="ta"] { font-family: "Noto Sans Tamil", var(--body); }

/* ---- animated demo ---- */
.demo { background: var(--bg); }
.demo-stage { display: grid; gap: 20px; align-items: center; }
@media (min-width: 1000px) { .demo-stage { grid-template-columns: 380px 64px 1fr; gap: 0; } }
.demo-phone { max-width: 380px; }
.demo-phone .chat { height: 440px; min-height: 0; overflow: hidden; justify-content: flex-end; }
.demo-link { display: flex; justify-content: center; position: relative; }
@media (min-width: 1000px) { .demo-link::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed var(--brand-line); } }
.ai-pill { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--night); color: #f0b25f;
  font-size: 12px; font-weight: 700; letter-spacing: .06em; transition: transform .3s, box-shadow .3s; }
.ai-pill [data-lucide] { width: 14px; height: 14px; }
.ai-pill.on { transform: scale(1.12); box-shadow: 0 0 0 6px rgba(240, 178, 95, .25); }
.appwin { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 60px rgba(20, 26, 33, .12); overflow: hidden; min-width: 0; }
.appwin-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #eef1f4; border-bottom: 1px solid var(--line); }
.appwin-bar .dots { display: flex; gap: 6px; }
.appwin-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: #cfd6dd; }
.appwin-bar .url { flex: 1; padding: 4px 12px; border-radius: 8px; background: #fff; color: var(--muted); font-size: 12px; text-align: center; }
.appwin-body { padding: 18px; }
.jc-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 10px; }
.jc-head small { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.jc-head b { display: block; font: 700 30px/1 var(--display); }
.jc-head span { display: block; margin-top: 4px; font-size: 13px; color: var(--ink-2); }
.jc-status { padding: 4px 12px; border-radius: 999px; background: var(--brand-soft); border: 1px solid var(--brand-line); color: var(--brand-strong) !important;
  font-size: 12px !important; font-weight: 700; margin-top: 0 !important; transition: background .3s, color .3s; }
.jc-status.qc { background: var(--info-soft); border-color: #b9dfe2; color: var(--info) !important; }
.jc-status.done { background: var(--free); border-color: var(--free); color: #fff !important; }
.jc-status.ready { background: var(--free-soft); border-color: #b8e0cf; color: var(--free) !important; }
.jc-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; list-style: none; margin: 16px 0 0; padding: 0; counter-reset: s; }
.jc-steps li { position: relative; padding-top: 10px; font-size: 12px; font-weight: 600; color: var(--muted); text-align: center; }
.jc-steps li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; border-radius: 3px; background: var(--line); transition: background .4s; }
.jc-steps li.done { color: var(--free); }
.jc-steps li.done::before { background: var(--free); }
.jc-steps li.on { color: var(--brand); }
.jc-steps li.on::before { background: var(--brand); }
.jc-hist-title { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 18px 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.jc-hist-title > [data-lucide] { width: 14px; height: 14px; }
.jc-reading { display: none; align-items: center; gap: 5px; margin-left: auto; padding: 2px 8px; border-radius: 999px; background: var(--night); color: #f0b25f; text-transform: none; letter-spacing: 0; }
.jc-reading.on { display: inline-flex; animation: pulse 1.2s ease-in-out infinite; }
.jc-reading [data-lucide] { width: 12px; height: 12px; }
.jc-hist { display: grid; gap: 8px; height: 300px; overflow: hidden; align-content: start; }
.jc-hist .tr-row { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 14px; animation: slidein .45s ease-out; }
.jc-hist .tr-row.new { border-color: var(--brand); background: #fffbf6; }
.jc-hist .tr-row.sys .av { background: var(--bg); color: var(--muted); }
.tr-move.ok { background: var(--free-soft); color: var(--free); }
.msg.pop { animation: slidein .35s ease-out; }
.msg.typing { display: flex; gap: 4px; padding: 10px 12px; }
.msg.typing i { width: 6px; height: 6px; border-radius: 50%; background: #8696a0; animation: blink 1s infinite; }
.msg.typing i:nth-child(2) { animation-delay: .2s; } .msg.typing i:nth-child(3) { animation-delay: .4s; }
.demo .voice.play .wave { animation: playwave 2.2s linear forwards; }
.demo .voice .wave { -webkit-mask-size: 250% 100%; mask-size: 250% 100%; -webkit-mask-position: 100% 0; mask-position: 100% 0; }
.demo-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; }
.demo-caps { flex: 1; display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; min-width: 0; }
@media (min-width: 700px) { .demo-caps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .demo-caps { grid-template-columns: repeat(4, 1fr); } }
.demo-caps li { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--muted); font-size: 14px; transition: border-color .3s, color .3s, background .3s; }
.demo-caps b { flex-shrink: 0; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); font-size: 12px; }
.demo-caps li.on { border-color: var(--brand); background: var(--brand-soft); color: var(--ink); }
.demo-caps li.on b { background: var(--brand); color: #fff; }
.demo-caps li.done b { background: var(--free); color: #fff; }
@keyframes slidein { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes blink { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
@keyframes playwave { from { -webkit-mask-position: 100% 0; mask-position: 100% 0; } to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
@media (max-width: 999px) { .demo-link { display: none; } .jc-hist { height: 280px; } }
@media (max-width: 520px) { .demo-phone .chat { height: 380px; } .jc-steps li { font-size: 10.5px; } }
.demo-caps { flex: 1 1 520px; }
.jc-hist { -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent); mask-image: linear-gradient(180deg, #000 82%, transparent); }
.demo-phone .chat { -webkit-mask-image: linear-gradient(0deg, #000 88%, transparent); mask-image: linear-gradient(0deg, #000 88%, transparent); }
/* Demo and How it works share a background: one gap between them, not two. */
#demo + #how { padding-top: 0; }

/* ---- sign up with Google ---- */
.btn-google { width: 100%; background: #fff; color: #1f1f1f; border-color: #dadce0; }
.btn-google:hover { background: #f8f9fa; border-color: #c6c9cd; }
.btn-google .g { width: 20px; height: 20px; flex-shrink: 0; }
.btn-google .spin { border-color: rgba(0, 0, 0, .15); border-top-color: #1f1f1f; }
.btn-link { width: 100%; background: transparent; border-color: transparent; color: var(--brand); font-weight: 600; }
.btn-link:hover { text-decoration: underline; }
.btn-link .spin { border-color: rgba(158, 87, 0, .2); border-top-color: var(--brand); }
.form .btn-link { height: 36px; font-size: 14px; margin-top: -6px; }

/* Products: Workshop Management and Transport Management Software */
.products { background: var(--bg); }
.prod-grid { display: grid; gap: 18px; }
@media (min-width: 900px) { .prod-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
.prod { display: flex; flex-direction: column; padding: 28px; border-radius: 18px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.prod-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--brand); color: #fff; }
.prod-ic.alt { background: var(--info); }
.prod-ic [data-lucide] { width: 26px; height: 26px; }
.prod-kicker { margin-top: 18px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.prod h3 { margin: 4px 0 0; font: 700 34px/1.02 var(--display); text-transform: uppercase; }
.prod > p { margin: 12px 0 0; color: var(--ink-2); }
.prod ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; font-size: 15px; font-weight: 600; }
.prod li { display: flex; align-items: flex-start; gap: 8px; }
.prod li [data-lucide] { width: 16px; height: 16px; margin-top: 4px; color: var(--free); flex-shrink: 0; }
.prod-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 24px; }

/* TMS section and its trip board example */
.tms { background: var(--bg); }
.trips { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px rgba(20, 26, 33, .1); padding: 18px; }
.trips-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.trips-head small { display: block; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.trips-head b { font: 700 22px/1.1 var(--display); }
.trip { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-top: 10px; }
.trip-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.trip-top b { font-size: 15px; }
.trip .chip { margin-top: 0; font-size: 11px; padding: 2px 8px; }
.trip-route { display: flex; align-items: center; gap: 6px; margin: 6px 0 0; font-weight: 600; color: var(--ink-2); }
.trip-route [data-lucide] { width: 15px; height: 15px; color: var(--info); }
.trip-meta { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.trip-bar { height: 6px; margin-top: 10px; border-radius: 999px; background: var(--line); overflow: hidden; }
.trip-bar span { display: block; height: 100%; border-radius: 999px; background: var(--info); }
.trips-foot { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.trips-foot > div { border: 1px solid var(--line); border-left: 4px solid var(--info); border-radius: 10px; padding: 8px 10px; }
.trips-foot small { display: block; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.trips-foot b { font: 700 22px/1.1 var(--display); }
.trips-foot b.good { color: var(--free); }

/* ---- Multi-page site: home, product pages ------------------------------------------------- */
.nav a.nav-other { color: var(--brand); font-weight: 600; }
.home-hero { padding: 64px 0 56px; text-align: center; background: linear-gradient(180deg, var(--brand-soft), #fff 70%); }
.home-hero h1 { margin: 0 auto; max-width: 900px; font: 700 clamp(44px, 8vw, 84px)/.95 var(--display); text-transform: uppercase; letter-spacing: -.01em; }
.home-hero h1 em { font-style: normal; color: var(--brand); }
.home-hero .lead { margin: 20px auto 0; max-width: 720px; }
.home-hero .hero-ctas { justify-content: center; }
.home-pick { display: grid; gap: 14px; max-width: 820px; margin: 36px auto 0; text-align: left; }
@media (min-width: 720px) { .home-pick { grid-template-columns: 1fr 1fr; } }
.pick { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); transition: border-color .15s, transform .15s; }
.pick:hover { border-color: var(--brand-line); transform: translateY(-2px); }
.pick b { display: block; font-size: 17px; }
.pick small { display: block; color: var(--muted); font-size: 14px; }
.pick .prod-ic { width: 46px; height: 46px; flex-shrink: 0; }
.pick .go { margin-left: auto; width: 20px; height: 20px; color: var(--muted); flex-shrink: 0; }
.prod-row { display: grid; gap: 32px; align-items: center; padding: 32px; margin-top: 24px; border-radius: 22px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
@media (min-width: 1000px) { .prod-row { grid-template-columns: 1.1fr 1fr; gap: 56px; padding: 44px; } .prod-row.flip > :first-child { order: 2; } }
@media (max-width: 520px) { .prod-row { padding: 20px; } }
.prod-row h3 { margin: 4px 0 0; font: 700 clamp(32px, 5vw, 44px)/1 var(--display); text-transform: uppercase; }
.prod-row .lead { margin-top: 14px; font-size: 17px; }
.prod-row .prod-ctas { margin-top: 24px; padding-top: 0; }
.feat-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px 18px; font-weight: 600; font-size: 15px; }
@media (min-width: 560px) { .feat-list { grid-template-columns: 1fr 1fr; } }
.feat-list li { display: flex; align-items: center; gap: 10px; }
.feat-list [data-lucide] { width: 18px; height: 18px; color: var(--brand); flex-shrink: 0; }
.feat-list.alt [data-lucide] { color: var(--info); }
.board-sm .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.board-sm .tile { min-height: 96px; }
.home-why { background: #fff; }
.home-contact { text-align: center; }
.home-contact .lead { margin-left: auto; margin-right: auto; max-width: 680px; }

/* TMS accents: teal */
.tms-eb { background: var(--info-soft); border-color: #b4dadd; color: var(--info); }
.tms-tag { background: var(--info-soft); border-color: #b4dadd; color: var(--info); }
.tms-page .hero h1 em, .tms-page h2 em { color: var(--info); }
.tms-page .ticks .ic, .tms-page .card .ic { background: var(--info-soft); color: var(--info); }
.tms-page .card li::before { background: var(--info); }
.tms-page .card:hover { border-color: #b4dadd; }
.tms-page .strip .item [data-lucide] { color: var(--info); }
.tms-band { background: var(--bg); }
.fgroup + .fgroup { margin-top: 36px; }
.fgroup-title { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font: 700 26px/1 var(--display); text-transform: uppercase; }
.fgroup-title [data-lucide] { width: 22px; height: 22px; color: var(--info); }

/* TMS demo */
.tdemo { display: grid; gap: 16px; align-items: start; }
@media (min-width: 980px) { .tdemo { grid-template-columns: 1fr 64px 1fr; } }
.tcard { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px rgba(20, 26, 33, .1); padding: 18px; min-height: 100%; }
.tcard-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.tcard-head small { display: block; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.tcard-head b { font: 700 22px/1.1 var(--display); }
.tstatus { flex-shrink: 0; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--info-soft); color: var(--info); border: 1px solid #b4dadd; transition: background .3s, color .3s; }
.tstatus.due { background: var(--brand-soft); color: var(--brand-strong); border-color: var(--brand-line); }
.tstatus.paid { background: var(--free-soft); color: var(--free); border-color: #b9dfcf; }
.tgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin: 14px 0 0; }
.tgrid dt { font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.tgrid dd { margin: 2px 0 0; font-weight: 600; font-size: 15px; }
.tgrid-2 { margin-top: 12px; }
.auto { margin-left: 4px; padding: 1px 6px; border-radius: 4px; background: var(--info-soft); color: var(--info); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.tnote { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; padding: 8px 10px; border-radius: 10px; background: var(--free-soft); color: var(--free); font-size: 13px; font-weight: 600; }
.tnote [data-lucide] { width: 16px; height: 16px; }
.trate, .tinv { margin-top: 14px; padding: 12px 14px; border-radius: 12px; border: 1px dashed #b4dadd; background: #f6fbfb; }
.tlabel { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 13px; font-weight: 700; color: var(--info); }
.tlabel [data-lucide] { width: 16px; height: 16px; }
.tline { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 14px; color: var(--ink-2); }
.tline b { color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tline.tot { margin-top: 4px; padding-top: 8px; border-top: 1px solid var(--line); font-weight: 700; color: var(--ink); }
.tline.tot b { font-size: 16px; }
.tline.good b, b.good { color: var(--free); }
.tempty { margin: 24px 0 8px; text-align: center; color: var(--muted); font-size: 14px; }
.tdemo-link { display: none; }
@media (min-width: 980px) { .tdemo-link { display: grid; place-items: center; align-self: center; } }
.tms-pill { background: var(--info); }
/* each step shows its parts */
.tdemo .s2, .tdemo .s3, .tdemo .s4, .tdemo .s5 { opacity: 0; max-height: 0; overflow: hidden; margin-top: 0; padding-top: 0; padding-bottom: 0; border-width: 0; transition: opacity .5s, max-height .5s; }
.tdemo .tgrid .s2 { max-height: none; }
.tdemo[data-step="2"] .s2, .tdemo[data-step="3"] .s2, .tdemo[data-step="4"] .s2, .tdemo[data-step="5"] .s2,
.tdemo[data-step="3"] .s3, .tdemo[data-step="4"] .s3, .tdemo[data-step="5"] .s3,
.tdemo[data-step="4"] .s4, .tdemo[data-step="5"] .s4,
.tdemo[data-step="5"] .s5 { opacity: 1; max-height: 400px; margin-top: 14px; padding-top: 12px; padding-bottom: 12px; border-width: 1px; }
.tdemo .tgrid .s2, .tdemo[data-step] .tgrid .s2 { margin-top: 0; padding: 0; border-width: 0; }
.tdemo[data-step="2"] .tnote.s2, .tdemo[data-step="3"] .tnote.s2, .tdemo[data-step="4"] .tnote.s2, .tdemo[data-step="5"] .tnote.s2 { padding: 8px 10px; border-width: 0; }
.tdemo[data-step="4"] .s-empty, .tdemo[data-step="5"] .s-empty { display: none; }
#tdemo-caps li.done b { background: var(--free); color: #fff; }

/* TMS mocks */
.alert-row { display: grid; grid-template-columns: 74px 1fr auto; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.alert-row .chip { margin: 0; font-size: 11px; justify-self: start; }
.alert-row span:last-child { color: var(--muted); }
.portal-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0; }
.portal-tiles span { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); font-weight: 600; font-size: 14px; }
.portal-tiles [data-lucide] { width: 16px; height: 16px; color: var(--info); }
@media (min-width: 1100px) { #tdemo-caps { grid-template-columns: repeat(5, 1fr); } }
.tms-page .demo-caps li.on { border-color: var(--info); background: var(--info-soft); }
.tms-page .demo-caps li.on b { background: var(--info); }

/* Terms and Privacy */
.legal-page { padding: 48px 0 64px; }
.legal-doc { max-width: 820px; }
.legal-doc h1 { margin: 16px 0 0; font: 700 clamp(40px, 7vw, 64px)/1 var(--display); text-transform: uppercase; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 12px 0 28px; color: var(--muted); font-size: 14px; }
.legal-doc h2 { margin: 32px 0 8px; font: 700 26px/1.1 var(--display); text-transform: uppercase; }
.legal-doc p, .legal-doc li { color: var(--ink-2); }
.legal-doc ul { padding-left: 20px; }
.legal-doc li { margin-top: 6px; }
.legal-doc a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.legal-doc .caps { font-size: 15px; }
