:root {
  color-scheme: light dark;
  --canvas: #f7faf8;
  --card: #ffffff;
  --text: #0b100d;
  --muted: #526258;
  --accent: #168044;
  --accent-ink: #0b100d;
  --line: rgba(11, 16, 13, 0.12);
  --focus: #168044;
  --header: rgba(247, 250, 248, 0.92);
  --shadow: 0 1px 0 rgba(11, 16, 13, 0.06);
  --font: "Segoe UI", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --measure: 42rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #090d0b;
    --card: #1c2520;
    --text: #f3f8f4;
    --muted: #afbbb3;
    --accent: #67e695;
    --accent-ink: #090d0b;
    --line: rgba(243, 248, 244, 0.14);
    --focus: #67e695;
    --header: rgba(9, 13, 11, 0.92);
    --shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--canvas);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
}

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

  * {
    transition: none !important;
  }
}

a {
  color: var(--accent);
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 2;
  padding: 0.6rem 0.9rem;
  background: var(--card);
  color: var(--text);
  border-radius: 0.5rem;
}

.skip:focus {
  top: 0.75rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  background: var(--header);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  font-weight: 650;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand svg {
  display: block;
}

.nav {
  display: flex;
  gap: 0.35rem 1rem;
}

.nav a {
  color: var(--text);
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.45rem 0.2rem;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--accent);
  text-decoration: underline;
}

.home {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-width: 0;
}

.home main {
  flex: 1;
  display: grid;
  align-content: center;
  width: 100%;
  max-width: 42.5rem;
  min-width: 0;
  margin: 0 auto;
  padding: 4.5rem 1.25rem 3rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 100%;
  font-size: clamp(2.1rem, 5vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.lede {
  margin: 1.1rem 0 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.15rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  background: var(--text);
  color: var(--canvas);
  font-weight: 650;
  text-decoration: none;
}

.button:hover {
  text-decoration: none;
  filter: brightness(1.15);
}

.button-secondary {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 1.5px var(--line);
}

.site-footer {
  padding: 1.25rem;
  color: var(--muted);
  font-size: 0.92rem;
  border-top: 1px solid var(--line);
}

.home .site-footer {
  width: 100%;
  max-width: 42.5rem;
  margin: 0 auto;
  border-top: 0;
}

.legal {
  width: min(100% - 2.5rem, var(--measure));
  margin: 0 auto;
  padding: 2.25rem 0 4rem;
}

.legal h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
}

.updated {
  margin: 0.8rem 0 0;
  color: var(--muted);
}

.legal h2 {
  margin: 2.1rem 0 0.55rem;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.legal h3 {
  margin: 1.35rem 0 0.35rem;
  font-size: 1.05rem;
}

.legal p,
.legal li {
  overflow-wrap: anywhere;
}

.legal ul,
.legal ol {
  margin: 0.4rem 0 0;
  padding-left: 1.2rem;
}

.legal li + li {
  margin-top: 0.35rem;
}

.notice {
  margin-top: 1.5rem;
  padding: 0.9rem 1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  box-shadow: var(--shadow);
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 0.75rem;
  }

  .home main {
    padding-top: 2.5rem;
  }
}

.construction {
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 1.25rem;
  text-align: center;
}

.construction .app-icon {
  display: block;
  width: 7rem;
  height: 7rem;
  margin: 0 auto 1.75rem;
  border-radius: 22.5%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.construction .eyebrow {
  margin: 1rem 0 0;
}
