/* Landed: Daylight keynote. Light grey ground, white rounded surfaces,
   system San Francisco type, one Apple-style blue, real-looking keycaps. */

:root {
  --bg: #f5f5f7;
  --card: #ffffff;
  --card-2: #fafafc;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --faint: #86868b;
  --blue: #0066d6;
  --blue-bright: #1a7cf0;
  --blue-soft: #eef5ff;
  --green: #1f8a4c;
  --red: #d70015;
  --line: #d2d2d7;
  --todo: #fff4d6;

  --cap-top: #fdfdfd;
  --cap-bottom: #ececf0;
  --cap-edge: #c9c9cf;

  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 24px;
  --s6: 32px;
  --s7: 48px;
  --s8: 80px;
  --s9: 120px;

  --measure: 680px;
  --wide: 1040px;
  --gutter: clamp(16px, 4vw, 40px);

  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); color: var(--ink); font: 17px/1.55 var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
main { flex: 1 0 auto; }
img { max-width: 100%; display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-bright); }

h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -0.035em; line-height: 1.06; text-wrap: balance; }
h1 { font-size: clamp(44px, 7vw, 88px); }
h2 { font-size: clamp(34px, 5vw, 56px); }
h3 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0; }

.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }

/* Header: only the lockup, centred, like oort */
.site-header .wrap { display: flex; justify-content: center; align-items: center; min-height: 72px; }
.lockup { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.wordmark { display: inline-flex; align-items: center; gap: 8px; font: 700 20px/1 var(--display); letter-spacing: -0.03em; color: var(--ink); text-decoration: none; }
.wordmark:hover { color: var(--blue-bright); }
.wordmark .mark { width: 26px; height: 26px; }
.by { display: inline-flex; align-items: center; gap: 5px; font: 400 14px/1 var(--text); color: var(--muted); text-decoration: none; }
.by:hover { color: var(--blue-bright); }
.by-logo { width: 12px; height: 12px; flex: none; }

/* Inline keycaps (in text) */
.combo { display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; vertical-align: baseline; }
kbd {
  display: inline-flex; align-items: center; gap: 3px; justify-content: center;
  min-width: 1.8em; padding: 0.04em 0.45em 0.08em;
  font: 500 0.8em/1.5 var(--text); color: #3a3a3c;
  background: linear-gradient(var(--cap-top), var(--cap-bottom));
  border-radius: 6px; box-shadow: 0 1px 0 #fff inset, 0 1px 2px rgba(0, 0, 0, 0.12), 0 1.5px 0 var(--cap-edge);
  position: relative; top: -1px;
}
.combo.win kbd { color: #4b5563; background: linear-gradient(#f6f7fb, #e7e9f0); }
.kp { color: var(--faint); font-size: 0.8em; }
.kw { font-size: 0.92em; }

/* Buttons and forms */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 46px; padding: 0 22px; border-radius: 980px; border: 0;
  font: 500 17px/1 var(--text); letter-spacing: -0.01em; white-space: nowrap;
  color: #fff; background: var(--blue); cursor: pointer; text-decoration: none;
  transition: background-color 150ms ease;
}
.btn { transition: background-color 150ms ease, box-shadow 150ms ease, color 150ms ease; }
.btn:hover { color: #fff; background: var(--blue-bright); }
.btn-alt { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--blue); }
.btn-alt:hover { color: var(--blue-bright); background: rgba(0, 102, 214, 0.07); box-shadow: inset 0 0 0 1.5px var(--blue-bright); }
.btn:focus-visible, input:focus-visible, button:focus-visible, summary:focus-visible, a:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.signup { display: flex; gap: var(--s2); flex-wrap: wrap; max-width: 480px; }
.signup input[type="email"] {
  flex: 1 1 220px; min-height: 46px; padding: 0 var(--s4);
  font: 400 17px/1 var(--text); color: var(--ink);
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
}
.signup input::placeholder { color: var(--faint); }
.signup-status { flex-basis: 100%; color: var(--green); font-weight: 500; }
.signup-status:empty { display: none; }

/* Sections */
.section { padding: var(--s9) 0 0; }
.center { text-align: center; }
.section-head { display: grid; gap: var(--s3); margin-bottom: var(--s7); }
.section-head.center { justify-items: center; }
.section-head p { color: var(--muted); font-size: clamp(19px, 2vw, 22px); max-width: 36ch; }
.surface { background: none; }

/* Home: hero */
.hero { padding: var(--s8) 0 0; text-align: center; }
.hero .wrap { display: grid; gap: var(--s5); justify-items: center; }
.hero h1 { max-width: 12ch; }
.hero .lede { font-size: clamp(19px, 2.2vw, 24px); color: var(--muted); max-width: 32ch; text-wrap: balance; }
.hero .signup { justify-content: center; }
.hero-meta { color: var(--muted); font-size: 14px; }

.stage {
  margin-top: var(--s6); width: min(900px, 100%);
  background: linear-gradient(#ffffff, #ebebf0); border-radius: 36px;
  padding: clamp(28px, 6vw, 64px) var(--s5) var(--s6);
  display: grid; gap: var(--s5); justify-items: center;
}
.stage-keys { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(8px, 1.6vw, 18px); min-height: clamp(70px, 12vw, 128px); }
.k {
  min-width: clamp(56px, 10vw, 112px); height: clamp(56px, 10vw, 112px); padding: 0 clamp(10px, 1.6vw, 20px);
  border-radius: clamp(13px, 2.2vw, 24px);
  background: linear-gradient(var(--cap-top), var(--cap-bottom));
  box-shadow: 0 1px 0 #fff inset, 0 10px 24px rgba(0, 0, 0, 0.1), 0 2px 0 var(--cap-edge);
  display: grid; place-content: center; text-align: center;
  font: 600 clamp(17px, 2.4vw, 28px)/1.1 var(--display); color: #3a3a3c; letter-spacing: -0.01em;
}
.k small { display: block; font: 500 0.48em/1.2 var(--text); color: var(--muted); letter-spacing: 0; margin-top: 2px; }
.k.mac { color: var(--blue); }
.stage-plus { font: 500 clamp(18px, 2.6vw, 30px)/1 var(--display); color: #a1a1a6; }
.stage-arrow { font: 500 clamp(20px, 3vw, 34px)/1 var(--display); color: #a1a1a6; padding: 0 var(--s2); }
.stage-what { color: var(--muted); max-width: 50ch; min-height: 3.2em; font-size: 16.5px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s2); }
.chip { min-height: 36px; padding: 0 var(--s4); border-radius: 980px; border: 0; font: 500 14.5px/1 var(--text); color: var(--ink); background: rgba(0, 0, 0, 0.06); cursor: pointer; white-space: nowrap; transition: background-color 150ms ease, color 150ms ease; }
.chip:hover { background: var(--blue-soft); color: var(--blue); }
.chip[aria-pressed="true"]:hover { background: var(--ink); color: #fff; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .stage-keys.swap .k { animation: press 260ms ease; }
  @keyframes press { 40% { transform: translateY(3px); box-shadow: 0 1px 0 #fff inset, 0 4px 10px rgba(0, 0, 0, 0.1), 0 0 0 var(--cap-edge); } }
}

/* Home: how it works */
.how { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--s8) var(--s7); }
.how-tile { display: grid; gap: var(--s3); align-content: start; }
.how-tile.wide { grid-column: span 6; grid-template-columns: 1fr 1fr; gap: var(--s6); align-items: center; }
.how-tile.half { grid-column: span 3; }
.how-tile p { color: var(--muted); }
.how-copy { display: grid; gap: var(--s3); align-content: start; }
.step { font: 600 15px/1 var(--text); color: var(--blue); }
.how-tile h3 { font-size: clamp(24px, 2.6vw, 30px); }
/* small macOS-looking UI pieces */
.mac-window { background: var(--card-2); border-radius: 14px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 18px 40px rgba(0, 0, 0, 0.08); overflow: hidden; font-size: 15px; }
.mac-bar { display: flex; gap: 7px; align-items: center; padding: 11px 14px; background: #f0f0f3; }
.mac-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.mac-bar i:nth-child(2) { background: #febc2e; }
.mac-bar i:nth-child(3) { background: #28c840; }
.mac-bar span { margin-left: 8px; color: var(--muted); font-size: 13px; font-weight: 500; }
.setting { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); padding: 13px 16px; }
.setting + .setting { box-shadow: 0 -1px 0 #ececf0; }
.setting b { font-weight: 500; }
.toggle { width: 38px; height: 22px; border-radius: 11px; background: #34c759; position: relative; flex: none; }
.toggle::after { content: ""; position: absolute; top: 2px; right: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); }
.toggle.off { background: #e3e3e8; }
.toggle.off::after { right: auto; left: 2px; }
.bubble { margin-top: var(--s4); display: inline-flex; gap: var(--s3); align-items: center; padding: 12px 16px; background: rgba(255, 255, 255, 0.92); border-radius: 16px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 12px 30px rgba(0, 0, 0, 0.1); font-size: 15px; }
.bubble .dot { width: 30px; height: 30px; flex: none; }
.typed { margin-top: var(--s4); display: grid; gap: var(--s2); font-size: 15.5px; max-width: 360px; }
.typed .row { display: flex; justify-content: space-between; gap: var(--s4); }
.typed .row span:last-child { color: var(--green); font-weight: 500; }

/* Habits table */
.habits { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 16.5px; }
.habits th { text-align: left; font-size: 14px; font-weight: 600; color: var(--muted); padding: var(--s5) var(--s5) var(--s3); }
.habits td { padding: var(--s4) var(--s5); vertical-align: top; color: var(--muted); }
.habits td:first-child { color: var(--ink); font-weight: 600; }
.habits td.fixed { color: var(--ink); font-weight: 500; }
.habits th:last-child { color: var(--blue); }
.habits tbody tr:nth-child(even) td:not(.fixed) { background: none; }
.habits tbody tr:last-child td { padding-bottom: var(--s5); }

/* Free tools */
.tools-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--s7); }
.tool-tile { display: grid; gap: var(--s3); align-content: start; }
.tool-tile p { color: var(--muted); }
.tool-tile.lead { grid-row: span 2; }
.storage-bar { display: flex; height: 44px; border-radius: 12px; overflow: hidden; gap: 3px; margin-top: var(--s4); }
.storage-bar span { display: block; }
.storage-legend { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); font-size: 14.5px; color: var(--muted); margin-top: var(--s2); }
.storage-legend span { display: inline-flex; align-items: center; gap: var(--s2); }
.storage-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; flex: none; }

/* Comparison */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; }
.compare th, .compare td { padding: 18px 10px; text-align: center; }
.compare thead th { font-size: 15px; font-weight: 600; padding-top: 28px; color: var(--muted); }
.compare thead th.us, .compare td.us { background: var(--blue-soft); }
.compare thead th.us { color: var(--blue); font-size: 17px; }
.compare th small { display: block; font-weight: 400; color: var(--muted); font-size: 13px; margin-top: 2px; }
.compare tbody th { text-align: left; font-weight: 600; padding-left: 28px; font-size: 16.5px; }
.compare tbody tr:nth-child(even) th, .compare tbody tr:nth-child(even) td:not(.us) { background: none; }
.compare svg { width: 26px; height: 26px; display: inline-block; }
.legend { display: flex; justify-content: center; gap: 10px; align-items: center; margin-top: var(--s4); color: var(--muted); font-size: 15px; }
.legend svg { width: 22px; height: 22px; }
.fineprint { text-align: center; color: var(--muted); font-size: 13.5px; margin-top: var(--s2); }

/* Price */
.price { padding: var(--s6) 0; display: grid; gap: var(--s4); justify-items: center; text-align: center; }
.price .amount { color: var(--ink); font: 700 clamp(64px, 10vw, 112px)/1 var(--display); letter-spacing: -0.045em; }
.price .was { color: var(--faint); text-decoration: line-through; font-size: 0.32em; letter-spacing: -0.02em; margin-left: var(--s2); vertical-align: middle; }
.price p { color: var(--muted); max-width: 46ch; font-size: 18px; }
.price .signup { justify-content: center; margin-top: var(--s3); }

/* Privacy list */
.privacy { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s5) var(--s7); max-width: 860px; margin: 0 auto; }
.privacy div { display: grid; gap: var(--s2); }
.privacy h3 { font-size: 19px; }
.privacy p { color: var(--muted); }

/* FAQ */
.qa { max-width: 780px; margin: 0 auto; display: grid; gap: var(--s2); }
.qa details { padding: var(--s3) 0; }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--s5); font-weight: 600; font-size: 17.5px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; color: var(--blue); font-size: 24px; line-height: 0.9; flex: none; transition: transform 150ms ease; }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa summary:hover { color: var(--blue); }
.qa details p { color: var(--muted); margin-top: var(--s3); max-width: 62ch; }

/* Guides directory */
.guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s7); }
.guide-group { display: grid; gap: var(--s4); align-content: start; }
.guide-group:first-child { grid-column: 1 / -1; }
.guide-group:first-child ul { display: block; columns: 2 280px; column-gap: var(--s7); }
.guide-group:first-child li { break-inside: avoid; margin-bottom: var(--s3); }
.guide-group h3 a { color: var(--ink); text-decoration: none; }
.guide-group h3 a:hover { color: var(--blue-bright); }
.guide-group ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s3); }
.guide-group li a { color: var(--ink); font-weight: 500; text-decoration-color: rgba(29, 29, 31, 0.25); }
.guide-group li a:hover { color: var(--blue-bright); text-decoration-color: currentColor; }
.guide-group li span { display: block; color: var(--muted); font-size: 14.5px; }
.guide-group .all { font-size: 15px; }
.tool-banner { margin-top: var(--s8); display: grid; gap: var(--s4); justify-items: center; text-align: center; }
.tool-banner h3 { color: var(--ink); font-size: clamp(26px, 3vw, 34px); }
.tool-banner p { color: var(--muted); margin-top: var(--s2); }
.tool-banner .btn { background: var(--blue); color: #fff; }
.tool-banner .btn:hover { background: var(--blue-bright); color: #fff; }

/* Facts for AI assistants */
.facts { display: grid; grid-template-columns: 200px 1fr; gap: var(--s4) var(--s6); margin: 0 auto; max-width: 860px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }

/* Closing */
.closing { display: grid; gap: var(--s4); justify-items: center; text-align: center; }
.closing h2 { max-width: 14ch; }
.closing p { color: var(--muted); font-size: clamp(19px, 2vw, 22px); }
.closing .signup { justify-content: center; margin-top: var(--s3); }

/* Article */
.article { padding: var(--s7) 0 var(--s8); }
.article .wrap { display: grid; grid-template-columns: minmax(0, var(--measure)) minmax(180px, 230px); gap: var(--s8); justify-content: space-between; }
.article-main > * + * { margin-top: var(--s5); }
.article-main h1 { font-size: clamp(36px, 4.8vw, 56px); }
.answer { font-size: clamp(19px, 2vw, 22px); line-height: 1.5; color: var(--ink); }
.answer kbd { background: linear-gradient(#fff, #f1f3f8); }
.article.simple .wrap { grid-template-columns: minmax(0, var(--measure)); justify-content: center; }
.article.center { padding-top: var(--s8); text-align: center; }
.article.center .signup { justify-content: center; margin: var(--s5) auto 0; }
.article.center .prose p { color: var(--muted); font-size: clamp(19px, 2vw, 22px); max-width: 34ch; margin-left: auto; margin-right: auto; }
.prose h2 { margin-top: var(--s8); font-size: clamp(28px, 3vw, 36px); }
.prose h3 { margin-top: var(--s6); }
.prose > * + * { margin-top: var(--s4); }
.prose h2 + *, .prose h3 + * { margin-top: var(--s4); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: var(--s2); }
ol.steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: var(--s4); }
ol.steps > li { counter-increment: step; position: relative; padding: 3px 0 0 46px; min-height: 30px; margin: 0; }
ol.steps > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; font: 600 15px/30px var(--text); text-align: center; }
.prose .note { font-weight: 500; }
.prose .todo, .todo { background: var(--todo); border-radius: 12px; padding: var(--s3) var(--s4); font: 500 14.5px/1.5 ui-monospace, Menlo, monospace; color: #6b4e00; }
.prose code, .facts code { font: 0.88em ui-monospace, Menlo, monospace; background: rgba(0, 0, 0, 0.05); padding: 0.15em 0.4em; border-radius: 6px; }
.prose pre { padding: var(--s4) 0; overflow-x: auto; }

.table-wrap { overflow-x: auto; }
.data { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15.5px; }
.data th { text-align: left; padding: var(--s4) var(--s4) var(--s3); font-weight: 600; color: var(--muted); font-size: 14px; }
.data td { padding: var(--s3) var(--s4); vertical-align: top; }
.data tbody tr:nth-child(odd) td { background: none; }

.cta { display: grid; gap: var(--s4); margin-top: var(--s8) !important; }
.cta h2 { font-size: 30px; }
.cta p { color: var(--muted); }

.faq-wrap h2, .related h2 { font-size: 30px; }
.article-main > .faq-wrap, .article-main > .related { margin-top: var(--s7); }
.faq-wrap h2 { margin-bottom: var(--s5); }
.faq { display: grid; gap: var(--s5); max-width: var(--measure); }
.faq-item { display: grid; gap: var(--s2); }
.faq-item h3 { font-size: 18px; letter-spacing: -0.01em; }
.faq-item p { color: var(--muted); }

.article-foot { display: grid; gap: var(--s2); color: var(--muted); font-size: 14.5px; padding-top: var(--s7); }
.related ul { list-style: none; padding: 0; margin: var(--s4) 0 0; display: grid; gap: var(--s2); }

.toc { position: sticky; top: var(--s5); align-self: start; display: grid; gap: var(--s3); font-size: 14px; max-height: calc(100vh - 48px); overflow: auto; }
.toc h2 { font-size: 14px; letter-spacing: 0; font-weight: 600; }
.toc ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s2); }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--blue-bright); }

/* Hubs */
.hub-head { padding: var(--s8) 0 var(--s7); display: grid; gap: var(--s4); justify-items: center; text-align: center; }
.hub-head h1 { font-size: clamp(40px, 6vw, 72px); max-width: 16ch; }
.hub-head p { font-size: clamp(19px, 2vw, 22px); color: var(--muted); max-width: 40ch; }
.hub-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s6) var(--s7); padding-bottom: var(--s9); }
.hub-item { position: relative; display: grid; gap: var(--s2); align-content: start; }
.hub-item:hover { box-shadow: none; }
.hub-item h2 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.hub-item:hover h2 a { color: var(--blue); }
.hub-item:first-child { grid-column: span 2; }
.hub-item h2 { font-size: 21px; letter-spacing: -0.02em; line-height: 1.25; }
.hub-item h2 a { color: var(--ink); text-decoration: none; }
.hub-item h2 a:focus-visible { outline: none; }
.hub-item:focus-within { outline: 2px solid var(--blue); outline-offset: 3px; }
.hub-item p { color: var(--muted); font-size: 15.5px; }

/* Shortcut translator */
.tool-head { padding: var(--s8) 0 var(--s5); display: grid; gap: var(--s4); justify-items: center; text-align: center; }
.tool-head h1 { font-size: clamp(40px, 6vw, 72px); max-width: 15ch; }
.tool-head p { font-size: clamp(19px, 2vw, 22px); color: var(--muted); max-width: 40ch; }
.tool-bar { position: sticky; top: 0; z-index: 5; background: var(--bg); padding: var(--s4) 0; display: grid; grid-template-columns: 1fr auto; gap: var(--s2); }
.tool-bar input { min-height: 54px; padding: 0 var(--s5); font: 400 19px/1 var(--text); color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 14px; width: 100%; }
.tool-bar input::placeholder { color: var(--faint); }
.capture { min-height: 54px; padding: 0 var(--s5); font: 500 16px/1 var(--text); background: var(--blue); color: #fff; border: 0; border-radius: 980px; cursor: pointer; white-space: nowrap; }
.capture:hover { background: var(--blue-bright); }
.capture[aria-pressed="true"] { background: var(--ink); }
.tool-filters { display: flex; flex-wrap: wrap; gap: var(--s2); padding-bottom: var(--s5); }
.sc-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 16px; }
.sc-table th { text-align: left; padding: var(--s2) var(--s4) var(--s3); color: var(--muted); font-weight: 600; font-size: 14px; }
.sc-table td { padding: var(--s3) var(--s4); vertical-align: top; }
.sc-table tr.sc.alt td { background: none; }
.sc-table td.action { font-weight: 600; }
.sc-table .sc-note { display: block; color: var(--muted); font-size: 14px; margin-top: var(--s1); }
.sc-table .landed { display: block; color: var(--blue); font-size: 14px; margin-top: var(--s1); }
.sc-table tr.cat td { background: transparent; padding: var(--s7) 0 var(--s3); }
.sc-table tr.cat h2 { font-size: 28px; }
.sc-empty { padding: var(--s6) 0; font-size: 18px; color: var(--muted); }
.sc-empty[hidden], .sc-table tr[hidden] { display: none; }
.tool-download { padding: var(--s8) 0 var(--s9); display: grid; gap: var(--s4); max-width: var(--measure); }
.tool-download p { color: var(--muted); }

/* Footer */
.site-footer { padding: var(--s9) 0 var(--s7); font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: grid; gap: var(--s5); }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s4) var(--s6); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); }
.site-footer nav a { color: var(--ink); text-decoration: none; }
.site-footer nav a:hover { color: var(--blue-bright); }
.foot-note { max-width: 78ch; font-size: 13px; line-height: 1.5; color: var(--muted); }

/* Narrow */
@media (max-width: 960px) {
  .article .wrap { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .toc { display: none; }
}
@media (max-width: 820px) {
  .nav-side { gap: var(--s5); }
  .tool-bar { top: 0; }
  .how { grid-template-columns: 1fr; }
  .how-tile.wide, .how-tile.half { grid-column: auto; grid-template-columns: 1fr; }
  .tools-grid, .guides, .privacy, .hub-list { grid-template-columns: 1fr; }
  .tool-tile.lead { grid-row: auto; }
  .hub-item:first-child { grid-column: auto; }
  .facts { grid-template-columns: 1fr; gap: var(--s1) 0; }
  .facts dd { margin-bottom: var(--s4); }
  .compare, .compare thead, .compare tbody { display: block; }
  .compare thead tr, .compare tbody tr { display: grid; grid-template-columns: repeat(5, 1fr); }
  .compare thead th:first-child { display: none; }
  .compare thead th { font-size: 11.5px; padding: 18px 2px 12px; hyphens: manual; line-height: 1.25; }
  .compare thead th.us { font-size: 13px; }
  .compare th small { display: none; }
  .compare tbody th { grid-column: 1 / -1; padding: 16px 16px 4px; }
  .compare td { padding: 6px 0 16px; }
  .compare svg { width: 22px; height: 22px; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .section { padding-top: var(--s8); }
  .site-footer { padding-top: var(--s8); }
  .foot-top { flex-direction: column; align-items: flex-start; }
  .stage-arrow { flex-basis: 100%; transform: rotate(90deg); }
  .habits thead { display: none; }
  .habits tr { display: grid; padding: var(--s3) 0; }
  .habits td { padding: var(--s1) var(--s4) !important; background: none !important; }
  .habits td.fixed { color: var(--blue); }
  .habits td::before { content: attr(data-th); display: block; font-size: 13px; color: var(--muted); font-weight: 500; }
  .habits tbody tr:first-child { padding-top: var(--s4); }
  .habits tbody tr:last-child { padding-bottom: var(--s4); }
  .tool-bar { grid-template-columns: 1fr; position: static; }
  .sc-table thead { display: none; }
  .sc-table tr.sc { display: grid; }
  .sc-table tr.sc td { padding: var(--s1) var(--s4); }
  .sc-table tr.sc td:first-child { padding-top: var(--s3); border-radius: 14px 14px 0 0; }
  .sc-table tr.sc td:last-child { padding-bottom: var(--s3); border-radius: 0 0 14px 14px; margin-bottom: var(--s2); }
  .sc-table td[data-th]::before { content: attr(data-th); display: block; font-size: 13px; color: var(--muted); }
  .cta, .how-tile, .tool-tile, .guide-group { padding: var(--s5); }
}

/* Open layout: table edges line up with the text above them */
.habits th:first-child, .habits td:first-child, .data th:first-child, .data td:first-child { padding-left: 0; }
.sc-table th:first-child, .sc-table td:first-child { padding-left: 0; }
