/*
Theme Name: Plebeian Coming Soon
Theme URI: https://plebeian.market
Author: Plebeian
Author URI: https://plebeian.market
Description: A minimalist coming-soon landing theme for Plebeian, Torii Quest and Continuum. Black, white and Plebeian pink. Every line of copy and the Nostr npub are editable under Appearance → Customize → Plebeian Coming Soon.
Version: 1.4.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: plebeian-coming-soon
Tags: one-column, custom-logo, minimal, dark, landing-page
*/

/* Self-hosted fonts (SIL OFL 1.1, see assets/fonts/*-OFL.txt). No third-party requests. */
@font-face { font-family: 'Space Grotesk'; src: url('assets/fonts/SpaceGrotesk-Variable.woff2') format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('assets/fonts/Inter-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('assets/fonts/Inter-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('assets/fonts/JetBrainsMono-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #0A0A0A;
  --text: #F5F5F5;
  --muted: #9A9A9A;
  --faint: #5C5C5C;
  --line: #222222;
  --pink: #FF3EB5;
  --display: 'Space Grotesk', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--body); font-size: 1rem; line-height: 1.6; min-height: 100dvh; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 4px; border-radius: 2px; }
::selection { background: var(--pink); color: var(--bg); }
.pink { color: var(--pink); }

.wrap { width: 100%; max-width: 1080px; margin-inline: auto; padding-inline: clamp(1.25rem, 5vw, 3rem); }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; padding-block: 2rem; }
.brand { display: flex; align-items: center; gap: 0.75rem; font-family: var(--display); font-weight: 600; font-size: 1.25rem; letter-spacing: -0.01em; }
.status { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pink); animation: blink 2.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: 0.25; } }

/* Hero */
.hero { padding-block: clamp(5rem, 14vh, 9rem) clamp(4rem, 10vh, 7rem); }
h1 { font-family: var(--display); font-weight: 600; font-size: clamp(2.75rem, 1.2rem + 6.5vw, 6.5rem); line-height: 0.98; letter-spacing: -0.03em; }
.sub { margin-top: 2rem; max-width: 44ch; color: var(--muted); font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem); }
.cta { display: inline-flex; align-items: center; gap: 0.6rem; margin-top: 2.5rem; padding: 0.9rem 1.5rem; min-height: 48px; border-radius: 999px; background: var(--pink); color: var(--bg); font-weight: 500; transition: transform 200ms ease, box-shadow 200ms ease; }
.cta:hover { transform: translateY(-1px); box-shadow: 0 10px 30px -10px var(--pink); }

/* Apps */
.apps { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
@media (min-width: 760px) { .apps { grid-template-columns: repeat(3, 1fr); } }
.app { padding: 2.5rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) {
  .app { padding: 3rem 2rem 3rem 0; border-bottom: none; }
  .app + .app { padding-left: 2rem; border-left: 1px solid var(--line); }
}
.num { font-family: var(--mono); font-size: 0.75rem; color: var(--pink); }
.app h2 { font-family: var(--display); font-weight: 600; font-size: 1.6rem; letter-spacing: -0.02em; margin-top: 1rem; }
.app p { margin-top: 0.75rem; color: var(--muted); font-size: 0.95rem; max-width: 34ch; }

/* Thesis */
.thesis { padding-block: clamp(5rem, 12vh, 8rem); border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .thesis { border-top: 1px solid var(--line); } }
.thesis p { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 1rem + 3.6vw, 3.75rem); line-height: 1; letter-spacing: -0.03em; }
.meta { display: block; margin-top: 1.5rem; color: var(--muted); }

/* Follow */
.follow { padding-block: clamp(5rem, 12vh, 8rem); }
.follow h2 { font-family: var(--display); font-weight: 600; font-size: clamp(2.25rem, 1.2rem + 4vw, 4.25rem); line-height: 1; letter-spacing: -0.03em; }
.npub { display: flex; align-items: stretch; margin-top: 2.5rem; max-width: 760px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.npub code { flex: 1; min-width: 0; padding: 1rem 1.1rem; font-family: var(--mono); font-size: clamp(0.72rem, 0.62rem + 0.35vw, 0.9rem); color: var(--text); word-break: break-all; user-select: all; }
.npub button { padding: 0 1.4rem; min-width: 96px; border-left: 1px solid var(--line); font-weight: 500; transition: background 200ms ease, color 200ms ease; }
.npub button:hover { background: var(--pink); color: var(--bg); }
.links { display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 1.5rem; font-size: 0.95rem; }
.links a { color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: color 200ms ease, border-color 200ms ease; }
.links a:hover { color: var(--pink); border-color: var(--pink); }

/* Footer */
.foot { padding-block: 3rem 2.5rem; border-top: 1px solid var(--line); }
.foot__tagline { font-family: var(--display); font-weight: 600; font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); line-height: 1.15; letter-spacing: -0.02em; color: var(--text); max-width: 40ch; text-wrap: balance; }
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--faint); }

@media (prefers-reduced-motion: reduce) { .dot { animation: none; } html { scroll-behavior: auto; } }

/* Fallback content (blog posts, pages) */
.entry { padding-block: 4rem; border-top: 1px solid var(--line); }
.entry h1, .entry h2.entry-title { font-family: var(--display); font-weight: 600; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); line-height: 1.05; letter-spacing: -0.02em; }
.entry-content { margin-top: 1.5rem; color: var(--muted); max-width: 68ch; }
.entry-content > * + * { margin-top: 1rem; }
.entry-content a, .entry h2 a:hover { color: var(--pink); }
.entry-content img { max-width: 100%; height: auto; }
.brand img, .brand .custom-logo { width: 36px; height: 36px; object-fit: contain; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
