/* Design v6, the one system (the owner's decision of 22 November 2026, the site round): every page's base and shared components. Every
   colour, face, size and curve is a token (assets/css/v6/tokens.css, from site-src/v6/tokens.mjs); nothing here types a colour. Every rule
   draws a FINAL state (what shows without JavaScript, with reduced motion and on a low-end device); the pages' scripts only move parts into
   it. Words never fade: they move inside a mask (.m, .mi); only parts that carry no words fade. Page sheets (home.css, business.css, ...)
   hold only what one page has of its own. Spacing is the scale (--s1 to --s12) or a layout token (--margin, --gap, --section). */

/* ───────── base ───────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); scroll-padding-top: 4.5rem; }
body { margin: 0; overflow-x: clip; background: var(--bg); color: var(--text-body); font-family: var(--text-face); font-weight: 400; font-size: var(--t-body); line-height: var(--lh-body); font-synthesis: none; -webkit-tap-highlight-color: transparent; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
/* (the light look draws its words as usual, not thinned: that rule is in the tokens, the one place that decides the look) */
h1, h2, h3, p, ul, ol, li, figure, figcaption { margin: 0; padding: 0; }
ul, ol { list-style: none; }
[hidden] { display: none !important; }
@media (forced-colors: active) { :is(.hw-pic, .hw-visual, .demo, .pmt) { forced-color-adjust: none; } } /* (the product pictures keep their states and surfaces, as the hero's screen does) */ /* (on every page: a Replay button's own display had beaten the attribute on Home and Free tools) */
img, svg, video { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
i { font-style: normal; }
::selection { background: var(--sel-bg); color: var(--sel-text); }
/* focus: two rings, a gap ring hugging the control and the ring (ART.md 2.1); the stage keeps lime on ink in both looks */
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; box-shadow: 0 0 0 2px var(--focus-gap); }
[data-surface="stage"] { --focus: var(--stage-focus); --focus-gap: var(--stage-focus-gap); }
.num { font-variant-numeric: tabular-nums; }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
:lang(hi), :lang(mr) { font-family: var(--deva); letter-spacing: 0; }
h1, h2, h3 { color: var(--text); font-family: var(--display); text-wrap: balance; }
p { text-wrap: pretty; }
.wrap { width: min(100% - 2 * var(--margin), var(--max)); margin-inline: auto; }
.link { display: inline-flex; align-items: center; min-height: var(--tap); color: var(--text); font-weight: 600; text-decoration: underline 1px var(--line-strong); text-underline-offset: 0.25em; }
@media (hover: hover) and (pointer: fine) { .link:hover { text-decoration-color: var(--text); text-decoration-thickness: 2px; } }
.sec-h { font-weight: var(--w-h2); font-size: var(--t-h2); line-height: var(--lh-h2); letter-spacing: var(--tr-h2); }

/* masks: a line (.m) or an inline piece (.mi) clips top and bottom; its words move inside it (padding keeps descenders in) */
.m, .mi { overflow-x: visible; overflow-y: clip; padding-block: 0.08em 0.16em; margin-block: -0.08em -0.16em; }
.m { display: block; }
.mi { display: inline-block; vertical-align: top; }
.m > span, .mi > span { display: block; }

/* the one big button (the close): the header's button, larger */
.ask-big { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; min-height: 3.5rem; padding: 0 var(--s6); border-radius: var(--r-control); background: var(--btn-bg); color: var(--btn-text); font-size: 1.125rem; font-weight: 600; text-decoration: none; transition: transform var(--dur-quick) var(--ease-enter); }
.ask-big::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--btn-hover); opacity: 0; transition: opacity var(--dur-quick) var(--ease-enter); }
.ask-big:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .ask-big:hover::before { opacity: 1; } }

/* ───────── the loop in a device (Home's doors, /business/): real footage, still first, Pause; 1:1 with the recording from 768 px ───────── */
/* the device: a clean edge around real footage, one shape for both doors; 1:1 with the recording from 768 px */
.dv { position: relative; justify-self: center; width: 100%; margin-top: var(--s5); padding: 6px; border-radius: 36px; background: var(--bezel); transition: transform var(--dur-quick) var(--ease-enter); }
.dv::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--bezel-edge); pointer-events: none; }
.dv::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--bezel-edge-hover); opacity: 0; pointer-events: none; transition: opacity var(--dur-quick) var(--ease-enter); }
@media (min-width: 768px) { .dv { width: calc(24.375rem + 24px); padding: 12px; border-radius: 52px; } }
.dv-win { position: relative; aspect-ratio: 4 / 5; border-radius: 30px; overflow: clip; transform-origin: 50% 50%; background: var(--lc-screen); }
@media (min-width: 768px) { .dv-win { border-radius: 40px; } }
.dv-media { position: absolute; inset: 0; transform-origin: 50% 50%; }
.dv-video, .dv-still, .dv-still img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.dv-still { transition: opacity var(--dur-quick) var(--ease-enter); }
.dv[data-playing] .dv-still { opacity: 0; }
/* without a script the video's own controls play it: the <noscript> copy, whose still is its poster (Chromium drew a grey box over the
   scripted video's CSS background; the owner's decision of 23 Nov 2026), so the scripted video and its still step aside (nothing autoplays) */
@media (scripting: none) { .dv-still, .dv-video:not(.dv-nojs) { display: none; } }
.dv-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); }
.dv-cap { font-size: var(--t-small); line-height: var(--lh-small); color: var(--text-2); }
.dv-btn { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-width: 6rem; min-height: var(--tap); padding: 0 var(--s4) 0 var(--s3); border: 1px solid var(--line-strong); border-radius: var(--r-control); background: none; color: var(--text); cursor: pointer; font-size: var(--t-small); font-weight: 600; visibility: hidden; }
[data-dv-ready] .dv-btn { visibility: visible; }
.dv-ico { width: 16px; height: 16px; fill: currentColor; }
.ico-play { display: none; }
.dv-btn[data-state="paused"] .ico-play { display: inline; }
.dv-btn[data-state="paused"] .ico-pause { display: none; }
@media (hover: hover) and (pointer: fine) { .dv-btn:hover { border-color: var(--text); } }

/* ───────── buttons: the one lime button (its words ink), and the quiet outline one ───────── */
.btn { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 3rem; padding: 0 var(--s5); border: 1px solid var(--line-strong); border-radius: var(--r-control); background: none; color: var(--text); font-size: var(--t-ui); font-weight: 600; line-height: 1.25; text-decoration: none; cursor: pointer; transition: transform var(--dur-press) var(--ease-enter); }
.btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .btn:hover { border-color: var(--text); } }
.acts { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s5); }

/* ───────── a page's head (every page but Home): its statement, its lead, its actions ───────── */
.ph { padding-top: var(--s9); }
.ph-k { margin-bottom: var(--s4); font-size: var(--t-small); line-height: var(--lh-small); font-weight: 600; color: var(--text-2); }
.ph-h { max-width: 16em; font-family: var(--display-cut); font-weight: 800; font-size: var(--t-display); line-height: var(--lh-display); letter-spacing: var(--tr-display); overflow-wrap: anywhere; }
/* a longer statement (eight words or so) is set a size down, so it keeps to four lines beside a picture */
.ph-h.is-long { max-width: 14em; font-size: var(--t-h2); line-height: var(--lh-h2); letter-spacing: var(--tr-h2); }
.ph-h .m { display: inline-block; vertical-align: top; overflow-x: visible; overflow-y: clip; padding: 0 0 var(--mask-pad); margin: 0 0 calc(-1 * var(--mask-pad)); }
.ph-lead { max-width: var(--max-text); margin-top: var(--s5); font-size: var(--t-lead); line-height: var(--lh-lead); letter-spacing: var(--tr-lead); color: var(--text-body); }
.ph .acts { margin-top: var(--s6); }

/* ───────── sections: space between them, never a rule; their heads; their words ───────── */
.sec { padding-top: var(--section); }
.sec-k { margin-bottom: var(--s3); font-size: var(--t-small); line-height: var(--lh-small); font-weight: 600; color: var(--text-2); }
.sec-lead { max-width: var(--max-text); margin-top: var(--s5); font-size: var(--t-lead); line-height: var(--lh-lead); color: var(--text-body); }
.sec-h + .sec-body { margin-top: var(--s7); }
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: var(--s4); }
.prose a { color: var(--text); text-decoration: underline 1px var(--line-strong); text-underline-offset: 0.2em; }
@media (hover: hover) and (pointer: fine) { .prose a:hover { text-decoration-color: var(--text); text-decoration-thickness: 2px; } }
.page-end { padding-block: var(--section); }
/* ───────── ways on: a short list, each a question and its link (the end of a page) ───────── */
.ways { display: grid; gap: var(--s6); margin: var(--s6) 0 0; }
.ways dt { color: var(--text); font-weight: 600; }
.ways dd { margin: var(--s1) 0 0; }
@media (min-width: 1024px) { .ways { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); } .ways > div { grid-column: span 4; } }

/* ───────── motion that the stylesheet runs: a page's statement rises at first paint (only with prefers-reduced-motion: no-preference;
   never in the simple version). Its lines start 40% shown, as Home's headline does, so the browser counts it as the largest paint. ───────── */
@keyframes site-rise { from { transform: translateY(60%); } to { transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  html:not([data-motion="lite"]) .ph-h .m > span { animation: site-rise 540ms var(--ease-enter) both; }
  html:not([data-motion="lite"]) .ph-h .m-2 > span { animation-duration: 600ms; }
  html:not([data-motion="lite"]) .ph-h .m-3 > span { animation-duration: 660ms; }
  html:not([data-motion="lite"]) .ph-h .m-4 > span { animation-duration: 720ms; }
}
/* the simple version: low-end devices and slow frames show every final state at once */
html[data-motion="lite"] *, html[data-motion="lite"] *::before, html[data-motion="lite"] *::after { animation: none !important; transition: none !important; }
@media (forced-colors: active) { .ask-big, .dv-btn, .btn, .sc-btn { border: 1px solid ButtonText; } }
