:root {
  color-scheme: light;
  --background: #ffffff;
  --ink: #101c2f;
  --muted: #566780;
  --line: #d7dfe8;
  --link: #075bd8;
  --link-hover: #034aaf;
  --cyan: #99ecfa;
  --terminal: #0c182a;
  --terminal-header: #17263c;
  --gutter: clamp(1.35rem, 4.2vw, 3.75rem);
  --content-width: 1320px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body { margin: 0; background: var(--background); color: var(--ink); -webkit-font-smoothing: antialiased; }
a { color: var(--link); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
a:hover { color: var(--link-hover); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--link); outline-offset: 5px; }
button { font-family: inherit; }
img { display: block; max-width: 100%; height: auto; }
svg { width: 21px; height: 21px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2 { font-weight: 750; letter-spacing: -0.025em; }
h3, dt { font-weight: 680; letter-spacing: -0.038em; }
.container { width: min(var(--content-width), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 2; top: 0; left: var(--gutter); padding: 12px 18px; background: var(--ink); color: #fff; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(10px); color: #fff; }
.external-link { display: inline-flex; align-items: center; gap: 8px; }

.site-header { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 36px 33px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 18px; color: var(--ink); text-decoration: none; font-size: clamp(1.4rem, 2.32vw, 2rem); font-weight: 740; letter-spacing: -0.04em; white-space: nowrap; }
.brand:hover { color: var(--ink); }
.brand-mark { display: block; flex: 0 0 auto; width: 48px; height: 48px; border-radius: 5px; overflow: hidden; }
.brand img { width: 100%; height: 100%; transform: scale(1.2); }
.site-header nav { display: flex; align-items: center; gap: clamp(24px, 3.4vw, 48px); }
.site-header nav a { color: var(--ink); text-decoration: none; font-size: 19px; line-height: 1.4; white-space: nowrap; }
.site-header nav a:hover { color: var(--link); text-decoration: underline; }
.site-header nav .nav-github { color: var(--link); margin-left: 30px; }

.hero { display: grid; grid-template-columns: 1.46fr 1fr; align-items: start; gap: clamp(44px, 5.6vw, 80px); padding-block: 64px 47px; }
.hero h1 { font-size: clamp(3.6rem, 6.25vw, 5.625rem); line-height: 1.045; letter-spacing: -0.01em; max-width: 760px; margin-top: 16px; }
.hero-description { max-width: 710px; margin-top: 32px; color: var(--muted); font-size: clamp(1.125rem, 1.9vw, 1.625rem); line-height: 1.38; letter-spacing: -0.018em; }
.hero-art { width: 100%; max-width: 510px; aspect-ratio: 1; border-radius: 10px; overflow: hidden; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.19); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; margin-top: 32px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; padding: 18px 36px; border: 1px solid var(--ink); border-radius: 5px; font-size: 22px; font-weight: 650; line-height: 1.35; letter-spacing: -0.025em; text-decoration: none; transition: background-color 150ms ease, border-color 150ms ease; }
.button-primary { background: var(--ink); color: #fff; }
.button-primary:hover { background: #20334e; border-color: #20334e; color: #fff; }
.button-secondary { color: var(--ink); }
.button-secondary:hover { background: #f4f7fb; color: var(--ink); }
.project-status { margin-top: 22px; color: var(--muted); font-size: 19px; line-height: 1.5; letter-spacing: -0.012em; }

.section { border-top: 1px solid var(--line); padding-block: 48px 54px; }
.workflow h2 { font-size: clamp(2.25rem, 4vw, 3.55rem); line-height: 1.14; }
.section-intro { color: var(--muted); font-size: clamp(1.15rem, 1.85vw, 1.6rem); line-height: 1.42; letter-spacing: -0.01em; }
.workflow > .section-intro { margin-top: 12px; }
.workflow-rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; list-style: none; padding: 0; margin: 26px 0 0; }
.step-mark { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.step-mark span { display: grid; place-items: center; flex: 0 0 40px; height: 40px; border-radius: 50%; background: var(--cyan); color: var(--ink); font-size: 16px; font-weight: 650; }
.step-mark::after { content: ""; height: 1px; flex: 1 1 auto; background: #a6c9e7; }
.workflow h3 { font-size: 22px; line-height: 1.2; margin-bottom: 9px; }
.workflow-rail p { max-width: 265px; color: var(--muted); font-size: 18px; line-height: 1.5; letter-spacing: -0.015em; }
.workflow-note { max-width: 970px; margin-top: 28px; color: var(--muted); font-size: 15px; line-height: 1.6; }

.two-column { display: grid; grid-template-columns: 0.93fr 1.07fr; gap: clamp(48px, 7vw, 96px); }
.semantics { padding-block: 58px 56px; }
.semantics h2 { max-width: 520px; font-size: clamp(2.65rem, 4.95vw, 4.35rem); line-height: 1.075; }
.section-copy > .section-intro { margin-top: 24px; }
.text-link { font-size: 22px; line-height: 1.45; text-decoration: none; letter-spacing: -0.015em; }
.text-link:hover { text-decoration: underline; }
.semantics .text-link { margin-top: 32px; }
.semantic-definitions > div { padding-block: 22px; border-bottom: 1px solid var(--line); }
.semantic-definitions > div:first-child { padding-top: 0; }
.semantic-definitions > div:last-child { padding-bottom: 0; border-bottom: 0; }
.semantic-definitions dt { margin-bottom: 8px; font-size: 25px; line-height: 1.3; }
.semantic-definitions dd { color: var(--muted); font-size: 21px; line-height: 1.45; letter-spacing: -0.01em; }

.get-started { padding-block: 40px 38px; align-items: start; }
.get-started h2 { font-size: clamp(2.5rem, 4.15vw, 3.7rem); line-height: 1.15; margin-top: 20px; }
.setup-links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 32px; }
.terminal { color: #fff; border-radius: 7px; overflow: hidden; background: var(--terminal); border: 1px solid #071223; }
.terminal-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 57px; padding: 12px 20px; background: var(--terminal-header); font-size: 16px; font-weight: 600; }
.terminal-header button { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: #fff; border: 1px solid #7490ac; border-radius: 4px; padding: 6px 9px; font-size: 13px; font-weight: 500; line-height: 1.3; cursor: pointer; }
.terminal-header button[hidden] { display: none; }
.terminal-header button:hover { background: #233b56; }
.terminal-header button:focus-visible { outline-color: var(--cyan); }
.terminal-header button svg { width: 16px; height: 16px; }
.terminal pre { padding: 19px 22px 22px; margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 16px; line-height: 1.65; }
.terminal code { font: inherit; }
.setup-caption { margin-top: 20px; color: var(--muted); font-size: 17px; line-height: 1.6; letter-spacing: -0.01em; }
.setup-caption code { font-family: inherit; }
.copy-status { min-height: 24px; margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 1.6; }

.site-footer { display: flex; align-items: start; justify-content: space-between; gap: 60px; border-top: 1px solid var(--line); padding-block: 38px 30px; }
.footer-copy { max-width: 660px; }
.footer-brand { color: var(--ink); font-size: 27px; font-weight: 730; letter-spacing: -0.045em; }
.footer-copy p + p { margin-top: 12px; }
.footer-copy p:not(.footer-brand) { color: var(--muted); font-size: 16px; line-height: 1.5; letter-spacing: -0.014em; }
.footer-copy p.footer-note { font-size: 14px; margin-top: 20px; }
.site-footer nav { display: flex; flex-direction: column; align-items: start; gap: 12px; padding-top: 4px; }
.site-footer nav a { font-size: 16px; line-height: 1.3; text-decoration: none; }
.site-footer nav a:hover { text-decoration: underline; }
.site-footer nav svg { width: 17px; height: 17px; }

@media (min-width: 1600px) {
  .hero h1 { font-size: 90px; }
}

@media (max-width: 1100px) {
  .site-header nav { gap: 22px; }
  .site-header nav .nav-github { margin-left: 0; }
  .hero { gap: 38px; grid-template-columns: 1.43fr 1fr; }
  .hero h1 { font-size: clamp(3.4rem, 6.4vw, 4.4rem); letter-spacing: -0.035em; }
  .hero-description { font-size: 20px; }
  .button { padding: 15px 22px; font-size: 18px; }
  .two-column { gap: 45px; grid-template-columns: 0.93fr 1.07fr; }
  .semantics h2 { font-size: 48px; }
  .section-intro { font-size: 20px; }
  .semantic-definitions dd { font-size: 18px; }
  .get-started h2 { font-size: 40px; }
  .text-link { font-size: 18px; }
  .workflow-rail p { font-size: 16px; }
  .workflow h3 { font-size: 20px; }
  .terminal pre { font-size: 14px; }
}

@media (max-width: 820px) {
  .site-header { flex-wrap: wrap; gap: 22px; padding-block: 24px 22px; }
  .brand { font-size: 27px; }
  .brand-mark { width: 42px; height: 42px; }
  .site-header nav { flex-wrap: wrap; width: 100%; gap: 14px 24px; }
  .site-header nav a { font-size: 16px; }
  .site-header nav .nav-github { margin-left: auto; }
  .hero { padding-block: 40px 42px; gap: 28px; grid-template-columns: 1.25fr 0.75fr; }
  .hero h1 { margin-top: 0; font-size: 49px; letter-spacing: -0.052em; }
  .hero-art { margin-top: 6px; }
  .hero-description { margin-top: 24px; font-size: 18px; line-height: 1.5; }
  .hero-actions { margin-top: 24px; gap: 12px; }
  .button { font-size: 16px; padding: 14px 17px; }
  .project-status { font-size: 15px; margin-top: 18px; }
  .workflow-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 26px; column-gap: 32px; }
  .workflow-rail p { max-width: none; font-size: 17px; }
  .two-column { grid-template-columns: 1fr; gap: 32px; }
  .semantics h2 { max-width: none; font-size: 48px; }
  .section-copy > .section-intro { max-width: 640px; margin-top: 16px; }
  .semantic-definitions > div { padding-block: 20px; }
  .get-started h2 { margin-top: 0; font-size: 44px; }
  .setup-links { margin-top: 20px; }
  .terminal pre { font-size: 15px; }
  .site-footer { gap: 36px; }
  .footer-copy { max-width: 440px; }
}

@media (max-width: 560px) {
  .brand { font-size: 25px; gap: 12px; }
  .site-header nav { gap: 12px 20px; }
  .site-header nav a { font-size: 14px; }
  .site-header nav .nav-github { margin-left: 0; }
  .site-header nav svg { width: 16px; height: 16px; }
  .hero { grid-template-columns: 1fr; gap: 30px; }
  .hero h1 { font-size: clamp(2.9rem, 10.65vw, 3.5rem); line-height: 1.06; }
  .hero-art { width: min(100%, 330px); margin: 0; }
  .hero-description { font-size: 19px; }
  .button { font-size: 16px; padding: 15px 17px; }
  .hero-actions { gap: 12px; }
  .button-secondary svg { width: 18px; height: 18px; }
  .section { padding-block: 34px 38px; }
  .workflow h2 { font-size: 35px; }
  .section-intro { font-size: 19px; }
  .workflow-rail { column-gap: 22px; }
  .workflow h3 { font-size: 20px; }
  .workflow-rail p { font-size: 16px; }
  .step-mark { margin-bottom: 14px; }
  .workflow-note { margin-top: 24px; font-size: 14px; }
  .semantics h2, .get-started h2 { font-size: 40px; letter-spacing: -0.045em; }
  .semantic-definitions dt { font-size: 22px; }
  .semantic-definitions dd { font-size: 18px; }
  .text-link { font-size: 18px; }
  .semantics .text-link { margin-top: 22px; }
  .setup-links { gap: 14px 20px; }
  .terminal-header { padding: 12px 14px; }
  .terminal pre { padding: 18px 14px 20px; font-size: 13px; line-height: 1.75; }
  .setup-caption { margin-top: 16px; font-size: 15px; }
  .site-footer { flex-direction: column; padding-block: 32px; gap: 24px; }
  .footer-brand { font-size: 25px; }
  .site-footer nav { gap: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
