/* AgentSpoon
   Warm editorial recipe library. Tokens, then layout, then prose.
   Fraunces and Source Sans 3 are SIL OFL (see /fonts and site/fonts/OFL.txt). */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/fraunces-600.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/fraunces-700.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/source-sans-3-400.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/source-sans-3-400i.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/source-sans-3-600.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/source-sans-3-700.woff2") format("woff2");
}

:root {
  --paper: #f4efe6;
  --paper-2: #ebe3d4;
  --card: #fffdf9;
  --ink: #1d1814;
  --ink-soft: #5c5348;
  --line: #e4d9c8;
  --line-strong: #d2c3ad;
  --copper: #c4542a;
  --copper-deep: #8c3814;
  --on-copper: #fffdf9;
  --herb: #1c6b52;
  --link: #8c3814;
  --sage: #e7f3ee;
  --focus: #c4542a;
  --glow-a: #f6d3b0;
  --glow-b: #d5ebe3;
  --shadow: 0 1px 2px rgba(60, 40, 20, .05), 0 10px 26px rgba(60, 40, 20, .06);
  --shadow-lg: 0 2px 6px rgba(60, 40, 20, .06), 0 18px 40px rgba(60, 40, 20, .12);
  --serif: "Fraunces", "Iowan Old Style", Palatino, "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif CJK JP", "Noto Sans CJK JP", "Hiragino Sans", "Yu Gothic", "WenQuanYi Micro Hei", "Droid Sans Fallback", serif;
  --sans: "Source Sans 3", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans CJK JP", "Noto Sans JP", "Yu Gothic UI", "Yu Gothic", Meiryo, "PingFang SC", "Apple SD Gothic Neo", "WenQuanYi Micro Hei", "Droid Sans Fallback", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Code", "SFMono-Regular", Menlo, Consolas, "Noto Sans Mono CJK JP", monospace;
  --w: 1120px;
  --pad: clamp(1rem, 3vw, 1.5rem);
  --c-getting-started: #8c3814;
  --s-getting-started: #fde6d4;
  --c-email: #146048;
  --s-email: #e2f5ee;
  --c-research: #303c78;
  --s-research: #e5e8f6;
  --c-monitoring: #8a5808;
  --s-monitoring: #fbf0d2;
  --c-marketing: #8c3050;
  --s-marketing: #fbe3ea;
  --c-operations: #1c545c;
  --s-operations: #e2f1f1;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #14110e;
    --paper-2: #241e18;
    --card: #1e1915;
    --ink: #f6f0e7;
    --ink-soft: #d2c2b0;
    --line: #3a3128;
    --line-strong: #564838;
    --copper: #f0a06a;
    --copper-deep: #f0a06a;
    --on-copper: #1d1814;
    --herb: #8fd0b4;
    --link: #f0a06a;
    --sage: #1a2c26;
    --focus: #f0a06a;
    --glow-a: rgba(196, 84, 42, .28);
    --glow-b: rgba(31, 106, 82, .22);
    --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 12px 28px rgba(0, 0, 0, .28);
    --shadow-lg: 0 2px 8px rgba(0, 0, 0, .4), 0 20px 44px rgba(0, 0, 0, .38);
    --c-getting-started: #f0a06a;
    --s-getting-started: #3a2418;
    --c-email: #8fd0b4;
    --s-email: #173128;
    --c-research: #b7c0ea;
    --s-research: #22263c;
    --c-monitoring: #f0cc78;
    --s-monitoring: #332812;
    --c-marketing: #f0a8bc;
    --s-marketing: #3a2028;
    --c-operations: #9fd0d4;
    --s-operations: #1a2c2e;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #14110e;
  --paper-2: #241e18;
  --card: #1e1915;
  --ink: #f6f0e7;
  --ink-soft: #d2c2b0;
  --line: #3a3128;
  --line-strong: #564838;
  --copper: #f0a06a;
  --copper-deep: #f0a06a;
  --on-copper: #1d1814;
  --herb: #8fd0b4;
  --link: #f0a06a;
  --sage: #1a2c26;
  --focus: #f0a06a;
  --glow-a: rgba(196, 84, 42, .28);
  --glow-b: rgba(31, 106, 82, .22);
  --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 12px 28px rgba(0, 0, 0, .28);
  --shadow-lg: 0 2px 8px rgba(0, 0, 0, .4), 0 20px 44px rgba(0, 0, 0, .38);
  --c-getting-started: #f0a06a;
  --s-getting-started: #3a2418;
  --c-email: #8fd0b4;
  --s-email: #173128;
  --c-research: #b7c0ea;
  --s-research: #22263c;
  --c-monitoring: #f0cc78;
  --s-monitoring: #332812;
  --c-marketing: #f0a8bc;
  --s-marketing: #3a2028;
  --c-operations: #9fd0d4;
  --s-operations: #1a2c2e;
  color-scheme: dark;
}
:root[data-theme="light"] { color-scheme: light; }

.when-dark { display: none; }
.when-light { display: inline-flex; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .when-light { display: none; }
  :root:not([data-theme="light"]) .when-dark { display: inline-flex; }
}
:root[data-theme="dark"] .when-light { display: none; }
:root[data-theme="dark"] .when-dark { display: inline-flex; }
:root[data-theme="light"] .when-light { display: inline-flex; }
:root[data-theme="light"] .when-dark { display: none; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus:not(:focus-visible) { outline: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
::selection { background: #f0c9a0; color: #1d1814; }
:target, [id] { scroll-margin-top: 6.5rem; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--ink);
  color: var(--paper);
  padding: .55rem .9rem;
  border-radius: 10px;
  text-decoration: none;
}
.skip:focus { top: 1rem; }

.w { width: min(var(--w), calc(100% - var(--pad) * 2)); margin-inline: auto; }
.ico { width: 1.15rem; height: 1.15rem; flex: none; }
.logo { color: var(--copper); display: block; flex: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1.25rem;
  padding: .75rem 0 .35rem;
  flex-wrap: wrap;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  line-height: 1;
}
.tools { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; justify-content: flex-end; }
.langs { display: flex; flex-wrap: wrap; gap: .35rem; }
.langs a, .langs span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0 .7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 600;
  line-height: 1;
}
.langs a:hover { border-color: var(--line-strong); background: var(--paper-2); }
.langs [aria-current="page"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.theme-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.theme-btn:hover { background: var(--paper-2); border-color: var(--line-strong); }
.theme-btn .ico { width: 1.05rem; height: 1.05rem; }

.subnav {
  display: flex;
  gap: .2rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding: .15rem 0 .8rem;
}
.subnav::-webkit-scrollbar { display: none; }
.subnav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  padding: .35rem .75rem;
  border-radius: 999px;
  white-space: nowrap;
}
.subnav a:hover { background: var(--paper-2); color: var(--ink); }
.subnav a[aria-current="page"] { background: var(--ink); color: var(--paper); }

.hero {
  background:
    radial-gradient(900px 420px at 100% -10%, var(--glow-a), transparent 60%),
    radial-gradient(680px 380px at -10% 110%, var(--glow-b), transparent 55%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 2rem;
  align-items: center;
  padding: 1.8rem 0 1.2rem;
}
.eyebrow, .cat-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin: 0;
  color: var(--cat, var(--copper-deep));
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.cat-pill { text-decoration: none; }
.cat-pill:hover { text-decoration: underline; text-underline-offset: 3px; }
.eyebrow .ico, .cat-pill .ico { width: 1rem; height: 1rem; }
html[lang="ja"] .eyebrow, html[lang="ja"] .cat-pill {
  letter-spacing: 0;
  text-transform: none;
  font-size: .92rem;
}
.hero h1, .page-head h1, .recipe-head h1 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
  margin: .4rem 0 .75rem;
}
.hero h1 { font-size: clamp(2.3rem, 4.2vw, 3.55rem); }
.lede, .dek { margin: 0; color: var(--ink-soft); font-size: 1.2rem; line-height: 1.5; max-width: 38rem; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 3rem;
  padding: 0 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid transparent;
}
.btn .ico { width: 1.05rem; height: 1.05rem; }
.btn-primary { background: var(--copper-deep); color: var(--on-copper); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { background: var(--card); }
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1.5rem;
  list-style: none;
  padding: .9rem 0 0;
  margin: 1.1rem 0 0;
  border-top: 1px solid var(--line);
}
.stats li { display: flex; flex-direction: column; min-width: 6.5rem; }
.stats strong {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}
.stats span { color: var(--ink-soft); font-size: .92rem; margin-top: .25rem; }
.hero-art img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  background: #f7f1e7;
}

.section { padding: .4rem 0 2.6rem; }
.section-head { margin: 0 0 1rem; }
.section-head h2, .related-wrap h2, .page-head h1 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
}
.section-head h2, .related-wrap h2 { font-size: clamp(1.6rem, 2.4vw, 2.05rem); }
html[lang="ja"] h1, html[lang="ja"] h2, html[lang="ja"] .card-title {
  letter-spacing: 0;
  line-height: 1.3;
}

h1 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  text-wrap: balance;
}
.faq h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.55rem;
  margin: 1.8rem 0 .8rem;
}
.points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .9rem;
  list-style: none;
  padding: 0;
  margin: 1.15rem 0 1.6rem;
}
.point {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.1rem 1.15rem 1.2rem;
  box-shadow: var(--shadow);
}
.point-ico {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--s-getting-started);
  color: var(--c-getting-started);
}
.point:nth-child(2) .point-ico { background: var(--s-email); color: var(--c-email); }
.point:nth-child(3) .point-ico { background: var(--s-monitoring); color: var(--c-monitoring); }
.point h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  margin: .75rem 0 .3rem;
  letter-spacing: -0.02em;
}
.point p { margin: 0; color: var(--ink-soft); }

.cat-grid, .grid {
  display: grid;
  gap: .9rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.cat-grid { grid-template-columns: repeat(3, 1fr); }
.grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.cat-card, .card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.cat-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .8rem;
  padding: .9rem 1rem;
  min-height: 4.6rem;
}
.cat-card:hover, .card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.cat-ico {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--cat-soft, var(--paper-2));
  color: var(--cat, var(--ink));
}
.cat-name { font-weight: 700; line-height: 1.25; }
.cat-n {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--ink-soft);
}
[data-cat="getting-started"] { --cat: var(--c-getting-started); --cat-soft: var(--s-getting-started); }
[data-cat="email"] { --cat: var(--c-email); --cat-soft: var(--s-email); }
[data-cat="research"] { --cat: var(--c-research); --cat-soft: var(--s-research); }
[data-cat="monitoring"] { --cat: var(--c-monitoring); --cat-soft: var(--s-monitoring); }
[data-cat="marketing"] { --cat: var(--c-marketing); --cat-soft: var(--s-marketing); }
[data-cat="operations"] { --cat: var(--c-operations); --cat-soft: var(--s-operations); }

.card { display: flex; flex-direction: column; height: 100%; overflow: hidden; }
.thumb { display: block; background: var(--paper-2); line-height: 0; }
.thumb img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 12 / 5;
  object-fit: cover;
  object-position: center top;
}
.card-body { display: flex; flex-direction: column; gap: .35rem; padding: 1rem 1.05rem 1.15rem; }
.card-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.22rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.card-desc {
  color: var(--ink-soft);
  font-size: .98rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (min-width: 860px) {
  .grid .card-feature {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    align-items: stretch;
  }
  .grid .card-feature .thumb { position: relative; min-height: 280px; }
  .grid .card-feature .thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center 42%;
  }
  .grid .card-feature .card-body { justify-content: center; padding: 1.35rem 1.45rem 1.5rem; }
  .grid .card-feature .card-title { font-size: 1.65rem; }
  .grid .card-feature .card-desc { -webkit-line-clamp: 5; }
}

.page-wrap { padding: 1.4rem 0 3.5rem; }
.page-head { margin-bottom: 1.3rem; max-width: 46rem; }
.page-head h1 { font-size: clamp(2rem, 4vw, 3rem); }
.crumbs ol { list-style: none; padding: 0; margin: 0 0 .9rem; font-size: .92rem; color: var(--ink-soft); }
.crumbs li { display: inline; }
.crumbs li + li::before { content: " › "; color: var(--line-strong); }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--link); text-decoration: underline; }

.recipe-wrap { max-width: 46rem; padding: 1.35rem 0 1rem; }
.recipe-head h1 { font-size: clamp(2.05rem, 4vw, 3.05rem); margin-top: .45rem; }
.meta { color: var(--ink-soft); font-size: .95rem; margin: .2rem 0 .8rem; }
.meta time { font-variant-numeric: tabular-nums; }
.recipe-figure { margin: 1.15rem 0 1.6rem; }
.recipe-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--card);
}
.related-wrap { padding: .5rem 0 4rem; }
.related-wrap h2 { margin-bottom: 1rem; }

.prose { font-size: 1.075rem; line-height: 1.7; }
.prose > p:first-child { font-size: 1.14rem; }
.prose h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.65rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 2.3rem 0 .7rem;
  padding-bottom: .35rem;
  border-bottom: 1px solid var(--line);
}
.prose h3 { font-family: var(--serif); font-size: 1.25rem; margin: 1.6rem 0 .4rem; }
.prose p { margin: .75rem 0; }
.prose a { color: var(--link); text-underline-offset: .15em; }
.prose strong { font-weight: 700; }
.prose blockquote {
  margin: 1.2rem 0;
  padding: .95rem 1.1rem;
  background: var(--sage);
  border-left: 4px solid var(--herb);
  border-radius: 0 14px 14px 0;
  color: var(--ink);
}
.prose blockquote p { margin: .35rem 0; }
html:not([lang="ja"]) .prose blockquote { font-style: italic; }
.prose img { max-width: 100%; height: auto; }
.prose-figure {
  margin: 1.6rem auto 1.8rem;
  padding: clamp(.5rem, 1.6vw, .85rem);
  max-width: 100%;
  width: fit-content;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.prose-figure img { display: block; margin: 0 auto; width: auto; max-width: 100%; height: auto; border-radius: 12px; }
.prose-figure figcaption { margin-top: .6rem; color: var(--ink-soft); font-size: .92rem; line-height: 1.45; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .prose-figure img { filter: brightness(.94); }
}
:root[data-theme="dark"] .prose-figure img { filter: brightness(.94); }
.prose ul { padding-left: 1.2rem; }
.prose li { margin: .35rem 0; }
.prose > ol { list-style: none; padding: 0; margin: 1rem 0; counter-reset: step; }
.prose > ol > li {
  counter-increment: step;
  position: relative;
  padding: .15rem 0 .55rem 3.1rem;
  margin: .35rem 0;
}
.prose > ol > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: .05rem;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--copper-deep);
  color: var(--on-copper);
  font-weight: 700;
  font-size: .92rem;
  display: grid;
  place-items: center;
  font-style: normal;
}
.prose :not(pre) > code {
  font-family: var(--mono);
  font-size: .88em;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: .08em .38em;
}
.prose pre {
  background: #241c16;
  color: #f8f1e7;
  border-radius: 16px;
  padding: 1.05rem 1.15rem;
  overflow: auto;
  line-height: 1.55;
  font-size: .92rem;
  box-shadow: var(--shadow);
}
.prose pre code { font-family: var(--mono); background: none; border: 0; padding: 0; color: inherit; font-size: inherit; }
.prose table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  margin: 1.2rem 0;
  font-size: .98rem;
  background: var(--card);
}
.prose th, .prose td { text-align: left; padding: .7rem .8rem; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose tr:last-child td { border-bottom: 0; }
.prose th {
  background: var(--paper-2);
  font-size: .78rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
html[lang="ja"] .prose th { letter-spacing: 0; text-transform: none; font-size: .9rem; }

.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1.2rem 0 .4rem; }
.tag {
  display: inline-flex;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .15rem .7rem;
  font-size: .82rem;
  color: var(--ink-soft);
}
.faq { margin-top: 1.6rem; }
details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .8rem 1rem;
  margin: .55rem 0;
  box-shadow: var(--shadow);
}
summary { font-weight: 700; cursor: pointer; }
details p { margin: .65rem 0 .15rem; color: var(--ink-soft); }
details a { color: var(--link); }

.site-footer { border-top: 1px solid var(--line); padding: 2rem 0 2.4rem; margin-top: 1rem; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; align-items: end; }
.foot p { margin: .55rem 0 0; color: var(--ink-soft); max-width: 36rem; }
.legal { font-size: .92rem; }
.legal a { color: var(--link); }

.gate { min-height: 100vh; display: grid; place-items: center; padding: 2rem 1rem; }
.gate-card {
  width: min(36rem, 100%);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  padding: 1.6rem 1.5rem 1.5rem;
}
.gate-card .lede { margin-top: .8rem; }
.gate-card .langs { margin-top: 1.2rem; }

.empty { color: var(--ink-soft); }

@media (max-width: 980px) {
  .grid, .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .points { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 1.4rem; padding-top: 1.6rem; }
  .hero-art { max-width: 520px; }
}
@media (max-width: 640px) {
  .grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .bar { padding-top: .65rem; }
  .brand { font-size: 1.2rem; }
  .hero h1 { font-size: 2.25rem; }
  .prose, .prose pre { font-size: 1rem; }
  .prose table { display: block; overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
