/* =========================================================================
   Maitora — shared stylesheet
   Calm, private-by-design mindfulness brand. Light + dark, self-contained.
   Palette: indigo #4A40A6 · saffron #F2A93D · ink #1C1B22
   ========================================================================= */

/* ---- Theme tokens ---------------------------------------------------- */
:root {
  /* type */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
  --font-rounded: ui-rounded, "SF Pro Rounded", "Hiragino Maru Gothic ProN", var(--font-sans);
  --font-serif: ui-serif, "New York", Georgia, "Times New Roman", serif;

  /* brand constants (do not change per-theme) */
  --indigo: #4A40A6;
  --saffron: #F2A93D;
  --rose: #E27396;
  --green: #5BB890;
  --violet: #7268C8;
  --teal: #34A39A;

  /* light theme surfaces */
  --bg: #FBFAF7;
  --bg-2: #F4F2EC;
  --surface: #FFFFFF;
  --surface-2: #F7F5F0;
  --ink: #1C1B22;
  --text: #26242E;
  --muted: #6C6A77;
  --faint: #908E9C;
  --border: #E8E5DC;
  --border-strong: #DAD6CB;

  /* roles */
  --primary: #4A40A6;
  --primary-press: #3A3192;
  --on-primary: #FFFFFF;
  --link: #5249B5;
  --mark-stroke: #E27396;
  --bindu: #F2A93D;

  /* effects */
  --shadow-sm: 0 1px 2px rgba(28, 27, 34, .05), 0 4px 14px rgba(28, 27, 34, .05);
  --shadow-md: 0 8px 30px rgba(28, 27, 34, .08), 0 2px 8px rgba(28, 27, 34, .05);
  --shadow-lg: 0 24px 60px rgba(28, 27, 34, .14), 0 8px 24px rgba(28, 27, 34, .08);
  --ring: 0 0 0 3px rgba(74, 64, 166, .35);

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --maxw: 1140px;
  --gutter: clamp(20px, 5vw, 40px);

  --aurora-1: rgba(74, 64, 166, .16);
  --aurora-2: rgba(242, 169, 61, .14);
  --aurora-3: rgba(226, 115, 150, .12);
  --hero-veil: rgba(251, 250, 247, 0);
  color-scheme: light;
}

/* dark values — applied when the system is dark and the user hasn't forced light */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E0D13;
    --bg-2: #14131C;
    --surface: #181722;
    --surface-2: #1F1D2B;
    --ink: #F3F2F8;
    --text: #E7E5F0;
    --muted: #A4A1B4;
    --faint: #807D92;
    --border: #2A2838;
    --border-strong: #38354A;

    --primary: #8E84EC;
    --primary-press: #A39AF2;
    --on-primary: #14121E;
    --link: #A9A2F2;
    --mark-stroke: #EC8CA8;
    --bindu: #F4B85A;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4), 0 6px 18px rgba(0, 0, 0, .35);
    --shadow-md: 0 10px 34px rgba(0, 0, 0, .45), 0 3px 10px rgba(0, 0, 0, .4);
    --shadow-lg: 0 30px 70px rgba(0, 0, 0, .6), 0 10px 28px rgba(0, 0, 0, .45);
    --ring: 0 0 0 3px rgba(142, 132, 236, .45);

    --aurora-1: rgba(120, 108, 240, .22);
    --aurora-2: rgba(242, 169, 61, .14);
    --aurora-3: rgba(226, 115, 150, .14);
    --hero-veil: rgba(14, 13, 19, 0);
    color-scheme: dark;
  }
}

/* dark values — applied when the user has explicitly chosen dark */
:root[data-theme="dark"] {
  --bg: #0E0D13;
  --bg-2: #14131C;
  --surface: #181722;
  --surface-2: #1F1D2B;
  --ink: #F3F2F8;
  --text: #E7E5F0;
  --muted: #A4A1B4;
  --faint: #807D92;
  --border: #2A2838;
  --border-strong: #38354A;

  --primary: #8E84EC;
  --primary-press: #A39AF2;
  --on-primary: #14121E;
  --link: #A9A2F2;
  --mark-stroke: #EC8CA8;
  --bindu: #F4B85A;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4), 0 6px 18px rgba(0, 0, 0, .35);
  --shadow-md: 0 10px 34px rgba(0, 0, 0, .45), 0 3px 10px rgba(0, 0, 0, .4);
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, .6), 0 10px 28px rgba(0, 0, 0, .45);
  --ring: 0 0 0 3px rgba(142, 132, 236, .45);

  --aurora-1: rgba(120, 108, 240, .22);
  --aurora-2: rgba(242, 169, 61, .14);
  --aurora-3: rgba(226, 115, 150, .14);
  --hero-veil: rgba(14, 13, 19, 0);
  color-scheme: dark;
}

/* ---- Base ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
::selection { background: rgba(74, 64, 166, .18); }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 8px; }

h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -0.02em; color: var(--ink); font-weight: 600; }

.serif { font-family: var(--font-serif); font-weight: 500; letter-spacing: -0.015em; }
.rounded { font-family: var(--font-rounded); }

/* ---- Layout ---------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.center { text-align: center; }
.mt-0 { margin-top: 0; }

.eyebrow {
  font-family: var(--font-rounded);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: .55em;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1.5px;
  background: linear-gradient(90deg, var(--saffron), var(--primary));
  border-radius: 2px;
}
.center .eyebrow { justify-content: center; }

.section-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 4.2vw, 2.9rem);
  letter-spacing: -0.02em;
  margin-top: 18px;
}
.section-lede {
  margin-top: 18px;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  color: var(--muted);
  max-width: 56ch;
}
.center .section-lede { margin-inline: auto; }

/* ---- Buttons --------------------------------------------------------- */
.btn {
  --b: var(--primary);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-rounded);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--primary); color: var(--on-primary); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-press); box-shadow: var(--shadow-md); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

.btn-soft { background: var(--surface-2); color: var(--ink); border-color: var(--border); }
.btn-soft:hover { border-color: var(--border-strong); }

.btn-lg { padding: 16px 28px; font-size: 1.06rem; }

.btn-arrow::after { content: "→"; transition: transform .2s ease; }
.btn-arrow:hover::after { transform: translateX(3px); }

/* App Store badge (self-contained) */
.appstore {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 11px 20px 11px 18px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .25s ease, opacity .2s ease;
  box-shadow: var(--shadow-sm);
}
:root[data-theme="dark"] .appstore { background: #fff; color: #0E0D13; border-color: #fff; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .appstore { background: #fff; color: #0E0D13; border-color: #fff; }
}
.appstore:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); text-decoration: none; }
.appstore svg { width: 26px; height: 26px; }
.appstore > span { display: inline-flex; flex-direction: column; gap: 1px; }
.appstore .as-top, .appstore .as-big { display: block; }
.appstore .as-top { font-size: .68rem; line-height: 1.1; opacity: .82; letter-spacing: .02em; }
.appstore .as-big { font-family: var(--font-rounded); font-weight: 600; font-size: 1.18rem; line-height: 1.15; letter-spacing: -.01em; }
.appstore .as-note { font-size: .82rem; opacity: .85; }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.center .cta-row { justify-content: center; }

/* ---- Header ---------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.site-header.scrolled { border-bottom-color: var(--border); }
.nav { display: flex; align-items: center; gap: 18px; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-mark .mk { fill: none; stroke: var(--mark-stroke); stroke-linecap: round; transition: stroke .3s ease; }
.brand-mark .bindu { fill: var(--bindu); transition: fill .3s ease; }
.brand-word {
  font-family: var(--font-rounded);
  font-weight: 600; font-size: 1.4rem; letter-spacing: -.01em;
  color: var(--ink);
}

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a {
  font-family: var(--font-rounded);
  font-weight: 550; font-size: .96rem;
  color: var(--text);
  padding: 9px 14px; border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}
.nav-links a:hover { background: var(--surface-2); color: var(--ink); text-decoration: none; }
.nav-links a.btn:hover { background: var(--primary-press); color: var(--on-primary); }
.nav-cta-mobile { display: none; }
.btn-sm { padding: 10px 18px; font-size: .94rem; }
.nav-tail { display: flex; align-items: center; gap: 10px; margin-left: 6px; }

.theme-toggle {
  width: 42px; height: 42px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--ink);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.theme-toggle:hover { border-color: var(--border-strong); transform: translateY(-1px); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}

.nav-toggle { display: none; }

/* ---- Hero ------------------------------------------------------------ */
.hero { position: relative; overflow: hidden; padding-block: clamp(56px, 9vw, 110px); }
.hero-aurora {
  position: absolute; inset: -20% -10% auto -10%; height: 130%;
  z-index: 0; pointer-events: none;
  background:
    radial-gradient(38% 50% at 18% 28%, var(--aurora-1), transparent 70%),
    radial-gradient(34% 46% at 82% 22%, var(--aurora-2), transparent 70%),
    radial-gradient(40% 50% at 62% 78%, var(--aurora-3), transparent 72%);
  filter: blur(8px);
  animation: drift 24s ease-in-out infinite alternate;
}
@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(2%, 1.5%, 0) scale(1.06); }
  100% { transform: translate3d(-2%, -1%, 0) scale(1.02); }
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-copy { max-width: 36rem; }
.hero h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.5rem, 6.4vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin-top: 20px;
}
.hero h1 em { font-style: italic; color: var(--primary); }
.hero-sub { margin-top: 22px; font-size: clamp(1.08rem, 2.1vw, 1.28rem); color: var(--muted); max-width: 34rem; }
.hero .cta-row { margin-top: 32px; }
.trust-line {
  margin-top: 26px;
  display: flex; flex-wrap: wrap; gap: 10px 18px;
  font-size: .92rem; color: var(--muted);
  font-family: var(--font-rounded);
}
.trust-line span { display: inline-flex; align-items: center; gap: 7px; }
.trust-line .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.trust-line .dot.i { background: var(--indigo); }
.trust-line .dot.s { background: var(--saffron); }
.trust-line .dot.r { background: var(--rose); }

/* ---- Phone / breathing visual --------------------------------------- */
.hero-visual { display: flex; justify-content: center; position: relative; }
.phone {
  position: relative;
  width: min(310px, 78vw);
  aspect-ratio: 9 / 19.2;
  border-radius: 46px;
  padding: 11px;
  background: linear-gradient(160deg, #2b2838, #15131f);
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255,255,255,.06);
}
.phone::before { /* side button */
  content: ""; position: absolute; right: -3px; top: 140px; width: 3px; height: 56px;
  border-radius: 3px; background: rgba(255,255,255,.12);
}
.phone-screen {
  position: relative; height: 100%; width: 100%;
  border-radius: 36px; overflow: hidden;
  background: linear-gradient(180deg, #2a2360 0%, #4a3f86 38%, #b06a86 78%, #e7a76a 100%);
  display: flex; flex-direction: column;
}
.phone-notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 26px; border-radius: 999px; background: rgba(0,0,0,.55); z-index: 4;
}
.scene-stars { position: absolute; inset: 0; z-index: 0; opacity: .5; }
.phone-top {
  position: relative; z-index: 3;
  padding: 46px 22px 0; text-align: center; color: rgba(255,255,255,.96);
}
.phone-eyebrow { font-family: var(--font-rounded); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; opacity: .82; }
.phone-title { font-family: var(--font-serif); font-size: 1.35rem; margin-top: 6px; color:#fff; }
.orb-stage { position: relative; flex: 1; display: grid; place-items: center; z-index: 2; }
.orb-wrap { position: relative; width: 186px; height: 186px; display: grid; place-items: center; }
.orb-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.5);
  animation: breathe 11s ease-in-out infinite;
}
.orb-ring.r2 { inset: 22px; border-color: rgba(255,255,255,.38); animation-delay: -.4s; }
.orb-ring.r3 { inset: 44px; border-color: rgba(255,255,255,.28); animation-delay: -.8s; }
.orb-core {
  width: 96px; height: 96px; border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, rgba(255,255,255,.95), rgba(255,236,210,.7) 45%, rgba(242,169,61,.35) 100%);
  box-shadow: 0 0 50px rgba(255, 222, 178, .6);
  animation: breathe-core 11s ease-in-out infinite;
}
.orb-caption {
  position: relative; z-index: 3; text-align: center; color: rgba(255,255,255,.92);
  font-family: var(--font-rounded); font-size: .96rem; letter-spacing: .02em;
  padding-bottom: 6px; min-height: 1.4em;
}
@keyframes breathe {
  0%, 100% { transform: scale(.86); opacity: .55; }
  45%      { transform: scale(1.08); opacity: 1; }
  60%      { transform: scale(1.08); opacity: 1; }
}
@keyframes breathe-core {
  0%, 100% { transform: scale(.78); }
  45%, 60% { transform: scale(1.06); }
}
.phone-glance {
  position: relative; z-index: 3;
  margin: 0 14px 16px; padding: 13px 15px;
  border-radius: 20px;
  background: rgba(20, 16, 34, .34);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.14);
  display: flex; align-items: center; gap: 13px; color: #fff;
}
.glance-ring { width: 38px; height: 38px; flex: none; }
.glance-meta { line-height: 1.25; }
.glance-meta .gm-1 { font-family: var(--font-rounded); font-weight: 600; font-size: .92rem; }
.glance-meta .gm-2 { font-size: .76rem; opacity: .82; }
.glance-flame { margin-left: auto; font-family: var(--font-rounded); font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: 5px; }

/* floating chips around phone */
.float-chip {
  position: absolute; z-index: 2;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 10px 13px; box-shadow: var(--shadow-md);
  font-family: var(--font-rounded); font-weight: 600; font-size: .85rem; color: var(--ink);
  display: inline-flex; align-items: center; gap: 8px;
  animation: bob 7s ease-in-out infinite;
}
.float-chip .fi { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; color: #fff; font-size: .8rem; }
.float-chip.c1 { top: 8%; left: -6%; }
.float-chip.c2 { bottom: 16%; right: -7%; animation-delay: -2.5s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---- Logos / value strip -------------------------------------------- */
.valuestrip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
}
.valuestrip .vs {
  background: var(--surface); padding: 26px 22px; text-align: center;
}
.vs .vs-num { font-family: var(--font-serif); font-size: 1.9rem; color: var(--ink); }
.vs .vs-lbl { margin-top: 6px; font-size: .92rem; color: var(--muted); }

/* ---- Generic cards / grids ------------------------------------------ */
.grid { display: grid; gap: 20px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .25s ease, border-color .25s ease;
}
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .98rem; }

.feature-ico {
  width: 50px; height: 50px; border-radius: 15px;
  display: grid; place-items: center; margin-bottom: 18px;
  color: #fff; box-shadow: var(--shadow-sm);
}
.feature-ico svg { width: 26px; height: 26px; }

/* tinted icon helpers */
.t-indigo  { background: linear-gradient(150deg, #5a50c0, #4036a0); }
.t-saffron { background: linear-gradient(150deg, #f4b65a, #e08a1f); }
.t-rose    { background: linear-gradient(150deg, #ea86a4, #d75f86); }
.t-green   { background: linear-gradient(150deg, #6bc69e, #46a37b); }
.t-teal    { background: linear-gradient(150deg, #4bb6ac, #2c8f86); }
.t-violet  { background: linear-gradient(150deg, #8a7fdc, #6053b8); }
.t-night   { background: linear-gradient(150deg, #4a4f86, #2a2c54); }
.t-clay    { background: linear-gradient(150deg, #d98e6a, #b9683f); }

/* ---- Practices grid -------------------------------------------------- */
.practice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.practice {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .25s ease, border-color .25s ease;
  overflow: hidden;
}
.practice::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--accent, var(--primary)); opacity: .9;
}
.practice:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.practice .feature-ico { margin-bottom: 16px; }
.practice h3 { font-size: 1.12rem; }
.practice p { color: var(--muted); font-size: .95rem; margin-top: 6px; }
.practice .tag {
  position: absolute; top: 20px; right: 20px;
  font-family: var(--font-rounded); font-weight: 600; font-size: .68rem; letter-spacing: .06em;
  text-transform: uppercase; color: var(--primary);
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  padding: 4px 9px; border-radius: 999px;
}

/* ---- Split / spotlight ---------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.reverse .split-media { order: -1; }
.spot-list { margin-top: 22px; display: grid; gap: 16px; }
.spot-item { display: flex; gap: 14px; }
.spot-item .si-ico { width: 30px; height: 30px; flex: none; border-radius: 9px; display: grid; place-items: center; color: #fff; }
.spot-item .si-ico svg { width: 17px; height: 17px; }
.spot-item h4 { font-size: 1.02rem; color: var(--ink); margin-bottom: 2px; }
.spot-item p { font-size: .95rem; color: var(--muted); }

/* Mitra chat mock */
.chat-mock {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 22px; box-shadow: var(--shadow-md);
  max-width: 460px; width: 100%; margin-inline: auto;
}
.chat-head { display: flex; align-items: center; gap: 11px; padding-bottom: 16px; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.chat-head .ch-av { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(150deg, var(--rose), var(--saffron)); display:grid; place-items:center; color:#fff; }
.chat-head .ch-name { font-family: var(--font-rounded); font-weight: 600; color: var(--ink); }
.chat-head .ch-sub { font-size: .8rem; color: var(--muted); }
.bubble { padding: 12px 16px; border-radius: 18px; font-size: .96rem; max-width: 84%; margin-bottom: 12px; line-height: 1.5; }
.bubble.them { background: var(--surface-2); color: var(--text); border-bottom-left-radius: 6px; }
.bubble.me { background: var(--primary); color: var(--on-primary); margin-left: auto; border-bottom-right-radius: 6px; }
.chat-action {
  display: flex; align-items: center; gap: 12px;
  padding: 13px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface-2);
}
.chat-action .ca-ico { width: 36px; height: 36px; border-radius: 11px; display:grid; place-items:center; color:#fff; flex:none; }
.chat-action .ca-t { font-family: var(--font-rounded); font-weight: 600; font-size: .92rem; color: var(--ink); }
.chat-action .ca-s { font-size: .8rem; color: var(--muted); }
.chat-action .ca-go { margin-left: auto; font-family: var(--font-rounded); font-weight:600; font-size:.85rem; color: var(--primary); }
.chat-foot { margin-top: 14px; font-size: .78rem; color: var(--faint); display: flex; align-items: center; gap: 7px; justify-content: center; }

/* ---- Privacy band ---------------------------------------------------- */
.privacy-band {
  background:
    radial-gradient(60% 80% at 80% 10%, var(--aurora-1), transparent 70%),
    radial-gradient(50% 70% at 10% 90%, var(--aurora-2), transparent 72%),
    var(--bg-2);
  border-block: 1px solid var(--border);
}
.priv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 36px; }
.priv-item { display: flex; gap: 13px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; }
.priv-item .pi-check { width: 24px; height: 24px; flex: none; border-radius: 50%; background: color-mix(in srgb, var(--green) 20%, transparent); color: var(--green); display: grid; place-items: center; margin-top: 2px; }
.priv-item .pi-check svg { width: 14px; height: 14px; }
.priv-item h4 { font-size: 1rem; color: var(--ink); }
.priv-item p { font-size: .9rem; color: var(--muted); margin-top: 2px; }
.priv-note { margin-top: 26px; font-size: .92rem; color: var(--muted); max-width: 62ch; }

/* ---- Ecosystem ------------------------------------------------------- */
.eco-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.eco {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; text-align: left;
}
.eco .eco-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; margin-bottom: 14px; }
.eco .eco-ico svg { width: 22px; height: 22px; }
.eco h4 { font-size: 1.02rem; color: var(--ink); }
.eco p { font-size: .9rem; color: var(--muted); margin-top: 5px; }

/* ---- Pricing --------------------------------------------------------- */
.price-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 22px; align-items: stretch; }
.price {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.price.featured {
  border-color: color-mix(in srgb, var(--primary) 45%, var(--border));
  box-shadow: var(--shadow-md);
  position: relative;
  background:
    radial-gradient(120% 80% at 100% 0%, color-mix(in srgb, var(--primary) 10%, transparent), transparent 60%),
    var(--surface);
}
.price-badge {
  position: absolute; top: 20px; right: 24px;
  font-family: var(--font-rounded); font-weight: 600; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--on-primary); background: var(--primary); padding: 5px 11px; border-radius: 999px;
}
.price .p-name { font-family: var(--font-rounded); font-weight: 600; font-size: 1.15rem; color: var(--ink); }
.price .p-tag { color: var(--muted); font-size: .94rem; margin-top: 4px; }
.price .p-amount { margin-top: 18px; font-family: var(--font-serif); font-size: 2.6rem; color: var(--ink); line-height: 1; }
.price .p-amount small { font-family: var(--font-sans); font-size: .9rem; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.price .p-sub { margin-top: 8px; font-size: .9rem; color: var(--saffron); font-weight: 600; font-family: var(--font-rounded); min-height: 1.2em; }
.price ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 11px; }
.price li { position: relative; padding-left: 28px; font-size: .96rem; color: var(--text); }
.price li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: color-mix(in srgb, var(--green) 18%, transparent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235BB890' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px; background-repeat: no-repeat; background-position: center;
}
.price .p-cta { margin-top: auto; }
.price-options { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; margin-bottom: 22px; }
.price-opt { border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; flex: 1; min-width: 120px; }
.price-opt.best { border-color: color-mix(in srgb, var(--primary) 45%, var(--border)); background: color-mix(in srgb, var(--primary) 6%, transparent); }
.price-opt .po-k { font-size: .82rem; color: var(--muted); }
.price-opt .po-v { font-family: var(--font-rounded); font-weight: 600; font-size: 1.15rem; color: var(--ink); }
.price-opt .po-n { font-size: .76rem; color: var(--saffron); font-weight: 600; }

/* ---- FAQ ------------------------------------------------------------- */
.faq { max-width: 760px; margin-inline: auto; }
.faq details {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); margin-bottom: 12px; overflow: hidden;
  transition: border-color .2s ease;
}
.faq details[open] { border-color: var(--border-strong); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 20px 22px; font-family: var(--font-rounded); font-weight: 600; font-size: 1.05rem; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { flex: none; width: 22px; height: 22px; color: var(--muted); transition: transform .25s ease; }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq .faq-body { padding: 0 22px 22px; color: var(--muted); font-size: .98rem; }
.faq .faq-body a { color: var(--link); }

/* ---- Final CTA ------------------------------------------------------- */
.final-cta {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #443a9c, #6a4d8e 55%, #c07a6a);
  border-radius: var(--radius-xl);
  padding: clamp(40px, 7vw, 76px);
  text-align: center; color: #fff;
  box-shadow: var(--shadow-lg);
}
.final-cta::before {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .5;
  background: radial-gradient(40% 60% at 20% 20%, rgba(255,255,255,.18), transparent 60%),
              radial-gradient(40% 60% at 85% 90%, rgba(242,169,61,.3), transparent 60%);
}
.final-cta > * { position: relative; z-index: 1; }
.final-cta h2 { color: #fff; font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.9rem, 4.6vw, 3rem); }
.final-cta p { color: rgba(255,255,255,.9); margin-top: 16px; font-size: 1.12rem; max-width: 48ch; margin-inline: auto; }
.final-cta .cta-row { margin-top: 30px; }
.final-cta .btn-primary { background: #fff; color: var(--indigo); }
.final-cta .btn-primary:hover { background: #f4f1ff; }
.final-cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.final-cta .btn-ghost:hover { background: rgba(255,255,255,.12); color:#fff; border-color: #fff; }
.final-cta .appstore { background: #fff; color: #0E0D13; border-color: #fff; }

/* ---- Footer ---------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-2); padding-block: 56px 36px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { color: var(--muted); font-size: .94rem; max-width: 32ch; }
.footer-brand .maitri { margin-top: 14px; font-style: italic; color: var(--faint); font-size: .9rem; }
.footer-col h4 { font-family: var(--font-rounded); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--text); font-size: .96rem; padding: 5px 0; }
.footer-col a:hover { color: var(--primary); text-decoration: none; }
.footer-bottom {
  margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between;
  color: var(--muted); font-size: .88rem;
}
.footer-bottom .fb-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--primary); text-decoration: none; }

/* ---- Legal / prose pages -------------------------------------------- */
.page-head { padding-block: clamp(40px, 7vw, 72px) 0; position: relative; }
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { font-family: var(--font-serif); font-weight: 500; font-size: clamp(2rem, 5vw, 3rem); }
.page-head .meta { margin-top: 14px; color: var(--muted); font-size: .96rem; }
.page-head .meta strong { color: var(--text); font-weight: 600; }

.prose { max-width: 760px; margin-inline: auto; padding-block: 40px 96px; }
.prose h2 { font-family: var(--font-serif); font-weight: 500; font-size: 1.55rem; margin: 44px 0 14px; }
.prose h3 { font-size: 1.16rem; margin: 30px 0 10px; color: var(--ink); }
.prose p, .prose li { color: var(--text); font-size: 1.02rem; }
.prose p { margin: 14px 0; }
.prose ul, .prose ol { margin: 14px 0; padding-left: 1.3em; }
.prose li { margin: 8px 0; }
.prose a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--ink); font-weight: 650; }
.prose hr { border: none; border-top: 1px solid var(--border); margin: 40px 0; }
.prose .lede {
  background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--primary);
  border-radius: var(--radius); padding: 20px 24px; margin: 28px 0; color: var(--text);
}
.prose .lede p:first-child { margin-top: 0; }
.prose .lede p:last-child { margin-bottom: 0; }
.toc {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 24px; margin: 28px 0;
}
.toc h4 { font-family: var(--font-rounded); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: 12px; }
.toc ol { margin: 0; padding-left: 1.2em; columns: 2; column-gap: 28px; }
.toc li { margin: 5px 0; font-size: .95rem; }
.callout {
  background: color-mix(in srgb, var(--saffron) 10%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--saffron) 35%, var(--border));
  border-radius: var(--radius); padding: 18px 22px; margin: 24px 0;
}
.callout strong { color: var(--ink); }

/* contact cards on support page */
.support-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 12px 0 8px; }
.support-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; }
.support-card .sc-ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; color: #fff; margin-bottom: 14px; }
.support-card h3 { font-size: 1.14rem; margin-bottom: 6px; }
.support-card p { color: var(--muted); font-size: .96rem; }
.support-card a.btn { margin-top: 16px; }

/* skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--primary); color: var(--on-primary); padding: 12px 18px; border-radius: 0 0 12px 0;
  font-family: var(--font-rounded); font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---- Responsive ------------------------------------------------------ */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 40rem; margin-inline: auto; text-align: center; }
  .hero .cta-row, .hero .trust-line, .hero .eyebrow { justify-content: center; }
  .hero-visual { margin-top: 18px; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .price-grid { grid-template-columns: 1fr; }
  .eco-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav-links, .nav-cta-desktop { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 12px var(--gutter) 18px; margin: 0;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open a { padding: 12px 14px; }
  .nav-links.open .nav-cta-mobile { display: inline-flex; justify-content: center; }
  .nav-links.open .btn { margin-top: 6px; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 999px;
    background: var(--surface-2); border: 1px solid var(--border); color: var(--ink); cursor: pointer;
  }
  .nav-toggle svg { width: 22px; height: 22px; }
  .cols-2, .cols-3, .practice-grid, .priv-grid, .support-cards { grid-template-columns: 1fr; }
  .valuestrip { grid-template-columns: 1fr 1fr; }
  .toc ol { columns: 1; }
}
@media (max-width: 460px) {
  body { font-size: 16px; }
  .eco-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---- Reveal on scroll (progressive enhancement: only hide when JS is present) -- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---- Reduced motion -------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
