index.css 23 KB

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