/*
Theme Name: Pooped Today
Theme URI: https://example.com/
Author: Pooped Today
Description: Dark, single-accent marketing theme for the Pooped Today app. Built from the app's design spec: near-black surfaces, acid-lime accent, cream text, chunky rounded display type.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pooped-today
*/

:root {
  --bg: #1A1A1A;
  --surface: #262626;
  --surface-2: #2E2E2E;
  --border: #3A3A3A;
  --accent: #C8F000;
  --accent-dim: #6B7A00;
  --text: #F2EBDD;
  --text-muted: #B5B0A3;
  --on-accent: #1A1A1A;
  --cream: #F2EBDD;
  --water: #7FD3F5;
  --avatar: #8B5A3C;
  --r-card: 16px;
  --r-btn: 16px;
  --r-btn-sm: 12px;
  --display: "Outfit", "Archivo Black", system-ui, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Space Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 800; line-height: 1.05; margin: 0 0 16px; text-wrap: balance; }
p { margin: 0 0 16px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; width: auto; height: auto; clip: auto; background: var(--accent); color: var(--on-accent); padding: 10px 14px; border-radius: 8px; z-index: 100; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.mono { font-family: var(--mono); }
.muted { color: var(--text-muted); }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin: 0 0 12px; }
.eyebrow--muted { color: var(--text-muted); }
.small { font-size: 13px; color: var(--text-muted); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(26,26,26,0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.wordmark { font-family: var(--display); font-weight: 900; font-size: 18px; letter-spacing: 0.01em; color: var(--text); text-decoration: none; text-transform: uppercase; white-space: nowrap; }
.wordmark .dot, .display .dot { display: inline-block; width: 0.16em; height: 0.16em; min-width: 5px; min-height: 5px; border-radius: 50%; background: var(--accent); vertical-align: top; margin-left: 0.06em; margin-top: 0.12em; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.site-nav a { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); text-decoration: none; }
.site-nav a:hover, .site-nav .current-menu-item a { color: var(--accent); }
.header-cta { flex: none; }
@media (max-width: 860px) { .site-nav { display: none; } .header-cta { margin-left: auto; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px; border: 0; border-radius: var(--r-btn); background: var(--accent); color: var(--on-accent); font-family: var(--display); font-weight: 700; font-size: 17px; text-decoration: none; }
.btn:hover { opacity: 0.9; }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: var(--r-btn-sm); }
.btn--cream { background: var(--cream); }
.btn--secondary { width: 100%; min-height: 48px; padding: 0 12px; border-radius: var(--r-btn-sm); background: var(--cream); font-size: 15px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-note { font-family: var(--mono); font-size: 12px; color: var(--text-muted); margin: 12px 0 0; }

/* Sections */
.section { padding: 96px 0; border-top: 1px solid var(--border); }
.section h2 { font-size: clamp(32px, 5vw, 52px); }
.section .lede { font-size: 18px; color: var(--text-muted); max-width: 52ch; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--flip > :first-child { order: 2; }
@media (max-width: 860px) { .section { padding: 64px 0; } .split { grid-template-columns: 1fr; gap: 40px; } .split--flip > :first-child { order: 0; } }

/* Hero */
.hero { padding: 72px 0 96px; }
.hero .split { grid-template-columns: 1.1fr 0.9fr; }
@media (max-width: 860px) { .hero { padding: 48px 0 64px; } .hero .split { grid-template-columns: 1fr; } }
.display { font-size: clamp(64px, 11vw, 128px); font-weight: 900; line-height: 0.95; text-transform: uppercase; letter-spacing: -0.01em; margin: 0 0 16px; }
.display span { display: block; }
.display .dot { width: 0.12em; height: 0.12em; }
.tagline { font-family: var(--mono); font-size: 15px; color: var(--text-muted); margin-bottom: 28px; }
.hero .lede { font-size: 18px; max-width: 44ch; margin-bottom: 28px; }

/* Phone */
.phone { width: 320px; max-width: 100%; margin: 0 auto; background: var(--bg); border: 1px solid var(--border); border-radius: 40px; padding: 20px 16px 0; box-shadow: 0 0 0 8px var(--surface); overflow: hidden; }
.phone-head { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.phone-head .mascot-dot { width: 36px; height: 36px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; flex: none; }
.phone-head .mascot-dot svg { width: 24px; height: 24px; }
.phone-head .wordmark { font-size: 13px; }
.pill { display: inline-flex; align-items: center; gap: 6px; background: var(--surface); border-radius: 999px; padding: 6px 12px; font-family: var(--mono); font-size: 12px; color: var(--text); white-space: nowrap; }
.pill .sq { width: 11px; height: 11px; border: 1.5px solid currentColor; border-radius: 2px; }
.phone-head .pill { margin-left: auto; }
.phone-row { display: flex; align-items: center; justify-content: space-between; font-family: var(--mono); font-size: 13px; margin-bottom: 22px; }
.big-btn { display: grid; place-items: center; width: 168px; height: 168px; margin: 0 auto; border: 0; border-radius: 50%; background: var(--accent); color: var(--on-accent); box-shadow: 0 0 0 8px rgba(200,240,0,0.2), 0 0 0 16px rgba(200,240,0,0.1); transition: transform 0.15s ease; }
.big-btn:hover { transform: scale(1.03); }
.big-btn:active { transform: scale(0.97); }
.big-btn svg { width: 48px; height: 48px; display: block; margin: 0 auto 2px; }
.big-btn .label { font-family: var(--display); font-weight: 800; font-size: 24px; }
.phone-caption { font-family: var(--mono); font-size: 12px; color: var(--text-muted); text-align: center; margin: 28px 0 18px; min-height: 36px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile { background: var(--surface); border-radius: var(--r-card); padding: 14px; }
.tile .eyebrow { margin-bottom: 6px; }
.tile .val { font-family: var(--display); font-weight: 900; font-size: 28px; line-height: 1; }
.tile .val small { font-family: var(--body); font-weight: 400; font-size: 13px; color: var(--text-muted); }
.track { height: 6px; border-radius: 999px; background: var(--surface-2); margin: 10px 0 12px; overflow: hidden; }
.track i { display: block; height: 100%; border-radius: 999px; background: var(--accent); transition: width 0.3s ease; }
.track--water i { background: var(--water); }
.week { background: var(--surface); border-radius: var(--r-card); padding: 14px; margin-top: 12px; }
.week ol { display: flex; justify-content: space-between; list-style: none; margin: 0; padding: 0; }
.week li { text-align: center; font-family: var(--mono); font-size: 11px; color: var(--text-muted); }
.week li i { display: block; width: 28px; height: 28px; border-radius: 50%; background: var(--surface-2); margin-bottom: 6px; }
.week li.on i { background: var(--accent); }
.week li.today i { background: transparent; border: 1.5px dashed var(--accent); }
.week li.today.on i { background: var(--accent); border-style: solid; }
.tabbar { display: grid; grid-template-columns: repeat(5, 1fr); margin: 16px -16px 0; padding: 10px 0 14px; background: var(--surface); border-top: 1px solid var(--border); }
.tabbar span { text-align: center; font-family: var(--mono); font-size: 10px; color: var(--text-muted); }
.tabbar svg { display: block; width: 22px; height: 22px; margin: 0 auto 3px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tabbar .active { color: var(--accent); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; list-style: none; margin: 40px 0 0; padding: 0; counter-reset: step; }
.steps li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: 24px 20px; counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--accent); color: var(--on-accent); font-family: var(--display); font-weight: 900; font-size: 17px; margin-bottom: 20px; }
.steps h3 { font-size: 20px; margin-bottom: 8px; }
.steps p { color: var(--text-muted); margin: 0; font-size: 15px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Cards */
.stack { display: grid; gap: 12px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: 20px; }
.option { position: relative; display: block; width: 100%; text-align: left; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: 20px; }
.option h3 { font-size: 19px; font-weight: 700; margin: 0 0 6px; }
.option p { margin: 0; font-size: 15px; color: var(--text-muted); font-family: var(--body); }
.option .tag { position: absolute; top: 18px; right: 18px; font-family: var(--mono); font-size: 12px; border: 1px solid currentColor; border-radius: 999px; padding: 2px 10px; }
.option[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.option[aria-pressed="true"] p { color: var(--on-accent); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { background: var(--surface-2); border: 0; border-radius: 999px; padding: 10px 16px; font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--text); }
.chip[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }

/* P.T. */
.stage { background: var(--surface); border-radius: var(--r-card); height: 240px; display: grid; place-items: center; }
.stage svg { height: 190px; width: auto; }
.stage-caption { font-family: var(--mono); font-size: 13px; color: var(--text-muted); text-align: center; margin: 12px 0 20px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.item { display: flex; align-items: center; gap: 12px; text-align: left; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: 14px; }
.item[aria-pressed="true"] { border: 2px solid var(--accent); padding: 13px; }
.item .swatch { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--cream); flex: none; }
.item b { display: block; font-family: var(--display); font-weight: 700; font-size: 15px; }
.item span { font-family: var(--mono); font-size: 13px; color: var(--text-muted); }
.badge { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: 16px; }
.badge.earned { border: 2px solid var(--accent); padding: 15px; }
.badge .ico { width: 48px; height: 48px; border-radius: 50%; background: var(--surface-2); color: var(--text-muted); display: grid; place-items: center; margin-bottom: 12px; }
.badge.earned .ico { background: var(--accent); color: var(--on-accent); }
.badge .ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.badge h3 { font-size: 17px; font-weight: 700; margin: 0 0 4px; }
.badge p { font-size: 13px; color: var(--text-muted); margin: 0; }
.badge .track { height: 4px; margin: 12px 0 8px; }
.badge .status { font-family: var(--mono); font-size: 12px; color: var(--text-muted); }
.badge.earned .status { color: var(--accent); }
.badges { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 860px) { .badges { grid-template-columns: 1fr 1fr; } }

/* Around */
.city { background: var(--accent); color: var(--on-accent); border-radius: var(--r-card); padding: 20px; }
.city .eyebrow { color: var(--on-accent); }
.city .num { font-family: var(--display); font-weight: 900; font-size: 72px; line-height: 1; }
.city .label { font-family: var(--display); font-weight: 700; font-size: 17px; margin: 4px 0 10px; }
.city .foot { font-family: var(--mono); font-size: 12px; opacity: 0.7; margin: 0; }
.venue { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--surface); border-radius: var(--r-card); padding: 16px; }
.venue b { display: block; font-family: var(--display); font-weight: 700; font-size: 17px; }
.venue span { font-family: var(--mono); font-size: 13px; color: var(--text-muted); }
.venue .count { font-family: var(--display); font-weight: 900; font-size: 24px; color: var(--accent); }
.venue svg { width: 24px; height: 24px; flex: none; fill: none; stroke: var(--text-muted); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* Friends */
.friend { background: var(--surface); border-radius: var(--r-card); padding: 16px; }
.friend-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--avatar); color: var(--cream); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 18px; flex: none; }
.friend b { display: block; font-family: var(--display); font-weight: 700; font-size: 17px; }
.friend-head span { font-family: var(--mono); font-size: 13px; color: var(--text-muted); }

/* Final CTA + footer */
.final { text-align: center; }
.final .cta-row { justify-content: center; margin-top: 28px; }
.final .tagline { margin-bottom: 0; }
.site-footer { border-top: 1px solid var(--border); padding: 40px 0; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.site-footer p { margin: 0; font-family: var(--mono); font-size: 12px; color: var(--text-muted); }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; margin: 0; padding: 0; }
.site-footer a { font-family: var(--mono); font-size: 12px; color: var(--text-muted); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }

/* Pages and posts */
.content { padding: 64px 0 96px; }
.content .wrap { max-width: 760px; }
.content h1 { font-size: clamp(32px, 5vw, 48px); margin-bottom: 24px; }
.entry h2 { font-size: 28px; margin-top: 40px; }
.entry h3 { font-size: 20px; margin-top: 32px; }
.entry ul, .entry ol { padding-left: 22px; margin: 0 0 16px; }
.entry blockquote { margin: 24px 0; padding: 16px 20px; background: var(--surface); border-left: 2px solid var(--accent); border-radius: 0 var(--r-card) var(--r-card) 0; }
.entry code, .entry pre { font-family: var(--mono); font-size: 14px; background: var(--surface); border-radius: 6px; padding: 2px 6px; }
.entry pre { padding: 16px; overflow-x: auto; }
.entry table { width: 100%; border-collapse: collapse; margin: 0 0 16px; }
.entry th, .entry td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.entry .wp-block-button__link, .entry input[type="submit"] { background: var(--accent); color: var(--on-accent); border: 0; border-radius: var(--r-btn); font-family: var(--display); font-weight: 700; padding: 14px 24px; }
.entry input[type="text"], .entry input[type="email"], .entry textarea { width: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; color: var(--text); padding: 12px 14px; font: inherit; }
.post-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.post-list a { display: block; text-decoration: none; color: var(--text); }
.post-list h2 { font-size: 22px; margin: 0 0 6px; }
.post-meta { font-family: var(--mono); font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.nav-links { display: flex; justify-content: space-between; margin-top: 32px; font-family: var(--mono); font-size: 13px; }
.alignwide { max-width: 1080px; } .aligncenter { margin-left: auto; margin-right: auto; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.site-footer .wordmark { font-family: var(--display); font-size: 14px; color: var(--text); }
