* { box-sizing: border-box; }

:root {
  --font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
  --bg: #fff;
  --text: #202124;
  --text-muted: #5f6368;
  --border: #dadce0;
  --link: #1a73e8;
  --link-hover: #1557b0;
  --card-bg: #f8f9fa;
  --card-bg-hover: #e8eaed;
  --primary: #1a73e8;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1a1a1a;
    --text: #e5e5e5;
    --text-muted: #a0a0a0;
    --border: #333;
    --link: #6eb3f7;
    --link-hover: #8ec8ff;
    --card-bg: #252525;
    --card-bg-hover: #2e2e2e;
    --primary: #8ab4f8;
  }
}

html {
  font-family: var(--font-mono);
  font-size: 100%;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Nav – plaintext style to match app */
.site-nav {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--bg);
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.site-nav-inner {
  display: flex;
  align-items: center;
  gap: 0 1rem;
  padding: 0 1rem;
  max-width: min(960px, 100%);
  margin: 0 auto;
  height: 3rem;
}

.site-nav-logo {
  color: var(--text);
  text-decoration: none;
  font-weight: normal;
  white-space: nowrap;
}

.site-nav-logo:hover {
  color: var(--link);
}

.site-nav-spacer {
  flex: 1 1 auto;
  min-width: 0.5rem;
}

.site-nav-link {
  color: var(--link);
  text-decoration: none;
}

.site-nav-link:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

/* Main content */
main {
  flex: 1 0 auto;
  max-width: min(960px, 100%);
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
  width: 100%;
}

.coming-soon {
  text-align: center;
  font-size: 1.125rem;
  color: var(--text);
  margin: 3rem 0;
}

.hero {
  text-align: center;
  padding: 3rem 0 4rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 3rem;
}

.hero h1 {
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.hero .tagline {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.content-section {
  margin-bottom: 2.5rem;
}

.content-section h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--text);
}

.content-section p {
  margin: 0 0 0.75rem;
  line-height: 1.6;
  color: var(--text);
}

.content-section p:last-child {
  margin-bottom: 0;
}

.content-section .muted {
  color: var(--text-muted);
  font-size: 0.95em;
}

.content-section a {
  color: var(--link);
  text-decoration: none;
}

.content-section a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}

/* Card / project highlight */
.project-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 1rem;
}

.project-card h3 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.project-card p {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text);
}

.project-card p:last-child {
  margin-bottom: 0;
}

.project-card a {
  color: var(--link);
  text-decoration: none;
}

.project-card a:hover {
  text-decoration: underline;
}

/* Footer – match app */
.site-footer {
  flex: none;
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.55rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
}

.site-footer a {
  color: var(--link);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}
