/* ============================================================
   JothidaKural — site composition (home + legal)
   Builds on assets/system.css tokens. Live theme: Cosmic Dusk.
   ============================================================ */

/* logo as recolorable mask */
.logo{
  display:inline-block;
}

/* ---------------- site header ---------------- */
.site-head{position:sticky;top:0;z-index:60;
  background:color-mix(in oklab,var(--bg) 80%,transparent);
  backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
  border-bottom:1px solid var(--border)}
.site-head .inner{display:flex;align-items:center;gap:28px;height:72px}
.site-head .logo{width:150px}
.mainnav{display:flex;gap:26px;font-size:var(--t-sm);font-weight:600;color:var(--ink-2)}
.mainnav a{transition:color .18s}
.mainnav a:hover{color:var(--brand)}
.head-sp{flex:1}
.head-cta{display:flex;align-items:center;gap:12px}
.seg{display:inline-flex;background:var(--surface-2);border:1px solid var(--border);border-radius:var(--r-pill);padding:4px}
.seg button{padding:6px 12px;border-radius:var(--r-pill);font-size:var(--t-cap);font-weight:700;color:var(--ink-2);transition:.18s}
.seg button.is-active{background:var(--brand);color:var(--on-brand)}
.icon-btn{width:38px;height:38px;display:grid;place-items:center;border-radius:var(--r-pill);
  background:var(--surface-2);border:1px solid var(--border);color:var(--ink)}
.icon-btn:hover{border-color:var(--brand);color:var(--brand)}
.icon-btn svg{width:18px;height:18px}
.icon-btn .i-moon{display:none}
html[data-theme="dark"] .icon-btn .i-sun{display:none}
html[data-theme="dark"] .icon-btn .i-moon{display:block}
.burger{display:none;width:40px;height:40px;border-radius:12px;background:var(--surface-2);border:1px solid var(--border);color:var(--ink)}
.burger svg{width:20px;height:20px;margin:auto}
@media(max-width:1000px){.mainnav,.head-cta .hide-md{display:none}.burger{display:grid;place-items:center}}

/* mobile menu */
.mobile-menu{display:none;position:fixed;inset:72px 0 0;z-index:55;background:var(--bg);
  padding:28px 24px;flex-direction:column;gap:8px;overflow:auto}
.mobile-menu.open{display:flex}
.mobile-menu a{padding:16px 8px;font-size:var(--t-h4);font-weight:700;border-bottom:1px solid var(--border)}
.mobile-menu .btn{margin-top:18px}

/* ---------------- generic section ---------------- */
.section{padding-block:clamp(56px,8vw,112px)}
.section.tint{background:var(--surface-2);border-block:1px solid var(--border)}
.section.deep{background:linear-gradient(180deg,var(--surface-2),var(--bg))}
.kicker{font-size:var(--t-eyebrow);font-weight:700;letter-spacing:.16em;text-transform:uppercase;
  color:var(--brand);display:inline-flex;align-items:center;gap:9px;margin-bottom:18px}
.kicker::before{content:"";width:26px;height:2px;background:var(--brand);border-radius:2px}
.h-sec{font-size:var(--t-h2);max-width:18ch;line-height:1.08}
.lead{font-size:var(--t-lg);color:var(--ink-2);max-width:60ch;margin-top:18px}
.center{text-align:center;margin-inline:auto}
.center .kicker{justify-content:center}
.center .h-sec,.center .lead{margin-inline:auto}

/* ---------------- hero ---------------- */
.hero{position:relative;overflow:hidden;padding-block:clamp(48px,7vw,104px)}
.hero .chakra{position:absolute;width:680px;height:680px;right:-200px;top:-180px;opacity:.4;pointer-events:none}
.hero .chakra.two{left:-260px;top:auto;bottom:-320px;width:560px;height:560px;opacity:.25;right:auto}
.hero-grid{position:relative;display:grid;grid-template-columns:1.08fr .92fr;gap:clamp(36px,5vw,72px);align-items:center}
@media(max-width:980px){.hero-grid{grid-template-columns:1fr;gap:48px}}
.hero h1{font-size:clamp(2.3rem,5vw,4rem);line-height:1.05;letter-spacing:var(--tr-disp);max-width:16ch}
.hero h1 em{font-style:normal;color:var(--brand)}
.hero .sub{font-size:clamp(1.05rem,1.6vw,1.25rem);color:var(--ink-2);max-width:46ch;margin:22px 0 30px;line-height:1.6}
.hero-cta{display:flex;flex-wrap:wrap;gap:14px;align-items:center}
.trustline{display:flex;align-items:center;gap:10px;margin-top:24px;font-size:var(--t-cap);color:var(--ink-3);font-weight:600}
.trustline svg{width:16px;height:16px;color:var(--success);flex:none}
.scrolllink{display:inline-flex;align-items:center;gap:8px;font-weight:700;font-size:var(--t-sm);color:var(--ink-2)}
.scrolllink:hover{color:var(--brand)}
.scrolllink svg{width:16px;height:16px}

/* ---------------- phone / app-screen frame ---------------- */
.phone{position:relative;width:min(300px,78vw);margin-inline:auto;
  border-radius:42px;padding:12px;background:var(--surface-3);
  border:1px solid var(--border-2);
  box-shadow:0 50px 100px -40px rgb(var(--shadow)/.7),inset 0 0 0 2px color-mix(in oklab,var(--ink) 8%,transparent)}
.phone::before{content:"";position:absolute;top:22px;left:50%;transform:translateX(-50%);
  width:42%;height:7px;border-radius:99px;background:color-mix(in oklab,var(--ink) 22%,transparent);z-index:3}
.phone image-slot{display:block;width:100%;aspect-ratio:9/19.2;border-radius:32px;overflow:hidden}
.phone.float{animation:floaty 6s ease-in-out infinite}
@keyframes floaty{0%,100%{transform:translateY(0)}50%{transform:translateY(-12px)}}
@media(prefers-reduced-motion:reduce){.phone.float{animation:none}}

.browser{border-radius:var(--r-lg);overflow:hidden;border:1px solid var(--border);background:var(--surface);
  box-shadow:0 40px 90px -50px rgb(var(--shadow)/.6)}
.browser .bar{display:flex;align-items:center;gap:7px;padding:12px 16px;border-bottom:1px solid var(--border);background:var(--surface-2)}
.browser .bar i{width:11px;height:11px;border-radius:50%;background:var(--border-2)}
.browser .bar .url{margin-left:12px;font-family:ui-monospace,Menlo,monospace;font-size:12px;color:var(--ink-3)}
.browser image-slot{display:block;width:100%}

/* ---------------- live app-screen stages (React phone mockups) ----------------
   Sizing (width/height of .app-stage + scale of .jk-scaler) is set inline by
   assets/mock-mount.jsx, so the phones render correctly even if this file is
   cached/stale on a deploy. Rules here are layout + a safe fallback only. */
.app-stage{position:relative;margin-inline:auto;max-width:100%;width:min(248px,72vw);aspect-ratio:390/812}
.app-stage .jk-scaler{position:absolute;top:0;left:0;width:390px;height:812px;transform-origin:top left}
.app-stage.float{animation:floaty 6s ease-in-out infinite}
@media(prefers-reduced-motion:reduce){.app-stage.float{animation:none}}

/* hero phone column: shrink-wrap to the phone so the floating confirm card
   hugs its lower-right edge instead of the column edge */
.hero-phone-wrap{position:relative;width:max-content;margin-inline:auto}

/* keep the phone columns from forcing horizontal overflow of the grid */
.hero-grid>*,.flow>*{min-width:0}

/* solution column: phone under a "one link" url cue */
.sol-app{display:flex;flex-direction:column;align-items:center;gap:18px}
.urlchip{display:inline-flex;align-items:center;gap:9px;padding:9px 16px;border-radius:var(--r-pill);
  background:var(--surface);border:1px solid var(--border);box-shadow:0 14px 30px -22px rgb(var(--shadow)/.7);
  font-family:ui-monospace,Menlo,monospace;font-size:13px;font-weight:600;color:var(--ink-2)}
.urlchip svg{width:15px;height:15px;color:var(--brand)}

/* showcase gallery — three phones in a tidy, evenly-spaced row */
.app-gallery{display:flex;justify-content:center;align-items:center;gap:clamp(24px,4vw,60px);margin-top:60px;flex-wrap:wrap}
.app-gallery .g-item{display:flex;flex-direction:column;align-items:center;gap:18px;margin:0;flex:0 0 auto}
.app-gallery figcaption{max-width:20ch;text-align:center;font-size:var(--t-cap);font-weight:600;color:var(--ink-3);line-height:1.45;min-height:2.8em}
@media(max-width:860px){
  .app-gallery{gap:48px 28px;margin-top:48px}
  .app-gallery figcaption{min-height:0}
}

/* floating booking confirmation card on hero */
.confirm-card{position:absolute;z-index:5;right:-14px;bottom:34px;display:flex;align-items:center;gap:12px;
  padding:14px 18px;border-radius:var(--r-md);background:var(--surface);border:1px solid var(--border);
  box-shadow:0 28px 56px -28px rgb(var(--shadow)/.7)}
.confirm-card .ic{width:40px;height:40px;border-radius:12px;background:color-mix(in oklab,var(--success) 18%,transparent);
  color:var(--success);display:grid;place-items:center}
.confirm-card .ic svg{width:20px;height:20px}
.confirm-card b{display:block;font-size:var(--t-sm);color:var(--ink)}
.confirm-card span{font-size:var(--t-eyebrow);color:var(--ink-3);font-weight:600}
@media(max-width:520px){.confirm-card{right:0;bottom:8px;transform:scale(.9)}}

/* ---------------- problem (pain list) ---------------- */
.flow{display:grid;grid-template-columns:1fr 1fr;gap:clamp(32px,5vw,64px);align-items:start}
@media(max-width:880px){.flow{grid-template-columns:1fr;gap:36px}}
.painloop{display:flex;flex-wrap:wrap;gap:10px;margin-top:8px}
.painloop .step{display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border-radius:var(--r-pill);
  background:var(--surface);border:1px solid var(--border);font-size:var(--t-cap);font-weight:600;color:var(--ink-2)}
.painloop .step svg{width:13px;height:13px;color:var(--ink-3)}
.optioncard{padding:24px;display:flex;flex-direction:column;gap:10px}
.optioncard h4{font-size:var(--t-h4)}
.optioncard p{color:var(--ink-2);font-size:var(--t-sm)}
.optioncard .tag{font-size:var(--t-eyebrow);font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-3)}
.zinger{font-size:clamp(1.3rem,2.6vw,1.8rem);font-weight:800;letter-spacing:var(--tr-tight);line-height:1.2;margin:8px 0 0;max-width:20ch}
.zinger em{font-style:normal;color:var(--brand)}

/* ---------------- solution bullets ---------------- */
.sol-list{display:flex;flex-direction:column;gap:18px;margin-top:8px}
.sol-list li{display:flex;gap:14px;align-items:flex-start;list-style:none}
.sol-list .dot{flex:none;width:30px;height:30px;border-radius:10px;background:var(--brand-soft);color:var(--brand);display:grid;place-items:center;margin-top:2px}
.sol-list .dot svg{width:17px;height:17px}
.sol-list b{font-weight:700}
.sol-list p{color:var(--ink-2);font-size:var(--t-sm);margin-top:3px}
ul{margin:0;padding:0}

/* ---------------- youtube ---------------- */
.yt-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:8px}
@media(max-width:880px){.yt-grid{grid-template-columns:1fr}}
.yt-card{padding:24px;display:flex;flex-direction:column;gap:12px}
.yt-card .pin{width:44px;height:44px;border-radius:12px;background:var(--accent-soft);color:var(--accent);display:grid;place-items:center}
.yt-card .pin svg{width:22px;height:22px}
.yt-card h4{font-size:var(--t-h4)}
.yt-card p{color:var(--ink-2);font-size:var(--t-sm)}
.bignum{font-size:clamp(2.4rem,5vw,3.6rem);font-weight:800;letter-spacing:var(--tr-disp);color:var(--brand);line-height:1}

/* ---------------- comparison table ---------------- */
.tablewrap{overflow-x:auto;border:1px solid var(--border);border-radius:var(--r-xl);background:var(--surface)}
table.cmp{border-collapse:collapse;width:100%;min-width:720px}
table.cmp th,table.cmp td{padding:16px 18px;text-align:left;border-bottom:1px solid var(--border);font-size:var(--t-sm);vertical-align:top}
table.cmp thead th{font-size:var(--t-cap);font-weight:700;color:var(--ink-2);position:sticky;top:0;background:var(--surface-2)}
table.cmp thead th.us{color:var(--brand)}
table.cmp tbody td:first-child{font-weight:600;color:var(--ink-2)}
table.cmp .col-us{background:color-mix(in oklab,var(--brand) 8%,var(--surface));font-weight:700;color:var(--ink)}
table.cmp tr:last-child td{border-bottom:0}
.tickyes{color:var(--success);font-weight:700;display:inline-flex;gap:6px;align-items:center}
.tickyes svg{width:15px;height:15px}
.tickno{color:var(--ink-3)}
.tnote{font-size:var(--t-cap);color:var(--ink-3);margin-top:14px}

/* ---------------- steps ---------------- */
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:8px;counter-reset:step}
@media(max-width:880px){.steps{grid-template-columns:1fr}}
.step-card{padding:28px 24px;position:relative;display:flex;flex-direction:column;gap:12px}
.step-card .num{font-family:var(--font-latin);font-size:2.4rem;font-weight:800;color:var(--brand);line-height:1;letter-spacing:-.03em}
.step-card h4{font-size:var(--t-h4)}
.step-card p{color:var(--ink-2);font-size:var(--t-sm)}

/* ---------------- features ---------------- */
.feat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:8px}
@media(max-width:880px){.feat-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.feat-grid{grid-template-columns:1fr}}
.feat{padding:22px;display:flex;flex-direction:column;gap:10px}
.feat .ic{width:46px;height:46px;border-radius:13px;background:var(--brand-soft);color:var(--brand);display:grid;place-items:center}
.feat .ic svg{width:23px;height:23px}
.feat h4{font-size:var(--t-lg);font-weight:700}
.feat p{color:var(--ink-2);font-size:var(--t-sm)}
.feat.soon{border-style:dashed;opacity:.92}
.feat.soon .ic{background:var(--surface-3);color:var(--ink-3)}
.feat .soonbadge{font-size:var(--t-eyebrow);font-weight:700;letter-spacing:.06em;color:var(--ink-3);text-transform:uppercase}

/* ---------------- who it's for ---------------- */
.who-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}
@media(max-width:820px){.who-grid{grid-template-columns:1fr}}
.who{padding:30px}
.who h3{font-size:var(--t-h3);margin-bottom:18px}
.who ul li{display:flex;gap:12px;align-items:flex-start;list-style:none;margin-bottom:14px;font-size:var(--t-body);color:var(--ink-2)}
.who .yes{color:var(--success)}.who .no{color:var(--ink-3)}
.who li svg{width:21px;height:21px;flex:none;margin-top:3px}
.who.no-card{background:var(--surface-2)}

/* ---------------- pricing ---------------- */
.price-card{max-width:560px;margin-inline:auto;padding:40px;text-align:center;position:relative;overflow:hidden}
.price-card .chakra{position:absolute;width:300px;height:300px;right:-120px;top:-120px;opacity:.3}
.price-amt{display:flex;align-items:baseline;justify-content:center;gap:6px;margin:18px 0}
.price-amt .cur{font-size:1.6rem;font-weight:700;color:var(--ink-2)}
.price-amt .val{font-size:clamp(3rem,7vw,4.2rem);font-weight:800;letter-spacing:var(--tr-disp);color:var(--ink)}
.price-amt .per{font-size:var(--t-body);color:var(--ink-3);font-weight:600}
.price-feats{display:flex;flex-direction:column;gap:12px;text-align:left;max-width:340px;margin:24px auto;}
.price-feats li{display:flex;gap:11px;list-style:none;color:var(--ink-2);font-size:var(--t-sm)}
.price-feats svg{width:19px;height:19px;color:var(--success);flex:none}
.confirmpill{display:inline-block;margin-top:14px;font-size:var(--t-eyebrow);color:var(--ink-3)}

/* ---------------- FAQ ---------------- */
.faq{max-width:780px;margin-inline:auto;margin-top:8px;display:flex;flex-direction:column;gap:12px}
.faq details{background:var(--surface);border:1px solid var(--border);border-radius:var(--r-md);overflow:hidden}
.faq summary{list-style:none;cursor:pointer;padding:20px 22px;display:flex;align-items:center;justify-content:space-between;gap:16px;
  font-weight:700;font-size:var(--t-body)}
.faq summary::-webkit-details-marker{display:none}
.faq summary .pm{flex:none;width:26px;height:26px;border-radius:50%;background:var(--brand-soft);color:var(--brand);display:grid;place-items:center;transition:transform .25s}
.faq summary .pm svg{width:15px;height:15px}
.faq details[open] summary .pm{transform:rotate(45deg)}
.faq .ans{padding:0 22px 22px;color:var(--ink-2);font-size:var(--t-sm);line-height:1.65}

/* ---------------- final CTA ---------------- */
.finalcta{position:relative;overflow:hidden;border-radius:var(--r-2xl);padding:clamp(40px,6vw,72px);text-align:center;
  background:linear-gradient(135deg,color-mix(in oklab,var(--brand) 18%,var(--surface)),var(--surface));
  border:1px solid var(--border)}
.finalcta .chakra{position:absolute;width:480px;height:480px;left:-160px;bottom:-260px;opacity:.3}
.finalcta h2{font-size:var(--t-h1);max-width:18ch;margin-inline:auto;line-height:1.06}
.finalcta .lead{margin-bottom:30px}
.founding{display:inline-flex;align-items:center;gap:9px;margin-top:26px;padding:10px 18px;border-radius:var(--r-pill);
  background:var(--surface);border:1px solid var(--border);font-size:var(--t-cap);color:var(--ink-2);font-weight:600}
.founding svg{width:16px;height:16px;color:var(--brand)}

/* waitlist mini form */
.waitlist{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;max-width:620px;margin:26px auto 0}
.waitlist .input{flex:1;min-width:160px}

/* ---------------- footer ---------------- */
.site-foot{background:var(--surface-2);border-top:1px solid var(--border);padding-block:clamp(48px,6vw,80px) 32px}
.foot-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:36px}
@media(max-width:880px){.foot-grid{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.foot-grid{grid-template-columns:1fr}}
.foot-brand .logo{width:160px;margin-bottom:16px}
.foot-brand p{color:var(--ink-2);font-size:var(--t-sm);max-width:34ch}
.foot-col h5{font-size:var(--t-eyebrow);text-transform:uppercase;letter-spacing:.12em;color:var(--ink-3);margin:0 0 16px;font-weight:700}
.foot-col a,.foot-col p{display:block;color:var(--ink-2);font-size:var(--t-sm);margin-bottom:11px;line-height:1.5}
.foot-col a:hover{color:var(--brand)}
.foot-bottom{display:flex;flex-wrap:wrap;gap:14px;justify-content:space-between;align-items:center;
  margin-top:44px;padding-top:24px;border-top:1px solid var(--border);font-size:var(--t-cap);color:var(--ink-3)}
.foot-bottom .legal{display:flex;gap:18px;flex-wrap:wrap}

/* ---------------- legal pages ---------------- */
.legal-hero{padding-block:clamp(40px,6vw,72px) 0}
.legal-hero .kicker{margin-bottom:14px}
.legal-hero h1{font-size:var(--t-h1);max-width:18ch}
.legal-hero .updated{margin-top:16px;font-size:var(--t-cap);color:var(--ink-3);font-weight:600}
.legal-note{margin-top:24px;padding:16px 20px;border-radius:var(--r-md);background:color-mix(in oklab,var(--brand) 7%,var(--surface));
  border:1px solid var(--border);border-left:3px solid var(--brand);font-size:var(--t-sm);color:var(--ink-2)}
.legal-body{display:grid;grid-template-columns:240px 1fr;gap:56px;padding-block:clamp(40px,5vw,64px) clamp(56px,8vw,96px);align-items:start}
@media(max-width:920px){.legal-body{grid-template-columns:1fr;gap:32px}.legal-toc{display:none}}
.legal-toc{position:sticky;top:96px}
.legal-toc h6{font-size:var(--t-eyebrow);text-transform:uppercase;letter-spacing:.12em;color:var(--ink-3);margin:0 0 14px;font-weight:700}
.legal-toc a{display:block;padding:7px 0;color:var(--ink-2);font-size:var(--t-cap);line-height:1.4;border-left:2px solid transparent;padding-left:12px;transition:.15s}
.legal-toc a:hover,.legal-toc a.active{color:var(--brand);border-color:var(--brand)}
.prose{max-width:72ch}
.prose h2{font-size:var(--t-h3);margin:40px 0 14px;scroll-margin-top:96px}
.prose h2:first-child{margin-top:0}
.prose h3{font-size:var(--t-lg);margin:26px 0 10px}
.prose p{color:var(--ink-2);margin-bottom:14px;line-height:1.7}
.prose ul{padding-left:22px;margin:0 0 16px}
.prose ul li{list-style:disc;color:var(--ink-2);margin-bottom:9px;line-height:1.6}
.prose strong{color:var(--ink);font-weight:700}
.prose a{color:var(--brand);font-weight:600}
.prose code{font-family:ui-monospace,Menlo,monospace;font-size:.9em;background:var(--surface-3);padding:2px 6px;border-radius:6px;color:var(--ink-2)}
.prose .callout{padding:18px 20px;border-radius:var(--r-md);background:var(--surface);border:1px solid var(--border);border-left:3px solid var(--accent);margin:20px 0}
.prose table{width:100%;border-collapse:collapse;margin:18px 0;font-size:var(--t-sm)}
.prose table th,.prose table td{border:1px solid var(--border);padding:10px 12px;text-align:left;vertical-align:top}
.prose table th{background:var(--surface-2);font-weight:700;color:var(--ink)}
.contact-card{margin-top:32px;padding:22px;border-radius:var(--r-md);background:var(--surface-2);border:1px solid var(--border);font-size:var(--t-sm);color:var(--ink-2);line-height:1.7}
.contact-card strong{display:block;color:var(--ink);font-size:var(--t-body);margin-bottom:4px}
