/* SaarthiStudy: inner page visuals. */

/* ---------- FAQ: a question that turns over to its answer ---------- */
.qa3 { position: relative; width: min(100%, 420px); height: 400px; margin: 0 auto; perspective: 1200px; display: grid; place-items: center; }
.qa3__deck i { position: absolute; left: 50%; top: 50%; width: 320px; height: 240px; margin: -120px 0 0 -160px; border-radius: 26px; background: #3a3632; transform: rotate(-6deg) translate(-18px, 16px); }
.qa3__deck i + i { background: #2e2b27; transform: rotate(5deg) translate(16px, 24px); }
.qa3__card { position: relative; width: 320px; height: 240px; transform-style: preserve-3d; transition: transform 1s cubic-bezier(.6, 0, .25, 1); }
.qa3.is-a .qa3__card { transform: rotateY(180deg); }
.qa3__face { position: absolute; inset: 0; border-radius: 26px; padding: 26px; display: flex; flex-direction: column; justify-content: space-between; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .8); }
.qa3__q { background: #fbf7f0; color: var(--ink); }
.qa3__a { background: linear-gradient(160deg, #8a5a2b, #5c3a17); color: #fff; transform: rotateY(180deg); }
.qa3__k { font: 400 54px/1 var(--font-display); color: var(--bronze); }
.qa3__a .qa3__k { color: var(--gold); }
.qa3__face p { margin: 0; font: 400 22px/1.3 var(--font-display); }
.qa3__a p { font: 500 17px/1.45 var(--font-sans); }
.qa3__face p, .qa3__k { transition: opacity .3s; }
.qa3.is-swap .qa3__face p { opacity: 0; }
@media (max-width: 1023px) { .qa3 { height: 300px; } .qa3__card, .qa3__deck i { width: 280px; height: 210px; } .qa3__deck i { margin: -105px 0 0 -140px; } .qa3__face p { font-size: 19px; } .qa3__a p { font-size: 15px; } }

/* ---------- Insights: notes fanned out on the desk ---------- */
.notes3 { position: relative; width: 100%; height: 440px; perspective: 1400px; }
.note3 { position: absolute; left: 50%; top: 50%; width: 250px; height: 300px; margin: -150px 0 0 -125px; border-radius: 20px; padding: 22px; background: #fbf7f0; color: var(--ink); display: flex; flex-direction: column; gap: 9px; box-shadow: 0 40px 60px -40px rgba(0, 0, 0, .85); transform-origin: 50% 120%; transform: rotateX(8deg) rotateZ(calc((var(--i) - 1.5) * 9deg)) translateX(calc((var(--i) - 1.5) * 34px)); transition: transform .8s var(--ease-out); }
.motion-ok .note3 { animation: notefan 8s ease-in-out infinite; animation-delay: calc(var(--i) * -.6s); }
@keyframes notefan { 50% { translate: 0 -10px; } }
.notes3:hover .note3 { transform: rotateX(4deg) rotateZ(calc((var(--i) - 1.5) * 14deg)) translateX(calc((var(--i) - 1.5) * 70px)); }
.note3__tag { align-self: flex-start; padding: 5px 10px; border-radius: 99px; background: color-mix(in srgb, var(--c), #fff 82%); color: color-mix(in srgb, var(--c), #000 45%); font: 800 10.5px/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; }
.note3 b { font: 400 22px/1.2 var(--font-display); margin: 6px 0 8px; }
.note3 i { display: block; height: 7px; border-radius: 4px; background: #ece4d6; }
.note3__soon { margin-top: auto; font: 800 10.5px/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 1023px) { .notes3 { height: 340px; } .note3 { width: 200px; height: 250px; margin: -125px 0 0 -100px; padding: 18px; } .note3 b { font-size: 18px; } }


/* ==========================================================================
   For Institutes: clean and light (Style A)
   Cream and white surfaces, Alice headings, real app screens in flat phones.
   ========================================================================== */
/* Every page except the homepage opens on a light hero, so the header starts with dark text */
body:not([data-page="home"]) .site-header:not(.is-solid) { color: var(--ink); }
body:not([data-page="home"]) .site-header:not(.is-solid) .nav a:not(.btn)::after { background: var(--bronze); }
body:not([data-page="home"]) .site-header:not(.is-solid) .btn--ghost-dark { --btn-fg: var(--ink); --btn-bd: var(--border-strong); --btn-fill: var(--ink); --btn-fill-fg: var(--cream); }

.ia-ico { width: 44px; height: 44px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--white); border: 1px solid var(--border); color: var(--bronze); }
.ia-ico .icon { width: 20px; height: 20px; }

/* Hero */
.ia-hero { position: relative; overflow: clip; background: var(--cream); color: var(--ink); padding-top: calc(var(--header-h) + clamp(28px, 5vw, 72px)); }
.ia-hero__grid { display: grid; gap: clamp(40px, 6vw, 56px); align-items: center; }
@media (min-width: 1024px) { .ia-hero__grid { grid-template-columns: 1.02fr .98fr; gap: 40px; } }
.ia-kick { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 7px 14px 7px 10px; border-radius: var(--r-pill); background: var(--white); border: 1px solid var(--border); font-size: 0.8125rem; font-weight: 700; color: var(--bronze); }
.ia-kick .icon { width: 16px; height: 16px; }
.ia-h1 { margin: 22px 0 22px; font: 400 clamp(2.5rem, 1.25rem + 4.3vw, 4.4rem)/1.04 var(--font-display); letter-spacing: -0.02em; text-wrap: balance; }
.ia-h1 em { font-style: normal; color: var(--bronze); }
.ia-lead { max-width: 50ch; margin: 0; font-size: clamp(1.03rem, 0.95rem + 0.35vw, 1.16rem); line-height: 1.65; color: var(--text-2); text-wrap: pretty; }
.ia-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.ia-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: var(--r-pill); font-weight: 700; font-size: 0.9375rem; transition: background-color .3s, color .3s, border-color .3s; }
.ia-btn .icon { width: 18px; height: 18px; transition: transform .3s var(--ease-out); }
.ia-btn--dark { background: var(--ink); color: var(--cream); }
.ia-btn--dark:hover { background: var(--bronze-700); }
.ia-btn--dark:hover .icon { transform: translateX(3px); }
.ia-btn--line { border: 1px solid var(--border-strong); color: var(--ink); }
.ia-btn--line:hover { border-color: var(--ink); background: var(--white); }
.ia-free { display: flex; align-items: center; gap: 8px; margin: 22px 0 0; font-size: 0.9375rem; font-weight: 700; color: var(--bronze-700); }
.ia-free .icon { width: 18px; height: 18px; }

.ia-vis { position: relative; width: min(100%, 580px); aspect-ratio: 580 / 640; margin-inline: auto; }
.ia-ring { position: absolute; left: 50%; top: 47%; aspect-ratio: 1; border-radius: 50%; border: 1px solid #e9dfd1; translate: -50% -50%; pointer-events: none; }
.ia-ring--1 { width: 104%; }
.ia-ring--2 { width: 74%; border-style: dashed; border-color: #e3d6c4; }
.motion-ok .ia-ring--2 { animation: ia-spin 80s linear infinite; }
.ia-ph { position: absolute; margin: 0; aspect-ratio: 292 / 612; padding: clamp(5px, 1.4vw, 9px); border-radius: clamp(24px, 4.2vw, 40px); background: #1c1b1a; box-shadow: 0 60px 90px -50px rgba(60, 40, 20, .55), inset 0 0 0 1px #3a3632; }
.ia-ph img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: calc(clamp(24px, 4.2vw, 40px) - clamp(5px, 1.4vw, 9px)); background: var(--cream); }
.ia-ph--c { width: 49%; left: 25.5%; top: 0; z-index: 2; }
.ia-ph--l { width: 40%; left: 0; top: 15%; }
.ia-ph--r { width: 40%; right: 0; top: 21%; }
.ia-note { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 11px 16px 11px 11px; border-radius: 18px; background: var(--white); box-shadow: 0 30px 50px -28px rgba(60, 40, 20, .5), 0 0 0 1px rgba(232, 223, 211, .8); line-height: 1.3; }
.ia-note i { width: 36px; height: 36px; flex: none; border-radius: 11px; display: grid; place-items: center; background: var(--tint); color: var(--bronze); }
.ia-note i .icon { width: 18px; height: 18px; }
.ia-note b { display: block; font-size: 0.84rem; font-weight: 700; white-space: nowrap; }
.ia-note small { display: block; margin-top: 2px; font-size: 0.78rem; color: var(--muted); white-space: nowrap; }
.ia-note span, .ia-note i .icon { transition: opacity .35s, transform .35s var(--ease-out); }
.ia-note.is-swap span, .ia-note.is-swap i .icon { opacity: 0; transform: translateY(6px); }
.ia-note--a { left: 3%; top: 3%; }
.ia-note--b { right: 1%; bottom: 11%; }

.ia-promise { list-style: none; display: grid; gap: 20px; margin-top: clamp(44px, 6vw, 72px); padding: 30px 0 clamp(52px, 6vw, 84px); border-top: 1px solid var(--border); }
@media (min-width: 760px) { .ia-promise { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.ia-promise li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; font-size: 0.9375rem; line-height: 1.5; color: var(--text-2); }
.ia-promise b { display: block; margin-bottom: 4px; font: 400 1.3rem/1.2 var(--font-display); color: var(--ink); }

@keyframes ia-up { from { opacity: 0; transform: translateY(24px); } }
@keyframes ia-rise { from { opacity: 0; transform: translateY(70px) scale(.96); } }
@keyframes ia-pop { from { opacity: 0; transform: translateY(16px) scale(.9); } }
@keyframes ia-spin { to { rotate: 360deg; } }
.motion-ok .ia-hero__copy > * { animation: ia-up 1s var(--ease-out) both; }
.motion-ok .ia-hero__copy > :nth-child(2) { animation-delay: .08s; }
.motion-ok .ia-hero__copy > :nth-child(3) { animation-delay: .16s; }
.motion-ok .ia-hero__copy > :nth-child(4) { animation-delay: .24s; }
.motion-ok .ia-hero__copy > :nth-child(5) { animation-delay: .3s; }
.motion-ok .ia-ph--c { animation: ia-rise 1.3s var(--ease-out) .1s both; }
.motion-ok .ia-ph--l { animation: ia-rise 1.3s var(--ease-out) .28s both; }
.motion-ok .ia-ph--r { animation: ia-rise 1.3s var(--ease-out) .4s both; }
.motion-ok .ia-note--a { animation: ia-pop .9s var(--ease-out) .95s both; }
.motion-ok .ia-note--b { animation: ia-pop .9s var(--ease-out) 1.15s both; }
.motion-ok .ia-promise li { animation: ia-up 1s var(--ease-out) both; }
.motion-ok .ia-promise li:nth-child(1) { animation-delay: .45s; }
.motion-ok .ia-promise li:nth-child(2) { animation-delay: .55s; }
.motion-ok .ia-promise li:nth-child(3) { animation-delay: .65s; }

/* Tools: every tool on its real screen; the screen scrolls when you point at it */
.ia-tools { position: relative; padding-block: var(--section-y); background: var(--white); color: var(--ink); }
.ia-grid { list-style: none; display: grid; gap: 20px; }
@media (min-width: 640px) { .ia-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ia-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
@media (max-width: 639px) {
  .ia-rail { margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .ia-rail::-webkit-scrollbar { display: none; }
  .ia-grid { grid-auto-flow: column; grid-auto-columns: 84%; grid-template-columns: none; gap: 14px; }
  .ia-tool { scroll-snap-align: center; }
}
.ia-rail:focus-visible { outline: 2px solid var(--bronze); outline-offset: 6px; border-radius: 26px; }
.ia-tool { position: relative; top: 0; overflow: hidden; border-radius: 26px; background: #f6f1ea; transition: top .5s var(--ease-out), box-shadow .5s, background-color .5s; }
.ia-shot { padding: 26px 13% 0; }
.ia-frame { aspect-ratio: 1 / .86; overflow: hidden; padding: 7px 7px 0; border-radius: 30px 30px 0 0; background: #1c1b1a; box-shadow: 0 24px 40px -24px rgba(60, 40, 20, .5); }
.ia-frame img { width: 100%; border-radius: 23px 23px 0 0; background: var(--cream); transition: transform 1.8s cubic-bezier(.45, 0, .2, 1); }
.ia-tool.is-peek .ia-frame img { transform: translateY(calc(-1 * var(--peek, 38%))); }
@media (hover: hover) {
  .ia-tool:hover { top: -6px; background: #f2eadf; box-shadow: 0 40px 60px -42px rgba(60, 40, 20, .5); }
  .ia-tool:hover .ia-frame img { transform: translateY(calc(-1 * var(--peek, 38%))); }
}
.ia-tool__text { padding: 20px 24px 26px; }
.ia-tool__n { font: 800 0.6875rem/1 var(--font-sans); letter-spacing: .12em; color: var(--bronze); }
.ia-tool h3 { margin: 10px 0 8px; font: 400 1.45rem/1.2 var(--font-display); }
.ia-tool p { margin: 0; font-size: 0.90625rem; line-height: 1.55; color: var(--text-2); }

/* Fees: what the family sees, and the reminder ladder */
.ia-fees { position: relative; padding-block: var(--section-y); background: var(--cream); color: var(--ink); }
.ia-split { display: grid; gap: 52px; align-items: center; }
@media (min-width: 1024px) { .ia-split { grid-template-columns: 1fr 1.05fr; gap: 72px; } }
.ia-fees__vis { position: relative; display: grid; justify-items: center; }
.ia-ph--solo { position: relative; width: min(62%, 270px); }
.ia-tag { position: absolute; z-index: 2; top: -16px; left: 50%; translate: -50% 0; white-space: nowrap; padding: 7px 13px; border-radius: var(--r-pill); background: var(--white); border: 1px solid var(--border); font: 700 0.75rem/1 var(--font-sans); color: var(--bronze); box-shadow: 0 10px 20px -14px rgba(60, 40, 20, .5); }
.ladder { position: relative; z-index: 2; width: 100%; max-width: 470px; margin-top: -110px; padding: 24px; border-radius: 26px; background: var(--white); border: 1px solid var(--border); box-shadow: 0 50px 80px -50px rgba(60, 40, 20, .55); }
@media (min-width: 1024px) {
  .ia-fees__vis { display: block; min-height: 640px; }
  .ia-fees__vis { min-height: 660px; }
  .ia-fees__vis .ia-ph--solo { position: absolute; left: 0; top: 16px; width: 46%; }
  .ia-fees__vis .ladder { position: absolute; right: 0; top: 150px; width: 60%; margin: 0; }
}
.ladder__title { margin: 0 0 18px; font: 400 1.375rem/1.2 var(--font-display); }
.ladder__title span { display: block; margin-top: 6px; font: 800 0.6875rem/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ladder__list { list-style: none; position: relative; display: grid; gap: 12px; margin: 0; padding: 0 0 0 30px; }
.ladder__list::before { content: ""; position: absolute; left: 9px; top: 10px; bottom: 10px; width: 2px; background: var(--border); }
.ladder__list::after { content: ""; position: absolute; left: 9px; top: 10px; width: 2px; height: calc(var(--lp, 1) * (100% - 20px)); background: linear-gradient(var(--bronze), var(--gold)); transition: height .9s var(--ease-out); }
.ladder__list li { position: relative; padding: 11px 14px; border-radius: 15px; border: 1px solid transparent; background: #faf6f0; transition: background-color .5s, border-color .5s, transform .5s var(--ease-out); }
.ladder__list li::before { content: ""; position: absolute; left: -27px; top: 15px; z-index: 1; width: 14px; height: 14px; border-radius: 50%; background: var(--white); border: 2px solid var(--border-strong); transition: background-color .4s, border-color .4s, box-shadow .4s; }
.ladder__list b { display: block; margin-bottom: 3px; font-size: 0.875rem; transition: color .5s; }
.ladder__list span { display: block; font-size: 0.84rem; line-height: 1.45; color: var(--text-2); }
.ladder__list li.is-on { background: var(--tint); border-color: rgba(138, 90, 43, .32); transform: translateX(6px); }
.ladder__list li.is-on b { color: var(--bronze-700); }
.ladder__list li.is-past::before, .ladder__list li.is-on::before { background: var(--bronze); border-color: var(--bronze); }
.ladder__list li.is-on::before { box-shadow: 0 0 0 5px rgba(138, 90, 43, .16); }
.ladder__list li.ladder__paid.is-on { background: #e8f1ea; border-color: #b9d3c1; }
.ladder__list li.ladder__paid.is-on b { color: #2f6b4a; }
.ladder__list li.ladder__paid.is-on::before { background: #3f7d5b; border-color: #3f7d5b; box-shadow: 0 0 0 5px rgba(63, 125, 91, .16); }

/* Privacy */
.ia-privacy { position: relative; padding-block: var(--section-y); background: var(--white); color: var(--ink); }
.ia-rules { list-style: none; display: grid; gap: 16px; margin-top: clamp(40px, 4.5vw, 60px); }
@media (min-width: 900px) { .ia-rules { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.ia-rules li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 20px; border-radius: 20px; background: var(--cream); border: 1px solid var(--border); font-size: 0.9375rem; line-height: 1.5; color: var(--text-2); }
.ia-rules b { display: block; margin-bottom: 2px; color: var(--ink); }
.ia-more { margin: 26px 0 0; text-align: center; font-size: 0.9375rem; }

/* Onboarding: four steps on one line */
.ia-onb { position: relative; padding-block: var(--section-y); background: var(--cream); color: var(--ink); }
.ia-steps { position: relative; }
.ia-steps__list { list-style: none; display: grid; gap: 18px; }
@media (min-width: 1024px) { .ia-steps__list { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.ia-steps__track { display: none; }
@media (min-width: 1024px) {
  .ia-steps__track { display: block; position: absolute; left: calc(12.5% - 7.5px); right: calc(12.5% - 7.5px); top: 27px; height: 2px; background: var(--border-strong); }
  .ia-steps__track span { position: absolute; inset: 0; background: var(--bronze); transform-origin: left; }
}
.ia-step { position: relative; display: grid; grid-template-rows: auto 1fr; justify-items: center; text-align: center; }
.ia-step__n { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); border: 2px solid var(--border-strong); font: 400 1.375rem/1 var(--font-display); color: var(--muted); transition: background-color .4s, border-color .4s, color .4s; }
.ia-step.is-done .ia-step__n, .no-js .ia-step__n, .reduced-motion .ia-step__n { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.ia-step__card { width: 100%; height: 100%; margin-top: 18px; padding: 26px 22px 28px; border-radius: 22px; background: var(--white); border: 1px solid var(--border); display: grid; justify-items: center; align-content: start; transition: transform .5s var(--ease-out), box-shadow .5s; }
.ia-step__card .ia-ico { background: var(--tint); border-color: transparent; }
.ia-step:hover .ia-step__card { transform: translateY(-4px); box-shadow: 0 30px 50px -36px rgba(60, 40, 20, .5); }
.ia-step h3 { margin: 16px 0 6px; font: 400 1.375rem/1.2 var(--font-display); }
.ia-step p { margin: 0; font-size: 0.90625rem; line-height: 1.55; color: var(--text-2); }

/* Launch partner */
.ia-partner { position: relative; padding-block: var(--section-y); background: var(--white); color: var(--ink); }
.ia-partner .acc { background: var(--cream); }
.ia-partner .form-card { background: var(--cream); box-shadow: none; }
.ia-partner .btn { border-radius: var(--r-pill); }
@media (min-width: 1024px) {
  .ia-tools .section-head, .ia-onb .section-head { max-width: none; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); column-gap: 72px; align-items: end; }
  .ia-tools .section-head > .label, .ia-onb .section-head > .label { grid-column: 1 / -1; }
  .ia-tools .section-head .lead, .ia-onb .section-head .lead { margin: 0 0 8px; max-width: 46ch; }
}

@media (max-width: 639px) {
  .ia-note { padding: 9px 12px 9px 9px; border-radius: 15px; gap: 8px; }
  .ia-note i { width: 30px; height: 30px; border-radius: 9px; }
  .ia-note b { font-size: 0.78rem; } .ia-note small { font-size: 0.72rem; }
  .ia-ring--1 { width: 96%; }
}
.reduced-motion .ia-frame img, .reduced-motion .ia-tool, .reduced-motion .ladder__list li, .reduced-motion .pr-card, .reduced-motion .pr-tiles li { transition: none; }

/* ==========================================================================
   Shared light pages: Products, FAQ, Insights, legal pages and 404
   ========================================================================== */
.ia-band { position: relative; overflow: clip; padding-block: var(--section-y); color: var(--ink); }
.ia-band--white { background: var(--white); }
.ia-band--cream { background: var(--cream); }
.ia-band--tight { padding-block: clamp(56px, 7vw, 96px); }
@media (min-width: 1024px) { .ia-split--rev > :last-child { order: -1; } }
.ia-hero--page { padding-bottom: clamp(56px, 7vw, 100px); }
.ia-hero--page:has(.pr-cards) { padding-bottom: 0; }
.ia-hero--compact { padding-bottom: clamp(44px, 6vw, 80px); border-bottom: 1px solid var(--border); }
.ia-hero--compact .ia-h1 { font-size: clamp(2.4rem, 1.4rem + 3.4vw, 4rem); margin-bottom: 16px; }
.ia-hero__side { display: flex; justify-content: center; }
.ia-hero__side > * { width: 100%; max-width: 560px; }
@media (max-width: 759px) { .ia-hero__side { display: none; } }
.motion-ok .ia-hero__side { animation: ia-rise 1.3s var(--ease-out) .2s both; }

/* Products hero */
.ia-flag { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--r-pill); background: var(--white); border: 1px solid var(--border); box-shadow: 0 16px 30px -18px rgba(60, 40, 20, .5); font-size: 0.78rem; font-weight: 700; color: var(--ink); white-space: nowrap; }
.ia-flag i { width: 7px; height: 7px; border-radius: 50%; background: var(--bronze); }
.ia-flag--l { left: -1%; top: 7%; }
.ia-flag--r { right: -1%; top: 14%; }
.motion-ok .ia-flag--l { animation: ia-pop .9s var(--ease-out) .9s both; }
.motion-ok .ia-flag--r { animation: ia-pop .9s var(--ease-out) 1.05s both; }
@media (max-width: 639px) { .ia-flag { padding: 6px 10px; font-size: 0.68rem; gap: 6px; } .ia-flag--l { top: 4%; } .ia-flag--r { top: 11%; } }
.pr-cards { display: grid; gap: 18px; margin-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(56px, 7vw, 96px); }
@media (min-width: 900px) { .pr-cards { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.pr-card { position: relative; top: 0; display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: 24px; background: var(--white); border: 1px solid var(--border); color: var(--ink); transition: top .5s var(--ease-out), box-shadow .5s, border-color .5s; }
.pr-card:hover { top: -6px; border-color: rgba(138, 90, 43, .35); box-shadow: 0 40px 60px -42px rgba(60, 40, 20, .5); }
.pr-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pr-card .ia-ico, .pr-tiles .ia-ico, .ia-rules .ia-ico { background: var(--tint); border-color: transparent; }
.pr-card h2 { margin: 6px 0 0; font: 400 1.6rem/1.15 var(--font-display); }
.pr-card p { flex: 1; margin: 0; font-size: 0.9375rem; line-height: 1.55; color: var(--text-2); }
.motion-ok .pr-card { animation: ia-up 1s var(--ease-out) both; }
.motion-ok .pr-card:nth-child(1) { animation-delay: .45s; }
.motion-ok .pr-card:nth-child(2) { animation-delay: .55s; }
.motion-ok .pr-card:nth-child(3) { animation-delay: .65s; }

/* Products sections */
.pr-stage { position: relative; display: grid; place-items: center; min-height: 540px; }
.pr-stage .ia-ring--1 { width: min(94%, 520px); top: 50%; }
.pr-stage .ia-ring--2 { width: min(66%, 360px); top: 50%; }
.pr-stage .ia-ph--solo { width: min(62%, 290px); }
.pr-screens { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: calc(clamp(24px, 4.2vw, 40px) - clamp(5px, 1.4vw, 9px)); background: var(--cream); }
.pr-screens img { position: absolute; inset: 0; transition: opacity .5s var(--ease-out); }
.pr-screens img.is-off { opacity: 0; }
.pr-note--a { left: 0; top: 16%; }
.pr-note--b { right: 0; bottom: 14%; }
.ia-band .stores { margin-top: 28px; }
.ia-band .store, .ia-band .store--light { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.pr-tiles { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 30px; }
@media (min-width: 640px) { .pr-tiles { grid-template-columns: repeat(3, 1fr); } .pr-tiles--2 { grid-template-columns: repeat(2, 1fr); } }
.pr-tiles li { position: relative; top: 0; display: grid; align-content: start; gap: 4px; padding: 18px; border-radius: 18px; background: var(--white); border: 1px solid var(--border); transition: top .4s var(--ease-out), border-color .4s; }
.ia-band--white .pr-tiles li { background: var(--cream); }
.pr-tiles li:hover { top: -3px; border-color: rgba(138, 90, 43, .35); }
.pr-tiles .ia-ico { width: 38px; height: 38px; margin-bottom: 8px; border-radius: 12px; }
.pr-tiles .ia-ico .icon { width: 18px; height: 18px; }
.pr-tiles b { font-size: 0.9375rem; line-height: 1.3; }
.pr-tiles li > span:last-child { font-size: 0.84rem; color: var(--muted); }
.pr-small { margin: 20px 0 0; font-size: 0.875rem; color: var(--muted); }
.pr-stage--ai { display: grid; justify-items: center; place-items: initial; min-height: 0; }
.pr-diff { position: relative; z-index: 2; width: 100%; max-width: 440px; margin-top: -110px; padding: 26px; border-radius: 26px; background: var(--white); border: 1px solid var(--border); box-shadow: 0 50px 80px -50px rgba(60, 40, 20, .55); }
@media (min-width: 1024px) {
  .pr-stage--ai { display: block; min-height: 640px; }
  .pr-stage--ai .ia-ph--solo { position: absolute; left: 0; top: 16px; width: 46%; }
  .pr-stage--ai .pr-diff { position: absolute; right: 0; top: 160px; width: 62%; margin: 0; }
}
.pr-diff h3 { margin: 0 0 18px; font: 400 1.5rem/1.2 var(--font-display); }
.pr-diff .ticks li { font-size: 0.9375rem; }
.pr-diff__note { display: flex; gap: 10px; margin: 20px 0 0; padding: 14px; border-radius: 14px; background: var(--cream); font-size: 0.84rem; line-height: 1.5; color: var(--text-2); }
.pr-diff__note .icon { width: 18px; height: 18px; flex: none; margin-top: 1px; color: var(--bronze); }
.pr-teaser { display: grid; gap: 36px; align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: 32px; background: var(--white); border: 1px solid var(--border); }
@media (min-width: 900px) { .pr-teaser { grid-template-columns: 1.4fr .6fr; } }
.pr-teaser .h-2 { margin-top: 14px; }
.pr-teaser .lead { margin-top: 16px; }
.pr-teaser__pill { margin: 22px 0 0; }
.pr-door { position: relative; justify-self: center; width: 180px; aspect-ratio: 3 / 4.4; display: grid; place-items: center; }
.pr-door__arch { position: absolute; inset: 0; border-radius: 90px 90px 14px 14px; border: 1.5px solid rgba(138, 90, 43, .45); }
.pr-door__arch--in { inset: 14px; border-radius: 78px 78px 8px 8px; border-style: dashed; border-color: rgba(138, 90, 43, .3); }
.pr-door__icon { position: relative; width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--tint); color: var(--bronze); }
.pr-door__icon .icon { width: 28px; height: 28px; }
@keyframes pr-breathe { 50% { inset: 24px; opacity: .55; } }
.motion-ok .pr-door__arch--in { animation: pr-breathe 4.5s ease-in-out infinite; }

/* FAQ */
.ia-search { margin: 28px 0 0; max-width: 520px; }
.ia-search .search { max-width: none; }
.ia-search .input { min-height: 56px; padding-left: 48px; border-radius: var(--r-pill); background: var(--white); box-shadow: 0 16px 30px -24px rgba(60, 40, 20, .4); }
.ia-search [data-faq-count]:empty { display: none; }
.ia-hero .qa3__deck i { background: #efe6d9; }
.ia-hero .qa3__deck i + i { background: #e6dbcb; }
.ia-hero .qa3__q { background: var(--white); box-shadow: 0 40px 60px -40px rgba(60, 40, 20, .5), 0 0 0 1px var(--border); }
.faq-layout { display: grid; gap: 32px; }
.faq-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.faq-nav p { width: 100%; margin: 0 0 6px; font: 800 0.6875rem/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.faq-nav a { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--border); background: var(--cream); font-size: 0.9375rem; font-weight: 600; color: var(--text-2); transition: background-color .3s, color .3s; }
.faq-nav a:hover { background: var(--tint); color: var(--ink); }
.faq-nav .icon { width: 18px; height: 18px; color: var(--bronze); }
@media (min-width: 1024px) {
  .faq-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 64px; align-items: start; }
  .faq-nav { position: sticky; top: calc(var(--header-h) + 24px); flex-direction: column; flex-wrap: nowrap; gap: 4px; }
  .faq-nav a { border-color: transparent; background: none; }
}
.faq-main .faq-group { scroll-margin-top: calc(var(--header-h) + 24px); }
.faq-main .acc { background: var(--cream); }
.pg-cta { display: grid; gap: 24px; align-items: center; padding: clamp(30px, 5vw, 56px); border-radius: 32px; background: var(--white); border: 1px solid var(--border); }
@media (min-width: 900px) { .pg-cta { grid-template-columns: 1fr auto; } }
.pg-cta .lead { margin-top: 10px; }

/* Insights */
.ia-hero .note3 { background: var(--white); box-shadow: 0 30px 50px -30px rgba(60, 40, 20, .45), 0 0 0 1px var(--border); }
.ia-band .empty { background: var(--cream); }
.pg-topics .card { position: relative; top: 0; background: var(--cream); border: 1px solid var(--border); box-shadow: none; transition: top .4s var(--ease-out), border-color .4s; }
.pg-topics .card:hover { top: -4px; border-color: rgba(138, 90, 43, .35); }

/* 404 */
.ia-hero--lost { min-height: 100svh; display: grid; align-items: center; text-align: center; padding-bottom: 80px; }
.ia-hero--lost > svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.ia-hero--lost > svg path { fill: none; stroke: var(--bronze); stroke-width: 2; stroke-linecap: round; opacity: .3; }
.ia-hero--lost .container { position: relative; z-index: 1; }
.ia-hero--lost .ia-hero__copy { max-width: 760px; margin-inline: auto; }
.ia-hero--lost .ia-lead { margin-inline: auto; }
.ia-hero--lost .ia-btns { justify-content: center; }

/* ==========================================================================
   Dark sections inside the light pages, in the homepage's ink colours
   ========================================================================== */
.ia-dark { background-color: var(--ink-deep); color: var(--on-dark); }
.ia-dark::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(250, 246, 240, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(250, 246, 240, .04) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, #000 20%, transparent 78%); mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, #000 20%, transparent 78%); }
.ia-dark > * { position: relative; }
.ia-dark .label--bronze { color: var(--gold); }
.ia-dark .pill--core { color: var(--gold); border-color: rgba(212, 169, 122, .45); }
.ia-dark .ia-ring { border-color: rgba(250, 246, 240, .09); }
.ia-dark .ia-ring--2 { border-color: rgba(212, 169, 122, .22); }
.ia-dark .ia-ph { background: #0a0a0a; box-shadow: 0 60px 90px -40px rgba(0, 0, 0, .85), inset 0 0 0 1px rgba(250, 246, 240, .16); }
.ia-dark .ia-tag { background: #24201d; border-color: rgba(212, 169, 122, .4); color: var(--gold); box-shadow: none; }
.ia-dark .ia-ico, .ia-dark .pr-tiles .ia-ico, .ia-dark .ia-rules .ia-ico { background: rgba(212, 169, 122, .12); border-color: transparent; color: var(--gold); }
.ia-dark .ia-note { background: #24201d; box-shadow: 0 30px 50px -24px rgba(0, 0, 0, .8), 0 0 0 1px rgba(250, 246, 240, .1); }
.ia-dark .ia-note b { color: var(--on-dark); }
.ia-dark .ia-note small { color: var(--on-dark-3); }
.ia-btn--light { background: var(--cream); color: var(--ink); }
.ia-btn--light:hover { background: var(--gold); }
.ia-btn--light:hover .icon { transform: translateX(3px); }

/* For Institutes: tools */
.ia-dark .ia-tool { background: #1d1b19; box-shadow: inset 0 0 0 1px rgba(250, 246, 240, .07); }
@media (hover: hover) { .ia-dark .ia-tool:hover { background: #24211e; box-shadow: inset 0 0 0 1px rgba(212, 169, 122, .32), 0 40px 60px -40px rgba(0, 0, 0, .85); } }
.ia-dark .ia-frame { background: #0a0a0a; box-shadow: 0 24px 40px -22px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(250, 246, 240, .14); }
.ia-dark .ia-tool__n { color: var(--gold); }
.ia-dark .ia-tool p { color: var(--on-dark-2); }
.ia-dark .ia-rail:focus-visible { outline-color: var(--gold); }

/* For Institutes: privacy */
.ia-dark .ia-rules li { background: rgba(250, 246, 240, .04); border-color: var(--line-dark); color: var(--on-dark-2); }
.ia-dark .ia-rules b { color: var(--on-dark); }

/* Products: Saarthi App and Saarthi AI */
.ia-dark .feature__tabs .tab { background: rgba(250, 246, 240, .05); border-color: var(--line-dark); color: var(--on-dark-2); }
.ia-dark .feature__tabs .tab:hover:not([aria-selected="true"]) { color: var(--on-dark); border-color: rgba(250, 246, 240, .3); }
.ia-dark .feature__tabs .tab[aria-selected="true"] { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.ia-dark .feature__panel p { color: var(--on-dark-2); }
.ia-dark .store { background: transparent; color: var(--cream); border-color: rgba(250, 246, 240, .35); }
.ia-dark .store--light { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.ia-dark .pr-tiles li { background: rgba(250, 246, 240, .04); border-color: var(--line-dark); }
.ia-dark .pr-tiles li:hover { border-color: rgba(212, 169, 122, .45); }
.ia-dark .pr-tiles li > span:last-child { color: var(--on-dark-3); }
.ia-dark .pr-diff { background: #1d1b19; border-color: var(--line-dark); box-shadow: 0 50px 80px -40px rgba(0, 0, 0, .85); }
.ia-dark .pr-diff__note { background: rgba(250, 246, 240, .05); color: var(--on-dark-2); }
.ia-dark .pr-diff__note .icon { color: var(--gold); }

/* Products: hardware teaser card, FAQ closing card */
.pr-teaser.ia-dark, .pg-cta.ia-dark { overflow: hidden; border-color: transparent; }
.pr-teaser.ia-dark .pr-door__arch { border-color: rgba(212, 169, 122, .55); }
.pr-teaser.ia-dark .pr-door__arch--in { border-color: rgba(212, 169, 122, .32); }
.pr-teaser.ia-dark .pr-door__icon { background: rgba(212, 169, 122, .12); color: var(--gold); }

/* Text colours set explicitly, so dark and light sections never depend on inherited colour */
.ia-hero, .ia-band--white, .ia-band--cream, .ia-fees, .ia-onb, .ia-partner { color: var(--ink); }
.ia-hero .ia-h1, .ia-band--white .h-2, .ia-band--cream .h-2, .ia-fees .h-2, .ia-onb .h-2, .ia-partner .h-2 { color: var(--ink); }
.ia-dark, .ia-dark .h-2, .ia-dark .h-3, .ia-dark h2, .ia-dark h3, .ia-dark b, .ia-dark strong { color: var(--on-dark); }
.ia-dark .h-2 em, .ia-dark .h-3 em { color: var(--gold); }
.ia-dark .lead, .ia-dark p { color: var(--on-dark-2); }
.ia-dark .ia-btn--light, .ia-dark .store--light, .ia-dark .store--light strong { color: var(--ink); }
.ia-dark .store--light small { color: #5a534b; }
.ia-dark .feature__tabs .tab[aria-selected="true"] { color: var(--ink); }
.ia-dark .label--bronze, .ia-dark .ia-tool__n, .ia-dark .text-link, .ia-dark .link-arrow { color: var(--gold); }

/* Partner with us: menu button, centred buttons, single-phone hero */
.nav a.nav-cta { opacity: 1; padding: 9px 18px; border-radius: var(--r-pill); background: var(--cream); color: var(--ink); font-weight: 700; transition: background-color .3s, color .3s; }
.nav a.nav-cta::after { display: none; }
.site-header.is-solid .nav a.nav-cta, body:not([data-page="home"]) .nav a.nav-cta { background: var(--ink); color: var(--cream); }
.nav a.nav-cta:hover, .site-header.is-solid .nav a.nav-cta:hover, body:not([data-page="home"]) .nav a.nav-cta:hover { background: var(--bronze-700); color: var(--cream); }
.nav a.nav-cta[aria-current="page"] { box-shadow: 0 0 0 2px var(--gold); }
.ia-btns--center { justify-content: center; margin-top: clamp(36px, 4vw, 52px); }
.ia-vis--solo .ia-ph--c { width: 50%; left: 25%; top: 1%; }
.ia-vis--solo .ia-note--a { left: 0; top: 16%; }
.ia-vis--solo .ia-note--b { right: 0; bottom: 14%; }

/* Smoother icons: larger icons get a slightly heavier line so every icon reads with the same weight */
.pr-door__icon .icon, .fee-box__icon .icon, .emb__face .icon, .role-chapter__icon .icon { stroke-width: 2.1px; }

/* Page tops without the small pill above the heading */
.ia-hero__copy > .ia-h1:first-child { margin-top: 0; }

/* ==========================================================================
   Legal & policies: hub (legal/index.html) and policy pages
   ========================================================================== */
.lg-hero .ia-lead { max-width: 62ch; }
.lg-back { margin: 0 0 18px; }
.lg-back a { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9375rem; font-weight: 700; color: var(--bronze-700); }
.lg-back .icon { width: 16px; height: 16px; transition: transform .3s var(--ease-out); }
.lg-back a:hover .icon { transform: translateX(-3px); }
.lg-meta { margin: 18px 0 0; font-size: 0.875rem; color: var(--muted); }
.lg-ph { padding: 1px 7px; border-radius: 6px; border: 1px dashed rgba(138, 90, 43, .5); background: #f3e6d6; color: var(--bronze-700); font-weight: 700; white-space: nowrap; }
.lg-body .prose { max-width: 74ch; }
.lg-body .prose h2 { font-size: 1.6rem; }
.lg-body .prose li::marker { color: var(--bronze); }
.lg-body .prose a { color: var(--bronze-700); text-decoration: underline; text-underline-offset: 3px; }
.lg-company { display: flex; align-items: flex-start; gap: 14px; margin-top: 48px; padding: 20px 22px; border-radius: 20px; background: var(--cream); border: 1px solid var(--border); font-size: 0.875rem; line-height: 1.6; color: var(--text-2); }
.lg-company .icon { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--bronze); }
.lg-company p { margin: 0; }
.lg-company a { color: var(--bronze-700); }
.lg-grid { display: grid; gap: 14px; }
@media (min-width: 760px) { .lg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .lg-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.lg-card { position: relative; top: 0; display: grid; grid-template-columns: 44px 1fr 18px; align-items: center; gap: 16px; padding: 20px; border-radius: 20px; background: var(--cream); border: 1px solid var(--border); color: var(--ink); transition: top .4s var(--ease-out), border-color .4s, box-shadow .4s, background-color .4s; }
.lg-card:hover { top: -3px; background: var(--white); border-color: rgba(138, 90, 43, .35); box-shadow: 0 30px 50px -36px rgba(60, 40, 20, .5); }
.lg-card .ia-ico { background: var(--tint); border-color: transparent; }
.lg-card b { display: block; font: 400 1.2rem/1.25 var(--font-display); }
.lg-card small { display: block; margin-top: 4px; font-size: 0.875rem; line-height: 1.45; color: var(--text-2); }
.lg-card > .icon { width: 18px; height: 18px; color: var(--bronze); transition: transform .3s var(--ease-out); }
.lg-card:hover > .icon { transform: translateX(3px); }
.lg-grid + .lg-company { margin-top: 40px; }
.lg-more__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.lg-more__head .h-3 { margin: 0; }
.lg-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.lg-chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: var(--r-pill); background: var(--white); border: 1px solid var(--border); font-size: 0.9rem; font-weight: 600; color: var(--text-2); transition: border-color .3s, color .3s; }
.lg-chip .icon { width: 16px; height: 16px; color: var(--bronze); }
.lg-chip:hover { border-color: rgba(138, 90, 43, .45); color: var(--ink); }
.reduced-motion .lg-card { transition: none; }

/* Policy pages: dark top with key facts, numbered section cards, contents that follow your reading */
.lg-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 1200; height: 3px; pointer-events: none; }
.lg-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--bronze), var(--gold)); transform-origin: left; transform: scaleX(0); }
.lg-top { position: relative; overflow: clip; padding: calc(var(--header-h) + clamp(28px, 4vw, 56px)) 0 clamp(48px, 6vw, 84px); }
.lg-top .lg-back a { color: var(--gold); }
.lg-top__grid { display: grid; gap: 36px; align-items: end; }
@media (min-width: 1024px) { .lg-top__grid { grid-template-columns: 1.3fr .7fr; gap: 64px; } }
.lg-top__ico { width: 56px; height: 56px; margin-bottom: 22px; border-radius: 17px; display: grid; place-items: center; background: rgba(212, 169, 122, .12); box-shadow: inset 0 0 0 1px rgba(212, 169, 122, .25); color: var(--gold); }
.lg-top__ico .icon { width: 26px; height: 26px; }
.lg-top__title { margin: 0; font: 400 clamp(2.4rem, 1.4rem + 3.6vw, 4.2rem)/1.05 var(--font-display); letter-spacing: -0.02em; color: var(--on-dark); text-wrap: balance; }
.lg-top .lead { max-width: 56ch; margin-top: 18px; }
.lg-facts { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.lg-facts li { padding: 16px 18px; border-radius: 18px; background: rgba(250, 246, 240, .05); border: 1px solid var(--line-dark); }
.lg-facts b { display: block; font: 400 1.35rem/1.2 var(--font-display); color: var(--on-dark); }
.lg-facts span { display: block; margin-top: 4px; font-size: 0.75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-3); }
.lg-facts .lg-ph { white-space: normal; font-family: var(--font-sans); font-size: 0.85rem; letter-spacing: 0; text-transform: none; background: rgba(212, 169, 122, .15); border-color: rgba(212, 169, 122, .5); color: var(--gold); }
.lg-page { background: var(--white); color: var(--ink); padding-block: clamp(48px, 6vw, 88px); }
.lg-layout { display: grid; gap: 32px; }
@media (min-width: 1024px) { .lg-layout { grid-template-columns: 260px minmax(0, 1fr); gap: 56px; align-items: start; } }
.lg-toc { display: none; }
@media (min-width: 1024px) { .lg-toc { display: block; position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow: auto; } }
.lg-toc__title { margin: 0 0 12px; font: 800 0.6875rem/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lg-toc ol { list-style: none; display: grid; gap: 2px; border-left: 2px solid var(--border); }
.lg-toc a { display: flex; gap: 10px; margin-left: -2px; padding: 7px 12px; border-left: 2px solid transparent; font-size: 0.9rem; line-height: 1.35; color: var(--muted); transition: color .3s, border-color .3s, background-color .3s; }
.lg-toc a span { font-weight: 700; font-variant-numeric: tabular-nums; color: #7d7063; transition: color .3s; }
.lg-toc a:hover { color: var(--ink); }
.lg-toc a.is-active { color: var(--ink); border-left-color: var(--bronze); background: linear-gradient(90deg, var(--tint), transparent); }
.lg-toc a.is-active span { color: var(--bronze); }
.lg-article { display: grid; gap: 16px; min-width: 0; }
.lg-sec { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; padding: 26px 28px; border-radius: 22px; background: var(--cream); border: 1px solid var(--border); scroll-margin-top: calc(var(--header-h) + 20px); }
@media (max-width: 639px) { .lg-sec { grid-template-columns: 1fr; gap: 6px; padding: 22px 20px; } }
.lg-sec__num { font: 400 2rem/1 var(--font-display); color: var(--bronze); }
.lg-sec h2 { margin: 2px 0 10px; font: 400 1.5rem/1.2 var(--font-display); color: var(--ink); }
.lg-sec p, .lg-sec li { font-size: 1rem; line-height: 1.7; color: var(--text-2); }
.lg-sec p { margin: 10px 0 0; }
.lg-sec h2 + p { margin-top: 0; }
.lg-sec ul, .lg-isec ul { list-style: none; display: grid; gap: 8px; margin: 12px 0 0; padding: 0; }
.lg-sec li, .lg-isec li { position: relative; padding-left: 22px; }
.lg-sec li::before, .lg-isec li::before { content: ""; position: absolute; left: 4px; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--bronze); }
.lg-sec a, .lg-isec a { color: var(--bronze-700); text-decoration: underline; text-underline-offset: 3px; }
.lg-sec--key, .lg-isec--key { background: var(--ink-deep); border-color: transparent; }
.lg-sec--key h2, .lg-isec--key h3 { color: var(--on-dark); }
.lg-sec--key p, .lg-sec--key li, .lg-isec--key p, .lg-isec--key li { color: var(--on-dark-2); }
.lg-sec--key .lg-sec__num, .lg-isec--key h3 span { color: var(--gold); }
.lg-sec--key li::before, .lg-isec--key li::before { background: var(--gold); }
.lg-sec--key a, .lg-isec--key a { color: var(--gold); }
.lg-page .lg-company { margin-top: 24px; }

/* Legal & policies hub: search, then every policy as a drop-down */
.lg-hero .ia-h1 em { font-style: normal; color: var(--bronze); }
.lg-search { position: relative; max-width: 560px; margin-top: 28px; }
.lg-search .icon { position: absolute; left: 18px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; color: var(--muted); pointer-events: none; }
.lg-search input { width: 100%; min-height: 56px; padding: 0 20px 0 50px; border-radius: var(--r-pill); border: 1px solid var(--border-strong); background: var(--white); font: inherit; color: var(--ink); box-shadow: 0 16px 30px -24px rgba(60, 40, 20, .4); }
.lg-search input:focus-visible { outline: 2px solid var(--bronze); outline-offset: 2px; }
.lg-body:not(.lg-page) { background: var(--white); color: var(--ink); padding-block: clamp(40px, 5vw, 72px); }
.lg-hub { max-width: 1000px; }
.lg-acc { display: grid; gap: 12px; }
.lg-item { border-radius: 22px; background: var(--cream); border: 1px solid var(--border); scroll-margin-top: calc(var(--header-h) + 16px); transition: border-color .3s, box-shadow .3s, background-color .3s; }
.lg-item[open] { background: var(--white); border-color: rgba(138, 90, 43, .35); box-shadow: 0 40px 70px -50px rgba(60, 40, 20, .5); }
.lg-item summary { list-style: none; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto 32px; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 22px; cursor: pointer; }
.lg-item summary::-webkit-details-marker { display: none; }
.lg-item summary:hover { background: rgba(243, 230, 214, .45); }
.lg-item summary:focus-visible { outline: 2px solid var(--bronze); outline-offset: 2px; }
.lg-item .ia-ico { background: var(--tint); border-color: transparent; }
.lg-item__text b { display: block; font: 400 1.25rem/1.25 var(--font-display); color: var(--ink); }
.lg-item__text small { display: block; margin-top: 3px; font-size: 0.875rem; color: var(--text-2); }
.lg-item__meta { font-size: 0.8rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
.lg-item__chev { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 1px solid var(--border); color: var(--bronze); transition: transform .4s var(--ease-out), background-color .3s; }
.lg-item__chev .icon { width: 16px; height: 16px; }
.lg-item[open] .lg-item__chev { transform: rotate(180deg); background: var(--tint); }
.lg-item__body { padding: 4px 28px 28px 80px; }
@media (max-width: 639px) {
  .lg-item summary { grid-template-columns: 40px minmax(0, 1fr) 28px; gap: 12px; padding: 16px; }
  .lg-item__meta { display: none; }
  .lg-item__body { padding: 4px 18px 22px; }
}
.motion-ok .lg-item[open] .lg-item__body { animation: ia-up .5s var(--ease-out) both; }
.lg-item__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding: 14px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); font-size: 0.84rem; color: var(--muted); }
.lg-open { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--bronze-700); }
.lg-open .icon { width: 16px; height: 16px; }
.lg-item__toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 8px; }
.lg-item__toc a { padding: 7px 12px; border-radius: var(--r-pill); background: var(--cream); border: 1px solid var(--border); font-size: 0.8rem; font-weight: 600; color: var(--text-2); }
.lg-item__toc a:hover { border-color: rgba(138, 90, 43, .45); color: var(--ink); }
.lg-isec { padding: 20px 0 4px; scroll-margin-top: calc(var(--header-h) + 20px); }
.lg-isec + .lg-isec { border-top: 1px dashed var(--border); }
.lg-isec h3 { display: flex; align-items: baseline; gap: 12px; margin: 0 0 8px; font: 400 1.3rem/1.25 var(--font-display); color: var(--ink); }
.lg-isec h3 span { font-size: 1rem; font-variant-numeric: tabular-nums; color: var(--bronze); }
.lg-isec p, .lg-isec li { line-height: 1.7; color: var(--text-2); }
.lg-isec p { margin: 8px 0 0; }
.lg-isec--key { margin: 14px 0; padding: 20px 22px; border-radius: 18px; border-top: 0 !important; }
.lg-isec--key + .lg-isec { border-top: 0; }
.lg-empty { margin: 24px 0 0; text-align: center; color: var(--muted); }
.lg-hub .lg-company { margin-top: 32px; }

/* Policy pages open on a dark top, so the header starts with light text there */
body[data-page^="legal-"] .site-header:not(.is-solid) { color: var(--on-dark); }
body[data-page^="legal-"] .site-header:not(.is-solid) .nav a:not(.btn)::after { background: var(--gold); }
body[data-page^="legal-"] .site-header:not(.is-solid) .nav a.nav-cta { background: var(--cream); color: var(--ink); }
body[data-page^="legal-"] .site-header:not(.is-solid) .nav a.nav-cta:hover { background: var(--gold); color: var(--ink); }
/* Highlighted sections inside the drop-downs keep light text on their dark card */
.lg-isec.lg-isec--key h3 { color: var(--on-dark); }
.lg-isec.lg-isec--key h3 span { color: var(--gold); }
.lg-isec.lg-isec--key p, .lg-isec.lg-isec--key li { color: var(--on-dark-2); }
.lg-isec.lg-isec--key a { color: var(--gold); }
