/* UnFeed — Signal Cut
   Display/UI: Space Grotesk | Paper field, ink, electric lime
   Home: single-viewport composition (no scroll when possible) */

:root {
  --bg: #f4f2ec;
  --bg-deep: #e8e4dc;
  --text: #0a0a0a;
  --muted: #6b6b6b;
  --accent: #c8e046;
  --accent-ink: #0a0a0a;
  --line: rgba(10, 10, 10, 0.1);
  --font: "Space Grotesk", "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  min-height: 100vh;
  min-height: 100dvh;
  line-height: 1.5;
  background: var(--bg);
  position: relative;
  overflow-x: hidden;
}

body.home {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

/* Soft paper field — uniform (no left cut / feed blur) */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(200, 224, 70, 0.12), transparent 55%),
    linear-gradient(180deg, #f7f5f0 0%, var(--bg) 45%, var(--bg-deep) 100%);
}

.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wrap,
.hero {
  position: relative;
  z-index: 1;
  width: min(560px, calc(100% - 40px));
  margin: 0 auto;
}

.wrap {
  padding: 72px 0 80px;
}

.wrap.narrow {
  width: min(560px, calc(100% - 40px));
}

.hero {
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 0;
  overflow: hidden;
}

.brand-stack {
  font-size: clamp(2.75rem, 9vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--text);
  margin-bottom: 16px;
  animation: rise-in 0.7s ease-out both;
}

.headline {
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.25;
  max-width: 16em;
  margin-bottom: 8px;
  animation: rise-in 0.7s ease-out 0.08s both;
}

.lede {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 34em;
  margin-bottom: 18px;
  line-height: 1.45;
  animation: rise-in 0.7s ease-out 0.14s both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
  animation: rise-in 0.7s ease-out 0.2s both;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 11px 18px;
  border-radius: 10px;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.btn:hover {
  filter: brightness(0.97);
  transform: translateY(-1px);
}

.text-link {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 0.9rem;
}

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

.plan-line {
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  animation: rise-in 0.7s ease-out 0.26s both;
}

.pair {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 20px;
  margin-bottom: 14px;
  animation: rise-in 0.7s ease-out 0.3s both;
}

.pair li {
  display: flex;
  gap: 8px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.35;
}

.pair span {
  color: var(--text);
  font-weight: 700;
  width: 1em;
  flex-shrink: 0;
}

.foot {
  color: var(--muted);
  font-size: 0.82rem;
  animation: rise-in 0.7s ease-out 0.34s both;
}

.foot a {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.foot a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Privacy / inner pages */
.mark {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.mark a {
  color: inherit;
  text-decoration: none;
}

.mark a:hover {
  color: var(--muted);
}

h1 {
  font-size: clamp(2rem, 5vw, 2.5rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 16px;
}

h2 {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 28px 0 8px;
}

.meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

section p,
section ul {
  color: var(--muted);
  font-size: 0.98rem;
  margin-bottom: 10px;
}

section ul {
  padding-left: 1.2em;
}

section li {
  margin-bottom: 4px;
}

section strong,
section code {
  color: var(--text);
}

section a {
  color: var(--text);
  font-weight: 600;
}

@media (max-width: 520px) {
  .hero {
    padding: 16px 0;
  }

  .brand-stack {
    font-size: clamp(2.4rem, 14vw, 3.25rem);
    margin-bottom: 12px;
  }

  .pair {
    grid-template-columns: 1fr 1fr;
    gap: 5px 12px;
  }

  .lede {
    font-size: 0.88rem;
    margin-bottom: 14px;
  }

  .cta-row {
    margin-bottom: 16px;
  }
}

@media (max-height: 740px) {
  .brand-stack {
    font-size: clamp(2.2rem, 7vh, 3.25rem);
    margin-bottom: 10px;
  }

  .headline {
    font-size: 1.05rem;
    margin-bottom: 6px;
  }

  .lede {
    font-size: 0.85rem;
    margin-bottom: 12px;
  }

  .cta-row {
    margin-bottom: 12px;
    gap: 12px;
  }

  .btn {
    padding: 9px 14px;
    font-size: 0.85rem;
  }

  .plan-line {
    padding-top: 10px;
    margin-bottom: 8px;
    font-size: 0.78rem;
  }

  .pair {
    gap: 4px 16px;
    margin-bottom: 10px;
  }

  .pair li {
    font-size: 0.8rem;
  }

  .foot {
    font-size: 0.78rem;
  }
}

@media (max-height: 620px) {
  body.home {
    overflow-y: auto;
  }

  .hero {
    height: auto;
    min-height: 100dvh;
    padding: 20px 0;
  }

  .brand-stack {
    font-size: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-stack,
  .headline,
  .lede,
  .cta-row,
  .plan-line,
  .pair,
  .foot {
    animation: none;
  }
}
