/* Nosy. A gossip tabloid: pink masthead, thick ink outlines, hard offset shadows. One committed light look. */
:root {
  --pink: #FF2E88;
  --pink-soft: #FFD6E9;
  --yellow: #FFE600;
  --ink: #17111A;
  --paper: #FFF4F9;
  --white: #FFFFFF;
  --muted: #6B5A66;
  --ok: #0E7A4E;
  --font-display: "Anton", "Impact", "Haettenschweiler", "Arial Narrow Bold", sans-serif;
  --font-body: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --border: 3px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --radius: 14px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: .95; text-wrap: balance; margin: 0; text-transform: uppercase; letter-spacing: .01em; }
h2 { font-size: clamp(2.1rem, 6vw, 3.4rem); }
h3 { font-size: 1.5rem; }
p { margin: 0; }
.mono { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .02em; }
.kicker { font-family: var(--font-mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; color: var(--pink); }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.narrow { max-width: 560px; padding-block: 56px 80px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--yellow); border: var(--border); padding: 8px 12px; z-index: 20; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px dashed var(--ink); outline-offset: 3px; }

/* ---------- Header / footer ---------- */
.site-header { background: var(--paper); border-bottom: var(--border); position: sticky; top: 0; z-index: 10; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 8px; }
.home { text-decoration: none; display: inline-flex; }
.nav { display: flex; align-items: center; gap: 12px; }
.lang { font-family: var(--font-mono); font-weight: 600; font-size: .85rem; text-decoration: none; border: 2px solid var(--ink); border-radius: 8px; padding: 4px 8px; }
.lang:hover { background: var(--yellow); }
.site-footer { background: var(--ink); color: var(--paper); margin-top: 24px; }
.site-footer .wrap { padding-block: 28px; display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; justify-content: space-between; }
.site-footer p { max-width: 60ch; }
.site-footer a { color: var(--yellow); }
.wm-foot { font-family: var(--font-display); font-size: 2.2rem; color: var(--pink); line-height: 1; }

/* ---------- Wordmark + eyes ---------- */
.wm { font-family: var(--font-display); display: inline-flex; align-items: center; line-height: .82; color: var(--ink); letter-spacing: -.01em; }
.wm-o { width: .78em; height: .78em; margin: 0 .02em; display: inline-block; }
.wm-o .eye { width: 100%; height: 100%; display: block; overflow: visible; }
.wm-sm { font-size: 2rem; }
.wm-md { font-size: 3rem; }
.wm-xl { font-size: clamp(5.5rem, 25vw, 17rem); }
.eye { color: var(--ink); }
.pupil { transition: transform .18s cubic-bezier(.3,.7,.4,1); }
.blink { animation: blink 5.5s infinite; transform-origin: 50% 50%; transform-box: fill-box; }
@keyframes blink { 0%, 94%, 100% { transform: scaleY(1); } 96.5% { transform: scaleY(.08); } }

/* ---------- Buttons + forms ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 800 1.02rem/1.1 var(--font-body);
  border: var(--border); box-shadow: var(--shadow);
  padding: 13px 22px; border-radius: 999px; cursor: pointer;
  background: var(--white); color: var(--ink); text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.btn:active { transform: translate(4px, 4px); box-shadow: 2px 2px 0 var(--ink); }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: var(--shadow); }
.btn-hot { background: var(--yellow); }
.btn-ghost { background: var(--paper); }
.btn-sm { font-size: .88rem; padding: 8px 14px; box-shadow: 3px 3px 0 var(--ink); border-width: 2px; }
.btn-sm:hover { box-shadow: 5px 5px 0 var(--ink); }
.btn-link { background: none; border: 0; padding: 4px 0; font: 600 .9rem var(--font-body); color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.btn-link.danger { color: #B0124F; }

.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 800; }
.field-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; }
input[type="text"], input[type="url"], input[type="email"] {
  font: 500 1rem var(--font-body);
  border: var(--border); border-radius: 10px; padding: 12px 14px; background: var(--white); color: var(--ink); width: 100%; min-width: 0;
}
input::placeholder { color: #9A8893; }
input:focus { outline: none; box-shadow: 0 0 0 4px var(--yellow); }
.hint { color: var(--muted); font-size: .9rem; }
.notice { border: 2px solid var(--ink); border-radius: 10px; padding: 10px 12px; font-weight: 600; }
.notice-ok { background: #DDF7EA; }
.notice-warn { background: var(--pink-soft); }

.switch-row { display: grid; gap: 4px; }
.switch { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; cursor: pointer; width: fit-content; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-ui { width: 46px; height: 26px; border: var(--border); border-radius: 999px; background: var(--white); position: relative; flex: none; transition: background .15s; }
.switch-ui::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--ink); transition: transform .15s; }
.switch input:checked + .switch-ui { background: var(--pink); }
.switch input:checked + .switch-ui::after { transform: translateX(20px); }
.switch input:focus-visible + .switch-ui { outline: 3px dashed var(--ink); outline-offset: 3px; }
.switch input:disabled + .switch-ui { opacity: .6; }

.panel { background: var(--white); border: var(--border); box-shadow: var(--shadow); border-radius: var(--radius); padding: 22px; min-width: 0; }
.empty { color: var(--muted); font-weight: 600; padding: 18px; border: 2px dashed var(--ink); border-radius: var(--radius); }

/* ---------- Landing ---------- */
.hero { background: var(--pink); border-bottom: var(--border); overflow: hidden; }
.hero-inner { padding-block: 24px 0; display: grid; gap: 22px; }
.dateline { display: flex; flex-wrap: wrap; gap: 6px 20px; border-block: var(--border); padding-block: 6px; text-transform: uppercase; }
.hero-mark { display: flex; justify-content: center; }
.tagline { text-align: center; display: grid; gap: 10px; justify-items: center; }
.hero-mark { padding-bottom: 6px; }
.tagline h1 { font-size: clamp(1.9rem, 5.4vw, 3.3rem); max-width: 20ch; line-height: 1.12; }
.tagline mark { background: var(--yellow); color: var(--ink); padding: 0 .12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.tagline p { font-size: 1.15rem; max-width: 48ch; font-weight: 600; }
.try { width: min(680px, 100%); justify-self: center; display: grid; gap: 14px; }
.try .btn { justify-self: start; }

.scene { position: relative; height: 160px; }
.peeker { position: absolute; left: 50%; bottom: 52px; transform: translateX(-50%); width: 200px; height: 130px; }
.peeker .head { position: absolute; inset: 22px 10px -40px; background: var(--ink); border-radius: 50% 50% 0 0; }
.peeker .tuft { position: absolute; left: 50%; top: 0; width: 34px; height: 34px; transform: translateX(-50%); border: 6px solid; border-color: var(--ink) transparent transparent transparent; border-radius: 50%; }
.peeker .eyes { position: absolute; left: 50%; top: 40px; transform: translateX(-50%); display: flex; gap: 6px; }
.eye.big { width: 62px; height: 62px; display: block; }
.fence { position: absolute; left: 0; right: 0; bottom: 0; height: 100px; display: flex; gap: 12px; justify-content: center; }
.fence::before { content: ""; position: absolute; left: 0; right: 0; top: 46px; height: 16px; background: var(--white); border-block: var(--border); }
.fence span { position: relative; z-index: 1; flex: 0 0 40px; background: var(--white); border: var(--border); border-bottom: 0; clip-path: polygon(50% 0, 100% 22%, 100% 100%, 0 100%, 0 22%); }

.stories { display: grid; gap: 56px; padding-block: 56px 64px; }
.story { display: grid; gap: 22px; }
.story-head { display: grid; gap: 8px; border-top: 6px solid var(--ink); padding-top: 12px; }
.story-head p { color: var(--muted); max-width: 62ch; font-size: 1.05rem; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { display: grid; gap: 10px; align-content: start; }
.step-n { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--pink); -webkit-text-stroke: 2px var(--ink); }

.covers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.covers .empty { grid-column: 1 / -1; }
.mini-cover { background: var(--yellow); border: var(--border); border-radius: 6px; padding: 16px; display: grid; gap: 10px; text-decoration: none; position: relative; min-height: 190px; align-content: start; box-shadow: 6px 6px 0 var(--pink), 6px 6px 0 3px var(--ink); transition: transform .12s; }
.mini-cover:hover { transform: translate(-2px, -2px); }
.mini-cover h3 { font-size: 1.55rem; line-height: 1; }
.mini-cover .mini-stamp { justify-self: start; font-family: var(--font-display); text-transform: uppercase; color: var(--pink); border: 3px solid var(--pink); padding: 0 8px; transform: rotate(-6deg); background: rgba(255,255,255,.6); }
.mini-cover.is-out { background: var(--pink); }
.mini-cover.is-out .mini-stamp { color: var(--ink); border-color: var(--ink); background: var(--yellow); }
.mini-cover .mono { margin-top: auto; }

.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tier { background: var(--white); border: var(--border); border-radius: var(--radius); padding: 20px; display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 12px; position: relative; }
.tier-snoop { background: var(--pink); box-shadow: var(--shadow); }
.tier-stakeout { background: var(--yellow); }
.tier .badge { position: absolute; top: -14px; right: 14px; background: var(--yellow); border: var(--border); border-radius: 999px; padding: 2px 10px; font-family: var(--font-mono); font-size: .7rem; font-weight: 600; text-transform: uppercase; }
.tier h3 { font-size: 2.1rem; }
.tier .price { font-family: var(--font-display); font-size: 2.3rem; line-height: 1; }
.tier .price small { font-family: var(--font-body); font-size: .9rem; font-weight: 600; }
.tier .who { font-weight: 600; }
.tier ul { margin: 0; padding: 0; list-style: none; align-content: start; display: grid; }
.tier li { display: flex; justify-content: space-between; gap: 10px; padding-block: 7px; border-top: 2px dashed var(--ink); font-size: .95rem; }
.tier li b { text-align: right; font-variant-numeric: tabular-nums; }
.tier .btn { justify-self: start; }
.tier .soon { align-self: end; }

.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { padding: 0; box-shadow: 4px 4px 0 var(--ink); }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 800; font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 20px 18px; max-width: 65ch; }

/* ---------- Login / 404 ---------- */
.login { display: grid; gap: 14px; text-align: left; }
.login h1 { font-size: clamp(2.4rem, 8vw, 3.6rem); }
.login form { display: grid; gap: 14px; }
.login .btn { justify-self: start; }
.login-eyes { display: flex; gap: 6px; }

/* ---------- App ---------- */
.app { display: grid; gap: 32px; padding-block: 40px 72px; }
.app-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; border-bottom: 6px solid var(--ink); padding-bottom: 14px; }
.app-head h1 { font-size: clamp(2.6rem, 8vw, 4.2rem); }
.app-tools { display: flex; flex-wrap: wrap; gap: 10px; }
.add { display: grid; gap: 16px; }
.add h2 { font-size: 2rem; }
.add .btn { justify-self: start; }
.list-h { font-size: 1.8rem; margin-bottom: 14px; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.cards .empty { grid-column: 1 / -1; }
.card { background: var(--white); border: var(--border); border-radius: var(--radius); padding: 18px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.card.is-met { background: var(--pink-soft); box-shadow: var(--shadow); }
.card-top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pill { font-family: var(--font-mono); font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; border: 2px solid var(--ink); border-radius: 999px; padding: 2px 9px; background: var(--white); }
.pill-waiting { background: var(--white); }
.pill-met { background: var(--pink); }
.pill-paused { background: #E9E2E6; }
.pill-public { background: var(--yellow); }
.pill-trial { background: #DDF7EA; }
.card h3 { font-family: var(--font-body); text-transform: none; font-weight: 800; font-size: 1.2rem; line-height: 1.25; letter-spacing: 0; overflow-wrap: anywhere; }
.card .q { color: var(--muted); overflow-wrap: anywhere; }
.card .src { font-family: var(--font-mono); font-size: .8rem; overflow-wrap: anywhere; }
.card .reason { font-weight: 600; }
.proof { display: block; background: var(--yellow); border-left: 5px solid var(--ink); padding: 8px 10px; font-family: var(--font-mono); font-size: .82rem; overflow-wrap: anywhere; quotes: "“" "”"; }
.card .err { color: #B0124F; font-size: .9rem; font-weight: 600; overflow-wrap: anywhere; }
.card-actions { display: flex; flex-wrap: wrap; gap: 6px 16px; padding-top: 8px; border-top: 2px dashed var(--ink); }

/* ---------- Public cover ---------- */
.cover-page { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; align-items: start; padding-block: 40px 72px; }
.cover {
  background: var(--yellow); border: var(--border); box-shadow: 10px 10px 0 var(--pink), 10px 10px 0 3px var(--ink);
  border-radius: 6px; padding: 22px; display: grid; gap: 16px; position: relative; overflow: hidden; min-height: 560px; grid-template-rows: auto auto 1fr auto;
}
.cover.is-out { background: var(--pink); }
.cover .mast { display: flex; align-items: center; gap: 12px; border-bottom: var(--border); padding-bottom: 8px; }
.cover .mast small { margin-left: auto; text-align: right; line-height: 1.35; overflow-wrap: anywhere; }
.cover h1 { font-size: clamp(2.4rem, 6vw, 3.8rem); line-height: .92; overflow-wrap: anywhere; }
.stamp {
  justify-self: end; align-self: center;
  font-family: var(--font-display); font-size: clamp(2rem, 6vw, 2.8rem); text-transform: uppercase;
  color: var(--pink); border: 5px solid var(--pink); padding: 2px 16px; transform: rotate(-12deg);
  background: rgba(255,255,255,.6);
}
.cover.is-out .stamp { color: var(--ink); border-color: var(--ink); background: var(--yellow); }
.stats { display: grid; gap: 6px; }
.stats b { font-size: 1.2rem; }
.stats .btn { justify-self: start; margin-top: 8px; }
.cover-side { display: grid; gap: 18px; }
.facts { margin: 0; display: grid; }
.facts div { display: grid; gap: 4px; padding-block: 12px; border-bottom: 2px dashed var(--ink); }
.facts div:first-child { padding-top: 0; }
.facts dt { font-family: var(--font-mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.ask-own { display: grid; gap: 10px; justify-items: start; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  background: var(--ink); color: var(--yellow); font-weight: 800; padding: 12px 18px; border-radius: 999px; z-index: 30;
  max-width: calc(100% - 32px); text-align: center; box-shadow: 4px 4px 0 var(--pink);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .tiers { grid-template-columns: 1fr 1fr; }
  .covers { grid-template-columns: 1fr 1fr; }
  .cover-page { grid-template-columns: 1fr; }
  .cover { min-height: 460px; }
}
@media (max-width: 720px) {
  .steps, .cards, .field-row { grid-template-columns: 1fr; }
  .wm-sm { font-size: 1.7rem; }
}
@media (max-width: 520px) {
  .tiers, .covers { grid-template-columns: 1fr; }
  .scene { height: 140px; }
  .btn { padding: 12px 18px; }
  .nav .btn-sm { padding: 7px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .blink { animation: none; }
  .pupil, .btn, .mini-cover, .switch-ui, .switch-ui::after { transition: none; }
}
