@font-face {
  font-family: 'Geist_Light';
  src: url('/static/fonts/Geist-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IBMPlexMono_Medium';
  src: url('/static/fonts/IBMPlexMono-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'OrticaLinear_Display';
  src:
    local('OrticaLinear-Bold'),
    local('Ortica Linear Bold'),
    url('/static/fonts/OrticaLinear-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  font-synthesis: none;
}

:root {
  --silver: #b7b7b7ff;
  --chinese-violet: #75546fff;
  --beaver: #b59a8aff;
  --ebony: #5c5d54ff;
  --seasalt: #f8fbfaff;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
  background: var(--seasalt);
  color: var(--ebony);
  font-family: 'Geist_Light', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.container {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  max-width: 920px;
  margin: 0 auto;
  padding: 60px 24px 60px;
  display: grid;
  gap: 36px;
}

.branding {
  display: grid;
  gap: 16px;
  justify-items: center;
  margin-top: 20px;
}

.title {
  margin: 0;
  font-family: 'OrticaLinear_Display', serif;
  font-size: clamp(44px, 6vw, 56px);
  line-height: 1.15;
  letter-spacing: 2px;
  text-align: center;
  text-shadow: 0 3px 6px rgba(0,0,0,0.4);
}

.subtitle {
  margin: 0;
  font-size: clamp(18px, 2.6vw, 22px);
  line-height: 1.4;
  letter-spacing: 0.5px;
  opacity: 0.95;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.cta {
  display: grid;
  gap: 14px;
  justify-items: center;
}

.btn {
  display: inline-grid;
  place-items: center;
  min-width: 220px;
  padding: 18px 36px;
  border-radius: 30px;
  text-decoration: none;
  font-family: 'IBMPlexMono_Medium', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 18px;
  letter-spacing: 0.5px;
  transition: transform 140ms ease, box-shadow 140ms ease, opacity 140ms ease;
  will-change: transform, box-shadow, opacity;
}

.btn-primary {
  background: var(--chinese-violet);
  color: var(--seasalt);
  box-shadow: 0 0 0 rgba(255,255,255,0.0);
}

.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 16px rgba(117, 84, 111, 0.3); }
.btn-primary:active { transform: translateY(0); opacity: 0.9; }

.link {
  color: var(--chinese-violet);
  text-decoration: underline;
  font-family: 'IBMPlexMono_Medium', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.section {
  display: grid;
  gap: 10px;
}

.section-title {
  margin: 0 0 4px;
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: 0.5px;
}

.bullets {
  margin: 0;
  padding-left: 1.2em;
  display: grid;
  gap: 8px;
}

.footer {
  display: grid;
  gap: 14px;
  justify-items: center;
}

.noscript {
  position: fixed;
  bottom: 8px;
  left: 8px;
  right: 8px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 14px;
}

.star {
  position: absolute;
  border-radius: 50%;
  background: var(--silver);
  opacity: 0.8;
  animation: twinkle var(--dur) ease-in-out infinite alternate;
}

@keyframes twinkle {
  0%   { opacity: 0.25; transform: scale(0.9); }
  100% { opacity: 0.9; transform: scale(1.1); }
}

/* Ensure display font uses the bold face like in the app */
.font-display {
  font-family: 'OrticaLinear_Display', serif;
  font-weight: 700;
  font-synthesis: none;
}


