/* =====================================================================
   VEDA · LIGHT PAPER THEME (v2)
   Bone-paper sky with slow diffused washes; paper for content;
   glass only for chrome (nav, dock, top bar, sheets, toasts).
   Loaded after veda.css — overrides tokens and the few dark-only values.
   ===================================================================== */
@property --b1 { syntax: '<color>'; inherits: true; initial-value: #f1d98a; }
@property --b2 { syntax: '<color>'; inherits: true; initial-value: #bcc5ee; }
@property --b3 { syntax: '<color>'; inherits: true; initial-value: #cfe0cf; }
@property --b4 { syntax: '<color>'; inherits: true; initial-value: #dcd0ee; }
:root {
  color-scheme: light;
  --page-bg: #f3f1ea; --card: #fdfcf7; --card-2: #f7f4eb;
  --ink: #241f1a; --ink-2: #4e453b; --muted: #85786a; --line: rgba(70,52,30,.13);
  --accent: #b9650f; --vermilion: #b23a1e; --good: #2f8a5a; --bad: #b23a1e;
  --surface: rgba(255,255,255,.62); --surface-2: rgba(250,248,242,.76); --solid: #fbfaf5;
  --specular: rgba(255,255,255,.95); --rim-low: rgba(255,255,255,.5); --sat: 160%;
  --grad-text: linear-gradient(92deg, #d9902a, #b8571f 50%, #8a2f14);
  --shadow: 0 1px 2px rgba(70,50,20,.08), 0 8px 20px -8px rgba(70,50,20,.16), 0 24px 48px -20px rgba(60,44,90,.18);
  --paper-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 1px 2px rgba(70,50,20,.07), 0 14px 32px -18px rgba(70,50,20,.3);
  --b1: #f1d98a; --b2: #bcc5ee; --b3: #cfe0cf; --b4: #dcd0ee;
  transition: --b1 2s var(--spring), --b2 2s var(--spring), --b3 2s var(--spring), --b4 2s var(--spring);
}
:root[data-mood="palm"]   { --b1: #efd28c; --b2: #d8cbe9; --b3: #d3e2cd; --b4: #e9dcb8; }
:root[data-mood="kundli"] { --b1: #ecd798; --b2: #b3bfee; --b3: #c9d5ee; --b4: #d8cfee; }
:root[data-mood="voice"]  { --b1: #ecd9a0; --b2: #c8bfee; --b3: #bfd7dc; --b4: #e0cfe8; }
:root[data-mood="app"]    { --b1: #f0dc9c; --b2: #c4cdee; --b3: #d2e3d4; --b4: #ddd4ec; }
html, body { background: var(--page-bg); color: var(--ink); }

/* the sky: drifting washes of haldi, indigo mist, sage and lilac on bone paper.
   Radial gradients (no blur filter) so it stays cheap on mid-range phones. */
.sky { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: var(--page-bg); pointer-events: none; }
.sky i { position: absolute; width: 72vmax; height: 72vmax; border-radius: 50%; opacity: .75; will-change: transform; animation: drift 26s ease-in-out infinite alternate; }
.sky i:nth-child(1) { left: -24vmax; top: -28vmax; background: radial-gradient(closest-side, var(--b1), transparent); }
.sky i:nth-child(2) { right: -28vmax; top: -12vmax; background: radial-gradient(closest-side, var(--b2), transparent); animation-duration: 32s; animation-delay: -8s; }
.sky i:nth-child(3) { left: -12vmax; bottom: -36vmax; background: radial-gradient(closest-side, var(--b3), transparent); animation-duration: 36s; animation-delay: -14s; }
.sky i:nth-child(4) { right: -22vmax; bottom: -32vmax; background: radial-gradient(closest-side, var(--b4), transparent); animation-duration: 30s; animation-delay: -4s; opacity: .6; }
@keyframes drift { 0% { transform: translate(0,0) scale(1); } 50% { transform: translate(6vmax, 4vmax) scale(1.08); } 100% { transform: translate(-4vmax, 7vmax) scale(.96); } }
.sky::after { content: ''; position: absolute; inset: 0; opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .09' numOctaves='3' seed='3'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .38 0 0 0 0 .28 0 0 0 .2 0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23f)'/%3E%3C/svg%3E"); }
.dx-grain { opacity: .05; mix-blend-mode: multiply; }

/* PAPER — the content material: fibre grain, warm edge, soft lift */
.paper { position: relative; border-radius: var(--r-m); border: 1px solid rgba(110,84,50,.16); color: var(--ink);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.02 .14' numOctaves='3' seed='9'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .42 0 0 0 0 .3 0 0 0 .1 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23p)'/%3E%3C/svg%3E"),
    linear-gradient(170deg, var(--card), var(--card-2));
  box-shadow: var(--paper-shadow); }
/* a hand-ruled inner frame for "patra" cards (hero, plans, sign-in) */
.paper.patra::before { content: ''; position: absolute; inset: 8px; border-radius: calc(var(--r-m) - 8px); border: 1px solid rgba(178,58,30,.2); pointer-events: none; }
.dx-tilt::after { background: radial-gradient(320px circle at var(--mx) var(--my), rgba(255,255,255,.6), transparent 60%); }

/* glass, tuned for a light scene */
.dx-glass { background: linear-gradient(155deg, var(--surface), var(--surface-2)); }
.dx-btn-ghost { background: rgba(255,255,255,.72); border: 1px solid var(--line); color: var(--ink); box-shadow: inset 0 1.5px 0 #fff, 0 1px 2px rgba(70,50,20,.08); }
.dx-btn-prime { background: linear-gradient(180deg, #f0b85a, #d9902a 55%, #b8651c) !important; color: #2a1406 !important;
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,.65), inset 0 -10px 20px rgba(178,58,30,.28), 0 10px 24px -10px rgba(178,90,20,.55) !important; }
.dx-seg { background: rgba(70,52,30,.07) !important; border-color: var(--line) !important; }
.dx-seg button { color: var(--muted); } .dx-seg button.on { color: var(--ink); }
.dx-seg .blob { background: #fff !important; box-shadow: 0 1px 2px rgba(70,50,20,.15), 0 4px 12px -4px rgba(70,50,20,.2) !important; }
.dx-scrim { background: rgba(70,56,40,.22); }
.dx-big { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; }
.dx-jewel .core { background: radial-gradient(120% 100% at 30% 0%, #fffdf7, #efe6d3 70%); box-shadow: inset 0 1.5px 0 #fff, inset 0 -10px 20px rgba(217,144,42,.22); }
.dx-jewel .halo { opacity: .4; }
.cta-band .dx-jewel .core { color: #b8571f !important; }
.inp { background: #fffdf8; color: var(--ink); box-shadow: inset 0 1px 2px rgba(70,50,20,.08); }
.inp:focus { border-color: rgba(185,101,15,.55); box-shadow: inset 0 1px 2px rgba(70,50,20,.08), 0 0 0 4px rgba(217,144,42,.15); }
.inp::-webkit-calendar-picker-indicator { filter: none; opacity: .6; }
.kv { background: var(--line); } .kv > div { background: rgba(255,255,255,.55); }
.chip { background: rgba(255,255,255,.6); }
.chip.on { background: #fff; border-color: rgba(185,101,15,.45); color: var(--ink); box-shadow: 0 4px 14px -6px rgba(185,101,15,.5); }
.steps i, .dasha .bar { background: rgba(70,52,30,.09); }
.meter .bg { stroke: rgba(70,52,30,.1); }
.toggle input { background: rgba(70,52,30,.15); }
.feat .ic, .path .pi { background: rgba(217,144,42,.1); }
.nav .links a:hover { background: rgba(70,52,30,.06); }
.vs > div.us { background: rgba(217,144,42,.08); }
.bub.me { background: rgba(217,144,42,.14); border-color: rgba(185,101,15,.28); }
.dayhero .glyph { color: rgba(185,101,15,.08); }
.astro-glow { background: radial-gradient(circle, rgba(241,200,110,.5), rgba(217,144,42,.12) 45%, transparent 70%); }
.orb .om { color: #b8571f; text-shadow: none; }
.orb .ring { border-color: rgba(185,101,15,.3); }
.reader { background: rgba(70,56,40,.35); }
.parch > .paperbg { box-shadow: 0 30px 60px -24px rgba(70,50,20,.5); }
/* urgency stays a dark ink card (approved pattern) */
.dark-ink { background: linear-gradient(155deg, #2a2118, #17110c) !important; color: #f8efdc; border: 0 !important; }
.dark-ink .dx-small { color: #c9bba5; }
/* the camera scanner stays dark */
.scan { --ink: #f8efdc; --ink-2: #dccdb2; --muted: #c9bba5; --line: rgba(255,226,180,.18); color: var(--ink); }
.scan .dx-glass { --surface: rgba(40,26,40,.5); --surface-2: rgba(14,9,20,.64); --specular: rgba(255,236,200,.4); }
.scan .dx-btn-ghost { background: rgba(255,255,255,.1); color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .sky i { animation: none; } }

/* ---------- Type v2: Fraunces + Manrope (two families) ---------- */
:root { --display: 'Fraunces', Georgia, serif; --ui: 'Manrope', system-ui, sans-serif; }
body { font-family: var(--ui); font-feature-settings: 'ss01', 'cv01'; -webkit-font-smoothing: antialiased; }
h1, h2, h3, .dx-display, .dx-h2, .hero h1, .chap .copy h2, .sec-head h2, .cta-band h2, .page-head h1, .dayhero h2 { font-variation-settings: 'opsz' 96, 'SOFT' 50; }
.hero h1 { font-size: clamp(40px, 6.4vw, 84px); font-weight: 500; letter-spacing: -.03em; line-height: 1; }
.chap .copy h2, .sec-head h2 { font-size: clamp(32px, 4.4vw, 56px); letter-spacing: -.025em; }
.cta-band h2 { font-size: clamp(34px, 5.4vw, 68px); letter-spacing: -.025em; }
.page-head h1 { font-size: 36px; font-weight: 500; letter-spacing: -.025em; }
.dayhero h2 { font-size: 34px; letter-spacing: -.02em; line-height: 1.05; }
.card h3, .sec-t h3, .feat h3 { font-weight: 500; letter-spacing: -.015em; }
.dx-num, .meter b, .dial > b, .plan .price { font-variant-numeric: tabular-nums lining-nums; }
.mark, .dial strong, .page-head .kick { font-weight: 700; }
