/* site.css: ONE foundation for every public page (build 117).
   Tokens, type, reset, buttons and the components sub-pages share live here, so no
   page carries its own copy. Per-page copies are how 28 pages drifted from home
   (grey body, blue buttons, a 1200px wrap, no rupee glyph). Page-specific CSS stays
   in the page. Header and footer are their own engines (header.js, footer.js). */

/* ---- Type ---- */
@font-face{font-family:'Manrope';font-style:normal;font-weight:200 800;font-display:swap;src:url('/fonts/manrope-latin-wght-normal.woff2') format('woff2')}
@font-face{font-family:'Manrope';font-style:normal;font-weight:200 800;font-display:swap;src:url('/fonts/manrope-rupee-wght-normal.woff2') format('woff2');unicode-range:U+20B9}

/* ---- Reset ---- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%;scroll-padding-top:var(--navh,80px)}
@media(prefers-reduced-motion:no-preference){html:not(.lenis){scroll-behavior:smooth}}
body{font-family:'Manrope',system-ui,-apple-system,sans-serif;color:var(--tx);background:var(--surface);line-height:1.6;-webkit-font-smoothing:antialiased;overflow-x:hidden}
img,svg{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
button{font:inherit;cursor:pointer;border:none;background:none}
main{flex:1}

/* ---- Tokens ---- */
:root{
  --brand:#cf3652;--brand-10:rgba(207,54,82,.12);--act:#3aadd9;--act-10:rgba(58,173,217,.14);--act-h:#2991b8;--on-act:#111113;--act-glow:rgba(58,173,217,.15);
  --bg:#f5f7f9;--surface:#ffffff;--surface-alt:#edf1f5;
  --dark:#111113;--dark-surface:rgba(255,255,255,.04);--dark-border:rgba(255,255,255,.08);
  --tx:#111113;--tx2:#4b5563;--tx3:#9ca3af;
  --border:rgba(0,0,0,.08);
  --max:1140px;--px:20px;--r:10px;--r-lg:16px;
  --sec:56px;
  --shadow-sm:0 1px 2px rgba(0,0,0,.04),0 2px 8px rgba(0,0,0,.04);
  --shadow-md:0 2px 8px rgba(0,0,0,.04),0 12px 40px rgba(0,0,0,.08);
  --shadow-glow:0 0 48px var(--act-glow),0 12px 40px rgba(0,0,0,.06);
}
@media(min-width:768px){:root{--px:40px}}
@media(min-width:900px){:root{--sec:80px}}
@media(min-width:1100px){:root{--px:64px}}

/* ---- Layout and buttons ---- */
.wrap{max-width:var(--max);margin:0 auto;padding:0 var(--px)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:56px;padding:0 38px;border-radius:var(--r);font-weight:650;font-size:17px;transition:all .2s;white-space:nowrap}
.btn--p{background:var(--tx);color:#fff}
.btn--p:hover{background:#26282c;transform:translateY(-1px)}
.btn--s{border:1.5px solid var(--border);color:var(--tx);background:var(--surface)}
.btn--s:hover{border-color:var(--tx3)}
.btn--w{background:#fff;color:var(--tx)}
.btn--w:hover{background:rgba(255,255,255,.92);transform:translateY(-1px)}
.accent{color:var(--act);font-weight:600}

/* ---- Sub-page hero ---- */
.pg{max-width:740px;margin:0 auto;padding:0 var(--px)}
.pg-hero{position:relative;padding:32px 0 20px;overflow:hidden}
.pg-hero h1{font-size:clamp(26px,5.5vw,42px);font-weight:800;letter-spacing:-.04em;line-height:1.1;color:var(--tx);margin-bottom:6px}
.pg-hero p{font-size:clamp(15px,1.8vw,17px);color:var(--tx2);max-width:560px}
.pg-date{font-size:14px;color:var(--tx3);margin-bottom:2px}
@media(min-width:768px){.pg-hero{padding:40px 0 28px}}

/* ---- The measuring tape: the one sub-page motif (CEO, 27 Sep) ----
   Drawn once in /images/tape.svg (home's About uses the same symbol). It sits to the
   right of the text column, bleeds off the page edge, and never runs under a line of
   copy: the hero clips it, the copy sits above it. A phone hero has no side space,
   so below 768px it is not drawn (home's About has the room and keeps it). */
.pg-hero .pg,.ar-hero .ar,.su__inner,.li__inner{position:relative}
.pg-hero .pg>:not(.motif),.ar-hero .ar>:not(.motif){position:relative;z-index:1}
.motif{display:none;position:absolute;z-index:0;pointer-events:none;color:var(--tx3);width:260px;left:calc(100% - 44px);top:-88px}
@media(min-width:768px){.motif{display:block}}
@media(min-width:1180px){.motif{width:440px;left:calc(100% + 16px);top:-6px}}
/* Signup and login centre a narrow column, so the tape starts clear of it and bleeds off the right edge. */
.su,.li{overflow-x:clip}
.su__inner>.motif,.li__inner>.motif{left:calc(100% + 16px);top:-6px}

/* ---- Long-form sections (legal, careers, API) ---- */
.pg-section{padding:20px 0;border-top:1px solid var(--border)}
.pg-section:first-of-type{border-top:none}
.pg-section h2{font-size:clamp(20px,3vw,26px);font-weight:750;letter-spacing:-.03em;color:var(--tx);margin-bottom:6px}
.pg-section h3{font-size:17px;font-weight:660;color:var(--tx);margin-top:14px;margin-bottom:3px}
.pg-section h3:first-child{margin-top:0}
.pg-section p{font-size:15px;color:var(--tx2);margin-bottom:6px}
.pg-section p:last-child{margin-bottom:0}
.pg-section a{color:var(--act);text-decoration:underline;text-underline-offset:2px}
.pg-section a:hover{color:var(--act-h)}
@media(min-width:768px){.pg-section{padding:24px 0}}

/* ---- Articles (blog posts) ---- */
.ar{max-width:860px;margin:0 auto;padding:0 var(--px)}
.ar-hero{position:relative;overflow:hidden}
.ar__head{padding:32px 0 20px}
.ar__tag{display:inline-block;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--act);margin-bottom:6px}
.ar__title{font-size:clamp(26px,5.5vw,40px);font-weight:800;letter-spacing:-.04em;color:var(--tx);margin-bottom:6px;line-height:1.15}
.ar__meta{font-size:14px;color:var(--tx3)}
.ar__body{padding:0 0 32px;border-top:1px solid var(--border)}
.ar__body h2{font-size:clamp(18px,3vw,22px);font-weight:720;letter-spacing:-.02em;color:var(--tx);margin:24px 0 6px}
.ar__body h2:first-child{margin-top:20px}
.ar__body p{font-size:15px;color:var(--tx2);line-height:1.65;margin-bottom:10px}
.ar__body p:last-child{margin-bottom:0}
.ar__body a{color:var(--act);text-decoration:underline;text-underline-offset:2px}
.ar__body a:hover{color:var(--act-h)}
.ar__cta{padding:24px 0 32px;border-top:1px solid var(--border);font-size:15px;color:var(--tx2);line-height:1.6}
.ar__cta a{color:var(--act);font-weight:600;text-decoration:underline;text-underline-offset:2px}
.ar__cta a:hover{color:var(--act-h)}
.ar__back{display:inline-flex;align-items:center;gap:4px;font-size:14px;font-weight:600;color:var(--act);padding:8px 0;margin-bottom:8px}
.ar__back:hover{color:var(--act-h)}
@media(min-width:768px){.ar__head{padding:40px 0 28px}}

/* ---- Calculator pages: reading copy, the one soft CTA, related links ---- */
.seo{max-width:640px;margin:0 auto;padding:0 var(--px) 40px}
.seo h2{font-size:clamp(20px,3vw,26px);font-weight:740;letter-spacing:-.02em;margin-bottom:12px}
.seo p{font-size:15px;color:var(--tx2);line-height:1.7;margin-bottom:16px}
.seo__note{font-size:13px;color:var(--tx3);line-height:1.6;padding:14px 18px;background:var(--surface);border:1px solid var(--border);border-radius:var(--r);margin-bottom:24px}
/* The soft CTA wears the pricing card: white, ink border, ink button. Red on this
   site marks a measured figure, never a call to action. */
.tool-cta{max-width:640px;margin:0 auto;padding:40px var(--px);text-align:center}
.tool-cta__box{background:var(--surface);border:1.5px solid var(--tx);border-radius:22px;padding:28px 22px}
.tool-cta__text{font-size:clamp(18px,2.4vw,21px);font-weight:800;letter-spacing:-.02em;line-height:1.3;color:var(--tx);margin-bottom:6px;text-wrap:balance}
.tool-cta__sub{font-size:15px;color:var(--tx2);margin-bottom:18px;text-wrap:balance}
.tool-links{max-width:640px;margin:0 auto;padding:0 var(--px) 40px}
.tool-links__head{font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--tx3);margin:0 0 10px}
.tool-links__head:not(:first-child){margin-top:14px}
.tool-links a{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:600;color:var(--act);transition:color .15s;margin-bottom:8px;margin-right:18px}
.tool-links a:hover{color:var(--act-h)}
