/* ==========================================================================
   Su Labs — design system
   Hand-written CSS. No build step, no framework, no CDN.
   Replaces the previous cdn.tailwindcss.com runtime compiler.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Typeface — self-hosted Geist variable (OFL, see assets/fonts/Geist-OFL.txt)
   One 68 KB file covers weights 100–900.
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Geist';
  src: url('/assets/fonts/Geist-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   2. Tokens
   Dark is the brand default (bare :root), so an unknown/unsupported
   environment still gets the intended look. Light applies when the OS asks
   for it, and the toggle overrides either direction.
   -------------------------------------------------------------------------- */
:root {
  --bg:            #0A0A0B;
  --surface:       #131315;
  --surface-2:     #1B1B1F;
  --border:        rgba(255, 255, 255, 0.10);
  --border-strong: rgba(255, 255, 255, 0.20);
  --text:          #F5F5F6;
  --text-muted:    #A8A8B0;  /* 7.9:1 on --bg */
  --text-subtle:   #8A8A93;  /* 5.4:1 on --bg */
  --solid:         #F5F5F6;  /* primary button fill */
  --solid-ink:     #0A0A0B;  /* primary button text */
  --ring:          #FFFFFF;

  /* Per-product accents. The studio chrome stays monochrome; colour is
     reserved to identify a product, never used for decoration. */
  --svasa:   #4FD1C5;
  --count:   #B4A0F5;
  --compass: #6EE7A8;
  --ojas:    #D4A95F;   /* taken from Ojas's own stylesheet */

  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 16px;

  --container: 1120px;
  --gutter: 24px;
  --section-y: clamp(64px, 9vw, 112px);

  --speed: 160ms;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);

  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme='dark']) {
    --bg:            #FBFBFC;
    --surface:       #FFFFFF;
    --surface-2:     #F3F3F5;
    --border:        rgba(9, 9, 11, 0.11);
    --border-strong: rgba(9, 9, 11, 0.22);
    --text:          #101012;
    --text-muted:    #55555F;  /* 7.1:1 on --bg */
    --text-subtle:   #6C6C76;  /* 5.2:1 on --bg */
    --solid:         #101012;
    --solid-ink:     #FBFBFC;
    --ring:          #101012;

    --svasa:   #0E7C74;
    --count:   #5B3FC4;
    --compass: #0F7A4A;
    --ojas:    #7A5C2E;

    color-scheme: light;
  }
}

:root[data-theme='light'] {
  --bg:            #FBFBFC;
  --surface:       #FFFFFF;
  --surface-2:     #F3F3F5;
  --border:        rgba(9, 9, 11, 0.11);
  --border-strong: rgba(9, 9, 11, 0.22);
  --text:          #101012;
  --text-muted:    #55555F;
  --text-subtle:   #6C6C76;
  --solid:         #101012;
  --solid-ink:     #FBFBFC;
  --ring:          #101012;

  --svasa:   #0E7C74;
  --count:   #5B3FC4;
  --compass: #0F7A4A;
  --ojas:    #7A5C2E;

  color-scheme: light;
}

/* --------------------------------------------------------------------------
   3. Reset + base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px; /* clears the sticky header on anchor jumps */
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color var(--speed) var(--ease), color var(--speed) var(--ease);
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;          /* deliberately not 800/900 */
  letter-spacing: -0.025em;
  line-height: 1.1;
}

p { margin: 0; }

a { color: inherit; text-decoration: none; }

img, svg { display: block; max-width: 100%; }

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85em;
}

:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--text); color: var(--bg); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Skip link — keyboard users can bypass the nav */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
}
.skip-link:focus { left: 16px; }

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

@media (min-width: 768px) {
  :root { --gutter: 40px; }
}

.section {
  padding-block: var(--section-y);
  border-top: 1px solid var(--border);
}
.section--flush { border-top: 0; }

.stack   { display: flex; flex-direction: column; }
.gap-8   { gap: 8px; }
.gap-12  { gap: 12px; }
.gap-16  { gap: 16px; }
.gap-24  { gap: 24px; }
.gap-32  { gap: 32px; }

.grid { display: grid; gap: 24px; }
@media (min-width: 860px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--split { grid-template-columns: 0.85fr 1.15fr; gap: 64px; align-items: start; }
}

/* --------------------------------------------------------------------------
   5. Type
   -------------------------------------------------------------------------- */
.eyebrow {
  display: flex;
  align-items: baseline;
  gap: 13px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 20px;
}
/* Editorial section numbering — set data-index="01" on the eyebrow. */
.eyebrow[data-index]::before {
  content: attr(data-index);
  font-variant-numeric: tabular-nums;
  opacity: 0.55;
}

.display {
  font-size: clamp(2.5rem, 6.2vw, 4.25rem);
  letter-spacing: -0.035em;
  line-height: 1.03;
}

.h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.h3 { font-size: 1.2rem; letter-spacing: -0.015em; }

.lead {
  font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
  line-height: 1.6;
  color: var(--text-muted);
}

.body   { color: var(--text-muted); }
.subtle { color: var(--text-subtle); font-size: 14px; }
.measure     { max-width: 62ch; }
.measure-sm  { max-width: 48ch; }

/* --------------------------------------------------------------------------
   6. Header + navigation  (fixes: no mobile nav at all)
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.wordmark {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.03em;
  padding: 10px 0;
}
.wordmark span { color: var(--text-subtle); font-weight: 400; }

.nav {
  display: none;
  align-items: center;
  gap: 4px;
}
@media (min-width: 900px) { .nav { display: flex; } }

.nav__link {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--text-muted);
  transition: color var(--speed) var(--ease), background-color var(--speed) var(--ease);
}
.nav__link:hover { color: var(--text); background: var(--surface-2); }

.header__actions { display: flex; align-items: center; gap: 8px; }

/* Icon buttons — 44px minimum touch target */
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--speed) var(--ease), background-color var(--speed) var(--ease),
              border-color var(--speed) var(--ease);
}
.icon-btn:hover {
  color: var(--text);
  background: var(--surface-2);
  border-color: var(--border-strong);
}

.menu-btn { display: inline-flex; }
@media (min-width: 900px) { .menu-btn { display: none; } }

/* Theme toggle: show the icon for the mode you'd switch TO */
.icon-btn .icon-sun  { display: none; }
.icon-btn .icon-moon { display: block; }
:root[data-theme='light'] .icon-btn .icon-sun  { display: block; }
:root[data-theme='light'] .icon-btn .icon-moon { display: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme='dark']) .icon-btn .icon-sun  { display: block; }
  :root:not([data-theme='dark']) .icon-btn .icon-moon { display: none; }
}

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: none;
}
.drawer[data-open='true'] { display: block; }
@media (min-width: 900px) {
  .drawer[data-open='true'] { display: none; }
}

.drawer__scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  animation: fade var(--speed) var(--ease);
}

.drawer__panel {
  position: absolute;
  inset: 0 0 auto 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 0 var(--gutter) 24px;
  animation: slide 220ms var(--ease);
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}

.drawer__link {
  display: block;
  padding: 16px 0;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.drawer__link:last-of-type { border-bottom: 0; }

@keyframes fade  { from { opacity: 0; } }
@keyframes slide { from { transform: translateY(-8px); opacity: 0; } }

body.is-locked { overflow: hidden; }

/* --------------------------------------------------------------------------
   7. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background-color var(--speed) var(--ease), border-color var(--speed) var(--ease),
              color var(--speed) var(--ease);
}

.btn--primary {
  background: var(--solid);
  color: var(--solid-ink);
}
.btn--primary:hover { background: color-mix(in srgb, var(--solid) 88%, var(--bg)); }

.btn--secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn--secondary:hover { background: var(--surface-2); }

.btn--ghost {
  padding-inline: 0;
  color: var(--text-muted);
  min-height: 44px;
}
.btn--ghost:hover { color: var(--text); }

/* --------------------------------------------------------------------------
   8. Surfaces
   -------------------------------------------------------------------------- */
.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color var(--speed) var(--ease), background-color var(--speed) var(--ease);
}
.card--link:hover { border-color: var(--border-strong); background: var(--surface-2); }

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 56px);
}

.rule { height: 1px; background: var(--border); border: 0; margin: 0; }

/* --------------------------------------------------------------------------
   9. Product cards — accent identifies the product, one hairline each
   -------------------------------------------------------------------------- */
.product { --app-accent: var(--text); position: relative; overflow: hidden; }
.product::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--app-accent);
  opacity: 0.85;
}
.product--svasa   { --app-accent: var(--svasa); }
.product--count   { --app-accent: var(--count); }
.product--compass { --app-accent: var(--compass); }
.product--ojas    { --app-accent: var(--ojas); }

.product__name {
  font-size: 1.5rem;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.product__tagline {
  color: var(--app-accent);
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 16px;
}
.product__desc { color: var(--text-muted); font-size: 15.5px; flex: 1; }
.product__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
}

/* Status pills — honest labels, colour-coded by readiness */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}
.pill--live { color: var(--app-accent); border-color: color-mix(in srgb, var(--app-accent) 45%, transparent); }
.pill__dot { width: 6px; height: 6px; border-radius: 999px; background: currentColor; flex: none; }

.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 18px;
}

/* --------------------------------------------------------------------------
   9b. Play Store proof — real numbers only.
   Compass has too few ratings for Play to publish a score, so it renders
   downloads without a star rather than inventing one.
   -------------------------------------------------------------------------- */
.stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 16px;
  margin-top: 18px;
}
.stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.stat--rating { color: var(--app-accent); font-weight: 500; }
.stat--rating svg { color: var(--app-accent); }

/* Hero credibility line */
.proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}
.proof__item { font-size: 14px; color: var(--text-muted); }
.proof__item strong { color: var(--text); font-weight: 600; }

/* --------------------------------------------------------------------------
   9c. Services — the studio-for-hire section
   -------------------------------------------------------------------------- */
.service { position: relative; }
.service__num {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--text-subtle);
  opacity: 0.6;
  margin-bottom: 18px;
  font-variant-numeric: tabular-nums;
}
.service__title { font-size: 1.15rem; letter-spacing: -0.025em; margin-bottom: 12px; }
.service__body { color: var(--text-muted); font-size: 15.5px; flex: 1; }
.service__list { list-style: none; margin: 20px 0 0; padding: 0; }
.service__list li {
  font-size: 14px;
  color: var(--text-subtle);
  padding: 7px 0;
  border-top: 1px solid var(--border);
}

/* --------------------------------------------------------------------------
   10. Principles list (replaces the four repeated "we are premium" sections)
   -------------------------------------------------------------------------- */
.principle { padding-top: 26px; border-top: 1px solid var(--border); }
.principle__title { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 10px; }
.principle__body  { color: var(--text-muted); font-size: 15.5px; }

/* --------------------------------------------------------------------------
   11. Footer
   -------------------------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--border);
  padding-block: 40px;
  color: var(--text-subtle);
  font-size: 14px;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
}
@media (min-width: 700px) {
  .footer__inner { flex-direction: row; align-items: center; }
}
.footer__links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
/* padding sized so the link clears a 44px touch target, not just its text box */
.footer__links a { display: inline-flex; align-items: center; min-height: 44px; transition: color var(--speed) var(--ease); }
.footer__links a:hover { color: var(--text); }

/* --------------------------------------------------------------------------
   12. Product pages
   -------------------------------------------------------------------------- */
.backlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 14px;
  color: var(--text-subtle);
  transition: color var(--speed) var(--ease);
}
.backlink:hover { color: var(--text); }

.hero-split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) {
  .hero-split { grid-template-columns: 1.05fr 0.95fr; gap: 72px; }
}

.product-title {
  font-size: clamp(3rem, 8vw, 5rem);
  letter-spacing: -0.045em;
  line-height: 1;
}
.product-sub {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--app-accent, var(--text));
  margin-top: 14px;
}

/* Feature grid */
.feature { padding-top: 24px; border-top: 1px solid var(--border); }
.feature__icon {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--app-accent, var(--text));
  margin-bottom: 18px;
}
.feature__title { font-size: 1.02rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 9px; }
.feature__body { color: var(--text-muted); font-size: 15px; }

/* Fact list (the "privacy first" checkmark rows) */
.facts { list-style: none; margin: 0; padding: 0; }
.facts li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 15px;
}
.facts li:last-child { border-bottom: 0; }
.facts svg { flex: none; margin-top: 3px; color: var(--app-accent, var(--text)); }

/* Abstract app preview — the only imagery on the site, so it stays sober */
.device {
  width: 100%;
  max-width: 268px;
  margin-inline: auto;
  aspect-ratio: 9 / 18;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 26px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
}
.device__label {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 16px;
}
.device__row {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  margin-bottom: 9px;
}
.device__row span { display: block; font-size: 10.5px; color: var(--text-subtle); margin-bottom: 3px; }
.device__row strong { font-size: 15px; font-weight: 600; color: var(--text); letter-spacing: -0.02em; }
.device__out {
  margin-top: auto;
  border: 1px solid color-mix(in srgb, var(--app-accent) 45%, transparent);
  border-radius: var(--radius-sm);
  padding: 13px;
}
.device__out span { display: block; font-size: 10.5px; color: var(--app-accent); margin-bottom: 3px; }
.device__out strong { font-size: 21px; font-weight: 600; letter-spacing: -0.03em; }

.device--center { align-items: center; justify-content: center; text-align: center; }
.dial {
  width: 150px; height: 150px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.dial__n {
  position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  font-size: 10.5px; font-weight: 600; color: var(--app-accent);
}
.dial__reading { font-size: 27px; font-weight: 600; letter-spacing: -0.03em; }
.dial__unit { font-size: 11.5px; color: var(--text-subtle); margin-top: 2px; }

/* --------------------------------------------------------------------------
   13. Long-form (privacy / legal pages)
   -------------------------------------------------------------------------- */
.prose { max-width: 68ch; }
.prose h2 { font-size: 1.45rem; margin: 48px 0 14px; letter-spacing: -0.025em; }
.prose h3 { font-size: 1.1rem; margin: 32px 0 10px; }
.prose p, .prose li { color: var(--text-muted); font-size: 16.5px; }
.prose p { margin-bottom: 16px; }
.prose ul { margin: 0 0 20px; padding-left: 22px; }
.prose li { margin-bottom: 9px; }
.prose a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: 24px; font-size: 15px; }
.prose th, .prose td {
  text-align: left;
  padding: 12px 14px;
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.prose th { color: var(--text); font-weight: 600; background: var(--surface-2); }
.prose__scroll { overflow-x: auto; }

/* --------------------------------------------------------------------------
   14. Featured product — the hero slot on the homepage.
   Reserved for one product at a time. Ojas holds it while it is pre-launch,
   so it reads as the headline act rather than a fourth card in the grid.
   -------------------------------------------------------------------------- */
.feature {
  --app-accent: var(--ojas);
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 64px);
}
.feature::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--app-accent);
}

.feature__grid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 900px) {
  .feature__grid { grid-template-columns: 1.1fr 0.9fr; gap: 64px; }
}

.feature__name {
  font-size: clamp(2.75rem, 7vw, 4rem);
  letter-spacing: -0.045em;
  line-height: 1;
  margin-top: 22px;
}
.feature__tagline {
  font-size: clamp(1.15rem, 2.3vw, 1.45rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--app-accent);
  margin-top: 14px;
}

/* Pre-launch pill — deliberately distinct from the live-on-Play pill so the
   two can never be mistaken for one another. */
.pill--soon {
  color: var(--app-accent);
  border-color: color-mix(in srgb, var(--app-accent) 45%, transparent);
  background: color-mix(in srgb, var(--app-accent) 8%, transparent);
}

.highlights { list-style: none; margin: 32px 0 0; padding: 0; }
.highlights li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  padding: 15px 0;
  border-top: 1px solid var(--border);
}
.highlights li:last-child { border-bottom: 1px solid var(--border); }
.highlights svg { color: var(--app-accent); margin-top: 3px; }
.highlights strong {
  display: block;
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 3px;
}
.highlights span { font-size: 14.5px; color: var(--text-muted); }

/* Ojas preview panel — an abstract read of the day, not a fake screenshot. */
.ojas-card {
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  padding: 24px;
  max-width: 330px;
  margin-inline: auto;
}
.ojas-card__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 6px;
}
.ojas-card__kcal { font-size: 34px; font-weight: 600; letter-spacing: -0.035em; }
.ojas-card__goal { font-size: 12.5px; color: var(--text-subtle); }
.ojas-meter {
  height: 5px;
  border-radius: 999px;
  background: var(--surface-2);
  overflow: hidden;
  margin: 14px 0 20px;
}
.ojas-meter i { display: block; height: 100%; background: var(--app-accent); border-radius: 999px; }
.ojas-macros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 20px; }
.ojas-macro {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px;
  text-align: center;
}
.ojas-macro span { display: block; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-subtle); }
.ojas-macro strong { font-size: 15px; font-weight: 600; letter-spacing: -0.02em; }
.ojas-meal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--border);
  font-size: 14px;
}
.ojas-meal em { font-style: normal; color: var(--text-muted); }
.ojas-meal b { font-weight: 600; font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------------------
   15. Legal long-form extras — markup the Ojas policy/terms bodies use that
   the base .prose rules don't cover. Their source has a rule between every
   section AND an h2 that carries its own top border; drawing both looks wrong,
   so the hr before an h2 is suppressed.
   -------------------------------------------------------------------------- */
.prose h1 {
  font-size: clamp(1.85rem, 3.6vw, 2.5rem);
  letter-spacing: -0.03em;
  margin: 0 0 22px;
}
.prose .meta {
  color: var(--text-subtle);
  font-size: 14.5px;
  line-height: 1.95;
  margin: 0 0 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.prose .meta strong { color: var(--text-muted); font-weight: 600; }

.prose hr { border: 0; border-top: 1px solid var(--border); margin: 40px 0; }
.prose hr + h2 { border-top: 0; padding-top: 0; margin-top: 0; }
.prose hr:has(+ h2) { display: none; }

.prose h2 {
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.prose h2:first-child { padding-top: 0; border-top: 0; }

.prose blockquote {
  margin: 28px 0;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--ojas);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.prose blockquote p { font-size: 14.5px; margin-bottom: 10px; }
.prose blockquote p:last-child { margin-bottom: 0; }

.prose code {
  background: var(--surface-2);
  padding: 0.14em 0.4em;
  border-radius: 3px;
}
.prose del { color: var(--text-subtle); }
.prose em { color: var(--text-muted); }
.prose ol { margin: 0 0 20px; padding-left: 22px; }
.prose ol li { margin-bottom: 9px; color: var(--text-muted); }

/* Their tables use an empty header row in places; don't draw a blank strip. */
.prose thead tr:not(:has(th:not(:empty))) { display: none; }

/* App icon — the real launcher icon, shown at its own aspect ratio.
   Squircle radius matches Android's adaptive-icon mask closely enough. */
.app-icon {
  width: 72px;
  height: 72px;
  border-radius: 17px;
  border: 1px solid var(--border);
  flex: none;
}
.feature__head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

/* Legal tables carry up to four columns and their intrinsic width exceeds a
   phone viewport, so each scrolls inside itself rather than pushing the page
   sideways. Same approach Ojas's own policy stylesheet takes. */
.prose table {
  display: block;
  overflow-x: auto;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}
.prose th, .prose td { white-space: normal; }

.app-icon--sm { width: 52px; height: 52px; border-radius: 12px; margin-bottom: 18px; }
