/* Syntara — AI accounting for Singapore SMEs */
:root {
  --paper: #F6F5F0; --paper-2: #EFEDE5; --card: #FFFFFF; --ink: #0F1A15; --ink-2: #25332C; --muted: #5E6B64; --line: #E3E0D6; --line-2: #D6D2C5;
  --acc: #0F7B55; --acc-2: #0A5E41; --acc-soft: #E2F2EA; --mint: #3DDC97; --amber: #B45309; --amber-soft: #FEF3E2; --red: #B42318; --red-soft: #FDECEA; --blue: #1D4ED8;
  --r: 14px; --r-lg: 22px; --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --shadow: 0 1px 2px rgba(15,26,21,.06), 0 12px 40px -18px rgba(15,26,21,.22);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 Geist, system-ui, -apple-system, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
[hidden] { display: none !important; }
.wrap { width: min(1200px, 100% - 32px); margin: 0 auto; }
.pad { padding: 104px 0; } .pad-sm { padding: 64px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--acc); }
.eyebrow::before { content: ''; width: 18px; height: 1px; background: currentColor; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -.025em; line-height: 1.08; font-weight: 600; }
.h-xl { font-size: clamp(40px, 5.6vw, 72px); letter-spacing: -.035em; }
.h-lg { font-size: clamp(32px, 4vw, 52px); }
.h-md { font-size: clamp(22px, 2.4vw, 30px); }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); margin: 0; line-height: 1.55; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font-weight: 500; font-size: 15px; text-decoration: none; cursor: pointer; transition: transform .15s, background .2s, box-shadow .2s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn-acc { background: var(--acc); color: #fff; } .btn-acc:hover { background: var(--acc-2); box-shadow: 0 10px 24px -10px rgba(15,123,85,.6); }
.btn-ink { background: var(--ink); color: #fff; } .btn-ink:hover { background: #000; }
.btn-line { border-color: var(--line-2); background: var(--card); color: var(--ink); } .btn-line:hover { border-color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }

/* header */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(246,245,240,.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.hdr .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 19px; letter-spacing: -.02em; text-decoration: none; }
.brand small { display: block; font: 500 10px/1 var(--mono); letter-spacing: .14em; color: var(--muted); margin-top: 3px; }
.nav { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: 8px 12px; border-radius: 999px; text-decoration: none; font-size: 15px; color: var(--ink-2); }
.nav a:hover { background: var(--paper-2); }
.hdr-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; }
@media (max-width: 980px) {
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; padding: 12px 16px 18px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; } .menu-toggle { display: inline-flex; align-items: center; justify-content: center; } .hide-m { display: none; }
}

/* hero */
.hero { padding: 72px 0 40px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; width: 760px; height: 760px; right: -220px; top: -260px; background: radial-gradient(circle, rgba(61,220,151,.22), transparent 62%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; position: relative; }
.hero h1 em { font-style: normal; color: var(--acc); }
.types { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.types span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 13px; font-weight: 500; }
.types i { width: 8px; height: 8px; border-radius: 2px; }
.hero-vis { position: relative; min-height: 520px; }
.hv-receipt { position: absolute; left: 0; top: 30px; width: 54%; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); transform: rotate(-3deg); border: 6px solid #fff; }
.hv-card { position: absolute; right: 0; top: 0; width: 64%; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; box-shadow: var(--shadow); }
.hv-card .k { font: 500 11px/1 var(--mono); letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.hv-card h4 { font-size: 18px; margin: 10px 0 12px; }
.hv-row { display: flex; justify-content: space-between; padding: 7px 0; border-top: 1px dashed var(--line); font-size: 14px; } .hv-row b { font-family: var(--mono); font-weight: 500; }
.hv-tag { display: inline-flex; gap: 6px; align-items: center; margin-top: 12px; padding: 6px 10px; border-radius: 999px; background: var(--acc-soft); color: var(--acc-2); font-size: 12.5px; font-weight: 500; }
.hv-chat { position: absolute; right: 6%; bottom: 0; width: 78%; background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 16px; box-shadow: 0 30px 60px -24px rgba(15,26,21,.55); }
.hv-chat p { margin: 0; font-size: 14px; line-height: 1.5; }
.hv-chat .q { background: rgba(255,255,255,.1); padding: 9px 12px; border-radius: 12px 12px 4px 12px; margin-left: auto; width: fit-content; max-width: 90%; }
.hv-chat .a { margin-top: 10px; color: #D9E5DF; } .hv-chat .a b { color: var(--mint); font-weight: 600; }
.hv-chat .who { display: flex; align-items: center; gap: 8px; font: 500 11px/1 var(--mono); letter-spacing: .1em; color: #93A39B; margin-bottom: 10px; }
.hv-arrow { position: absolute; left: 46%; top: 150px; width: 70px; color: var(--acc); }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } .hero-vis { min-height: 460px; } }
@media (max-width: 560px) { .hero-vis { min-height: 440px; } .hv-receipt { width: 58%; } .hv-card { width: 70%; padding: 14px; } .hv-chat { width: 92%; right: 4%; } }

/* live demo app */
.demo-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.app { background: var(--card); border: 1px solid var(--line); border-radius: 26px; box-shadow: 0 2px 4px rgba(15,26,21,.04), 0 40px 90px -40px rgba(15,26,21,.35); overflow: hidden; }
.app-bar { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-bottom: 1px solid var(--line); background: #FBFAF7; font-size: 13px; color: var(--muted); }
.app-bar .dots { display: flex; gap: 6px; } .app-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.app-bar b { color: var(--ink); font-weight: 600; }
.app-bar .live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font: 500 11px/1 var(--mono); letter-spacing: .08em; color: var(--acc); }
.app-bar .live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px rgba(61,220,151,.25); }
.note { margin: 0; padding: 10px 18px; background: var(--amber-soft); color: var(--amber); font-size: 13px; border-bottom: 1px solid #F6DDB8; }
.app-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr) 340px; min-height: 640px; }
.col { min-width: 0; } .col-docs { border-right: 1px solid var(--line); padding: 16px; display: flex; flex-direction: column; gap: 14px; background: #FCFBF8; }
.col-view { padding: 22px 24px; overflow: auto; max-height: 760px; }
.col-chat { border-left: 1px solid var(--line); display: flex; flex-direction: column; background: #FCFBF8; max-height: 760px; }
.drop { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 20px 14px; border: 1.5px dashed var(--line-2); border-radius: 16px; background: var(--card); text-align: center; cursor: pointer; transition: border-color .2s, background .2s; }
.drop:hover, .drop.over { border-color: var(--acc); background: var(--acc-soft); }
.drop b { font-size: 14px; } .drop span { font-size: 12px; color: var(--muted); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--acc-soft); color: var(--acc); }
.samples-h { font: 500 11px/1 var(--mono); letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.samples { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.samples button { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); text-align: left; font-size: 12.5px; font-weight: 500; cursor: pointer; }
.samples button:hover { border-color: var(--acc); }
.samples button i { font: 500 10px/1 var(--mono); font-style: normal; color: var(--muted); letter-spacing: .06em; }
.samples button.all { grid-column: 1 / -1; align-items: center; background: var(--ink); color: #fff; border-color: var(--ink); }
.docs { display: flex; flex-direction: column; gap: 6px; }
.doc { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px; border: 1px solid transparent; border-radius: 12px; background: none; text-align: left; cursor: pointer; }
.doc:hover { background: var(--paper-2); } .doc.on { background: var(--card); border-color: var(--line-2); box-shadow: 0 1px 3px rgba(15,26,21,.06); }
.doc > i { width: 34px; height: 34px; flex-shrink: 0; border-radius: 9px; display: grid; place-items: center; color: #fff; font: 600 10px/1 var(--mono); font-style: normal; }
.doc span { min-width: 0; display: flex; flex-direction: column; } .doc b { font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.doc small { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; } .doc small .bad { color: var(--red); }
.doc em { margin-left: auto; font-style: normal; color: var(--acc); font-weight: 700; }
.empty { margin: 0; font-size: 13px; color: var(--muted); }
.spin { width: 11px; height: 11px; border: 2px solid var(--line-2); border-top-color: var(--acc); border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border-bottom: 1px solid var(--line); }
.kpis > div { background: var(--card); padding: 14px 18px; } .kpis span { display: block; font-size: 12px; color: var(--muted); } .kpis b { display: block; font: 600 20px/1.3 var(--mono); letter-spacing: -.02em; } .kpis b.g { color: var(--acc); }
.kpis .bars { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 28px; }
.kpis .bars p { margin: 0; display: grid; grid-template-columns: 150px 1fr 96px; gap: 10px; align-items: center; font-size: 12.5px; }
.kpis .bars p span { color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12.5px; }
.kpis .bars i { height: 7px; border-radius: 4px; background: var(--acc); opacity: .8; } .kpis .bars b { font-size: 12.5px; text-align: right; }
.blank { height: 100%; min-height: 420px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; color: var(--muted); }
.blank h3 { font-size: 20px; color: var(--ink); } .blank p { margin: 0; max-width: 380px; }
.blank-ic { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--acc-soft); color: var(--acc); font-size: 24px; } .blank-ic.warn { background: var(--amber-soft); color: var(--amber); }
.blank details { margin-top: 10px; max-width: 520px; text-align: left; } .blank pre { white-space: pre-wrap; font-size: 12px; background: var(--paper); padding: 12px; border-radius: 10px; max-height: 220px; overflow: auto; }
.scan { width: 120px; height: 150px; border-radius: 12px; border: 1px solid var(--line-2); background: repeating-linear-gradient(180deg, #fff 0 14px, var(--paper) 14px 16px); position: relative; overflow: hidden; }
.scan span { position: absolute; left: 0; right: 0; height: 26px; background: linear-gradient(180deg, transparent, rgba(61,220,151,.55), transparent); animation: scan 1.4s ease-in-out infinite alternate; }
@keyframes scan { from { top: -20px; } to { top: 140px; } }
.v-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.v-head a { font-size: 13px; color: var(--muted); text-decoration: none; } .v-head a:hover { color: var(--ink); }
.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 500; margin-right: 6px; } .badge.soft { background: var(--paper-2); color: var(--ink-2); }
.conf { font: 500 11px/1 var(--mono); letter-spacing: .04em; color: var(--muted); } .conf-high { color: var(--acc); } .conf-low { color: var(--red); }
.col-view h3 { font-size: 24px; margin: 14px 0 6px; } .col-view .sum { margin: 0 0 14px; color: var(--muted); }
.paid { display: inline-block; margin-bottom: 14px; padding: 7px 12px; border-radius: 10px; background: var(--acc-soft); color: var(--acc-2); font-size: 13px; font-weight: 500; }
.fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0 0 18px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--card); }
.fields div { box-shadow: 0 0 0 .5px var(--line); }
.fields div { background: var(--card); padding: 10px 12px; } .fields dt { font-size: 11.5px; color: var(--muted); } .fields dd { margin: 2px 0 0; font-size: 14px; font-weight: 500; overflow-wrap: anywhere; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px; margin-bottom: 16px; }
.tbl th { text-align: left; font-weight: 500; font-size: 12px; color: var(--muted); padding: 8px 10px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; } .tbl .n { text-align: right; font-family: var(--mono); white-space: nowrap; } .tbl .nw { white-space: nowrap; }
.tbl .out { color: var(--ink); } .tbl .in { color: var(--acc); }
.tbl .cat { display: inline-block; padding: 2px 8px; border-radius: 999px; background: var(--paper-2); font-size: 12px; white-space: nowrap; }
.tbl .match { display: block; margin-top: 3px; font-size: 12px; color: var(--acc); font-weight: 500; }
.jr .sum td { font-weight: 600; border-bottom: 0; color: var(--acc-2); }
.totals { margin: 0 0 20px auto; width: min(320px, 100%); } .totals div { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; } .totals b { font-family: var(--mono); font-weight: 500; }
.totals .grand { border-top: 1px solid var(--ink); margin-top: 4px; padding-top: 10px; font-size: 17px; } .totals .grand b { font-weight: 600; }
.card-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 6px; } .card-h h4 { font-size: 15px; }
.btn-approve { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--acc); color: #fff; font-size: 13px; font-weight: 500; cursor: pointer; } .btn-approve:disabled { background: var(--acc-soft); color: var(--acc-2); cursor: default; }
.checks { padding: 14px 16px; border-radius: 14px; background: var(--amber-soft); color: #7A3E0A; font-size: 13.5px; } .checks h4 { font-size: 13px; margin-bottom: 6px; color: var(--amber); }
.checks ul { margin: 0; padding-left: 18px; } .checks.ok { background: var(--acc-soft); color: var(--acc-2); font-weight: 500; }
.chat-h { padding: 14px 16px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.chat-h .av { width: 32px; height: 32px; border-radius: 10px; background: var(--ink); display: grid; place-items: center; }
.chat-h b { font-size: 14px; display: block; } .chat-h small { font-size: 12px; color: var(--muted); }
.log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; min-height: 260px; }
.msg { max-width: 92%; padding: 10px 12px; border-radius: 14px; font-size: 13.5px; line-height: 1.5; white-space: pre-wrap; }
.msg.bot { background: var(--card); border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.me { background: var(--ink); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.msg.typing { color: var(--muted); font-size: 12.5px; padding: 4px 2px; }
.suggest { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 10px; }
.suggest button { padding: 7px 11px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); font-size: 12.5px; cursor: pointer; } .suggest button:hover { border-color: var(--acc); color: var(--acc-2); }
.ask { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--card); }
.ask input { flex: 1; min-width: 0; height: 44px; border: 1px solid var(--line-2); border-radius: 999px; padding: 0 16px; font: 14px Geist, system-ui, sans-serif; background: var(--paper); }
.ask button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--acc); color: #fff; cursor: pointer; display: grid; place-items: center; }
@media (max-width: 1180px) { .app-grid { grid-template-columns: 280px minmax(0, 1fr); } .col-chat { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); max-height: 560px; } }
@media (max-width: 760px) {
  .app-grid { grid-template-columns: 1fr; } .col-docs { border-right: 0; border-bottom: 1px solid var(--line); } .col-view { padding: 18px 16px; max-height: none; }
  .kpis { grid-template-columns: 1fr 1fr; } .kpis .bars { grid-template-columns: 1fr; } .kpis .bars p { grid-template-columns: 110px 1fr 84px; }
  .fields { grid-template-columns: 1fr 1fr; } .tbl { font-size: 12.5px; } .tbl th, .tbl td { padding: 7px 6px; }
}

/* content sections */
.sec-head { max-width: 720px; margin-bottom: 44px; } .sec-head .lead { margin-top: 16px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; counter-increment: s; }
.step::before { content: counter(s, decimal-leading-zero); display: block; font: 500 12px/1 var(--mono); color: var(--acc); margin-bottom: 30px; }
.step h3 { font-size: 19px; margin-bottom: 8px; } .step p { margin: 0; color: var(--muted); font-size: 15px; }
.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.feat .ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--acc-soft); color: var(--acc); margin-bottom: 20px; }
.feat h3 { font-size: 19px; margin-bottom: 8px; } .feat p { margin: 0; color: var(--muted); font-size: 15px; }
.ask-sec { background: var(--ink); color: #fff; border-radius: 32px; padding: 64px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.ask-sec .eyebrow { color: var(--mint); } .ask-sec .lead { color: #B9C6BF; }
.qlist { display: flex; flex-direction: column; gap: 10px; }
.qlist button { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 16px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); color: #fff; font-size: 16px; text-align: left; cursor: pointer; transition: background .2s, border-color .2s; }
.qlist button:hover { background: rgba(61,220,151,.1); border-color: var(--mint); } .qlist button span { color: var(--mint); font-size: 13px; white-space: nowrap; }
.sg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sg > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: flex; gap: 16px; }
.sg b { display: block; font-size: 17px; margin-bottom: 4px; } .sg p { margin: 0; color: var(--muted); font-size: 15px; }
.sg .tick { width: 28px; height: 28px; border-radius: 50%; background: var(--acc-soft); color: var(--acc); display: grid; place-items: center; flex-shrink: 0; font-weight: 700; }
.faq { max-width: 820px; } .faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; font-size: 18px; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 16px; } .faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--acc); font-size: 22px; line-height: 1; } .faq details[open] summary::after { content: '–'; }
.faq details p { margin: 12px 0 0; color: var(--muted); }
.cta { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; box-shadow: var(--shadow); }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; color: var(--ink-2); } .form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { font: 15px Geist, system-ui, sans-serif; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--paper); color: var(--ink); }
.form textarea { min-height: 96px; resize: vertical; } .form .ck { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; color: var(--muted); }
.form .ck input { margin-top: 3px; } .form-msg { margin: 0; font-size: 14px; }
.ftr { border-top: 1px solid var(--line); padding: 48px 0 32px; margin-top: 40px; color: var(--muted); font-size: 14px; }
.ftr-cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; } .ftr h4 { font-size: 13px; color: var(--ink); margin-bottom: 12px; letter-spacing: 0; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; } .ftr a { text-decoration: none; } .ftr a:hover { color: var(--ink); }
.ftr-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; }
.pill { position: fixed; left: 50%; bottom: 18px; z-index: 40; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; width: min(520px, calc(100vw - 32px)); height: 56px; padding: 0 8px 0 10px; border-radius: 999px; border: 1px solid rgba(15,123,85,.35); background: rgba(15,26,21,.94); color: #fff; box-shadow: 0 18px 50px -12px rgba(15,26,21,.5); cursor: pointer; text-align: left; transition: opacity .3s, transform .3s; }
.pill.away { opacity: 0; pointer-events: none; transform: translate(-50%, 20px); }
.pill .orb { width: 38px; height: 38px; border-radius: 50%; background: conic-gradient(from 0deg, var(--mint), #38BDF8, var(--mint)); display: grid; place-items: center; flex-shrink: 0; }
.pill .orb span { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; color: var(--mint); }
.pill .ph { flex: 1; min-width: 0; color: #AFC0B7; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .pill .ph b { color: #fff; }
.pill .go { height: 40px; padding: 0 16px; border-radius: 999px; background: var(--mint); color: #062217; font-weight: 600; font-size: 14px; display: flex; align-items: center; }
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; } .rv.in { opacity: 1; transform: none; }
@media (max-width: 980px) {
  .steps { grid-template-columns: 1fr 1fr; } .feats { grid-template-columns: 1fr 1fr; } .ask-sec { grid-template-columns: 1fr; padding: 40px 24px; border-radius: 24px; }
  .sg { grid-template-columns: 1fr; } .cta { grid-template-columns: minmax(0, 1fr); } .ftr-cols { grid-template-columns: 1fr 1fr; } .pad { padding: 72px 0; }
}
@media (max-width: 560px) { .steps, .feats { grid-template-columns: 1fr; } .form { grid-template-columns: 1fr; padding: 20px; } .pill .go span { display: none; } }
.col-view .orig { float: right; width: 132px; margin: 12px 0 12px 18px; border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow); }
@media (max-width: 560px) { .col-view .orig { width: 96px; } }
.vid { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: #000; box-shadow: 0 40px 90px -40px rgba(15,26,21,.45); }
.vid video { display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--paper); }

/* ── promo strip ── */
.promo { background: var(--ink); color: #E6EEE9; font-size: 14px; }
.promo .wrap { display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 48px; padding: 6px 0; position: relative; flex-wrap: wrap; text-align: center; }
.promo b { color: #fff; } .promo .btn { min-height: 34px; padding: 0 14px; font-size: 13px; }
.promo-x { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; background: none; color: #AFC0B7; font-size: 22px; cursor: pointer; }
@media (max-width: 760px) { .promo .wrap { padding-right: 36px; font-size: 13px; } }

/* ── header with dropdown menus ── */
.nav { align-items: center; }
.nav > li { position: relative; }
.nav-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 0; border-radius: 999px; background: none; font-size: 15px; color: var(--ink-2); cursor: pointer; }
.nav-btn:hover, .nav-btn[aria-expanded="true"] { background: var(--paper-2); }
.nav-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.mega { position: absolute; top: calc(100% + 10px); left: -20px; z-index: 60; display: none; grid-template-columns: minmax(0, 1fr) 230px; gap: 8px; width: 640px; padding: 10px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 30px 60px -24px rgba(15,26,21,.35); }
.mega.open { display: grid; }
.mega-links { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega-links a { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 14px; text-decoration: none; }
.mega-links a:hover { background: var(--paper); }
.mega-links b { display: block; font-size: 14.5px; font-weight: 600; } .mega-links small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.mi { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--acc-soft); color: var(--acc); flex-shrink: 0; }
.mega-promo { border-radius: 14px; padding: 18px; background: var(--ink); color: #fff; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.mega-promo b { font-size: 16px; } .mega-promo p { margin: 0 0 6px; font-size: 13px; color: #B9C6BF; }
.login { font-size: 15px; font-weight: 500; text-decoration: none; padding: 8px 10px; } .login:hover { color: var(--acc); }
@media (max-width: 980px) {
  .nav { max-height: calc(100vh - 68px); overflow-y: auto; } .nav > li { width: 100%; } .nav-btn { width: 100%; justify-content: space-between; padding: 12px; }
  .mega { position: static; width: auto; box-shadow: none; grid-template-columns: 1fr; margin: 4px 0 8px; } .mega-links { grid-template-columns: 1fr; }
}

/* ── hero with product shot ── */
.hero-shot { position: relative; padding: 0 0 40px 0; }
.hero-shot img { width: 112%; height: auto; max-width: none; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 40px 80px -36px rgba(15,26,21,.45); }
.float-card { position: absolute; left: -36px; bottom: 0; width: 280px; padding: 16px 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 24px 50px -18px rgba(15,26,21,.4); }
.float-card .k { font: 500 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.float-card > b { display: block; font-size: 17px; margin: 8px 0 8px; }
.fc-row { display: flex; justify-content: space-between; padding: 6px 0; border-top: 1px dashed var(--line); font-size: 13.5px; } .fc-row b { font-family: var(--mono); font-weight: 500; }
.fc-row.tot b { font-weight: 700; } .float-card .hv-tag { margin-top: 10px; }
.hero { overflow-x: clip; }
@media (max-width: 980px) { .hero-shot img { width: 100%; } .float-card { left: 12px; bottom: -8px; width: 250px; } }
@media (max-width: 560px) { .float-card { position: relative; left: auto; bottom: auto; width: auto; margin-top: -30px; margin-left: 16px; margin-right: 16px; } .hero-shot { padding: 0; } }

/* ── trust row ── */
.trust { padding: 40px 0 8px; text-align: center; }
.trust .h-md { font-size: clamp(20px, 2vw, 26px); }
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.badges span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.badges svg { color: var(--acc); }

/* ── split sections ── */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split.rev > :first-child { order: 2; }
.incl { display: grid; gap: 14px; margin-top: 24px; }
.incl > div { padding: 16px 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.incl b { display: block; font-size: 16px; margin-top: 8px; } .incl p { margin: 4px 0 0; color: var(--muted); font-size: 14.5px; }
.tag { display: inline-block; padding: 3px 9px; border-radius: 999px; background: var(--acc-soft); color: var(--acc-2); font: 600 11px/1.4 var(--mono); letter-spacing: .04em; }
.chat-vis { background: var(--ink); color: #fff; border-radius: 28px; padding: 26px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 40px 80px -36px rgba(15,26,21,.6); }
.cv-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; } .cv-head .av { width: 32px; height: 32px; border-radius: 10px; background: rgba(61,220,151,.15); color: var(--mint); display: grid; place-items: center; }
.cv-q, .cv-a { margin: 0; padding: 12px 14px; border-radius: 16px; font-size: 15px; line-height: 1.5; max-width: 88%; }
.cv-q { align-self: flex-end; background: rgba(255,255,255,.1); border-bottom-right-radius: 4px; } .cv-a { background: #fff; color: var(--ink); border-bottom-left-radius: 4px; } .cv-a b { color: var(--acc-2); }
.vis-card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 22px; box-shadow: var(--shadow); }
.vis-card .k { font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 8px; }
.vis-card .big { display: block; font: 700 40px/1.1 var(--mono); color: var(--acc); letter-spacing: -.03em; margin-bottom: 10px; }
.vrow { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 13px 0; border-top: 1px solid var(--line); font-size: 14px; }
.vrow b { font-family: var(--mono); font-weight: 500; } .vrow b.in { color: var(--acc); }
.vrow em { font-style: normal; font-size: 12px; font-weight: 500; padding: 3px 9px; border-radius: 999px; background: var(--acc-soft); color: var(--acc-2); white-space: nowrap; } .vrow em.miss { background: var(--amber-soft); color: var(--amber); }
.link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 600; color: var(--acc); text-decoration: none; } .link:hover { gap: 10px; }
@media (max-width: 980px) { .split { grid-template-columns: 1fr; gap: 36px; } .split.rev > :first-child { order: 0; } }
@media (max-width: 560px) { .vrow { grid-template-columns: 1fr auto; } .vrow em { grid-column: 1 / -1; justify-self: start; } }

/* ── feature tiles ── */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.tile { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tile .ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--acc-soft); color: var(--acc); margin-bottom: 10px; }
.tile h3 { font-size: 19px; } .tile p { margin: 0; color: var(--muted); font-size: 15px; flex: 1; }
.tile .more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--acc); margin-top: 10px; }
.tile-all { background: var(--acc); border-color: var(--acc); color: #fff; justify-content: flex-end; } .tile-all p { color: #CDEBDD; } .tile-all .more { color: #fff; }
@media (max-width: 980px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } }

/* ── plans ── */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 28px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.plan h3 { font-size: 24px; } .plan .who { margin: 0; color: var(--muted); font-size: 14.5px; }
.plan .price { margin: 14px 0 6px; font: 600 20px/1.2 var(--mono); color: var(--ink-2); }
.plan ul { list-style: none; margin: 6px 0 14px; padding: 0; display: grid; gap: 8px; font-size: 14.5px; flex: 1; }
.plan li { padding-left: 24px; position: relative; } .plan li::before { content: '✓'; position: absolute; left: 0; color: var(--acc); font-weight: 700; }
.plan > a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--acc); text-decoration: none; }
.plan-hl { border: 2px solid var(--acc); } .plan-hl .tag { position: absolute; top: -12px; left: 24px; background: var(--acc); color: #fff; }
@media (max-width: 980px) { .plans { grid-template-columns: 1fr; } }

/* ── use cases ── */
.uses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.use h3 { font-size: 20px; margin: 16px 0 6px; } .use p { margin: 0; color: var(--muted); font-size: 15px; }
.thumb { aspect-ratio: 16 / 10; border-radius: var(--r-lg); display: grid; place-items: center; color: #fff; }
.t1 { background: radial-gradient(120% 120% at 0% 0%, #3DDC97, #0F7B55); } .t2 { background: radial-gradient(120% 120% at 100% 0%, #93C5FD, #1D4ED8); } .t3 { background: radial-gradient(120% 120% at 50% 100%, #FCD34D, #B45309); }
@media (max-width: 980px) { .uses { grid-template-columns: 1fr; } }

/* ── closing ── */
.closing { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: center; padding: 56px; border-radius: 32px; background: var(--ink); color: #fff; }
.closing .lead { color: #B9C6BF; } .link.light { color: var(--mint); margin-top: 0; }
.free-card { background: #fff; color: var(--ink); border-radius: 22px; padding: 24px; }
.free-card .k { font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.free-card .big { display: block; font: 700 44px/1.1 var(--mono); margin: 8px 0 12px; color: var(--acc); }
.free-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; } .free-card li { display: flex; gap: 8px; align-items: center; } .free-card svg { color: var(--acc); flex-shrink: 0; }
@media (max-width: 980px) { .closing { grid-template-columns: 1fr; padding: 32px 22px; border-radius: 24px; } }

/* ── big footer ── */
.ftr.big { margin-top: 0; background: var(--card); }
.ftr-grid { display: grid; grid-template-columns: 1.3fr repeat(5, 1fr); gap: 28px; }
.ftr-brand p { margin: 14px 0 0; max-width: 220px; }
.ftr-legal { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); }
.legal-links { display: flex; gap: 18px; flex-wrap: wrap; } .legal-links a { text-decoration: none; } .legal-links a:hover { color: var(--ink); }
.region { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); font-size: 13px; font-weight: 500; }
.social { display: flex; gap: 6px; } .social a { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: var(--ink-2); } .social a:hover { background: var(--paper); color: var(--acc); }
.ftr.big .ftr-base { margin-top: 18px; padding-top: 0; border-top: 0; }
@media (max-width: 980px) { .ftr-grid { grid-template-columns: 1fr 1fr; } .ftr-brand { grid-column: 1 / -1; } }
/* ── about / careers ── */
.page-hero { padding: 88px 0 48px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; width: 700px; height: 700px; right: -240px; top: -300px; background: radial-gradient(circle, rgba(61,220,151,.2), transparent 62%); pointer-events: none; }
.page-hero h1 em { font-style: normal; color: var(--acc); }
.prose p { margin: 0 0 16px; font-size: 18px; line-height: 1.65; color: var(--ink-2); }
.roles { display: grid; gap: 12px; }
.role { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 24px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.role h3 { font-size: 20px; margin: 8px 0 4px; } .role p { margin: 0; color: var(--muted); font-size: 15px; max-width: 640px; }
@media (max-width: 760px) { .role { flex-direction: column; align-items: flex-start; } }

/* chat attachments */
.ask .attach { background: transparent; color: var(--ink-2); border: 1px solid var(--line-2); }
.ask .attach:hover { color: var(--acc); border-color: var(--acc); }
.col-chat.drop { outline: 2px dashed var(--acc); outline-offset: -6px; }
.col-chat .privacy { margin: 0; padding: 6px 14px 0; font-size: 11.5px; line-height: 1.4; color: var(--muted); }

/* ── welcome AI assistant ── */
.agent { --agw: 400px; }
.agent-back { position: fixed; inset: 0; z-index: 90; background: rgba(15,26,21,.38); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .35s; }
.agent[data-state="welcome"] .agent-back { opacity: 1; pointer-events: auto; }
.agent-panel { position: fixed; z-index: 91; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 40px 100px -30px rgba(15,26,21,.55), 0 10px 30px -10px rgba(15,26,21,.25); overflow: hidden; transition: opacity .35s, transform .45s cubic-bezier(.3,.7,.2,1), width .45s, height .45s, left .45s, top .45s, right .45s, bottom .45s; }
.agent[data-state="welcome"] .agent-panel { left: 50%; top: 50%; width: min(580px, calc(100vw - 32px)); max-height: min(700px, calc(100vh - 48px)); transform: translate(-50%, -50%); }
.agent[data-state="open"] .agent-panel { right: 20px; bottom: 20px; width: min(var(--agw), calc(100vw - 32px)); height: min(620px, calc(100vh - 110px)); }
.agent[data-state="min"] .agent-panel { right: 20px; bottom: 20px; width: min(var(--agw), calc(100vw - 32px)); height: 0; opacity: 0; transform: translateY(24px) scale(.96); pointer-events: none; visibility: hidden; transition: opacity .25s, transform .3s, visibility 0s .3s; }
.agent-h { display: flex; align-items: center; gap: 12px; padding: 16px 16px 14px 18px; border-bottom: 1px solid var(--line); }
.agent-av { width: 38px; height: 38px; border-radius: 12px; background: var(--ink); color: var(--mint); display: grid; place-items: center; flex-shrink: 0; position: relative; }
.agent-av::after { content: ''; position: absolute; inset: -3px; border-radius: 14px; border: 2px solid var(--mint); opacity: .0; animation: agpulse 2.4s ease-out infinite; }
@keyframes agpulse { 0% { opacity: .55; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.25); } }
.agent-t { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; } .agent-t b { font-size: 15.5px; }
.agent-t small { color: var(--muted); font-size: 12.5px; display: flex; align-items: center; gap: 6px; } .agent-t small i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px rgba(61,220,151,.2); }
.agent-min { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; color: var(--ink-2); cursor: pointer; display: grid; place-items: center; }
.agent-min:hover { background: var(--paper); }
.agent-log { flex: 1; min-height: 120px; overflow-y: auto; padding: 18px 18px 8px; display: flex; flex-direction: column; gap: 10px; }
.agent-msg { max-width: 88%; padding: 11px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; white-space: pre-line; }
.agent-msg.bot { background: var(--paper); border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.agent-msg.me { background: var(--ink); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.agent-msg.typing { color: var(--muted); font-style: italic; background: transparent; padding-left: 4px; }
.agent[data-state="welcome"] .agent-log .agent-msg.bot:first-child { font-size: 17px; max-width: 100%; }
.agent-acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.agent-acts button { font: 600 13px Geist, system-ui, sans-serif; padding: 7px 12px; border-radius: 999px; border: 0; background: var(--acc); color: #fff; cursor: pointer; }
.agent-acts button:hover { filter: brightness(1.1); }
.agent-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 6px 18px 14px; }
.agent-choices[hidden] { display: none; }
.agent-choices button { text-align: left; font: 500 14px/1.35 Geist, system-ui, sans-serif; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--card); color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s; }
.agent-choices button:hover { border-color: var(--acc); background: rgba(61,220,151,.08); }
.agent[data-state="open"] .agent-choices { grid-template-columns: 1fr; gap: 6px; } .agent[data-state="open"] .agent-choices button { padding: 9px 12px; font-size: 13.5px; }
.agent-ask { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line); }
.agent-ask input { flex: 1; min-width: 0; height: 46px; border: 1px solid var(--line-2); border-radius: 999px; padding: 0 18px; font: 15px Geist, system-ui, sans-serif; background: var(--paper); color: var(--ink); }
.agent-ask input:focus { outline: 2px solid rgba(15,123,85,.35); border-color: var(--acc); }
.agent-ask button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--acc); color: #fff; cursor: pointer; display: grid; place-items: center; }
.agent-browse { display: none; border: 0; background: transparent; color: var(--ink-2); font: 600 14px Geist, system-ui, sans-serif; padding: 4px 18px 16px; cursor: pointer; align-items: center; justify-content: center; gap: 6px; }
.agent-browse:hover { color: var(--acc); }
.agent[data-state="welcome"] .agent-browse { display: flex; }
.agent-bubble { position: fixed; right: 20px; bottom: 20px; z-index: 80; display: flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 999px; border: 1px solid rgba(61,220,151,.35); background: var(--ink); color: #fff; cursor: pointer; text-align: left; box-shadow: 0 18px 40px -12px rgba(15,26,21,.55); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s .15s, transform .3s .15s; }
.agent[data-state="min"] .agent-bubble { opacity: 1; transform: none; pointer-events: auto; }
.agent-bubble .agent-av { width: 40px; height: 40px; border-radius: 50%; background: #1F2E27; } .agent-bubble .agent-av::after { border-radius: 50%; }
.agent-bl { display: flex; flex-direction: column; line-height: 1.2; } .agent-bl b { font-size: 14.5px; } .agent-bl small { color: #AFC0B7; font-size: 12px; }
.agent-tip { position: fixed; right: 20px; bottom: 86px; z-index: 80; max-width: min(320px, calc(100vw - 40px)); padding: 12px 14px; border-radius: 14px 14px 4px 14px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 18px 40px -16px rgba(15,26,21,.45); font-size: 13.5px; line-height: 1.45; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .3s, transform .3s; }
.agent.tip[data-state="min"] .agent-tip { opacity: 1; transform: none; }
@media (max-width: 640px) {
  .agent[data-state="welcome"] .agent-panel, .agent[data-state="open"] .agent-panel { left: 0; right: 0; top: auto; bottom: 0; width: 100%; transform: none; border-radius: 22px 22px 0 0; max-height: calc(100dvh - 40px); height: auto; }
  .agent[data-state="open"] .agent-panel { height: min(78dvh, 640px); }
  .agent-choices { grid-template-columns: 1fr; gap: 6px; } .agent-choices button { padding: 10px 12px; font-size: 14px; }
  .agent-bubble { right: 14px; bottom: 14px; padding-right: 8px; } .agent-bl { display: none; }
  .agent-tip { right: 14px; bottom: 76px; }
  .agent[data-state="welcome"] .agent-log .agent-msg.bot:first-child { font-size: 15.5px; }
}
@media (prefers-reduced-motion: reduce) { .agent-panel, .agent-bubble, .agent-back { transition: none; } .agent-av::after { animation: none; } }
.agent.away .agent-bubble, .agent.away .agent-tip { opacity: 0 !important; pointer-events: none !important; transform: translateY(16px); }
/* ── invoicing, reminders, notifications ── */
.app { position: relative; }
.app-bar .bell { position: relative; margin-left: 10px; width: 32px; height: 32px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--card); color: var(--ink-2); display: grid; place-items: center; cursor: pointer; }
.app-bar .bell em { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--red); color: #fff; font: 600 11px/18px Geist, system-ui, sans-serif; font-style: normal; text-align: center; }
.notes { position: absolute; z-index: 30; top: 52px; right: 14px; width: min(360px, calc(100% - 28px)); max-height: 360px; overflow: auto; background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 60px -20px rgba(15,26,21,.4); padding: 8px; }
.notes .nt { display: block; width: 100%; text-align: left; border: 0; background: transparent; padding: 10px 12px 10px 14px; border-radius: 10px; cursor: pointer; font: 13.5px/1.4 Geist, system-ui, sans-serif; color: var(--ink); border-left: 3px solid var(--line-2); margin-bottom: 4px; }
.notes .nt:hover { background: var(--paper); } .notes .nt small { display: block; color: var(--muted); font-size: 11.5px; margin-top: 2px; }
.notes .nt.ok { border-left-color: var(--acc); } .notes .nt.warn { border-left-color: var(--amber); } .notes .nt.bad { border-left-color: var(--red); }
.notes .empty { margin: 8px; font-size: 13px; color: var(--muted); }
.toasts { position: absolute; z-index: 29; top: 58px; right: 16px; display: flex; flex-direction: column; gap: 8px; pointer-events: none; max-width: min(380px, calc(100% - 32px)); }
.toast { padding: 11px 14px; border-radius: 12px; background: var(--ink); color: #fff; font-size: 13.5px; line-height: 1.4; box-shadow: 0 16px 40px -14px rgba(15,26,21,.55); border-left: 4px solid var(--mint); animation: tin .3s ease-out; transition: opacity .4s, transform .4s; }
.toast.warn { border-left-color: #F5B544; } .toast.bad { border-left-color: #F26B5B; } .toast.out { opacity: 0; transform: translateX(20px); }
@keyframes tin { from { opacity: 0; transform: translateY(-8px); } }
.ist { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; background: var(--paper-2); color: var(--ink-2); }
.ist-sent { background: var(--acc-soft); color: var(--acc-2); } .ist-soon, .ist-due { background: var(--amber-soft); color: var(--amber); } .ist-overdue { background: #FDE7E4; color: var(--red); } .ist-paid { background: var(--acc); color: #fff; }
.doc small .ist { padding: 1px 7px; font-size: 10.5px; }
.iv-acts { display: flex; gap: 6px; flex-wrap: wrap; }
.btn-line-s { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); color: var(--ink); font-size: 13px; font-weight: 500; cursor: pointer; } .btn-line-s:hover { border-color: var(--ink); }
.inv { margin: 16px 0 20px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.inv-top { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.inv-co { font-size: 17px; display: block; } .inv-top small { display: block; color: var(--muted); font-size: 12px; line-height: 1.5; margin-top: 4px; }
.inv-tt { text-align: right; } .inv-tt b { font: 600 16px var(--mono); letter-spacing: .08em; display: block; } .inv-tt small { font: 13px var(--mono); }
.inv-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 16px 0; }
.inv-meta span { display: block; font: 500 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); } .inv-meta b { display: block; font-size: 14px; } .inv-meta small { color: var(--muted); font-size: 12px; }
.inv-pay { margin: 0; font-size: 13px; color: var(--ink-2); }
.rem { margin: 0 0 20px; padding: 16px 18px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); }
.rem ul { list-style: none; margin: 10px 0; padding: 0; display: grid; gap: 6px; }
.rem li { display: grid; grid-template-columns: 1fr auto 86px; gap: 10px; align-items: center; font-size: 13.5px; padding: 8px 12px; background: var(--card); border-radius: 10px; border: 1px solid var(--line); }
.rem li b { font: 500 12.5px var(--mono); } .rem li em { font-style: normal; font-size: 12px; color: var(--muted); text-align: right; } .rem li.done em { color: var(--acc); font-weight: 600; }
.rem-note { margin: 0 0 12px; font-size: 12.5px; color: var(--muted); }
.sw { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); cursor: pointer; } .sw input { accent-color: var(--acc); width: 16px; height: 16px; }
.clock { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-top: 12px; border-top: 1px dashed var(--line-2); font-size: 12.5px; color: var(--muted); }
.clock span { margin-right: 6px; } .clock b { color: var(--ink); font-family: var(--mono); font-weight: 500; }
.clock button { border: 1px solid var(--line-2); background: var(--card); border-radius: 999px; padding: 5px 11px; font: 500 12px Geist, system-ui, sans-serif; cursor: pointer; color: var(--ink); } .clock button:hover { border-color: var(--acc); color: var(--acc); }
@media (max-width: 640px) { .inv { padding: 14px; } .inv-top { flex-direction: column; } .inv-tt { text-align: left; } .inv-meta { grid-template-columns: 1fr 1fr; } .inv .tbl th:first-child, .inv .tbl td:first-child { display: none; } .rem li { grid-template-columns: 1fr auto; } .rem li em { grid-column: 1 / -1; text-align: left; } }

.ticks { list-style: none; padding: 0; margin: 18px 0 20px; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 28px; color: var(--ink-2); }
.ticks li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--acc-soft); color: var(--acc); font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.chat-mini { display: flex; flex-direction: column; gap: 8px; }
.chat-mini .cm { margin: 0; max-width: 82%; padding: 9px 13px; border-radius: 14px; font-size: 13.5px; line-height: 1.45; }
.chat-mini .cm.me { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 4px; }
.chat-mini .cm.bot { align-self: flex-start; background: var(--paper); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.cm-inv { margin-top: 4px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(15,123,85,.3); background: var(--acc-soft); display: grid; gap: 2px; }
.cm-inv b { font-size: 14px; } .cm-inv span { font: 13px var(--mono); color: var(--ink-2); } .cm-inv em { font-style: normal; font-size: 12.5px; color: var(--acc-2); font-weight: 600; }
