@font-face { font-family: "Geist"; font-weight: 400; font-display: swap; src: url("fonts/geist-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-weight: 500; font-display: swap; src: url("fonts/geist-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-weight: 600; font-display: swap; src: url("fonts/geist-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-weight: 400; font-display: swap; src: url("fonts/geist-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-weight: 500; font-display: swap; src: url("fonts/geist-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  --ground: #0E1113;
  --surface: #161A1D;
  --border: #22282D;
  --border-strong: #2A3035;
  --ink: #E8EAEC;
  --muted: #9AA3AB;
  --faint: #8A939B;
  --link: #C9CED3;
  --accent: #B8F35A;
  --on-accent: #0E1113;
  --sans: "Geist", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: #FFFFFF; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, p { margin: 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 0; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 19px; }
.logo-mark { display: inline-flex; width: 28px; height: 28px; border-radius: 8px; background: var(--accent); color: var(--on-accent); align-items: center; justify-content: center; font-family: var(--mono); font-size: 15px; font-weight: 500; }
.site-header nav { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; font-size: 15px; }
.site-header nav a { color: var(--muted); }
.site-header nav a:hover { color: var(--ink); }
.site-header nav a.github { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--border-strong); border-radius: 10px; color: var(--ink); }

/* Hero */
.hero { padding: 104px 0 88px; display: flex; flex-direction: column; gap: 28px; }
.pill { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--border-strong); border-radius: 999px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 4px; background: var(--accent); }
.hero h1 { font-size: clamp(44px, 7.4vw, 104px); line-height: 0.98; font-weight: 600; letter-spacing: -0.045em; max-width: 13ch; }
.lead { font-size: 21px; line-height: 1.5; max-width: 38rem; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }
.button { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 10px; border: 1px solid var(--border-strong); font-weight: 500; font-size: 16px; }
.button.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 600; }
.button.primary:hover { background: #C8F77A; color: var(--on-accent); }

/* Sections */
.section { padding: 40px 0; display: flex; flex-direction: column; gap: 24px; }
.section:last-of-type { padding-bottom: 96px; }
.label { font-family: var(--mono); font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.cards { display: flex; flex-wrap: wrap; gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 28px; transition: border-color 0.15s; }
.card:hover { border-color: #3A4249; }

/* Apps */
.app { flex: 1 1 320px; display: flex; flex-direction: column; gap: 14px; }
.app svg { color: var(--accent); }
.app .name { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; }
.app .desc { font-size: 16px; line-height: 1.55; color: var(--muted); }
.app .url { font-family: var(--mono); font-size: 13px; color: var(--link); padding-top: 6px; }

/* Developer tools */
.tool { flex: 1 1 440px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.tool .name { font-family: var(--mono); font-size: 22px; font-weight: 500; }
.tool .desc { flex: 1 1 240px; font-size: 16px; line-height: 1.55; color: var(--muted); }

/* Open source */
.oss { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.oss li > * { display: flex; flex-wrap: wrap; gap: 8px 32px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.oss .name { font-family: var(--mono); font-size: 16px; width: 200px; }
.oss .desc { flex: 1 1 320px; font-size: 16px; color: var(--muted); }
.oss a:hover .name { color: var(--accent); }

/* Contact */
.contact { padding: 56px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; }
.contact > div { flex: 1 1 360px; display: flex; flex-direction: column; gap: 12px; }
.contact h2 { font-size: 36px; font-weight: 600; letter-spacing: -0.03em; }
.contact p { font-size: 18px; line-height: 1.5; color: var(--muted); }

/* Footer */
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding: 40px 0 48px; font-family: var(--mono); font-size: 13px; color: var(--faint); }

@media (max-width: 640px) {
  .hero { padding: 64px 0 56px; }
  .contact { padding: 32px 24px; }
  .contact h2 { font-size: 30px; }
}
