/* lecture.studio · brand tokens from the identity board (Sep 2026) */
:root {
  --ink: #151515;
  --ink-2: #404040;
  --gray: #737373;
  --line: #e5e5e5;
  --paper: #f5f5f5;
  --white: #ffffff;
  --blue: #1d4ed8;
  --blue-dark: #1e40af;
  --radius: 10px;
  --font-brand: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --font-text: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
img { max-width: 100%; height: auto; }
html { color-scheme: light; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font-text); font-size: 17px; line-height: 1.55; }
a { color: var(--ink); text-decoration-color: var(--line); text-underline-offset: 3px; }
a:hover { color: var(--blue); text-decoration-color: currentColor; }
img, svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--font-brand); letter-spacing: -0.03em; line-height: 1.1; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(40px, 6.2vw, 72px); font-weight: 800; letter-spacing: -0.045em; }
h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; }
p { margin: 0; text-wrap: pretty; }
code { font-family: var(--font-mono); font-size: 0.9em; background: var(--paper); padding: 0.1em 0.35em; border-radius: 5px; }
.wrap { width: min(1080px, 100% - 48px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 48px); }
.eyebrow { font-family: var(--font-brand); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray); }
.lead { font-size: 20px; color: var(--ink-2); line-height: 1.5; max-width: 60ch; }
.muted { color: var(--gray); }
.small { font-size: 14px; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-brand); font-weight: 700; font-size: 20px; letter-spacing: -0.04em; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--ink-2); }
.nav a:hover { color: var(--blue); }
@media (max-width: 720px) { .nav .hide-sm { display: none; } .nav { gap: 16px; } .nav .btn { min-height: 38px; padding: 0 14px; font-size: 14px; } .brand { font-size: 18px; } }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: var(--radius); font-family: var(--font-brand); font-weight: 700; font-size: 15px; letter-spacing: -0.01em; text-decoration: none; border: 1px solid transparent; white-space: nowrap; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); color: var(--white); }
.nav a.btn-primary { color: var(--white); }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-lg { min-height: 52px; padding: 0 24px; font-size: 17px; }
.btn svg { width: 18px; height: 18px; }

/* hero */
.hero { padding: 80px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: 1fr; gap: 48px; }
.hero-copy { max-width: 720px; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
@media (max-width: 900px) { .hero { padding: 56px 0 40px; } .hero .wrap { gap: 32px; } }

/* product illustration: the three-panel workspace, drawn in CSS */
.shot { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin: 0; }
.shot img, .gallery img { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); background: #1e1e1e; }
.shot figcaption, .gallery figcaption { margin-top: 10px; font-size: 13px; color: var(--gray); }
.gallery { display: flex; flex-direction: column; gap: 40px; }
.gallery figure { margin: 0; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.gallery figure:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.gallery figure:nth-child(even) img { order: 2; }
.gallery figcaption { margin-top: 0; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.gallery figcaption strong { display: block; color: var(--ink); font-family: var(--font-brand); font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 6px; }
@media (max-width: 800px) { .gallery figure, .gallery figure:nth-child(even) { grid-template-columns: 1fr; gap: 12px; } .gallery figure:nth-child(even) img { order: 0; } }

/* sections */
section { padding: 72px 0; }
section + section { border-top: 1px solid var(--line); }
.sec-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; max-width: 70ch; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.step { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; border-top: 2px solid var(--ink); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-brand); font-weight: 800; font-size: 13px; letter-spacing: 0.06em; color: var(--gray); }
.step p { color: var(--ink-2); font-size: 15px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.card svg { width: 24px; height: 24px; stroke: var(--ink); fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.card p { color: var(--ink-2); font-size: 15px; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
@media (max-width: 800px) { .two { grid-template-columns: 1fr; } }
.faq { display: flex; flex-direction: column; }
.faq > div { padding: 22px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 24px; }
.faq > div:last-child { border-bottom: 1px solid var(--line); }
.faq p { color: var(--ink-2); }
@media (max-width: 720px) { .faq > div { grid-template-columns: 1fr; gap: 8px; } }
.band { background: var(--ink); color: var(--white); border-radius: 16px; padding: 48px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.band h2 { color: var(--white); }
.band p { color: #d4d4d4; }
.band a:not(.btn) { color: var(--white); }
.band .btn-primary { background: var(--white); color: var(--ink); }
.band .btn-primary:hover { background: var(--paper); }
@media (max-width: 800px) { .band { grid-template-columns: 1fr; padding: 32px; } }
.notice { border: 1px solid var(--line); border-left: 3px solid var(--ink); border-radius: 8px; padding: 14px 16px; font-size: 15px; color: var(--ink-2); background: var(--paper); }
.spec { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 24px; font-size: 15px; }
.spec dt { color: var(--gray); }
.spec dd { margin: 0; font-family: var(--font-mono); font-size: 13.5px; word-break: break-all; }
.steps-list { padding-left: 22px; display: flex; flex-direction: column; gap: 10px; color: var(--ink-2); }
.steps-list li::marker { font-family: var(--font-brand); font-weight: 700; color: var(--ink); }

/* footer */
footer { border-top: 1px solid var(--line); padding: 40px 0 56px; font-size: 14px; color: var(--gray); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { color: var(--gray); text-decoration: none; }
footer a:hover { color: var(--blue); }

/* blog */
.post-wrap { padding: 56px 0 72px; display: flex; flex-direction: column; gap: 48px; }
.post { max-width: 720px; }
.post h1 { font-size: clamp(32px, 4.6vw, 48px); letter-spacing: -0.04em; margin: 12px 0 14px; }
.post h2 { font-size: 26px; margin: 44px 0 12px; }
.post h3 { font-size: 19px; margin: 28px 0 8px; }
.post p, .post li { font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.post > p:first-of-type:not(.post-meta) { color: var(--ink); }
.post p { margin: 0 0 16px; }
.post ul, .post ol { padding-left: 24px; margin: 0 0 16px; }
.post li { margin: 6px 0; }
.post li::marker { color: var(--gray); }
.post ol li::marker { font-family: var(--font-brand); font-weight: 700; color: var(--ink); }
.post strong { color: var(--ink); font-weight: 600; }
.post a { color: var(--blue); text-decoration-color: rgba(29, 78, 216, 0.35); }
.post a:hover { text-decoration-color: currentColor; }
.post pre { background: var(--ink); color: #fafafa; padding: 16px 18px; border-radius: 10px; overflow-x: auto; font-family: var(--font-mono); font-size: 13.5px; line-height: 1.55; margin: 0 0 18px; }
.post pre code { background: none; padding: 0; font-size: inherit; color: inherit; }
.post code { font-size: 0.88em; }
.post blockquote { margin: 0 0 18px; padding: 12px 18px; border-left: 3px solid var(--ink); background: var(--paper); border-radius: 0 8px 8px 0; }
.post blockquote p { margin: 0; }
.post table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 0 0 18px; display: block; overflow-x: auto; }
.post th, .post td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.post th { background: var(--paper); font-weight: 600; }
.post hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
.post img { border-radius: 8px; }
.post-meta { font-size: 14px; color: var(--gray); margin: 0 0 28px; }
.post-meta a { color: var(--gray); }
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--gray); }
.crumbs a { color: var(--gray); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }
.post-cta { max-width: 720px; background: var(--ink); color: var(--white); border-radius: 14px; padding: 28px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.post-cta h2 { color: var(--white); font-size: 24px; }
.post-cta p { color: #d4d4d4; font-size: 15px; }
.post-cta .btn-primary { background: var(--white); color: var(--ink); margin-top: 6px; }
.post-cta .btn-primary:hover { background: var(--paper); }
.related { max-width: 720px; }
.related h2 { font-size: 18px; margin-bottom: 10px; }
.related ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.related a { color: var(--ink); }
.index-head { display: flex; flex-direction: column; gap: 10px; }
.post-list { list-style: none; padding: 0; margin: 0; max-width: 760px; display: flex; flex-direction: column; }
.post-list li { border-top: 1px solid var(--line); }
.post-list li:last-child { border-bottom: 1px solid var(--line); }
.post-list a { display: flex; flex-direction: column; gap: 6px; padding: 22px 0; text-decoration: none; color: var(--ink); }
.post-list h2 { font-size: 22px; }
.post-list a:hover h2 { color: var(--blue); }
.post-list p { color: var(--ink-2); font-size: 15px; }
.post-list .post-meta { margin: 0; }

/* powered-by badge */
.powered { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; height: 34px; padding: 0 12px 0 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink-2); font-family: var(--font-brand); font-size: 13px; font-weight: 700; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; }
.powered img { width: 20px; height: 20px; }
.powered span { color: var(--gray); font-weight: 600; }
.powered b { color: var(--ink); font-weight: 700; }
.powered:hover { border-color: var(--ink); color: var(--ink); }
.powered.dark { background: transparent; border-color: #404040; color: #d4d4d4; }
.powered.dark span { color: #a3a3a3; }
.powered.dark b { color: #fafafa; }
.powered.dark:hover { border-color: #fafafa; }
footer .powered { height: 30px; font-size: 12px; }
footer .lang { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
footer .lang a { padding: 3px 12px; border-radius: 999px; font-size: 13px; line-height: 20px; }
footer .lang a[aria-current] { background: var(--ink); color: var(--white); pointer-events: none; }
footer .powered img { width: 16px; height: 16px; }
