/* Guides: same palette and type as the landing page, set for long reading. */
:root {
  --bg: #ffffff; --soft: #f5f8ff; --ink: #0b1733; --muted: #536079; --faint: #8a95ab; --line: #e3e9f4;
  --blue: #2563eb; --blue-deep: #1d4ed8; --blue-50: #eff5ff; --blue-100: #dbe7ff; --sky: #38bdf8;
  --shadow: 0 1px 2px rgba(11,23,51,.06), 0 12px 32px -12px rgba(30,64,175,.18);
  --display: "Inter Tight", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
body { background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.7; margin: 0; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--blue); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.85); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
header .wrap { display: flex; justify-content: space-between; align-items: center; height: 68px; }
.logo { font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -.02em; display: flex; align-items: baseline; gap: 0; text-decoration: none; color: var(--ink); }
.logo-k { height: .73em; width: auto; margin-right: .05em; flex: none; }
.nav { display: flex; align-items: center; gap: 24px; font-size: 14.5px; color: var(--muted); }
.nav a { text-decoration: none; color: inherit; }
.nav a:hover { color: var(--ink); }
.btn { font: inherit; font-weight: 600; font-size: 15px; padding: 12px 20px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; transition: transform .15s, background .15s; }
.btn-primary { background: var(--blue); color: #fff !important; box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 8px 20px -8px rgba(37,99,235,.65); }
.btn-primary:hover { background: var(--blue-deep); transform: translateY(-1px); }
.btn-sm { padding: 8px 16px; font-size: 14px; }
@media (max-width: 560px) { .nav .hide-sm { display: none; } }

.post { max-width: 720px; margin: 0 auto; padding: 56px 0 24px; }
.eyebrow { margin: 0 0 12px; font-size: 14px; font-weight: 600; color: var(--blue); }
.eyebrow a { text-decoration: none; }
h1 { font-family: var(--display); font-weight: 700; font-size: clamp(32px, 5vw, 46px); line-height: 1.1; letter-spacing: -.03em; margin: 0 0 18px; text-wrap: balance; }
.dek { font-size: 19px; color: var(--muted); margin: 0 0 12px; text-wrap: pretty; }
.meta { font-size: 14px; color: var(--faint); margin: 0 0 36px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.post h2 { font-family: var(--display); font-size: 27px; line-height: 1.25; letter-spacing: -.02em; margin: 48px 0 12px; }
.post h3 { font-family: var(--display); font-size: 20px; line-height: 1.3; margin: 32px 0 8px; }
.post p, .post ul, .post ol { margin: 0 0 18px; }
.post li { margin-bottom: 8px; }
.post li::marker { color: var(--blue); }
.post blockquote { margin: 0 0 18px; padding: 14px 20px; border-left: 3px solid var(--blue); background: var(--soft); border-radius: 0 12px 12px 0; color: var(--ink); }
.post blockquote p:last-child { margin-bottom: 0; }
.box { margin: 0 0 22px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); font-size: 15.5px; }
.box h3, .box h4 { margin: 0 0 8px; font-family: var(--display); font-size: 17px; }
.box p:last-child, .box ul:last-child, .box ol:last-child { margin-bottom: 0; }
.label { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 999px; background: var(--blue-50); color: var(--blue); margin-bottom: 8px; }
.label.weak { background: #fff4e5; color: #b45309; }
.tldr { background: var(--soft); border: 1px solid var(--blue-100); border-radius: 16px; padding: 18px 22px; margin: 0 0 32px; font-size: 16px; }
.tldr strong { display: block; font-family: var(--display); margin-bottom: 6px; }
.tldr ul { margin: 0; padding-left: 20px; }

.cta { margin: 48px 0 0; padding: 28px; border-radius: 20px; background: linear-gradient(180deg, #fff, var(--blue-50)); border: 1px solid var(--blue-100); box-shadow: var(--shadow); }
.cta h2 { margin: 0 0 8px !important; font-size: 22px !important; }
.cta p { color: var(--muted); margin: 0 0 18px !important; font-size: 16px; }

.list { max-width: 720px; margin: 0 auto; padding: 56px 0 24px; }
.card { display: block; padding: 22px 24px; margin: 0 0 14px; border: 1px solid var(--line); border-radius: 18px; text-decoration: none; color: var(--ink); background: #fff; transition: border-color .2s, transform .2s, box-shadow .2s; }
.card:hover { border-color: #b9cdf3; transform: translateY(-1px); box-shadow: var(--shadow); }
.card h2 { font-family: var(--display); font-size: 21px; line-height: 1.3; margin: 0 0 6px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }

footer .wrap { margin-top: 64px; padding-block: 32px 48px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); }
footer p { margin: 0; color: var(--faint); font-size: 14px; }
.footer-mail { color: var(--muted); font-size: 14px; font-weight: 500; text-decoration: none; }
.footer-mail:hover { color: var(--blue); text-decoration: underline; }
