/* ForwardKar marketing site — shared styles */
:root {
  --ink: #0B2E3B;
  --ink-2: #3C4A52;
  --muted: #5B6A72;
  --line: #DEE8EF;
  --line-2: #EDF5FA;
  --paper: #FCFCFD;
  --teal: #0E7595;
  --teal-dark: #073B4C;
  --teal-tint: #E6F3F8;
  --teal-line: #C8E6F0;
  --green: #067E63;
  --green-tint: #DFF8F0;
  --red: #B81E43;
  --red-tint: #FDE8EC;
  --tg: #1F6FB0;
  --tg-dark: #17588D;
  --wa: #128C4A;
  --mail: #C2384F;
  --chat-bg: #DCE5D0;
  --bubble-out: #EFFDDE;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: 'Public Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --radius: 18px;
  --wrap: 1160px;
  --shadow: 0 30px 70px rgba(11, 46, 59, 0.14);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* Safety net (accessible-animation): 0.01ms, not 0s, so animationend/transitionend still fire. */
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: #F4F8FA;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dark); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.025em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input { font: inherit; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

.mono { font-family: var(--mono); }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.eyebrow.teal { color: var(--teal); }
.lead { font-size: 18px; line-height: 1.6; color: var(--ink-2); }
.muted { color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; padding: 14px 22px; font-size: 15.5px; font-weight: 600; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn svg { flex: none; }
.btn-tg { background: var(--tg); color: #fff; }
.btn-tg:hover { background: var(--tg-dark); color: #fff; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: #C9D6DF; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-sm { padding: 10px 16px; font-size: 14px; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--teal-tint); color: var(--ink); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(244, 248, 250, 0.86); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid rgba(222, 232, 239, 0.8); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 18px; letter-spacing: -0.022em; }
.brand:hover { color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--ink-2); font-size: 15px; font-weight: 500; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 12px; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }
@media (max-width: 900px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn { padding: 10px 14px; font-size: 14px; }
  .site-header.open .nav-links { display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; box-shadow: 0 20px 40px rgba(11, 46, 59, 0.12); }
  .site-header.open .nav-links a { padding: 14px 4px; border-bottom: 1px solid var(--line-2); font-size: 16px; }
}
@media (max-width: 420px) { .nav-cta .btn .label-long { display: none; } }

/* Sections */
section { padding: 96px 0; }
@media (max-width: 700px) { section { padding: 64px 0; } }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(30px, 4.2vw, 44px); letter-spacing: -0.032em; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; align-items: center; }
.band { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dark { background: var(--ink); color: #fff; }
.dark .eyebrow { color: #9FC9D8; }
.dark .lead, .dark .muted { color: #C6D6DE; }

/* Hero */
.hero { padding: 72px 0 88px; background: linear-gradient(168deg, #D8EEF6 0%, #E9F4F8 34%, #F4F1E6 66%, #DCF5EE 100%); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; } }
.hero h1 { font-size: clamp(40px, 6.2vw, 68px); letter-spacing: -0.045em; line-height: 1.02; }
.hero .lead { font-size: clamp(17px, 2vw, 20px); max-width: 560px; margin-top: 22px; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px 6px 8px; font-size: 13px; color: var(--ink-2); margin-bottom: 22px; }
.pill .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--green); box-shadow: 0 0 0 4px rgba(6, 126, 99, 0.15); }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-size: 13.5px; color: var(--ink-2); }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { color: var(--green); }

/* Chat mock */
.phone { width: 100%; max-width: 400px; margin: 0 auto; border: 1px solid var(--line); border-radius: 40px; background: #EDF5FA; padding: 6px; box-shadow: var(--shadow); }
.phone-screen { background: var(--chat-bg); border-radius: 34px; overflow: hidden; display: flex; flex-direction: column; }
.tg-head { background: #3E6D93; color: #fff; padding: 16px 16px 12px; display: flex; align-items: center; gap: 12px; }
.tg-head .name { font-weight: 600; font-size: 15px; line-height: 1.2; }
.tg-head .sub { font-size: 12px; color: #DCE9F3; }
.chat { padding: 16px 12px 18px; display: flex; flex-direction: column; gap: 9px; }
.bubble { max-width: 86%; border-radius: 14px; padding: 9px 12px; font-size: 14px; line-height: 1.45; }
.bubble.out { align-self: flex-end; background: var(--bubble-out); border-bottom-right-radius: 4px; }
.bubble.in { align-self: flex-start; background: #fff; border-bottom-left-radius: 4px; }
.bubble .meta { display: block; text-align: right; font-size: 10.5px; color: #4E7A4A; margin-top: 3px; }
.bubble.in .meta { color: var(--muted); }
.bubble .fwd { display: block; font-size: 12px; font-weight: 600; color: #2E7D32; margin-bottom: 4px; }
.bubble .tag { color: var(--tg); }
.file { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.file .ic { width: 38px; height: 38px; border-radius: 999px; background: #4FAE4E; display: flex; align-items: center; justify-content: center; flex: none; }
.file b { display: block; font-size: 13px; }
.file small { font-size: 11px; color: #4E7A4A; }
.saved { color: var(--green); font-weight: 700; }
.kv { font-family: var(--mono); font-size: 12px; color: var(--ink-2); line-height: 1.65; margin-top: 4px; }
.inline-btns { display: flex; gap: 4px; align-self: flex-start; width: 86%; }
.inline-btns span { flex: 1; text-align: center; background: #5E7A54; color: #fff; border-radius: 10px; padding: 8px; font-size: 12.5px; font-weight: 600; }
.chat-input { background: #fff; padding: 12px 16px 20px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }

.float-card { position: absolute; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; box-shadow: 0 18px 40px rgba(11, 46, 59, 0.14); font-size: 13px; }
.hero-visual { position: relative; padding: 10px 0; }
.hero-visual .fc-1 { top: 64px; left: -8px; }
.hero-visual .fc-2 { bottom: 70px; right: -8px; }
@media (max-width: 1100px) { .hero-visual .float-card { display: none; } }

/* Marquee */
.trades { padding: 26px 0; border-bottom: 1px solid var(--line); background: var(--paper); overflow: hidden; }
.trades-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; align-items: center; }
.trades-row .label { font-size: 14px; color: var(--muted); margin-right: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 7px 13px; font-size: 13.5px; color: var(--ink-2); }
.chip.mono { font-family: var(--mono); font-size: 12.5px; }
.chip.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.teal { background: var(--teal-tint); border-color: var(--teal-line); color: var(--teal-dark); }

/* Grids and cards */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: minmax(0, 1fr); } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 20px; letter-spacing: -0.02em; }
.card p { color: var(--ink-2); font-size: 15px; }
.card .num { font-family: var(--mono); font-size: 12px; color: var(--teal); letter-spacing: 0.08em; text-transform: uppercase; }
.icon-box { width: 40px; height: 40px; border-radius: 12px; background: var(--teal-tint); display: flex; align-items: center; justify-content: center; color: var(--teal); }

.stat { font-family: var(--mono); font-size: clamp(36px, 5vw, 52px); font-weight: 500; letter-spacing: -0.04em; line-height: 1; }

/* Compare */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 800px) { .compare { grid-template-columns: minmax(0, 1fr); } }
.compare .card.bad { background: #FBF6F4; }
.compare .card.good { background: var(--teal-tint); border-color: var(--teal-line); }
.junk { font-family: var(--mono); font-size: 13px; color: var(--muted); background: #fff; border: 1px dashed #D9C9C2; border-radius: 10px; padding: 9px 12px; }
.junk.gone { text-decoration: line-through; color: var(--red); }
.result { background: #fff; border: 1px solid var(--teal-line); border-radius: 12px; padding: 12px 14px; display: flex; justify-content: space-between; gap: 12px; align-items: center; }

/* Steps */
.steps { counter-reset: s; }
.step-who { font-family: var(--mono); font-size: 12px; color: var(--teal); letter-spacing: 0.08em; text-transform: uppercase; }
.code { font-family: var(--mono); background: var(--teal-tint); color: var(--teal-dark); padding: 1px 7px; border-radius: 6px; font-size: 0.92em; white-space: nowrap; }
.note-strip { margin-top: 24px; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--tg); border-radius: 14px; padding: 18px 20px; display: flex; gap: 14px; align-items: flex-start; }
.note-strip p { color: var(--ink-2); }

/* Table */
.table-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.table-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.table-scroll { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
table.data th { text-align: left; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 500; padding: 12px 18px; border-bottom: 1px solid var(--line); background: #F8FBFC; }
table.data td { padding: 13px 18px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
table.data td.num, table.data th.num { text-align: right; font-family: var(--mono); }
.status { font-family: var(--mono); font-size: 11px; padding: 3px 9px; border-radius: 999px; display: inline-block; }
.status.pending { background: var(--red-tint); color: var(--red); }
.status.paid, .status.approved { background: var(--green-tint); color: var(--green); }
.status.neutral { background: var(--line-2); color: var(--ink-2); }
.table-foot { display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; font-family: var(--mono); font-size: 13px; background: #F8FBFC; flex-wrap: wrap; }

/* Industries */
.ind-card { text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
.ind-card:hover { border-color: var(--teal); color: inherit; transform: translateY(-2px); }
.ind-card .by { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.ind-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.ind-card .go { margin-top: auto; padding-top: 10px; color: var(--teal); font-weight: 600; font-size: 14.5px; }

/* Not-list */
.not-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 800px) { .not-list { grid-template-columns: minmax(0, 1fr); } }
.not-list li { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid rgba(255,255,255,0.14); border-radius: 14px; font-size: 15.5px; }
.not-list svg { color: #F29BAE; flex: none; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1040px) { .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .price-grid { grid-template-columns: minmax(0, 1fr); } }
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.plan.featured { border: 2px solid var(--teal); position: relative; }
.plan .badge { position: absolute; top: -12px; left: 22px; background: var(--teal); color: #fff; font-family: var(--mono); font-size: 11px; padding: 4px 10px; border-radius: 999px; }
.plan h3 { font-size: 19px; }
.plan .price { font-size: 38px; font-weight: 700; letter-spacing: -0.035em; line-height: 1; }
.plan .price small { font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .was { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.plan ul { display: flex; flex-direction: column; gap: 9px; font-size: 14.5px; color: var(--ink-2); }
.plan li { display: flex; gap: 9px; align-items: flex-start; }
.plan li svg { color: var(--green); flex: none; margin-top: 4px; }
.plan .btn { margin-top: auto; }

table.compare-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 760px; }
.compare-table th, .compare-table td { padding: 13px 16px; border-bottom: 1px solid var(--line-2); text-align: center; }
.compare-table th:first-child, .compare-table td:first-child { text-align: left; }
.compare-table thead th { font-size: 15px; background: #F8FBFC; border-bottom: 1px solid var(--line); position: sticky; top: 0; }
.compare-table .group td { background: var(--teal-tint); font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-dark); text-align: left; }
.yes { color: var(--green); font-weight: 700; }
.no { color: #A9B6BD; }

/* Waitlist */
.waitlist { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: 26px; padding: 44px; }
@media (max-width: 860px) { .waitlist { grid-template-columns: minmax(0, 1fr); padding: 28px 20px; } }
.form { display: flex; flex-direction: column; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.field input, .field select { width: 100%; border: 1px solid #C9D6DF; background: #fff; border-radius: 12px; padding: 13px 14px; font-size: 16px; color: var(--ink); }
.field input:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px rgba(14, 117, 149, 0.15); }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
@media (max-width: 520px) { .form-row { grid-template-columns: minmax(0, 1fr); } }
.form-msg { font-size: 14px; min-height: 20px; }
.form-msg.ok { color: var(--green); }
.form-msg.err { color: var(--red); }
.hp { position: absolute; left: -9999px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 4px 20px; }
.faq summary { list-style: none; cursor: pointer; padding: 16px 30px 16px 0; font-weight: 600; font-size: 16.5px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 12px; font-size: 24px; font-weight: 400; color: var(--teal); }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 0 18px; color: var(--ink-2); }

/* CTA band */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(34px, 5vw, 56px); letter-spacing: -0.04em; }
.cta-band .hero-ctas { justify-content: center; }

/* Footer */
.site-footer { background: var(--ink); color: #C6D6DE; padding: 56px 0 36px; font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.site-footer h4 { color: #fff; font-size: 13px; font-family: var(--mono); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; margin-bottom: 14px; }
.site-footer ul { display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: #C6D6DE; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; }
.foot-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.12); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; }

/* Industry page */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 36px; }
@media (max-width: 700px) { .facts { grid-template-columns: minmax(0, 1fr); } }
.facts div { background: var(--paper); padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.facts .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.facts .v { font-size: 19px; font-weight: 700; letter-spacing: -0.015em; }
.facts .s { font-size: 13.5px; color: var(--ink-2); }
.quote-box { border-left: 4px solid var(--red); background: var(--paper); border-radius: 0 16px 16px 0; padding: 24px 26px; font-size: 18px; line-height: 1.6; color: var(--ink-2); }
.roles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .roles { grid-template-columns: minmax(0, 1fr); } }
.searches { display: flex; flex-direction: column; gap: 10px; }
.search-line { display: flex; align-items: center; gap: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 12px 18px; font-family: var(--mono); font-size: 14px; color: var(--ink); }
.search-line svg { color: var(--muted); flex: none; }

/* Legal */
.prose { max-width: 760px; margin: 0 auto; font-size: 16.5px; color: var(--ink-2); }
.prose h1 { font-size: 40px; color: var(--ink); margin-bottom: 8px; }
.prose h2 { font-size: 22px; color: var(--ink); margin: 34px 0 10px; }
.prose p, .prose ul { margin-bottom: 14px; }
.prose ul { list-style: disc; padding-left: 22px; }
.draft-flag { background: #FFF6E0; border: 1px solid #F0D58C; color: #6B4E00; border-radius: 12px; padding: 12px 16px; font-size: 14px; margin: 18px 0 28px; }
.brand svg { flex: none; }
@media (max-width: 480px) { .hide-sm { display: none; } }


/* ===================== Interactive sandbox ("Watch it file itself") =====================
   Motion: transform/opacity only; enter ease-out, exit ease-in; tiered reduced motion. */
.demo-section { position: relative; overflow: hidden; }
.sandbox { background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: 22px; box-shadow: var(--shadow); }
@media (max-width: 600px) { .sandbox { padding: 14px; border-radius: 22px; } }
.sb-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.sb-samples { display: flex; flex-wrap: wrap; gap: 8px; }
.sb-sample { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); border-radius: 999px; padding: 9px 15px; font-size: 14px; font-weight: 600; cursor: pointer; transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .12s ease; }
.sb-sample:hover { border-color: var(--teal-line); color: var(--ink); }
.sb-sample:active { transform: scale(0.96); }
.sb-sample[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.sb-sample:disabled { opacity: .55; cursor: default; }
.sb-live { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; color: var(--green); background: var(--green-tint); padding: 5px 11px; border-radius: 999px; }
.sb-live::before { content: ''; width: 7px; height: 7px; border-radius: 999px; background: var(--green); }

.sb-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 5fr); gap: 16px; align-items: stretch; }
@media (max-width: 1040px) { .sb-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .sb-archive { grid-column: 1 / -1; } }
@media (max-width: 700px) { .sb-grid { grid-template-columns: minmax(0, 1fr); } }

/* Chat */
.sb-chat { display: flex; flex-direction: column; height: 480px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--chat-bg); }
.sb-chat .tg-head { padding: 12px 14px; }
.sb-log { flex: 1; overflow-y: auto; padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; overscroll-behavior: contain; }
.sb-day { align-self: center; font-family: var(--mono); font-size: 10.5px; background: rgba(255,255,255,.7); color: var(--ink-2); padding: 3px 10px; border-radius: 999px; }
.sb-msg { max-width: 88%; border-radius: 14px; padding: 8px 11px; font-size: 13.5px; line-height: 1.45; display: flex; flex-direction: column; gap: 5px; }
.sb-msg.out { align-self: flex-end; background: var(--bubble-out); border-bottom-right-radius: 4px; }
.sb-msg.in { align-self: flex-start; background: #fff; border-bottom-left-radius: 4px; }
.sb-msg-head { font-weight: 700; }
.sb-msg.is-saved .sb-msg-head { color: var(--green); }
.sb-msg.is-ask .sb-msg-head { color: var(--red); }
.sb-kv { font-family: var(--mono); font-size: 11.5px; color: var(--ink-2); line-height: 1.6; }
.sb-fwd { font-size: 11.5px; font-weight: 600; color: #2E7D32; }
.sb-file { display: flex; align-items: center; gap: 9px; }
.sb-file-ic { width: 34px; height: 34px; border-radius: 999px; background: #4FAE4E; color: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.sb-file-voice .sb-file-ic { background: var(--tg); }
.sb-file-image .sb-file-ic { background: #C77D2E; }
.sb-file-text b { display: block; font-size: 12.5px; }
.sb-file-text small { font-size: 11px; color: #4E7A4A; }
.sb-caption-text { font-size: 13.5px; }
.sb-hash { color: var(--tg); font-weight: 600; }
.sb-time { align-self: flex-end; font-size: 10px; color: #4E7A4A; }
.sb-msg.in .sb-time { color: var(--muted); }
.sb-btns { display: flex; flex-wrap: wrap; gap: 4px; align-self: flex-start; max-width: 92%; }
.sb-inline { flex: 1 1 auto; border: none; background: #5E7A54; color: #fff; border-radius: 10px; padding: 8px 11px; font-size: 12.5px; font-weight: 600; cursor: pointer; transition: background-color .15s ease, transform .1s ease; }
.sb-inline:hover:not(:disabled) { background: #4C6644; }
.sb-inline:active:not(:disabled) { transform: scale(0.96); }
.sb-inline:disabled { opacity: .55; cursor: default; }
.sb-typing { flex-direction: row; gap: 4px; padding: 12px 14px; }
.sb-dot { width: 6px; height: 6px; border-radius: 999px; background: #9AA8B0; animation: sbBlink 1s ease-in-out infinite; }
.sb-dot:nth-child(2) { animation-delay: .15s; } .sb-dot:nth-child(3) { animation-delay: .3s; }
@keyframes sbBlink { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-2px); } }

.sb-compose { display: flex; flex-direction: column; gap: 8px; padding: 10px; background: #fff; border-top: 1px solid var(--line); }
.sb-attach { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; font-size: 12px; color: var(--ink-2); background: var(--teal-tint); border: 1px solid var(--teal-line); padding: 4px 10px; border-radius: 999px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sb-attach-ic { color: var(--teal); display: inline-flex; }
.sb-row { display: flex; gap: 8px; }
.sb-row input { flex: 1; min-width: 0; border: 1px solid #C9D6DF; border-radius: 999px; padding: 10px 14px; font-size: 15px; color: var(--ink); background: #fff; }
.sb-row input:focus { outline: none; border-color: var(--tg); box-shadow: 0 0 0 3px rgba(31, 111, 176, .15); }
.sb-send { width: 44px; height: 44px; flex: none; border: none; border-radius: 999px; background: var(--tg); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color .15s ease, transform .1s ease; }
.sb-send:hover:not(:disabled) { background: var(--tg-dark); }
.sb-send:active:not(:disabled) { transform: scale(0.94); }
.sb-send:disabled { opacity: .5; cursor: default; }

/* Engine */
.sb-engine { border: 1px solid var(--line); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 14px; background: linear-gradient(180deg, #F8FBFC, #fff); }
.sb-engine-head { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-2); min-height: 40px; }
.sb-orb { position: relative; width: 36px; height: 36px; flex: none; border-radius: 999px; background: var(--teal-tint); color: var(--teal); display: flex; align-items: center; justify-content: center; }
.sb-orb::after { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--teal); opacity: 0; transform: scale(1); }
.sandbox[data-state="reading"] .sb-orb::after { animation: sbRing 1.2s ease-out infinite; }
@keyframes sbRing { 0% { opacity: .6; transform: scale(1); } 100% { opacity: 0; transform: scale(1.6); } }
.sb-progress { height: 4px; border-radius: 999px; background: var(--line-2); overflow: hidden; }
.sb-progress span { display: block; height: 100%; background: var(--teal); transform-origin: left center; transform: scaleX(0); transition: transform .45s cubic-bezier(0.16, 1, 0.3, 1); }
.sb-stages { display: flex; flex-direction: column; gap: 10px; }
.sb-stage { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: start; }
.sb-stage-mark { position: relative; width: 26px; height: 26px; border-radius: 999px; border: 1.5px solid #C9D6DF; background: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 11px; color: var(--muted); transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.sb-stage-mark .tick { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; opacity: 0; transform: scale(.6); transition: opacity .2s ease, transform .25s cubic-bezier(0.34, 1.56, 0.64, 1); }
.sb-stage[data-state="active"] .sb-stage-mark { border-color: var(--teal); color: var(--teal); background: var(--teal-tint); }
.sb-stage[data-state="done"] .sb-stage-mark { border-color: var(--green); background: var(--green); color: transparent; }
.sb-stage[data-state="done"] .tick { opacity: 1; transform: scale(1); }
.sb-stage-title { font-size: 14px; font-weight: 700; }
.sb-stage-detail { display: block; font-family: var(--mono); font-size: 11.5px; color: var(--muted); line-height: 1.5; overflow-wrap: anywhere; }
.sb-stage[data-state="active"] .sb-stage-detail, .sb-stage[data-state="done"] .sb-stage-detail { color: var(--ink-2); }
.sb-engine-foot { margin-top: auto; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line-2); padding-top: 12px; }

/* Archive */
.sb-archive { border: 1px solid var(--line); border-radius: 20px; padding: 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.sb-archive-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sb-archive-head strong { font-size: 15px; }
.sb-total { font-family: var(--mono); font-size: 11.5px; color: var(--teal-dark); background: var(--teal-tint); border: 1px solid var(--teal-line); padding: 3px 10px; border-radius: 999px; }
.sb-projects { display: flex; flex-direction: column; gap: 10px; }
.sb-proj { position: relative; border: 1px solid var(--line); border-radius: 14px; padding: 11px 12px; background: #fff; }
/* Highlight ring painted once, animated via opacity only (60fps-animation) */
.sb-proj::after { content: ''; position: absolute; inset: -1px; border-radius: inherit; border: 2px solid var(--teal); box-shadow: 0 10px 24px rgba(14, 117, 149, .16); opacity: 0; pointer-events: none; transition: opacity .5s ease; }
.sb-proj.is-hit::after { opacity: 1; transition-duration: .15s; }
.sb-proj.is-inbox { background: #FBF8F6; border-style: dashed; }
.sb-proj-head { display: flex; align-items: center; gap: 9px; }
.sb-proj-ic { width: 28px; height: 28px; border-radius: 9px; background: var(--teal-tint); color: var(--teal); display: flex; align-items: center; justify-content: center; flex: none; }
.sb-proj.is-inbox .sb-proj-ic { background: var(--red-tint); color: var(--red); }
.sb-proj-name { font-size: 14px; font-weight: 700; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sb-code { font-family: var(--mono); font-size: 11px; color: var(--tg); }
.sb-count { margin-left: auto; font-family: var(--mono); font-size: 11.5px; color: var(--ink-2); background: var(--line-2); padding: 2px 8px; border-radius: 999px; display: inline-block; }
.sb-items { margin-top: 8px; display: flex; flex-direction: column; gap: 5px; }
.sb-item { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; background: #F8FBFC; border: 1px solid var(--line-2); border-radius: 9px; padding: 7px 9px; font-size: 12.5px; }
.sb-item.is-new { background: var(--green-tint); border-color: #B8EBD9; }
.sb-item-title { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sb-item-meta { font-family: var(--mono); font-size: 10.5px; color: var(--muted); white-space: nowrap; }
.sb-empty { font-size: 12px; color: var(--muted); padding: 2px 2px; }

/* Tiered reduced motion (accessible-animation): Tier 1 removed, Tier 2 softened, Tier 3 kept */
@media (prefers-reduced-motion: reduce) {
  .sb-dot { animation: none !important; opacity: .7; }                               /* Tier 1: no bouncing loop */
  .sandbox[data-state="reading"] .sb-orb::after { animation: none !important; opacity: .5; } /* static ring instead of pulse */
  .sb-stage-mark .tick { transform: none; transition: opacity .15s ease !important; } /* Tier 2: fade, no pop */
  .sb-progress span { transition: transform .15s linear !important; }               /* Tier 3: progress still visible */
  .sb-sample:active, .sb-send:active, .sb-inline:active { transform: none; }
  .sb-proj::after { transition: opacity .15s ease !important; }
}


/* ===================== How it works — flow diagram =====================
   Channels → what you send → ForwardKar → projects. SVG curves drawn by hiw.js. */
.hiw { position: relative; display: flex; flex-direction: column; gap: 56px; padding-block: 28px 8px; }
.hiw-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; overflow: visible; }
.hiw-line { opacity: .28; transition: opacity .25s ease, stroke-width .25s ease; }
.hiw-line.is-lit { opacity: 1; stroke-width: 3; stroke-dasharray: 7 7; animation: hiwDash .7s linear infinite; }
@keyframes hiwDash { to { stroke-dashoffset: -28; } }
.hiw-particles { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
.hiw-chip { position: absolute; left: 0; top: 0; color: #fff; font: 600 11.5px/1 var(--mono); padding: 6px 10px; border-radius: 999px; white-space: nowrap; box-shadow: 0 6px 16px rgba(11, 46, 59, .22); will-change: transform; }

.hiw-row { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hiw-label { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: var(--paper); border: 1px solid var(--line); padding: 4px 12px; border-radius: 999px; }
.hiw-items { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* Shared highlight ring: painted once, animated by opacity only */
.hiw-node { position: relative; }
.hiw-node::after { content: ''; position: absolute; inset: -2px; border-radius: inherit; border: 2px solid currentColor; opacity: 0; pointer-events: none; transition: opacity .6s ease; }
.hiw-node.is-hit::after { opacity: .9; transition-duration: .12s; }

.hiw-channel { display: flex; align-items: center; gap: 12px; background: #fff; border: 1.5px solid var(--line); border-radius: 18px; padding: 12px 16px 12px 12px; cursor: pointer; text-align: left; color: var(--ink); transition: border-color .18s ease, transform .12s ease; }
.hiw-channel:hover { border-color: currentColor; }
.hiw-channel:active { transform: scale(.97); }
.hiw-channel .ic { width: 42px; height: 42px; border-radius: 13px; display: flex; align-items: center; justify-content: center; color: #fff; flex: none; }
.hiw-channel b { display: block; font-size: 15px; color: var(--ink); }
.hiw-channel small { display: block; font-size: 12px; color: var(--muted); }
.hiw-channel .state { display: inline-block; margin-top: 3px; font-family: var(--mono); font-size: 10.5px; padding: 2px 7px; border-radius: 999px; }
.hiw-channel.tg { color: var(--tg); } .hiw-channel.tg .ic { background: var(--tg); } .hiw-channel.tg .state { background: var(--green-tint); color: var(--green); }
.hiw-channel.wa { color: var(--wa); } .hiw-channel.wa .ic { background: var(--wa); } .hiw-channel.wa .state { background: #FFF4DE; color: #7A5300; }
.hiw-channel.mail { color: var(--mail); } .hiw-channel.mail .ic { background: var(--mail); } .hiw-channel.mail .state { background: #FFF4DE; color: #7A5300; }

.hiw-type { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 9px 14px; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; transition: border-color .18s ease, transform .12s ease; }
.hiw-type svg { flex: none; }
.hiw-type:hover { border-color: var(--teal-line); }
.hiw-type:active { transform: scale(.96); }
.hiw-type[data-ch="telegram"] { color: var(--tg); } .hiw-type[data-ch="whatsapp"] { color: var(--wa); } .hiw-type[data-ch="email"] { color: var(--mail); }
.hiw-type span { color: var(--ink); }

.hiw-hub { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hiw-hub-core { position: relative; width: 96px; height: 96px; border-radius: 999px; background: var(--ink); display: flex; align-items: center; justify-content: center; box-shadow: 0 16px 34px rgba(11, 46, 59, .25); }
.hiw-hub-core::before, .hiw-hub-core::after { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--teal); opacity: 0; }
.hiw-hub.is-reading .hiw-hub-core::before { animation: hiwRing 1s ease-out infinite; }
.hiw-hub.is-reading .hiw-hub-core::after { animation: hiwRing 1s ease-out .35s infinite; }
@keyframes hiwRing { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.55); } }
.hiw-hub-text { text-align: center; }
.hiw-hub-text b { display: block; font-size: 16px; }
.hiw-hub-text small { display: block; font-size: 13px; color: var(--muted); max-width: 320px; }
.hiw-steps-mini { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.hiw-steps-mini span { font-family: var(--mono); font-size: 11px; background: var(--teal-tint); color: var(--teal-dark); border: 1px solid var(--teal-line); padding: 3px 9px; border-radius: 999px; }

.hiw-projects { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; width: 100%; }
@media (max-width: 960px) { .hiw-projects { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .hiw-projects { grid-template-columns: minmax(0, 1fr); } }
.hiw-project { color: var(--teal); background: #fff; border: 1.5px solid var(--line); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.hiw-proj-head { display: flex; align-items: center; gap: 10px; }
.hiw-proj-ic { width: 34px; height: 34px; border-radius: 11px; background: var(--teal-tint); color: var(--teal); display: flex; align-items: center; justify-content: center; flex: none; }
.hiw-proj-name { display: block; font-size: 15px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hiw-proj-who { display: block; font-size: 12px; color: var(--muted); }
.hiw-proj-meta { display: flex; align-items: center; justify-content: space-between; font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.hiw-proj-meta .code { color: var(--tg); }
.hiw-count { color: var(--ink); }
.hiw-latest { background: #F8FBFC; border: 1px solid var(--line-2); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 8px; min-height: 76px; }
.hiw-latest-title { font-size: 13px; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.hiw-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.hiw-tag { font-family: var(--mono); font-size: 10.5px; color: var(--teal-dark); background: var(--teal-tint); border: 1px solid var(--teal-line); padding: 2px 7px; border-radius: 6px; }

.hiw-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 8px; }
.hiw-hint { font-size: 13.5px; color: var(--muted); }
@media (max-width: 640px) { .hiw { gap: 44px; } .hiw-channel { padding: 10px 12px 10px 10px; } .hiw-channel .ic { width: 36px; height: 36px; } .hiw-channel small { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .hiw-line.is-lit { animation: none !important; stroke-dasharray: none; }   /* Tier 1: no flowing dashes */
  .hiw-hub.is-reading .hiw-hub-core::before, .hiw-hub.is-reading .hiw-hub-core::after { animation: none !important; opacity: .6; transform: scale(1.15); }
  .hiw-line { transition: opacity .15s ease !important; }                      /* Tier 3: highlight kept */
  .hiw-node::after { transition: opacity .15s ease !important; }
  .hiw-channel:active, .hiw-type:active { transform: none; }
}

/* ===================== Problem — dark story band ===================== */
.problem { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.problem .eyebrow { color: #F29BAE; }
.problem .section-head h2 { color: #fff; max-width: 820px; }
.problem .lead { color: #C6D6DE; }
.pb-acts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: none; }
@media (max-width: 980px) { .pb-acts { grid-template-columns: minmax(0, 1fr); max-width: 560px; } }
.pb-act { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 22px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); }
.pb-num { width: 30px; height: 30px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 13px; color: var(--ink); background: #F29BAE; }
.pb-act h3 { font-size: 21px; color: #fff; text-wrap: balance; }
.pb-act > p { color: #C6D6DE; font-size: 15px; }
.pb-visual { margin-top: auto; background: #fff; color: var(--ink); border-radius: 16px; padding: 14px; font-size: 13px; }
.pb-vis-head { display: flex; justify-content: space-between; font-weight: 700; padding-bottom: 8px; border-bottom: 1px solid var(--line-2); margin-bottom: 6px; }
.pb-vis-head .mono { font-size: 11.5px; color: var(--red); font-weight: 500; }
.pb-chats ul { display: flex; flex-direction: column; }
.pb-chats li { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line-2); }
.pb-chats li:last-child { border-bottom: 0; }
.pb-av { width: 32px; height: 32px; border-radius: 999px; color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 13px; }
.pb-chat-text { min-width: 0; }
.pb-chat-text b { display: block; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pb-chat-text small { display: block; font-size: 11.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pb-badge { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--wa); color: #fff; font-family: var(--mono); font-size: 11px; display: flex; align-items: center; justify-content: center; }
.pb-searchbar { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; color: var(--muted); margin-bottom: 10px; }
.pb-searchbar span { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pb-files { display: flex; flex-direction: column; gap: 4px; max-height: 132px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 65%, transparent); mask-image: linear-gradient(#000 65%, transparent); }
.pb-files li { font-family: var(--mono); font-size: 11.5px; color: var(--ink-2); background: #F8FBFC; border: 1px solid var(--line-2); border-radius: 8px; padding: 5px 9px; }
.pb-timer { display: flex; align-items: baseline; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line-2); }
.pb-timer-label { font-size: 12px; color: var(--muted); }
.pb-clock { font-family: var(--mono); font-size: 30px; font-weight: 500; color: var(--red); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; margin-left: auto; }
.pb-timer-unit { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.pb-reset-screen { background: #111A1F; color: #fff; border-radius: 12px; padding: 18px 14px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.pb-reset-icon { color: #9AB3BE; }
.pb-reset-screen b { font-size: 14px; }
.pb-reset-screen small { color: #F29BAE; font-size: 12px; }
.pb-reset-count { font-size: 12px; color: #C6D6DE; font-variant-numeric: tabular-nums; }
.pb-loss { display: flex; flex-direction: column; gap: 2px; margin-top: 12px; padding: 12px; border-radius: 12px; background: var(--red-tint); color: var(--red); }
.pb-loss-amt { font-family: var(--mono); font-size: 26px; font-weight: 500; letter-spacing: -0.03em; }
.pb-loss span:last-child { font-size: 12.5px; color: #7E1530; }
.pb-close { margin-top: 36px; font-size: clamp(20px, 2.6vw, 26px); font-weight: 700; letter-spacing: -0.02em; color: #fff; max-width: 760px; text-wrap: balance; }

/* =====================================================================
   Identity v2 — the office file & the bill book
   Carbon-copy ink on ruled paper; projects are manila files with tabs;
   a rubber "Filed" stamp is the one memorable motion.
   ===================================================================== */
:root {
  --ink: #141B2D;          /* body text, dark bands */
  --ink-2: #3A4258;
  --muted: #5C6478;
  --line: #DCE1EC;
  --line-2: #EEF1F7;
  --paper: #FFFFFF;
  --teal: #2A3A99;         /* carbon-copy blue: primary actions, links */
  --teal-dark: #1B2670;
  --teal-tint: #ECEFFB;
  --teal-line: #C9D0F0;
  --red: #BF2A30;          /* rubber-stamp red: filed, losses, warnings */
  --red-tint: #FBEBEB;
  --manila: #E7D6A3;       /* office file cover */
  --manila-2: #F7EFD8;
  --manila-line: #D9C485;
  --rule: #DCE4F5;         /* bill-book ruling */
  --margin: #EDB3B5;       /* bill-book margin line */
  --sans: 'Hind', 'Noto Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Anek Latin', 'Hind', system-ui, sans-serif;
}
body { font-family: var(--sans); background: #F5F6F9; font-size: 16.5px; }
h1, h2, h3, .brand span, .plan .price, .stat, .pb-loss-amt { font-family: var(--display); font-stretch: 88%; }
h1, h2 { font-weight: 750; letter-spacing: -0.02em; text-wrap: balance; }
h3 { font-weight: 700; letter-spacing: -0.01em; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 50px); line-height: 1.04; }
.lead { color: var(--ink-2); }

/* Labels: sentence case, body face. Mono is kept for file names, #codes and amounts only. */
.eyebrow, .facts .k, table.data th, .step-who, .card .num, .plan .was, .sb-total, .hiw-label,
.compare-table .group td, .pb-vis-head .mono, .sb-live, .sb-day, .hiw-steps-mini span {
  font-family: var(--sans); text-transform: none; letter-spacing: 0; font-weight: 600;
}
.eyebrow { font-size: 14px; color: var(--muted); }
table.data th { font-size: 12.5px; color: var(--muted); }
.compare-table .group td { font-size: 13px; color: var(--teal-dark); }
.hiw-label { font-size: 13.5px; color: var(--muted); background: transparent; border: 0; padding: 0; }
.hiw-steps-mini span { font-size: 12.5px; }

/* Shapes: less pill, less shadow; radius by role. */
.btn { border-radius: 10px; font-weight: 600; }
.card, .plan, .faq details, .table-card, .waitlist, .sandbox { border-radius: 14px; }
.table-card, .sandbox { box-shadow: 0 1px 0 var(--line), 0 18px 40px -24px rgba(20, 27, 45, .35); }
.btn-tg { background: var(--tg); }
.chip { border-radius: 8px; }

/* Header */
.site-header { background: rgba(255, 255, 255, 0.92); }
.brand span { font-size: 21px; font-weight: 750; }

/* Hero on a bill-book page: blue ruling and a red margin line */
.hero {
  --mx: max(12px, calc((100% - var(--wrap)) / 2 + 6px));
  background-color: #FFFFFF;
  background-image:
    linear-gradient(90deg, transparent calc(var(--mx) - 1px), var(--margin) calc(var(--mx) - 1px), var(--margin) calc(var(--mx) + 1px), transparent calc(var(--mx) + 1px)),
    repeating-linear-gradient(180deg, transparent 0 39px, var(--rule) 39px 40px);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 700px) { .hero { background-image: repeating-linear-gradient(180deg, transparent 0 39px, var(--rule) 39px 40px); } }
.hero h1 { font-size: clamp(46px, 7.6vw, 96px); font-weight: 800; font-stretch: 78%; line-height: .94; letter-spacing: -0.025em; }
.hero .lead { font-size: clamp(17.5px, 2vw, 20px); }
.pill { border-radius: 8px; background: #fff; }
.trust { font-size: 14.5px; }
.float-card { border-radius: 10px; display: flex; flex-direction: column; gap: 2px; }
.fc-k { font-size: 12px; color: var(--muted); font-weight: 600; }
.hero-visual .fc-1 { top: 92px; left: -24px; }
.hero-visual .fc-2 { bottom: 96px; right: -20px; }

/* The rubber stamp */
.has-stamp { position: relative; }
.fk-stamp {
  position: absolute; z-index: 4; pointer-events: none;
  font-family: var(--display); font-stretch: 75%; font-weight: 800; font-size: 17px; line-height: 1;
  letter-spacing: .08em; text-transform: uppercase; color: var(--red);
  border: 2.5px solid var(--red); border-radius: 6px; padding: 4px 9px 3px;
  transform: rotate(-9deg); opacity: .9; mix-blend-mode: multiply; background: transparent;
}
.fk-stamp.is-static { right: -14px; top: -12px; }
.fk-stamp.on-card { right: 14px; top: 12px; }

/* Projects are manila office files: a tab on top, a paper sheet inside */
.hiw-project, .sb-proj:not(.is-inbox) {
  background: var(--manila-2); border: 1px solid var(--manila-line); border-radius: 3px 12px 12px 12px; margin-top: 13px;
}
.hiw-project::before, .sb-proj:not(.is-inbox)::before {
  content: ''; position: absolute; top: -13px; left: -1px; width: 42%; height: 13px;
  background: var(--manila-2); border: 1px solid var(--manila-line); border-bottom: 0; border-radius: 8px 12px 0 0;
}
.hiw-proj-ic, .sb-proj:not(.is-inbox) .sb-proj-ic { background: var(--manila); color: #5B4714; }
.hiw-latest, .sb-proj:not(.is-inbox) .sb-item { background: #FFFFFF; border-color: #EADFBF; }
.hiw-proj-meta .code, .sb-code { color: var(--teal); font-weight: 500; }
.sb-proj.is-inbox { background: #FFFFFF; border: 1.5px dashed var(--line); border-radius: 12px; }
.sb-item.is-new { background: #FFFFFF; border-color: var(--red); }
.hiw-tag { border-radius: 5px; }
.sb-projects { gap: 18px; }
.hiw-projects { gap: 18px; padding-top: 4px; }

/* Problem band: dark ink, stamp-red markers */
.problem { background: #141B2D; }
.pb-num { background: var(--red); color: #fff; }
.pb-act { border-radius: 14px; }
.pb-visual { border-radius: 10px; }
.pb-badge { background: #1FA855; }

/* How it works hub & chips */
.hiw-hub-core { background: #141B2D; }
.hiw-channel, .hiw-type { border-radius: 12px; }
.hiw-channel .state { font-family: var(--sans); font-weight: 600; font-size: 11.5px; border-radius: 6px; }

/* Sandbox */
.sb-sample { border-radius: 10px; }
.sb-sample[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); }
.sb-live { border-radius: 6px; font-size: 12.5px; }
.sb-engine { background: #FFFFFF; border-radius: 14px; }
.sb-archive, .sb-chat { border-radius: 14px; }
.sb-stage[data-state="done"] .sb-stage-mark { border-color: var(--teal); background: var(--teal); }
.sb-progress span { background: var(--teal); }

/* Industries, pricing, misc */
.ind-card .go { font-weight: 600; }
.plan.featured { border-color: var(--teal); }
.plan .badge { background: var(--teal); font-family: var(--sans); font-weight: 600; border-radius: 6px; }
.not-list li { border-radius: 10px; }
.not-list svg { color: #EF8E92; }
.dark { background: #141B2D; }
.note-strip { border-radius: 10px; }
.cta-band h2 { font-size: clamp(38px, 6vw, 72px); font-stretch: 78%; font-weight: 800; }
.site-footer { background: #141B2D; }
.result, .search-line { border-radius: 10px; }
.yes { color: var(--teal); }

/* ---------- Waitlist: channel picker, dialog, channel buttons ---------- */
.btn-wa { background: #1A8A4C; color: #fff; }
.btn-wa:hover { background: #136E3C; color: #fff; }
.btn-tg { background: var(--tg); color: #fff; }
.pill .dot.is-soon { background: #D08A1E; box-shadow: 0 0 0 4px rgba(208, 138, 30, .18); }

.wl-channels { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.wl-channels legend { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 8px; padding: 0; }
.wl-ch { position: relative; display: flex; align-items: center; gap: 9px; border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: 11px 12px; cursor: pointer; font-weight: 600; font-size: 15px; transition: border-color .15s ease, background-color .15s ease; }
.wl-ch input { position: absolute; opacity: 0; pointer-events: none; }
.wl-ch-ic { width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; flex: none; }
.wl-ch.wa .wl-ch-ic { background: #1A8A4C; } .wl-ch.tg .wl-ch-ic { background: var(--tg); } .wl-ch.mail .wl-ch-ic { background: var(--mail); }
.wl-ch:has(input:checked) { border-color: var(--teal); background: var(--teal-tint); }
.wl-ch:has(input:focus-visible) { outline: 2px solid var(--teal); outline-offset: 2px; }
@media (max-width: 520px) { .wl-channels { grid-template-columns: minmax(0, 1fr); } }
.field select { appearance: auto; }

.wl-dialog { width: min(620px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; border: 1px solid var(--line); border-radius: 16px; padding: 24px; color: var(--ink); background: #fff; box-shadow: 0 30px 80px -20px rgba(20, 27, 45, .45); }
.wl-dialog::backdrop { background: rgba(20, 27, 45, .5); }
.wl-dialog > .muted { margin: 6px 0 18px; }
.wl-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wl-dialog-head h2 { font-size: 30px; }
.wl-close { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; flex: none; }
.wl-close:hover { border-color: var(--ink); }
/* micro-interaction: enter ease-out with a small rise; exit is instant (native close) */
.wl-dialog[open] { animation: wlIn .22s cubic-bezier(0.16, 1, 0.3, 1); }
.wl-dialog[open]::backdrop { animation: wlFade .22s ease-out; }
@keyframes wlIn { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes wlFade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .wl-dialog[open] { animation: wlFade .15s ease-out !important; } }
@media (max-width: 600px) { .wl-dialog { padding: 18px; } .wl-dialog-head h2 { font-size: 26px; } }

/* Stamp sits on the paper inside the file, not over the file name */
.fk-stamp.on-card { top: auto; bottom: 18px; right: 18px; }
.field label, .site-footer h4 { font-family: var(--sans); text-transform: none; letter-spacing: 0; font-weight: 600; font-size: 14px; color: var(--ink-2); }
.site-footer h4 { color: #fff; font-size: 15px; }
.site-footer .mono { font-family: var(--sans); font-style: italic; }

/* v3: plain hero; primary colour taken from the logo so buttons match the brand mark */
:root {
  --teal: #0E7595;        /* logo teal: primary buttons, links, highlights */
  --teal-dark: #0A5A73;
  --teal-tint: #E6F3F8;
  --teal-line: #C8E6F0;
}
.hero { background-image: none; background-color: #FFFFFF; }
.btn-primary { background: var(--teal); }
.btn-primary:hover { background: var(--teal-dark); }

/* ===================== Hero visual: WhatsApp → ForwardKar folder ===================== */
.hv { position: relative; height: 470px; max-width: 560px; width: 100%; margin: 0 auto; padding: 0; }
.hv-phone { position: absolute; left: 0; top: 28px; width: 212px; height: 420px; z-index: 3; border-radius: 30px; border: 7px solid #1E2430; background: #EFE7DE; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 24px 50px -18px rgba(20, 27, 45, .45); }
.wa-head { display: flex; align-items: center; gap: 8px; padding: 10px 10px; background: #FFFFFF; color: #1E2430; border-bottom: 1px solid #E6E0D8; }
.wa-av { width: 30px; height: 30px; border-radius: 999px; background: var(--teal-tint); display: flex; align-items: center; justify-content: center; flex: none; }
.wa-who b { display: block; font-size: 13px; line-height: 1.1; }
.wa-who small { display: block; font-size: 11px; color: #1A8A4C; }
.wa-chat { flex: 1; padding: 10px 8px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.wa-day { align-self: center; font-size: 10.5px; background: #FFFFFF; color: #54656F; padding: 2px 9px; border-radius: 6px; }
.wa-msg { max-width: 92%; border-radius: 9px; padding: 6px 8px; font-size: 12.5px; line-height: 1.4; display: flex; flex-direction: column; gap: 4px; box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.wa-msg.out { align-self: flex-end; background: #D9FDD3; border-top-right-radius: 2px; }
.wa-msg.in { align-self: flex-start; background: #FFFFFF; border-top-left-radius: 2px; }
.wa-fwd { font-size: 11px; font-style: italic; color: #667781; }
.wa-doc { display: flex; align-items: center; gap: 8px; background: rgba(0,0,0,.05); border-radius: 7px; padding: 7px; }
.wa-doc b { display: block; font-size: 12px; }
.wa-doc small { display: block; font-size: 10.5px; color: #667781; }
.wa-cap { font-size: 13px; min-height: 18px; }
.wa-tag { color: #1F6FB0; font-weight: 600; }
.wa-meta { align-self: flex-end; font-size: 10px; color: #667781; }
.wa-ticks { color: #53BDEB; letter-spacing: -2px; transition: color .25s ease; }
.wa-ticks.is-sent { color: #8696A0; }
.wa-ok { color: #067E63; font-size: 13px; }
.wa-kv { font-size: 11.5px; color: #3B4A54; }
.wa-input { display: flex; align-items: center; gap: 6px; padding: 8px; }
.wa-input span:first-child { flex: 1; background: #FFFFFF; border-radius: 999px; padding: 7px 11px; font-size: 12px; color: #8696A0; }
.wa-send { width: 30px; height: 30px; border-radius: 999px; background: #1A8A4C; flex: none; }

.hv-pdf { width: 30px; height: 36px; border-radius: 4px; background: #C2384F; color: #fff; font: 600 9px/1 var(--sans); display: flex; align-items: center; justify-content: center; flex: none; }

.hv-app { position: absolute; right: 0; top: 0; left: 188px; z-index: 2; background: #FFFFFF; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 30px 60px -28px rgba(20, 27, 45, .4); }
.hv-bar { display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: #F3F5F8; border-bottom: 1px solid var(--line); }
.hv-dots { display: flex; gap: 5px; } .hv-dots i { width: 8px; height: 8px; border-radius: 999px; background: #D5DAE3; display: block; }
.hv-url { flex: 1; min-width: 0; font-size: 11.5px; color: var(--muted); background: #FFFFFF; border: 1px solid var(--line); border-radius: 6px; padding: 3px 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hv-body { padding: 14px 14px 16px 34px; display: flex; flex-direction: column; gap: 12px; }
.hv-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hv-title b { font-family: var(--display); font-stretch: 88%; font-size: 20px; }
.hv-search { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--muted); border: 1px solid var(--line); border-radius: 8px; padding: 4px 9px; }
.hv-folders { display: flex; flex-direction: column; gap: 16px; padding-top: 10px; }
.hv-folder { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 8px; align-items: baseline; background: var(--manila-2); border: 1px solid var(--manila-line); border-radius: 3px 10px 10px 10px; padding: 9px 12px; }
.hv-folder::before { content: ''; position: absolute; top: -10px; left: -1px; width: 38%; height: 10px; background: var(--manila-2); border: 1px solid var(--manila-line); border-bottom: 0; border-radius: 7px 10px 0 0; }
.hv-folder::after { content: ''; position: absolute; inset: -2px; border-radius: inherit; border: 2px solid var(--teal); opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.hv-folder.is-hit::after { opacity: 1; transition-duration: .12s; }
.hv-f-name { font-weight: 700; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hv-f-code { grid-row: 2; font-family: var(--mono); font-size: 11px; color: var(--teal); }
.hv-f-count { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-family: var(--mono); font-size: 13px; color: var(--ink); background: #FFFFFF; border: 1px solid #EADFBF; border-radius: 6px; padding: 2px 7px; font-variant-numeric: tabular-nums; display: inline-block; }
.hv-list { display: flex; flex-direction: column; gap: 6px; }
.hv-list-head { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.hv-row { position: relative; display: flex; align-items: center; gap: 9px; border: 1px solid var(--line-2); background: #F8FAFC; border-radius: 9px; padding: 7px 9px; min-width: 0; }
.hv-row.is-new { background: #FFFFFF; border-color: var(--red); }
.hv-row .hv-pdf { width: 24px; height: 30px; font-size: 8px; }
.hv-img { width: 24px; height: 30px; border-radius: 4px; background: repeating-linear-gradient(135deg, #E9DFCF 0 6px, #DCCFBA 6px 12px); flex: none; }
.hv-row-t { min-width: 0; flex: 1; }
.hv-row-t b { display: block; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hv-row-t small { display: block; font-size: 11px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hv-amt { font-family: var(--mono); font-size: 11.5px; color: var(--ink); flex: none; }
.hv-stamp { right: 64px; top: -12px; font-size: 14px; padding: 3px 7px 2px; }

.hv-fly { position: absolute; left: 0; top: 0; z-index: 6; display: flex; align-items: center; gap: 7px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 9px; padding: 6px 9px 6px 6px; font-size: 12px; font-weight: 600; box-shadow: 0 14px 30px -10px rgba(20, 27, 45, .45); pointer-events: none; will-change: transform; }
.hv-fly .hv-pdf { width: 22px; height: 28px; font-size: 8px; }
.hv-replay { position: absolute; right: 0; bottom: 4px; z-index: 7; border: 1px solid var(--line); background: #FFFFFF; color: var(--ink); border-radius: 8px; padding: 7px 12px; font-size: 13px; font-weight: 600; cursor: pointer; }
.hv-replay:hover { border-color: var(--ink); }

@media (max-width: 960px) { .hv { margin-top: 8px; } }
@media (max-width: 560px) {
  .hv { height: 430px; }
  .hv-phone { width: 172px; height: 390px; top: 24px; border-width: 6px; }
  .hv-app { left: 150px; }
  .hv-body { padding: 12px 10px 14px 26px; }
  .hv-title .hv-search span { display: none; }
  .hv-amt { display: none; }
  .hv-stamp { right: 10px; }
}
.hv { height: 520px; }
.hv-replay { bottom: 0; right: 0; }
@media (max-width: 560px) { .hv { height: 490px; } }
.hv-pdf.is-img { background: #9A6B2F; }
.hv-pdf.is-dwg { background: #1F6FB0; }
.hv-folder { transition: none; }
.hv-replay { min-width: 72px; }

/* ===================== Use cases by profession (below the hero) ===================== */
.uses { padding-block: 72px; background: #FFFFFF; border-bottom: 1px solid var(--line); }
.uses-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 32px; margin-bottom: 32px; }
.uses-head h2 { font-size: clamp(30px, 4vw, 44px); max-width: 640px; }
.uses-head p { color: var(--ink-2); max-width: 420px; }
.uses-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
@media (max-width: 860px) { .uses-list { grid-template-columns: minmax(0, 1fr); } }
.use { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.use-ic { grid-row: 1 / span 3; width: 40px; height: 40px; border-radius: 10px; background: var(--manila-2); border: 1px solid var(--manila-line); color: #5B4714; display: flex; align-items: center; justify-content: center; }
.use h3 { font-size: 20px; line-height: 1.2; }
.use-by { font-size: 13.5px; color: var(--muted); }
.use ul { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.use li { font-size: 14px; color: var(--ink-2); background: #F6F7FA; border: 1px solid var(--line-2); border-radius: 7px; padding: 4px 9px; }
.use { align-content: start; }
.uses-page { padding-block: 64px 80px; background: #FFFFFF; border-bottom: 0; }
.uses-page h1 { font-size: clamp(44px, 6vw, 72px); font-stretch: 82%; font-weight: 800; line-height: 1; }
.use-name { font-size: 20px; line-height: 1.2; }
.uses-more { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink-2); }
.link-btn { background: none; border: 0; padding: 0; color: var(--teal); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.use-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: -8px 0 40px; }
.use-jump .chip { color: var(--ink); font-weight: 600; }
.use-jump .chip:hover { border-color: var(--teal); color: var(--teal); }
.use-group { margin-bottom: 48px; scroll-margin-top: 90px; }
.use-group-title { font-size: clamp(24px, 3vw, 32px); margin-bottom: 14px; display: flex; align-items: baseline; gap: 10px; }
.use-group-count { font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--muted); }
.use h3.use-name { font-size: 19px; }
.use-ex { grid-column: 2; font-size: 15px; color: var(--ink-2); margin-top: 6px; max-width: 60ch; }
.use > ul, .use-ask { grid-column: 2; }
.use-ask { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; background: #EFE7DE; border-radius: 12px; padding: 10px; }
.use-ask-label { font-size: 12.5px; font-weight: 600; color: #54656F; }
.use-q { align-self: flex-end; max-width: 88%; background: #D9FDD3; border-radius: 10px 10px 2px 10px; padding: 6px 10px; font-size: 14px; color: #111B21; }
.use-a { align-self: flex-start; max-width: 92%; background: #FFFFFF; border-radius: 10px 10px 10px 2px; padding: 6px 10px; font-size: 14px; color: #111B21; }
.use-a::before { content: '✓ '; color: #067E63; font-weight: 700; }
.uses-page .use-group { padding: 0; }
.use-search { position: relative; display: flex; align-items: center; gap: 10px; margin: -4px 0 16px; border: 1.5px solid var(--line); background: #FFFFFF; border-radius: 12px; padding: 4px 6px 4px 14px; max-width: 760px; }
.use-search:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(14, 117, 149, .14); }
.use-search-ic { color: var(--muted); display: flex; flex: none; }
.use-search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; padding: 11px 0; font: inherit; font-size: 16.5px; color: var(--ink); }
.use-search input::-webkit-search-cancel-button { cursor: pointer; }
.use-count { flex: none; font-size: 13.5px; color: var(--muted); padding-right: 8px; white-space: nowrap; }
@media (max-width: 520px) { .use-count { display: none; } }
.use-empty { margin: 8px 0 32px; color: var(--ink-2); font-size: 16px; }

/* ===================== Interactive app mock (#app) ===================== */
.ap-window { background: #FFFFFF; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 30px 60px -34px rgba(20, 27, 45, .45); }
.ap-chrome { display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: #F3F5F8; border-bottom: 1px solid var(--line); }
.ap-chrome .hv-url { max-width: 320px; }
.ap-top { display: flex; align-items: center; gap: 16px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.ap-brand { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-stretch: 88%; font-size: 18px; }
.ap-crumb { flex: 1; min-width: 0; font-size: 14px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ap-search { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--muted); border: 1px solid var(--line); border-radius: 9px; padding: 6px 12px; min-width: 200px; }
.ap-main { position: relative; display: grid; grid-template-columns: 210px minmax(0, 1fr); min-height: 560px; }
.ap-side { border-right: 1px solid var(--line); padding: 16px 10px; background: #FAFBFC; }
.ap-side-label { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); padding: 0 10px 8px; }
.ap-side-list { display: flex; flex-direction: column; gap: 2px; }
.ap-side-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px; border: 0; background: transparent; text-align: left; padding: 9px 10px; border-radius: 8px; font: inherit; font-size: 14.5px; color: var(--ink-2); cursor: pointer; }
.ap-side-btn:hover { background: #EEF1F5; color: var(--ink); }
.ap-side-btn.is-on { background: var(--teal-tint); color: var(--teal-dark); font-weight: 600; }
.ap-side-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ap-side-count { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.ap-view { padding: 22px 24px 24px; min-width: 0; }
.ap-h { font-size: 26px; }
.ap-sub { color: var(--ink-2); font-size: 15px; margin-top: 4px; max-width: 64ch; }
.ap-code { font-family: var(--mono); font-size: 12px; color: var(--teal); }

.ap-folders { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 18px; margin-top: 30px; }
.ap-folder { position: relative; display: flex; flex-direction: column; gap: 4px; text-align: left; font: inherit; color: var(--ink); cursor: pointer; background: var(--manila-2); border: 1px solid var(--manila-line); border-radius: 3px 12px 12px 12px; padding: 18px 16px 16px; min-height: 150px; transition: background-color .15s ease, transform .12s ease; }
.ap-folder::before { content: ''; position: absolute; top: -14px; left: -1px; width: 44%; height: 14px; background: inherit; border: 1px solid var(--manila-line); border-bottom: 0; border-radius: 8px 12px 0 0; }
.ap-folder:hover { background: #F2E6C4; }
.ap-folder:active { transform: scale(.98); }
.ap-folder-name { font-family: var(--display); font-stretch: 88%; font-weight: 700; font-size: 21px; line-height: 1.15; }
.ap-folder-who { font-size: 13.5px; color: #6B5A2E; }
.ap-folder-meta { display: flex; justify-content: space-between; align-items: baseline; margin-top: auto; padding-top: 14px; font-size: 13px; }
.ap-folder-count { font-family: var(--mono); font-size: 12px; color: var(--ink); }
.ap-folder-value { font-size: 12.5px; color: #6B5A2E; }

.ap-back { border: 0; background: none; padding: 0 0 10px; font: inherit; font-size: 14px; color: var(--teal); font-weight: 600; cursor: pointer; }
.ap-back::before { content: '‹ '; }
.ap-proj-title { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.ap-stats { display: flex; gap: 28px; margin-top: 14px; flex-wrap: wrap; }
.ap-stat b { display: block; font-family: var(--mono); font-size: 20px; font-weight: 500; }
.ap-stat span { font-size: 13px; color: var(--muted); }
.ap-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-top: 20px; }
.ap-tab { border: 0; background: none; font: inherit; font-size: 15px; font-weight: 600; color: var(--muted); padding: 10px 12px; border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; }
.ap-tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--teal); }
.ap-tab-n { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.ap-panel { padding-top: 16px; }
.ap-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.ap-chip { border: 1px solid var(--line); background: #FFFFFF; border-radius: 8px; padding: 5px 11px; font: inherit; font-size: 13.5px; color: var(--ink-2); cursor: pointer; }
.ap-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.ap-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.ap-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.ap-table th { text-align: left; font-size: 12.5px; font-weight: 600; color: var(--muted); padding: 10px 12px; background: #F8FAFC; border-bottom: 1px solid var(--line); }
.ap-table td { padding: 10px 12px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.ap-table tr:last-child td { border-bottom: 0; }
.ap-table .num { text-align: right; font-family: var(--mono); font-size: 13px; white-space: nowrap; }
.ap-row { cursor: pointer; }
.ap-row:hover td { background: #F6F9FB; }
.ap-row:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; }
.ap-date, .ap-by { white-space: nowrap; color: var(--ink-2); }
.ap-item b { display: block; font-weight: 600; }
.ap-item small { display: block; color: var(--muted); font-size: 12.5px; }
.ap-type { color: var(--ink-2); white-space: nowrap; }
.ap-area { font-family: var(--mono); font-size: 11.5px; background: var(--teal-tint); color: var(--teal-dark); border: 1px solid var(--teal-line); padding: 2px 7px; border-radius: 5px; white-space: nowrap; }
.ap-status { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 6px; white-space: nowrap; background: var(--line-2); color: var(--ink-2); }
.ap-status.s-pending, .ap-status.s-disputed { background: var(--red-tint); color: var(--red); }
.ap-status.s-paid, .ap-status.s-approved { background: var(--green-tint); color: var(--green); }
.ap-foot { display: flex; justify-content: space-between; gap: 10px; padding: 12px 4px 0; font-size: 14px; color: var(--ink-2); }
.ap-foot b { font-family: var(--mono); font-weight: 500; color: var(--ink); font-size: 16px; }
.ap-hint { font-size: 13.5px; color: var(--muted); margin-top: 12px; }

.ap-photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; }
.ap-photo { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.ap-photo-img { display: block; aspect-ratio: 4 / 3; max-width: 100%; border-radius: 8px; border: 1px solid var(--line); background: repeating-linear-gradient(135deg, #EFE7DC 0 8px, #E5DBCC 8px 16px); }
.ap-photo.k-payment .ap-photo-img { background: repeating-linear-gradient(135deg, #E4EEE7 0 8px, #D6E5DB 8px 16px); }
.ap-photo.k-document .ap-photo-img { background: repeating-linear-gradient(135deg, #F1E7E2 0 8px, #E7D9D2 8px 16px); }
.ap-photo.k-handwritten .ap-photo-img { background: repeating-linear-gradient(135deg, #F0EDDF 0 8px, #E6E2CE 8px 16px); }
.ap-photo.k-reference .ap-photo-img { background: repeating-linear-gradient(135deg, #EBE7F1 0 8px, #DFD9E8 8px 16px); }
.ap-photo.k-screenshot .ap-photo-img { background: repeating-linear-gradient(135deg, #E6EBF1 0 8px, #D9E0E8 8px 16px); }
.ap-photo figcaption b { display: block; font-size: 13px; }
.ap-photo figcaption span { display: block; font-size: 12px; color: var(--muted); }

.ap-voices { display: flex; flex-direction: column; gap: 12px; }
.ap-voice { border: 1px solid var(--line); border-radius: 10px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.ap-voice-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.ap-voice-head span { color: var(--muted); font-size: 13px; }
.ap-wave { display: flex; align-items: center; gap: 3px; height: 30px; }
.ap-wave i { width: 3px; border-radius: 2px; background: #B5C2CB; display: block; }
.ap-transcript { font-size: 15px; color: var(--ink-2); }

.ap-sheet { position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 100%); z-index: 5; background: #FFFFFF; border-left: 1px solid var(--line); box-shadow: -24px 0 40px -30px rgba(20, 27, 45, .45); padding: 22px 22px 24px; overflow-y: auto; }
.ap-sheet-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 9px; background: #FFFFFF; color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.ap-sheet-type { display: inline-block; font-size: 12.5px; font-weight: 600; color: var(--teal-dark); background: var(--teal-tint); padding: 3px 9px; border-radius: 6px; text-transform: capitalize; }
.ap-sheet-title { font-family: var(--display); font-stretch: 88%; font-size: 22px; margin: 10px 40px 6px 0; line-height: 1.2; }
.ap-sheet-info { font-size: 14.5px; color: var(--ink-2); }
.ap-fields { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 14px; margin: 18px 0 0; font-size: 14px; }
.ap-fields dt { color: var(--muted); }
.ap-fields dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.ap-sheet-note { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

@media (max-width: 900px) {
  .ap-main { grid-template-columns: minmax(0, 1fr); }
  .ap-side { display: none; }
  .ap-search { display: none; }
  .ap-folders { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ap-photos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .ap-view { padding: 16px 14px 18px; }
  .ap-folders { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .ap-folder { min-height: 0; }
  .ap-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ap-main { min-height: 480px; }
  /* table becomes stacked rows */
  .ap-table-wrap { border: 0; overflow: visible; }
  .ap-table { min-width: 0; }
  .ap-table thead { display: none; }
  .ap-table, .ap-table tbody, .ap-table tr, .ap-table td { display: block; }
  .ap-table tr { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; }
  .ap-table td { padding: 0; border: 0; }
  .ap-table .ap-item { grid-column: 1 / -1; }
  .ap-table .ap-type, .ap-table .ap-by { display: none; }
  .ap-table .num { text-align: right; }
  .ap-sheet { top: auto; left: 0; width: 100%; max-height: 82%; border-left: 0; border-top: 1px solid var(--line); border-radius: 14px 14px 0 0; }
}
@media (prefers-reduced-motion: reduce) { .ap-folder:active { transform: none; } }

/* app mock: tabs scroll on narrow screens */
.ap-tabs { overflow-x: auto; scrollbar-width: none; }
.ap-tab { white-space: nowrap; flex: none; }
/* timeline */
.ap-tl { display: flex; flex-direction: column; }
.ap-tl-day { position: sticky; top: 0; z-index: 1; background: #FFFFFF; font-size: 13px; font-weight: 700; color: var(--ink); padding: 12px 0 6px; border-bottom: 1px solid var(--line-2); }
.ap-tl-row { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 11px 6px; border-bottom: 1px solid var(--line-2); border-radius: 8px; }
.ap-tl-row.is-link { cursor: pointer; }
.ap-tl-row.is-link:hover { background: #F6F9FB; }
.ap-tl-row:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; }
.ap-tl-ic { width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; background: var(--manila-2); color: #5B4714; border: 1px solid var(--manila-line); }
.ap-tl-row.k-message .ap-tl-ic { background: #E7F7E9; color: #1A7A43; border-color: #C3E8CB; }
.ap-tl-row.k-voice-note .ap-tl-ic { background: var(--teal-tint); color: var(--teal-dark); border-color: var(--teal-line); }
.ap-tl-row.k-photo .ap-tl-ic { background: #F3EEF9; color: #5D3F8C; border-color: #DED3EE; }
.ap-tl-top { display: flex; gap: 10px; flex-wrap: wrap; align-items: baseline; }
.ap-tl-kind { font-size: 12px; font-weight: 600; color: var(--muted); text-transform: capitalize; }
.ap-tl-who { font-size: 12.5px; color: var(--muted); }
.ap-tl-title { font-size: 14.5px; color: var(--ink); margin-top: 2px; }
.ap-tl-amt { font-family: var(--mono); font-size: 13px; color: var(--ink); white-space: nowrap; }
/* messages + ask */
.ap-msgs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 1040px) { .ap-msgs { grid-template-columns: minmax(0, 1fr); } }
.ap-msg-label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.ap-msg-list { display: flex; flex-direction: column; gap: 10px; }
.ap-msg { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.ap-msg-head { display: flex; justify-content: space-between; gap: 10px; width: 100%; font-size: 14px; flex-wrap: wrap; }
.ap-msg-head span { color: var(--muted); font-size: 12.5px; }
.ap-msg-text { font-size: 15px; color: var(--ink-2); }
.ap-ask { border-radius: 12px; background: #EFE7DE; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.ap-ask .ap-msg-label { color: #54656F; margin: 0; }
.ap-ask-log { display: flex; flex-direction: column; gap: 8px; min-height: 120px; max-height: 300px; overflow-y: auto; }
.ap-ask-empty { font-size: 14px; color: #54656F; }
.ap-bub { max-width: 88%; padding: 7px 11px; font-size: 14.5px; line-height: 1.45; border-radius: 10px; }
.ap-bub.q { align-self: flex-end; background: #D9FDD3; border-top-right-radius: 2px; color: #111B21; }
.ap-bub.a { align-self: flex-start; background: #FFFFFF; border-top-left-radius: 2px; color: #111B21; }
.ap-ask-sugg { display: flex; flex-wrap: wrap; gap: 6px; }
.ap-ask-sugg .ap-chip { background: #FFFFFF; border-color: #E2D8CC; }
.ap-ask-form { display: flex; gap: 8px; }
.ap-ask-form input { flex: 1; min-width: 0; border: 1px solid #E2D8CC; border-radius: 999px; padding: 9px 14px; font: inherit; font-size: 15px; background: #FFFFFF; color: var(--ink); }
.ap-ask-form input:focus { outline: none; border-color: var(--teal); }
.ap-tl { max-height: 520px; overflow-y: auto; padding-right: 4px; overscroll-behavior: contain; }
.price-more { text-align: center; margin-top: 22px; font-size: 16px; color: var(--ink-2); }
.price-more a { font-weight: 600; }
.price-gst { text-align: center; margin-top: 6px; font-size: 13.5px; color: var(--muted); }
.plan .price { margin-top: 4px; }

/* ---------- Problem visuals v2: WhatsApp chat list + in-chat search ---------- */
.pb-num { display: none; }
.pb-visual.wa-list, .pb-visual.wa-find { padding: 0; overflow: hidden; background: #FFFFFF; color: #111B21; font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
.wl-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px 6px; }
.wl-head b { color: #1DAA61; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.wl-dots { color: #54656F; font-size: 18px; }
.wl-search { display: flex; align-items: center; gap: 8px; margin: 4px 12px 8px; padding: 8px 12px; border-radius: 999px; background: #F0F2F5; color: #667781; font-size: 13.5px; }
.wl-filters { display: flex; gap: 6px; padding: 0 12px 6px; }
.wl-filters span { font-size: 12.5px; padding: 4px 11px; border-radius: 999px; background: #F0F2F5; color: #54656F; }
.wl-filters span.on { background: #D9FDD3; color: #15603E; font-weight: 600; }
.wa-list ul { display: flex; flex-direction: column; }
.wa-list li { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 11px; align-items: center; padding: 8px 12px; }
.wa-list li + li .wl-mid { border-top: 1px solid #E9EDEF; }
.wl-av { width: 42px; height: 42px; border-radius: 999px; color: #FFFFFF; font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.wl-mid { min-width: 0; padding: 4px 0; }
.wl-mid b { display: block; font-size: 14.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wl-mid small { display: flex; align-items: center; gap: 3px; font-size: 13px; color: #667781; overflow: hidden; white-space: nowrap; }
.wl-ic { display: inline-flex; color: #8696A0; flex: none; }
.wl-right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.wl-time { font-size: 11.5px; color: #1DAA61; font-weight: 500; }
.wl-badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #25D366; color: #FFFFFF; font-size: 11.5px; font-weight: 600; display: flex; align-items: center; justify-content: center; }

.wf-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid #E9EDEF; }
.wf-back { font-size: 22px; line-height: 1; color: #54656F; }
.wf-input { flex: 1; min-width: 0; font-size: 14.5px; color: #111B21; border-bottom: 2px solid #1DAA61; padding-bottom: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wf-x { color: #54656F; font-size: 13px; }
.wf-none { text-align: center; font-size: 13px; color: #667781; padding: 12px 10px; background: #F7F8FA; border-bottom: 1px solid #E9EDEF; }
.wf-tabs { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; font-size: 13px; color: #667781; border-bottom: 1px solid #E9EDEF; }
.wf-tabs span { padding: 9px 0; }
.wf-tabs span.on { color: #15603E; font-weight: 600; box-shadow: inset 0 -2px 0 #1DAA61; }
.wf-month { display: block; font-size: 12px; color: #667781; padding: 8px 12px 2px; }
.wf-docs { display: flex; flex-direction: column; }
.wf-docs li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 12px; }
.wd-ic { width: 30px; height: 36px; border-radius: 4px; background: #E5484D; color: #FFFFFF; font-size: 8.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.wd-ic.jpg { background: #7C8A93; }
.wd-mid { min-width: 0; }
.wd-mid b { display: block; font-size: 13px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wd-mid small { display: block; font-size: 11.5px; color: #667781; }
.wd-date { font-size: 11.5px; color: #667781; }
.wa-find .pb-timer { margin: 4px 12px 0; padding: 10px 0 12px; }

/* ---------- Pricing: monthly / yearly ---------- */
.bill-toggle { display: flex; width: max-content; max-width: 100%; margin: 0 auto 26px; padding: 4px; gap: 4px; border-radius: 999px; background: var(--line-2); border: 1px solid var(--line, #E2DED3); }
.bill-toggle button { border: 0; background: transparent; font: inherit; font-size: 15px; font-weight: 600; color: var(--ink-2); padding: 9px 18px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background-color .2s ease-out, color .2s ease-out; }
.bill-toggle button[aria-checked="true"] { background: #FFFFFF; color: var(--ink); box-shadow: 0 1px 3px rgba(20, 20, 20, .12); }
.bill-toggle button:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.bill-save { font-size: 12px; font-weight: 700; color: #FFFFFF; background: var(--teal); padding: 2px 8px; border-radius: 999px; }
.price-grid[data-billing="monthly"] [data-show="yearly"], .price-grid[data-billing="yearly"] [data-show="monthly"] { display: none; }
.price-sub { font-size: 13.5px; color: var(--muted); margin-top: 6px; min-height: 2.6em; }
.price-grid[data-billing="yearly"] .price-sub[data-show="yearly"] { color: var(--teal); font-weight: 600; }
.wl-billing { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; border: 0; padding: 0; margin: 0; }
.wl-billing legend { font-size: 14px; font-weight: 600; float: left; margin-right: 6px; }
.wl-billing label { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; cursor: pointer; }
.wl-billing input { accent-color: var(--teal); }
.price-was { font-size: 22px; font-weight: 500; color: var(--muted); text-decoration-thickness: 2px; margin-right: 8px; letter-spacing: -0.01em; }
.price-was { display: block; font-size: 18px; margin: 0 0 6px; line-height: 1.1; }
.plan .price small { white-space: nowrap; }

/* ---------- Themed selects ---------- */
.field select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  padding: 13px 46px 13px 14px; cursor: pointer; line-height: 1.3;
  text-overflow: ellipsis; white-space: nowrap; overflow: hidden;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%230E7595' stroke-width='2.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 14px 14px;
  transition: border-color .15s ease-out, box-shadow .15s ease-out;
}
.field select:hover { border-color: var(--teal); }
.field select:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px rgba(14, 117, 149, 0.15); }
.field select:invalid, .field select:has(option[value=""]:checked) { color: var(--muted); }
.field select option { color: var(--ink); background: #fff; }
.field select::-ms-expand { display: none; }
.field input, .field select { height: 52px; padding-top: 0; padding-bottom: 0; }

/* ---------- How it works: "Click here" cue ---------- */
.hiw-first { position: relative; }
.hiw-tap { position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; background: var(--teal); color: #fff !important; font-size: 13px; font-weight: 700; padding: 6px 12px 6px 10px; border-radius: 999px; box-shadow: 0 6px 16px rgba(14, 117, 149, .28); pointer-events: none; z-index: 3; transition: opacity .25s ease-in, transform .25s ease-in; animation: hiw-tap-bob 1.6s ease-in-out infinite; }
.hiw-tap::after { content: ''; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); border: 6px solid transparent; border-top-color: var(--teal); }
.hiw-tap svg { color: #fff; }
.hiw-first::before { content: ''; position: absolute; inset: -2px; border-radius: 14px; border: 2px solid var(--teal); opacity: 0; animation: hiw-tap-ring 1.6s ease-out infinite; pointer-events: none; }
.hiw[data-touched="true"] .hiw-tap { opacity: 0; transform: translate(-50%, 4px); animation: none; }
.hiw[data-touched="true"] .hiw-first::before { animation: none; }
@keyframes hiw-tap-bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -4px); } }
@keyframes hiw-tap-ring { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.12, 1.35); } }
@media (prefers-reduced-motion: reduce) { .hiw-tap, .hiw-first::before { animation: none; } }
@media (max-width: 760px) { .hiw-row:has(.hiw-first) .hiw-label { margin-bottom: 38px; } }


.site-header { top: env(safe-area-inset-top, 0px); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: #FFFFFF; }
.wrap { padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
@media (max-width: 600px) { .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); } }
:root { color-scheme: light; }
.preview-bar { background: #141B2D; color: #E6F3F8; font: 500 13px/1.4 'Hind', system-ui, sans-serif; text-align: center; padding-block: 8px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }

/* Three-plan pricing: Free, Premium (coming soon), Enterprise */
.price-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1080px; margin-left: auto; margin-right: auto; }
@media (max-width: 900px) { .price-grid.three { grid-template-columns: minmax(0, 1fr); } }
.plan-soon .price { color: var(--muted); }
.plan .btn[disabled] { opacity: .6; cursor: not-allowed; }
