@import url("/deploy-wizard.css");

@font-face {
  font-family: "Inter Dotnote";
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Mono Dotnote";
  src: url("/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #f7f6f3;
  --ink: #1a1814;
  --ink-secondary: #6b6560;
  --dim: #8a837c;
  --chrome-border: rgb(230 226 218 / 70%);
  --chrome-bg: rgb(247 246 243 / 85%);
  --font-sans: "Inter Dotnote", ui-sans-serif, system-ui, sans-serif;
}

html.dark {
  color-scheme: dark;
  --bg: #121212;
  --ink: #f0f0f0;
  --ink-secondary: #b8b8b8;
  --dim: #7c7c7c;
  --chrome-border: rgb(38 38 38 / 70%);
  --chrome-bg: rgb(18 18 18 / 85%);
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-weight: 500;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

.install-page {
  position: relative;
}

.page-glow {
  pointer-events: none;
  position: fixed;
  inset: 0 0 auto;
  height: 16rem;
  background: radial-gradient(ellipse 70% 55% at 50% 0%, rgb(242 169 59 / 14%), transparent 65%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 3.5rem;
  padding: 0 1rem;
  border-bottom: 1px solid var(--chrome-border);
  background: var(--chrome-bg);
  backdrop-filter: blur(12px);
}

@media (min-width: 640px) {
  .site-header {
    padding: 0 1.5rem;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: inherit;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand img {
  display: block;
}

.site-header nav {
  font-size: 0.875rem;
  color: var(--ink-secondary);
}

.nav-current {
  color: var(--ink);
}

.page-main {
  position: relative;
  max-width: 72rem;
  margin: 0 auto;
  padding: 2.5rem 1rem 3rem;
}

@media (min-width: 768px) {
  .page-main {
    padding-top: 3.5rem;
  }
}

.hero {
  max-width: 32rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.hero h1 {
  margin: 0;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 1.875rem;
  }
}

.hero-lead {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ink-secondary);
}

@media (min-width: 768px) {
  .hero-lead {
    font-size: 1rem;
  }
}

.site-footer {
  margin-top: 2rem;
  padding: 2rem 1rem;
  border-top: 1px solid var(--chrome-border);
}

.footer-row {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--ink-secondary);
}

@media (min-width: 640px) {
  .footer-row {
    flex-direction: row;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-note {
  margin: 0;
  max-width: 22rem;
  font-size: 0.75rem;
  line-height: 1.5;
  text-align: center;
}

@media (min-width: 640px) {
  .footer-note {
    text-align: right;
  }
}
