| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254 |
- ::selection {
- background: var(--color-background-interactive);
- color: var(--color-text-strong);
- @media (prefers-color-scheme: dark) {
- background: var(--color-background-interactive);
- color: var(--color-text-inverted);
- }
- }
- [data-page="opencode"] {
- --color-background: hsl(0, 20%, 99%);
- --color-background-weak: hsl(0, 8%, 97%);
- --color-background-weak-hover: hsl(0, 8%, 94%);
- --color-background-strong: hsl(0, 5%, 12%);
- --color-background-strong-hover: hsl(0, 5%, 18%);
- --color-background-interactive: hsl(62, 84%, 88%);
- --color-background-interactive-weaker: hsl(64, 74%, 95%);
- --color-surface-raised-base: hsla(0, 100%, 3%, 0.01);
- --color-surface-raised-base-active: hsla(0, 100%, 17%, 0.06);
- --color-text: hsl(0, 1%, 39%);
- --color-text-weak: hsl(0, 1%, 60%);
- --color-text-weaker: hsl(30, 2%, 81%);
- --color-text-strong: hsl(0, 5%, 12%);
- --color-text-inverted: hsl(0, 20%, 99%);
- --color-border: hsl(30, 2%, 81%);
- --color-border-weak: hsla(0, 100%, 3%, 0.12);
- --color-icon: hsl(0, 1%, 55%);
- }
- body {
- background: var(--color-background);
- }
- [data-page="opencode"] {
- @media (prefers-color-scheme: dark) {
- --color-background: hsl(0, 9%, 7%);
- --color-background-weak: hsl(0, 6%, 10%);
- --color-background-weak-hover: hsl(0, 6%, 15%);
- --color-background-strong: hsl(0, 15%, 94%);
- --color-background-strong-hover: hsl(0, 15%, 97%);
- --color-background-interactive: hsl(62, 100%, 90%);
- --color-background-interactive-weaker: hsl(60, 20%, 8%);
- --color-text: hsl(0, 4%, 71%);
- --color-text-weak: hsl(0, 2%, 49%);
- --color-text-weaker: hsl(0, 3%, 28%);
- --color-text-strong: hsl(0, 15%, 94%);
- --color-text-inverted: hsl(0, 9%, 7%);
- --color-border: hsl(0, 3%, 28%);
- --color-border-weak: hsl(0, 4%, 23%);
- --color-icon: hsl(10, 3%, 43%);
- }
- }
- @supports (background: -webkit-named-image(i)) {
- [data-page="opencode"] {
- border-top: 1px solid var(--color-border-weak);
- }
- }
- [data-slot="br"] {
- display: block;
- @media (max-width: 60rem) {
- display: none;
- }
- }
- [data-page="opencode"] {
- background: var(--color-background);
- --padding: 5rem;
- --vertical-padding: 4rem;
- --heading-font-size: 1.375rem;
- @media (max-width: 60rem) {
- --padding: 1.5rem;
- --vertical-padding: 3rem;
- }
- display: flex;
- gap: var(--vertical-padding);
- flex-direction: column;
- font-family: var(--font-mono);
- color: var(--color-text);
- padding-bottom: 5rem;
- a {
- color: var(--color-text-strong);
- text-decoration: underline;
- text-underline-offset: var(--space-1);
- text-decoration-thickness: 1px;
- }
- p {
- line-height: 200%;
- @media (max-width: 60rem) {
- line-height: 180%;
- }
- }
- @media (max-width: 60rem) {
- font-size: 15px;
- }
- [data-component="growth-stats"] {
- margin-top: 48px;
- margin-left: 40px;
- display: flex;
- gap: 64px !important;
- @media (max-width: 60rem) {
- gap: 56px !important;
- }
- @media (max-width: 50rem) {
- gap: 48px !important;
- }
- @media (max-width: 40rem) {
- display: none !important;
- }
- [data-component="growth-stat"] {
- display: flex;
- flex-direction: column;
- gap: 24px;
- text-align: left;
- width: 100%;
- span {
- display: flex;
- align-items: center;
- justify-content: left;
- width: 100%;
- gap: 10px;
- font-size: 14px;
- strong {
- color: var(--color-text-strong);
- font-weight: 500;
- }
- figure {
- font-size: 14px;
- color: var(--color-text-weak);
- padding: 0;
- margin: 0;
- @media (max-width: 70rem) {
- display: none;
- }
- }
- }
- [data-component="stat-illustration"] {
- width: 100%;
- height: 100%;
- display: block;
- svg {
- margin: 0;
- width: auto;
- height: auto;
- display: block;
- }
- }
- }
- }
- [data-component="container"] {
- max-width: 67.5rem;
- margin: 0 auto;
- border: 1px solid var(--color-border-weak);
- border-top: none;
- @media (max-width: 65rem) {
- border: none;
- }
- }
- [data-component="content"] {
- }
- [data-component="top"] {
- padding: 24px var(--padding);
- height: 80px;
- min-height: 80px;
- position: sticky;
- top: 0;
- display: flex;
- justify-content: space-between;
- align-items: center;
- background: var(--color-background);
- border-bottom: 1px solid var(--color-border-weak);
- z-index: 10;
- img {
- height: 34px;
- width: auto;
- }
- [data-component="nav-desktop"] {
- ul {
- display: flex;
- justify-content: space-between;
- align-items: center;
- gap: 32px;
- @media (max-width: 55rem) {
- gap: 24px;
- }
- @media (max-width: 48rem) {
- gap: 24px;
- }
- li {
- display: inline-block;
- a {
- text-decoration: none;
- span {
- color: var(--color-text-weak);
- }
- }
- a:hover {
- text-decoration: underline;
- text-underline-offset: var(--space-1);
- text-decoration-thickness: 1px;
- }
- [data-slot="cta-button"] {
- background: var(--color-background-strong);
- color: var(--color-text-inverted);
- padding: 8px 16px 8px 10px;
- border-radius: 4px;
- font-weight: 500;
- text-decoration: none;
- display: flex;
- align-items: center;
- gap: 8px;
- white-space: nowrap;
- @media (max-width: 55rem) {
- display: none;
- }
- }
- [data-slot="cta-button"]:hover {
- background: var(--color-background-strong-hover);
- text-decoration: none;
- }
- }
- }
- @media (max-width: 40rem) {
- display: none;
- }
- }
- [data-component="nav-mobile"] {
- button > svg {
- color: var(--color-icon);
- }
- }
- [data-component="nav-mobile-toggle"] {
- border: none;
- background: none;
- outline: none;
- height: 40px;
- width: 40px;
- cursor: pointer;
- margin-right: -8px;
- }
- [data-component="nav-mobile-toggle"]:hover {
- background: var(--color-background-weak);
- }
- [data-component="nav-mobile"] {
- display: none;
- @media (max-width: 40rem) {
- display: block;
- [data-component="nav-mobile-icon"] {
- cursor: pointer;
- height: 40px;
- width: 40px;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- [data-component="nav-mobile-menu-list"] {
- position: fixed;
- background: var(--color-background);
- top: 80px;
- left: 0;
- right: 0;
- height: 100vh;
- ul {
- list-style: none;
- padding: 20px 0;
- li {
- a {
- text-decoration: none;
- padding: 20px;
- display: block;
- span {
- color: var(--color-text-weak);
- }
- }
- a:hover {
- background: var(--color-background-weak);
- }
- }
- }
- }
- }
- }
- [data-slot="logo dark"] {
- display: none;
- }
- @media (prefers-color-scheme: dark) {
- [data-slot="logo light"] {
- display: none;
- }
- [data-slot="logo dark"] {
- display: block;
- }
- }
- }
- [data-component="hero"] {
- display: flex;
- flex-direction: column;
- max-width: 100%;
- padding: calc(var(--vertical-padding) * 1.5) var(--padding);
- @media (max-width: 30rem) {
- padding: var(--vertical-padding) var(--padding);
- }
- @media (prefers-color-scheme: dark) {
- [data-slot="zen logo light"] {
- display: none;
- }
- [data-slot="zen logo dark"] {
- display: block;
- }
- }
- }
- [data-slot="installation-instructions"] {
- color: var(--color-text-strong);
- margin-bottom: 8px;
- }
- [data-slot="installation"] {
- width: 100%;
- max-width: 100%;
- overflow: hidden;
- @media (max-width: 550px) {
- width: calc(100vw - 48px);
- }
- }
- [data-slot="installation-options"] {
- font-size: 13px;
- margin-top: 12px;
- }
- [data-component="tabs"] {
- [data-slot="tablist"] {
- display: flex;
- gap: 40px;
- align-items: center;
- border: 1px solid var(--color-border-weak);
- border-bottom: none;
- border-top-left-radius: 6px;
- border-top-right-radius: 6px;
- background: var(--color-background-weak);
- padding: 0 20px;
- @media (max-width: 60rem) {
- gap: 32px;
- overflow-x: auto;
- width: 100%;
- }
- }
- [data-slot="tab"] {
- appearance: none;
- background: transparent;
- border: 0;
- padding: 16px 0;
- margin: 0;
- cursor: pointer;
- color: var(--color-text-weak);
- line-height: 1;
- border-bottom: 2px solid transparent;
- }
- [data-slot="tab"][aria-selected="true"] {
- color: var(--color-text-strong);
- border-bottom-color: var(--color-background-strong);
- }
- [data-slot="tab"]:focus-visible {
- }
- [data-slot="panels"] {
- background: var(--color-background-weak);
- border: 1px solid var(--color-border-weak);
- border-bottom-left-radius: 6px;
- border-bottom-right-radius: 6px;
- padding: 16px;
- }
- [data-slot="panel"] {
- display: block;
- margin: 0;
- overflow: auto;
- white-space: pre-wrap;
- transition: opacity 0.18s ease;
- font-size: 16px;
- font-family: var(--font-mono);
- width: 100%;
- button {
- max-width: 100%;
- }
- [data-slot="command"] {
- all: unset;
- display: flex;
- max-width: 100%;
- cursor: pointer;
- align-items: center;
- color: var(--color-text);
- gap: 16px;
- color: var(--color-text);
- padding: 8px 16px 8px 8px;
- border-radius: 4px;
- [data-slot="command-script"] {
- display: inline-block;
- max-width: 100%;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- vertical-align: middle;
- @media (prefers-color-scheme: dark) {
- color: var(--color-text-weak);
- }
- @media (max-width: 35rem) {
- width: calc(100% - 40px) !important;
- }
- }
- [data-slot="highlight"] {
- font-weight: 500;
- color: var(--color-text-strong);
- }
- }
- [data-slot="command"]:hover {
- background: var(--color-background-weak-hover);
- @media (prefers-color-scheme: dark) {
- color: var(--color-text-weak);
- background: var(--color-background-weak-hover);
- }
- }
- }
- }
- [data-component="desktop-app-banner"] {
- display: flex;
- align-items: center;
- gap: 12px;
- margin-bottom: 32px;
- [data-slot="badge"] {
- background: var(--color-background-strong);
- color: var(--color-text-inverted);
- font-weight: 500;
- padding: 4px 8px;
- line-height: 1;
- flex-shrink: 0;
- }
- [data-slot="content"] {
- display: flex;
- align-items: center;
- gap: 1ch;
- }
- [data-slot="text"] {
- color: var(--color-text-strong);
- line-height: 1.4;
- @media (max-width: 30.625rem) {
- display: none;
- }
- }
- [data-slot="platforms"] {
- @media (max-width: 49.125rem) {
- display: none;
- }
- }
- [data-slot="link"] {
- color: var(--color-text-weak);
- white-space: nowrap;
- text-decoration: none;
- @media (max-width: 30.625rem) {
- display: none;
- }
- }
- [data-slot="link"]:hover {
- color: var(--color-text);
- text-decoration: underline;
- text-underline-offset: 2px;
- text-decoration-thickness: 1px;
- }
- [data-slot="link-mobile"] {
- display: none;
- color: var(--color-text-strong);
- white-space: nowrap;
- text-decoration: none;
- @media (max-width: 30.625rem) {
- display: inline;
- }
- }
- [data-slot="link-mobile"]:hover {
- text-decoration: underline;
- text-underline-offset: 2px;
- text-decoration-thickness: 1px;
- }
- }
- [data-slot="hero-copy"] {
- [data-slot="releases"] {
- background: none;
- color: var(--color-text-weak);
- padding: 0;
- border: none;
- font-weight: 400;
- cursor: pointer;
- margin-bottom: 14px;
- border-radius: 0;
- display: flex;
- width: fit-content;
- gap: 12px;
- text-decoration: none;
- padding-bottom: 2px;
- border-bottom: 1px solid transparent;
- }
- [data-slot="releases"]:hover {
- background: none;
- padding-bottom: 2px;
- border-bottom: 1px solid var(--color-border-weak);
- }
- h1 {
- font-size: 38px;
- color: var(--color-text-strong);
- font-weight: 700;
- margin-bottom: 8px;
- @media (max-width: 60rem) {
- font-size: 22px;
- }
- }
- p {
- color: var(--color-text);
- margin-bottom: 32px;
- max-width: 82%;
- @media (max-width: 50rem) {
- max-width: 100%;
- }
- }
- a {
- background: var(--color-background-strong);
- padding: 8px 12px 8px 20px;
- color: var(--color-text-inverted);
- border: none;
- border-radius: 4px;
- font-weight: 500;
- cursor: pointer;
- display: flex;
- width: fit-content;
- gap: 12px;
- text-decoration: none;
- }
- a:hover {
- background: var(--color-background-strong-hover);
- }
- }
- [data-slot="model-logos"] {
- display: flex;
- gap: 24px;
- margin-bottom: 56px;
- svg {
- color: var(--color-background-strong);
- }
- @media (prefers-color-scheme: dark) {
- svg {
- color: var(--color-background-strong);
- }
- }
- }
- [data-slot="pricing-copy"] {
- strong {
- color: var(--color-text-strong);
- font-weight: 500;
- }
- p:first-child {
- margin-bottom: 24px;
- color: var(--color-text);
- display: flex;
- gap: 8px;
- @media (max-width: 40rem) {
- flex-direction: column;
- gap: 4px;
- }
- }
- }
- [data-component="video"] {
- border-top: 1px solid var(--color-border-weak);
- video {
- width: 100%;
- height: auto;
- max-width: none;
- max-height: none;
- display: block;
- aspect-ratio: 16 / 9;
- object-fit: cover;
- }
- }
- [data-slot="section-title"] {
- margin-bottom: 24px;
- max-width: 100%;
- div {
- display: flex;
- gap: 12px;
- }
- span {
- color: var(--color-icon);
- line-height: 200%;
- @media (max-width: 60rem) {
- line-height: 180%;
- }
- }
- h3 {
- font-size: 16px;
- font-weight: 700;
- color: var(--color-text-strong);
- margin-bottom: 12px;
- }
- p {
- margin-bottom: 12px;
- color: var(--color-text);
- }
- div > p > strong {
- font-weight: 500;
- color: var(--color-text-strong);
- }
- }
- [data-component="what"] {
- border-top: 1px solid var(--color-border-weak);
- padding: var(--vertical-padding) var(--padding);
- color: var(--color-text);
- a {
- background: var(--color-background-strong);
- padding: 8px 12px 8px 20px;
- color: var(--color-text-inverted);
- border: none;
- border-radius: 4px;
- font-weight: 500;
- cursor: pointer;
- margin-top: 40px;
- display: flex;
- width: fit-content;
- gap: 12px;
- text-decoration: none;
- }
- a:hover {
- background: var(--color-background-strong-hover);
- }
- ul {
- padding: 0;
- li {
- list-style: none;
- margin-bottom: 16px;
- display: flex;
- gap: 12px;
- line-height: 200%;
- @media (max-width: 60rem) {
- line-height: 180%;
- }
- span {
- color: var(--color-icon);
- }
- strong {
- font-weight: 500;
- color: var(--color-text-strong);
- margin-right: 12px;
- }
- }
- li:last-child {
- margin-bottom: 0;
- }
- }
- }
- [data-component="growth"] {
- border-top: 1px solid var(--color-border-weak);
- padding: var(--vertical-padding) var(--padding);
- svg {
- margin-top: 32px;
- width: 100%;
- height: 100%;
- margin-left: 40px;
- @media (max-width: 60rem) {
- display: none;
- }
- }
- figure {
- margin-top: 16px;
- font-size: 13px;
- margin-left: 40px;
- span {
- color: var(--color-text-strong);
- }
- @media (max-width: 60rem) {
- display: none;
- }
- }
- }
- [data-component="privacy"] {
- border-top: 1px solid var(--color-border-weak);
- padding: var(--vertical-padding) var(--padding);
- [data-slot="privacy-title"] {
- h3 {
- font-size: 16px;
- font-weight: 700;
- color: var(--color-text-strong);
- margin-bottom: 12px;
- }
- div {
- display: flex;
- gap: 12px;
- }
- span {
- color: var(--color-icon);
- line-height: 200%;
- }
- }
- }
- [data-component="zen-cta"] {
- border-top: 1px solid var(--color-border-weak);
- display: flex;
- padding: var(--vertical-padding) var(--padding);
- }
- [data-slot="zen-cta-copy"] {
- strong {
- color: var(--color-text-strong);
- font-weight: 700;
- margin-bottom: 16px;
- display: block;
- }
- p {
- color: var(--color-text);
- margin-bottom: 24px;
- max-width: 90%;
- @media (max-width: 50rem) {
- max-width: 100%;
- }
- }
- a {
- background: var(--color-background);
- padding: 8px 12px 8px 20px;
- color: var(--color-text-strong);
- border: none;
- border-radius: 4px;
- border: 1px solid var(--color-border-weak);
- font-weight: 500;
- cursor: pointer;
- display: flex;
- width: fit-content;
- gap: 12px;
- text-decoration: none;
- }
- a:hover {
- background: var(--color-background-weak);
- }
- }
- [data-slot="model-logos"] {
- display: flex;
- gap: 24px;
- margin-bottom: 40px;
- svg {
- color: var(--color-background-strong);
- }
- @media (prefers-color-scheme: dark) {
- svg {
- color: var(--color-background-strong);
- }
- }
- }
- [data-component="email"] {
- border-top: 1px solid var(--color-border-weak);
- padding: var(--vertical-padding) var(--padding);
- color: var(--color-text);
- [data-slot="dock"] {
- border-radius: 14px;
- border: 0.5px solid rgba(176, 176, 176, 0.6);
- background: #f2f1f0;
- margin-bottom: 32px;
- overflow: hidden;
- height: 64px;
- width: 185px;
- box-shadow:
- 0 6px 80px 0 rgba(0, 0, 0, 0.05),
- 0 2.507px 33.422px 0 rgba(0, 0, 0, 0.04),
- 0 1.34px 17.869px 0 rgba(0, 0, 0, 0.03),
- 0 0.751px 10.017px 0 rgba(0, 0, 0, 0.03),
- 0 0.399px 5.32px 0 rgba(0, 0, 0, 0.02),
- 0 0.166px 2.214px 0 rgba(0, 0, 0, 0.01);
- img {
- width: 100%;
- height: auto;
- }
- @media (prefers-color-scheme: dark) {
- background: #312d2d;
- }
- }
- [data-slot="form"] {
- position: relative;
- input {
- background: var(--color-background-weak);
- border-radius: 6px;
- border: 1px solid var(--color-border-weak);
- padding: 20px;
- width: 100%;
- /* Use color, not -moz-text-fill-color, for normal text */
- color: var(--color-text-strong);
- @media (max-width: 30rem) {
- padding-bottom: 80px;
- }
- &:not(:focus) {
- color: var(--color-text-strong);
- }
- &::placeholder {
- color: var(--color-text-weak);
- opacity: 1;
- }
- /* Optional legacy */
- &::-moz-placeholder {
- color: var(--color-text-weak);
- opacity: 1;
- }
- }
- input:focus {
- background: var(--color-background-interactive-weaker);
- outline: none;
- border: none;
- color: var(--color-text-strong);
- border: 1px solid var(--color-background-strong);
- box-shadow: 0 0 0 3px var(--color-background-interactive);
- @media (prefers-color-scheme: dark) {
- box-shadow: none;
- border: 1px solid var(--color-background-interactive);
- }
- }
- button {
- position: absolute;
- height: 40px;
- right: 12px;
- background: var(--color-background-strong);
- padding: 4px 20px;
- color: var(--color-text-inverted);
- border-radius: 4px;
- border: none;
- outline: none;
- font-weight: 500;
- cursor: pointer;
- top: 50%;
- margin-top: -20px;
- @media (max-width: 30rem) {
- left: 20px;
- right: 20px;
- bottom: 20px;
- top: auto;
- }
- }
- }
- }
- [data-component="faq"] {
- border-top: 1px solid var(--color-border-weak);
- padding: var(--vertical-padding) var(--padding);
- ul {
- padding: 0;
- li {
- list-style: none;
- margin-bottom: 24px;
- line-height: 200%;
- }
- }
- [data-slot="faq-question"] {
- display: flex;
- gap: 16px;
- margin-bottom: 8px;
- color: var(--color-text-strong);
- font-weight: 500;
- cursor: pointer;
- background: none;
- border: none;
- padding: 0;
- align-items: start;
- min-height: 24px;
- svg {
- margin-top: 2px;
- }
- [data-slot="faq-icon-plus"] {
- flex-shrink: 0;
- color: var(--color-text-weak);
- margin-top: 2px;
- [data-closed] & {
- display: block;
- }
- [data-expanded] & {
- display: none;
- }
- }
- [data-slot="faq-icon-minus"] {
- flex-shrink: 0;
- color: var(--color-text-weak);
- margin-top: 2px;
- [data-closed] & {
- display: none;
- }
- [data-expanded] & {
- display: block;
- }
- }
- [data-slot="faq-question-text"] {
- flex-grow: 1;
- text-align: left;
- }
- }
- [data-slot="faq-answer"] {
- margin-left: 40px;
- margin-bottom: 32px;
- line-height: 200%;
- }
- }
- [data-component="testimonials"] {
- border-top: 1px solid var(--color-border-weak);
- padding: var(--vertical-padding) var(--padding);
- display: flex;
- flex-direction: column;
- gap: 20px;
- @media (max-width: 60rem) {
- --padding: 1rem;
- --vertical-padding: 1rem;
- }
- a {
- text-decoration: none;
- }
- [data-slot="testimonial"] {
- background: var(--color-background-weak);
- border-radius: 6px;
- border: 1px solid var(--color-border-weak);
- padding: 20px;
- display: flex;
- flex-direction: column;
- gap: 12px;
- @media (max-width: 60rem) {
- flex-direction: column-reverse;
- gap: 24px;
- }
- [data-slot="name"] {
- display: flex;
- gap: 16px;
- @media (max-width: 60rem) {
- flex-direction: column;
- gap: 8px;
- }
- span {
- display: inline-block;
- }
- img {
- height: 24px;
- width: 24px;
- border-radius: 24px;
- }
- }
- [data-slot="quote"] {
- margin-left: 40px;
- @media (max-width: 60rem) {
- margin-left: 0;
- }
- span {
- color: var(--color-text);
- text-decoration: none;
- }
- }
- }
- [data-slot="button"] {
- all: unset;
- cursor: pointer;
- display: flex;
- align-items: center;
- color: var(--color-text);
- gap: var(--space-2-5);
- font-size: 1rem;
- @media (max-width: 24rem) {
- font-size: 0.875rem;
- }
- strong {
- color: var(--color-text-strong);
- font-weight: 500;
- }
- @media (max-width: 40rem) {
- justify-content: flex-start;
- }
- @media (max-width: 30rem) {
- justify-content: center;
- }
- }
- }
- [data-component="copy-status"] {
- [data-slot="copy"] {
- display: block;
- width: var(--space-4);
- height: var(--space-4);
- color: var(--color-text-weaker);
- [data-copied] & {
- display: none;
- }
- }
- [data-slot="check"] {
- display: none;
- width: var(--space-4);
- height: var(--space-4);
- color: var(--color-text-strong);
- [data-copied] & {
- display: block;
- }
- }
- }
- [data-component="footer"] {
- border-top: 1px solid var(--color-border-weak);
- display: flex;
- flex-direction: row;
- @media (max-width: 65rem) {
- border-bottom: 1px solid var(--color-border-weak);
- }
- [data-slot="cell"] {
- flex: 1;
- text-align: center;
- a {
- text-decoration: none;
- padding: 2rem 0;
- width: 100%;
- display: block;
- span {
- color: var(--color-text-weak);
- @media (max-width: 40rem) {
- display: none;
- }
- }
- }
- a:hover {
- background: var(--color-background-weak);
- text-decoration: underline;
- text-underline-offset: var(--space-1);
- text-decoration-thickness: 1px;
- }
- }
- [data-slot="cell"] + [data-slot="cell"] {
- border-left: 1px solid var(--color-border-weak);
- @media (max-width: 40rem) {
- border-left: none;
- }
- }
- /* Mobile: third column on its own row */
- @media (max-width: 25rem) {
- flex-wrap: wrap;
- [data-slot="cell"] {
- flex: 1 0 100%;
- border-left: none;
- border-top: 1px solid var(--color-border-weak);
- }
- [data-slot="cell"]:nth-child(1) {
- border-top: none;
- }
- }
- }
- [data-component="legal"] {
- color: var(--color-text-weak);
- text-align: center;
- display: flex;
- gap: 32px;
- justify-content: center;
- a {
- color: var(--color-text-weak);
- text-decoration: none;
- }
- a:hover {
- color: var(--color-text);
- text-decoration: underline;
- }
- }
- input:-webkit-autofill,
- input:-webkit-autofill:hover,
- input:-webkit-autofill:focus,
- input:-webkit-autofill:active {
- transition: background-color 5000000s ease-in-out 0s;
- }
- input:-webkit-autofill {
- -webkit-text-fill-color: var(--color-text-strong) !important;
- }
- input:-moz-autofill {
- -moz-text-fill-color: var(--color-text-strong) !important;
- }
- }
|