index.css 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254
  1. ::selection {
  2. background: var(--color-background-interactive);
  3. color: var(--color-text-strong);
  4. @media (prefers-color-scheme: dark) {
  5. background: var(--color-background-interactive);
  6. color: var(--color-text-inverted);
  7. }
  8. }
  9. [data-page="opencode"] {
  10. --color-background: hsl(0, 20%, 99%);
  11. --color-background-weak: hsl(0, 8%, 97%);
  12. --color-background-weak-hover: hsl(0, 8%, 94%);
  13. --color-background-strong: hsl(0, 5%, 12%);
  14. --color-background-strong-hover: hsl(0, 5%, 18%);
  15. --color-background-interactive: hsl(62, 84%, 88%);
  16. --color-background-interactive-weaker: hsl(64, 74%, 95%);
  17. --color-surface-raised-base: hsla(0, 100%, 3%, 0.01);
  18. --color-surface-raised-base-active: hsla(0, 100%, 17%, 0.06);
  19. --color-text: hsl(0, 1%, 39%);
  20. --color-text-weak: hsl(0, 1%, 60%);
  21. --color-text-weaker: hsl(30, 2%, 81%);
  22. --color-text-strong: hsl(0, 5%, 12%);
  23. --color-text-inverted: hsl(0, 20%, 99%);
  24. --color-border: hsl(30, 2%, 81%);
  25. --color-border-weak: hsla(0, 100%, 3%, 0.12);
  26. --color-icon: hsl(0, 1%, 55%);
  27. }
  28. body {
  29. background: var(--color-background);
  30. }
  31. [data-page="opencode"] {
  32. @media (prefers-color-scheme: dark) {
  33. --color-background: hsl(0, 9%, 7%);
  34. --color-background-weak: hsl(0, 6%, 10%);
  35. --color-background-weak-hover: hsl(0, 6%, 15%);
  36. --color-background-strong: hsl(0, 15%, 94%);
  37. --color-background-strong-hover: hsl(0, 15%, 97%);
  38. --color-background-interactive: hsl(62, 100%, 90%);
  39. --color-background-interactive-weaker: hsl(60, 20%, 8%);
  40. --color-text: hsl(0, 4%, 71%);
  41. --color-text-weak: hsl(0, 2%, 49%);
  42. --color-text-weaker: hsl(0, 3%, 28%);
  43. --color-text-strong: hsl(0, 15%, 94%);
  44. --color-text-inverted: hsl(0, 9%, 7%);
  45. --color-border: hsl(0, 3%, 28%);
  46. --color-border-weak: hsl(0, 4%, 23%);
  47. --color-icon: hsl(10, 3%, 43%);
  48. }
  49. }
  50. @supports (background: -webkit-named-image(i)) {
  51. [data-page="opencode"] {
  52. border-top: 1px solid var(--color-border-weak);
  53. }
  54. }
  55. [data-slot="br"] {
  56. display: block;
  57. @media (max-width: 60rem) {
  58. display: none;
  59. }
  60. }
  61. [data-page="opencode"] {
  62. background: var(--color-background);
  63. --padding: 5rem;
  64. --vertical-padding: 4rem;
  65. --heading-font-size: 1.375rem;
  66. @media (max-width: 60rem) {
  67. --padding: 1.5rem;
  68. --vertical-padding: 3rem;
  69. }
  70. display: flex;
  71. gap: var(--vertical-padding);
  72. flex-direction: column;
  73. font-family: var(--font-mono);
  74. color: var(--color-text);
  75. padding-bottom: 5rem;
  76. a {
  77. color: var(--color-text-strong);
  78. text-decoration: underline;
  79. text-underline-offset: var(--space-1);
  80. text-decoration-thickness: 1px;
  81. }
  82. p {
  83. line-height: 200%;
  84. @media (max-width: 60rem) {
  85. line-height: 180%;
  86. }
  87. }
  88. @media (max-width: 60rem) {
  89. font-size: 15px;
  90. }
  91. [data-component="growth-stats"] {
  92. margin-top: 48px;
  93. margin-left: 40px;
  94. display: flex;
  95. gap: 64px !important;
  96. @media (max-width: 60rem) {
  97. gap: 56px !important;
  98. }
  99. @media (max-width: 50rem) {
  100. gap: 48px !important;
  101. }
  102. @media (max-width: 40rem) {
  103. display: none !important;
  104. }
  105. [data-component="growth-stat"] {
  106. display: flex;
  107. flex-direction: column;
  108. gap: 24px;
  109. text-align: left;
  110. width: 100%;
  111. span {
  112. display: flex;
  113. align-items: center;
  114. justify-content: left;
  115. width: 100%;
  116. gap: 10px;
  117. font-size: 14px;
  118. strong {
  119. color: var(--color-text-strong);
  120. font-weight: 500;
  121. }
  122. figure {
  123. font-size: 14px;
  124. color: var(--color-text-weak);
  125. padding: 0;
  126. margin: 0;
  127. @media (max-width: 70rem) {
  128. display: none;
  129. }
  130. }
  131. }
  132. [data-component="stat-illustration"] {
  133. width: 100%;
  134. height: 100%;
  135. display: block;
  136. svg {
  137. margin: 0;
  138. width: auto;
  139. height: auto;
  140. display: block;
  141. }
  142. }
  143. }
  144. }
  145. [data-component="container"] {
  146. max-width: 67.5rem;
  147. margin: 0 auto;
  148. border: 1px solid var(--color-border-weak);
  149. border-top: none;
  150. @media (max-width: 65rem) {
  151. border: none;
  152. }
  153. }
  154. [data-component="content"] {
  155. }
  156. [data-component="top"] {
  157. padding: 24px var(--padding);
  158. height: 80px;
  159. min-height: 80px;
  160. position: sticky;
  161. top: 0;
  162. display: flex;
  163. justify-content: space-between;
  164. align-items: center;
  165. background: var(--color-background);
  166. border-bottom: 1px solid var(--color-border-weak);
  167. z-index: 10;
  168. img {
  169. height: 34px;
  170. width: auto;
  171. }
  172. [data-component="nav-desktop"] {
  173. ul {
  174. display: flex;
  175. justify-content: space-between;
  176. align-items: center;
  177. gap: 32px;
  178. @media (max-width: 55rem) {
  179. gap: 24px;
  180. }
  181. @media (max-width: 48rem) {
  182. gap: 24px;
  183. }
  184. li {
  185. display: inline-block;
  186. a {
  187. text-decoration: none;
  188. span {
  189. color: var(--color-text-weak);
  190. }
  191. }
  192. a:hover {
  193. text-decoration: underline;
  194. text-underline-offset: var(--space-1);
  195. text-decoration-thickness: 1px;
  196. }
  197. [data-slot="cta-button"] {
  198. background: var(--color-background-strong);
  199. color: var(--color-text-inverted);
  200. padding: 8px 16px 8px 10px;
  201. border-radius: 4px;
  202. font-weight: 500;
  203. text-decoration: none;
  204. display: flex;
  205. align-items: center;
  206. gap: 8px;
  207. white-space: nowrap;
  208. @media (max-width: 55rem) {
  209. display: none;
  210. }
  211. }
  212. [data-slot="cta-button"]:hover {
  213. background: var(--color-background-strong-hover);
  214. text-decoration: none;
  215. }
  216. }
  217. }
  218. @media (max-width: 40rem) {
  219. display: none;
  220. }
  221. }
  222. [data-component="nav-mobile"] {
  223. button > svg {
  224. color: var(--color-icon);
  225. }
  226. }
  227. [data-component="nav-mobile-toggle"] {
  228. border: none;
  229. background: none;
  230. outline: none;
  231. height: 40px;
  232. width: 40px;
  233. cursor: pointer;
  234. margin-right: -8px;
  235. }
  236. [data-component="nav-mobile-toggle"]:hover {
  237. background: var(--color-background-weak);
  238. }
  239. [data-component="nav-mobile"] {
  240. display: none;
  241. @media (max-width: 40rem) {
  242. display: block;
  243. [data-component="nav-mobile-icon"] {
  244. cursor: pointer;
  245. height: 40px;
  246. width: 40px;
  247. display: flex;
  248. align-items: center;
  249. justify-content: center;
  250. }
  251. [data-component="nav-mobile-menu-list"] {
  252. position: fixed;
  253. background: var(--color-background);
  254. top: 80px;
  255. left: 0;
  256. right: 0;
  257. height: 100vh;
  258. ul {
  259. list-style: none;
  260. padding: 20px 0;
  261. li {
  262. a {
  263. text-decoration: none;
  264. padding: 20px;
  265. display: block;
  266. span {
  267. color: var(--color-text-weak);
  268. }
  269. }
  270. a:hover {
  271. background: var(--color-background-weak);
  272. }
  273. }
  274. }
  275. }
  276. }
  277. }
  278. [data-slot="logo dark"] {
  279. display: none;
  280. }
  281. @media (prefers-color-scheme: dark) {
  282. [data-slot="logo light"] {
  283. display: none;
  284. }
  285. [data-slot="logo dark"] {
  286. display: block;
  287. }
  288. }
  289. }
  290. [data-component="hero"] {
  291. display: flex;
  292. flex-direction: column;
  293. max-width: 100%;
  294. padding: calc(var(--vertical-padding) * 1.5) var(--padding);
  295. @media (max-width: 30rem) {
  296. padding: var(--vertical-padding) var(--padding);
  297. }
  298. @media (prefers-color-scheme: dark) {
  299. [data-slot="zen logo light"] {
  300. display: none;
  301. }
  302. [data-slot="zen logo dark"] {
  303. display: block;
  304. }
  305. }
  306. }
  307. [data-slot="installation-instructions"] {
  308. color: var(--color-text-strong);
  309. margin-bottom: 8px;
  310. }
  311. [data-slot="installation"] {
  312. width: 100%;
  313. max-width: 100%;
  314. overflow: hidden;
  315. @media (max-width: 550px) {
  316. width: calc(100vw - 48px);
  317. }
  318. }
  319. [data-slot="installation-options"] {
  320. font-size: 13px;
  321. margin-top: 12px;
  322. }
  323. [data-component="tabs"] {
  324. [data-slot="tablist"] {
  325. display: flex;
  326. gap: 40px;
  327. align-items: center;
  328. border: 1px solid var(--color-border-weak);
  329. border-bottom: none;
  330. border-top-left-radius: 6px;
  331. border-top-right-radius: 6px;
  332. background: var(--color-background-weak);
  333. padding: 0 20px;
  334. @media (max-width: 60rem) {
  335. gap: 32px;
  336. overflow-x: auto;
  337. width: 100%;
  338. }
  339. }
  340. [data-slot="tab"] {
  341. appearance: none;
  342. background: transparent;
  343. border: 0;
  344. padding: 16px 0;
  345. margin: 0;
  346. cursor: pointer;
  347. color: var(--color-text-weak);
  348. line-height: 1;
  349. border-bottom: 2px solid transparent;
  350. }
  351. [data-slot="tab"][aria-selected="true"] {
  352. color: var(--color-text-strong);
  353. border-bottom-color: var(--color-background-strong);
  354. }
  355. [data-slot="tab"]:focus-visible {
  356. }
  357. [data-slot="panels"] {
  358. background: var(--color-background-weak);
  359. border: 1px solid var(--color-border-weak);
  360. border-bottom-left-radius: 6px;
  361. border-bottom-right-radius: 6px;
  362. padding: 16px;
  363. }
  364. [data-slot="panel"] {
  365. display: block;
  366. margin: 0;
  367. overflow: auto;
  368. white-space: pre-wrap;
  369. transition: opacity 0.18s ease;
  370. font-size: 16px;
  371. font-family: var(--font-mono);
  372. width: 100%;
  373. button {
  374. max-width: 100%;
  375. }
  376. [data-slot="command"] {
  377. all: unset;
  378. display: flex;
  379. max-width: 100%;
  380. cursor: pointer;
  381. align-items: center;
  382. color: var(--color-text);
  383. gap: 16px;
  384. color: var(--color-text);
  385. padding: 8px 16px 8px 8px;
  386. border-radius: 4px;
  387. [data-slot="command-script"] {
  388. display: inline-block;
  389. max-width: 100%;
  390. overflow: hidden;
  391. text-overflow: ellipsis;
  392. white-space: nowrap;
  393. vertical-align: middle;
  394. @media (prefers-color-scheme: dark) {
  395. color: var(--color-text-weak);
  396. }
  397. @media (max-width: 35rem) {
  398. width: calc(100% - 40px) !important;
  399. }
  400. }
  401. [data-slot="highlight"] {
  402. font-weight: 500;
  403. color: var(--color-text-strong);
  404. }
  405. }
  406. [data-slot="command"]:hover {
  407. background: var(--color-background-weak-hover);
  408. @media (prefers-color-scheme: dark) {
  409. color: var(--color-text-weak);
  410. background: var(--color-background-weak-hover);
  411. }
  412. }
  413. }
  414. }
  415. [data-component="desktop-app-banner"] {
  416. display: flex;
  417. align-items: center;
  418. gap: 12px;
  419. margin-bottom: 32px;
  420. [data-slot="badge"] {
  421. background: var(--color-background-strong);
  422. color: var(--color-text-inverted);
  423. font-weight: 500;
  424. padding: 4px 8px;
  425. line-height: 1;
  426. flex-shrink: 0;
  427. }
  428. [data-slot="content"] {
  429. display: flex;
  430. align-items: center;
  431. gap: 1ch;
  432. }
  433. [data-slot="text"] {
  434. color: var(--color-text-strong);
  435. line-height: 1.4;
  436. @media (max-width: 30.625rem) {
  437. display: none;
  438. }
  439. }
  440. [data-slot="platforms"] {
  441. @media (max-width: 49.125rem) {
  442. display: none;
  443. }
  444. }
  445. [data-slot="link"] {
  446. color: var(--color-text-weak);
  447. white-space: nowrap;
  448. text-decoration: none;
  449. @media (max-width: 30.625rem) {
  450. display: none;
  451. }
  452. }
  453. [data-slot="link"]:hover {
  454. color: var(--color-text);
  455. text-decoration: underline;
  456. text-underline-offset: 2px;
  457. text-decoration-thickness: 1px;
  458. }
  459. [data-slot="link-mobile"] {
  460. display: none;
  461. color: var(--color-text-strong);
  462. white-space: nowrap;
  463. text-decoration: none;
  464. @media (max-width: 30.625rem) {
  465. display: inline;
  466. }
  467. }
  468. [data-slot="link-mobile"]:hover {
  469. text-decoration: underline;
  470. text-underline-offset: 2px;
  471. text-decoration-thickness: 1px;
  472. }
  473. }
  474. [data-slot="hero-copy"] {
  475. [data-slot="releases"] {
  476. background: none;
  477. color: var(--color-text-weak);
  478. padding: 0;
  479. border: none;
  480. font-weight: 400;
  481. cursor: pointer;
  482. margin-bottom: 14px;
  483. border-radius: 0;
  484. display: flex;
  485. width: fit-content;
  486. gap: 12px;
  487. text-decoration: none;
  488. padding-bottom: 2px;
  489. border-bottom: 1px solid transparent;
  490. }
  491. [data-slot="releases"]:hover {
  492. background: none;
  493. padding-bottom: 2px;
  494. border-bottom: 1px solid var(--color-border-weak);
  495. }
  496. h1 {
  497. font-size: 38px;
  498. color: var(--color-text-strong);
  499. font-weight: 700;
  500. margin-bottom: 8px;
  501. @media (max-width: 60rem) {
  502. font-size: 22px;
  503. }
  504. }
  505. p {
  506. color: var(--color-text);
  507. margin-bottom: 32px;
  508. max-width: 82%;
  509. @media (max-width: 50rem) {
  510. max-width: 100%;
  511. }
  512. }
  513. a {
  514. background: var(--color-background-strong);
  515. padding: 8px 12px 8px 20px;
  516. color: var(--color-text-inverted);
  517. border: none;
  518. border-radius: 4px;
  519. font-weight: 500;
  520. cursor: pointer;
  521. display: flex;
  522. width: fit-content;
  523. gap: 12px;
  524. text-decoration: none;
  525. }
  526. a:hover {
  527. background: var(--color-background-strong-hover);
  528. }
  529. }
  530. [data-slot="model-logos"] {
  531. display: flex;
  532. gap: 24px;
  533. margin-bottom: 56px;
  534. svg {
  535. color: var(--color-background-strong);
  536. }
  537. @media (prefers-color-scheme: dark) {
  538. svg {
  539. color: var(--color-background-strong);
  540. }
  541. }
  542. }
  543. [data-slot="pricing-copy"] {
  544. strong {
  545. color: var(--color-text-strong);
  546. font-weight: 500;
  547. }
  548. p:first-child {
  549. margin-bottom: 24px;
  550. color: var(--color-text);
  551. display: flex;
  552. gap: 8px;
  553. @media (max-width: 40rem) {
  554. flex-direction: column;
  555. gap: 4px;
  556. }
  557. }
  558. }
  559. [data-component="video"] {
  560. border-top: 1px solid var(--color-border-weak);
  561. video {
  562. width: 100%;
  563. height: auto;
  564. max-width: none;
  565. max-height: none;
  566. display: block;
  567. aspect-ratio: 16 / 9;
  568. object-fit: cover;
  569. }
  570. }
  571. [data-slot="section-title"] {
  572. margin-bottom: 24px;
  573. max-width: 100%;
  574. div {
  575. display: flex;
  576. gap: 12px;
  577. }
  578. span {
  579. color: var(--color-icon);
  580. line-height: 200%;
  581. @media (max-width: 60rem) {
  582. line-height: 180%;
  583. }
  584. }
  585. h3 {
  586. font-size: 16px;
  587. font-weight: 700;
  588. color: var(--color-text-strong);
  589. margin-bottom: 12px;
  590. }
  591. p {
  592. margin-bottom: 12px;
  593. color: var(--color-text);
  594. }
  595. div > p > strong {
  596. font-weight: 500;
  597. color: var(--color-text-strong);
  598. }
  599. }
  600. [data-component="what"] {
  601. border-top: 1px solid var(--color-border-weak);
  602. padding: var(--vertical-padding) var(--padding);
  603. color: var(--color-text);
  604. a {
  605. background: var(--color-background-strong);
  606. padding: 8px 12px 8px 20px;
  607. color: var(--color-text-inverted);
  608. border: none;
  609. border-radius: 4px;
  610. font-weight: 500;
  611. cursor: pointer;
  612. margin-top: 40px;
  613. display: flex;
  614. width: fit-content;
  615. gap: 12px;
  616. text-decoration: none;
  617. }
  618. a:hover {
  619. background: var(--color-background-strong-hover);
  620. }
  621. ul {
  622. padding: 0;
  623. li {
  624. list-style: none;
  625. margin-bottom: 16px;
  626. display: flex;
  627. gap: 12px;
  628. line-height: 200%;
  629. @media (max-width: 60rem) {
  630. line-height: 180%;
  631. }
  632. span {
  633. color: var(--color-icon);
  634. }
  635. strong {
  636. font-weight: 500;
  637. color: var(--color-text-strong);
  638. margin-right: 12px;
  639. }
  640. }
  641. li:last-child {
  642. margin-bottom: 0;
  643. }
  644. }
  645. }
  646. [data-component="growth"] {
  647. border-top: 1px solid var(--color-border-weak);
  648. padding: var(--vertical-padding) var(--padding);
  649. svg {
  650. margin-top: 32px;
  651. width: 100%;
  652. height: 100%;
  653. margin-left: 40px;
  654. @media (max-width: 60rem) {
  655. display: none;
  656. }
  657. }
  658. figure {
  659. margin-top: 16px;
  660. font-size: 13px;
  661. margin-left: 40px;
  662. span {
  663. color: var(--color-text-strong);
  664. }
  665. @media (max-width: 60rem) {
  666. display: none;
  667. }
  668. }
  669. }
  670. [data-component="privacy"] {
  671. border-top: 1px solid var(--color-border-weak);
  672. padding: var(--vertical-padding) var(--padding);
  673. [data-slot="privacy-title"] {
  674. h3 {
  675. font-size: 16px;
  676. font-weight: 700;
  677. color: var(--color-text-strong);
  678. margin-bottom: 12px;
  679. }
  680. div {
  681. display: flex;
  682. gap: 12px;
  683. }
  684. span {
  685. color: var(--color-icon);
  686. line-height: 200%;
  687. }
  688. }
  689. }
  690. [data-component="zen-cta"] {
  691. border-top: 1px solid var(--color-border-weak);
  692. display: flex;
  693. padding: var(--vertical-padding) var(--padding);
  694. }
  695. [data-slot="zen-cta-copy"] {
  696. strong {
  697. color: var(--color-text-strong);
  698. font-weight: 700;
  699. margin-bottom: 16px;
  700. display: block;
  701. }
  702. p {
  703. color: var(--color-text);
  704. margin-bottom: 24px;
  705. max-width: 90%;
  706. @media (max-width: 50rem) {
  707. max-width: 100%;
  708. }
  709. }
  710. a {
  711. background: var(--color-background);
  712. padding: 8px 12px 8px 20px;
  713. color: var(--color-text-strong);
  714. border: none;
  715. border-radius: 4px;
  716. border: 1px solid var(--color-border-weak);
  717. font-weight: 500;
  718. cursor: pointer;
  719. display: flex;
  720. width: fit-content;
  721. gap: 12px;
  722. text-decoration: none;
  723. }
  724. a:hover {
  725. background: var(--color-background-weak);
  726. }
  727. }
  728. [data-slot="model-logos"] {
  729. display: flex;
  730. gap: 24px;
  731. margin-bottom: 40px;
  732. svg {
  733. color: var(--color-background-strong);
  734. }
  735. @media (prefers-color-scheme: dark) {
  736. svg {
  737. color: var(--color-background-strong);
  738. }
  739. }
  740. }
  741. [data-component="email"] {
  742. border-top: 1px solid var(--color-border-weak);
  743. padding: var(--vertical-padding) var(--padding);
  744. color: var(--color-text);
  745. [data-slot="dock"] {
  746. border-radius: 14px;
  747. border: 0.5px solid rgba(176, 176, 176, 0.6);
  748. background: #f2f1f0;
  749. margin-bottom: 32px;
  750. overflow: hidden;
  751. height: 64px;
  752. width: 185px;
  753. box-shadow:
  754. 0 6px 80px 0 rgba(0, 0, 0, 0.05),
  755. 0 2.507px 33.422px 0 rgba(0, 0, 0, 0.04),
  756. 0 1.34px 17.869px 0 rgba(0, 0, 0, 0.03),
  757. 0 0.751px 10.017px 0 rgba(0, 0, 0, 0.03),
  758. 0 0.399px 5.32px 0 rgba(0, 0, 0, 0.02),
  759. 0 0.166px 2.214px 0 rgba(0, 0, 0, 0.01);
  760. img {
  761. width: 100%;
  762. height: auto;
  763. }
  764. @media (prefers-color-scheme: dark) {
  765. background: #312d2d;
  766. }
  767. }
  768. [data-slot="form"] {
  769. position: relative;
  770. input {
  771. background: var(--color-background-weak);
  772. border-radius: 6px;
  773. border: 1px solid var(--color-border-weak);
  774. padding: 20px;
  775. width: 100%;
  776. /* Use color, not -moz-text-fill-color, for normal text */
  777. color: var(--color-text-strong);
  778. @media (max-width: 30rem) {
  779. padding-bottom: 80px;
  780. }
  781. &:not(:focus) {
  782. color: var(--color-text-strong);
  783. }
  784. &::placeholder {
  785. color: var(--color-text-weak);
  786. opacity: 1;
  787. }
  788. /* Optional legacy */
  789. &::-moz-placeholder {
  790. color: var(--color-text-weak);
  791. opacity: 1;
  792. }
  793. }
  794. input:focus {
  795. background: var(--color-background-interactive-weaker);
  796. outline: none;
  797. border: none;
  798. color: var(--color-text-strong);
  799. border: 1px solid var(--color-background-strong);
  800. box-shadow: 0 0 0 3px var(--color-background-interactive);
  801. @media (prefers-color-scheme: dark) {
  802. box-shadow: none;
  803. border: 1px solid var(--color-background-interactive);
  804. }
  805. }
  806. button {
  807. position: absolute;
  808. height: 40px;
  809. right: 12px;
  810. background: var(--color-background-strong);
  811. padding: 4px 20px;
  812. color: var(--color-text-inverted);
  813. border-radius: 4px;
  814. border: none;
  815. outline: none;
  816. font-weight: 500;
  817. cursor: pointer;
  818. top: 50%;
  819. margin-top: -20px;
  820. @media (max-width: 30rem) {
  821. left: 20px;
  822. right: 20px;
  823. bottom: 20px;
  824. top: auto;
  825. }
  826. }
  827. }
  828. }
  829. [data-component="faq"] {
  830. border-top: 1px solid var(--color-border-weak);
  831. padding: var(--vertical-padding) var(--padding);
  832. ul {
  833. padding: 0;
  834. li {
  835. list-style: none;
  836. margin-bottom: 24px;
  837. line-height: 200%;
  838. }
  839. }
  840. [data-slot="faq-question"] {
  841. display: flex;
  842. gap: 16px;
  843. margin-bottom: 8px;
  844. color: var(--color-text-strong);
  845. font-weight: 500;
  846. cursor: pointer;
  847. background: none;
  848. border: none;
  849. padding: 0;
  850. align-items: start;
  851. min-height: 24px;
  852. svg {
  853. margin-top: 2px;
  854. }
  855. [data-slot="faq-icon-plus"] {
  856. flex-shrink: 0;
  857. color: var(--color-text-weak);
  858. margin-top: 2px;
  859. [data-closed] & {
  860. display: block;
  861. }
  862. [data-expanded] & {
  863. display: none;
  864. }
  865. }
  866. [data-slot="faq-icon-minus"] {
  867. flex-shrink: 0;
  868. color: var(--color-text-weak);
  869. margin-top: 2px;
  870. [data-closed] & {
  871. display: none;
  872. }
  873. [data-expanded] & {
  874. display: block;
  875. }
  876. }
  877. [data-slot="faq-question-text"] {
  878. flex-grow: 1;
  879. text-align: left;
  880. }
  881. }
  882. [data-slot="faq-answer"] {
  883. margin-left: 40px;
  884. margin-bottom: 32px;
  885. line-height: 200%;
  886. }
  887. }
  888. [data-component="testimonials"] {
  889. border-top: 1px solid var(--color-border-weak);
  890. padding: var(--vertical-padding) var(--padding);
  891. display: flex;
  892. flex-direction: column;
  893. gap: 20px;
  894. @media (max-width: 60rem) {
  895. --padding: 1rem;
  896. --vertical-padding: 1rem;
  897. }
  898. a {
  899. text-decoration: none;
  900. }
  901. [data-slot="testimonial"] {
  902. background: var(--color-background-weak);
  903. border-radius: 6px;
  904. border: 1px solid var(--color-border-weak);
  905. padding: 20px;
  906. display: flex;
  907. flex-direction: column;
  908. gap: 12px;
  909. @media (max-width: 60rem) {
  910. flex-direction: column-reverse;
  911. gap: 24px;
  912. }
  913. [data-slot="name"] {
  914. display: flex;
  915. gap: 16px;
  916. @media (max-width: 60rem) {
  917. flex-direction: column;
  918. gap: 8px;
  919. }
  920. span {
  921. display: inline-block;
  922. }
  923. img {
  924. height: 24px;
  925. width: 24px;
  926. border-radius: 24px;
  927. }
  928. }
  929. [data-slot="quote"] {
  930. margin-left: 40px;
  931. @media (max-width: 60rem) {
  932. margin-left: 0;
  933. }
  934. span {
  935. color: var(--color-text);
  936. text-decoration: none;
  937. }
  938. }
  939. }
  940. [data-slot="button"] {
  941. all: unset;
  942. cursor: pointer;
  943. display: flex;
  944. align-items: center;
  945. color: var(--color-text);
  946. gap: var(--space-2-5);
  947. font-size: 1rem;
  948. @media (max-width: 24rem) {
  949. font-size: 0.875rem;
  950. }
  951. strong {
  952. color: var(--color-text-strong);
  953. font-weight: 500;
  954. }
  955. @media (max-width: 40rem) {
  956. justify-content: flex-start;
  957. }
  958. @media (max-width: 30rem) {
  959. justify-content: center;
  960. }
  961. }
  962. }
  963. [data-component="copy-status"] {
  964. [data-slot="copy"] {
  965. display: block;
  966. width: var(--space-4);
  967. height: var(--space-4);
  968. color: var(--color-text-weaker);
  969. [data-copied] & {
  970. display: none;
  971. }
  972. }
  973. [data-slot="check"] {
  974. display: none;
  975. width: var(--space-4);
  976. height: var(--space-4);
  977. color: var(--color-text-strong);
  978. [data-copied] & {
  979. display: block;
  980. }
  981. }
  982. }
  983. [data-component="footer"] {
  984. border-top: 1px solid var(--color-border-weak);
  985. display: flex;
  986. flex-direction: row;
  987. @media (max-width: 65rem) {
  988. border-bottom: 1px solid var(--color-border-weak);
  989. }
  990. [data-slot="cell"] {
  991. flex: 1;
  992. text-align: center;
  993. a {
  994. text-decoration: none;
  995. padding: 2rem 0;
  996. width: 100%;
  997. display: block;
  998. span {
  999. color: var(--color-text-weak);
  1000. @media (max-width: 40rem) {
  1001. display: none;
  1002. }
  1003. }
  1004. }
  1005. a:hover {
  1006. background: var(--color-background-weak);
  1007. text-decoration: underline;
  1008. text-underline-offset: var(--space-1);
  1009. text-decoration-thickness: 1px;
  1010. }
  1011. }
  1012. [data-slot="cell"] + [data-slot="cell"] {
  1013. border-left: 1px solid var(--color-border-weak);
  1014. @media (max-width: 40rem) {
  1015. border-left: none;
  1016. }
  1017. }
  1018. /* Mobile: third column on its own row */
  1019. @media (max-width: 25rem) {
  1020. flex-wrap: wrap;
  1021. [data-slot="cell"] {
  1022. flex: 1 0 100%;
  1023. border-left: none;
  1024. border-top: 1px solid var(--color-border-weak);
  1025. }
  1026. [data-slot="cell"]:nth-child(1) {
  1027. border-top: none;
  1028. }
  1029. }
  1030. }
  1031. [data-component="legal"] {
  1032. color: var(--color-text-weak);
  1033. text-align: center;
  1034. display: flex;
  1035. gap: 32px;
  1036. justify-content: center;
  1037. a {
  1038. color: var(--color-text-weak);
  1039. text-decoration: none;
  1040. }
  1041. a:hover {
  1042. color: var(--color-text);
  1043. text-decoration: underline;
  1044. }
  1045. }
  1046. input:-webkit-autofill,
  1047. input:-webkit-autofill:hover,
  1048. input:-webkit-autofill:focus,
  1049. input:-webkit-autofill:active {
  1050. transition: background-color 5000000s ease-in-out 0s;
  1051. }
  1052. input:-webkit-autofill {
  1053. -webkit-text-fill-color: var(--color-text-strong) !important;
  1054. }
  1055. input:-moz-autofill {
  1056. -moz-text-fill-color: var(--color-text-strong) !important;
  1057. }
  1058. }