/* pdf.lecaai.com in the app's own theme: the colours, type and shapes of Theme.kt (light, and dark when the phone is). */
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/instrument-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/instrument-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/fonts/jetbrains-mono-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/fonts/jetbrains-mono-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Doto'; font-style: normal; font-weight: 700 900; font-display: swap; src: url(/fonts/doto-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Doto'; font-style: normal; font-weight: 700 900; font-display: swap; src: url(/fonts/doto-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ground: #E9EAEC; --surface: #FFFFFF; --ink: #1C1C1E; --ink2: #5A5A5E; --ink3: #6E6E73; --chev: #8E8E93; --accent: #BF4E3A;
  --chip: #F2F2F4; --hair: #E3E4E7; --inv: #1C1C1E; --oninv: #FFFFFF; --oninv2: #A1A1A6; --invchip: #2C2C2E; --tint: #F4E1DC; --bezel: #0B0B0C;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --ground: #0B0B0C; --surface: #1C1C1E; --ink: #F2F2F4; --ink2: #A1A1A6; --ink3: #98989D; --chev: #6E6E73; --chip: #2C2C2E; --hair: #2C2C2E;
    --inv: #F2F2F4; --oninv: #1C1C1E; --oninv2: #5A5A5E; --invchip: #E5E5EA; --tint: #4A2A24; --bezel: #2C2C2E; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--ground); color: var(--ink); font: 17px/1.5 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; padding: 10px 16px; border-radius: 999px; background: var(--inv); color: var(--oninv); z-index: 10; }
.skip:focus { left: 16px; }
.mono { font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace; }
.dots { font-family: 'Doto', 'JetBrains Mono', monospace; font-weight: 900; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.wrap.narrow { max-width: 1000px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* the bar on top */
.top { display: flex; align-items: center; gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.brand img { width: 40px; height: 40px; border-radius: 11px; display: block; }
.navlinks { display: flex; gap: 4px; margin-left: 18px; }
.navlinks a { padding: 10px 16px; border-radius: 999px; font-size: 15px; font-weight: 500; }
.navlinks a:hover, .navlinks a[aria-current] { background: var(--surface); }
.navlinks a[aria-current] { font-weight: 600; }

/* pills: the app's buttons */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; white-space: nowrap;
  font-size: 16px; font-weight: 600; border: 0; cursor: pointer; font-family: inherit; transition: transform .15s ease; }
.pill:hover { transform: translateY(-1px); }
.pill.big { min-height: 56px; padding: 0 26px; font-size: 17px; }
.pill.dark { background: var(--inv); color: var(--oninv); }
.pill.light { background: var(--surface); color: var(--ink); }
.pill svg { flex: none; }
.top .pill { margin-left: auto; padding: 0 20px 0 16px; font-size: 15px; }
.chip { display: inline-block; padding: 9px 14px; border-radius: 999px; background: var(--chip); color: var(--ink2);
  font: 500 12px/1.2 'JetBrains Mono', monospace; letter-spacing: .1em; text-transform: uppercase; }
.chip.offer { background: var(--tint); color: var(--ink); }
.chip.once { background: var(--inv); color: var(--oninv); }

/* the app's labels and headers */
.eyebrow { display: flex; align-items: center; gap: 10px; font: 500 13px/1 'JetBrains Mono', monospace; letter-spacing: .14em; color: var(--ink2); text-transform: uppercase; }
.eyebrow i { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); flex: none; }
h1, h2, h3 { margin: 0; font-weight: 600; }
.h1 { font-size: 66px; line-height: 1.03; letter-spacing: -.035em; }
.h2 { font-size: 42px; line-height: 1.08; letter-spacing: -.03em; }
.h3 { font-size: 30px; line-height: 1.15; letter-spacing: -.02em; }
.lede { font-size: 20px; line-height: 1.5; color: var(--ink2); margin: 0; }
.muted { color: var(--ink2); }
.head { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 26px; }
.head .count { margin-left: auto; font-size: 64px; line-height: .9; }
.head .eyebrow { margin-bottom: 10px; }
section { scroll-margin-top: 16px; }
.band { padding-bottom: 72px; }
.card { border-radius: 32px; background: var(--surface); }
.card.dark { background: var(--inv); color: var(--oninv); }
.card.dark .eyebrow, .card.dark .muted { color: var(--oninv2); }

/* the ask bar */
.ask { position: relative; max-width: 540px; }
.askbar { display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 8px 0 22px; border-radius: 999px; background: var(--surface); }
.askbar input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 17px; color: var(--ink); }
.askbar input::placeholder { color: var(--ink3); }
.askbar:focus-within { box-shadow: 0 0 0 3px var(--accent); }
.askbar button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--chip); color: var(--ink); display: grid; place-items: center; cursor: pointer; flex: none; }
.hint { margin-top: 12px; padding-left: 22px; font: 500 12px/1.4 'JetBrains Mono', monospace; letter-spacing: .12em; color: var(--ink2); text-transform: uppercase; }
.answers { position: absolute; left: 0; right: 0; top: 68px; z-index: 5; border-radius: 24px; background: var(--surface); padding: 6px; list-style: none; margin: 0;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .35); }
.answers[hidden] { display: none; }
.answers a { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 18px; }
.answers a:hover, .answers a.on { background: var(--chip); }
.answers .ic { width: 40px; height: 40px; border-radius: 50%; background: var(--chip); display: grid; place-items: center; flex: none; }
.answers a:hover .ic, .answers a.on .ic { background: var(--surface); }
.answers small { display: block; color: var(--ink3); font-size: 14px; }

/* the hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-top: 36px; padding-bottom: 64px; }
.hero > div:first-child { display: flex; flex-direction: column; gap: 24px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; }
.phones { position: relative; height: 650px; }
.phone { position: absolute; border-radius: 46px; padding: 9px; background: var(--bezel); box-shadow: 0 0 0 1px #3A3A3C, 0 40px 80px -30px rgba(0, 0, 0, .35); }
.phone img { display: block; width: 100%; height: auto; border-radius: 38px; }
.phone.static { position: relative; }
.p1 { left: 0; top: 70px; width: 236px; } .p2 { left: 168px; top: 0; width: 262px; z-index: 2; } .p3 { left: 360px; top: 80px; width: 236px; }

/* questions: the answers on cards */
.qcard { padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.qcard h3 { font-size: 26px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.qcard p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--ink2); }
.qcard.dark p { color: var(--oninv2); }
.qcard .ic { width: 48px; height: 48px; border-radius: 50%; background: var(--chip); display: grid; place-items: center; }
.qcard.tint { background: var(--tint); }
.qcard .pill { margin-top: auto; align-self: flex-start; }
.qcard .badge { align-self: flex-start; }

/* new in 1.2 and privacy: wide cards with a picture */
.split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 44px 48px; }
.split > div:first-child { display: flex; flex-direction: column; gap: 20px; }
.said { padding: 10px 16px; border-radius: 999px; background: var(--invchip); color: var(--oninv); font-size: 16px; }
.card:not(.dark) .said { background: var(--chip); color: var(--ink); }
.progress { display: flex; gap: 6px; }
.progress i { width: 10px; height: 10px; border-radius: 50%; background: var(--invchip); }
.progress i.on { background: var(--accent); }
.center { display: flex; justify-content: center; }

/* the Tools screen */
.suggested { display: flex; align-items: center; gap: 16px; padding: 12px 22px 12px 12px; border-radius: 999px; background: var(--inv); color: var(--oninv); margin-bottom: 22px; }
.suggested .ic { width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; flex: none; }
.suggested b { display: block; font-size: 19px; font-weight: 600; }
.suggested small { font: 500 11px/1.4 'JetBrains Mono', monospace; letter-spacing: .14em; color: var(--oninv2); }
.suggested > svg { margin-left: auto; flex: none; }
.tools { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.tools li { aspect-ratio: 1; border-radius: 50%; background: var(--surface); display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; text-align: center; padding: 10px; }
.tools li.dark { background: var(--inv); color: var(--oninv); }
.tools span { font-size: 15px; font-weight: 500; line-height: 1.15; }
.tools small { font: 500 10px/1 'JetBrains Mono', monospace; letter-spacing: .14em; opacity: .75; }

/* show, don't tell */
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature { padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.feature p { margin: 0; font-size: 17px; line-height: 1.5; color: var(--ink2); }
.tag { font: 500 12px/1 'JetBrains Mono', monospace; letter-spacing: .14em; color: var(--ink3); text-transform: uppercase; }
.shot { height: 420px; overflow: hidden; border-radius: 22px; background: var(--chip); margin-top: 8px; }
.shot img { display: block; width: 100%; height: auto; }
.shot.short { height: 350px; margin-top: 0; }
.kb { font-size: 44px; letter-spacing: -.01em; line-height: 1; }
.kb small { font: 600 22px 'Instrument Sans', sans-serif; color: var(--ink3); }
.kb .to { font: 700 28px 'Instrument Sans', sans-serif; color: var(--accent); margin: 0 6px; }

/* privacy */
.zero { width: 320px; max-width: 100%; aspect-ratio: 1; border-radius: 50%; background: var(--ground); display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 6px; text-align: center; }
.zero .dots { font-size: 120px; line-height: .9; }
.zero .tag { color: var(--ink2); line-height: 1.5; }
.promise { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 999px; background: var(--chip); font-size: 16px; font-weight: 500; }
.promise .ic { width: 34px; height: 34px; border-radius: 50%; background: var(--inv); color: var(--oninv); display: grid; place-items: center; flex: none; }

/* price */
.plan { padding: 36px; display: flex; flex-direction: column; gap: 16px; }
.plan .top-line { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.plan .name { font-size: 26px; font-weight: 600; }
.plan .price { margin-left: auto; display: flex; align-items: baseline; gap: 12px; }
.plan .price .dots { font-size: 52px; line-height: 1; }
.plan .price s { font-size: 24px; color: var(--oninv2); }
.plan p { margin: 0; font-size: 17px; line-height: 1.55; }
.plan .price .per { font: 600 16px/1 'Instrument Sans', sans-serif; color: var(--oninv2); }
.badge.once { background: var(--oninv); color: var(--inv); }
.badge { align-self: flex-start; padding: 8px 14px; border-radius: 999px; background: var(--accent); color: #fff; font: 500 12px/1 'JetBrains Mono', monospace; letter-spacing: .12em; }
.plan .pill { align-self: flex-start; background: var(--oninv); color: var(--inv); }
/* the launch offer, until its date (site.js turns it off after; the regular lines show then) */
html:not(.offer-over) .regular, html.offer-over .offer-only { display: none; }
/* rupee prices in India, one payment in your own currency everywhere else (site.js, by the device's time zone) */
html.abroad .inr, html:not(.abroad) .world { display: none; }
/* the intro on Home: one language's player at a time (hiding only, as the offer switch does) */
.intro[data-lang="en"] .intro-hi, .intro[data-lang="hi"] .intro-en { display: none; }
.intro .player button.pill { align-self: flex-start; border: 0; font: inherit; cursor: pointer; }
.intro .eyebrow[lang="hi"] { letter-spacing: .02em; }

/* how-to videos */
.video { padding: 12px 12px 20px; display: flex; flex-direction: column; gap: 14px; border-radius: 28px; }
.video img { width: 100%; height: auto; border-radius: 18px; display: block; aspect-ratio: 16 / 9; object-fit: cover; }
.video .soon { aspect-ratio: 16 / 9; border-radius: 18px; background: var(--inv); display: grid; place-items: center; }
.video .soon span { color: var(--oninv2); }
.video b { padding: 0 8px; font-size: 18px; font-weight: 600; }
.video .tag { padding: 0 8px; }

/* questions: the app's list rows */
.list { border-radius: 28px; background: var(--surface); overflow: hidden; }
.list details { border-top: 1px solid var(--hair); padding: 0 26px; }
.list details:first-child, .list > a:first-child { border-top: 0; }
.list summary { list-style: none; display: flex; align-items: center; gap: 16px; min-height: 68px; cursor: pointer; font-size: 18px; font-weight: 500; }
.list summary::-webkit-details-marker { display: none; }
.list summary svg { margin-left: auto; color: var(--chev); flex: none; transition: transform .2s ease; }
.list details[open] summary svg { transform: rotate(180deg); }
.list details p { margin: 0 0 22px; font-size: 17px; line-height: 1.55; color: var(--ink2); max-width: 760px; }

/* help rows */
.rows > a, .rows > div { display: flex; align-items: center; gap: 16px; min-height: 76px; padding: 10px 18px; border-top: 1px solid var(--hair); scroll-margin-top: 16px; }
.rows .ic { width: 46px; height: 46px; border-radius: 50%; background: var(--chip); display: grid; place-items: center; flex: none; }
.rows .ready .ic { background: var(--accent); color: #fff; }
.rows b { display: block; font-size: 17px; font-weight: 500; }
.rows small { display: block; font-size: 14px; color: var(--ink3); }
.rows .state { margin-left: auto; flex: none; padding: 8px 14px; border-radius: 999px; background: var(--chip); color: var(--ink2);
  font: 500 11px/1 'JetBrains Mono', monospace; letter-spacing: .12em; }
.rows .ready .state { background: var(--inv); color: var(--oninv); }
.rows > a:hover { background: var(--chip); }
.rows [hidden] { display: none; }
.player { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: center; padding: 18px 28px 18px 18px; }
.player video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 22px; background: #000; }
.player > div { display: flex; flex-direction: column; gap: 14px; }
.nomatch { padding: 22px 26px; color: var(--ink2); }

/* the foot */
.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-top: 8px; padding-bottom: 40px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px; padding: 6px; border-radius: 999px; background: var(--inv); }
.foot nav a { padding: 10px 18px; border-radius: 999px; color: var(--oninv); font-size: 14px; font-weight: 500; }
.foot nav a[aria-current] { background: var(--oninv); color: var(--inv); font-weight: 600; }
.foot .made { margin-left: auto; font: 500 12px/1.4 'JetBrains Mono', monospace; letter-spacing: .14em; color: var(--ink2); }
.foot .made b { color: var(--accent); font-weight: 500; }

/* a long read (privacy, terms) in a white card */
.doc { padding: 40px 48px 48px; max-width: 820px; margin: 0 auto 48px; }
.doc h1 { font-size: 40px; letter-spacing: -.03em; line-height: 1.1; margin-bottom: 8px; }
.doc h2 { font-size: 22px; letter-spacing: -.01em; margin: 34px 0 8px; }
.doc p, .doc li { margin: 8px 0; line-height: 1.6; }
.doc a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.doc .meta { color: var(--ink2); font-size: 15px; }
.doc .box { border-radius: 20px; background: var(--chip); padding: 6px 20px; margin: 20px 0; }
.doc table { border-collapse: collapse; width: 100%; }
.doc td, .doc th { border-top: 1px solid var(--hair); padding: 8px 6px; text-align: left; vertical-align: top; }

@media (max-width: 860px) {
  .wrap { padding: 0 16px; }
  .navlinks { display: none; }
  .hero, .split, .grid2, .grid3, .player { grid-template-columns: minmax(0, 1fr); }
  .hero { gap: 28px; padding-top: 16px; }
  .split { padding: 30px 24px; gap: 28px; }
  .phones { height: 430px; max-width: 380px; }
  .p1 { left: 0; top: 46px; width: 150px; } .p2 { left: 104px; top: 0; width: 168px; } .p3 { left: 222px; top: 52px; width: 150px; }
  .tools { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .tools span { font-size: 14px; }
  .h1 { font-size: 42px; } .h2 { font-size: 32px; } .h3 { font-size: 26px; } .lede { font-size: 17px; }
  .head .count { font-size: 48px; }
  .shot { height: 340px; }
  .feature, .plan { padding: 24px; }
  .top .pill span { display: none; }
  .top .pill { padding: 0 14px; }
  .foot .made { margin-left: 0; }
  .rows small { display: none; }
  .doc { padding: 28px 20px 32px; }
  .doc h1 { font-size: 30px; }
  .qcard { padding: 24px; }
  .qcard h3 { font-size: 22px; }
}
@media (max-width: 380px) { .phones { transform: scale(.88); transform-origin: left top; height: 390px; } }

/* a tutorial's page: the steps, each written out beside its pictures */
.tut { display: flex; flex-direction: column; gap: 26px; padding-top: 12px; padding-bottom: 40px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 15px; color: var(--ink2); }
.crumbs a { text-decoration: underline; text-underline-offset: 3px; }
.tut-h1 { font-size: 54px; }
.needs { padding: 24px 28px; }
.needs ul { margin: 12px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 17px; }
.toc { padding: 24px 28px; }
.toc ol { margin: 12px 0 0; padding-left: 22px; columns: 2; column-gap: 32px; font-size: 16px; }
.toc li { margin: 4px 0; break-inside: avoid; }
.toc a { text-decoration: underline; text-decoration-color: var(--hair); text-underline-offset: 3px; }
.toc a:hover { text-decoration-color: var(--accent); }
.tsteps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.tstep { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; border-radius: 32px; background: var(--surface);
  padding: 32px; scroll-margin-top: 16px; }
.tstep.extra { background: var(--chip); }
.ttext { display: flex; flex-direction: column; gap: 12px; }
.ttext .tnum { font-size: 56px; line-height: .9; color: var(--accent); }
.ttext p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--ink2); }
.ttext strong { color: var(--ink); font-weight: 600; }
.tshots { display: flex; justify-content: center; gap: 18px; }
.tshots .phone { width: 260px; max-width: 100%; margin: 0; }
.tshots.two .phone { width: 220px; }
.pronote { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; padding: 32px; }
.pronote > div { flex: 1 1 420px; display: flex; flex-direction: column; gap: 10px; }
.pronote .pill { background: var(--oninv); color: var(--inv); }
.related { padding: 22px; display: flex; flex-direction: column; gap: 12px; border-radius: 28px; }
.related .ic { width: 46px; height: 46px; border-radius: 50%; background: var(--chip); display: grid; place-items: center; }
.related b { font-size: 18px; font-weight: 600; }
.stuck { padding: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.stuck > div { flex: 1 1 360px; display: flex; flex-direction: column; gap: 10px; }
.featured { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: center; padding: 18px 28px 18px 18px; }
.featured .thumb { position: relative; display: block; border-radius: 22px; overflow: hidden; }
.featured .thumb img { display: block; width: 100%; height: auto; }
/* On the phone in the picture (its right side), never on the title, however long. */
.featured .thumb span { position: absolute; left: 81.5%; top: 50%; width: 80px; height: 80px; margin: -40px 0 0 -40px; border-radius: 50%; background: #fff; color: #1C1C1E;
  display: grid; place-items: center; box-shadow: 0 12px 30px rgba(0, 0, 0, .35); }
.featured > div { display: flex; flex-direction: column; gap: 14px; }
.featured .pill { align-self: flex-start; background: var(--oninv); color: var(--inv); }
@media (max-width: 860px) {
  .tut-h1 { font-size: 34px; }
  .tstep, .featured { grid-template-columns: minmax(0, 1fr); padding: 22px; gap: 20px; }
  .tshots .phone { width: 230px; }
  .tshots.two .phone { width: calc(50% - 9px); }
  .toc ol { columns: 1; }
  .ttext .tnum { font-size: 44px; }
}

/* desktop: coming soon */
.soon-chip { background: transparent; box-shadow: inset 0 0 0 1.5px var(--chev); color: var(--ink2); }
.desk { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 40px; align-items: center; padding: 44px 0 44px 48px; overflow: hidden; }
.desk > div { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.desk .eyebrow i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); margin-right: 10px; vertical-align: 1px; }
.desk figure { margin: 0; }
.desk img { display: block; width: 118%; max-width: none; height: auto; border-radius: 18px 0 0 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, .16), 0 0 0 1px var(--hair); }
.desk figcaption { margin-top: 12px; font: 500 12px/1.4 'JetBrains Mono', monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); }
@media (max-width: 860px) {
  .desk { grid-template-columns: minmax(0, 1fr); padding: 30px 0 30px 24px; gap: 28px; }
  .desk > div { padding-right: 24px; }
}

/* Switching language: a small pill (Help, a tutorial's breadcrumb). */
.langswitch { align-self: flex-start; display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 999px; background: var(--chip); color: var(--ink); font-size: 15px; font-weight: 600; }
.crumbs .langswitch { margin-left: auto; }
/* Hindi pages: Docbench's Indic rules — no letter spacing, roomier lines, sans for the mono labels. */
html[lang=hi] .eyebrow, html[lang=hi] .tag, html[lang=hi] .state { font-family: 'Instrument Sans', sans-serif; letter-spacing: .02em; text-transform: none; font-size: 14px; }
html[lang=hi] h1, html[lang=hi] h2, html[lang=hi] .h1, html[lang=hi] .h2, html[lang=hi] .h3 { letter-spacing: 0; line-height: 1.3; }
html[lang=hi] p, html[lang=hi] li, html[lang=hi] summary { line-height: 1.65; }

/* A tutorial on YouTube: its thumbnail and a white play button, then the player in the same box. */
.player .yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #000; border: 0; }
.player a.yt img { display: block; width: 100%; height: 100%; object-fit: cover; }
.player a.yt span { position: absolute; left: 50%; top: 50%; width: 80px; height: 80px; margin: -40px 0 0 -40px; border-radius: 50%; background: #fff; color: #1C1C1E;
  display: grid; place-items: center; box-shadow: 0 12px 30px rgba(0, 0, 0, .35); }
.player a.yt span svg { width: 26px; height: 26px; margin-left: 4px; }

/* ── The desktop apps, coming soon: a full-width black hero (Home, /desktop). Always black, in both themes: the Mac
   app's own dark screens sit in it. White pill, an outlined one, no orange button. */
.dhero { position: relative; background: #000; color: #F2F2F4; padding: 120px 0 0; margin: 0 0 80px; overflow: hidden; border-top: 1px solid #1C1C1E; }
.dhero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.dhero-kick { display: flex; align-items: center; gap: 14px; color: #8E8E93; font: 500 13px/1 'JetBrains Mono', monospace; letter-spacing: .16em; text-transform: uppercase; }
.dhero-kick .dots { font-size: 26px; letter-spacing: .06em; color: #F2F2F4; }
.dhero-kick i { width: 6px; height: 6px; border-radius: 50%; background: #3A3A3C; }
.dhero-h { margin: 0; font-size: clamp(44px, 7.4vw, 92px); line-height: 1; font-weight: 600; letter-spacing: -.04em; }
.dhero-lede { margin: 0; max-width: 640px; font-size: 19px; line-height: 1.55; color: #A1A1A6; }
.dhero-cta { justify-content: center; }
.pill.white { background: #FFFFFF; color: #000; }
.pill.ghost { background: transparent; color: #F2F2F4; box-shadow: inset 0 0 0 1.5px #3A3A3C; }
.pill.ghost:hover { box-shadow: inset 0 0 0 1.5px #6E6E73; }
.dhero-stage { position: relative; max-width: 1240px; height: clamp(300px, 50vw, 640px); margin: 72px auto 0; padding: 0 32px; }
.dhero-stage .win { position: absolute; margin: 0; border-radius: 14px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .09), 0 60px 120px -30px rgba(0, 0, 0, .9); }
.dhero-stage .win img { display: block; width: 100%; height: auto; }
.dhero-stage .win.front { left: 50%; top: 0; width: min(86%, 1040px); transform: translateX(-50%); z-index: 2; }
.dhero-stage .win.back { right: -3%; top: 16%; width: 50%; z-index: 1; filter: brightness(.55); }
.dhero-phone { right: 1%; top: 40%; width: clamp(120px, 16vw, 220px); z-index: 3; box-shadow: 0 0 0 1px #3A3A3C, 0 50px 90px -20px rgba(0, 0, 0, .9); }
/* the pictures run on below the fold and fade into the black */
.dhero-stage::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 36%; background: linear-gradient(rgba(0, 0, 0, 0), #000 92%); z-index: 4; pointer-events: none; }
@media (max-width: 760px) {
  .dhero { padding-top: 72px; margin-bottom: 56px; }
  .dhero-lede { font-size: 17px; }
  .dhero-stage { height: 280px; margin-top: 48px; padding: 0 16px; }
  .dhero-stage .win.front { width: 112%; left: 4%; transform: none; }
  .dhero-stage .win.back { display: none; }
  .dhero-phone { right: 4%; top: 22%; width: 104px; border-radius: 26px; padding: 5px; }
  .dhero-phone img { border-radius: 22px; }
}

/* /desktop: a feature per row, the words beside the real screen (the screen on the other side every other row). */
.dfeat { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 48px; align-items: center; padding: 40px 0; border-top: 1px solid var(--hair); }
.dfeat:first-of-type { border-top: 0; }
.dfeat.flip { grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); }
.dfeat.flip > div { order: 2; }
.dfeat > div { display: flex; flex-direction: column; gap: 14px; }
.dfeat .muted { margin: 0; font-size: 17px; line-height: 1.6; }
.dfeat .win, .dcard .win { margin: 0; border-radius: 12px; overflow: hidden; background: #000;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), 0 30px 60px -30px rgba(0, 0, 0, .45); }
.dfeat .win img { display: block; width: 100%; height: auto; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.promises .card { padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.promises .dots.big { font-size: 64px; line-height: 1; }
.promises h3 { margin: 6px 0 0; font-size: 20px; }
.promises p { margin: 0; }
.card.dcta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 40px; background: #000; color: #F2F2F4; }
.card.dcta > div { display: flex; flex-direction: column; gap: 10px; }
.card.dcta .muted, .card.dcta .eyebrow { color: #A1A1A6; }
.deskpage .dhero { margin-top: 0; }
@media (max-width: 900px) {
  .dfeat { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 28px 0; }
  .dfeat.flip { grid-template-columns: minmax(0, 1fr); }
  .dfeat.flip > div { order: 0; }
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) { .grid4 { grid-template-columns: minmax(0, 1fr); } .card.dcta { padding: 28px; } }

/* ── Home's hero: black in both themes (the screens are dark), the header on it, the words centred over the screens. */
.topband { background: #000; color: #F2F2F4; }
.topband .navlinks a:hover, .topband .navlinks a[aria-current] { background: #1C1C1E; }
.topband .pill.dark { background: #FFFFFF; color: #000; }
.xhero { position: relative; background: #000; color: #F2F2F4; padding: 56px 0 0; overflow: hidden; }
/* a soft light behind the screens, nothing else */
.xhero::before { content: ''; position: absolute; left: 50%; top: 420px; width: 1300px; height: 900px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(191, 78, 58, .16), rgba(191, 78, 58, 0)); pointer-events: none; }
.xhero-copy { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.xkick { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; font: 500 12px/1 'JetBrains Mono', monospace; letter-spacing: .14em; text-transform: uppercase; }
.xkick span { padding: 9px 14px; border-radius: 999px; background: #1C1C1E; color: #A1A1A6; }
.xkick .live { color: #F2F2F4; }
.xkick a { padding: 9px 14px; border-radius: 999px; background: #1C1C1E; color: #F2F2F4; text-decoration: none; box-shadow: inset 0 0 0 1px #3A3A3C; transition: background .15s; }
.xkick a:hover { background: #2C2C2E; }
.xkick a b { font-weight: 500; margin-left: 9px; }
.xkick .live i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #6BBF7A; margin-right: 9px; vertical-align: 1px; box-shadow: 0 0 0 4px rgba(107, 191, 122, .18); }
.xhero-h { margin: 0; max-width: 980px; font-size: clamp(40px, 6.6vw, 84px); line-height: 1.02; font-weight: 600; letter-spacing: -.045em; text-wrap: balance; }
.xhero-lede { margin: 0; max-width: 620px; font-size: 19px; line-height: 1.55; color: #A1A1A6; text-wrap: pretty; }
.xhero-copy .ask { width: 100%; max-width: 560px; position: relative; text-align: left; }
.xhero .askbar { background: #1C1C1E; }
.xhero .askbar input { color: #F2F2F4; } .xhero .askbar input::placeholder { color: #8E8E93; }
.xhero .askbar button { background: #2C2C2E; color: #F2F2F4; }
.xhero .hint { color: #8E8E93; text-align: center; padding-left: 0; }
.xhero-cta { justify-content: center; }
.xchips { justify-content: center; gap: 8px; }
.xchip { padding: 8px 13px; border-radius: 999px; font-size: 13.5px; color: #A1A1A6; box-shadow: inset 0 0 0 1px #2C2C2E; }
.xchip s { color: #6E6E73; }

/* the stage: the Mac window, two phones in front of it, all running off the bottom into the next section */
.xstage { position: relative; max-width: 1280px; height: clamp(420px, 56vw, 760px); margin: 64px auto 0; padding: 0 32px; }
.xwin { position: absolute; left: 50%; top: 0; width: min(88%, 1080px); margin: 0; transform: translateX(-50%); border-radius: 14px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 80px 160px -40px rgba(0, 0, 0, .95); }
.xwin img { display: block; width: 100%; height: auto; }
.xwin figcaption { position: absolute; right: 16px; top: 14px; padding: 8px 13px; border-radius: 999px; background: rgba(0, 0, 0, .72); backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); color: #F2F2F4; font: 500 11px/1 'JetBrains Mono', monospace; letter-spacing: .14em; text-transform: uppercase; }
.xwin figcaption i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #BF4E3A; margin-right: 8px; vertical-align: 1px; }
/* a phone: a thin black frame, the screen's own corners, a soft shadow (no thick bezel) */
.xphone { position: absolute; border-radius: 40px; padding: 7px; background: #0B0B0C; box-shadow: 0 0 0 1.5px #2C2C2E, 0 50px 100px -24px rgba(0, 0, 0, .95); }
.xphone img { display: block; width: 100%; height: auto; border-radius: 33px; }
.xstage .xphone.a { left: 3%; top: 22%; width: clamp(170px, 19vw, 250px); z-index: 2; }
.xstage .xphone.b { right: 4%; top: 30%; width: clamp(150px, 16vw, 220px); z-index: 2; }
.xstage::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(rgba(0, 0, 0, 0), #000 90%); z-index: 3; pointer-events: none; }
.xreel { display: none; }

/* phones and small tablets: no stage; the screens swiped one by one, each with what it does, then the Mac window */
@media (max-width: 900px) {
  .xhero { padding-top: 32px; }
  .xhero-lede { font-size: 17px; }
  .xhero::before { top: 520px; width: 700px; height: 700px; }
  .xstage { display: none; }
  .xhero-copy { gap: 18px; }
  .xchips { gap: 6px; } .xchip { font-size: 12.5px; padding: 7px 11px; }
  .xhero .hint { letter-spacing: .08em; }
  .xreel { display: block; position: relative; margin-top: 40px; padding-bottom: 56px; }
  .xreel ul { display: flex; gap: 18px; margin: 0; padding: 8px max(24px, calc(50vw - 120px)) 24px; list-style: none; overflow-x: auto;
    scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .xreel ul::-webkit-scrollbar { display: none; }
  .xreel li { flex: none; width: 240px; scroll-snap-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
  .xreel .xphone { position: relative; width: 100%; border-radius: 38px; }
  .xreel .xphone img { border-radius: 31px; }
  .xreel li b { font-size: 16px; font-weight: 600; color: #F2F2F4; text-align: center; }
  .xwin.small { position: relative; left: auto; transform: none; width: auto; margin: 32px 16px 0; border-radius: 10px; }
  .xwin.small figcaption { right: 10px; top: 10px; font-size: 10px; padding: 7px 10px; }
}

/* the desktop band's strip of more screens */
.dstrip { position: relative; z-index: 5; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: -40px auto 0; padding-bottom: 72px; list-style: none; }
.dstrip a { display: flex; flex-direction: column; gap: 12px; }
.dstrip img { display: block; width: 100%; height: auto; border-radius: 10px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); transition: transform .2s; }
.dstrip a:hover img { transform: translateY(-3px); }
.dstrip b { font-size: 15px; font-weight: 600; color: #F2F2F4; }
@media (max-width: 900px) {
  .dstrip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-top: -20px; padding: 0 16px 48px; }
  .dstrip li { flex: none; width: 78%; scroll-snap-align: center; }
}

/* The desktop queue (/desktop). */
.queue { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; max-width: 560px; }
.queue input[type=email] { flex: 1 1 260px; min-height: 56px; padding: 0 20px; border-radius: 999px; border: 1px solid #3A3A3C; background: #1C1C1E;
  color: #F2F2F4; font: inherit; font-size: 17px; }
.queue input[type=email]:focus { outline: 2px solid #BF4E3A; outline-offset: 2px; }
.qseg { display: inline-flex; gap: 2px; padding: 4px; border-radius: 999px; background: #1C1C1E; }
.qseg label { position: relative; }
.qseg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.qseg span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; color: #A1A1A6; font-size: 15px; }
.qseg input:checked + span { background: #F2F2F4; color: #000; font-weight: 600; }
.qseg input:focus-visible + span { outline: 2px solid #BF4E3A; outline-offset: 2px; }
.queue button[disabled] { opacity: .6; cursor: default; }
.qsaid { flex-basis: 100%; margin: 0; min-height: 1.4em; color: #F2F2F4; font-size: 15px; }
.qsaid a { text-decoration: underline; }
.qfine { flex-basis: 100%; margin: 0; color: #8E8E93; font-size: 13px; }
.qfine a { text-decoration: underline; color: inherit; }
.qplace { display: flex; align-items: center; gap: 20px; }
.queue[hidden], .card.dcta > .qplace[hidden] { display: none; }
.qplace .dots { font-size: 72px; line-height: 1; color: #F2F2F4; }
.qplace p { margin: 0; color: #A1A1A6; font-size: 17px; max-width: 260px; }
