/* ==========================================================================
   Ruvixly — base.css
   Theme 4 "Live System": design tokens, fonts, reset, typography.
   ========================================================================== */

/* Fonts — self-hosted, variable WOFF2 (one file covers 400–700). */
@font-face{font-family:'Geist';font-style:normal;font-weight:400 700;font-display:swap;
  src:url('../fonts/geist-latin.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:'Geist';font-style:normal;font-weight:400 700;font-display:swap;
  src:url('../fonts/geist-latin-ext.woff2') format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Geist Mono';font-style:normal;font-weight:400 500;font-display:swap;
  src:url('../fonts/geist-mono-latin.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}
/* Malayalam — downloaded only when Malayalam characters are on the page. */
@font-face{font-family:'Anek Malayalam';font-style:normal;font-weight:600 700;font-display:swap;
  src:url('../fonts/anek-malayalam.woff2') format('woff2');
  unicode-range:U+0307,U+0323,U+0951-0952,U+0964-0965,U+0B83,U+0D00-0D7F,U+1CDA,U+1CF2,U+200C-200D,U+25CC,U+A830-A832}

:root{
  /* Ink and paper */
  --ink:#15171A;
  --ink-2:#2E3138;
  --text-2:#4A4E55;
  --muted:#6B6F76;
  --faint:#8A8D93;
  --paper:#FBFBF9;
  --paper-2:#F5F4EF;
  --paper-3:#F3F2EC;
  --paper-4:#F7F6F2;
  --white:#FFFFFF;
  --line:#E6E4DE;
  --line-2:#EFEDE7;
  --line-3:#D8D5CC;
  --stone:#B9B5AB;

  /* Section colours (the three pillars) */
  --violet:#6C5BD4;
  --blue:#2F7FD6;
  --orange:#E07A2B;

  /* Actions and states */
  --wa:#0F7A52;
  --wa-dark:#0B6644;
  --mint:#DDF0E6;
  --chat-out:#D9EFE2;
  --chat-bg:#EFEBE3;
  --red:#B4321F;
  --red-bg:#FBEDEA;

  /* Type */
  --sans:'Geist',system-ui,-apple-system,'Segoe UI',sans-serif;
  --mono:'Geist Mono',ui-monospace,Menlo,monospace;

  /* Space */
  --gutter:clamp(16px,4vw,48px);
  --wrap:1240px;
  --radius:10px;
  --shadow-lift:0 1px 2px rgba(21,23,26,.05),0 12px 32px rgba(21,23,26,.08);
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-padding-top:84px}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
img,svg,video{display:block;max-width:100%}
img{height:auto}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
h1,h2,h3,h4,p,ul,ol,figure{margin:0}
ul,ol{padding:0;list-style:none}
table{border-collapse:collapse}
:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
[hidden]{display:none !important}

/* Skip link — first focusable element on every page */
.skip{position:absolute;inset-inline-start:12px;top:-60px;z-index:100;background:var(--ink);color:#fff;padding:10px 14px;border-radius:8px;font-weight:500}
.skip:focus{top:12px}

.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}

/* Typography */
.mono{font-family:var(--mono);font-size:12.5px;letter-spacing:.01em}
.eyebrow{font-family:var(--mono);font-size:12.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:0 0 16px}
.h1{font-size:clamp(38px,5.4vw,68px);line-height:1.02;letter-spacing:-.035em;font-weight:600;text-wrap:balance}
.h2{font-size:clamp(30px,3.6vw,46px);line-height:1.08;letter-spacing:-.028em;font-weight:600;text-wrap:balance}
.h2-xl{font-size:clamp(34px,4.5vw,58px)}
.h3{font-size:20px;font-weight:600;letter-spacing:-.01em;line-height:1.25}
.lede{font-size:18px;line-height:1.5;color:var(--text-2);max-width:54ch;margin-top:16px;text-wrap:pretty}
.muted{color:var(--muted)}
.text-2{color:var(--text-2)}

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