/* Guides: the home page's white studio and type, set for reading. */
:root {
  --studio: #ffffff; --paper: #f4f5f7; --ink: #0f1012; --ink-2: #3a3c41; --line: rgba(15, 16, 18, 0.14);
  --night: #03070f; --snow: #f4f6fa; --fog: #a2a9b6; --line-night: rgba(255, 255, 255, 0.14); --focus: #ffb52e;
  --font: "Archivo", "Archivo Fallback", "Helvetica Neue", Arial, sans-serif;
}
@font-face { font-family: "Archivo Fallback"; src: local("Arial Bold"), local("Arial"); font-weight: 700 900; size-adjust: 116%; }
@font-face { font-family: "Archivo Fallback"; src: local("Arial"); font-weight: 400 650; size-adjust: 98%; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--studio); color: var(--ink); font: 400 18px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.night :focus-visible, footer :focus-visible { outline-color: var(--focus); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
@media (max-width: 520px) { .wrap { padding: 0 max(20px, env(safe-area-inset-right)) 0 max(20px, env(safe-area-inset-left)); } }
[hidden] { display: none !important; }
.label-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.display { font-weight: 700; font-stretch: 118%; letter-spacing: -0.035em; line-height: 0.96; margin: 0; text-wrap: balance; }
.nowrap { white-space: nowrap; }
.night { background: var(--night); color: var(--snow); }

/* header and footer: the same as the home page */
header.top { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, 0.86); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 1px 0 rgba(15, 16, 18, 0.07); }
header.top .bar { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: italic 900 23px/1 var(--font); font-stretch: 112%; letter-spacing: -0.02em; }
.brand img { width: 32px; height: 32px; }
nav { display: flex; align-items: center; gap: 30px; }
nav a { text-decoration: none; font-weight: 500; font-size: 16px; color: var(--ink-2); }
nav a:hover, nav a[aria-current="page"] { color: var(--ink); }
nav a.pill { color: #fff; background: var(--ink); font-weight: 650; padding: 11px 18px; border-radius: 999px; }
nav a.pill:hover { background: #2a2c31; }
@media (max-width: 900px) { nav a:not(.pill) { display: none; } }
@media (max-width: 440px) { nav a.pill { padding: 11px 16px; font-size: 15px; } }
footer { background: var(--night); color: var(--fog); font-size: 14px; padding: 40px 0 56px; }
footer .row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; border-top: 1px solid var(--line-night); padding-top: 28px; margin-bottom: 18px; }
footer .brand { color: var(--snow); }
footer .links { margin: 0; display: flex; flex-wrap: wrap; gap: 0 24px; }
footer .links a { color: var(--fog); font-weight: 500; text-decoration: none; display: inline-block; padding: 12px 0; }
footer .links a:hover { color: var(--snow); }
footer p { max-width: 64em; margin: 0 0 6px; }

/* the article */
.crumbs { margin: clamp(28px, 4vw, 56px) 0 18px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
article { max-width: 760px; }
article h1 { font-size: clamp(40px, 6.4vw, 84px); margin-bottom: 28px; }
.answer { margin: 0 0 clamp(40px, 5vw, 64px); padding: 22px 24px 24px; background: var(--paper); border-radius: 18px; }
.answer b { display: block; font: 700 15px/1.2 var(--font); letter-spacing: 0.01em; margin-bottom: 8px; }
.answer p { margin: 0; font-size: clamp(19px, 1.6vw, 21px); line-height: 1.5; text-wrap: pretty; }
article h2 { font: 700 clamp(26px, 2.6vw, 34px)/1.15 var(--font); font-stretch: 112%; letter-spacing: -0.02em; margin: clamp(44px, 5vw, 64px) 0 16px; text-wrap: balance; }
article h3 { font: 650 20px/1.3 var(--font); margin: 28px 0 8px; }
article p, article li { color: var(--ink-2); text-wrap: pretty; }
article p { margin: 0 0 18px; }
article strong { color: var(--ink); font-weight: 650; }
article ul, article ol { margin: 0 0 22px; padding-left: 24px; }
article li { margin: 0 0 10px; padding-left: 4px; }
article ol.steps { list-style: none; padding: 0; counter-reset: s; border-top: 1px solid var(--line); }
article ol.steps > li { counter-increment: s; display: grid; grid-template-columns: 2.6em minmax(0, 1fr); padding: 18px 0 16px; margin: 0; border-bottom: 1px solid var(--line); }
article ol.steps > li::before { content: counter(s); font: 700 17px/1.6 var(--font); color: var(--ink); font-variant-numeric: tabular-nums; }
article ol.steps > li > div > :last-child { margin-bottom: 0; }
article ol.steps h3 { margin: 0 0 6px; }
article ol.steps > li > div > p:first-child { margin-top: 0; }
kbd { font: 650 14px/1 var(--font); color: #1d2025; background: linear-gradient(#f7f8fa, #dfe3e8); border-radius: 5px 5px 7px 7px; padding: 3px 7px 4px; box-shadow: 0 2px 0 #8d949e; white-space: nowrap; }
code { font: 500 0.9em/1 ui-monospace, "SF Mono", Menlo, monospace; background: var(--paper); padding: 2px 6px; border-radius: 5px; color: var(--ink); }

/* a calculator screen, framed like the one on the home page */
.shot { margin: 30px 0 34px; max-width: 520px; }
.shot .bezel { padding: 12px; border-radius: 18px; background: #24282f; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 30px 60px -32px rgba(15, 16, 18, 0.7); }
.shot img { display: block; width: 100%; height: auto; border-radius: 4px; }
.shot figcaption { margin-top: 12px; font-size: 15px; color: var(--ink-2); }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 760px; }
.pair .shot { margin: 30px 0 34px; }
@media (max-width: 600px) { .pair { grid-template-columns: minmax(0, 1fr); gap: 0; } .pair .shot + .shot { margin-top: 0; } }

/* the easy way: the dark band, with the sign-up */
.easy { margin-top: clamp(64px, 8vw, 104px); padding: clamp(56px, 7vw, 96px) 0; }
.easy .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 32px clamp(32px, 6vw, 96px); align-items: center; }
.easy h2 { font-size: clamp(36px, 5vw, 64px); margin-bottom: 18px; }
.easy p { color: var(--fog); margin: 0 0 14px; font-size: clamp(18px, 1.5vw, 20px); max-width: 30em; }
.easy .offer { color: var(--snow); font: 700 clamp(22px, 2.1vw, 28px)/1.2 var(--font); font-stretch: 112%; letter-spacing: -0.015em; margin: 26px 0 16px; text-wrap: balance; max-width: 18em; }
.easy figure { margin: 0; }
.easy img { display: block; width: 100%; height: auto; -webkit-mask-image: radial-gradient(closest-side, #000 70%, transparent 100%); mask-image: radial-gradient(closest-side, #000 70%, transparent 100%); }
@media (max-width: 860px) { .easy .wrap { grid-template-columns: minmax(0, 1fr); } .easy figure { max-width: 360px; margin: 0 auto; } }
form.waitlist { display: flex; gap: 6px; max-width: 500px; padding: 6px; background: #fff; border-radius: 999px; }
form.waitlist:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
form.waitlist input { flex: 1 1 0; min-width: 0; font: 400 18px var(--font); padding: 0 8px 0 20px; border: 0; background: none; color: var(--ink); outline: none; }
form.waitlist input::placeholder { color: #70747c; }
.btn { display: inline-flex; align-items: center; justify-content: center; font: 650 16px/1 var(--font); padding: 16px 22px; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none; white-space: nowrap; background: var(--ink); color: #fff; }
.btn:hover { background: #2a2c31; }
.btn[disabled] { opacity: 0.6; }
@media (max-width: 400px) { form.waitlist .btn { padding: 15px 16px; font-size: 16px; } form.waitlist input { padding-left: 16px; font-size: 17px; } }
.status { min-height: 1.4em; margin: 12px 0 0; font-size: 15px; color: var(--snow); }
.status.bad { color: #ffb4a8; }
.form-note { font-size: 14px; color: var(--fog); margin: 4px 0 0; }
.joined p { color: var(--snow); font-weight: 650; font-size: 19px; }

/* more guides */
.more { padding: clamp(56px, 7vw, 96px) 0 clamp(64px, 8vw, 112px); }
.more h2 { font: 700 clamp(26px, 2.6vw, 34px)/1.15 var(--font); font-stretch: 112%; letter-spacing: -0.02em; margin: 0 0 18px; }
.list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); max-width: 760px; }
.list li { border-bottom: 1px solid var(--line); }
.list a { display: block; padding: 20px 0; text-decoration: none; }
.list a b { display: block; font: 650 20px/1.3 var(--font); }
.list a span { display: block; margin-top: 4px; color: var(--ink-2); }
.list a:hover b { text-decoration: underline; text-underline-offset: 4px; }

/* the guides index */
.index-head h1 { font-size: clamp(44px, 8vw, 112px); margin-bottom: 22px; }
.index-head p { font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-2); max-width: 30em; margin: 0 0 clamp(36px, 5vw, 56px); }
