diff --git a/site/assets/fonts/OFL-Caveat.txt b/site/assets/fonts/LICENSE-GeistMono.txt similarity index 97% rename from site/assets/fonts/OFL-Caveat.txt rename to site/assets/fonts/LICENSE-GeistMono.txt index 5303054..8d003fe 100644 --- a/site/assets/fonts/OFL-Caveat.txt +++ b/site/assets/fonts/LICENSE-GeistMono.txt @@ -1,10 +1,9 @@ -Copyright 2014 The Caveat Project Authors (https://github.com/googlefonts/caveat) +Copyright (c) 2023 Vercel, in collaboration with basement.studio This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL - ----------------------------------------------------------- SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 ----------------------------------------------------------- @@ -44,7 +43,7 @@ new environment. "Author" refers to any designer, engineer, programmer, technical writer or other person who contributed to the Font Software. -PERMISSION & CONDITIONS +PERMISSION AND CONDITIONS Permission is hereby granted, free of charge, to any person obtaining a copy of the Font Software, to use, study, copy, merge, embed, modify, redistribute, and sell modified and unmodified copies of the Font diff --git a/site/assets/fonts/OFL-EB-Garamond.txt b/site/assets/fonts/OFL-EB-Garamond.txt deleted file mode 100644 index da3ca89..0000000 --- a/site/assets/fonts/OFL-EB-Garamond.txt +++ /dev/null @@ -1,93 +0,0 @@ -Copyright 2017 The EB Garamond Project Authors (https://github.com/octaviopardo/EBGaramond12) EBGaramond-Italic[wght].ttf: Copyright 2017 The EB Garamond Project Authors (https://github.com/octaviopardo/EBGaramond12) - -This Font Software is licensed under the SIL Open Font License, Version 1.1. -This license is copied below, and is also available with a FAQ at: -http://scripts.sil.org/OFL - - ------------------------------------------------------------ -SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 ------------------------------------------------------------ - -PREAMBLE -The goals of the Open Font License (OFL) are to stimulate worldwide -development of collaborative font projects, to support the font creation -efforts of academic and linguistic communities, and to provide a free and -open framework in which fonts may be shared and improved in partnership -with others. - -The OFL allows the licensed fonts to be used, studied, modified and -redistributed freely as long as they are not sold by themselves. The -fonts, including any derivative works, can be bundled, embedded, -redistributed and/or sold with any software provided that any reserved -names are not used by derivative works. The fonts and derivatives, -however, cannot be released under any other type of license. The -requirement for fonts to remain under this license does not apply -to any document created using the fonts or their derivatives. - -DEFINITIONS -"Font Software" refers to the set of files released by the Copyright -Holder(s) under this license and clearly marked as such. This may -include source files, build scripts and documentation. - -"Reserved Font Name" refers to any names specified as such after the -copyright statement(s). - -"Original Version" refers to the collection of Font Software components as -distributed by the Copyright Holder(s). - -"Modified Version" refers to any derivative made by adding to, deleting, -or substituting -- in part or in whole -- any of the components of the -Original Version, by changing formats or by porting the Font Software to a -new environment. - -"Author" refers to any designer, engineer, programmer, technical -writer or other person who contributed to the Font Software. - -PERMISSION & CONDITIONS -Permission is hereby granted, free of charge, to any person obtaining -a copy of the Font Software, to use, study, copy, merge, embed, modify, -redistribute, and sell modified and unmodified copies of the Font -Software, subject to the following conditions: - -1) Neither the Font Software nor any of its individual components, -in Original or Modified Versions, may be sold by itself. - -2) Original or Modified Versions of the Font Software may be bundled, -redistributed and/or sold with any software, provided that each copy -contains the above copyright notice and this license. These can be -included either as stand-alone text files, human-readable headers or -in the appropriate machine-readable metadata fields within text or -binary files as long as those fields can be easily viewed by the user. - -3) No Modified Version of the Font Software may use the Reserved Font -Name(s) unless explicit written permission is granted by the corresponding -Copyright Holder. This restriction only applies to the primary font name as -presented to the users. - -4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font -Software shall not be used to promote, endorse or advertise any -Modified Version, except to acknowledge the contribution(s) of the -Copyright Holder(s) and the Author(s) or with their explicit written -permission. - -5) The Font Software, modified or unmodified, in part or in whole, -must be distributed entirely under this license, and must not be -distributed under any other license. The requirement for fonts to -remain under this license does not apply to any document created -using the Font Software. - -TERMINATION -This license becomes null and void if any of the above conditions are -not met. - -DISCLAIMER -THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT -OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE -COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL -DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM -OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/site/assets/fonts/caveat-latin-500-normal.woff2 b/site/assets/fonts/caveat-latin-500-normal.woff2 deleted file mode 100644 index a1feeaf..0000000 Binary files a/site/assets/fonts/caveat-latin-500-normal.woff2 and /dev/null differ diff --git a/site/assets/fonts/eb-garamond-latin-400-italic.woff2 b/site/assets/fonts/eb-garamond-latin-400-italic.woff2 deleted file mode 100644 index f833540..0000000 Binary files a/site/assets/fonts/eb-garamond-latin-400-italic.woff2 and /dev/null differ diff --git a/site/assets/fonts/eb-garamond-latin-400-normal.woff2 b/site/assets/fonts/eb-garamond-latin-400-normal.woff2 deleted file mode 100644 index b51664d..0000000 Binary files a/site/assets/fonts/eb-garamond-latin-400-normal.woff2 and /dev/null differ diff --git a/site/assets/fonts/eb-garamond-latin-500-italic.woff2 b/site/assets/fonts/eb-garamond-latin-500-italic.woff2 deleted file mode 100644 index f7e45ef..0000000 Binary files a/site/assets/fonts/eb-garamond-latin-500-italic.woff2 and /dev/null differ diff --git a/site/assets/fonts/eb-garamond-latin-500-normal.woff2 b/site/assets/fonts/eb-garamond-latin-500-normal.woff2 deleted file mode 100644 index 9b5ae45..0000000 Binary files a/site/assets/fonts/eb-garamond-latin-500-normal.woff2 and /dev/null differ diff --git a/site/assets/fonts/geist-mono.woff2 b/site/assets/fonts/geist-mono.woff2 new file mode 100644 index 0000000..af516ca Binary files /dev/null and b/site/assets/fonts/geist-mono.woff2 differ diff --git a/site/assets/site.css b/site/assets/site.css index b12ba67..98d2a57 100644 --- a/site/assets/site.css +++ b/site/assets/site.css @@ -1,8 +1,5 @@ -@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/eb-garamond-latin-400-normal.woff2") format("woff2"); } -@font-face { font-family: "EB Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/eb-garamond-latin-400-italic.woff2") format("woff2"); } -@font-face { font-family: "EB Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/eb-garamond-latin-500-normal.woff2") format("woff2"); } -@font-face { font-family: "EB Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("fonts/eb-garamond-latin-500-italic.woff2") format("woff2"); } -@font-face { font-family: Caveat; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/caveat-latin-500-normal.woff2") format("woff2"); } +/* Geist Mono: the one web font in the Basalt system, for labels and data. */ +@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("fonts/geist-mono.woff2") format("woff2"); } /* Folio's own palette: the desk, the page, the ink. */ :root { @@ -17,9 +14,20 @@ --quill: #1c3d72; --card: #fbf8f2; --shadow: 62, 44, 28; - --serif: "EB Garamond", "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif; - --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; - --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; + /* Shared Basalt design system: type, motion and shape (the colours above stay Folio's own). */ + --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; + --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; + --mono: "Geist Mono", ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace; + --ease-out: cubic-bezier(0.23, 1, 0.32, 1); + --dur-press: 120ms; + --dur-hover: 150ms; + --press-scale: 0.97; + --radius-xs: 6px; + --radius-sm: 10px; + --radius-md: 14px; + --radius-lg: 20px; + --radius-pill: 999px; + --tap-min: 44px; color-scheme: light dark; } @media (prefers-color-scheme: dark) { @@ -45,52 +53,61 @@ body { margin: 0; background: var(--desk); color: var(--ink); - font: 400 19px/1.55 var(--serif); + font: 400 17px/1.5 var(--sans); + -webkit-font-smoothing: antialiased; overflow-x: hidden; } img { max-width: 100%; height: auto; display: block; } a { color: var(--terra); text-underline-offset: 3px; } -:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; border-radius: 4px; } -code { font-family: var(--mono); font-size: 0.82em; background: color-mix(in srgb, var(--ink) 7%, transparent); padding: 0.1em 0.35em; border-radius: 4px; } +:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; border-radius: var(--radius-xs); } +h1, h2, h3 { font-family: var(--display); text-wrap: balance; } +p { text-wrap: pretty; } +code { font-family: var(--mono); font-size: 0.82em; background: color-mix(in srgb, var(--ink) 7%, transparent); padding: 0.1em 0.35em; border-radius: var(--radius-xs); } .wrap { width: min(1120px, 100% - 32px); margin-inline: auto; } -.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--page); padding: 8px 12px; border-radius: 8px; z-index: 10; } +.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--page); padding: 8px 12px; border-radius: var(--radius-sm); z-index: 10; } .skip:focus { left: 8px; } /* Header */ -.nav { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--desk) 86%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; } -.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; } +.nav { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--desk) 72%, transparent); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid transparent; } +/* The hairline shows once content passes under the bar (scroll-driven, no JS). */ +@supports (animation-timeline: scroll()) { + .nav { animation: nav-hairline linear both; animation-timeline: scroll(); animation-range: 0 48px; } + @keyframes nav-hairline { to { border-bottom-color: var(--rule); } } +} +.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 52px; } .brand-lockup { display: flex; align-items: center; min-width: 0; } -.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 24px; font-weight: 500; letter-spacing: 0.01em; } +.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 600 17px/1 var(--display); letter-spacing: -0.01em; } .brand img { width: 28px; height: 28px; border-radius: 6px; } .by-basalt { font: 400 0.75rem/1 var(--mono); letter-spacing: 0.04em; color: var(--soft); text-decoration: none; margin-left: 10px; padding-top: 4px; white-space: nowrap; } -.nav-links { display: flex; gap: 28px; font-size: 17px; } +.nav-links { display: flex; gap: 28px; font-size: 15px; } .nav-links a { color: var(--soft); text-decoration: none; } .nav-end { display: flex; align-items: center; gap: 14px; } -.nav-gh { display: inline-flex; align-items: center; gap: 6px; color: var(--soft); text-decoration: none; font-size: 17px; } +.nav-gh { display: inline-flex; align-items: center; gap: 6px; color: var(--soft); text-decoration: none; font-size: 15px; } .nav-gh svg { width: 18px; height: 18px; } /* Buttons */ -.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 999px; text-decoration: none; font: 500 15px/1 var(--sans); padding: 12px 20px; border: 1px solid transparent; transition: background-color .15s, color .15s, border-color .15s, transform .16s cubic-bezier(.23, 1, .32, 1); } -.btn:active { transform: scale(.97); } +.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--tap-min); border-radius: var(--radius-pill); text-decoration: none; font: 500 15px/1 var(--sans); letter-spacing: -0.005em; white-space: nowrap; padding: 0 20px; border: 1px solid transparent; touch-action: manipulation; -webkit-user-select: none; user-select: none; transition: background-color var(--dur-hover) ease, color var(--dur-hover) ease, border-color var(--dur-hover) ease, transform var(--dur-press) var(--ease-out); } +.btn:active { transform: scale(var(--press-scale)); } +@media (prefers-reduced-motion: reduce) { .btn:active { transform: none; } } .btn svg { width: 18px; height: 18px; } .btn-primary { background: var(--ink); color: var(--page); } .btn-secondary { background: transparent; color: var(--ink); border-color: var(--rule); } -.btn-sm { padding: 9px 15px; font-size: 14px; } -.btn-lg { padding: 15px 26px; font-size: 16px; } +.btn-sm { min-height: 36px; padding: 0 14px; font-size: 13px; } +.btn-lg { min-height: 52px; padding: 0 26px; font-size: 17px; } /* Hero: the headline in the middle, real pieces of the app around it. */ .hero { position: relative; padding: 72px 0 40px; } .hero-center { position: relative; z-index: 2; max-width: 620px; margin: 0 auto; text-align: center; } -.kicker { font: 500 13px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--soft); margin: 0 0 22px; } -.hero h1 { font-weight: 500; font-size: clamp(44px, 6.4vw, 78px); line-height: 0.98; letter-spacing: -0.015em; margin: 0; } -.hero h1 em { color: var(--terra); } -.lede { font-size: clamp(19px, 2.2vw, 22px); line-height: 1.5; color: var(--soft); margin: 26px auto 0; max-width: 28em; } +.kicker { font: 500 12px/1.3 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--soft); margin: 0 0 22px; } +.hero h1 { font-weight: 700; font-size: clamp(42px, 6.4vw, 76px); line-height: 1.04; letter-spacing: -0.025em; margin: 0; } +.hero h1 em { color: var(--terra); font-style: normal; } +.lede { font-size: clamp(19px, 2.2vw, 21px); line-height: 1.45; letter-spacing: -0.01em; color: var(--soft); margin: 26px auto 0; max-width: 28em; } .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; } -.trust { font: 400 14px/1.5 var(--sans); color: var(--soft); margin: 16px 0 0; } +.trust { font: 400 13px/1.4 var(--sans); color: var(--soft); margin: 16px 0 0; } .trust a { color: var(--soft); } .floats { position: absolute; inset: 0; z-index: 1; pointer-events: none; } -.float { position: absolute; margin: 0; background: var(--card); border-radius: 12px; box-shadow: 0 1px 2px rgba(var(--shadow), .10), 0 14px 34px -10px rgba(var(--shadow), .30); overflow: hidden; } +.float { position: absolute; margin: 0; background: var(--card); border-radius: var(--radius-md); box-shadow: 0 1px 2px rgba(var(--shadow), .10), 0 14px 34px -10px rgba(var(--shadow), .30); overflow: hidden; } .float img { width: 100%; } .f1 { width: 220px; left: 0; top: 10px; transform: rotate(-4deg); } .f2 { width: 210px; left: 20px; top: 300px; transform: rotate(3deg); } @@ -99,49 +116,49 @@ code { font-family: var(--mono); font-size: 0.82em; background: color-mix(in srg @media (max-width: 1160px) { .floats { display: none; } .hero { padding-top: 56px; } } .hero-shot { position: relative; z-index: 2; margin: 64px auto 0; max-width: 1100px; } -.frame { margin: 0; border-radius: 14px; overflow: hidden; background: var(--desk-2); box-shadow: 0 1px 2px rgba(var(--shadow), .10), 0 30px 70px -24px rgba(var(--shadow), .45); border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); } +.frame { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--desk-2); box-shadow: 0 1px 2px rgba(var(--shadow), .10), 0 30px 70px -24px rgba(var(--shadow), .45); border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); } .frame img { width: 100%; } -.caption { font-style: italic; color: var(--soft); text-align: center; font-size: 17px; margin: 16px auto 0; max-width: 46em; } +.caption { color: var(--soft); text-align: center; font-size: 15px; line-height: 1.45; margin: 16px auto 0; max-width: 46em; } /* Sections */ .section { padding: 96px 0; } .section + .section { border-top: 1px solid var(--rule); } -.eyebrow { font: 500 13px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--terra); margin: 0 0 14px; } +.eyebrow { font: 500 12px/1.3 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--terra); margin: 0 0 14px; } .section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; } -.section-head h2 { font-weight: 500; font-size: clamp(34px, 4.6vw, 52px); line-height: 1.05; letter-spacing: -0.01em; margin: 0; } -.section-head p { color: var(--soft); font-size: 20px; margin: 18px 0 0; } +.section-head h2 { font-weight: 700; font-size: clamp(32px, 4.6vw, 52px); line-height: 1.05; letter-spacing: -0.025em; margin: 0; } +.section-head p { color: var(--soft); font-size: 21px; line-height: 1.45; letter-spacing: -0.01em; margin: 18px 0 0; } .glossary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; } -.glossary li { background: var(--page); border: 1px solid var(--rule); border-radius: 12px; padding: 24px 22px 22px; } -.glossary b { display: block; font-weight: 500; font-size: 26px; line-height: 1.1; } -.glossary .is { display: block; font: 500 12px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft); margin: 8px 0 12px; } -.glossary p { margin: 0; color: var(--soft); font-size: 17.5px; line-height: 1.5; } -.ink { font-family: Caveat, cursive; color: var(--quill); font-size: 1.22em; line-height: 1.1; } +.glossary li { background: var(--page); border: 1px solid var(--rule); border-radius: var(--radius-md); padding: 24px 22px 22px; } +.glossary b { display: block; font: 600 28px/1.18 var(--display); letter-spacing: -0.015em; } +.glossary .is { display: block; font: 500 12px/1.3 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--soft); margin: 8px 0 12px; } +.glossary p { margin: 0; color: var(--soft); font-size: 15px; line-height: 1.45; } +.ink { font-style: italic; color: var(--quill); } .mark { color: var(--terra); font-size: 0.7em; position: relative; top: -0.5em; } .feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; } .feature + .feature { margin-top: 96px; } .feature.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } .feature.flip .feature-copy { order: 2; } -.feature h3 { font-weight: 500; font-size: clamp(28px, 3.4vw, 38px); line-height: 1.1; margin: 0 0 16px; } +.feature h3 { font-weight: 700; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 16px; } .feature p { margin: 0 0 14px; color: var(--soft); } .feature ul { margin: 0; padding-left: 1.1em; color: var(--soft); } .feature li { margin: 0 0 8px; } -.feature li b { color: var(--ink); font-weight: 500; } +.feature li b { color: var(--ink); font-weight: 600; } /* The catch */ .catch { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; } -.catch li { background: var(--page); border: 1px solid var(--rule); border-radius: 12px; padding: 22px 24px; } -.catch h3 { font-weight: 500; font-size: 23px; margin: 0 0 8px; } -.catch p { margin: 0; color: var(--soft); font-size: 17.5px; } +.catch li { background: var(--page); border: 1px solid var(--rule); border-radius: var(--radius-md); padding: 22px 24px; } +.catch h3 { font-weight: 600; font-size: 21px; line-height: 1.3; letter-spacing: -0.01em; margin: 0 0 8px; } +.catch p { margin: 0; color: var(--soft); font-size: 15px; line-height: 1.45; } /* Download */ .download { text-align: center; } .platforms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; text-align: left; margin-top: 8px; } -.platform { background: var(--page); border: 1px solid var(--rule); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; } -.platform h3 { font-weight: 500; font-size: 26px; margin: 0 0 4px; } +.platform { background: var(--page); border: 1px solid var(--rule); border-radius: var(--radius-md); padding: 24px; display: flex; flex-direction: column; } +.platform h3 { font-weight: 600; font-size: 21px; line-height: 1.3; letter-spacing: -0.01em; margin: 0 0 4px; } .platform .files { font: 400 13px/1.5 var(--mono); color: var(--soft); margin: 0 0 14px; } -.platform ol { margin: 0 0 18px; padding-left: 1.2em; color: var(--soft); font-size: 17px; } +.platform ol { margin: 0 0 18px; padding-left: 1.2em; color: var(--soft); font-size: 15px; line-height: 1.45; } .platform li { margin-bottom: 6px; } .platform .btn { margin-top: auto; align-self: flex-start; } .note { color: var(--soft); font-size: 17px; max-width: 46em; margin: 28px auto 0; } @@ -149,36 +166,36 @@ code { font-family: var(--mono); font-size: 0.82em; background: color-mix(in srg /* FAQ */ .faq { max-width: 780px; margin: 0 auto; } .faq details { border-bottom: 1px solid var(--rule); } -.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; position: relative; font-size: 22px; font-weight: 500; } +.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; position: relative; font-size: 17px; font-weight: 600; letter-spacing: -0.005em; } .faq summary::-webkit-details-marker { display: none; } -.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 28px; color: var(--soft); font-weight: 400; } +.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 24px; color: var(--soft); font-weight: 400; } .faq details[open] summary::after { content: "−"; } .faq details p { margin: 0 0 20px; color: var(--soft); } /* Documents: privacy, terms, 404 */ .doc { padding: 64px 0 96px; } .doc-wrap { max-width: 760px; } -.doc h1 { font-weight: 500; font-size: clamp(40px, 6vw, 58px); line-height: 1.05; margin: 0 0 8px; } -.doc-meta { color: var(--soft); font-style: italic; margin: 0 0 36px; } -.doc h2 { font-weight: 500; font-size: 28px; margin: 40px 0 10px; } +.doc h1 { font-weight: 700; font-size: clamp(40px, 6vw, 58px); line-height: 1.04; letter-spacing: -0.025em; margin: 0 0 8px; } +.doc-meta { color: var(--soft); font-size: 15px; margin: 0 0 36px; } +.doc h2 { font-weight: 600; font-size: 28px; line-height: 1.18; letter-spacing: -0.015em; margin: 40px 0 10px; } .doc p, .doc li { color: var(--soft); } .doc li { margin-bottom: 8px; } -.doc b { color: var(--ink); font-weight: 500; } +.doc b { color: var(--ink); font-weight: 600; } .doc code { overflow-wrap: anywhere; } -.doc .lede-doc { font-size: 22px; color: var(--ink); } +.doc .lede-doc { font-size: 21px; line-height: 1.45; letter-spacing: -0.01em; color: var(--ink); } /* Basalt product footer (basalt/footer), mapped to Folio's tokens. */ .footer { --bg-2: var(--desk-2); --ink-2: var(--ink); --ink-3: var(--soft); font-family: var(--sans); } -.footer { border-top: 1px solid var(--rule); background: var(--bg-2); padding-block: 48px 36px; font-size: 14px; } +.footer { border-top: 1px solid var(--rule); background: var(--bg-2); padding-block: 48px 36px; font-size: 13px; } .footer .wrap { width: min(1080px, 100% - 32px); margin-inline: auto; } -.footer .brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; font-size: 18px; text-decoration: none; font-family: var(--serif); } +.footer .brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font: 600 17px/1 var(--display); letter-spacing: -0.01em; text-decoration: none; } .footer .brand img { width: 24px; height: 24px; display: block; } .footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 32px; } .footer-brand p { color: var(--ink-3); margin: 10px 0 0; max-width: 26em; } .footer nav { display: grid; gap: 8px; align-content: start; } .footer nav a { color: var(--ink-2); text-decoration: none; } .f-title { font-weight: 600; color: var(--ink); margin: 0 0 4px; } -.footer-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--rule); display: grid; gap: 8px; color: var(--ink-3); font-size: 12.5px; } +.footer-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--rule); display: grid; gap: 8px; color: var(--ink-3); font-size: 12px; } .footer-base p { margin: 0; } .footer-base a { color: var(--ink-2); } @@ -192,7 +209,6 @@ code { font-family: var(--mono); font-size: 0.82em; background: color-mix(in srg } @media (max-width: 800px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } } @media (max-width: 560px) { - body { font-size: 18px; } .glossary { grid-template-columns: minmax(0, 1fr); } .nav-gh span { display: none; } .hero-shot { margin-top: 44px; } @@ -203,7 +219,7 @@ code { font-family: var(--mono); font-size: 0.82em; background: color-mix(in srg .doc-wrap.center { text-align: center; } .doc .lede-doc.soft { color: var(--soft); } .doc .back { margin-top: 28px; } -.section-head .eyebrow { color: var(--terra); font-size: 13px; margin: 0 0 14px; } +.section-head .eyebrow { color: var(--terra); margin: 0 0 14px; } .trust a { white-space: nowrap; } .doc .eyebrow { color: var(--terra); } @@ -224,10 +240,18 @@ code { font-family: var(--mono); font-size: 0.82em; background: color-mix(in srg .nav-gh { min-height: 44px; min-width: 44px; justify-content: center; } .brand { min-height: 44px; } .nav-end .btn-sm { position: relative; } - .nav-end .btn-sm::after { content: ""; position: absolute; inset: -6px -4px; } + .nav-end .btn-sm::after { content: ""; position: absolute; inset: -4px 0; } .by-basalt { padding-block: 14px 10px; } .footer nav { gap: 0; } .footer nav a { padding-block: 10px; } .footer-base a, .trust a, .catch a { display: inline-block; padding-block: 10px; margin-block: -10px; } } .frame picture { display: block; } + +/* Basalt system: solid chrome when the visitor turns transparency down, stronger lines with more contrast. */ +@media (prefers-reduced-transparency: reduce) { + .nav { background: var(--desk); -webkit-backdrop-filter: none; backdrop-filter: none; } +} +@media (prefers-contrast: more) { + .glossary li, .catch li, .platform, .faq details, .section + .section, .btn-secondary { border-color: var(--soft); } +}