/* ===========================================================
   SmartAI — AI customer service for Malaysian businesses
   Design tokens: deep teal + warm amber, Manrope/Inter
   =========================================================== */

:root{
  --ink:            #0B1220;
  --ink-2:           #334155;
  --ink-3:           #475569;
  --muted:           #64748B;
  --bg:              #F7FAF9;
  --surface:         #FFFFFF;
  --line:            #E2E8E6;
  --line-2:          #D7DFDD;

  --primary:         #0F766E;
  --primary-dark:    #0B5B54;
  --primary-tint:    #EBF5F3;
  --primary-tint-2:  #DDEFEC;

  --accent:          #F59E0B;   /* decorative fill only, never text */
  --accent-ink:      #B45309;   /* AA-safe on white, use for text/icons */

  --dark:            #0B1220;
  --dark-2:          #132033;

  --success:         #16A34A;

  --r-sm: 10px; --r-md: 16px; --r-lg: 22px; --r-pill: 999px;
  --maxw: 1180px;
  --ease: cubic-bezier(.22,.61,.2,1);
  --shadow-sm: 0 1px 2px rgba(11,18,32,.05), 0 1px 1px rgba(11,18,32,.03);
  --shadow-md: 0 14px 34px -12px rgba(15,118,110,.22), 0 6px 14px -8px rgba(11,18,32,.08);
  --shadow-lg: 0 30px 60px -20px rgba(11,18,32,.28);

  --disp: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
html,body{ margin:0; padding:0; }
body{
  font-family:var(--sans); color:var(--ink-2); background:var(--bg);
  -webkit-font-smoothing:antialiased; line-height:1.6; font-size:16px;
}
img,svg{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3{ font-family:var(--disp); color:var(--ink); margin:0; line-height:1.15; letter-spacing:-.02em; }
p{ margin:0; }

.wrap{ max-width:var(--maxw); margin-inline:auto; padding-inline:clamp(20px,5vw,40px); }
.wrap-narrow{ max-width:760px; }

.skip-link{
  position:absolute; left:-999px; top:0; background:var(--ink); color:#fff;
  padding:10px 16px; border-radius:0 0 8px 0; z-index:200;
}
.skip-link:focus{ left:0; }

a:focus-visible, button:focus-visible, summary:focus-visible{
  outline:2px solid var(--primary); outline-offset:3px; border-radius:4px;
}

@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{ animation-duration:.01ms !important; transition-duration:.01ms !important; scroll-behavior:auto !important; }
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:12px 22px; border-radius:var(--r-pill); font-family:var(--sans);
  font-weight:600; font-size:14.5px; border:1px solid transparent; cursor:pointer;
  transition:transform 150ms var(--ease), box-shadow 150ms var(--ease), background 150ms var(--ease), color 150ms var(--ease), border-color 150ms var(--ease);
  white-space:nowrap;
}
.btn-lg{ padding:14px 26px; font-size:15.5px; }
.btn-block{ width:100%; }
.btn-primary{ background:var(--primary); color:#fff; box-shadow:var(--shadow-md); }
.btn-primary:hover{ background:var(--primary-dark); transform:translateY(-1px); }
.btn-secondary{ background:#fff; color:var(--primary); border-color:var(--line-2); }
.btn-secondary:hover{ border-color:var(--primary); background:var(--primary-tint); }
.btn-ghost{ background:transparent; color:var(--ink-2); }
.btn-ghost:hover{ color:var(--primary); }
.btn-ghost-light{ background:transparent; color:#fff; border-color:rgba(255,255,255,.35); }
.btn-ghost-light:hover{ border-color:#fff; background:rgba(255,255,255,.08); }

/* ---------- Header ---------- */
.site-header{
  position:sticky; top:0; z-index:100; background:rgba(247,250,249,.86);
  backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
  border-bottom:1px solid transparent; transition:border-color 200ms ease, box-shadow 200ms ease;
}
.site-header.is-scrolled{ border-color:var(--line); box-shadow:var(--shadow-sm); }
.header-inner{ display:flex; align-items:center; gap:28px; height:72px; }
.brand{ display:flex; align-items:center; gap:10px; margin-right:auto; }
.brand-mark{
  width:34px; height:34px; border-radius:10px; flex-shrink:0;
  background:linear-gradient(135deg, var(--primary), var(--primary-dark));
  display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow-sm);
}
.brand-word{ font-family:var(--disp); font-weight:800; font-size:18px; color:var(--ink); letter-spacing:-.01em; }
.main-nav{ display:flex; align-items:center; gap:28px; }
.main-nav a{ font-size:14.5px; font-weight:600; color:var(--ink-2); transition:color 150ms ease; }
.main-nav a:hover{ color:var(--primary); }
.header-actions{ display:flex; align-items:center; gap:10px; }
.nav-toggle{ display:none; background:none; border:none; color:var(--ink); cursor:pointer; padding:6px; }
.mobile-nav{ display:none; flex-direction:column; gap:2px; padding:8px 20px 18px; }
.mobile-nav a:not(.btn){ display:block; padding:10px 4px; font-weight:600; color:var(--ink-2); border-bottom:1px solid var(--line); }
.mobile-nav .btn{ margin-top:10px; }

@media (max-width:860px){
  .main-nav, .header-actions{ display:none; }
  .nav-toggle{ display:inline-flex; }
  .mobile-nav.is-open{ display:flex; }
}

/* ---------- Eyebrow / section title ---------- */
.eyebrow{
  display:inline-block; font-size:12.5px; font-weight:700; letter-spacing:.06em;
  text-transform:uppercase; color:var(--primary); margin-bottom:14px;
}
.eyebrow.center{ display:block; text-align:center; }
.section-title{ font-size:clamp(26px,3.4vw,38px); margin-bottom:0; }
.section-title.center{ text-align:center; max-width:680px; margin-inline:auto; }

/* ---------- Hero ---------- */
.hero{ padding:56px 0 84px; overflow:hidden; }
.hero-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center; }
.hero-copy h1{ font-size:clamp(34px,4.6vw,54px); margin-bottom:20px; }
.hero-copy .lede{ font-size:17.5px; color:var(--ink-3); max-width:52ch; margin-bottom:30px; }
.hero-ctas{ display:flex; gap:12px; flex-wrap:wrap; }
.hero-ctas.center{ justify-content:center; }
.micro-line{ font-size:13px; color:var(--muted); margin-top:14px; }
.trust-row{ display:flex; flex-wrap:wrap; gap:10px 22px; margin-top:30px; padding-top:24px; border-top:1px solid var(--line); }
.trust-row li{ font-size:12.5px; font-weight:600; color:var(--ink-3); position:relative; padding-left:16px; }
.trust-row li::before{ content:""; position:absolute; left:0; top:6px; width:7px; height:7px; border-radius:50%; background:var(--primary); }

.hero-visual{ position:relative; display:flex; justify-content:center; }
.phone-mock{
  width:290px; background:#fff; border-radius:30px; border:1px solid var(--line);
  box-shadow:var(--shadow-lg); overflow:hidden; position:relative;
}
.phone-notch{ height:22px; background:var(--dark); border-radius:0 0 14px 14px; width:110px; margin-inline:auto; }
.phone-head{
  display:flex; align-items:center; gap:10px; padding:14px 16px;
  background:linear-gradient(135deg, var(--primary), var(--primary-dark)); color:#fff;
}
.phone-avatar{
  width:34px; height:34px; border-radius:50%; background:rgba(255,255,255,.18);
  display:flex; align-items:center; justify-content:center; font-weight:800; font-family:var(--disp); flex-shrink:0;
}
.phone-head strong{ display:block; font-size:14px; }
.phone-head small{ font-size:11.5px; opacity:.85; }
.phone-body{ padding:16px 14px 20px; background:#F0F5F4; min-height:260px; display:flex; flex-direction:column; gap:9px; }
.bubble{ max-width:84%; padding:9px 13px; border-radius:14px; font-size:13px; line-height:1.5; }
.bubble.in{ align-self:flex-start; background:#fff; border:1px solid var(--line); color:var(--ink-2); border-bottom-left-radius:4px; }
.bubble.out{ align-self:flex-end; background:var(--primary); color:#fff; border-bottom-right-radius:4px; }
.typing-row{ align-self:flex-start; display:flex; gap:4px; padding:9px 13px; }
.typing-row .dot{ width:6px; height:6px; border-radius:50%; background:var(--muted); opacity:.5; animation:blink 1.4s infinite ease-in-out; }
.typing-row .dot:nth-child(2){ animation-delay:.2s; }
.typing-row .dot:nth-child(3){ animation-delay:.4s; }
@keyframes blink{ 0%,80%,100%{ opacity:.3; } 40%{ opacity:1; } }

.float-card{
  position:absolute; display:flex; align-items:center; gap:8px;
  background:#fff; border:1px solid var(--line); border-radius:var(--r-pill);
  padding:9px 14px; font-size:12.5px; font-weight:600; color:var(--ink-2); box-shadow:var(--shadow-md);
}
.float-card-a{ top:10%; left:-8%; }
.float-card-b{ bottom:8%; right:-6%; }
@media (max-width:1080px){ .float-card{ display:none; } }

/* ---------- Problem ---------- */
.problem{ padding:76px 0; background:var(--dark); color:#fff; }
.problem .section-title{ color:#fff; text-align:center; max-width:720px; margin-inline:auto 44px; }
.problem-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-top:44px; }
.problem-card{
  background:var(--dark-2); border:1px solid rgba(255,255,255,.08); border-radius:var(--r-md); padding:26px;
}
.p-icon{
  display:inline-flex; width:42px; height:42px; border-radius:12px; align-items:center; justify-content:center;
  background:rgba(245,158,11,.14); color:var(--accent); margin-bottom:16px;
}
.problem-card h3{ color:#fff; font-size:17px; margin-bottom:8px; }
.problem-card p{ color:#A8B3C4; font-size:14px; }

/* ---------- How it works ---------- */
.how{ padding:84px 0; }
.steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:30px; margin-top:48px; position:relative; }
.steps::before{
  content:""; position:absolute; top:22px; left:16%; right:16%; height:2px;
  background:repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 16px);
}
.step{ text-align:center; position:relative; }
.step-num{
  display:flex; width:44px; height:44px; border-radius:50%; align-items:center; justify-content:center;
  background:var(--primary); color:#fff; font-family:var(--disp); font-weight:800; font-size:16px;
  margin:0 auto 18px; position:relative; z-index:1; box-shadow:0 0 0 8px var(--bg);
}
.step h3{ font-size:18px; margin-bottom:8px; }
.step p{ font-size:14px; color:var(--ink-3); max-width:32ch; margin-inline:auto; }

/* ---------- Showcase / tabs ---------- */
.showcase{ padding:84px 0; background:var(--surface); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.tabs{ display:flex; justify-content:center; gap:6px; margin:40px 0 8px; flex-wrap:wrap; }
.tab-btn{
  border:none; background:transparent; padding:10px 18px; border-radius:var(--r-pill);
  font-family:var(--sans); font-weight:600; font-size:13.5px; color:var(--ink-3); cursor:pointer;
  transition:background 150ms ease, color 150ms ease;
}
.tab-btn:hover{ color:var(--primary); }
.tab-btn.is-active{ background:var(--primary); color:#fff; }
.tab-panel{ display:none; }
.tab-panel.is-active{ display:block; }
.showcase-grid{ display:grid; grid-template-columns:.75fr 1.25fr; gap:44px; align-items:center; margin-top:36px; }
.mini-phone{ background:#F0F5F4; border:1px solid var(--line); border-radius:var(--r-lg); overflow:hidden; max-width:320px; margin-inline:auto; box-shadow:var(--shadow-md); }
.mini-head{ padding:12px 16px; font-weight:700; font-size:13px; color:#fff; }
.mini-head.wa{ background:var(--primary); }
.mini-head.site{ background:var(--ink); }
.mini-head.fb{ background:#3B5998; }
.mini-body{ padding:16px; display:flex; flex-direction:column; gap:9px; min-height:140px; }
.showcase-copy h3{ font-size:22px; margin-bottom:12px; }
.showcase-copy p{ font-size:15px; color:var(--ink-3); max-width:44ch; }

@media (max-width:760px){
  .showcase-grid{ grid-template-columns:1fr; text-align:center; }
  .showcase-copy p{ margin-inline:auto; }
}

/* ---------- Accuracy & data ---------- */
.accuracy{ padding:84px 0; }
.accuracy-grid{ display:grid; grid-template-columns:1fr 1fr; gap:24px; margin-top:44px; }
.accuracy-card{ background:var(--primary-tint); border:1px solid var(--primary-tint-2); border-radius:var(--r-lg); padding:32px; }
.a-icon{
  display:inline-flex; width:46px; height:46px; border-radius:13px; align-items:center; justify-content:center;
  background:#fff; color:var(--primary); margin-bottom:18px; box-shadow:var(--shadow-sm);
}
.accuracy-card h3{ font-size:19px; margin-bottom:10px; }
.accuracy-card p{ font-size:14.5px; color:var(--ink-3); }

/* ---------- Industries ---------- */
.industries{ padding:84px 0; background:var(--surface); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.industry-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:44px; }
.industry-card{
  border:1px solid var(--line); border-radius:var(--r-md); padding:24px;
  transition:border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}
.industry-card:hover{ border-color:var(--primary-tint-2); box-shadow:var(--shadow-md); transform:translateY(-2px); }
.i-icon{ font-size:26px; display:block; margin-bottom:14px; }
.industry-card h3{ font-size:16.5px; margin-bottom:8px; }
.industry-card p{ font-size:13.5px; color:var(--ink-3); }

/* ---------- Pricing ---------- */
.pricing{ padding:84px 0; }
.pricing-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-top:44px; align-items:stretch; }
.price-card{
  background:#fff; border:1px solid var(--line); border-radius:var(--r-lg); padding:30px;
  display:flex; flex-direction:column; position:relative;
}
.price-card.is-popular{ border-color:var(--primary); box-shadow:var(--shadow-md); transform:translateY(-6px); }
.popular-badge{
  position:absolute; top:-13px; left:50%; transform:translateX(-50%);
  background:var(--primary); color:#fff; font-size:11px; font-weight:700;
  padding:5px 14px; border-radius:var(--r-pill); letter-spacing:.03em;
}
.price-card h3{ font-size:16px; color:var(--ink-3); font-weight:700; margin-bottom:10px; }
.price{ font-family:var(--disp); font-size:15px; color:var(--ink-3); margin-bottom:4px; }
.price span{ font-size:38px; font-weight:800; color:var(--ink); letter-spacing:-.02em; }
.price-sub{ font-size:13.5px; color:var(--muted); margin-bottom:22px; }
.price-features{ display:flex; flex-direction:column; gap:11px; margin-bottom:26px; flex:1; }
.price-features li{ font-size:13.5px; color:var(--ink-2); padding-left:22px; position:relative; }
.price-features li::before{
  content:""; position:absolute; left:0; top:6px; width:13px; height:13px; border-radius:50%;
  background:var(--primary-tint); box-shadow:inset 0 0 0 1px var(--primary-tint-2);
}
.price-features li::after{
  content:""; position:absolute; left:3.5px; top:8px; width:6px; height:3.5px;
  border-left:1.6px solid var(--primary); border-bottom:1.6px solid var(--primary); transform:rotate(-45deg);
}
.pricing-foot{ text-align:center; margin-top:34px; font-size:14px; color:var(--ink-3); }
.pricing-foot a{ color:var(--primary); font-weight:600; }
.pricing-foot a:hover{ text-decoration:underline; }

@media (max-width:860px){
  .pricing-grid{ grid-template-columns:1fr; max-width:400px; margin-inline:auto; }
  .price-card.is-popular{ transform:none; }
}

/* ---------- FAQ ---------- */
.faq{ padding:84px 0; background:var(--surface); border-top:1px solid var(--line); }
.accordion{ margin-top:40px; display:flex; flex-direction:column; gap:10px; }
.acc-item{
  border:1px solid var(--line); border-radius:var(--r-md); padding:4px 22px; background:#fff;
  transition:border-color 150ms ease;
}
.acc-item[open]{ border-color:var(--primary-tint-2); }
.acc-item summary{
  cursor:pointer; list-style:none; padding:18px 0; font-weight:600; font-size:15.5px; color:var(--ink);
  display:flex; align-items:center; justify-content:space-between; gap:12px;
}
.acc-item summary::-webkit-details-marker{ display:none; }
.acc-item summary::after{
  content:"+"; font-size:20px; font-weight:400; color:var(--primary); flex-shrink:0;
  transition:transform 200ms ease;
}
.acc-item[open] summary::after{ transform:rotate(45deg); }
.acc-item p{ padding-bottom:18px; font-size:14.5px; color:var(--ink-3); max-width:64ch; }

/* ---------- Final CTA ---------- */
.final-cta{
  padding:84px 0; text-align:center;
  background:linear-gradient(160deg, var(--dark) 0%, var(--primary-dark) 130%);
  color:#fff;
}
.final-cta h2{ color:#fff; font-size:clamp(26px,3.6vw,38px); margin-bottom:14px; }
.final-cta p{ color:#B9E6E0; font-size:16px; margin-bottom:30px; }

/* ---------- Footer ---------- */
.site-footer{ background:var(--dark); color:#A8B3C4; padding:56px 0 0; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:32px; padding-bottom:44px; }
.footer-brand .brand{ margin-bottom:14px; }
.footer-brand .brand-word{ color:#fff; }
.footer-brand p{ font-size:13.5px; max-width:32ch; }
.footer-col h4{ color:#fff; font-family:var(--disp); font-size:13px; text-transform:uppercase; letter-spacing:.05em; margin-bottom:16px; }
.footer-col a, .footer-col .footer-soon{ display:block; font-size:13.5px; margin-bottom:11px; color:#A8B3C4; }
.footer-col a:hover{ color:#fff; }
.footer-soon em{ font-style:normal; color:#5B6B80; font-size:12px; }
.footer-bottom{ border-top:1px solid rgba(255,255,255,.08); padding:20px 0; }
.footer-bottom p{ font-size:12.5px; color:#5B6B80; }

@media (max-width:760px){
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .footer-brand{ grid-column:1 / -1; }
}

/* ---------- Generic responsive ---------- */
@media (max-width:960px){
  .hero-grid{ grid-template-columns:1fr; }
  .hero-visual{ order:-1; margin-bottom:8px; }
  .problem-grid, .accuracy-grid{ grid-template-columns:1fr; }
  .steps{ grid-template-columns:1fr; gap:36px; }
  .steps::before{ display:none; }
  .industry-grid{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:560px){
  .industry-grid{ grid-template-columns:1fr; }
  .hero-ctas{ flex-direction:column; align-items:stretch; }
  .hero-ctas .btn{ width:100%; }
}

/* ---------- Reveal-on-scroll ---------- */
.reveal{ opacity:0; transform:translateY(16px); transition:opacity 550ms var(--ease), transform 550ms var(--ease); }
.reveal.rx{ transform:translateX(18px); }
.reveal.in{ opacity:1; transform:none; }

/* ===========================================================
   Sub-page components (added when the site expanded beyond
   the homepage — inner pages, legal, docs, compare, contact)
   =========================================================== */

/* ---------- Breadcrumb ---------- */
.breadcrumb{ padding:20px 0 0; font-size:13px; color:var(--muted); }
.breadcrumb a{ color:var(--muted); }
.breadcrumb a:hover{ color:var(--primary); }
.breadcrumb .sep{ margin:0 6px; opacity:.6; }
.breadcrumb .current{ color:var(--ink-3); }

/* ---------- Simple page hero (inner pages) ---------- */
.page-hero{ padding:38px 0 64px; }
.page-hero.is-tight{ padding-bottom:44px; }
.page-hero h1{ font-size:clamp(30px,4vw,46px); margin-bottom:16px; max-width:22ch; }
.page-hero .lede{ font-size:17px; color:var(--ink-3); max-width:58ch; margin-bottom:26px; }
.page-hero-dark{ background:var(--dark); color:#fff; }
.page-hero-dark h1{ color:#fff; }
.page-hero-dark .lede{ color:#B9C3D4; }
.page-hero-dark .eyebrow{ color:#5EEAD4; }

/* ---------- Generic content section rhythm ---------- */
.section{ padding:64px 0; }
.section.is-tight{ padding:44px 0; }
.section-alt{ background:var(--surface); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.section-soft{ background:var(--primary-tint); }

/* ---------- Two-col feature row (used on Product/Features/WhatsApp pages) ---------- */
.feature-row{ display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; padding:56px 0; border-bottom:1px solid var(--line); }
.feature-row:last-child{ border-bottom:none; }
.feature-row.is-reverse .feature-visual{ order:2; }
.feature-row h3{ font-size:24px; margin-bottom:14px; }
.feature-row p{ font-size:15.5px; color:var(--ink-3); max-width:48ch; }
.feature-visual{ background:var(--primary-tint); border:1px solid var(--primary-tint-2); border-radius:var(--r-lg); padding:34px; min-height:220px; display:flex; align-items:center; justify-content:center; }
.feature-visual .icon-xl{ color:var(--primary); }
@media (max-width:800px){
  .feature-row{ grid-template-columns:1fr; gap:26px; }
  .feature-row.is-reverse .feature-visual{ order:0; }
}

/* ---------- Simple feature grid (Features page) ---------- */
.feat-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.feat-card{ border:1px solid var(--line); border-radius:var(--r-md); padding:24px; background:#fff; }
.feat-card .f-icon{ display:inline-flex; width:40px; height:40px; border-radius:11px; align-items:center; justify-content:center; background:var(--primary-tint); color:var(--primary); margin-bottom:14px; }
.feat-card h3{ font-size:16px; margin-bottom:8px; }
.feat-card p{ font-size:13.5px; color:var(--ink-3); margin-bottom:8px; }
.feat-card .f-outcome{ font-size:12.5px; font-weight:600; color:var(--primary); }
@media (max-width:860px){ .feat-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .feat-grid{ grid-template-columns:1fr; } }

/* ---------- Solutions hub grid ---------- */
.solutions-hub-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.solutions-hub-card{
  display:block; border:1px solid var(--line); border-radius:var(--r-md); padding:26px;
  background:#fff; transition:border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}
.solutions-hub-card:hover{ border-color:var(--primary-tint-2); box-shadow:var(--shadow-md); transform:translateY(-2px); }
.solutions-hub-card .i-icon{ font-size:26px; display:block; margin-bottom:14px; }
.solutions-hub-card h3{ font-size:16.5px; margin-bottom:8px; }
.solutions-hub-card p{ font-size:13.5px; color:var(--ink-3); margin-bottom:10px; }
.solutions-hub-card .card-cta{ font-size:13px; font-weight:600; color:var(--primary); }
@media (max-width:860px){ .solutions-hub-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .solutions-hub-grid{ grid-template-columns:1fr; } }

/* ---------- Industry detail page ---------- */
.industry-detail-grid{ display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:start; }
.pain-list, .solve-list{ display:flex; flex-direction:column; gap:14px; margin-top:18px; }
.pain-list li, .solve-list li{ display:flex; gap:12px; font-size:14.5px; color:var(--ink-2); line-height:1.55; }
.pain-list .dot{ flex-shrink:0; width:8px; height:8px; border-radius:50%; background:var(--accent); margin-top:7px; }
.solve-list .check{ flex-shrink:0; width:20px; height:20px; border-radius:50%; background:var(--primary-tint); color:var(--primary); display:flex; align-items:center; justify-content:center; }
@media (max-width:800px){ .industry-detail-grid{ grid-template-columns:1fr; } }

/* ---------- Compare table ---------- */
.compare-hub-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
@media (max-width:700px){ .compare-hub-grid{ grid-template-columns:1fr; } }
.compare-table-wrap{ overflow-x:auto; border:1px solid var(--line); border-radius:var(--r-lg); background:#fff; }
table.compare-table{ width:100%; border-collapse:collapse; font-size:14px; min-width:520px; }
table.compare-table th, table.compare-table td{ padding:16px 20px; text-align:left; border-bottom:1px solid var(--line); vertical-align:top; }
table.compare-table thead th{ font-family:var(--disp); font-weight:700; font-size:13px; color:var(--ink-3); text-transform:uppercase; letter-spacing:.04em; background:var(--bg); }
table.compare-table th:first-child, table.compare-table td:first-child{ font-weight:600; color:var(--ink); width:26%; }
table.compare-table tbody tr:last-child td{ border-bottom:none; }
table.compare-table td.col-them{ color:var(--ink-3); }
table.compare-table td.col-us{ color:var(--primary-dark); font-weight:600; }
.compare-angle{ background:var(--primary-tint); border:1px solid var(--primary-tint-2); border-radius:var(--r-lg); padding:28px; margin-top:28px; }
.compare-angle h3{ font-size:17px; margin-bottom:10px; }
.compare-angle p{ font-size:14.5px; color:var(--ink-2); }

/* ---------- Legal pages ---------- */
.legal-banner{
  display:flex; gap:12px; align-items:flex-start; background:#FEF3C7; border:1px solid #FDE68A;
  color:#92400E; border-radius:var(--r-md); padding:16px 20px; font-size:13.5px; line-height:1.6; margin-bottom:36px;
}
.legal-banner svg{ flex-shrink:0; margin-top:2px; }
.prose{ font-size:15px; color:var(--ink-2); max-width:74ch; }
.prose h2{ font-size:19px; margin:34px 0 12px; }
.prose h2:first-child{ margin-top:0; }
.prose p{ margin-bottom:14px; }
.prose ul{ margin:0 0 14px; padding-left:20px; list-style:disc; }
.prose li{ margin-bottom:8px; }
.prose strong{ color:var(--ink); }
.prose .updated{ font-size:13px; color:var(--muted); margin-bottom:30px; display:block; }

/* ---------- Sub-processor table ---------- */
table.subproc-table{ width:100%; border-collapse:collapse; font-size:14px; margin-top:10px; }
table.subproc-table th, table.subproc-table td{ padding:14px 16px; text-align:left; border-bottom:1px solid var(--line); }
table.subproc-table thead th{ font-size:12px; text-transform:uppercase; letter-spacing:.04em; color:var(--ink-3); background:var(--bg); }

/* ---------- Docs layout ---------- */
.docs-layout{ display:grid; grid-template-columns:240px 1fr; gap:44px; align-items:start; }
.docs-nav{ position:sticky; top:92px; display:flex; flex-direction:column; gap:2px; }
.docs-nav a{ padding:8px 12px; border-radius:var(--r-sm); font-size:13.5px; font-weight:600; color:var(--ink-3); }
.docs-nav a:hover{ background:var(--primary-tint); color:var(--primary); }
.docs-nav a.is-active{ background:var(--primary-tint); color:var(--primary); }
.docs-section{ padding-bottom:40px; margin-bottom:40px; border-bottom:1px solid var(--line); }
.docs-section:last-child{ border-bottom:none; }
.docs-section h2{ font-size:20px; margin-bottom:12px; }
.docs-section p{ font-size:14.5px; color:var(--ink-3); margin-bottom:12px; max-width:64ch; }
.docs-badge{ display:inline-flex; align-items:center; gap:6px; font-size:11.5px; font-weight:700; text-transform:uppercase; letter-spacing:.04em; color:var(--accent-ink); background:#FEF3C7; padding:4px 10px; border-radius:var(--r-pill); margin-bottom:14px; }
code.inline-code{ background:var(--bg); border:1px solid var(--line); border-radius:5px; padding:2px 6px; font-family:"Fira Code", ui-monospace, monospace; font-size:13px; color:var(--ink-2); }
@media (max-width:800px){ .docs-layout{ grid-template-columns:1fr; } .docs-nav{ position:static; flex-direction:row; flex-wrap:wrap; } }

/* ---------- Contact page ---------- */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:start; }
.contact-channels{ display:flex; flex-direction:column; gap:16px; }
.contact-channel{ display:flex; gap:14px; align-items:flex-start; border:1px solid var(--line); border-radius:var(--r-md); padding:18px 20px; background:#fff; }
.contact-channel .c-icon{ width:38px; height:38px; border-radius:11px; flex-shrink:0; background:var(--primary-tint); color:var(--primary); display:flex; align-items:center; justify-content:center; }
.contact-channel h4{ font-family:var(--disp); font-size:14.5px; color:var(--ink); margin-bottom:3px; }
.contact-channel p{ font-size:13.5px; color:var(--ink-3); }
.contact-form{ display:flex; flex-direction:column; gap:16px; background:#fff; border:1px solid var(--line); border-radius:var(--r-lg); padding:30px; }
.form-field label{ display:block; font-size:13px; font-weight:600; color:var(--ink-2); margin-bottom:6px; }
.form-field input, .form-field textarea, .form-field select{
  width:100%; padding:11px 13px; border:1px solid var(--line-2); border-radius:var(--r-sm);
  font-family:var(--sans); font-size:14px; color:var(--ink); background:#fff;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus{ outline:none; border-color:var(--primary); box-shadow:0 0 0 3px var(--primary-tint); }
.form-field textarea{ resize:vertical; min-height:110px; }
@media (max-width:800px){ .contact-grid{ grid-template-columns:1fr; } }

/* ---------- About page ---------- */
.about-stats{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin:36px 0; }
.about-stat{ text-align:center; border:1px solid var(--line); border-radius:var(--r-md); padding:22px; background:#fff; }
.about-stat strong{ display:block; font-family:var(--disp); font-size:24px; color:var(--primary); }
.about-stat span{ font-size:12.5px; color:var(--muted); }
.value-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.value-card{ padding:22px 0; }
.value-card h3{ font-size:16px; margin-bottom:8px; }
.value-card p{ font-size:13.5px; color:var(--ink-3); }
@media (max-width:800px){ .about-stats, .value-grid{ grid-template-columns:1fr; } }

/* ---------- Empty state (case studies cold-start) ---------- */
.empty-state{
  text-align:center; padding:56px 30px; border:1px dashed var(--line-2); border-radius:var(--r-lg); background:#fff;
}
.empty-state .e-icon{ display:inline-flex; width:52px; height:52px; border-radius:50%; background:var(--primary-tint); color:var(--primary); align-items:center; justify-content:center; margin-bottom:18px; }
.empty-state h3{ font-size:19px; margin-bottom:10px; }
.empty-state p{ font-size:14.5px; color:var(--ink-3); max-width:48ch; margin:0 auto 22px; }

/* ---------- Blog ---------- */
.blog-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.blog-card{ border:1px solid var(--line); border-radius:var(--r-md); background:#fff; padding:24px; display:flex; flex-direction:column; }
.blog-card .b-tag{ font-size:11.5px; font-weight:700; text-transform:uppercase; letter-spacing:.05em; color:var(--primary); margin-bottom:10px; }
.blog-card h3{ font-size:16.5px; margin-bottom:10px; flex:1; }
.blog-card p{ font-size:13.5px; color:var(--ink-3); margin-bottom:14px; }
.blog-card .b-meta{ font-size:12px; color:var(--muted); }
.blog-card.is-soon{ opacity:.6; }
@media (max-width:860px){ .blog-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .blog-grid{ grid-template-columns:1fr; } }
.blog-article .prose{ margin-inline:auto; }
.article-head{ text-align:center; margin-bottom:8px; }
.article-head .b-meta{ font-size:13px; color:var(--muted); margin-top:10px; display:block; }

/* ---------- FAQ page (categorised) ---------- */
.faq-cat-nav{ display:flex; flex-wrap:wrap; gap:8px; justify-content:center; margin:32px 0 8px; }
.faq-cat-nav a{ font-size:13px; font-weight:600; padding:8px 16px; border-radius:var(--r-pill); border:1px solid var(--line); color:var(--ink-3); }
.faq-cat-nav a:hover{ border-color:var(--primary); color:var(--primary); }
.faq-category{ margin-top:52px; }
.faq-category h2{ font-size:20px; margin-bottom:20px; }

/* ---------- Small utility ---------- */
.center-col{ max-width:760px; margin-inline:auto; text-align:center; }
.mt-lg{ margin-top:44px; }

/* inline link inside a problem/feature card */
.card-link{ display:inline-block; margin-top:12px; font-size:13.5px; font-weight:700;
  color:var(--primary); border-bottom:1px solid transparent; transition:border-color .15s var(--ease); }
.card-link:hover{ border-bottom-color:var(--primary); }
/* The problem cards sit on the dark band, where the brand teal only reaches
   3.42:1 — below AA for normal text. Use the light teal there (12.66:1). */
.problem .card-link{ color:#5EEAD4; }
.problem .card-link:hover{ border-bottom-color:#5EEAD4; }

/* ===========================================================
   V2 HOMEPAGE COMPONENTS
   Built from the existing tokens only — no new colours, no new
   type scale. Every block below has one job: explain, demonstrate,
   prove or convert.
   =========================================================== */

/* shared section lede + claim line ------------------------------------- */
.sec-lede{ max-width:640px; margin:14px auto 0; text-align:center; color:var(--ink-3); font-size:17px; }
.claim{
  max-width:720px; margin:32px auto 0; text-align:center; font-size:15.5px;
  color:var(--ink-2); background:var(--primary-tint); border:1px solid var(--primary-tint-2);
  border-radius:var(--r-md); padding:16px 22px;
}
.center-cta{ text-align:center; margin-top:28px; }

/* 2. trust strip -------------------------------------------------------- */
.trust-strip{ background:var(--surface); border-top:1px solid var(--line); border-bottom:1px solid var(--line); padding:18px 0; }
.trust-strip ul{ display:flex; flex-wrap:wrap; justify-content:center; gap:10px 30px; align-items:center; }
.trust-strip li{ font-size:13.5px; font-weight:650; color:var(--ink-3); display:flex; align-items:center; gap:9px; }
.trust-strip li::before{ content:''; width:6px; height:6px; border-radius:50%; background:var(--primary); flex:none; }

/* 3. problem ------------------------------------------------------------ */
.problem-grid.four{ grid-template-columns:repeat(auto-fit,minmax(min(100%,225px),1fr)); }
.problem-card .when{
  display:inline-block; font-size:11.5px; font-weight:800; letter-spacing:.1em; text-transform:uppercase;
  color:#5EEAD4; background:rgba(94,234,212,.10); border:1px solid rgba(94,234,212,.22);
  padding:4px 10px; border-radius:var(--r-pill); margin-bottom:12px;
}
.problem-foot{ text-align:center; margin-top:34px; font-size:17px; font-weight:600; color:#CBD5E1; max-width:640px; margin-inline:auto; }

/* 4. platform architecture ---------------------------------------------- */
.arch{ display:grid; grid-template-columns:1fr auto auto auto 1fr; gap:14px; align-items:center; margin-top:38px; }
.arch-col{ min-width:0; }
.arch-label{ display:block; text-align:center; font-size:11px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; color:var(--muted); margin-bottom:12px; }
.arch-nodes{ display:flex; flex-direction:column; gap:8px; }
.arch-node{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--r-sm);
  padding:10px 14px; font-size:14px; font-weight:600; color:var(--ink-2); text-align:center; box-shadow:var(--shadow-sm);
}
.arch-node.out{ border-color:var(--primary-tint-2); background:var(--primary-tint); color:var(--primary-dark); }
.arch-mid{ display:flex; align-items:center; justify-content:center; padding:0 4px; }
.arch-arrow{ width:34px; height:2px; background:var(--line-2); position:relative; display:block; }
.arch-arrow::after{ content:''; position:absolute; right:-1px; top:-4px; border-left:8px solid var(--line-2); border-top:5px solid transparent; border-bottom:5px solid transparent; }
.arch-core{
  background:linear-gradient(160deg,var(--dark),var(--primary-dark)); color:#fff;
  border-radius:var(--r-lg); padding:30px 26px; text-align:center; box-shadow:var(--shadow-lg); min-width:180px;
}
.arch-core-mark{ display:block; font-family:var(--disp); font-size:23px; font-weight:800; letter-spacing:-.02em; }
.arch-core-sub{ display:block; margin-top:6px; font-size:12.5px; color:#B9E6E0; }

/* 5. pillars ------------------------------------------------------------ */
.pillars{ display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,192px),1fr)); gap:16px; margin-top:34px; }
.pillar{
  display:block; background:var(--surface); border:1px solid var(--line); border-radius:var(--r-md);
  padding:22px 20px; box-shadow:var(--shadow-sm);
  transition:transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.pillar:hover{ transform:translateY(-3px); box-shadow:var(--shadow-md); border-color:var(--primary-tint-2); }
.pillar-n{ display:grid; place-items:center; width:28px; height:28px; border-radius:50%; background:var(--primary-tint); color:var(--primary-dark); font-size:12.5px; font-weight:800; margin-bottom:12px; }
.pillar h3{ font-size:17px; margin-bottom:7px; }
.pillar p{ font-size:14px; color:var(--ink-3); }

/* 6. knowledge flow ----------------------------------------------------- */
.flow-3{ display:grid; grid-template-columns:1fr auto 1fr auto 1fr; gap:12px; align-items:center; margin-top:36px; }
.flow-step{ background:var(--surface); border:1px solid var(--line); border-radius:var(--r-md); padding:20px 18px; box-shadow:var(--shadow-sm); min-width:0; }
.flow-step.is-core{ background:var(--dark); border-color:var(--dark); }
.flow-step.is-core .flow-cap{ color:#5EEAD4; }
.flow-step.is-core p{ color:#CBD5E1; }
.flow-cap{ display:block; font-size:11px; font-weight:800; letter-spacing:.11em; text-transform:uppercase; color:var(--primary); margin-bottom:12px; }
.flow-step p{ font-size:14px; color:var(--ink-3); }
.flow-arrow{ width:26px; height:2px; background:var(--line-2); position:relative; display:block; }
.flow-arrow::after{ content:''; position:absolute; right:-1px; top:-4px; border-left:8px solid var(--line-2); border-top:5px solid transparent; border-bottom:5px solid transparent; }

/* chips ----------------------------------------------------------------- */
.chip-row{ display:flex; flex-wrap:wrap; gap:7px; }
.chip-row li{ font-size:12.5px; font-weight:600; color:var(--ink-3); background:var(--bg); border:1px solid var(--line); border-radius:var(--r-pill); padding:5px 11px; }
.chip-row.tight li{ font-size:12px; padding:4px 10px; }

/* 7. code-switching ----------------------------------------------------- */
.cs-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr)); gap:18px; margin-top:34px; }
.cs-card{ background:var(--surface); border:1px solid var(--line); border-radius:var(--r-md); padding:22px; box-shadow:var(--shadow-sm); }
.cs-card.is-out{ background:var(--primary-tint); border-color:var(--primary-tint-2); }
.cs-tag{ display:block; font-size:11px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); margin-bottom:12px; }
.cs-msg{ font-size:16.5px; line-height:1.55; color:var(--ink); font-weight:600; }
.cs-note{ display:block; margin-top:14px; font-size:13px; color:var(--ink-3); }

/* 8. lead capture ------------------------------------------------------- */
.capture{ display:grid; grid-template-columns:1.15fr 1fr; gap:22px; margin-top:34px; align-items:start; }
.capture-flow{ list-style:none; padding:0; margin:0; display:grid; gap:10px; }
.capture-flow li{
  display:flex; align-items:center; gap:13px; background:var(--surface); border:1px solid var(--line);
  border-radius:var(--r-sm); padding:13px 16px; font-size:14.5px; font-weight:600; color:var(--ink-2); box-shadow:var(--shadow-sm);
}
.capture-flow li span{ display:grid; place-items:center; width:25px; height:25px; border-radius:50%; flex:none; background:var(--primary); color:#fff; font-size:12px; font-weight:800; }
.capture-card{ background:var(--dark); border-radius:var(--r-md); padding:24px 22px; box-shadow:var(--shadow-md); }
.cap-title{ display:block; font-size:11px; font-weight:800; letter-spacing:.11em; text-transform:uppercase; color:#5EEAD4; margin-bottom:14px; }
.capture-card .chip-row li{ background:rgba(255,255,255,.06); border-color:rgba(255,255,255,.14); color:#E2E8F0; }

/* 9. human + AI --------------------------------------------------------- */
.hai{ display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr)); gap:18px; margin-top:34px; }
.hai-col{ background:var(--surface); border:1px solid var(--line); border-radius:var(--r-md); padding:24px 22px; box-shadow:var(--shadow-sm); }
.hai-col h3{ font-size:17px; margin-bottom:16px; }
.hai-col.is-human{ background:var(--dark); border-color:var(--dark); }
.hai-col.is-human h3{ color:#fff; }
.tick-list{ list-style:none; padding:0; margin:0; display:grid; gap:11px; }
.tick-list li{ display:flex; gap:11px; font-size:14.5px; color:var(--ink-3); align-items:flex-start; }
.tick-list .tk{ flex:none; width:20px; height:20px; border-radius:50%; display:grid; place-items:center; background:var(--primary-tint); color:var(--primary-dark); margin-top:1px; }
.tick-list.human li{ color:#CBD5E1; }
.tick-list.human .tk{ background:rgba(94,234,212,.14); color:#5EEAD4; font-size:9px; }

/* 10. analytics --------------------------------------------------------- */
.an-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr)); gap:16px; margin-top:34px; }
.an-card{ background:var(--surface); border:1px solid var(--line); border-left:3px solid var(--primary); border-radius:var(--r-sm); padding:20px; box-shadow:var(--shadow-sm); }
.an-card h3{ font-size:16px; margin-bottom:7px; }
.an-card p{ font-size:14px; color:var(--ink-3); }

/* 13. industry cards become links --------------------------------------- */
a.industry-card{ display:block; transition:transform .18s var(--ease), box-shadow .18s var(--ease); }
a.industry-card:hover{ transform:translateY(-3px); box-shadow:var(--shadow-md); }
a.industry-card .card-cta{ display:inline-block; margin-top:14px; font-size:13.5px; font-weight:700; color:var(--primary); }

/* 14. security ---------------------------------------------------------- */
.sec-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr)); gap:16px; margin-top:34px; }
.sec-card{ background:var(--surface); border:1px solid var(--line); border-radius:var(--r-md); padding:22px 20px; box-shadow:var(--shadow-sm); }
.sec-card h3{ font-size:16px; margin-bottom:8px; }
.sec-card p{ font-size:14px; color:var(--ink-3); }

/* responsive ------------------------------------------------------------ */
@media (max-width:1000px){
  .arch{ grid-template-columns:1fr; gap:18px; }
  .arch-mid{ transform:rotate(90deg); padding:2px 0; }
  .arch-nodes{ flex-direction:row; flex-wrap:wrap; justify-content:center; }
  .arch-node{ flex:0 1 auto; }
  .flow-3{ grid-template-columns:1fr; gap:16px; }
  .flow-arrow{ transform:rotate(90deg); margin-inline:auto; }
  .capture{ grid-template-columns:1fr; }
}
@media (max-width:640px){
  .trust-strip ul{ gap:9px 18px; }
  .trust-strip li{ font-size:12.5px; }
  .claim{ font-size:14.5px; padding:14px 18px; }
  .cs-msg{ font-size:15px; }
}

/* Hero order on small screens ------------------------------------------
   The visual used to carry order:-1, putting a tall phone mock above the
   headline -- so a phone visitor met a chat screenshot before they learned
   what the product was, with both CTAs pushed off the first screen.
   Copy first, product second. */
@media (max-width:960px){
  .hero-visual{ order:0; margin-bottom:0; margin-top:34px; }
}

/* ===========================================================
   V2 SOLUTION-PAGE COMPONENTS
   Deliberately small: the industry pages reuse .mini-phone,
   .bubble, .hai, .tick-list, .an-grid, .chip-row, .capture-flow
   and .accordion from elsewhere in this stylesheet. Only the
   pieces below are genuinely new.
   =========================================================== */

.conv-note{ margin-top:14px; font-size:13.5px; color:var(--ink-3); text-align:center; max-width:38ch; margin-inline:auto; }

/* the workflow list runs horizontally when there is room */
.capture-flow.wide{ grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr)); }

/* "where SmartAI stops" — the boundary statement on regulated industries.
   Amber rail, but the AA-safe --accent-ink for any text; #F59E0B is
   decorative-only per the design tokens. */
.boundary{
  margin-top:30px; border-left:3px solid var(--accent-ink); background:var(--surface);
  border-radius:0 var(--r-md) var(--r-md) 0; padding:20px 24px; box-shadow:var(--shadow-sm);
  max-width:780px; margin-inline:auto;
}
.boundary-tag{
  display:block; font-size:11px; font-weight:800; letter-spacing:.11em; text-transform:uppercase;
  color:var(--accent-ink); margin-bottom:9px;
}
.boundary p{ font-size:15px; color:var(--ink-2); }

/* available vs coming soon */
.integ-split{ display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr)); gap:24px; margin-top:30px; }
.integ-tag{
  display:inline-block; font-size:11px; font-weight:800; letter-spacing:.1em; text-transform:uppercase;
  padding:5px 11px; border-radius:var(--r-pill); margin-bottom:14px;
}
.integ-tag.available{ color:var(--primary-dark); background:var(--primary-tint); border:1px solid var(--primary-tint-2); }
.integ-tag.soon{ color:var(--accent-ink); background:#FDF3E3; border:1px solid #F3E0BD; }

@media (max-width:860px){
  .conv-note{ max-width:none; }
}

/* ===========================================================
   V2 PRICING COMPARISON TABLE
   Scrolls inside its own container so the page body never
   scrolls sideways on a phone.
   =========================================================== */
.cmp-wrap{
  overflow-x:auto; margin-top:34px; border:1px solid var(--line);
  border-radius:var(--r-md); background:var(--surface); box-shadow:var(--shadow-sm);
  -webkit-overflow-scrolling:touch;
}
.cmp{ border-collapse:collapse; width:100%; min-width:660px; font-size:14.5px; }
.cmp thead th{
  font-family:var(--disp); font-size:16px; font-weight:800; color:var(--ink);
  padding:18px 16px; text-align:center; border-bottom:2px solid var(--line);
  background:var(--bg); position:sticky; top:0;
}
.cmp thead th.pop{ color:var(--primary-dark); background:var(--primary-tint); }
.cmp tbody th{
  text-align:left; font-weight:600; color:var(--ink-2); padding:13px 16px;
  border-bottom:1px solid var(--line-2); font-size:14px;
}
.cmp tbody td{
  text-align:center; padding:13px 16px; border-bottom:1px solid var(--line-2);
  color:var(--ink-3); font-variant-numeric:tabular-nums;
}
.cmp tbody td.pop{ background:color-mix(in srgb,var(--primary-tint) 55%,transparent); }
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td{ border-bottom:none; }
.cmp tbody tr:first-child td{ font-family:var(--disp); font-weight:800; color:var(--ink); font-size:17px; }
.cmp .yes{ color:var(--primary); font-weight:800; font-size:16px; }
.cmp .no{ color:var(--muted); }

@media (max-width:700px){
  .cmp{ font-size:13.5px; }
  .cmp thead th{ font-size:14.5px; padding:14px 12px; }
  .cmp tbody th, .cmp tbody td{ padding:11px 12px; }
}

/* ===========================================================
   V2 DOCUMENTATION GRID
   =========================================================== */
.doc-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr)); gap:18px; margin-top:6px; }
.doc-card{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--r-md);
  padding:24px 22px; box-shadow:var(--shadow-sm);
}
.doc-card h3{ font-size:17px; margin-bottom:6px; }
.doc-sub{ font-size:13.5px; color:var(--ink-3); margin-bottom:15px; }
.doc-topics{ list-style:none; padding:0; margin:0; display:grid; gap:9px; }
.doc-topics li{
  position:relative; padding-left:17px; font-size:14px; color:var(--ink-2);
}
.doc-topics li::before{
  content:''; position:absolute; left:0; top:.6em; width:5px; height:5px;
  border-radius:50%; background:var(--primary); opacity:.55;
}


/* ===========================================================
   P4 — ROBUSTNESS, TAP TARGETS, RESPONSIVE
   =========================================================== */

/* 1. Content must not depend on JavaScript to become visible.
   .reveal starts at opacity:0 and only JS adds .in — so without JS the hero
   rendered as empty space. Hide it only once JS has confirmed itself. */
html:not(.js) .reveal{ opacity:1 !important; transform:none !important; }

/* 2. Any wide table scrolls inside its own box so the page body never
   scrolls sideways. /legal/subprocessors/ overflowed 390px by 72px. */
.tbl-scroll{ overflow-x:auto; -webkit-overflow-scrolling:touch; margin-top:10px; }
.tbl-scroll table.subproc-table{ min-width:560px; margin-top:0; }

/* 3. Tap targets. The mobile nav toggle measured 34x34; 44 is the guideline. */
.nav-toggle{ padding:11px; min-width:44px; min-height:44px; align-items:center; justify-content:center; }

/* Enlarge touch targets only where there is a coarse pointer, so the desktop
   layout is unchanged. */
/* Applied unconditionally rather than behind @media (pointer:coarse): a
   coarse-pointer rule cannot be verified by a headless audit, and none of
   this harms the desktop layout. */
.brand{ min-height:44px; }
.breadcrumb a, .breadcrumb .current{ display:inline-block; padding:10px 0; }
.footer-col a, .footer-col .footer-soon{ padding:9px 0; margin-bottom:1px; }
.tab-btn{ min-height:44px; }
.xd-btn{ min-height:44px; }
.mobile-nav a{ padding-block:12px; }
.acc-item summary{ min-height:44px; display:flex; align-items:center; }

/* Page-level micro-labels lift to 12px. The phone mock and the translation
   demo keep their smaller sizes deliberately -- they imitate a phone UI,
   where small chrome text is what the real thing looks like. */
.eyebrow, .arch-label, .flow-cap, .cs-tag, .cap-title, .boundary-tag,
.integ-tag, .panel-cap, .b-tag, .docs-badge, .when{ font-size:12px; }

/* The translation demo's own captions stay smaller on purpose: that panel
   imitates a phone and an inbox, where small chrome text is what the real
   thing looks like. Everything else sits at 12px via the rule above. */
.xd-cap{ font-size:11.5px; }

/* 5. Reduced motion: cover the reveal transitions, not just the demo page. */
@media (prefers-reduced-motion:reduce){
  .reveal{ opacity:1 !important; transform:none !important; transition:none !important; }
  *, *::before, *::after{
    animation-duration:.001ms !important; animation-iteration-count:1 !important;
    transition-duration:.001ms !important; scroll-behavior:auto !important;
  }
}

/* Contact form submission states -------------------------------------- */
.hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.form-status{ margin-top:14px; font-size:14px; font-weight:600; min-height:1.2em; }
.form-status.is-ok{ color:var(--primary-dark); }
.form-status.is-err{ color:#B42318; }
