:root {
  --background: #f7f8fb;
  --ink: #15223b;
  --muted: #5c677a;
  --blue: #2458e6;
  --line: #e1e6ef;
  --white: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--background);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; font-size: 1rem; line-height: 1.75; }
a { color: inherit; text-underline-offset: .25em; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; border-radius: 3px; }
a:hover { color: var(--blue); }
img { display: block; max-width: 100%; }
h1, h2, p { margin: 0; }
.wrap { width: min(1120px, calc(100% - 96px)); margin-inline: auto; }
.site-header { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-icon { flex: 0 0 40px; }
.brand-name { font-size: 1.125rem; font-weight: 650; line-height: 1.3; }
.brand-en { display: block; font-size: .6875rem; letter-spacing: .19em; color: var(--muted); font-weight: 550; margin-top: 5px; }
.main-nav { display: flex; gap: 32px; flex-wrap: wrap; }
.main-nav a { text-decoration: none; font-size: .9375rem; padding-block: 10px; }
.hero { padding-block: 78px 84px; display: grid; grid-template-columns: 1.18fr 1fr; align-items: center; gap: 70px; }
.eyebrow { font-size: .8125rem; letter-spacing: .1em; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.small-line { width: 23px; height: 2px; background: var(--blue); }
.hero h1 { font-size: clamp(2.625rem, 4.5vw, 4rem); line-height: 1.27; letter-spacing: -.055em; margin-block: 23px; font-weight: 750; }
.accent { color: var(--blue); }
.hero-description { color: var(--muted); max-width: 450px; line-height: 1.95; font-size: 1.0625rem; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; min-width: 130px; padding: 10px 22px; border-radius: 8px; text-decoration: none; font-size: .9375rem; font-weight: 600; transition: background .15s ease, box-shadow .15s ease; }
.button-primary { background: var(--blue); color: var(--white); box-shadow: 0 4px 10px #2458e618; }
.button-primary:hover { background: #1947c5; color: var(--white); }
.button-secondary { background: var(--white); border: 1px solid var(--line); }
.button-secondary:hover { background: #edf2ff; }
.hero-note { margin-top: 19px; font-size: .8125rem; color: var(--muted); }
.project-card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 27px 32px 22px; position: relative; box-shadow: 0 14px 42px #203a6110; }
.card-topline { display: flex; align-items: center; justify-content: space-between; color: var(--muted); letter-spacing: .12em; font-size: .75rem; border-bottom: 1px solid var(--line); padding-bottom: 17px; }
.small-square { width: 7px; height: 7px; border: 1.5px solid #8496b9; }
.project-symbol { width: 90px; height: 84px; display: flex; gap: 8px; justify-content: center; align-items: center; border-radius: 16px; background: #eef3ff; color: var(--blue); font: 400 3.4rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; margin-block: 27px 24px; }
.project-symbol span { font-size: 2.5rem; }
.card-eyebrow { font-size: .75rem; }
.project-card h2 { font-size: 1.875rem; line-height: 1.4; font-weight: 650; margin-top: 9px; letter-spacing: -.025em; }
.project-description { color: var(--muted); line-height: 1.85; font-size: .9375rem; margin-top: 16px; }
.project-status { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; margin-top: 26px; border-top: 1px solid var(--line); padding-top: 17px; font-size: .8125rem; }
.project-status span { color: var(--muted); }
.project-status strong { font-weight: 550; background: #f1f4f9; padding: 3px 9px; border-radius: 5px; }
.details-wrap { background: var(--white); border-block: 1px solid var(--line); }
.details { display: grid; grid-template-columns: 1.18fr 1fr; gap: 70px; padding-block: 43px 47px; }
.section-eyebrow { font-size: .75rem; letter-spacing: .15em; color: var(--blue); }
.details h2 { font-size: 1.3125rem; line-height: 1.5; margin-block: 9px 13px; font-weight: 650; }
.details p:not(.eyebrow) { font-size: .9375rem; color: var(--muted); line-height: 1.9; }
.about-section { padding-right: 30px; }
.contact-section { border-left: 1px solid var(--line); padding-left: 32px; }
.email-link { display: inline-block; margin-top: 15px; color: var(--blue); font-size: 1.0625rem; font-weight: 600; overflow-wrap: anywhere; }
.site-footer { display: flex; gap: 16px 28px; justify-content: space-between; align-items: center; padding-block: 27px 30px; font-size: .8125rem; color: var(--muted); flex-wrap: wrap; }
.footer-name { font-weight: 600; }
.footer-name span { font-weight: 400; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 23px; }
.footer-links a { text-decoration: none; padding-block: 5px; }
.footer-links a:hover { text-decoration: underline; }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 10; background: var(--white); padding: 12px 20px; }
.skip-link:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.privacy-page { background: #fff; }
.policy { max-width: 800px; padding-block: 55px 65px; }
.policy h1 { font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1.4; margin-top: 14px; }
.policy-date { font-size: .875rem; color: var(--muted); margin-block: 13px 25px; }
.policy-heading > p:last-child { color: var(--muted); }
.policy-body { margin-top: 32px; border-top: 1px solid var(--line); }
.policy-body section { margin-top: 30px; }
.policy-body h2 { color: var(--blue); font-size: .9375rem; font-weight: 500; display: flex; align-items: baseline; gap: 16px; margin-bottom: 12px; }
.policy-body h2 span { color: var(--ink); font-size: 1.1875rem; font-weight: 650; }
.policy-body p { color: #47556a; margin-top: 10px; line-height: 1.95; }
.policy a { color: var(--blue); overflow-wrap: anywhere; }
.policy-contact { padding: 23px; border-radius: 10px; background: var(--background); }
.privacy-page .site-footer { border-top: 1px solid var(--line); }
@media (max-width: 960px) {
  .wrap { width: calc(100% - 56px); }
  .hero, .details { gap: 36px; }
  .hero { padding-block: 56px; }
  .project-card { padding-inline: 24px; }
  .hero h1 { font-size: 3rem; }
  .about-section { padding-right: 0; }
  .contact-section { padding-left: 24px; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { min-height: 88px; gap: 14px; }
  .brand { gap: 9px; }
  .brand-icon { width: 34px; height: 34px; flex-basis: 34px; }
  .brand-name { font-size: 1rem; }
  .brand-en { font-size: .625rem; letter-spacing: .15em; }
  .main-nav { gap: 15px; }
  .main-nav a { font-size: .875rem; }
  .hero { grid-template-columns: 1fr; gap: 36px; padding-block: 40px; }
  .hero h1 { font-size: 2.625rem; margin-block: 20px; }
  .hero-description { font-size: 1rem; }
  .hero-actions { margin-top: 25px; }
  .hero-note { font-size: .8125rem; }
  .project-card { padding: 23px 24px 20px; }
  .project-symbol { margin-block: 23px 20px; width: 72px; height: 68px; font-size: 2.7rem; }
  .project-card h2 { font-size: 1.625rem; }
  .details { grid-template-columns: 1fr; gap: 27px; padding-block: 32px; }
  .contact-section { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 26px; }
  .site-footer { flex-direction: column; align-items: flex-start; gap: 10px; padding-block: 23px; }
  .footer-links { gap: 8px 20px; }
  .policy { padding-block: 35px 42px; }
  .policy h1 { font-size: 2rem; }
}
@media (max-width: 360px) {
  .site-header { flex-wrap: wrap; justify-content: space-between; padding-block: 17px; gap: 12px; }
  .main-nav { gap: 22px; }
  .hero h1 { font-size: 2.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}

/* Tool catalogue and detail page. */
.card-preview { display: block; margin-block: 22px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.card-preview img { height: auto; }
.card-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 24px; margin-top: 22px; }
.text-link { color: var(--blue); font-size: .9375rem; font-weight: 600; text-decoration: none; padding-block: 10px; }
.text-link:hover { text-decoration: underline; }
.outbound { margin-left: 10px; }
.tool-main { padding-block: 28px 48px; }
.back-link { color: var(--muted); font-size: .875rem; text-decoration: none; display: inline-block; padding-block: 8px; }
.tool-heading { display: grid; grid-template-columns: 1.5fr 1fr; gap: 64px; align-items: center; padding-block: 35px 46px; }
.tool-heading h1 { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.3; letter-spacing: -.04em; margin-block: 17px; }
.tool-lead { font-size: 1.4375rem; font-weight: 600; margin-bottom: 12px; }
.tool-intro { max-width: 560px; color: var(--muted); }
.tool-facts { margin: 0; padding: 12px 0 12px 32px; border-left: 1px solid var(--line); }
.tool-facts > div + div { margin-top: 19px; }
.tool-facts dt { font-size: .8125rem; color: var(--muted); }
.tool-facts dd { margin: 3px 0 0; font-size: .9375rem; font-weight: 550; }
.tool-screenshot { margin: 0; padding: 22px 22px 0; border: 1px solid var(--line); background: #e9efed; border-radius: 14px; }
.tool-screenshot img { width: 100%; height: auto; border: 1px solid #d7e1de; border-radius: 6px; }
.tool-screenshot figcaption, .comparison-image figcaption { color: var(--muted); font-size: .8125rem; padding-block: 12px; }
.tool-section { padding-block: 54px; border-bottom: 1px solid var(--line); }
.section-heading h2, .comparison-section h2, .repository-cta h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); line-height: 1.5; margin-block: 9px 0; font-weight: 650; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 28px; }
.step-number { font: 500 .9375rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--blue); }
.feature-grid h3 { font-size: 1.125rem; margin-block: 10px; }
.feature-grid p { color: var(--muted); font-size: .9375rem; }
.comparison-section { display: grid; grid-template-columns: 1fr 1.8fr; gap: 56px; align-items: center; }
.comparison-section > div > p:last-child { color: var(--muted); margin-top: 18px; max-width: 310px; }
.comparison-image { margin: 0; }
.comparison-image img { width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); }
.comparison-image figcaption { padding-bottom: 0; }
.usage-notes { margin: 22px 0 0; }
.usage-notes > div { display: grid; grid-template-columns: 180px 1fr; gap: 28px; padding-block: 22px; border-top: 1px solid var(--line); }
.usage-notes dt { font-size: 1rem; font-weight: 600; }
.usage-notes dd { margin: 0; color: var(--muted); font-size: .9375rem; }
.usage-notes a, .tool-credit a { color: var(--blue); }
.repository-cta { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: 32px; margin-top: 44px; background: #edf2ff; border-radius: 12px; }
.repository-cta p:not(.eyebrow) { color: var(--muted); margin-top: 12px; }
.repository-cta .button { flex-shrink: 0; }
.tool-credit { color: var(--muted); font-size: .8125rem; margin-top: 24px; }
.tool-page .site-footer { border-top: 1px solid var(--line); }
@media (max-width: 960px) {
  .tool-heading { gap: 32px; grid-template-columns: 1.3fr 1fr; }
  .tool-facts { padding-left: 24px; }
  .feature-grid { gap: 24px; }
  .comparison-section { gap: 32px; }
}
@media (max-width: 680px) {
  .tool-main { padding-top: 20px; }
  .tool-heading { grid-template-columns: 1fr; gap: 28px; padding-block: 24px 32px; }
  .tool-lead { font-size: 1.25rem; }
  .tool-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; border-left: 0; border-top: 1px solid var(--line); padding: 24px 0 0; }
  .tool-facts > div + div { margin-top: 0; }
  .tool-facts dd { font-size: .875rem; }
  .tool-screenshot { padding: 10px 10px 0; border-radius: 10px; }
  .tool-screenshot figcaption { line-height: 1.6; }
  .tool-section { padding-block: 36px; }
  .feature-grid { grid-template-columns: 1fr; gap: 25px; }
  .feature-grid h3 { margin-block: 5px 7px; }
  .comparison-section { grid-template-columns: 1fr; gap: 22px; }
  .comparison-section > div > p:last-child { max-width: none; }
  .usage-notes > div { grid-template-columns: 1fr; gap: 7px; padding-block: 18px; }
  .repository-cta { flex-direction: column; align-items: flex-start; padding: 24px; margin-top: 32px; }
}
