:root{
  --bg: #0b0607;
  --ink: #f3eef0;
  --muted: rgba(243, 238, 240, .74);
  --dim: rgba(243, 238, 240, .12);

  /* More neon */
  --ember: #ff1e4a;             /* brighter neon red */
  --emberHot: rgba(255, 30, 74, .75);
  --emberSoft: rgba(255, 30, 74, .28);

  --shadow: rgba(0,0,0,.65);
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }

body{
  margin: 0;

  /* Stronger neon bloom in the background */
  background:
    radial-gradient(900px 520px at 50% 12%, rgba(255,30,74,.18), transparent 60%),
    radial-gradient(750px 520px at 62% 82%, rgba(255,30,74,.10), transparent 60%),
    radial-gradient(520px 360px at 18% 65%, rgba(255,30,74,.07), transparent 60%),
    linear-gradient(180deg, #070405, var(--bg));

  color: var(--ink);
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  letter-spacing: .2px;
  overflow-x: hidden;
}

/* subtle film grain */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.14'/%3E%3C/svg%3E");
  opacity: .22;
  mix-blend-mode: overlay;
}

main{
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: clamp(24px, 4vw, 54px);
}

.card{
  width: min(860px, 100%);
  border: 1px solid var(--dim);
  border-radius: 18px;

  /* a bit brighter so neon feels like it “hits” the surface */
  background: rgba(10, 6, 7, .56);

  box-shadow: 0 26px 70px var(--shadow);
  backdrop-filter: blur(6px);
  padding: clamp(22px, 4vw, 56px);
  position: relative;
  overflow: hidden;
}

.card::after{
  content:"";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(820px 320px at 50% -18%, rgba(255,30,74,.22), transparent 55%);
  pointer-events: none;
}

header{
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: clamp(18px, 3vw, 26px);
}

.title{
  margin: 0;
  font-size: clamp(40px, 6vw, 74px);
  letter-spacing: .10em;
  text-transform: uppercase;

  /* Stronger neon glow + bloom */
  text-shadow:
    0 0 2px rgba(255,30,74,.55),
    0 0 12px rgba(255,30,74,.35),
    0 0 28px rgba(255,30,74,.26),
    0 0 54px rgba(255,30,74,.18);
}

.subtitle{
  margin: 12px 0 0 0;
  font-size: clamp(14px, 2.2vw, 16px);
  color: var(--muted);
  letter-spacing: .10em;
  text-transform: lowercase;
}

.divider{
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(243,238,240,.16), transparent);
  margin: 22px 0;
}

.manifest{
  position: relative;
  z-index: 1;
  font-size: clamp(16px, 2.2vw, 18px);
  line-height: 1.75;
  color: rgba(243,238,240,.92);
  margin: 0;
  white-space: pre-wrap;
}

.controls{
  position: relative;
  z-index: 1;
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

/* "roll" should NOT look like a button */
.roll{
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(243,238,240,.86);
  font: inherit;
  padding: 0;
  cursor: pointer;
  letter-spacing: .12em;
  text-transform: lowercase;
  position: relative;
}

.roll::after{
  content:"";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,30,74,.90), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .22s ease;
  box-shadow: 0 0 18px rgba(255,30,74,.25);
}

.roll:hover::after,
.roll:focus-visible::after{
  transform: scaleX(1);
}

.roll:focus-visible{
  outline: 2px solid rgba(255,30,74,.55);
  outline-offset: 6px;
  border-radius: 10px;
}

.echo{
  font-size: 14px;
  color: rgba(243,238,240,.64);
  letter-spacing: .06em;
  min-height: 1.4em;
  user-select: none;
}

footer{
  position: relative;
  z-index: 1;
  margin-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: rgba(243,238,240,.52);
  font-size: 12px;
  letter-spacing: .10em;
  text-transform: uppercase;
}

footer a{
  color: rgba(243,238,240,.58);
  text-decoration: none;
  border-bottom: 1px solid rgba(243,238,240,.12);
}

footer a:hover{
  color: rgba(243,238,240,.84);
  border-bottom-color: rgba(255,30,74,.48);
}

/* tiny flicker on title (still subtle) */
@keyframes flicker {
  0%, 100% { opacity: 1; filter: none; }
  48% { opacity: .99; }
  49% { opacity: .93; filter: drop-shadow(0 0 16px rgba(255,30,74,.35)); }
  50% { opacity: 1; }
  72% { opacity: .985; }
  73% { opacity: .90; }
  74% { opacity: 1; }
}
.title{ animation: flicker 6.5s infinite; }

@media (prefers-reduced-motion: reduce){
  .title{ animation: none; }
  .roll::after{ transition: none; }
}

/* Level 2: hidden note reveal */
.hidden-note{
  margin: 18px 0 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(243,238,240,.72);
  letter-spacing: .03em;

  opacity: 0;
  transform: translateY(6px);
  max-height: 0;
  overflow: hidden;

  transition: opacity .35s ease, transform .35s ease, max-height .35s ease;
}

.hidden-note.is-visible{
  opacity: 1;
  transform: translateY(0);
  max-height: 120px;
}

/* subtle “neon underline” when selecting text (very faint) */
.manifest::selection{
  background: rgba(255,30,74,.22);
}

/* -----------------------------
   Privacy / Policy formatting
   ----------------------------- */

.policy{
  position: relative;
  z-index: 1;
  margin-top: 8px;
}

/* Make headings fit the basement aesthetic */
.policy h1,
.policy h2,
.policy h3,
.policy h4{
  font-family: ui-serif, Georgia, "Times New Roman", Times, serif;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: 22px 0 10px 0;
  color: rgba(243,238,240,.95);
}

/* Scale hierarchy */
.policy h1{
  font-size: clamp(28px, 4.4vw, 46px);
  letter-spacing: .10em;
  text-shadow:
    0 0 2px rgba(255,30,74,.55),
    0 0 12px rgba(255,30,74,.28),
    0 0 28px rgba(255,30,74,.18);
  margin-top: 0;
}

.policy h2{
  font-size: clamp(16px, 2.2vw, 20px);
  color: rgba(243,238,240,.92);
}

.policy h3{
  font-size: 15px;
  color: rgba(243,238,240,.86);
  text-transform: none;
  letter-spacing: .03em;
  margin-top: 18px;
}

.policy h4{
  font-size: 14px;
  color: rgba(243,238,240,.78);
  text-transform: none;
  letter-spacing: .02em;
  margin-top: 14px;
}

/* Paragraphs & lists: inherit manifesto rhythm */
.policy p,
.policy li{
  font-size: clamp(15px, 2.1vw, 17px);
  line-height: 1.75;
  color: rgba(243,238,240,.90);
}

.policy p{
  margin: 10px 0;
}

/* Lists */
.policy ul{
  margin: 10px 0 14px 18px;
  padding: 0;
}

.policy li{
  margin: 6px 0;
}

/* Links inside policy */
.policy a{
  color: rgba(243,238,240,.82);
  text-decoration: none;
  border-bottom: 1px solid rgba(243,238,240,.18);
}
.policy a:hover{
  color: rgba(243,238,240,.95);
  border-bottom-color: rgba(255,30,74,.55);
}

/* Make long uppercase blocks more readable (your ALL-CAPS sections) */
.policy p{
  word-break: normal;
  overflow-wrap: anywhere;
}

/* Optional: subtle section divider under h2 (nice for scanning) */
.policy h2{
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(243,238,240,.12);
}


