site.css 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658
  1. /*
  2. ArozOS website styles. Generated pages link this file from docs/assets/;
  3. edit it in scripts/sitegen/static/ and run the generator.
  4. */
  5. /* ---------- Tokens ---------- */
  6. :root {
  7. --bg: #ffffff;
  8. --bg-alt: #f5f5f7;
  9. --bg-elev: #ffffff;
  10. --tile: var(--bg-alt);
  11. --fill: rgba(0, 0, 0, 0.05);
  12. --fill-2: rgba(0, 0, 0, 0.08);
  13. --text: #1d1d1f;
  14. --text-2: #6e6e73;
  15. --text-3: #86868b;
  16. --line: rgba(0, 0, 0, 0.1);
  17. --accent: #0071e3;
  18. --link: #0066cc;
  19. --nav-bg: rgba(255, 255, 255, 0.74);
  20. --menu-bg: rgba(255, 255, 255, 0.92);
  21. --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 40px rgba(0, 0, 0, 0.08);
  22. --glow: 0.28;
  23. --g1: #0071e3;
  24. --g2: #a259ff;
  25. --g3: var(--g2);
  26. --nav-h: 48px;
  27. --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  28. --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  29. --track: -0.022em;
  30. --track-tight: -0.028em;
  31. --lh-title: 1.06;
  32. --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
  33. --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  34. color-scheme: light;
  35. }
  36. [data-theme="dark"],
  37. .tone-dark {
  38. --bg: #000000;
  39. --bg-alt: #161617;
  40. --bg-elev: #1d1d1f;
  41. --fill: rgba(255, 255, 255, 0.08);
  42. --fill-2: rgba(255, 255, 255, 0.13);
  43. --text: #f5f5f7;
  44. --text-2: #a1a1a6;
  45. --text-3: #86868b;
  46. --line: rgba(255, 255, 255, 0.14);
  47. --accent: #0a84ff;
  48. --link: #2997ff;
  49. --nav-bg: rgba(22, 22, 23, 0.74);
  50. --menu-bg: rgba(36, 36, 38, 0.92);
  51. --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 16px 48px rgba(0, 0, 0, 0.5);
  52. --glow: 0.45;
  53. }
  54. [data-theme="dark"] { color-scheme: dark; }
  55. html:lang(zh-Hant) {
  56. --font: -apple-system, BlinkMacSystemFont, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", "Helvetica Neue", Arial, sans-serif;
  57. }
  58. html:lang(zh-Hans) {
  59. --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  60. }
  61. html:lang(ja) {
  62. --font: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", Meiryo, Arial, sans-serif;
  63. }
  64. html:lang(zh-Hant), html:lang(zh-Hans), html:lang(ja) {
  65. --track: 0;
  66. --track-tight: 0;
  67. --lh-title: 1.2;
  68. }
  69. /* Page accents: the gradient used by eyebrows, icons and highlights. */
  70. .accent-index, .accent-download { --g1: #0071e3; --g2: #8e5cff; --g3: #e8508f; }
  71. .accent-desktop { --g1: #0a66ff; --g2: #2fb8f5; --g3: #2fb8f5; }
  72. .accent-media { --g1: #ff2d55; --g2: #ff7a00; --g3: #ffb020; }
  73. .accent-office { --g1: #1f6bff; --g2: #18a957; --g3: #ff8a00; }
  74. .accent-ai { --g1: #6b4dff; --g2: #c44dff; --g3: #ff5d8f; }
  75. .accent-makers { --g1: #ff5a1f; --g2: #ffb000; --g3: #ffb000; }
  76. .accent-storage { --g1: #0096c7; --g2: #3a66ff; --g3: #3a66ff; }
  77. .accent-server { --g1: #4f46e5; --g2: #a855f7; --g3: #ec4899; }
  78. /* ---------- Base ---------- */
  79. *, *::before, *::after { box-sizing: border-box; }
  80. html {
  81. -webkit-text-size-adjust: 100%;
  82. text-size-adjust: 100%;
  83. scroll-padding-top: calc(var(--nav-h) + 16px);
  84. }
  85. body {
  86. margin: 0;
  87. background: var(--bg);
  88. color: var(--text);
  89. font-family: var(--font);
  90. font-size: 17px;
  91. line-height: 1.5;
  92. letter-spacing: var(--track);
  93. -webkit-font-smoothing: antialiased;
  94. -moz-osx-font-smoothing: grayscale;
  95. overflow-x: clip;
  96. }
  97. body.noscroll { overflow: hidden; }
  98. h1, h2, h3, p, figure, dl, dd, ol, ul { margin: 0; }
  99. img, svg { display: block; max-width: 100%; }
  100. img { height: auto; }
  101. a { color: inherit; text-decoration: none; }
  102. button { font: inherit; color: inherit; }
  103. code, pre { font-family: var(--mono); }
  104. ::selection { background: color-mix(in srgb, var(--g1) 28%, transparent); }
  105. :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
  106. .i { width: 20px; height: 20px; flex: none; }
  107. strong { font-weight: 600; color: var(--text); }
  108. .wrap { width: min(1120px, 100% - 48px); margin-inline: auto; }
  109. .narrow { width: min(860px, 100% - 48px); }
  110. .center { text-align: center; justify-content: center; }
  111. .skip {
  112. position: absolute; left: -9999px; top: 8px; z-index: 300;
  113. background: var(--bg-elev); color: var(--text); padding: 10px 16px; border-radius: 10px;
  114. box-shadow: var(--shadow);
  115. }
  116. .skip:focus { left: 12px; }
  117. /* ---------- Type ---------- */
  118. .eyebrow {
  119. display: inline-block;
  120. font-size: clamp(17px, 1.6vw, 21px);
  121. font-weight: 600;
  122. line-height: 1.3;
  123. background: linear-gradient(90deg, var(--g1), var(--g2), var(--g3));
  124. -webkit-background-clip: text;
  125. background-clip: text;
  126. color: transparent;
  127. margin-bottom: 10px;
  128. }
  129. .title {
  130. font-size: clamp(34px, 5.2vw, 64px);
  131. line-height: var(--lh-title);
  132. font-weight: 700;
  133. letter-spacing: var(--track-tight);
  134. text-wrap: balance;
  135. }
  136. .lead {
  137. font-size: clamp(19px, 1.75vw, 23px);
  138. line-height: 1.42;
  139. color: var(--text-2);
  140. margin-top: 18px;
  141. text-wrap: pretty;
  142. }
  143. .grad {
  144. background: linear-gradient(100deg, var(--g1), var(--g2) 55%, var(--g3));
  145. -webkit-background-clip: text;
  146. background-clip: text;
  147. color: transparent;
  148. -webkit-box-decoration-break: clone;
  149. box-decoration-break: clone;
  150. }
  151. .note { font-size: 14px; color: var(--text-3); margin-top: 16px; line-height: 1.5; }
  152. .note a, .lead a, .tile p a, .plat a:not(.btn) { color: var(--link); }
  153. .note a:hover, .lead a:hover { text-decoration: underline; }
  154. /* ---------- Buttons ---------- */
  155. .btns { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 30px; }
  156. .btn {
  157. display: inline-flex; align-items: center; gap: 6px;
  158. border: 0; border-radius: 980px;
  159. padding: 12px 22px;
  160. font-size: 17px; line-height: 1.18; font-weight: 400;
  161. letter-spacing: var(--track);
  162. cursor: pointer;
  163. transition: background-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
  164. white-space: nowrap;
  165. }
  166. .btn .i { width: 18px; height: 18px; }
  167. .btn.primary { background: var(--accent); color: #fff; }
  168. .btn.primary:hover { background: color-mix(in srgb, var(--accent) 88%, #fff); }
  169. .btn.secondary { color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
  170. .btn.secondary:hover { background: var(--accent); color: #fff; }
  171. .btn.link { padding: 0; color: var(--link); border-radius: 4px; gap: 2px; }
  172. .btn.link .i { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
  173. .btn.link:hover span { text-decoration: underline; }
  174. .btn.link:hover .i { transform: translateX(3px); }
  175. .btn:active { transform: scale(0.97); }
  176. .btn.sm { padding: 5px 12px; font-size: 12px; }
  177. /* ---------- Navigation ---------- */
  178. .nav {
  179. position: fixed; inset: 0 0 auto; z-index: 100;
  180. height: var(--nav-h);
  181. background: var(--nav-bg);
  182. -webkit-backdrop-filter: saturate(180%) blur(20px);
  183. backdrop-filter: saturate(180%) blur(20px);
  184. border-bottom: 1px solid transparent;
  185. transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
  186. }
  187. .nav.scrolled { border-bottom-color: var(--line); }
  188. .nav-in {
  189. height: var(--nav-h);
  190. width: min(1120px, 100% - 32px);
  191. margin-inline: auto;
  192. display: flex; align-items: center; gap: 16px;
  193. }
  194. .brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 17px; letter-spacing: -0.01em; color: var(--text); }
  195. .logo { width: 22px; height: 22px; }
  196. .logo-bg { fill: var(--text); }
  197. .logo-fg { fill: var(--bg); }
  198. .nav-links { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); margin-inline: auto; }
  199. .nav-links a { font-size: 13px; color: var(--text); opacity: 0.78; transition: opacity 0.2s var(--ease); letter-spacing: -0.01em; }
  200. .nav-links a:hover, .nav-links a[aria-current] { opacity: 1; }
  201. .nav-links a[aria-current] { font-weight: 600; }
  202. .nav-tools { display: flex; align-items: center; gap: 2px; margin-left: auto; }
  203. .nav-links + .nav-tools { margin-left: 0; }
  204. .nav-dl { margin-left: 8px; }
  205. .icon-btn {
  206. width: 34px; height: 34px; display: grid; place-items: center;
  207. border: 0; background: none; border-radius: 50%; cursor: pointer; color: var(--text);
  208. opacity: 0.8; transition: background-color 0.2s var(--ease), opacity 0.2s var(--ease);
  209. }
  210. .icon-btn:hover, .pop.open > .icon-btn { background: var(--fill); opacity: 1; }
  211. .icon-btn .i { width: 18px; height: 18px; }
  212. .theme-btn > span { display: none; }
  213. [data-theme-pref="light"] .ti-light,
  214. [data-theme-pref="dark"] .ti-dark,
  215. [data-theme-pref="auto"] .ti-auto,
  216. html:not([data-theme-pref]) .ti-auto { display: block; }
  217. .menu-btn { display: none; }
  218. .menu-btn .mi-close { display: none; }
  219. .nav.open .menu-btn .mi-open { display: none; }
  220. .nav.open .menu-btn .mi-close { display: block; }
  221. .pop { position: relative; }
  222. .pop-menu {
  223. position: absolute; right: 0; top: calc(100% + 8px);
  224. min-width: 190px; padding: 6px;
  225. background: var(--menu-bg);
  226. -webkit-backdrop-filter: saturate(180%) blur(24px);
  227. backdrop-filter: saturate(180%) blur(24px);
  228. border: 1px solid var(--line);
  229. border-radius: 14px;
  230. box-shadow: var(--shadow);
  231. opacity: 0; visibility: hidden;
  232. transform: translateY(-6px) scale(0.98);
  233. transform-origin: top right;
  234. transition: opacity 0.18s var(--ease), transform 0.22s var(--ease-out), visibility 0s 0.22s;
  235. }
  236. .pop.open .pop-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  237. .pop-menu a, .pop-menu button {
  238. display: flex; align-items: center; gap: 10px; width: 100%;
  239. padding: 8px 12px; border: 0; background: none; border-radius: 9px;
  240. font-size: 14px; text-align: left; cursor: pointer; color: var(--text);
  241. }
  242. .pop-menu a:hover, .pop-menu button:hover { background: var(--fill); }
  243. .pop-menu [aria-checked="true"] { color: var(--accent); font-weight: 600; }
  244. .pop-menu .i { width: 17px; height: 17px; }
  245. .sheet { display: none; }
  246. /* Segmented control (theme / language in the sheet and footer) */
  247. .seg { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border-radius: 11px; background: var(--fill); }
  248. .seg a, .seg button {
  249. display: inline-flex; align-items: center; gap: 6px;
  250. padding: 6px 12px; border: 0; border-radius: 8px; background: none; cursor: pointer;
  251. font-size: 13px; color: var(--text-2); transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
  252. }
  253. .seg .i { width: 15px; height: 15px; }
  254. .seg [aria-checked="true"] { background: var(--bg-elev); color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); }
  255. .seg.sm a, .seg.sm button { padding: 4px 10px; font-size: 12px; }
  256. /* ---------- Reveal and scroll effects ---------- */
  257. .js .rv {
  258. opacity: 0;
  259. transform: translateY(32px);
  260. transition: opacity 0.9s var(--ease-out), transform 1.1s var(--ease-out);
  261. transition-delay: calc(var(--d, 0) * 90ms);
  262. }
  263. .js .rv.in { opacity: 1; transform: none; }
  264. .js [data-scale] {
  265. transform: scale(calc(0.92 + 0.08 * var(--p, 0)));
  266. opacity: calc(0.35 + 0.65 * var(--p, 0));
  267. will-change: transform;
  268. }
  269. .js [data-scale="hero"] {
  270. transform: translateY(calc(24px * (1 - var(--p, 0)))) scale(calc(0.9 + 0.1 * var(--p, 0)));
  271. opacity: 1;
  272. animation: hero-in 1.2s var(--ease-out) both 0.25s;
  273. }
  274. @keyframes hero-in { from { opacity: 0; translate: 0 60px; } to { opacity: 1; translate: 0 0; } }
  275. /* ---------- Sections ---------- */
  276. main > section { padding-block: clamp(80px, 11vw, 150px); position: relative; }
  277. main > section + section:not([class*="tone-"]):not(.cta) { padding-top: clamp(40px, 6vw, 80px); }
  278. .tone-alt { background: var(--bg-alt); --tile: var(--bg-elev); }
  279. .tone-dark { background: var(--bg); color: var(--text); --tile: var(--bg-elev); }
  280. .sec-head { text-align: center; max-width: 840px; margin: 0 auto clamp(40px, 6vw, 72px); }
  281. /* Hero */
  282. main > section.hero { padding-top: calc(var(--nav-h) + clamp(56px, 9vw, 112px)); padding-bottom: clamp(40px, 7vw, 96px); text-align: center; overflow: clip; }
  283. .hero-head { max-width: 980px; }
  284. .hero-title {
  285. font-size: clamp(44px, 8vw, 104px);
  286. line-height: var(--lh-title);
  287. font-weight: 700;
  288. letter-spacing: var(--track-tight);
  289. text-wrap: balance;
  290. }
  291. .hero-sub {
  292. font-size: clamp(19px, 2vw, 26px); line-height: 1.38; color: var(--text-2);
  293. max-width: 760px; margin: 22px auto 0; text-wrap: pretty;
  294. }
  295. .hero-media {
  296. position: relative; isolation: isolate;
  297. width: min(1240px, 100% - 24px);
  298. margin: clamp(40px, 6vw, 72px) auto 0;
  299. transform-origin: 50% 0;
  300. }
  301. .hero-media::before {
  302. content: ""; position: absolute; inset: 12% 6% 4%; z-index: -1;
  303. background:
  304. radial-gradient(closest-side at 30% 50%, var(--g1), transparent),
  305. radial-gradient(closest-side at 70% 55%, var(--g2), transparent);
  306. filter: blur(70px); opacity: var(--glow);
  307. }
  308. .hero-media img { width: 100%; }
  309. .hero-apps {
  310. display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(14px, 3vw, 36px);
  311. margin: clamp(48px, 7vw, 88px) auto 0; width: min(900px, 100% - 32px);
  312. }
  313. .float {
  314. width: clamp(64px, 10vw, 116px); height: auto;
  315. filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.18));
  316. animation: float 6s ease-in-out infinite;
  317. animation-delay: calc(var(--i, 0) * -1.1s);
  318. }
  319. @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
  320. /* Feature */
  321. .feature-in { display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; }
  322. .layout-stack .f-text { text-align: center; max-width: 800px; margin-inline: auto; }
  323. .layout-stack .app-row { justify-content: center; }
  324. .layout-stack .btns { justify-content: center; }
  325. .layout-split .feature-in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  326. .layout-split.flip .f-text { order: 2; }
  327. .layout-split.no-media .feature-in { grid-template-columns: minmax(0, 1fr); }
  328. .layout-split .f-code { width: 100%; }
  329. .f-media { position: relative; transform-origin: 50% 30%; }
  330. .f-media img { width: 100%; }
  331. .app-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
  332. .app-row img { width: 56px; height: 56px; object-fit: contain; }
  333. .checks {
  334. list-style: none; padding: 0; margin-top: 28px;
  335. display: grid; gap: 12px 28px; text-align: left;
  336. }
  337. .layout-stack .checks { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
  338. .checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); font-size: 17px; line-height: 1.45; }
  339. .checks .i { width: 20px; height: 20px; margin-top: 1px; color: var(--g1); stroke-width: 2.4; }
  340. /* Phone screenshots drawn in a simple bezel, the middle one raised. */
  341. .f-phones { display: flex; justify-content: center; align-items: flex-start; gap: clamp(14px, 3vw, 40px); }
  342. .phone {
  343. width: min(250px, 30%); padding: 7px; border-radius: 42px;
  344. background: #1d1d1f; box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  345. }
  346. .phone img { width: 100%; border-radius: 35px; }
  347. .f-phones .phone:nth-child(odd) { margin-top: 56px; }
  348. @media (max-width: 760px) {
  349. .phone { padding: 4px; border-radius: 24px; }
  350. .phone img { border-radius: 20px; }
  351. }
  352. .f-code {
  353. width: min(760px, 100%); margin-inline: auto;
  354. background: #1d1d1f; color: #f5f5f7;
  355. border-radius: 18px; overflow: hidden;
  356. box-shadow: var(--shadow);
  357. border: 1px solid rgba(255, 255, 255, 0.08);
  358. }
  359. .code-bar { display: flex; gap: 7px; padding: 14px 16px 0; }
  360. .code-bar span { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
  361. .code-bar span:nth-child(2) { background: #febc2e; }
  362. .code-bar span:nth-child(3) { background: #28c840; }
  363. .f-code pre { margin: 0; padding: 18px 24px 24px; overflow-x: auto; font-size: 14px; line-height: 1.65; letter-spacing: 0; text-align: left; }
  364. .f-code .c { color: #7f8c98; }
  365. .f-code .s { color: #ff8170; }
  366. .f-code .k { color: #ff7ab2; font-weight: 600; }
  367. .f-code .f { color: #78c2b3; }
  368. /* Showcase: one sticky screen, captions step as you scroll */
  369. .sc-track { position: relative; }
  370. .js .sc-track { height: calc(var(--n) * 72vh + 28vh); height: calc(var(--n) * 72svh + 28svh); }
  371. .sc-sticky { display: flex; flex-direction: column; align-items: center; gap: 26px; }
  372. .js .sc-sticky {
  373. position: sticky; top: var(--nav-h);
  374. height: calc(100vh - var(--nav-h)); height: calc(100svh - var(--nav-h));
  375. justify-content: center;
  376. }
  377. .sc-media { position: relative; width: min(1100px, 100% - 32px); }
  378. .js .sc-media { width: min(1100px, 100% - 32px, calc((100svh - var(--nav-h) - 230px) * 1.5)); aspect-ratio: 1.5; }
  379. .sc-img { width: 100%; margin-bottom: 24px; }
  380. .js .sc-img {
  381. position: absolute; inset: 0; height: 100%; object-fit: contain; margin: 0;
  382. opacity: 0; transform: scale(0.97);
  383. transition: opacity 0.7s var(--ease), transform 0.9s var(--ease-out);
  384. }
  385. .js .sc-img.on { opacity: 1; transform: none; }
  386. .sc-caps { display: grid; text-align: center; width: min(680px, 100% - 48px); }
  387. .sc-cap { grid-area: 1 / 1; }
  388. html:not(.js) .sc-cap { grid-area: auto; margin-bottom: 28px; }
  389. .js .sc-cap { opacity: 0; transform: translateY(14px); transition: opacity 0.5s var(--ease), transform 0.7s var(--ease-out); pointer-events: none; }
  390. .js .sc-cap.on { opacity: 1; transform: none; pointer-events: auto; }
  391. .sc-cap h3 { font-size: clamp(24px, 2.8vw, 34px); line-height: 1.15; font-weight: 700; letter-spacing: var(--track-tight); }
  392. .sc-cap p { margin-top: 10px; color: var(--text-2); font-size: clamp(16px, 1.5vw, 19px); line-height: 1.45; }
  393. .sc-dots { display: flex; gap: 8px; }
  394. html:not(.js) .sc-dots { display: none; }
  395. .sc-dots span { width: 7px; height: 7px; border-radius: 99px; background: var(--fill-2); transition: width 0.4s var(--ease-out), background-color 0.3s var(--ease); }
  396. .sc-dots span.on { width: 22px; background: var(--text); }
  397. .sc-after { margin-top: 0; }
  398. /* Scroll-lit statement */
  399. .lit {
  400. font-size: clamp(28px, 4.3vw, 54px);
  401. line-height: 1.22;
  402. font-weight: 600;
  403. letter-spacing: var(--track-tight);
  404. text-wrap: pretty;
  405. }
  406. .js .lit .w { opacity: 0.16; transition: opacity 0.35s var(--ease); }
  407. .js .lit .w.on { opacity: 1; }
  408. /* Stats */
  409. .stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 44px 24px; text-align: center; }
  410. .stat-v {
  411. font-size: clamp(52px, 6.4vw, 84px); line-height: 1; font-weight: 700; letter-spacing: -0.035em;
  412. background: linear-gradient(135deg, var(--g1), var(--g2), var(--g3));
  413. -webkit-background-clip: text; background-clip: text; color: transparent;
  414. font-variant-numeric: tabular-nums;
  415. }
  416. .stat-t { margin-top: 12px; font-size: 19px; font-weight: 600; }
  417. .stat p { margin: 6px auto 0; color: var(--text-2); font-size: 15px; max-width: 240px; }
  418. /* Cards (links to the feature pages) */
  419. .cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  420. .card {
  421. position: relative; overflow: hidden; isolation: isolate;
  422. display: flex; flex-direction: column;
  423. min-height: 540px; padding: 44px 40px 0;
  424. border-radius: 30px; background: var(--tile); color: var(--text);
  425. text-align: center;
  426. transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
  427. }
  428. .card.wide { grid-column: 1 / -1; }
  429. .card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
  430. .card h3 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.1; font-weight: 700; letter-spacing: var(--track-tight); text-wrap: balance; }
  431. .card p { margin: 12px auto 0; max-width: 480px; color: var(--text-2); font-size: clamp(17px, 1.4vw, 19px); line-height: 1.45; }
  432. .more { display: inline-flex; align-items: center; gap: 2px; margin-top: 14px; color: var(--link); font-size: 17px; }
  433. .more .i { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
  434. .card:hover .more .i, .more:hover .i { transform: translateX(3px); }
  435. .card-media { margin-top: auto; padding-top: 32px; }
  436. .card-media img { width: 108%; max-width: none; margin-left: -4%; transform: translateY(10%); transition: transform 0.9s var(--ease-out); }
  437. .card.wide .card-media img { width: min(900px, 100%); margin-inline: auto; }
  438. .card:hover .card-media img { transform: translateY(5%); }
  439. .card-apps { margin-top: auto; padding: 40px 0 56px; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
  440. .card-apps img { width: clamp(64px, 7vw, 84px); height: auto; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.16)); animation: float 6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -1.3s); }
  441. .card::after {
  442. content: ""; position: absolute; inset: auto -20% -40% -20%; height: 70%; z-index: -1;
  443. background: radial-gradient(closest-side, var(--g1), transparent), radial-gradient(closest-side at 70% 50%, var(--g2), transparent);
  444. filter: blur(60px); opacity: 0; transition: opacity 0.8s var(--ease);
  445. }
  446. .card:hover::after { opacity: calc(var(--glow) * 0.7); }
  447. /* Bento tiles */
  448. .bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  449. .tile {
  450. position: relative; overflow: hidden;
  451. display: flex; flex-direction: column; gap: 8px;
  452. min-height: 230px; padding: 30px;
  453. border-radius: 26px; background: var(--tile);
  454. }
  455. .tile.wide { grid-column: span 2; }
  456. .tile.tall { grid-row: span 2; }
  457. .tile.full { grid-column: 1 / -1; }
  458. .tile-ic {
  459. width: 46px; height: 46px; border-radius: 13px; margin-bottom: 10px;
  460. display: grid; place-items: center; color: #fff; flex: none;
  461. background: linear-gradient(135deg, var(--g1), var(--g2));
  462. box-shadow: 0 8px 20px color-mix(in srgb, var(--g1) 30%, transparent);
  463. }
  464. .tile-ic .i { width: 24px; height: 24px; }
  465. .tile .app-row { margin-bottom: 8px; }
  466. .tile .app-row img { width: 52px; height: 52px; }
  467. .tile h3 { font-size: 21px; line-height: 1.25; font-weight: 600; letter-spacing: var(--track); }
  468. .tile p { color: var(--text-2); font-size: 16px; line-height: 1.5; }
  469. .tile-v {
  470. font-size: clamp(44px, 5vw, 60px); line-height: 1.05; font-weight: 700; letter-spacing: -0.03em;
  471. background: linear-gradient(135deg, var(--g1), var(--g2)); -webkit-background-clip: text; background-clip: text; color: transparent;
  472. }
  473. .tile .more { margin-top: auto; padding-top: 8px; font-size: 16px; }
  474. .tile-img { margin-top: auto; padding-top: 16px; width: 100%; }
  475. .tile .eyebrow { font-size: 15px; margin-bottom: 0; }
  476. /* App icon grid */
  477. .app-grid {
  478. list-style: none; padding: 0; margin: 0 auto;
  479. display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 34px 12px;
  480. max-width: 980px;
  481. }
  482. .app-grid li { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 13px; color: var(--text-2); text-align: center; letter-spacing: 0; }
  483. .app-grid img { width: 72px; height: 72px; object-fit: contain; transition: transform 0.35s var(--ease-out); }
  484. .app-grid li:hover img { transform: translateY(-4px) scale(1.06); }
  485. /* Specs */
  486. .spec { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding: 28px 0; border-top: 1px solid var(--line); }
  487. .spec:last-child { border-bottom: 1px solid var(--line); }
  488. .spec dt { font-size: 19px; font-weight: 600; }
  489. .spec dd { color: var(--text-2); }
  490. .spec ul { list-style: none; padding: 0; display: grid; gap: 8px; }
  491. /* Install */
  492. .install { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  493. .plat { display: flex; flex-direction: column; gap: 16px; padding: 32px; border-radius: 26px; background: var(--tile); scroll-margin-top: calc(var(--nav-h) + 24px); }
  494. .plat.wide { grid-column: 1 / -1; }
  495. .plat-head { display: flex; align-items: center; gap: 14px; }
  496. .plat-head .tile-ic { margin: 0; }
  497. .plat h3 { font-size: 24px; line-height: 1.2; font-weight: 700; letter-spacing: var(--track-tight); }
  498. .plat-sub { color: var(--text-3); font-size: 14px; margin-top: 2px; }
  499. .plat > p { color: var(--text-2); }
  500. .plat .btns { margin-top: 4px; }
  501. .plat .btn { font-size: 15px; padding: 10px 18px; }
  502. .cmd { position: relative; background: #1d1d1f; color: #f5f5f7; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.08); }
  503. .cmd pre { margin: 0; padding: 16px 56px 16px 18px; font-size: 13.5px; line-height: 1.6; letter-spacing: 0; white-space: pre-wrap; word-break: break-all; }
  504. .copy {
  505. position: absolute; top: 9px; right: 9px; width: 34px; height: 34px;
  506. display: grid; place-items: center; border: 0; border-radius: 9px; cursor: pointer;
  507. background: rgba(255, 255, 255, 0.1); color: #f5f5f7; transition: background-color 0.2s var(--ease);
  508. }
  509. .copy:hover { background: rgba(255, 255, 255, 0.2); }
  510. .copy .i { width: 17px; height: 17px; }
  511. .copy .c-done, .copy.done .c-copy { display: none; }
  512. .copy.done .c-done { display: block; color: #30d158; }
  513. .howto { padding-left: 1.3em; color: var(--text-2); display: grid; gap: 6px; }
  514. /* Steps */
  515. .steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  516. .steps li { padding: 32px; border-radius: 26px; background: var(--tile); }
  517. .step-n {
  518. display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px; border-radius: 50%;
  519. background: linear-gradient(135deg, var(--g1), var(--g2)); color: #fff; font-weight: 700; letter-spacing: 0;
  520. }
  521. .steps h3 { font-size: 21px; font-weight: 600; line-height: 1.25; }
  522. .steps p { margin-top: 8px; color: var(--text-2); font-size: 16px; }
  523. .steps code { font-size: 0.92em; background: var(--fill); padding: 1px 6px; border-radius: 6px; letter-spacing: 0; }
  524. /* Call to action */
  525. .cta { text-align: center; }
  526. .cta-logo .logo { width: 76px; height: 76px; margin: 0 auto 28px; filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.18)); }
  527. /* Previous / next feature */
  528. .pager { display: flex; justify-content: space-between; gap: 16px; padding-bottom: clamp(64px, 8vw, 110px); }
  529. /* After a grey or black band the cards would touch it: give them room. */
  530. main > section[class*="tone-"] + .pager { padding-top: clamp(48px, 6vw, 80px); }
  531. .pg {
  532. flex: 1 1 0; max-width: 440px;
  533. display: flex; align-items: center; gap: 14px;
  534. padding: 22px 26px; border-radius: 22px; background: var(--bg-alt); color: var(--text);
  535. transition: background-color 0.25s var(--ease), transform 0.4s var(--ease-out);
  536. }
  537. .pg:hover { background: var(--fill-2); transform: translateY(-2px); }
  538. .pg.next { justify-content: flex-end; text-align: right; margin-left: auto; }
  539. .pg.prev .i { transform: rotate(180deg); }
  540. .pg small { display: block; color: var(--text-3); font-size: 13px; }
  541. .pg strong { font-size: 21px; font-weight: 600; }
  542. .pg .i { color: var(--text-3); }
  543. /* ---------- Footer ---------- */
  544. .foot { background: var(--bg-alt); color: var(--text-2); font-size: 13px; line-height: 1.5; padding: 52px 0 32px; letter-spacing: 0; border-top: 1px solid var(--line); }
  545. .foot-bottom p a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
  546. .foot-top { display: grid; grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); gap: 32px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
  547. .foot-brand p { margin-top: 12px; max-width: 270px; }
  548. .foot-col h2 { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 12px; }
  549. .foot-col ul { list-style: none; padding: 0; display: grid; gap: 9px; }
  550. .foot-col a:hover { color: var(--text); text-decoration: underline; }
  551. .foot-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding-top: 22px; }
  552. .foot-ctl { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
  553. .foot-langs { display: flex; flex-wrap: wrap; gap: 4px 14px; }
  554. .foot-langs a:hover { color: var(--text); }
  555. .foot-langs [aria-checked="true"] { color: var(--text); font-weight: 600; }
  556. /* ---------- Responsive ---------- */
  557. @media (max-width: 1000px) {
  558. .nav-links, .nav-tools .pop { display: none; }
  559. .menu-btn { display: grid; }
  560. .nav-links + .nav-tools { margin-left: auto; }
  561. .nav-dl { margin-right: 4px; }
  562. /* Absolute, not fixed: the nav's backdrop-filter makes it the containing
  563. block of fixed children, which would collapse the sheet to 0 height. */
  564. .sheet {
  565. display: block; position: absolute; top: var(--nav-h); left: 0; right: 0; z-index: 99;
  566. height: calc(100vh - var(--nav-h)); height: calc(100dvh - var(--nav-h));
  567. padding: 18px 32px 48px; overflow-y: auto;
  568. background: var(--bg);
  569. opacity: 0; visibility: hidden; transform: translateY(-8px);
  570. transition: opacity 0.25s var(--ease), transform 0.35s var(--ease-out), visibility 0s 0.35s;
  571. }
  572. .nav.open { background: var(--bg); border-bottom-color: var(--line); }
  573. .nav.open .sheet { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  574. .sheet-links { display: grid; }
  575. .sheet-links a { font-size: 28px; line-height: 1.25; font-weight: 600; padding: 8px 0; letter-spacing: var(--track-tight); }
  576. .sheet-links a[aria-current] { color: var(--accent); }
  577. .sheet-ctl { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; justify-items: start; }
  578. .ctl-label { font-size: 13px; color: var(--text-3); margin-top: 8px; }
  579. .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  580. .foot-brand { grid-column: 1 / -1; }
  581. .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  582. .steps { grid-template-columns: minmax(0, 1fr); }
  583. }
  584. @media (max-width: 760px) {
  585. .wrap, .narrow { width: calc(100% - 40px); }
  586. .layout-split .feature-in { grid-template-columns: minmax(0, 1fr); }
  587. .layout-split.flip .f-text { order: 0; }
  588. .cards, .bento, .install { grid-template-columns: minmax(0, 1fr); }
  589. .card.wide, .tile.wide, .tile.full, .plat.wide { grid-column: auto; }
  590. .tile.tall { grid-row: auto; }
  591. .card { min-height: 0; padding: 36px 24px 0; border-radius: 26px; }
  592. .spec { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  593. .pager { flex-direction: column; }
  594. .pg { max-width: none; flex: none; }
  595. .pg.next { margin-left: 0; }
  596. .js .sc-track { height: calc(var(--n) * 62svh + 30svh); }
  597. .js .sc-media { width: calc(100% - 24px); }
  598. .sc-sticky { gap: 18px; }
  599. .app-grid { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 26px 8px; }
  600. .app-grid img { width: 60px; height: 60px; }
  601. .nav-dl { display: none; }
  602. }
  603. @media (prefers-reduced-motion: reduce) {
  604. .js .rv, .js [data-scale], .js [data-scale="hero"] { opacity: 1; transform: none; transition: none; animation: none; }
  605. .float, .card-apps img { animation: none; }
  606. .js .sc-img, .js .sc-cap, .js .lit .w { transition: none; }
  607. }
  608. @media print {
  609. .nav, .pager, .foot-ctl { display: none; }
  610. .js .rv, .js [data-scale] { opacity: 1; transform: none; }
  611. }