/* ClearVTU - clearvtu.com
   Brand: ClearVTU Brand Sheet v1 (colours, mark, usage) + Option B typography
   (Sora display, Inter body). Flat fills, no gradients. Fonts self-hosted. */

@font-face{font-family:"Sora";font-style:normal;font-weight:600 800;font-display:swap;
  src:url("../fonts/sora-latin-var.woff2") format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Inter";font-style:normal;font-weight:400 700;font-display:swap;
  src:url("../fonts/inter-latin-var.woff2") format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root{
  /* Brand palette (sheet v1) */
  --ink-navy:#0B1220; --clarity-teal:#0E8F88; --signal-amber:#F5A623; --paper:#F7FAF9; --slate:#5B6B69; --line:#E5E7EB;
  /* Derived for accessible text/buttons (AA on white) */
  --teal-700:#0B7A74; --teal-50:#E7F4F3;

  --bg:#FFFFFF; --bg-alt:var(--paper); --card:#FFFFFF; --text:var(--ink-navy); --muted:var(--slate); --border:var(--line);
  --brand:var(--clarity-teal); --link:var(--teal-700); --tint:var(--teal-50); --tint-text:var(--teal-700);
  --btn:var(--teal-700); --btn-hover:#096A65; --btn-text:#FFFFFF;
  --code-bg:var(--ink-navy);

  --r-sm:12px; --r:16px; --r-lg:24px;
  --display:"Sora","Poppins","Segoe UI",system-ui,sans-serif;
  --body:"Inter","Helvetica Neue",Arial,system-ui,sans-serif;
  --mono:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  color-scheme:light dark;
}
@media (prefers-color-scheme:dark){
  :root{
    --bg:#0B1220; --bg-alt:#0F1828; --card:#131E31; --text:#F2F5F5; --muted:#C7D0CF; --border:#22304A;
    --brand:#2FB5AC; --link:#5FD0C8; --tint:#12302F; --tint-text:#7FDCD5;
    --btn:#0E8F88; --btn-hover:#12A39B; --btn-text:#0B1220;
    --code-bg:#070C16;
  }
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:84px}
body{margin:0;font-family:var(--body);font-size:1.0625rem;line-height:1.65;color:var(--text);background:var(--bg);text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
img,svg{display:block;max-width:100%;height:auto}
a{color:var(--link);text-underline-offset:.18em}
a:hover{text-decoration-thickness:2px}
:focus-visible{outline:3px solid var(--signal-amber);outline-offset:3px;border-radius:6px}
h1,h2,h3{font-family:var(--display);line-height:1.12;letter-spacing:-.025em;margin:0 0 .5em;font-weight:800}
h1{font-size:clamp(2.6rem,7vw,4.6rem);line-height:1.03;letter-spacing:-.04em}
h2{font-size:clamp(1.75rem,4vw,2.6rem)}
h3{font-size:1.12rem;font-weight:700;letter-spacing:-.01em}
p{margin:0 0 1em}
code{font-family:var(--mono);font-size:.92em}
.num{font-variant-numeric:tabular-nums}
.wrap{width:min(1140px,100% - 2.5rem);margin-inline:auto}
.narrow{max-width:860px}
.lead{font-size:1.15rem;color:var(--muted);max-width:62ch}
.muted{color:var(--muted)}
.fine{font-size:.9rem;color:var(--muted);margin-top:1rem}
.skip-link{position:absolute;left:-9999px;top:0;z-index:20;background:var(--signal-amber);color:var(--ink-navy);padding:.6rem 1rem;font-weight:700;border-radius:0 0 8px 0}
.skip-link:focus{left:0}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:48px;padding:.75rem 1.35rem;border-radius:var(--r-sm);font-family:var(--body);font-weight:700;font-size:1rem;text-decoration:none;border:2px solid transparent;background:var(--btn);color:var(--btn-text);transition:background-color .15s,border-color .15s,transform .15s}
.btn:hover{background:var(--btn-hover);transform:translateY(-1px);text-decoration:none}
.btn-ghost{background:transparent;color:var(--text);border-color:var(--border)}
.btn-ghost:hover{background:var(--bg-alt);border-color:var(--brand)}
.btn-sm{min-height:42px;padding:.5rem 1rem;font-size:.95rem}
.cta-row{display:flex;flex-wrap:wrap;gap:.75rem}

/* Header */
.site-header{position:sticky;top:0;z-index:10;background:var(--bg);border-bottom:1px solid var(--border)}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:68px}
.brand{display:inline-flex;flex:none}
.brand img{width:150px;height:auto}
.nav-links{display:flex;gap:1.4rem;list-style:none;margin:0;padding:0}
.nav-links a{color:var(--text);text-decoration:none;font-weight:600;font-size:.95rem}
.nav-links a:hover{color:var(--link)}
.site-nav{display:none}
.mobile-nav{border-top:1px solid var(--border);overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.mobile-nav::-webkit-scrollbar{display:none}
.mobile-nav .nav-links{padding:.6rem 1.25rem;gap:1.1rem;white-space:nowrap}
.mobile-nav .nav-links a{font-size:.9rem}
@media (min-width:900px){.site-nav{display:block}.mobile-nav{display:none}}

/* Hero */
.hero{padding:4rem 0 4.5rem}
.hero-grid{display:grid;gap:3rem;align-items:center}
@media (min-width:980px){.hero-grid{grid-template-columns:1.12fr .88fr}}
.hero h1 .hl{color:var(--brand)}
.hero .lead{margin:1.1rem 0 1.75rem}
.checks{display:grid;gap:.55rem;margin:1.75rem 0 0;padding:0;list-style:none;color:var(--text);font-weight:500}
@media (min-width:560px){.checks{grid-template-columns:repeat(2,max-content);column-gap:2rem}}
.checks li{display:flex;align-items:center;gap:.6rem}
.checks svg{flex:none;width:20px;height:20px;color:var(--brand)}


/* Sections */
.section{padding:5rem 0}
.section-alt{background:var(--bg-alt);border-block:1px solid var(--border)}
.section-tint{background:var(--tint);border-block:1px solid var(--border)}
.band-tight{padding:2.75rem 0}
.h-sm{font-size:clamp(1.2rem,2.4vw,1.45rem);margin-bottom:1.25rem}
.sec-head{max-width:740px;margin-bottom:2.5rem}
.sec-head h2 .hl{color:var(--brand)}
.grid{display:grid;gap:1rem}
@media (min-width:640px){.g2,.g3,.g4,.g5{grid-template-columns:repeat(2,1fr)}}
@media (min-width:980px){.g3{grid-template-columns:repeat(3,1fr)}.g4{grid-template-columns:repeat(4,1fr)}.g5{grid-template-columns:repeat(5,1fr)}}
.card{background:var(--card);border:1px solid var(--border);border-radius:var(--r);padding:1.5rem}
.card h3{margin-bottom:.4rem}
.card p{margin:0;color:var(--muted);font-size:.98rem}
.ic{width:46px;height:46px;border-radius:var(--r-sm);display:grid;place-items:center;background:var(--tint);color:var(--tint-text);margin-bottom:1.1rem}
.ic svg{width:22px;height:22px}
.card .prov{margin-top:.85rem;padding-top:.75rem;border-top:1px solid var(--border);font-size:.85rem;font-weight:600;color:var(--text)}

.how{counter-reset:step;list-style:none;padding:0;margin:0}
.how li{position:relative;padding-top:4.25rem}
.how li::before{counter-increment:step;content:counter(step);position:absolute;left:1.5rem;top:1.5rem;width:2.4rem;height:2.4rem;border-radius:var(--r-sm);display:grid;place-items:center;background:var(--clarity-teal);color:#fff;font-family:var(--display);font-weight:800}

/* Developers (always dark, brand reversed) */
.dev{background:var(--ink-navy);color:#F2F5F5;border-block:1px solid #22304A}
.dev .lead,.dev .muted{color:#C7D0CF}
.dev h2 .hl{color:#2FB5AC}
.dev .card{background:#131E31;border-color:#22304A}
.dev .card p{color:#C7D0CF}
.dev .card code{color:#7FDCD5}
.dev a{color:#5FD0C8}
.dev-grid{display:grid;gap:2.5rem}
@media (min-width:980px){.dev-grid{grid-template-columns:1fr 1fr;align-items:start}}
pre{margin:0;padding:1.25rem;border-radius:var(--r);background:var(--code-bg);border:1px solid #22304A;overflow-x:auto;font-family:var(--mono);font-size:.86rem;line-height:1.65;color:#E6EEEE}
pre .c{color:#8C9C9A}
pre .k{color:#2FB5AC}
.endpoints{list-style:none;padding:0;margin:1.25rem 0 0;display:grid;gap:.45rem;font-family:var(--mono);font-size:.9rem}
.endpoints b{display:inline-block;min-width:3.6rem;color:#2FB5AC}

/* Launch table */
.table-wrap{overflow-x:auto;border:1px solid var(--border);border-radius:var(--r)}
.status{width:100%;border-collapse:collapse;background:var(--card);font-size:.97rem}
.status th,.status td{text-align:left;padding:.9rem 1.1rem;border-bottom:1px solid var(--border);vertical-align:top}
.status thead th{background:var(--bg-alt);font-family:var(--display);font-size:.85rem;letter-spacing:.02em}
.status tr:last-child td{border-bottom:0}
.status td:last-child{color:var(--muted);white-space:nowrap}

/* FAQ */
.faq{display:grid;gap:.75rem}
.faq details{background:var(--card);border:1px solid var(--border);border-radius:var(--r);padding:0 1.25rem}
.faq details[open]{border-color:var(--brand)}
.faq summary{cursor:pointer;list-style:none;padding:1.05rem 2.25rem 1.05rem 0;font-family:var(--display);font-weight:700;position:relative}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";position:absolute;right:0;top:50%;transform:translateY(-50%);font-size:1.5rem;line-height:1;color:var(--brand);font-weight:600}
.faq details[open] summary::after{content:"\2212"}
.faq details p{color:var(--muted);padding-bottom:1.15rem;margin:0}

/* Final CTA (reversed brand: navy surface, white ring, amber bolt) */
.final{background:var(--ink-navy);color:#F2F5F5;text-align:center}
.final h2{color:#fff}
.final .lead{color:#C7D0CF;margin-inline:auto}
.final .cta-row{justify-content:center;margin-top:1.75rem}
.final .btn{background:#0E8F88;color:#0B1220}
.final .btn:hover{background:#12A39B}
.final .btn-ghost{background:transparent;border-color:#3A4A66;color:#fff}
.final .btn-ghost:hover{background:#131E31;border-color:#2FB5AC}
.final .fine{color:#C7D0CF}
.final .fine a{color:#5FD0C8}
.final-mark{width:64px;height:64px;margin:0 auto 1.25rem}

/* Footer */
.site-footer{padding:2.75rem 0;border-top:1px solid var(--border);font-size:.92rem;color:var(--muted)}
.footer-inner{display:flex;flex-wrap:wrap;gap:1.25rem 2.5rem;justify-content:space-between;align-items:center}
.footer-brand img{width:132px}
.footer-brand p{margin:.6rem 0 0}
.footer-links{display:flex;flex-wrap:wrap;gap:1.1rem;list-style:none;margin:0;padding:0}
.footer-links a{color:var(--muted)}
.copy{width:100%;margin:0}

/* Logo swap for dark mode */
.logo-dark{display:none}
@media (prefers-color-scheme:dark){.logo-light{display:none}.logo-dark{display:block}}

/* Motion: CSS-only, respects reduced motion */
@media (prefers-reduced-motion:no-preference){
  .hero-copy>*{animation:rise .6s cubic-bezier(.2,.7,.2,1) both}
  .hero-copy>:nth-child(2){animation-delay:.05s}
  .hero-copy>:nth-child(3){animation-delay:.1s}
  .hero-copy>:nth-child(4){animation-delay:.15s}
  .hero-visual{animation:fade .8s ease .15s both}
  .p-toast{animation:toast 4s ease 1s both}
  @supports (animation-timeline:view()){
    .reveal{animation:rise linear both;animation-timeline:view();animation-range:entry 0% entry 35%}
  }
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
}
@keyframes rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes fade{from{opacity:0}to{opacity:1}}
@keyframes toast{0%{opacity:0;transform:translateY(8px)}15%,100%{opacity:1;transform:none}}

@media print{.site-header,.mobile-nav,.mobile-cta,.final .cta-row{display:none}.dev{background:#fff;color:#000}}

.mt{margin-top:1.25rem}
.mt-lg{margin-top:1.75rem}
.notfound{text-align:center}.notfound .lead{margin-inline:auto}

/* Hero phone mock (HTML/CSS only) */
.hero-visual{position:relative;display:grid;justify-items:center}
.hero-visual::before{content:"";position:absolute;inset:8% 6% 14%;background:var(--tint);border-radius:var(--r-lg);z-index:0}
.phone{position:relative;z-index:1;width:min(320px,100%);border:10px solid var(--ink-navy);border-radius:40px;background:var(--card);overflow:hidden}
.screen{padding:.85rem 1rem 1.1rem;display:grid;gap:.7rem;font-size:.86rem;line-height:1.35}
.p-bar{display:flex;justify-content:space-between;align-items:center;font-weight:700;font-size:.78rem}
.p-notch{width:84px;height:20px;border-radius:12px;background:var(--ink-navy)}
.p-sig{width:26px;height:10px;border-radius:3px;border:2px solid var(--text)}
.p-top{display:flex;justify-content:space-between;align-items:baseline;font-family:var(--display);font-size:1.05rem}
.p-top .muted{font-family:var(--body);font-size:.8rem}
.p-field{display:grid;gap:.15rem;padding:.65rem .8rem;border:1px solid var(--border);border-radius:var(--r-sm);background:var(--bg-alt)}
.p-label{font-size:.72rem;color:var(--muted);font-weight:600}
.p-val{font-weight:700;font-size:1rem;letter-spacing:.02em}
.p-hint{display:flex;align-items:center;gap:.35rem;color:var(--tint-text);font-weight:600;font-size:.78rem}
.p-hint svg{width:14px;height:14px}
.p-nets{display:grid;grid-template-columns:repeat(4,1fr);gap:.35rem;text-align:center;font-size:.74rem;font-weight:700}
.p-nets span{padding:.45rem 0;border:1px solid var(--border);border-radius:10px;color:var(--muted)}
.p-nets .on{border-color:var(--brand);color:var(--text);background:var(--tint)}
.p-plans{display:grid;gap:.4rem}
.p-plan{display:flex;justify-content:space-between;align-items:center;padding:.6rem .8rem;border:1px solid var(--border);border-radius:var(--r-sm)}
.p-plan.on{border:2px solid var(--brand)}
.p-radio{width:16px;height:16px;border-radius:50%;border:2px solid var(--border)}
.p-plan.on .p-radio{border:5px solid var(--brand)}
.p-sum{display:grid;gap:.3rem;padding:.6rem .8rem;border-radius:var(--r-sm);background:var(--bg-alt);font-size:.8rem}
.p-sum div{display:flex;justify-content:space-between;gap:.5rem}
.p-sum span{color:var(--muted)}
.p-btn{text-align:center;padding:.7rem;border-radius:var(--r-sm);background:var(--btn);color:var(--btn-text);font-weight:700}
.p-toast{display:flex;align-items:center;gap:.5rem;padding:.6rem .75rem;border-radius:var(--r-sm);background:var(--ink-navy);color:#F2F5F5;font-size:.8rem}
.p-toast svg{flex:none;width:16px;height:16px;color:#2FB5AC}
.visual-note{position:relative;z-index:1;margin:.9rem 0 0;font-size:.82rem;color:var(--muted);text-align:center}
@media (prefers-color-scheme:dark){.phone{border-color:#22304A}.p-notch{background:#22304A}.p-toast{background:#070C16;border:1px solid #22304A}}

/* Facts table */
.facts{display:grid;margin:0;border:1px solid var(--border);border-radius:var(--r);background:var(--card);overflow:hidden}
.facts div{display:grid;gap:.15rem;padding:1rem 1.2rem;border-bottom:1px solid var(--border)}
.facts div:last-child{border-bottom:0}
.facts dt{font-family:var(--display);font-weight:700;font-size:.95rem}
.facts dd{margin:0;color:var(--muted);font-size:.95rem}
@media (min-width:640px){.facts div{grid-template-columns:11rem 1fr;gap:1rem;align-items:baseline}}
@media (min-width:980px){.facts{grid-template-columns:1fr 1fr}.facts div{border-bottom:1px solid var(--border)}.facts div:nth-child(odd){border-right:1px solid var(--border)}.facts div:nth-last-child(-n+2){border-bottom:0}}

/* Services: swipeable row on small screens */
@media (max-width:639px){
  .snap{grid-auto-flow:column;grid-auto-columns:82%;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;padding-bottom:.75rem;scrollbar-width:thin}
  .snap>*{scroll-snap-align:start}
}

/* Chat demo */
.chat-grid{display:grid;gap:2.5rem;align-items:center}
@media (min-width:980px){.chat-grid{grid-template-columns:1fr 1fr}}
.section-tint .lead{color:var(--text)}
.ticks{list-style:none;margin:1.25rem 0 0;padding:0;display:grid;gap:.6rem}
.ticks li{display:flex;gap:.6rem;align-items:flex-start}
.ticks svg{flex:none;width:20px;height:20px;margin-top:.2rem;color:var(--tint-text)}
.ticks code,.msg code{font-weight:700}
.chat{display:grid;gap:.6rem;max-width:440px;width:100%;justify-self:center;padding:1.1rem;border-radius:var(--r-lg);background:var(--card);border:1px solid var(--border)}
.chat-head{display:flex;align-items:center;gap:.6rem;padding-bottom:.75rem;border-bottom:1px solid var(--border)}
.chat-head img{width:28px;height:28px}
.chat-head span{display:grid;line-height:1.2}
.chat-head small{color:var(--muted);font-size:.75rem}
.msg{max-width:86%;padding:.6rem .85rem;border-radius:16px;font-size:.92rem;line-height:1.4}
.msg.me{justify-self:end;background:var(--btn);color:var(--btn-text);border-bottom-right-radius:4px}
.msg.me code{color:inherit}
.msg.bot{justify-self:start;background:var(--bg-alt);border:1px solid var(--border);border-bottom-left-radius:4px}
.msg.link,.msg.ok{display:flex;gap:.55rem;align-items:flex-start}
.msg.link svg,.msg.ok svg{flex:none;width:18px;height:18px;margin-top:.1rem;color:var(--tint-text)}
.msg.link span{font-weight:700;color:var(--link)}
.msg.link small{font-weight:500;color:var(--muted)}
.msg.sys{justify-self:center;max-width:100%;padding:.2rem .5rem;font-size:.78rem;color:var(--muted)}

/* Sticky mobile CTA */
.mobile-cta{position:sticky;bottom:0;z-index:9;padding:.6rem 1.25rem calc(.6rem + env(safe-area-inset-bottom));background:var(--bg);border-top:1px solid var(--border)}
.mobile-cta .btn{width:100%}
@media (min-width:900px){.mobile-cta{display:none}}
.copy a{color:var(--muted)}
.dev-grid>*,.chat-grid>*,.hero-grid>*{min-width:0}
@media (max-width:899px){.header-inner>.btn-sm{display:none}}
