/* BizAuto Studio: the shared stylesheet of the sub-pages (privacy, terms, accessibility, agents, chatbot-vs-ai-agent).
   Built from the values of the home page (index.html): one font family (Rubik), a cool near-white ground,
   ink text, a terracotta accent, and a teal "live" colour kept for AI marks only. Flat fills, hairlines, no glows.
   The class names are the ones the pages already use, so the page bodies stay as they are. */

:root{
  --sky1:#e6ebf0; --sky2:#f6f7f9; --ground-2:#f4f6f8;
  --ink:#11161d; --ink-soft:#2a3039; --ink-muted:#444a53; --ink-faint:#59606b;
  --line:rgba(17,22,29,.13);
  --accent:#9d4b2f; --accent-deep:#7f3b24; --on-accent:#ffffff; --accent-night:#f4b9a3;
  --accent-tint:#f3e7e2;
  --card:#ffffff; --oat:#e8ecf1; --slate:#121922; --panel-night:#1b2431;
  --live:#21d0bd; --live-deep:#0a6e66; --live-tint:#dcf4f0;
  --pad:clamp(20px,5vw,84px);
  --wide:1180px;
  --read:720px;
  --header-h:68px;

  /* names that inline style attributes in the pages read */
  --color-surface:var(--oat);
  --color-text:var(--ink);
  --color-text-muted:var(--ink-muted);
  --space-1:.25rem; --space-2:.5rem; --space-3:.75rem; --space-4:1rem; --space-5:1.25rem; --space-6:1.5rem;
  --space-8:2rem; --space-10:2.5rem; --space-12:3rem; --space-16:4rem;
}

/* ---------- base ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
/* smooth only for in-page link clicks; a link from outside (for example /privacy/#data-deletion) jumps at once,
   so a late reflow while the font loads cannot leave the heading under the header */
html:focus-within{scroll-behavior:smooth}
body{margin:0;font-family:'Rubik',system-ui,-apple-system,'Segoe UI',sans-serif;font-size:17px;font-weight:400;line-height:1.7;
  color:var(--ink);background:var(--sky2);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}
h1,h2,h3,h4{margin:0;font-weight:700;line-height:1.2;letter-spacing:-.015em;text-wrap:balance}
p{margin:0;text-wrap:pretty}
ul,ol{margin:0;padding:0}
img,svg{max-width:100%}
a{color:inherit}
strong,b{font-weight:700}
[lang="en"]{unicode-bidi:isolate}
.nowrap{white-space:nowrap}
::selection{background:var(--accent-tint);color:var(--ink)}
:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
main [id]{scroll-margin-top:calc(var(--header-h) + 24px)}
section[tabindex="-1"]:focus,main[tabindex="-1"]:focus,h2[tabindex="-1"]:focus{outline:none}

.skip-link{position:fixed;top:-64px;inset-inline-start:12px;z-index:20;background:#11161d;color:#ffffff;font-weight:500;
  padding:10px 16px;border-radius:10px;text-decoration:none;transition:top .15s}
.skip-link:focus{top:10px}
.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}

/* the content column: its inner edge lines up with the header and the footer at every width */
.container{width:100%;max-width:calc(var(--wide) + 2 * var(--pad));margin-inline:auto;padding-inline:var(--pad)}

/* ---------- buttons: terracotta with white words; square on top, rounded at the bottom ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--accent);color:var(--on-accent);font-family:inherit;
  font-weight:500;font-size:18px;line-height:1.3;padding:15px 28px;border-radius:2px 2px 12px 12px;text-decoration:none;
  border:1px solid transparent;white-space:nowrap;cursor:pointer;transition:background-color .2s,color .2s,transform .15s}
.btn:hover{background:var(--accent-deep)}
.btn:active{transform:translateY(1px)}
.btn-primary{background:var(--accent);color:var(--on-accent)}
.btn.ghost,.btn-ghost{background:transparent;color:var(--ink);border-color:var(--ink)}
.btn.ghost:hover,.btn-ghost:hover{background:var(--ink);color:#ffffff}
.btn.sm,.btn-sm{font-size:15px;padding:10px 18px;border-radius:2px 2px 10px 10px}
.btn-lg{font-size:19px;padding:17px 32px}
.arrow-icon{display:block;flex:none;transform:scaleX(-1);transition:transform .2s}
.btn:hover .arrow-icon{transform:scaleX(-1) translateX(3px)}

/* ---------- header: flat cool ground, one hairline ---------- */
.top{position:sticky;top:0;z-index:10;display:flex;align-items:center;gap:20px;height:var(--header-h);
  padding-inline:max(var(--pad), calc((100% - var(--wide)) / 2));background:var(--sky2);border-bottom:1px solid var(--line)}
.brand{display:flex;align-items:center;gap:10px;color:var(--ink);font-weight:700;font-size:19px;letter-spacing:-.01em;
  text-decoration:none;white-space:nowrap}
.brand svg{display:block;flex:none}
.brand small{font-weight:400;font-size:inherit;color:var(--ink-faint)}
.top > nav{margin-inline-start:auto;display:flex;gap:28px;font-weight:500;font-size:16px;color:var(--ink-soft)}
.top > nav a{text-decoration:none;white-space:nowrap;transition:color .2s}
.top > nav a:hover{color:var(--ink);text-decoration:underline;text-underline-offset:7px;text-decoration-thickness:2px;text-decoration-color:var(--accent)}
.top > .btn{margin-inline-start:auto}
.top > nav + .btn{margin-inline-start:0}

/* the menu button and the drawer (script.js toggles .is-open, aria-expanded and aria-hidden) */
.nav-toggle{display:none;flex:none;width:44px;height:44px;padding:0;margin:0;border:1px solid var(--line);border-radius:2px 2px 10px 10px;
  background:var(--card);color:var(--ink);cursor:pointer;flex-direction:column;align-items:center;justify-content:center;gap:5px}
.nav-toggle-bar{display:block;width:20px;height:2px;border-radius:1px;background:currentColor;transition:transform .2s,opacity .2s}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1){transform:translateY(7px) rotate(45deg)}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2){opacity:0}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.mobile-nav{display:none}
@media (max-width:940px){
  .top > nav{display:none}
  .top > nav + .btn{margin-inline-start:auto}
  .nav-toggle{display:inline-flex}
  .mobile-nav{position:absolute;top:100%;inset-inline:0;background:var(--sky2);border-bottom:1px solid var(--line);
    padding:8px var(--pad) 24px}
  .mobile-nav.is-open{display:block}
  .mobile-nav nav{display:grid;max-width:var(--wide);margin-inline:auto}
  .mobile-nav nav a:not(.btn){display:block;padding:13px 0;font-weight:500;font-size:18px;color:var(--ink);text-decoration:none;border-bottom:1px solid var(--line)}
  .mobile-nav nav a:not(.btn):hover{color:var(--accent-deep)}
  .mobile-nav-cta{margin-top:20px;justify-self:start}
}
@media (max-width:640px){ :root{--header-h:60px} }
@media (max-width:560px){ .top > nav + .btn{display:none} .nav-toggle{margin-inline-start:auto} }
@media (max-width:480px){ .top{gap:10px} .brand{font-size:17px} .btn.sm,.btn-sm{font-size:14px;padding:8px 12px} }

/* ---------- sections ---------- */
.section{padding-block:clamp(56px,8vw,112px)}
.section-label{display:flex;align-items:center;gap:12px;margin:0 0 18px;font-weight:500;font-size:16px;line-height:1.5;color:var(--ink)}
.section-label::before{content:"";flex:none;width:28px;height:3px;background:var(--accent)}
.section-label.light{color:#f1f4f7}
.section-label.light::before{background:var(--accent-night)}
.section-title{font-size:clamp(28px,3.4vw,46px);font-weight:700;line-height:1.12;letter-spacing:-.02em;max-width:24ch;margin:0 0 8px}

/* ---------- legal pages: one reading column on a white sheet ---------- */
.legal{padding-block:clamp(32px,6vw,80px) clamp(56px,8vw,112px)}
.legal .container{max-width:calc(var(--read) + 2 * var(--pad))}
.legal h1{font-size:clamp(36px,4.6vw,58px);font-weight:800;line-height:1.08;letter-spacing:-.03em}
.legal h1::after{content:"";display:block;width:72px;height:6px;margin-block-start:20px;background:var(--accent)}
.legal .updated{margin-block:18px 36px;font-size:15px;color:var(--ink-faint)}
.legal .lead{font-size:clamp(19px,1.5vw,21px);line-height:1.7;color:var(--ink);margin-block-end:12px}
.legal h2{font-size:clamp(22px,2vw,27px);line-height:1.25;margin-block:48px 14px;padding-block-start:22px;border-top:1px solid var(--line)}
.legal p,.legal li{font-size:17px;line-height:1.8;color:var(--ink-soft)}
.legal p{margin-block-end:16px}
.legal ul{margin:0 0 18px;padding-inline-start:1.3em;list-style:disc}
.legal li{margin-block-end:8px}
.legal li::marker{color:var(--accent)}
.legal strong{color:var(--ink)}
.legal a,.ag-prose a{color:var(--accent-deep);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
.legal a:hover,.ag-prose a:hover{text-decoration-thickness:2px}
@media (min-width:760px){
  .legal .container{background:var(--card);border:1px solid var(--line);border-radius:16px;
    padding:clamp(40px,5vw,64px) clamp(36px,5vw,72px);max-width:calc(var(--read) + 2 * clamp(36px,5vw,72px));width:calc(100% - 2 * var(--pad))}
}

/* ---------- landing pages (agents, chatbot-vs-ai-agent): light hero ---------- */
.ag-hero{position:relative;background:var(--sky2);border-bottom:1px solid var(--line);
  background-image:radial-gradient(circle,rgba(10,110,102,.22) 1.2px,transparent 1.8px);background-size:24px 24px;background-position:center 12px}
.ag-hero .container{padding-block:clamp(56px,9vw,120px) clamp(48px,7vw,96px)}
.ag-glow,.cta-bg{display:none}
.eyebrow{display:flex;align-items:center;gap:12px;margin:0 0 26px;font-weight:500;font-size:16px;color:var(--ink)}
.eyebrow .dot{flex:none;display:inline-block;width:10px;height:10px;border-radius:2px;background:var(--live-deep)}
.ag-hero h1{font-size:clamp(38px,5.2vw,72px);font-weight:800;line-height:1.08;letter-spacing:-.03em;max-width:19ch}
.ag-hero h1::after{content:"";display:block;width:96px;height:7px;margin-block-start:26px;background:var(--accent)}
.ag-hero p:not(.eyebrow){margin-block-start:26px;font-size:clamp(18px,1.5vw,21px);line-height:1.7;color:var(--ink-soft);max-width:60ch}
@media (max-width:640px){ .ag-hero{background-image:radial-gradient(circle,rgba(10,110,102,.13) 1.2px,transparent 1.8px)} }

.ag-lead{font-size:clamp(19px,1.5vw,21px);line-height:1.75;color:var(--ink);max-width:66ch}
.ag-prose p{font-size:18px;line-height:1.8;color:var(--ink-soft);max-width:68ch;margin-block-end:16px}
.ag-prose p:last-child{margin-block-end:0}
.ag-prose strong{color:var(--ink)}
p.ag-prose{font-size:18px;line-height:1.8;color:var(--ink-soft);max-width:68ch}

.ag-callout{margin-block-start:28px;max-width:68ch;padding:24px 28px;background:var(--card);border:1px solid var(--line);
  border-inline-start:6px solid var(--accent);border-radius:16px;border-start-start-radius:4px;border-end-start-radius:4px}
.ag-callout .q{display:block;font-weight:700;font-size:clamp(19px,1.7vw,23px);line-height:1.5;color:var(--ink)}

.ag-grid{display:grid;gap:clamp(14px,1.8vw,24px);grid-template-columns:minmax(0,1fr);margin-block-start:36px}
@media (min-width:640px){ .ag-grid{grid-template-columns:repeat(2,minmax(0,1fr))} }
@media (min-width:1024px){ .ag-grid{grid-template-columns:repeat(3,minmax(0,1fr))} }
.ag-card{position:relative;padding:28px 26px 26px;background:var(--card);border:1px solid var(--line);border-radius:16px}
.ag-card h3{font-size:clamp(19px,1.5vw,22px);line-height:1.3;margin-block-end:10px}
.ag-card p{font-size:16px;line-height:1.7;color:var(--ink-muted)}
.ag-card p + p,.ag-card ul + p{margin-block-start:10px}
.ag-card strong{color:var(--ink)}
.ag-card ul{margin:10px 0 0;padding-inline-start:1.2em;list-style:disc}
.ag-card li{font-size:16px;line-height:1.65;color:var(--ink-muted);margin-block-end:4px}
.ag-card li::marker{color:var(--accent)}
.ag-num{display:inline-grid;place-items:center;width:42px;height:42px;margin-block-end:18px;background:var(--accent);color:var(--on-accent);
  border-radius:2px 2px 10px 10px;font-weight:700;font-size:19px;line-height:1;font-variant-numeric:tabular-nums}

.ag-fit{display:grid;gap:clamp(14px,1.8vw,24px);grid-template-columns:minmax(0,1fr);margin-block-start:32px}
@media (min-width:760px){ .ag-fit{grid-template-columns:repeat(2,minmax(0,1fr))} }
.ag-fit-card{padding:28px 26px;background:var(--card);border:1px solid var(--line);border-radius:16px}
.ag-fit-card.ag-yes{border-top:4px solid var(--accent)}
.ag-fit-card.ag-no{border-top:4px solid var(--ink-faint)}
.ag-fit-card h3{font-size:clamp(19px,1.5vw,22px);margin-block-end:14px}
.ag-fit ul{list-style:none;margin:0;padding:0}
.ag-fit li{position:relative;padding-inline-start:30px;margin-block-end:12px;font-size:17px;line-height:1.6;color:var(--ink-soft)}
.ag-fit li:last-child{margin-block-end:0}
.ag-fit li::before{position:absolute;inset-inline-start:0;top:0;font-weight:700}
.ag-yes li::before{content:"\2713";color:#1d6b45}
.ag-no li::before{content:"\2715";color:#a11a1a}

.ag-principles{list-style:none;margin:28px 0 0;padding:0;display:grid;gap:10px;grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr));max-width:900px}
.ag-principles li{display:flex;align-items:center;gap:12px;padding:16px 18px;background:var(--card);border:1px solid var(--line);
  border-radius:4px 4px 14px 14px;font-weight:700;font-size:17px;line-height:1.4;color:var(--ink)}
.ag-principles li::before{content:"";flex:none;width:8px;height:8px;border-radius:2px;background:var(--accent)}

/* ---------- chatbot vs AI agent: the chat mock-up ---------- */
.cva-chat{max-width:920px;margin-inline:auto}
.cva-chat-title{text-align:center;font-weight:800;font-size:clamp(24px,2.6vw,34px);line-height:1.2;letter-spacing:-.02em;color:var(--ink)}
.cva-chat-qwrap{display:flex;justify-content:center;margin-block-start:26px}
/* the customer's message: the green of WhatsApp, because it depicts WhatsApp */
.cva-chat-q{max-width:min(34rem,100%);padding:13px 18px;background:#17774e;color:#ffffff;font-size:17px;line-height:1.55;
  border-radius:18px 18px 4px 18px}
.cva-chat-qlabel{text-align:center;margin-block-start:10px;font-size:14px;color:var(--ink-faint)}
.cva-chat-cols{display:grid;gap:clamp(14px,2vw,24px);grid-template-columns:minmax(0,1fr);margin-block-start:28px}
@media (min-width:700px){ .cva-chat-cols{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch} }
.cva-chat-card{display:flex;flex-direction:column;overflow:hidden;background:var(--card);border:1px solid var(--line);border-radius:16px}
.cva-chat-card.is-agent{border:2px solid var(--live-deep)}
.cva-chat-head{padding:11px 18px;font-weight:700;font-size:17px;color:#ffffff}
.cva-chat-head.is-bot{background:#59606b}
.cva-chat-head.is-agent{background:var(--live-deep)}
.cva-chat-body{flex:1;display:flex;flex-direction:column;gap:14px;padding:18px}
.cva-chat-reply{padding:12px 15px;background:var(--ground-2);border:1px solid var(--line);border-radius:16px 16px 16px 4px;
  font-size:16px;line-height:1.55;color:var(--ink)}
.cva-chat-card.is-agent .cva-chat-reply{background:var(--live-tint);border-color:#9fdcd3}
.cva-chat-status{margin-block-start:auto;font-weight:700;font-size:15px}
.cva-chat-status.is-bot{color:#a11a1a}
.cva-chat-status.is-agent{color:var(--live-deep)}
.cva-chat-tag{padding:4px 18px 16px;text-align:center;font-weight:700;font-size:15px;color:var(--ink-faint)}
.cva-chat-tag.is-agent{color:var(--live-deep)}
.cva-chat-punch{margin-block-start:26px;padding:16px 20px;text-align:center;font-weight:800;font-size:clamp(19px,1.8vw,23px);line-height:1.35;
  color:var(--ink);background:var(--live-tint);border:1px solid #9fdcd3;border-radius:4px 4px 16px 16px}

/* ---------- the comparison table: it scrolls inside its own box, never the page ---------- */
.cva-table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;margin-block-start:32px;background:var(--card);
  border:1px solid var(--line);border-radius:16px}
.cva-table{width:100%;min-width:560px;border-collapse:collapse;font-size:16px;line-height:1.55}
.cva-table th,.cva-table td{padding:15px 20px;text-align:start;vertical-align:top;border-bottom:1px solid var(--line)}
.cva-table thead th{font-weight:700;font-size:15px;color:var(--ink-muted);background:var(--ground-2);border-bottom:2px solid var(--ink)}
.cva-table thead th.col-agent{color:var(--live-deep);background:var(--live-tint)}
.cva-table tbody th{width:26%;font-weight:700;color:var(--ink)}
.cva-table td{color:var(--ink-muted)}
.cva-table td.col-agent{color:var(--ink);font-weight:500;background:#ecf8f6}
.cva-table tbody tr:last-child th,.cva-table tbody tr:last-child td{border-bottom:0}

.cva-signs{margin:0;padding-inline-start:1.5em;display:grid;gap:14px}
.cva-signs li{padding-inline-start:6px;font-size:17px;line-height:1.65;color:var(--ink)}
.cva-signs li::marker{color:var(--accent-deep);font-weight:700}

/* ---------- the closing call to action: a dark ink band ---------- */
.cta-final{position:relative;background:var(--slate);color:#f1f4f7;text-align:center}
.cta-inner{display:flex;flex-direction:column;align-items:center;gap:20px}
.cta-final .section-label{justify-content:center;margin:0}
.cta-title{font-size:clamp(30px,4vw,52px);font-weight:800;line-height:1.1;letter-spacing:-.025em;max-width:22ch;color:#ffffff}
.cta-sub{font-size:clamp(17px,1.4vw,20px);line-height:1.7;color:#c3c9d1;max-width:54ch}
.cta-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin-block-start:10px}
.cta-final .btn:focus-visible{outline-color:#ffffff}

/* ---------- footer: the near-black closing band, as on the home page ---------- */
footer{display:grid;gap:12px;padding:48px max(var(--pad), calc((100% - var(--wide)) / 2)) 72px;font-size:15px;color:#f1f4f7;background:#11161d}
.foot-links{display:flex;flex-wrap:wrap;gap:10px 28px;font-weight:500;padding-block-end:20px;margin-block-end:6px;border-bottom:1px solid rgba(238,241,245,.16)}
.foot-links a{text-decoration:underline;text-decoration-color:rgba(238,241,245,.35);text-underline-offset:5px;text-decoration-thickness:1px}
.foot-links a:first-child{font-weight:700}
.foot-links a:hover{text-decoration-color:var(--accent-night)}
.foot-legal{color:#c3c9d1;font-size:14px;line-height:1.7}
footer :focus-visible{outline-color:#ffffff}

/* ---------- scroll reveal ----------
   script.js adds .reveal only when it runs, has IntersectionObserver and motion is allowed, then adds .is-visible.
   The hidden start state applies only to .reveal without .is-visible, only when scripting is on and motion is allowed.
   A browser that does not know these media features skips the whole block, so the content simply shows. */
@media (prefers-reduced-motion:no-preference) and (scripting:enabled){
  .reveal{transition:opacity .6s ease,transform .6s cubic-bezier(.16,1,.3,1)}
  .reveal:not(.is-visible){opacity:0;transform:translateY(16px)}
}
.reveal.is-visible{opacity:1;transform:none}
@media print{
  .reveal{opacity:1!important;transform:none!important}
  .top,.skip-link,.mobile-nav,.nav-toggle{display:none!important}
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.001s!important;animation-delay:0s!important;transition:none!important}
  .reveal{opacity:1!important;transform:none!important}
}
