:root {
  --paper: #e9e7e1;
  --paper-deep: #dddacc;
  --ink: #14161c;
  --ink-soft: #5c616b;
  --now: #b91c2c;
  --font-display: "Instrument Serif", "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  position: relative;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 90% 60% at 15% 0%, rgba(185, 28, 44, 0.07), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 20%, rgba(47, 93, 80, 0.08), transparent 50%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper-deep) 100%);
  animation: wash 14s ease-in-out infinite alternate;
}

@keyframes wash {
  from { opacity: 1; }
  to { opacity: 0.92; }
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 0;
}

.wordmark {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--ink);
  text-decoration: none;
}

.top-link {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
}

.top-link:hover {
  color: var(--ink);
}

main {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.hero {
  min-height: min(72vh, 36rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: rise 0.9s ease-out both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.brand {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2.75rem, 8vw, 4rem);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
  line-height: 1;
  animation: rise 1s 0.08s ease-out both;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  line-height: 1.25;
  margin: 0 0 0.85rem;
  max-width: 22ch;
  color: var(--ink);
}

.lede {
  margin: 0 0 1.75rem;
  color: var(--ink-soft);
  max-width: 36ch;
  font-size: 1.05rem;
}

.cta-row {
  margin: 0 0 0.75rem;
}

.cta {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-weight: 600;
  padding: 0.85rem 1.4rem;
  border-radius: 2px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.cta:hover {
  background: var(--now);
  transform: translateY(-1px);
}

.os-note {
  margin: 0;
  color: var(--now);
  font-size: 0.95rem;
  max-width: 36ch;
}

.trust {
  margin: 2.5rem 0 0;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(20, 22, 28, 0.12);
  border-bottom: 1px solid rgba(20, 22, 28, 0.12);
  animation: rise 1s 0.2s ease-out both;
}

.trust p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.install,
.privacy {
  margin-top: 2.5rem;
}

.install h2,
.privacy h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.5rem;
  margin: 0 0 0.75rem;
}

.install ol {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--ink);
}

.install li {
  margin-bottom: 0.5rem;
}

.hint,
.privacy p {
  color: var(--ink-soft);
  margin: 1rem 0 0;
}

footer {
  max-width: 42rem;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

footer a {
  color: var(--ink-soft);
}

footer a:hover {
  color: var(--ink);
}

.foot-note {
  margin-top: 0.5rem;
  opacity: 0.85;
}

@media (prefers-reduced-motion: reduce) {
  .atmosphere,
  .hero,
  .brand,
  .trust {
    animation: none;
  }
  .cta:hover {
    transform: none;
  }
}
