@font-face { font-family: "Jakarta"; font-weight: 400; font-display: swap; src: url("fonts/plus-jakarta-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Jakarta"; font-weight: 500; font-display: swap; src: url("fonts/plus-jakarta-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Jakarta"; font-weight: 700; font-display: swap; src: url("fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Jakarta"; font-weight: 800; font-display: swap; src: url("fonts/plus-jakarta-sans-latin-800-normal.woff2") format("woff2"); }
:root {
  --ground: #eef1f2;
  --ink: #18242d;
  --muted: #4c5b66;
  --asphalt: #333d45;
  --marking: #f4b400;
  --link: #0a5a86;
  --rule: #c6cfd4;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 1.0625rem/1.7 "Jakarta", system-ui, sans-serif;
}
.wrap { width: min(100% - 2.5rem, 960px); margin-inline: auto; }
a { color: var(--link); text-underline-offset: 0.2em; }
a:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; }
.skip { position: absolute; left: -999rem; }
.skip:focus { left: 1rem; top: 1rem; background: #fff; padding: 0.5rem 1rem; z-index: 1; }

h1, h2, h3, .top, .kind, .methods, dt, footer, .links { font-family: "Jakarta", system-ui, sans-serif; }

.top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; padding-block: 1.25rem; border-bottom: 1px solid var(--rule); }
.home { font-weight: 800; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; font-size: 1rem; }
nav a { text-decoration: none; color: var(--muted); }
nav a:hover { color: var(--link); text-decoration: underline; }

.intro { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 3rem; align-items: center; padding-block: clamp(3rem, 8vw, 5.5rem) 2.5rem; }
.photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; }
.button { display: inline-block; margin-top: 0.5rem; padding: 0.6rem 1.4rem; background: var(--ink); color: #fff; border-radius: 4px; font: 700 1rem "Jakarta", system-ui, sans-serif; text-decoration: none; }
.button:hover { background: var(--link); }
h1 { margin: 0 0 1.5rem; max-width: 19ch; font-weight: 800; font-size: clamp(2.1rem, 5.2vw, 3.4rem); line-height: 1.14; letter-spacing: -0.012em; text-wrap: balance; }
.intro p { max-width: 62ch; margin: 0 0 1rem; }
.intro .status { border-left: 6px solid var(--marking); padding-left: 1rem; font-weight: 700; }

.tech { margin-bottom: 4rem; background: #fff; border-radius: 12px; padding: 2.25rem 2rem; }
.tech ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.25rem 2rem; }
.tech svg { width: 48px; height: 48px; fill: none; stroke: var(--link); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.tech h3 { margin-top: 0.75rem; font-size: 1.05rem; }
.tech p { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.95rem; line-height: 1.6; }
.flow { list-style: none; margin: 1.5rem 0 0; padding: 0; display: flex; align-items: center; }
.flow li { display: flex; align-items: center; }
.flow li + li { flex: 1; }
.flow li + li::before { content: ""; flex: 1; min-width: 10px; height: 10px; margin-inline: clamp(3px, 1vw, 10px); background: var(--muted); clip-path: polygon(0 4px, calc(100% - 8px) 4px, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, calc(100% - 8px) 6px, 0 6px); }
.flow svg { width: clamp(48px, 13vw, 104px); height: auto; aspect-ratio: 1; background: #fff; border-radius: 50%; fill: none; stroke: var(--link); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.flow .alert { fill: var(--marking); stroke: var(--ink); }

.block { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; padding-block: 3rem; border-top: 1px solid var(--rule); scroll-margin-top: 1rem; }
h2 { margin: 0; font-size: 1.6rem; font-weight: 800; line-height: 1.2; }
.body { max-width: 66ch; margin: 0; }
.body > :first-child, article > :first-child { margin-top: 0; }
article { margin-bottom: 2.5rem; }
article:last-child { margin-bottom: 0; }
article p { margin: 0.5rem 0 0; }
h3 { margin: 0; font-size: 1.28rem; font-weight: 700; line-height: 1.3; text-wrap: balance; }
article .kind { margin-top: 0.3rem; color: var(--muted); font-size: 1rem; }
article .methods { font-size: 0.95rem; color: var(--link); }

dl div { padding-block: 0.75rem; border-bottom: 1px solid var(--rule); }
dl div:first-child { padding-top: 0; }
dl div:last-child { border-bottom: 0; }
dt { font-weight: 700; font-size: 1.05rem; }
dd { margin: 0.15rem 0 0; }

.links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.75rem 1.75rem; font-weight: 700; }
footer { padding-block: 2rem 3rem; border-top: 1px solid var(--rule); color: var(--muted); font-size: 0.95rem; }

@media (max-width: 720px) {
  .intro { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .photo { order: -1; width: min(220px, 70%); }
  .block { grid-template-columns: 1fr; gap: 1.25rem; padding-block: 2.5rem; }
  .tech { padding: 1.75rem 1.25rem; }
  .tech ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 1.25rem; }
}
@media (max-width: 460px) {
  .tech ul { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 360px) {
  h1 { font-size: 1.65rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
