/* Tavo Rent: editorial bento.
   Tokens mirror the app; swap for the app's tokens.css values if they differ. */
:root {
  --ultramarine: #3B2BFF;
  --ultramarine-600: #2C1EE6;
  --ultramarine-50: #EEECFF;
  --lime: #D4FF3A;
  --lime-soft: #EFFFB8;
  --night: #0B1026;
  --ink-2: #3A3F5C;
  --ink-3: #6E7391;
  --ink-4: #A3A7BE;
  --line: #E6E7EE;
  --line-strong: #D5D7E2;
  --surface: #FFFFFF;
  --surface-2: #F5F6FA;
  --ok: #11965A;
  --ok-50: #E5F6EC;
  --late: #E0484E;
  --late-50: #FDECEC;
  --due: #B7770F;
  --due-50: #FFF3DA;
  --wa: #25D366;
  --wa-ink: #075E54;

  --font: "DM Sans", "Noto Sans Tamil", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-ta: "Noto Sans Tamil", "DM Sans", system-ui, sans-serif;
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --frame: 1240px;
  --pad: 20px;
  --band: 72px;
  --r: 20px;
  --shadow-card: 0 1px 0 rgba(11,16,38,.04), 0 10px 30px -12px rgba(11,16,38,.18);
  --shadow-phone: 0 50px 80px -40px rgba(11,16,38,.55);
}
@media (min-width: 768px) { :root { --pad: 40px; --band: 104px; } }

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { overflow-x: clip; margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--night); background: var(--surface); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
@media (min-width: 768px) { body { font-size: 17px; } }
:lang(ta) { font-family: var(--font-ta); }
html:lang(ta) body { line-height: 1.65; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; }
h3 { letter-spacing: -0.02em; line-height: 1.2; }
:lang(ta) h1, :lang(ta) h2, :lang(ta) h3 { letter-spacing: 0; line-height: 1.35; font-weight: 700; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--ultramarine); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--night); color: #fff; padding: 10px 14px; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }

mark { color: inherit; background: linear-gradient(180deg, transparent 56%, var(--lime) 56%, var(--lime) 90%, transparent 90%); padding: 0 .04em; }

/* ---------- Frame: blueprint rails + bands ---------- */
.frame { width: 100%; max-width: var(--frame); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); position: relative; }
.band { border-top: 1px solid var(--line); }
.band > .frame { padding-top: var(--band); padding-bottom: var(--band); }
@media (min-width: 1100px) {
  .band > .frame, .topbar .frame, .footer .frame { border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
  .band > .frame:first-child::before, .band > .frame:first-child::after {
    content: ""; position: absolute; top: -6px; width: 11px; height: 11px; z-index: 2;
    background: linear-gradient(var(--ink-4), var(--ink-4)) center/1px 11px no-repeat, linear-gradient(var(--ink-4), var(--ink-4)) center/11px 1px no-repeat;
  }
  .band > .frame:first-child::before { left: -6px; }
  .band > .frame:first-child::after { right: -6px; }
  .band--night > .frame { border-color: rgba(255,255,255,.1); }
  .band--night > .frame::before, .band--night > .frame::after { display: none; }
}
.band--tint { background: var(--surface-2); }
.band--night { background: var(--night); color: #fff; border-top-color: var(--night); }

/* ---------- Type helpers ---------- */
.label { font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; line-height: 1.4; }
:lang(ta) .label { text-transform: none; letter-spacing: 0; font-family: var(--font-ta); font-size: 13px; }
.label__n { color: var(--ultramarine); font-family: var(--mono); }
.label__n::after { content: "/"; color: var(--ink-4); margin-left: 10px; }
.label--light { color: rgba(255,255,255,.6); margin: 0; }
.label--lime, .label--lime .label__n { color: var(--lime); }
.label--lime .label__n::after { color: rgba(255,255,255,.3); }

.sec-head { max-width: 780px; margin-bottom: 48px; }
.sec-head h2 { font-size: clamp(32px, 5vw, 58px); }
:lang(ta) .sec-head h2 { font-size: clamp(25px, 3.4vw, 40px); }
.sec-head__sub { margin-top: 16px; color: var(--ink-3); font-size: 18px; max-width: 560px; }
.band--night .sec-head h2 { color: #fff; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .15s, color .15s; white-space: nowrap; letter-spacing: -0.01em; }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 38px; padding: 0 14px; font-size: 14.5px; border-radius: 10px; }
.btn--lg { min-height: 56px; padding: 0 24px; font-size: 16.5px; border-radius: 14px; }
.btn--block { width: 100%; }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }
.btn--primary { background: var(--ultramarine); color: #fff; }
.btn--primary:hover { background: var(--ultramarine-600); }
.btn--text { background: transparent; color: var(--night); padding-left: 8px; padding-right: 8px; }
.btn--text:hover { color: var(--ultramarine); }
.btn--white { background: #fff; color: var(--night); }
.btn--white:hover { background: var(--lime); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
:lang(ta) .btn { white-space: normal; text-align: center; line-height: 1.3; padding-top: 10px; padding-bottom: 10px; }

.play { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid currentColor; position: relative; flex: none; }
.play::after { content: ""; position: absolute; left: 9px; top: 6.5px; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent currentColor; }
.play--lg { width: 72px; height: 72px; border: 0; background: var(--lime); color: var(--night); }
.play--lg::after { left: 29px; top: 25px; border-width: 11px 0 11px 17px; }

/* ---------- Brand motif (2x2 tiles from the logo) ---------- */
.motif { display: grid; grid-template-columns: 1fr 1fr; gap: calc(var(--s, 40px) * .3); width: calc(var(--s, 40px) * 2.3); }
.motif i { aspect-ratio: 1; border-radius: 28%; background: #fff; }
.motif i:nth-child(2) { background: var(--lime); }
.motif--sm { --s: 7px; flex: none; padding: 5px; background: var(--ultramarine); border-radius: 6px; width: auto; grid-template-columns: 7px 7px; gap: 3px; }
.motif--tile { --s: 150px; position: absolute; right: -60px; top: -60px; opacity: .1; }
.motif--tile i:nth-child(2) { background: #fff; }
.motif--video { --s: 90px; position: absolute; right: 8%; top: 50%; transform: translateY(-50%) rotate(-8deg); opacity: .9; }
.motif--video i { background: rgba(255,255,255,.07); }
.motif--video i:nth-child(2) { background: var(--lime); }
.motif--final { --s: 76px; flex: none; transform: rotate(-6deg); }

/* ---------- Top bar + mobile menu ---------- */
.topbar { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.9); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); }
.topbar__in { display: flex; align-items: center; gap: 28px; height: 64px; }
.topbar__logo img { height: 26px; width: auto; }
.topbar__nav { display: none; gap: 28px; }
.topbar__nav a, .topbar__login { text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 15px; }
.topbar__nav a:hover, .topbar__login:hover { color: var(--ultramarine); }
.topbar__end { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.topbar__login, .topbar__cta { display: none; }
.lang { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 10px; overflow: hidden; }
.lang a { text-decoration: none; font-size: 13px; font-weight: 600; padding: 6px 10px; color: var(--ink-3); line-height: 1.35; }
.lang a + a { border-left: 1px solid var(--line-strong); }
.lang a.is-active { background: var(--night); color: #fff; }
.lang__long { display: none; }
.menu-btn { width: 42px; height: 42px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; display: grid; place-content: center; gap: 5px; cursor: pointer; }
.menu-btn i { display: block; width: 16px; height: 1.6px; background: var(--night); border-radius: 2px; transition: transform .2s; }
.menu-btn[aria-expanded="true"] i:first-of-type { transform: translateY(3.3px) rotate(45deg); }
.menu-btn[aria-expanded="true"] i:last-of-type { transform: translateY(-3.3px) rotate(-45deg); }
.menu { border-top: 1px solid var(--line); background: #fff; }
.menu__in { display: flex; flex-direction: column; padding-top: 8px; padding-bottom: 20px; }
.menu__in a:not(.btn) { display: flex; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.menu__in a span { color: var(--ink-4); }
.menu__in .btn { margin-top: 20px; }
@media (min-width: 640px) { .topbar__cta { display: inline-flex; } .lang__long { display: inline; } .lang__short { display: none; } }
@media (min-width: 960px) {
  .topbar__nav { display: flex; }
  .topbar__login { display: inline; }
  .menu-btn, .menu { display: none !important; }
  .topbar__end { gap: 16px; }
}

/* ---------- Hero ---------- */
.band--hero { border-top: 0; }
.hero { display: grid; gap: 40px; padding-top: 40px !important; padding-bottom: 0 !important; }
@media (min-width: 1000px) { .hero { grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: stretch; padding-top: 72px !important; } }
.hero__copy { display: flex; flex-direction: column; justify-content: center; }
.hero__title { font-size: clamp(46px, 8.2vw, 96px); letter-spacing: -0.055em; line-height: .96; font-weight: 600; }
:lang(ta) .hero__title { font-size: clamp(34px, 5.4vw, 62px); line-height: 1.28; letter-spacing: 0; }
.hero__sub { margin-top: 24px; font-size: 18px; color: var(--ink-2); max-width: 520px; }
@media (min-width: 768px) { .hero__sub { font-size: 19px; } }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 32px; }
.hero__note { margin-top: 16px; font-size: 14px; color: var(--ink-3); }
@media (max-width: 560px) { .hero__ctas .btn--primary { width: 100%; } .hero__ctas .btn--text { padding-left: 0; } }

.hero__tile { align-items: flex-start; position: relative; background: var(--ultramarine); border-radius: 24px; height: 470px; overflow: hidden; display: flex; justify-content: center; }
@media (min-width: 1000px) { .hero__tile { height: auto; min-height: 600px; } }
.hero__tile .phone { margin-top: 56px; }
@media (min-width: 1000px) { .hero__tile .phone { margin-top: 72px; } }

.chip-card { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 10px 14px 10px 10px; font-size: 13px; line-height: 1.3; box-shadow: var(--shadow-card); max-width: 250px; }
.chip-card b { display: block; font-weight: 600; }
.chip-card small { color: var(--ink-3); }
.chip-card__ic { width: 34px; height: 34px; flex: none; border-radius: 10px; background: var(--lime); color: var(--night); display: grid; place-items: center; font-weight: 700; }
.chip-card__ic--wa { background: var(--wa); color: #fff; }
.chip-card--wa { left: 16px; bottom: 88px; animation: floaty 7s ease-in-out infinite; }
.chip-card--upi { right: 16px; bottom: 24px; animation: floaty 7s ease-in-out -3.5s infinite; }
@media (min-width: 1000px) { .chip-card--wa { left: 24px; top: 120px; bottom: auto; } .chip-card--upi { right: 24px; bottom: 64px; } }
@media (max-width: 400px) { .chip-card--wa { display: none; } }
@keyframes floaty { 50% { transform: translateY(-6px); } }

.facts { margin: 0; margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.facts > div { padding: 22px 16px 26px 0; border-bottom: 1px solid var(--line); }
.facts > div:nth-child(odd) { border-right: 1px solid var(--line); }
.facts > div:nth-child(even) { padding-left: 16px; }
.facts dt { font-size: clamp(26px, 3.4vw, 38px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; }
.facts dd { margin: 6px 0 0; font-size: 14px; color: var(--ink-3); line-height: 1.45; }
@media (min-width: 900px) {
  .facts { grid-template-columns: repeat(4, 1fr); margin-top: 72px; }
  .facts > div { padding: 28px 24px 32px; border-bottom: 0; border-right: 1px solid var(--line); }
  .facts > div:first-child { padding-left: 0; }
  .facts > div:last-child { border-right: 0; }
  .facts > div:nth-child(even) { padding-left: 24px; }
}

/* ---------- Phone + app screen ---------- */
.phone { position: relative; z-index: 3; width: 290px; aspect-ratio: 300 / 620; border-radius: 46px; padding: 10px; background: #0E1020; box-shadow: var(--shadow-phone), inset 0 0 0 1.5px #33364a; flex: none; }
.phone::before { content: ""; position: absolute; top: 19px; left: 50%; transform: translateX(-50%); width: 88px; height: 25px; border-radius: 20px; background: #0E1020; z-index: 3; }
@media (max-width: 400px) { .phone { width: 268px; } }
.app { position: relative; height: 100%; border-radius: 37px; overflow: hidden; background: var(--surface-2); display: flex; flex-direction: column; font-size: 12px; line-height: 1.35; color: var(--night); }
.app__status { display: flex; justify-content: space-between; padding: 14px 26px 6px; font-weight: 600; font-size: 12px; font-family: "DM Sans", sans-serif; }
.app__status-icons { display: flex; gap: 3px; align-items: center; }
.app__status-icons i { width: 14px; height: 8px; border-radius: 2px; background: var(--night); opacity: .85; }
.app__status-icons i:nth-child(1) { width: 12px; }
.app__status-icons i:nth-child(3) { width: 20px; border-radius: 3px; }
.app__top { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px 10px; }
.app__pg { font-weight: 700; font-size: 15px; letter-spacing: -0.01em; }
.app__area { color: var(--ink-3); font-size: 11px; }
.app__avatar { width: 28px; height: 28px; border-radius: 8px; }
.app__card { margin: 0 12px; background: #fff; border-radius: 18px; padding: 14px; box-shadow: 0 1px 2px rgba(11,16,38,.06); }
.app__label { color: var(--ink-3); font-size: 11px; font-weight: 500; }
.app__amount { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; margin-top: 2px; font-family: "DM Sans", sans-serif; font-variant-numeric: tabular-nums; }
.app__of { color: var(--ink-3); font-size: 11px; }
.app__bar { height: 7px; border-radius: 6px; background: var(--late-50); margin: 10px 0; overflow: hidden; }
.app__bar span { display: block; height: 100%; width: var(--p); border-radius: 6px; background: var(--ok); transition: width 1.2s cubic-bezier(.2,.7,.2,1); }
.app__chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 600; padding: 3px 8px; border-radius: 999px; }
.chip i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip--ok { background: var(--ok-50); color: var(--ok); }
.chip--late { background: var(--late-50); color: var(--late); }
.app__remind { margin: 10px 12px 0; display: flex; align-items: center; justify-content: center; gap: 7px; border: 0; border-radius: 14px; padding: 11px 10px; background: var(--ultramarine); color: #fff; font-weight: 600; font-size: 12px; line-height: 1.25; text-align: center; cursor: default; transition: transform .15s, box-shadow .3s; }
.app__toast { margin: 0 12px; max-height: 0; overflow: hidden; opacity: 0; color: var(--ok); background: var(--ok-50); border-radius: 10px; font-weight: 600; font-size: 11px; text-align: center; transition: max-height .3s, opacity .3s, margin .3s, padding .3s; padding: 0 8px; }
.app__list { list-style: none; margin: 10px 12px 0; padding: 4px 12px; background: #fff; border-radius: 16px; flex: 1; overflow: hidden; }
.app__list li { display: flex; align-items: center; gap: 9px; padding: 8px 0; border-bottom: 1px solid var(--surface-2); }
.app__list li:last-child { border-bottom: 0; }
.app__list .av { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 11px; background: var(--ultramarine-50); color: var(--ultramarine); flex: none; }
.app__list .av--2 { background: #FFF1E6; color: #C2570E; }
.app__list .av--3 { background: #E9F7FF; color: #0B6FA4; }
.app__list .who { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.app__list .who b { font-size: 12px; }
.app__list .who small { color: var(--late); font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app__list .amt { font-weight: 700; font-size: 12px; font-family: "DM Sans", sans-serif; }
.app__tabs { display: flex; justify-content: space-around; padding: 8px 6px 16px; background: #fff; border-top: 1px solid var(--line); margin-top: 10px; }
.app__tabs span { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 9.5px; color: var(--ink-3); font-weight: 500; }
.app__tabs i { width: 18px; height: 18px; border-radius: 6px; background: var(--line); }
.app__tabs .is-on { color: var(--ultramarine); }
.app__tabs .is-on i { background: var(--ultramarine); }
.phone--hero.is-pressing .app__remind { transform: scale(.96); box-shadow: 0 0 0 6px rgba(59,43,255,.2); }
.phone--hero.is-sent .app__toast { max-height: 40px; opacity: 1; margin-top: 8px; padding: 7px 8px; }

/* ---------- 01 Problem: today vs with Tavo ---------- */
.vs { border-top: 1px solid var(--night); }
.vs__head { display: none; }
.vs__row { padding: 22px 0 24px; border-bottom: 1px solid var(--line); display: grid; gap: 10px; }
.vs__pain { color: var(--ink-3); font-size: 17px; }
.vs__pain s { text-decoration-color: var(--late); text-decoration-thickness: 2px; }
.vs__fix { font-size: 19px; font-weight: 600; letter-spacing: -0.015em; display: flex; gap: 12px; line-height: 1.35; }
.vs__fix::before { content: "→"; flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--ultramarine); color: #fff; display: grid; place-items: center; font-size: 14px; margin-top: 1px; }
:lang(ta) .vs__fix { font-size: 17px; letter-spacing: 0; line-height: 1.55; }
@media (min-width: 860px) {
  .vs__head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); }
  :lang(ta) .vs__head { font-family: var(--font-ta); text-transform: none; }
  .vs__head span:last-child { color: var(--ultramarine); }
  .vs__row { grid-template-columns: 1fr 1fr; gap: 48px; padding: 30px 0; align-items: center; }
  .vs__pain { font-size: 20px; }
  .vs__fix { font-size: 22px; }
}

/* ---------- 02 Steps + video ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--night); }
.step { padding: 26px 0 30px; border-bottom: 1px solid var(--line); }
.step__n { font-family: var(--mono); font-size: 13px; color: var(--ultramarine); display: block; margin-bottom: 28px; }
.step h3 { font-size: 22px; margin-bottom: 10px; }
.step p { color: var(--ink-2); }
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step { padding: 28px 32px 36px; border-bottom: 0; border-right: 1px solid var(--line); }
  .step:first-child { padding-left: 0; }
  .step:last-child { border-right: 0; padding-right: 0; }
  .step__n { margin-bottom: 72px; }
}
.video-tile { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; width: 100%; margin-top: 40px; padding: 28px; border: 0; cursor: pointer; border-radius: 24px; overflow: hidden; min-height: 240px; background: var(--night); color: #fff; text-align: left; }
@media (min-width: 768px) { .video-tile { min-height: 340px; padding: 40px; } }
.video-tile__txt { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 10px; max-width: 460px; }
.video-tile__txt b { font-size: clamp(22px, 3vw, 34px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; }
:lang(ta) .video-tile__txt b { letter-spacing: 0; line-height: 1.4; }
.video-tile__play { position: relative; z-index: 2; transition: transform .2s; }
.video-tile:hover .video-tile__play { transform: scale(1.07); }
@media (max-width: 600px) { .motif--video { --s: 56px; right: -20px; top: 34%; } .video-tile__play { position: absolute; right: 24px; top: 24px; } .play--lg { width: 58px; height: 58px; } .play--lg::after { left: 23px; top: 19px; border-width: 10px 0 10px 15px; } }

/* ---------- 03 Bento ---------- */
.bento { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.cell { background: #fff; display: flex; flex-direction: column; min-width: 0; }
.cell__vis { height: 250px; display: grid; place-items: center; padding: 24px; background-color: var(--surface-2); background-image: radial-gradient(rgba(11,16,38,.09) 1px, transparent 1.2px); background-size: 14px 14px; border-bottom: 1px solid var(--line); }
.cell__vis > * { width: 100%; max-width: 320px; }
.cell__txt { padding: 24px 24px 28px; }
.cell__txt h3 { font-size: 20px; margin-bottom: 8px; }
.cell__txt p { color: var(--ink-3); font-size: 15.5px; }
.cell--ultra { background: var(--ultramarine); color: #fff; }
.cell--ultra .cell__vis { background-color: transparent; background-image: radial-gradient(rgba(255,255,255,.16) 1px, transparent 1.2px); border-bottom-color: rgba(255,255,255,.14); }
.cell--ultra .cell__txt p { color: rgba(255,255,255,.75); }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .cell--w2 { grid-column: span 2; }
  .cell--w4 { grid-column: span 4; }
  .cell--w6 { grid-column: span 6; }
  .cell--w4 .cell__vis > * { max-width: 560px; }
  .cell--row { flex-direction: row; align-items: stretch; }
  .cell--row .cell__txt { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 40px; }
  .cell--row .cell__vis { flex: 1.3; border-bottom: 0; border-left: 1px solid var(--line); height: auto; min-height: 220px; }
}
/* Phones: swipeable cards with a peek of the next one */
@media (max-width: 899px) {
  .bento { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; background: none; border: 0; border-radius: 0; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad) 4px; scroll-padding: 0 var(--pad); scrollbar-width: none; }
  .bento::-webkit-scrollbar { display: none; }
  .bento .cell { flex: 0 0 84%; scroll-snap-align: start; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
  .bento .cell--ultra { border-color: var(--ultramarine); }
  .bento .cell__vis { height: 230px; }
  .cell--row { flex-direction: column-reverse !important; }
  .cell--row .cell__vis { border-bottom: 1px solid var(--line); }
}
.dots { display: flex; justify-content: center; gap: 6px; margin-top: 18px; }
.dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--line-strong); transition: width .25s, background .25s; }
.dots i.on { width: 20px; background: var(--night); }
@media (min-width: 900px) { .dots { display: none; } }

/* Feature UI fragments */
.mb { display: inline-flex; align-items: center; justify-content: center; padding: 9px 14px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 12.5px; text-align: center; line-height: 1.3; }
.mb--yes { background: var(--ultramarine); border-color: var(--ultramarine); color: #fff; }
.mb--dark { background: var(--night); border-color: var(--night); color: #fff; }
.mb--lime { background: var(--lime); border-color: var(--lime); color: var(--night); }
.mb--full { display: flex; width: 100%; }
.card-ui { background: #fff; border-radius: 16px; padding: 16px; box-shadow: var(--shadow-card); font-size: 13px; line-height: 1.4; }
.card-ui__in { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 12px; color: var(--ok); }
.upi { font-family: var(--mono); font-size: 10px; background: var(--night); color: #fff; padding: 2px 6px; border-radius: 5px; }
.card-ui__q { margin: 10px 0 14px; font-size: 14.5px; }
.card-ui__btns { display: grid; grid-template-columns: 1fr 1.5fr; gap: 8px; }
.card-ui__row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.card-ui__row small { color: var(--ink-3); }
.card-ui__row b { font-size: 12px; }
.card-ui__amt { font-size: 30px; font-weight: 700; letter-spacing: -0.03em; margin: 4px 0 12px; font-family: "DM Sans", sans-serif; }
.card-ui__ok { margin-top: 9px; text-align: center; font-size: 11.5px; font-weight: 600; color: var(--wa-ink); }

.glance { display: grid; gap: 8px; }
.glance__item { display: grid; grid-template-columns: 1fr auto; background: #fff; border-radius: 12px; padding: 10px 14px; box-shadow: var(--shadow-card); }
.glance__item small { color: var(--ink-3); font-size: 11px; }
.glance__item b { font-size: 17px; font-family: "DM Sans", sans-serif; letter-spacing: -0.02em; }
.glance__item span { grid-row: 1 / 3; grid-column: 2; align-self: center; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }
.glance__item--ok span { background: var(--ok-50); color: var(--ok); }
.glance__item--late span { background: var(--late-50); color: var(--late); }
.glance__item--due span { background: var(--due-50); color: var(--due); }
.glance__bar { display: flex; gap: 3px; height: 8px; }
.glance__bar i { border-radius: 4px; background: var(--ok); }
.glance__bar i:nth-child(2) { background: var(--late); }
.glance__bar i:nth-child(3) { background: var(--due); }
@media (min-width: 900px) {
  .cell--w4 .glance { grid-template-columns: repeat(3, 1fr); }
  .cell--w4 .glance__item { grid-template-columns: 1fr; gap: 2px; padding: 14px; }
  .cell--w4 .glance__item span { grid-row: auto; grid-column: auto; justify-self: start; margin-top: 8px; }
  .cell--w4 .glance__item b { font-size: 22px; }
  .cell--w4 .glance__bar { grid-column: 1 / -1; margin-top: 6px; }
}

.beds { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.beds__room { background: #fff; border-radius: 10px; padding: 8px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; box-shadow: var(--shadow-card); }
.beds__room small { grid-column: 1 / -1; font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); }
.beds__room i, .beds__key i { display: block; height: 22px; border-radius: 5px; background: var(--night); }
.beds__room i.e, .beds__key i.e { background: var(--lime); }
.beds__key { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; font-size: 11px; color: var(--ink-3); margin-top: 2px; }
.beds__key span { display: inline-flex; align-items: center; gap: 5px; }
.beds__key i { width: 12px; height: 12px; border-radius: 3px; }
.beds__key b { margin-left: auto; color: var(--night); }

.remind ul { list-style: none; margin: 0 0 10px; padding: 6px 12px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); border-radius: 12px; }
.remind li { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-weight: 600; font-size: 13px; }
.remind li small { opacity: .6; font-weight: 500; font-family: var(--mono); font-size: 11px; }
.remind li.fade { opacity: .55; }
.ck { width: 16px; height: 16px; border-radius: 5px; background: var(--lime); color: var(--night); font-size: 10px; display: grid; place-items: center; }

.wa-chat { background: #EAE4DA; border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.bubble { background: #fff; border-radius: 4px 12px 12px 12px; padding: 9px 11px 6px; display: flex; flex-direction: column; gap: 3px; box-shadow: 0 1px 1px rgba(0,0,0,.08); font-size: 13px; max-width: 290px; }
.bubble b { color: var(--wa-ink); font-size: 12.5px; }
.bubble small { align-self: flex-end; color: #8a8f99; font-size: 10px; }
.wa-chat__x { align-self: flex-end; background: #fff; border-radius: 999px; padding: 6px 12px; font-weight: 600; font-size: 12px; box-shadow: 0 1px 2px rgba(0,0,0,.08); }

/* ---------- 04 Tamil split ---------- */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.tamil__title { font-family: var(--font-ta); font-size: clamp(34px, 5vw, 60px); line-height: 1.3; letter-spacing: 0; font-weight: 700; }
.tamil__sub { font-size: 21px; font-weight: 600; margin-top: 10px; letter-spacing: -0.015em; }
.tamil__body { color: var(--ink-2); margin-top: 16px; max-width: 500px; }
.seg { display: inline-flex; margin-top: 28px; border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden; }
.seg button { border: 0; background: #fff; padding: 10px 20px; font-weight: 600; cursor: pointer; color: var(--ink-3); }
.seg button + button { border-left: 1px solid var(--line-strong); }
.seg button.is-on { background: var(--night); color: #fff; }
.split__tile { align-items: flex-start; position: relative; border-radius: 24px; height: 470px; overflow: hidden; display: flex; justify-content: center; }
@media (min-width: 960px) { .split__tile { height: 600px; } }
.tile--lime { background: var(--lime); }
.split__tile .phone { margin-top: 56px; }
.flip-face { position: absolute; inset: 10px; transition: opacity .45s, transform .45s; }
.flip-face--ta { opacity: 0; transform: translateY(8px); }
.phone--flip[data-show="ta"] .flip-face--en { opacity: 0; transform: translateY(-8px); }
.phone--flip[data-show="ta"] .flip-face--ta { opacity: 1; transform: none; }

/* ---------- 05 People ---------- */
.duo { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
@media (min-width: 860px) { .duo { grid-template-columns: 1fr 1fr; } }
.duo .cell__vis { height: 300px; }
.duo .cell__txt { padding: 28px; }
.duo .cell__txt h3 { font-size: 24px; margin-bottom: 10px; }
.duo .cell__txt p { color: var(--ink-2); font-size: 16px; }
.perms { padding: 6px 16px 14px; }
.perms__head { font-weight: 600; font-size: 13px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.perms__row { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--surface-2); font-size: 13px; }
.tog { width: 32px; height: 19px; border-radius: 10px; background: var(--line-strong); position: relative; flex: none; }
.tog::after { content: ""; position: absolute; top: 2px; left: 2px; width: 15px; height: 15px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.tog.on { background: var(--ultramarine); }
.tog.on::after { left: 15px; }
.perms__off { margin-top: 10px; font-size: 12px; font-weight: 600; color: var(--late); text-align: center; }
.join { display: flex; flex-direction: column; gap: 10px; }
.join__top { display: flex; align-items: center; gap: 10px; }
.join__top small { font-family: var(--mono); font-size: 11px; color: var(--ink-3); white-space: nowrap; }
.join__prog { flex: 1; height: 5px; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
.join__prog i { display: block; height: 100%; background: var(--ultramarine); border-radius: 3px; }
.join__t { font-size: 15px; }
.join label { display: flex; flex-direction: column; gap: 3px; font-size: 11px; color: var(--ink-3); }
.join label span { border: 1px solid var(--line-strong); border-radius: 9px; padding: 8px 10px; font-size: 13px; color: var(--night); }

/* ---------- 06 Trust ---------- */
.trust { display: grid; border-top: 1px solid rgba(255,255,255,.18); }
.trust__item { padding: 26px 0 30px; border-bottom: 1px solid rgba(255,255,255,.1); }
.trust__k { font-family: var(--mono); font-size: 12.5px; color: var(--lime); display: block; margin-bottom: 18px; }
.trust__item h3 { font-size: 20px; margin-bottom: 8px; }
.trust__item p { color: rgba(255,255,255,.62); font-size: 15.5px; }
@media (min-width: 700px) { .trust { grid-template-columns: 1fr 1fr; } .trust__item:nth-child(odd) { padding-right: 28px; border-right: 1px solid rgba(255,255,255,.1); } .trust__item:nth-child(even) { padding-left: 28px; } }
@media (min-width: 1100px) {
  .trust { grid-template-columns: repeat(4, 1fr); }
  .trust__item { padding: 28px 28px 8px; border-bottom: 0; border-right: 1px solid rgba(255,255,255,.1); }
  .trust__item:first-child { padding-left: 0; }
  .trust__item:last-child { border-right: 0; }
  .trust__k { margin-bottom: 64px; }
}

/* ---------- 07 Pricing ---------- */
.pricing { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
@media (min-width: 960px) { .pricing { grid-template-columns: 1.15fr .85fr; } }
.calc { background: var(--surface-2); padding: 28px 22px; display: flex; flex-direction: column; }
@media (min-width: 768px) { .calc { padding: 40px; } }
.calc__label { font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.calc__beds { display: flex; align-items: baseline; gap: 10px; margin: 14px 0 4px; }
.calc__num { width: 3.2ch; min-width: 90px; font: inherit; font-size: 52px; font-weight: 600; letter-spacing: -0.04em; color: var(--night); border: 0; border-bottom: 2px solid var(--line-strong); background: transparent; padding: 0; -moz-appearance: textfield; font-family: "DM Sans", sans-serif; border-radius: 0; }
.calc__num:focus { outline: none; border-bottom-color: var(--ultramarine); }
.calc__num::-webkit-outer-spin-button, .calc__num::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc__beds span { color: var(--ink-3); font-weight: 500; }
.calc__range { -webkit-appearance: none; appearance: none; width: 100%; height: 40px; background: transparent; margin: 10px 0 0; cursor: pointer; --fill: 15%; touch-action: pan-y; }
.calc__range::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(to right, var(--night) var(--fill), var(--line-strong) var(--fill)); }
.calc__range::-moz-range-track { height: 6px; border-radius: 6px; background: var(--line-strong); }
.calc__range::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--night); }
.calc__range::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -12px; border-radius: 50%; background: var(--lime); border: 3px solid var(--night); }
.calc__range::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: var(--lime); border: 3px solid var(--night); }
.calc__ticks { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); }
.calc__presets { display: flex; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.calc__presets button { border: 1px solid var(--line-strong); background: #fff; border-radius: 10px; padding: 7px 14px; font-weight: 600; font-size: 14px; cursor: pointer; font-family: var(--mono); }
.calc__presets button.is-on { border-color: var(--night); background: var(--night); color: #fff; }
.calc__out { margin-top: auto; padding-top: 32px; }
.calc__total { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line-strong); }
.calc__total span { font-size: clamp(52px, 8vw, 84px); font-weight: 600; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; font-family: "DM Sans", sans-serif; }
.calc__total small { font-size: 18px; color: var(--ink-3); font-weight: 500; }
.calc__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; color: var(--ink-3); font-size: 14.5px; }
.calc__meta b { color: var(--night); }

.plan { background: #fff; padding: 28px 22px; }
@media (min-width: 768px) { .plan { padding: 40px; } }
.plan__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.plan__name { font-weight: 600; font-size: 20px; letter-spacing: -0.02em; }
.plan__trial { font-size: 14px; color: var(--ok); font-weight: 600; margin-top: 4px; }
.plan__price { text-align: right; flex: none; }
.plan__price b { display: block; font-size: 40px; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.plan__price span { font-size: 12.5px; color: var(--ink-3); }
.ticks { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 10px; font-size: 15.5px; }
@media (min-width: 560px) and (max-width: 959px) { .ticks { grid-template-columns: 1fr 1fr; } }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px; border-left: 2px solid var(--ultramarine); border-bottom: 2px solid var(--ultramarine); transform: rotate(-45deg) translateY(-3px); }
.plan__setup { display: flex; align-items: center; gap: 12px; background: var(--lime-soft); border-radius: 12px; padding: 12px 14px; font-weight: 600; font-size: 15px; margin-bottom: 18px; line-height: 1.35; }
.plan__note { margin-top: 12px; text-align: center; color: var(--ink-3); font-size: 13.5px; }

/* ---------- 08 FAQ ---------- */
@media (min-width: 980px) { .faq-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; } .faq-wrap .sec-head { position: sticky; top: 110px; } }
.faq { border-top: 1px solid var(--night); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; font-weight: 600; font-size: 18px; position: relative; letter-spacing: -0.015em; }
:lang(ta) .faq summary { letter-spacing: 0; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 1.8px; background: var(--night); transition: transform .2s; }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq details p { padding: 0 40px 24px 0; color: var(--ink-2); }

/* ---------- Final CTA ---------- */
.band--final { background: var(--surface-2); border-top: 0; }
.band--final > .frame { padding-top: 0; }
.final { background: var(--ultramarine); color: #fff; border-radius: 28px; padding: 48px 24px; display: flex; flex-direction: column; gap: 40px; position: relative; overflow: hidden; }
@media (min-width: 768px) { .final { padding: 72px 64px; flex-direction: row; align-items: center; justify-content: space-between; } }
.final h2 { font-size: clamp(36px, 5.6vw, 68px); letter-spacing: -0.05em; line-height: 1; max-width: 640px; }
:lang(ta) .final h2 { letter-spacing: 0; line-height: 1.3; font-size: clamp(28px, 4vw, 46px); }
.final p { color: rgba(255,255,255,.78); margin-top: 16px; font-size: 18px; }
.final__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 560px) { .final__ctas .btn { width: 100%; } .motif--final { --s: 22px; order: -1; margin-bottom: -16px; } }

/* ---------- Footer ---------- */
.footer { background: var(--night); color: rgba(255,255,255,.66); font-size: 15px; overflow: hidden; }
.footer .frame { padding-top: 64px; }
@media (min-width: 1100px) { .footer .frame { border-color: rgba(255,255,255,.08); } }
.footer__in { display: grid; gap: 40px; }
@media (min-width: 820px) { .footer__in { grid-template-columns: 1.4fr 1fr; } }
.footer__brand img { height: 28px; width: auto; margin-bottom: 18px; }
.footer__brand p { max-width: 380px; }
.footer__soon { display: flex; gap: 8px; margin-top: 18px; }
.footer__soon span { font-family: var(--mono); font-size: 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; padding: 4px 9px; color: rgba(255,255,255,.7); }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.footer h4 { color: #fff; font-size: 13px; margin-bottom: 14px; font-family: var(--mono); font-weight: 500; text-transform: uppercase; letter-spacing: .05em; }
:lang(ta) .footer h4 { font-family: var(--font-ta); text-transform: none; }
.footer__cols a { display: block; text-decoration: none; padding: 5px 0; }
.footer__cols a:hover { color: var(--lime); }
.footer__note { margin-top: 32px; font-size: 13px; color: rgba(255,255,255,.45); }
.footer__note:empty { display: none; }
.footer__base { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 40px; padding: 22px 0 28px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: rgba(255,255,255,.45); }
.footer__word { font-weight: 700; font-size: 23vw; line-height: .72; letter-spacing: -0.06em; color: rgba(255,255,255,.05); text-align: center; white-space: nowrap; user-select: none; margin-bottom: -2vw; font-family: "DM Sans", sans-serif; }

/* ---------- WhatsApp float (desktop) + bottom bar (phones) ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 50; display: none; align-items: center; gap: 10px; height: 52px; padding: 0 18px 0 14px; border-radius: 14px; background: var(--night); color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; box-shadow: 0 14px 30px -12px rgba(11,16,38,.6); transition: transform .2s; }
.wa-float svg { color: var(--wa); }
.wa-float:hover { transform: translateY(-2px); }
@media (min-width: 900px) { .wa-float { display: inline-flex; } }
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; gap: 10px; padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .3s ease; }
.mbar.is-on { transform: none; }
.mbar .btn { min-height: 50px; }
.mbar__wa { flex: none; width: 50px; height: 50px; border-radius: 12px; background: var(--wa); color: #fff; display: grid; place-items: center; }
@media (min-width: 900px) { .mbar { display: none; } }
@media (max-width: 899px) { .footer__base { padding-bottom: 96px; } }

/* ---------- Video modal ---------- */
.modal { width: min(960px, calc(100vw - 24px)); padding: 0; border: 0; border-radius: 20px; background: transparent; color: #fff; overflow: visible; }
.modal::backdrop { background: rgba(11,16,38,.82); backdrop-filter: blur(4px); }
.modal__frame { aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #000; }
.modal__frame:empty { display: none; }
.modal__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.modal__soon { padding: 56px 28px; text-align: center; background: var(--night); border-radius: 20px; display: flex; flex-direction: column; gap: 22px; align-items: center; font-size: 18px; border: 1px solid rgba(255,255,255,.1); }
.modal__soon[hidden] { display: none; }
.modal__close { position: absolute; top: -50px; right: 0; width: 40px; height: 40px; border-radius: 12px; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }

/* ---------- Legal pages ---------- */
.legal { display: grid; gap: 40px; }
@media (min-width: 960px) { .legal { grid-template-columns: 240px 1fr; gap: 72px; } }
.legal__head { border-bottom: 1px solid var(--line); }
.legal__head .frame { padding-top: 56px; padding-bottom: 40px; }
.legal__head h1 { font-size: clamp(38px, 6vw, 68px); letter-spacing: -0.05em; }
.legal__meta { margin-top: 16px; color: var(--ink-3); font-size: 15px; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.legal__draft { margin-top: 20px; display: inline-flex; gap: 10px; align-items: flex-start; background: var(--due-50); color: #6b4708; border-radius: 12px; padding: 12px 14px; font-size: 14px; line-height: 1.45; max-width: 720px; }
.toc { position: sticky; top: 96px; align-self: start; font-size: 14px; display: none; }
@media (min-width: 960px) { .toc { display: block; } }
.toc p { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); counter-reset: t; }
.toc li { counter-increment: t; }
.toc a { display: block; padding: 6px 0 6px 16px; text-decoration: none; color: var(--ink-3); margin-left: -1px; border-left: 1px solid transparent; }
.toc a::before { content: counter(t, decimal-leading-zero) "  "; font-family: var(--mono); font-size: 11px; color: var(--ink-4); }
.toc a:hover, .toc a.is-on { color: var(--night); border-left-color: var(--ultramarine); }
.prose { max-width: 720px; font-size: 16.5px; color: var(--ink-2); }
.prose h2 { font-size: 26px; letter-spacing: -0.03em; color: var(--night); margin: 56px 0 14px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; gap: 14px; align-items: baseline; scroll-margin-top: 90px; }
.prose h2:first-child { margin-top: 0; }
.prose h2 .n { font-family: var(--mono); font-size: 13px; color: var(--ultramarine); letter-spacing: 0; font-weight: 400; }
.prose h3 { font-size: 18px; color: var(--night); margin: 28px 0 8px; }
.prose p, .prose ul, .prose ol { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--ink-4); }
.prose strong { color: var(--night); }
.prose a { color: var(--ultramarine); }
.ph, .prose .ph { background: var(--lime-soft); color: var(--night); padding: 0 4px; border-radius: 4px; font-family: var(--mono); font-size: .88em; }
.prose table { width: 100%; border-collapse: collapse; margin: 8px 0 18px; font-size: 15px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); }
.prose th { font-family: var(--mono); font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); }
.prose .summary { background: var(--surface-2); border-radius: 16px; padding: 22px 24px; margin-bottom: 40px; color: var(--night); }
.prose .summary ul { margin: 8px 0 0; }
@media (max-width: 640px) { .prose table, .prose thead, .prose tbody, .prose tr, .prose th, .prose td { display: block; } .prose thead { display: none; } .prose tr { border-bottom: 1px solid var(--line); padding: 10px 0; } .prose td { border: 0; padding: 2px 0; } .prose td:first-child { font-weight: 600; color: var(--night); } }

/* =======================================================================
   Motion. Only applies when <html> has .motion (JS on + motion allowed).
   Everything is visible by default; ":not(.in)" holds the start state.
   ======================================================================= */
:root { --ease: cubic-bezier(.2,.75,.2,1); --ease-io: cubic-bezier(.65,0,.35,1); }
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; background: var(--ultramarine); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
mark { background-repeat: no-repeat; background-size: 100% 100%; }

/* Hero entrance on load */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes markDraw { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }
@keyframes phoneUp { from { transform: translateY(120px) rotate(-3deg); } to { transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.9); } to { opacity: 1; transform: none; } }
.motion .hero__copy > * { animation: rise .9s var(--ease) both; }
.motion .hero__copy > :nth-child(1) { animation-delay: .05s; }
.motion .hero__copy > :nth-child(2) { animation-delay: .14s; }
.motion .hero__copy > :nth-child(3) { animation-delay: .3s; }
.motion .hero__copy > :nth-child(4) { animation-delay: .4s; }
.motion .hero__copy > :nth-child(5) { animation-delay: .5s; }
.motion .hero__title mark { animation: markDraw .9s .75s var(--ease-io) both; }
.motion .chip-card--wa { animation: pop .7s 1.1s var(--ease) both, floaty 7s 1.8s ease-in-out infinite; }
.motion .chip-card--upi { animation: pop .7s 1.35s var(--ease) both, floaty 7s 2.1s ease-in-out infinite; }

/* Generic reveal */
.motion [data-a] { transition: opacity .85s var(--ease) var(--d, 0ms), transform .85s var(--ease) var(--d, 0ms), clip-path 1.1s var(--ease) var(--d, 0ms); }
.motion [data-a="up"]:not(.in) { opacity: 0; transform: translateY(28px); }
.motion [data-a="scale"]:not(.in) { opacity: 0; transform: translateY(30px) scale(.965); }

/* Colour tiles open up, phone rises inside */
.motion [data-a="tile"] { clip-path: inset(0 0 0 0 round 24px); }
.motion [data-a="tile"]:not(.in) { clip-path: inset(14% 8% 0 8% round 24px); }
.motion [data-a="tile"] .phone { transition: transform 1.2s var(--ease) .15s; }
.motion [data-a="tile"]:not(.in) .phone { transform: translateY(140px) rotate(-3deg); }

/* Key facts */
.motion [data-a="facts"] > div { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.motion [data-a="facts"] > div:nth-child(2) { transition-delay: .08s; }
.motion [data-a="facts"] > div:nth-child(3) { transition-delay: .16s; }
.motion [data-a="facts"] > div:nth-child(4) { transition-delay: .24s; }
.motion [data-a="facts"]:not(.in) > div { opacity: 0; transform: translateY(18px); }

/* Problem rows: strike the pain, slide in the fix */
.vs__pain s { text-decoration: none; background: linear-gradient(var(--late), var(--late)) no-repeat 0 58% / 100% 2px; }
.motion [data-a="row"] .vs__pain s { transition: background-size .9s var(--ease-io) .25s; }
.motion [data-a="row"]:not(.in) .vs__pain s { background-size: 0% 2px; }
.motion [data-a="row"] .vs__pain { transition: color .6s ease .3s; }
.motion [data-a="row"]:not(.in) .vs__pain { color: var(--night); }
.motion [data-a="row"] .vs__fix { transition: opacity .7s var(--ease) .75s, transform .7s var(--ease) .75s; }
.motion [data-a="row"]:not(.in) .vs__fix { opacity: 0; transform: translateX(-18px); }

/* Steps: progress line runs across */
.steps { position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--ultramarine); transform-origin: 0 50%; }
.motion [data-a="line"]::before { transition: transform 1.6s var(--ease-io) .2s; }
.motion [data-a="line"]:not(.in)::before { transform: scaleX(0); }

/* Bento: each card's UI plays once when it arrives */
.motion .cell .glance__bar i { transform-origin: 0 50%; transition: transform 1s var(--ease) calc(var(--d, 0ms) + .35s); }
.motion .cell:not(.in) .glance__bar i { transform: scaleX(0); }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(59,43,255,.45); } 100% { box-shadow: 0 0 0 12px rgba(59,43,255,0); } }
.motion .cell.in .card-ui__btns .mb--yes { animation: ring 1.4s calc(var(--d, 0ms) + .9s) 2; }
.motion .cell .card-ui__ok { transition: opacity .5s ease calc(var(--d, 0ms) + 1s), transform .5s var(--ease) calc(var(--d, 0ms) + 1s); }
.motion .cell:not(.in) .card-ui__ok { opacity: 0; transform: translateY(8px); }
.motion .cell .beds__room i.e { transition: background-color .4s ease calc(var(--d, 0ms) + .5s), transform .4s var(--ease) calc(var(--d, 0ms) + .5s); }
.motion .cell .beds__room:nth-child(3) i.e { transition-delay: calc(var(--d, 0ms) + .75s); }
.motion .cell .beds__room:nth-child(4) i.e { transition-delay: calc(var(--d, 0ms) + 1s); }
.motion .cell:not(.in) .beds__room i.e { background-color: var(--night); transform: scale(.7); }
.motion .cell .remind .ck { transition: transform .35s cubic-bezier(.3,1.6,.5,1) calc(var(--d, 0ms) + .4s); }
.motion .cell .remind li:nth-child(2) .ck { transition-delay: calc(var(--d, 0ms) + .55s); }
.motion .cell .remind li:nth-child(3) .ck { transition-delay: calc(var(--d, 0ms) + .7s); }
.motion .cell .remind li:nth-child(4) .ck { transition-delay: calc(var(--d, 0ms) + .85s); }
.motion .cell:not(.in) .remind .ck { transform: scale(0); }
.motion .cell .bubble { transform-origin: 0 0; transition: opacity .5s ease calc(var(--d, 0ms) + .35s), transform .6s var(--ease) calc(var(--d, 0ms) + .35s); }
.motion .cell .wa-chat__x { transition: opacity .5s ease calc(var(--d, 0ms) + .8s), transform .5s var(--ease) calc(var(--d, 0ms) + .8s); }
.motion .cell:not(.in) .bubble { opacity: 0; transform: translateY(10px) scale(.94); }
.motion .cell:not(.in) .wa-chat__x { opacity: 0; transform: translateY(8px); }

/* Caretaker toggles switch on one by one; joining form fills */
.motion .cell .tog { transition: background-color .3s ease calc(var(--d, 0ms) + .45s); }
.motion .cell .tog::after { transition: left .3s var(--ease) calc(var(--d, 0ms) + .45s); }
.motion .cell .perms__row:nth-child(3) .tog, .motion .cell .perms__row:nth-child(3) .tog::after { transition-delay: calc(var(--d, 0ms) + .65s); }
.motion .cell .perms__row:nth-child(4) .tog, .motion .cell .perms__row:nth-child(4) .tog::after { transition-delay: calc(var(--d, 0ms) + .85s); }
.motion .cell:not(.in) .tog.on { background-color: var(--line-strong); }
.motion .cell:not(.in) .tog.on::after { left: 2px; }
.motion .cell .join__prog i { transition: width 1.2s var(--ease-io) calc(var(--d, 0ms) + .4s); }
.motion .cell:not(.in) .join__prog i { width: 0 !important; }

/* Final CTA: the brand squares fly into place */
.motion .final .motif--final i { transition: transform .9s var(--ease) .3s, opacity .6s ease .3s; }
.motion .final .motif--final i:nth-child(2) { transition-delay: .42s; }
.motion .final .motif--final i:nth-child(3) { transition-delay: .54s; }
.motion .final .motif--final i:nth-child(4) { transition-delay: .66s; }
.motion .final:not(.in) .motif--final i { opacity: 0; }
.motion .final:not(.in) .motif--final i:nth-child(1) { transform: translate(-60px, -40px) rotate(-40deg) scale(.4); }
.motion .final:not(.in) .motif--final i:nth-child(2) { transform: translate(60px, -50px) rotate(40deg) scale(.4); }
.motion .final:not(.in) .motif--final i:nth-child(3) { transform: translate(-50px, 60px) rotate(30deg) scale(.4); }
.motion .final:not(.in) .motif--final i:nth-child(4) { transform: translate(50px, 50px) rotate(-30deg) scale(.4); }

/* Lighter touch on hover for the bento */
@media (hover: hover) {
  .bento .cell .cell__vis > * { transition: transform .5s var(--ease); }
  .bento .cell:hover .cell__vis > * { transform: translateY(-4px) scale(1.02); }
}

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