@font-face {
  font-family: "OFR Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/inter-latin.woff2") format("woff2");
}

:root {
  color-scheme: light;
  font-family: "OFR Inter", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #171a1d;
  background: #fff;
  --ink: #171a1d;
  --muted: #626b76;
  --line: #dfe3e8;
  --soft: #f3f5f7;
  --brand: #00736a;
  --brand-strong: #005f58;
  --accent: #c41f58;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: #fff; letter-spacing: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.blog-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; border-bottom: 1px solid var(--line); padding: 0 32px; background: #fff; }
.blog-brand { display: inline-flex; align-items: center; }
.blog-nav { display: flex; align-items: center; gap: 24px; color: var(--muted); font-size: 14px; font-weight: 700; }
.blog-nav a { text-decoration: none; }
.blog-nav a:hover { color: var(--ink); }
.blog-nav .blog-nav-cta { min-height: 40px; border-radius: 6px; background: var(--brand); color: #fff; padding: 0 16px; display: inline-flex; align-items: center; }
.blog-nav .blog-nav-cta:hover { background: var(--brand-strong); color: #fff; }

.blog-main { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.blog-index-hero { padding: 88px 0 58px; border-bottom: 1px solid var(--line); }
.blog-kicker, .article-kicker { margin: 0 0 14px; color: var(--brand); font-size: 12px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.blog-index-hero h1 { max-width: 760px; margin: 0; font-size: 54px; line-height: 1.08; }
.blog-index-hero p:last-child { max-width: 680px; margin: 22px 0 0; color: var(--muted); font-size: 19px; line-height: 1.7; }
.blog-list { padding: 56px 0 100px; }
.blog-list article { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr); gap: 44px; align-items: center; border-top: 1px solid var(--line); padding: 28px 0; }
.blog-list article > a { display: block; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 6px; }
.blog-list article img { width: 100%; height: 100%; border: 1px solid var(--line); border-radius: 6px; object-fit: cover; object-position: center 72%; }
.blog-list h2 { margin: 0; font-size: 30px; line-height: 1.2; }
.blog-list p { color: var(--muted); line-height: 1.75; }
.blog-meta { color: var(--muted); font-size: 13px; }
.text-link { color: var(--brand-strong); font-weight: 800; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.article-shell { display: grid; grid-template-columns: minmax(0, 780px) 240px; gap: 80px; padding: 76px 0 100px; }
.article-shell > article, .article-body { min-width: 0; }
.article-header { border-bottom: 1px solid var(--line); padding-bottom: 42px; }
.article-header h1 { max-width: 800px; margin: 0; overflow-wrap: anywhere; font-size: 52px; line-height: 1.1; }
.article-dek { max-width: 700px; margin: 22px 0 0; color: var(--muted); font-size: 19px; line-height: 1.7; }
.article-byline { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 22px; color: var(--muted); font-size: 13px; }
.article-hero { width: 100%; max-height: 620px; margin: 34px 0 0; border: 1px solid var(--line); border-radius: 6px; background: var(--soft); object-fit: contain; }
.article-figure { margin: 32px 0; }
.article-figure img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 6px; background: var(--soft); }
.article-figure figcaption { margin-top: 10px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.article-body { font-size: 17px; line-height: 1.85; }
.article-body h2 { margin: 52px 0 16px; font-size: 30px; line-height: 1.25; }
.article-body h3 { margin: 34px 0 10px; font-size: 21px; line-height: 1.35; }
.article-body p { margin: 0 0 20px; }
.article-body ul, .article-body ol { margin: 14px 0 24px; padding-left: 24px; }
.article-body li + li { margin-top: 8px; }
.article-body strong { font-weight: 800; }
.prompt-block { overflow-x: auto; border-left: 3px solid var(--brand); background: var(--soft); padding: 18px 20px; color: #26313a; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; line-height: 1.7; white-space: pre-wrap; }
.prompt-library { display: grid; gap: 0; margin: 30px 0 38px; border-top: 1px solid var(--line); }
.prompt-library section { border-bottom: 1px solid var(--line); padding: 24px 0; }
.prompt-library h3 { margin: 0 0 8px; font-size: 18px; }
.prompt-library p { margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.prompt-library .prompt-block { margin: 0; font-size: 13px; }
.product-example-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin: 28px 0 38px; }
.product-example-grid figure { min-width: 0; margin: 0; }
.product-example-grid img { width: 100%; height: min(474px, calc((100vw - 70px) * .625)); border: 1px solid var(--line); border-radius: 6px; object-fit: cover; object-position: center; }
.product-example-grid figcaption { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.product-example-grid figcaption strong { display: block; margin-bottom: 2px; color: var(--ink); font-size: 14px; }
.article-table-wrap { overflow-x: auto; margin: 24px 0 30px; }
.article-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 14px; line-height: 1.55; }
.article-table th, .article-table td { border-bottom: 1px solid var(--line); padding: 14px 12px; text-align: left; vertical-align: top; }
.article-table th { background: var(--soft); font-weight: 800; }
.article-note { border: 1px solid #b7ded8; border-radius: 6px; background: #edf8f6; padding: 18px 20px; }
.article-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 54px; border-top: 1px solid var(--line); padding-top: 30px; }
.article-cta p { max-width: 500px; margin: 0; }
.article-cta a { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; border-radius: 6px; background: var(--brand); color: #fff; padding: 0 18px; font-size: 14px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.article-cta a:hover { background: var(--brand-strong); }
.article-aside { position: sticky; top: 92px; align-self: start; border-top: 2px solid var(--ink); padding-top: 16px; }
.article-aside strong { display: block; margin-bottom: 14px; font-size: 13px; }
.article-aside a { display: block; border-top: 1px solid var(--line); padding: 11px 0; color: var(--muted); font-size: 13px; line-height: 1.45; text-decoration: none; }
.article-aside a:hover { color: var(--brand-strong); }
.blog-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); padding: 26px 32px; color: var(--muted); font-size: 12px; }
.blog-footer nav { display: flex; gap: 20px; }
.blog-footer a { text-decoration: none; }

@media (max-width: 860px) {
  .blog-nav a:not(.blog-nav-cta) { display: none; }
  .article-shell { grid-template-columns: 1fr; gap: 0; }
  .article-aside { display: none; }
  .article-header h1 { font-size: 44px; }
}

@media (max-width: 560px) {
  .blog-header { min-height: 60px; padding: 0 16px; }
  .blog-brand img { width: 104px; height: auto; }
  .blog-nav .blog-nav-cta { min-height: 36px; padding: 0 12px; font-size: 12px; }
  .blog-main { width: calc(100% - 36px); }
  .blog-index-hero { padding: 58px 0 42px; }
  .blog-index-hero h1 { font-size: 36px; }
  .blog-index-hero p:last-child { font-size: 17px; }
  .blog-list article { grid-template-columns: 1fr; gap: 20px; }
  .article-shell { padding: 52px 0 76px; }
  .article-header h1 { font-size: 36px; }
  .article-dek { font-size: 17px; }
  .article-body { font-size: 16px; }
  .article-body h2 { font-size: 27px; }
  .product-example-grid { gap: 12px; }
  .product-example-grid img { height: min(474px, calc((100vw - 48px) * .625)); }
  .product-example-grid figcaption { font-size: 12px; }
  .article-cta { align-items: flex-start; flex-direction: column; }
  .article-cta a { width: 100%; }
  .blog-footer { align-items: flex-start; flex-direction: column; padding: 22px 18px; }
  .blog-footer nav { flex-wrap: wrap; }
}
