/* PinPal website. Hand-written, no framework: one small cached file. */

/* Plus Jakarta Sans (SIL Open Font License, see /assets/fonts/OFL.txt), self-hosted */
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("/assets/fonts/jakarta-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("/assets/fonts/jakarta-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #0b0a10;
  --bg-2: #110f18;
  --bg-3: #17151f;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-2: rgba(255, 255, 255, 0.14);
  --text: #f5f2f7;
  --muted: #aaa3b6;
  --faint: #7d768a;
  --pink: #edc0d1;
  --pink-2: #f3a8c4;
  --pink-ink: #2a1520;
  --gold: #f5c451;
  --green: #7fd6a2;
  --red: #f08c8c;
  --blurple: #5865f2;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  --glow: 0 0 0 1px rgba(237, 192, 209, 0.35), 0 12px 40px -12px rgba(237, 192, 209, 0.45);
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --max: 1180px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--pink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
code, kbd { font-family: var(--mono); font-size: 0.88em; }
code { background: var(--surface-2); border: 1px solid var(--border); padding: 0.1em 0.4em; border-radius: 6px; }
kbd { background: var(--bg-3); border: 1px solid var(--border-2); border-bottom-width: 2px; padding: 0.05em 0.45em; border-radius: 6px; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2.5rem 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--pink); color: var(--pink-ink); padding: 8px 14px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .container { padding: 0 28px; } }
.section { padding: clamp(48px, 7vw, 92px) 0; position: relative; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }
.center { text-align: center; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 640px; }
.center .lead { margin-left: auto; margin-right: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--pink); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.center .eyebrow::before { display: none; }
.gradient-text {
  background: linear-gradient(100deg, #fff 10%, var(--pink) 55%, var(--gold) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.glow-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: -1; }
.glow-bg::before, .glow-bg::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55;
}
.glow-bg::before { width: 620px; height: 620px; left: 50%; top: -280px; transform: translateX(-50%); background: radial-gradient(circle, rgba(237, 192, 209, 0.32), transparent 65%); }
.glow-bg::after { width: 420px; height: 420px; right: -120px; bottom: -160px; background: radial-gradient(circle, rgba(245, 196, 81, 0.12), transparent 65%); }
.grid-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%);
}

/* ── buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 700; font-size: 0.97rem; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--pink); color: var(--pink-ink); box-shadow: var(--glow); }
.btn-primary:hover { background: #f6d3e0; color: var(--pink-ink); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border-2); }
.btn-ghost:hover { background: var(--surface-2); color: #fff; border-color: rgba(255,255,255,.24); }
.btn-gold { background: var(--gold); color: #2b1d00; box-shadow: 0 12px 40px -14px rgba(245,196,81,.6); }
.btn-gold:hover { background: #ffd776; color: #2b1d00; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 0.9rem; }
.btn-block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.center .btn-row { justify-content: center; }

/* ── header ──────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 10, 16, 0.72);
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--border); }
.nav { display: flex; align-items: center; gap: 18px; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: #fff; text-decoration: none; letter-spacing: -0.02em; }
.brand img { width: 34px; height: 34px; border-radius: 50%; }
.nav-links { display: none; gap: 4px; margin-left: 18px; }
.nav-links a {
  color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.95rem;
  padding: 8px 12px; border-radius: 10px; transition: color .15s, background .15s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; background: var(--surface-2); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-cta .btn-ghost { display: none; }
.menu-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none;
  border-radius: 12px; background: var(--surface); border: 1px solid var(--border-2); color: #fff; cursor: pointer;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.menu-btn svg { width: 22px; height: 22px; pointer-events: none; }
.menu-btn .icon-close { display: none; }
.menu-open .menu-btn .icon-close { display: block; }
.menu-open .menu-btn .icon-menu { display: none; }
.mobile-menu {
  position: fixed; left: 0; right: 0; top: 70px; bottom: 0; z-index: 49; overflow-y: auto; overscroll-behavior: contain;
  background: var(--bg); padding: 12px 16px calc(24px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 22px; animation: menu-in .22s ease;
}
.mobile-menu[hidden] { display: none; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }
.mobile-menu nav { display: grid; }
.mobile-menu nav a { display: flex; align-items: center; justify-content: space-between; padding: 16px 4px; color: var(--text); text-decoration: none; font-size: 1.2rem; font-weight: 700; border-bottom: 1px solid var(--border); }
.mobile-menu nav a::after { content: "›"; color: var(--faint); font-size: 1.4rem; font-weight: 400; }
.mobile-menu nav a[aria-current="page"] { color: var(--pink); }
.mobile-actions { display: grid; gap: 10px; }
body.menu-open { overflow: hidden; }
.menu-open .site-header { background: var(--bg); border-bottom-color: var(--border); }
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .menu-btn, .mobile-menu { display: none !important; }
  .nav-cta .btn-ghost { display: inline-flex; }
}
@media (max-width: 440px) { .nav-cta .btn-primary { display: none; } }

/* ── hero ────────────────────────────────────────────────────────────────── */
.hero { position: relative; padding: clamp(40px, 7vw, 90px) 0 clamp(50px, 8vw, 100px); isolation: isolate; }
.hero-grid { display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.02fr 1fr; } }
.hero h1 { margin-bottom: 0.35em; }
.hero .lead { margin-bottom: 1.8em; }
.hero-note { margin-top: 18px; font-size: 0.9rem; color: var(--faint); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note svg { width: 16px; height: 16px; color: var(--green); }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border-2); font-size: 0.86rem; font-weight: 600; color: var(--text);
  text-decoration: none; margin-bottom: 22px;
}
.pill b { background: var(--pink); color: var(--pink-ink); border-radius: 999px; padding: 2px 10px; font-size: 0.76rem; font-weight: 800; }
.pill:hover { color: #fff; border-color: rgba(255,255,255,.28); }

/* ── cards & grids ───────────────────────────────────────────────────────── */
.card {
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 26px;
  position: relative; transition: border-color .2s, transform .2s, background .2s;
}
a.card { display: block; color: inherit; text-decoration: none; }
a.card:hover, .card.hover:hover { border-color: rgba(237,192,209,.35); transform: translateY(-3px); }
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card .icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px;
  background: rgba(237,192,209,.12); color: var(--pink); border: 1px solid rgba(237,192,209,.2);
}
.card .icon svg { width: 22px; height: 22px; }
.card.premium .icon { background: rgba(245,196,81,.12); color: var(--gold); border-color: rgba(245,196,81,.25); }
.grid { display: grid; gap: 18px; }
@media (min-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 760px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.tag {
  display: inline-flex; align-items: center; gap: 5px; font-size: 0.72rem; font-weight: 800; letter-spacing: .06em; line-height: 1.5;
  text-transform: uppercase; padding: 2px 9px; border-radius: 999px; vertical-align: middle; white-space: nowrap; flex: none;
}
h1 .tag, h2 .tag, h3 .tag { font-size: .66rem; letter-spacing: .08em; margin-left: 6px; position: relative; top: -.15em; }
.tag-premium { background: rgba(245,196,81,.14); color: var(--gold); border: 1px solid rgba(245,196,81,.3); }
.tag-free { background: rgba(127,214,162,.12); color: var(--green); border: 1px solid rgba(127,214,162,.28); }
.tag-new { background: rgba(237,192,209,.14); color: var(--pink); border: 1px solid rgba(237,192,209,.3); }
.card > .tag { margin-bottom: 14px; }

.split { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; } .split.flip > :first-child { order: 2; } }
.checklist { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 11px; align-items: flex-start; }
.checklist li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%;
  background: rgba(127,214,162,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%237fd6a2'%3E%3Cpath d='M8.2 13.6 4.7 10l1.1-1.1 2.4 2.4 6-6 1.1 1.1z'/%3E%3C/svg%3E") center/16px no-repeat;
}
.checklist li.no::before { background: rgba(240,140,140,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23f08c8c'%3E%3Cpath d='m6.2 5.1 3.8 3.8 3.8-3.8 1.1 1.1-3.8 3.8 3.8 3.8-1.1 1.1-3.8-3.8-3.8 3.8-1.1-1.1 3.8-3.8-3.8-3.8z'/%3E%3C/svg%3E") center/16px no-repeat; }
.checklist li.gold::before { background: rgba(245,196,81,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23f5c451'%3E%3Cpath d='m10 3 2 4.3 4.7.5-3.5 3.2 1 4.6L10 13.3 5.8 15.6l1-4.6L3.3 7.8 8 7.3z'/%3E%3C/svg%3E") center/15px no-repeat; }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 800px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: center; padding: 22px 12px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.stat b { display: block; font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -0.03em; }
.stat span { color: var(--muted); font-size: 0.9rem; }

/* ── steps ───────────────────────────────────────────────────────────────── */
.steps { counter-reset: step; display: grid; gap: 16px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { counter-increment: step; }
.step::before {
  content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px;
  background: var(--pink); color: var(--pink-ink); font-weight: 800; margin-bottom: 16px;
}

/* ── pricing ─────────────────────────────────────────────────────────────── */
.period-toggle {
  display: inline-flex; padding: 5px; gap: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border-2);
  margin: 8px auto 34px; flex-wrap: wrap; justify-content: center;
}
.period-toggle button {
  font: inherit; font-weight: 700; font-size: 0.92rem; color: var(--muted); background: transparent; border: 0;
  padding: 9px 18px; border-radius: 999px; cursor: pointer; transition: background .15s, color .15s;
}
.period-toggle button[aria-pressed="true"] { background: var(--pink); color: var(--pink-ink); }
.period-toggle .save { font-size: 0.72rem; margin-left: 6px; color: var(--green); }
.period-toggle button[aria-pressed="true"] .save { color: #1d5c37; }
.plans { display: grid; gap: 20px; max-width: 900px; margin: 0 auto; }
@media (min-width: 820px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { padding: 32px; display: flex; flex-direction: column; }
.plan.featured { border-color: rgba(245,196,81,.45); background: linear-gradient(180deg, rgba(245,196,81,.08), rgba(255,255,255,.02) 55%); box-shadow: 0 30px 80px -40px rgba(245,196,81,.5); }
.plan h3 { font-size: 1.35rem; display: flex; align-items: center; gap: 10px; }
.price { display: flex; align-items: baseline; gap: 8px; margin: 10px 0 4px; flex-wrap: wrap; }
.price b { font-size: 3rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.price span { color: var(--muted); }
.price-note { color: var(--faint); font-size: 0.9rem; min-height: 1.5em; margin-bottom: 22px; }
.plan .checklist { flex: 1; }
.compare-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
table.compare { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 0.95rem; }
table.compare th, table.compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
table.compare thead th { font-size: 0.82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: rgba(255,255,255,.02); }
table.compare tbody tr:last-child td, table.compare tbody tr:last-child th { border-bottom: 0; }
table.compare tbody th { font-weight: 600; color: var(--text); }
table.compare td { color: var(--muted); }
table.compare td.yes { color: var(--green); font-weight: 600; }
table.compare td.no { color: var(--red); }
table.compare td.us { color: #fff; font-weight: 600; background: rgba(237,192,209,.05); }
table.compare th.us { color: var(--pink); background: rgba(237,192,209,.07); }

/* ── faq ─────────────────────────────────────────────────────────────────── */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: border-color .2s; }
.faq details[open] { border-color: var(--border-2); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .answer { padding: 0 22px 20px; color: var(--muted); }
.faq .answer p:last-child { margin: 0; }

/* ── cta band ────────────────────────────────────────────────────────────── */
.cta-band {
  position: relative; overflow: hidden; border-radius: 28px; padding: clamp(36px, 6vw, 64px) clamp(22px, 5vw, 60px);
  background: radial-gradient(circle at 20% 0%, rgba(237,192,209,.25), transparent 55%), radial-gradient(circle at 100% 100%, rgba(245,196,81,.14), transparent 50%), var(--bg-3);
  border: 1px solid var(--border-2); text-align: center;
}
.cta-band h2 { margin-bottom: 12px; }
.cta-band .lead { margin-left: auto; margin-right: auto; }
.cta-band .btn-row { justify-content: center; }
.cta-band.left .lead { margin-left: 0; }
.cta-band.left .btn-row { justify-content: flex-start; }

/* ── prose (docs, legal, guides) ─────────────────────────────────────────── */
.page-head { padding: clamp(40px, 6vw, 80px) 0 clamp(20px, 3vw, 36px); position: relative; isolation: isolate; }
.page-head h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.crumbs { font-size: 0.85rem; color: var(--faint); margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-hidden] { opacity: .5; }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.45rem, 2.4vw, 1.8rem); margin-top: 2.2em; padding-top: 0.2em; }
.prose h3 { margin-top: 1.8em; }
.prose > h2:first-child, .prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var(--pink); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 0.94rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 14px; border: 1px solid var(--border); vertical-align: top; }
.prose th { background: var(--surface); }
.callout { border: 1px solid var(--border-2); background: var(--surface); border-left: 3px solid var(--pink); border-radius: 12px; padding: 16px 18px; margin: 0 0 1.4em; }
.callout.gold { border-left-color: var(--gold); }
.callout.green { border-left-color: var(--green); }
.callout p:last-child { margin: 0; }
.with-toc { display: grid; gap: 40px; }
@media (min-width: 1040px) { .with-toc { grid-template-columns: 230px minmax(0, 1fr); } }
.toc { position: sticky; top: 92px; align-self: start; display: none; font-size: 0.9rem; }
@media (min-width: 1040px) { .toc { display: block; } }
.toc b { display: block; font-size: 0.74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; }
.toc a { display: block; color: var(--muted); text-decoration: none; padding: 5px 0 5px 12px; border-left: 2px solid var(--border); }
.toc a:hover, .toc a.active { color: #fff; border-left-color: var(--pink); }
.updated { color: var(--faint); font-size: 0.9rem; }

/* ── footer ──────────────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--border); padding: 56px 0 36px; margin-top: 40px; background: linear-gradient(180deg, transparent, rgba(255,255,255,.015)); }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.footer-support { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 24px; margin-bottom: 44px; border-radius: 20px; background: linear-gradient(120deg, rgba(88,101,242,.16), rgba(237,192,209,.08)); border: 1px solid var(--border-2); }
.footer-support p { margin: 0; }
.foot-title { font-weight: 800; font-size: 1.15rem; margin-bottom: 4px !important; }
.site-footer .foot-h, .site-footer h4 { font-weight: 800; font-size: 0.78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--faint); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.site-footer a:hover { color: #fff; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; color: var(--faint); font-size: 0.86rem; }

/* ── reveal animation ────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* ═════════════════════════════════════════════════════════════════════════
   Discord replica. Mirrors how PinPal's panels actually render in Discord.
   ═════════════════════════════════════════════════════════════════════════ */
.dc {
  --dc-bg: #1a1a1e;
  --dc-bg-2: #121214;
  --dc-side: #121214;
  --dc-panel: #242429;
  --dc-embed: #242429;
  --dc-border: #2e2e34;
  --dc-text: #dbdee1;
  --dc-head: #f2f3f5;
  --dc-muted: #949ba4;
  --dc-link: #00a8fc;
  --dc-btn: #323237;
  --dc-btn-h: #3a3a40;
  --dc-input: #121214;
  --dc-blurple: #5865f2;
  --dc-green: #00863a;
  --dc-red: #d22d39;
  font-family: "gg sans", "Noto Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--dc-text);
  font-size: 15px;
  line-height: 1.375;
  text-align: left;
}
.dc-window {
  background: var(--dc-bg); border-radius: 16px; border: 1px solid rgba(255,255,255,.07);
  box-shadow: var(--shadow), 0 0 0 1px rgba(0,0,0,.4); overflow: hidden; position: relative;
}
.dc-titlebar {
  display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px; border-bottom: 1px solid rgba(0,0,0,.35);
  background: var(--dc-bg); color: var(--dc-head); font-weight: 600; position: relative; z-index: 2;
}
.dc-titlebar .hash { color: var(--dc-muted); font-size: 22px; font-weight: 400; line-height: 1; }
.dc-titlebar .topic { color: var(--dc-muted); font-weight: 400; font-size: 13px; border-left: 1px solid var(--dc-border); padding-left: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-dots { display: flex; gap: 6px; margin-right: 6px; }
.dc-dots i { width: 11px; height: 11px; border-radius: 50%; background: #3a3a41; display: block; }
.dc-feed { padding: 14px 0 10px; display: flex; flex-direction: column; overflow: hidden; }
.dc-msg { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; padding: 4px 16px 4px 14px; position: relative; }
.dc-msg + .dc-msg:not(.cont) { margin-top: 12px; }
.dc-msg.cont { padding-top: 1px; padding-bottom: 1px; }
.dc-msg.cont .dc-avatar, .dc-msg.cont .dc-meta { display: none; }
.dc-msg.cont .dc-body { grid-column: 2; }
.dc-msg:hover { background: rgba(0,0,0,.08); }
.dc-msg.flash { animation: dc-flash 1.6s ease; }
@keyframes dc-flash { 0% { background: rgba(237,192,209,.14); } 100% { background: transparent; } }
.dc-msg.enter { animation: dc-enter .35s ease both; }
@keyframes dc-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.dc-avatar { width: 40px; height: 40px; border-radius: 50%; margin-top: 2px; display: grid; place-items: center; font-size: 19px; overflow: hidden; background: #3a3a41; color: #fff; font-weight: 700; }
.dc-avatar img { width: 100%; height: 100%; object-fit: cover; }
.dc-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; min-height: 22px; }
.dc-name { color: var(--dc-head); font-weight: 600; font-size: 16px; }
.dc-app {
  display: inline-flex; align-items: center; gap: 3px; background: var(--dc-blurple); color: #fff; border-radius: 4px;
  font-size: 10.5px; font-weight: 700; padding: 1px 5px 1px 4px; line-height: 15px; letter-spacing: .02em; text-transform: uppercase;
}
.dc-app.plain { padding-left: 5px; }
.dc-app svg { width: 11px; height: 11px; }
.dc-time { color: var(--dc-muted); font-size: 12px; margin-left: 2px; }
.dc-content { color: var(--dc-text); word-wrap: break-word; white-space: pre-wrap; }
.dc-content .edited { font-size: 10px; color: var(--dc-muted); margin-left: 3px; }
.dc-reply { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--dc-muted); margin: 0 0 4px 54px; position: relative; min-width: 0; }
.dc-reply::before { content: ""; position: absolute; left: -34px; top: 9px; width: 30px; height: 10px; border-top: 2px solid #4e5058; border-left: 2px solid #4e5058; border-top-left-radius: 6px; }
.dc-reply .who { color: var(--dc-head); font-weight: 600; opacity: .85; }
.dc-reply .cmd { color: var(--dc-link); background: rgba(88,101,242,.16); border-radius: 4px; padding: 0 4px; font-weight: 500; }
.dc-reply .mini { width: 16px; height: 16px; border-radius: 50%; background: var(--dc-blurple); display: grid; place-items: center; font-size: 9px; color: #fff; flex: none; }
.dc-ephemeral { font-size: 12.5px; color: var(--dc-muted); margin-top: 6px; display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.dc-ephemeral svg { width: 15px; height: 15px; }
.dc-ephemeral button { background: none; border: 0; padding: 0; color: var(--dc-link); font: inherit; cursor: pointer; }
.dc-ephemeral button:hover { text-decoration: underline; }

/* markdown */
.dc strong { font-weight: 700; color: inherit; }
.dc em { font-style: italic; }
.dc u { text-decoration: underline; text-underline-offset: 2px; }
.dc .md-h1 { font-size: 24px; font-weight: 700; color: var(--dc-head); line-height: 1.3; margin: 4px 0 2px; display: block; }
.dc .md-h2 { font-size: 20px; font-weight: 700; color: var(--dc-head); line-height: 1.3; margin: 2px 0 2px; display: block; }
.dc .md-h3 { font-size: 16px; font-weight: 700; color: var(--dc-head); display: block; margin: 2px 0; }
.dc .md-sub { font-size: 13px; color: var(--dc-muted); display: block; line-height: 1.35; }
.dc .md-code { font-family: var(--mono); font-size: 13px; background: #2b2b31; border: 1px solid #36363d; padding: 0 3px; border-radius: 4px; }
.dc .md-block { display: block; font-family: var(--mono); font-size: 13.5px; background: #1a1a1e; border: 1px solid #36363d; border-radius: 6px; padding: 8px 10px; margin: 4px 0; white-space: pre-wrap; }
.dc .md-quote { display: block; border-left: 4px solid #4e5058; padding-left: 10px; margin: 2px 0; }
.dc .md-li { display: block; padding-left: 18px; position: relative; }
.dc .md-li::before { content: "•"; position: absolute; left: 5px; }
.dc .md-mention { background: rgba(88,101,242,.3); color: #c9cdfb; border-radius: 3px; padding: 0 2px; font-weight: 500; }
.dc .md-time { background: rgba(255,255,255,.07); border-radius: 3px; padding: 0 2px; }
.dc .md-var { background: rgba(245,196,81,.16); color: #ffd98a; border-radius: 3px; padding: 0 2px; }
.dc a { color: var(--dc-link); text-decoration: none; }
.dc a:hover { text-decoration: underline; }
.dc a.dc-btn, .dc a.dc-btn:hover { color: #fff; text-decoration: none; }

/* embed */
.dc-embed {
  background: var(--dc-embed); border-left: 4px solid #edc0d1; border-radius: 4px; padding: 10px 14px 14px 12px;
  margin-top: 4px; max-width: 520px; display: grid; gap: 6px; color: var(--dc-text); white-space: pre-wrap;
}
.dc-embed .e-title { font-weight: 700; color: var(--dc-head); font-size: 16px; }
.dc-embed .e-desc { font-size: 14.5px; }
.dc-embed .e-foot { font-size: 12px; color: var(--dc-text); opacity: .75; margin-top: 2px; }
.dc-embed .e-field b { display: block; color: var(--dc-head); font-size: 14px; }

/* components v2 container */
.dc-container {
  background: var(--dc-panel); border: 1px solid var(--dc-border); border-radius: 8px; padding: 16px 16px 16px 20px;
  position: relative; margin-top: 4px; max-width: 560px; display: grid; gap: 10px; overflow: hidden;
}
.dc-container::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--accent, #edc0d1); }
.dc-sep { height: 1px; background: #36363d; margin: 2px 0; }
.dc-text { white-space: pre-wrap; }
.dc-section { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.dc-row { display: flex; flex-wrap: wrap; gap: 8px; }
.dc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 0 14px;
  border-radius: 8px; border: 0; background: var(--dc-btn); color: #fff; font: inherit; font-size: 14px; font-weight: 500;
  cursor: pointer; transition: background .12s, filter .12s; white-space: nowrap; text-decoration: none;
}
.dc-btn:hover { background: var(--dc-btn-h); text-decoration: none; }
.dc-btn.primary { background: var(--dc-blurple); }
.dc-btn.primary:hover { background: #4752c4; }
.dc-btn.success { background: var(--dc-green); }
.dc-btn.success:hover { background: #00732f; }
.dc-btn.danger { background: var(--dc-red); }
.dc-btn.danger:hover { background: #b52530; }
.dc-btn[disabled] { opacity: .5; cursor: not-allowed; }
.dc-btn svg { width: 16px; height: 16px; }
.dc-btn .ext { opacity: .9; }
.dc-select { position: relative; width: 100%; }
.dc-select > button {
  width: 100%; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: var(--dc-input); border: 1px solid #2e2e34; border-radius: 8px; padding: 6px 12px 6px 14px; color: var(--dc-muted);
  font: inherit; font-size: 15px; cursor: pointer; text-align: left;
}
.dc-select > button:hover { border-color: #45454d; }
.dc-select > button .val { color: var(--dc-text); display: flex; flex-wrap: wrap; gap: 4px; }
.dc-select > button svg { width: 18px; height: 18px; flex: none; color: var(--dc-text); transition: transform .15s; }
.dc-select.open > button svg { transform: rotate(180deg); }
.dc-chip { display: inline-flex; align-items: center; gap: 4px; background: #2b2b31; border-radius: 4px; padding: 1px 6px; font-size: 13.5px; color: var(--dc-text); }
.dc-options {
  position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 20; background: #1e1e22; border: 1px solid #2e2e34;
  border-radius: 8px; box-shadow: 0 12px 32px rgba(0,0,0,.5); max-height: 260px; overflow-y: auto; padding: 4px;
}
.dc-options.up { top: auto; bottom: calc(100% + 4px); }
.dc-option { display: flex; align-items: flex-start; gap: 10px; padding: 8px 10px; border-radius: 6px; cursor: pointer; color: var(--dc-text); }
.dc-option:hover, .dc-option.hl { background: #2b2b31; }
.dc-option .o-label { font-size: 15px; }
.dc-option .o-desc { font-size: 12.5px; color: var(--dc-muted); }
.dc-option .o-check { margin-left: auto; width: 18px; height: 18px; border-radius: 4px; border: 1.5px solid #6d6f78; flex: none; margin-top: 1px; }
.dc-option.sel .o-check { background: var(--dc-blurple); border-color: var(--dc-blurple); box-shadow: inset 0 0 0 3px var(--dc-blurple); position: relative; }
.dc-option.sel .o-check::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.dc-option .o-hash { color: var(--dc-muted); font-size: 18px; line-height: 1; margin-top: 1px; }

/* message composer */
.dc-composer { padding: 0 16px 16px; position: relative; }
.dc-input {
  display: flex; align-items: center; gap: 10px; background: #222226; border: 1px solid #2e2e34; border-radius: 10px;
  padding: 0 12px; min-height: 48px; color: var(--dc-muted);
}
.dc-input input { flex: 1; min-width: 0; background: none; border: 0; color: var(--dc-text); font: inherit; font-size: 15px; outline: none; height: 46px; }
.dc-input input::placeholder { color: #6d6f78; }
.dc-input .plus { width: 24px; height: 24px; border-radius: 50%; background: #4e5058; color: #1a1a1e; display: grid; place-items: center; font-weight: 800; flex: none; }
.dc-input button.send { background: none; border: 0; color: var(--dc-muted); cursor: pointer; padding: 6px; border-radius: 6px; display: grid; place-items: center; }
.dc-input button.send:hover { color: #fff; }
.dc-input button.send svg { width: 20px; height: 20px; }
.dc-suggest {
  position: absolute; left: 16px; right: 16px; bottom: calc(100% - 8px); background: #1e1e22; border: 1px solid #2e2e34;
  border-radius: 10px; padding: 6px; box-shadow: 0 -10px 30px rgba(0,0,0,.4); z-index: 15;
}
.dc-suggest .s-head { font-size: 11.5px; text-transform: uppercase; color: var(--dc-muted); font-weight: 700; padding: 4px 8px 6px; letter-spacing: .02em; }
.dc-suggest button { display: flex; width: 100%; align-items: center; gap: 10px; background: none; border: 0; padding: 8px; border-radius: 6px; color: var(--dc-text); font: inherit; cursor: pointer; text-align: left; }
.dc-suggest button:hover, .dc-suggest button.hl { background: #2b2b31; }
.dc-suggest .s-name { font-weight: 600; color: var(--dc-head); }
.dc-suggest .s-desc { color: var(--dc-muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dc-typing { height: 18px; font-size: 12.5px; color: var(--dc-muted); padding: 2px 18px 0; }

/* modal */
.dc-modal-backdrop {
  position: absolute; inset: 0; background: rgba(0,0,0,.66); z-index: 30; display: grid; place-items: center; padding: 14px;
  animation: dc-fade .15s ease;
}
@keyframes dc-fade { from { opacity: 0; } }
.dc-modal {
  width: 100%; max-width: 460px; max-height: calc(100% - 8px); overflow-y: auto; background: #242429; border: 1px solid #2e2e34;
  border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.6); animation: dc-pop .18s ease;
}
@keyframes dc-pop { from { transform: scale(.96); opacity: 0; } }
.dc-modal-head { display: flex; align-items: center; gap: 10px; padding: 16px 16px 8px; }
.dc-modal-head .av { width: 24px; height: 24px; border-radius: 50%; overflow: hidden; flex: none; }
.dc-modal-head h4 { margin: 0; font-size: 18px; color: var(--dc-head); font-weight: 700; letter-spacing: 0; flex: 1; font-family: inherit; }
.dc-modal-head .x { background: none; border: 0; color: var(--dc-muted); cursor: pointer; font-size: 22px; line-height: 1; padding: 4px; }
.dc-modal-body { padding: 6px 16px 8px; display: grid; gap: 16px; }
.dc-field label { display: block; font-weight: 600; color: var(--dc-head); font-size: 14.5px; }
.dc-field label .req { color: #f23f43; margin-left: 2px; }
.dc-field .desc { font-size: 13px; color: var(--dc-muted); margin: 1px 0 8px; }
.dc-field input[type=text], .dc-field textarea {
  width: 100%; background: var(--dc-input); border: 1px solid #2e2e34; border-radius: 8px; color: var(--dc-text);
  font: inherit; font-size: 15px; padding: 10px 12px; outline: none; resize: vertical;
}
.dc-field input[type=text]:focus, .dc-field textarea:focus { border-color: var(--dc-blurple); }
.dc-field textarea { min-height: 96px; }
.dc-field .count { text-align: right; font-size: 11.5px; color: var(--dc-muted); margin-top: 3px; }
.dc-upload { border: 1.5px dashed #45454d; border-radius: 8px; padding: 14px; text-align: center; color: var(--dc-muted); font-size: 13.5px; cursor: pointer; }
.dc-upload:hover { border-color: #6d6f78; color: var(--dc-text); }
.dc-upload.has { border-style: solid; color: var(--dc-text); display: flex; align-items: center; gap: 10px; justify-content: flex-start; }
.dc-upload .thumb { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; background: #2b2b31; }
.dc-check { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.dc-check input { width: 20px; height: 20px; accent-color: var(--dc-blurple); }
.dc-modal-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 16px 16px; }
.dc-modal-foot .dc-btn { min-width: 96px; }

/* demo frames on marketing pages */
.demo-frame { position: relative; }
.demo-frame .dc-window { transform: perspective(1600px) rotateY(-4deg) rotateX(2deg); transition: transform .6s ease; }
.demo-frame:hover .dc-window { transform: none; }
@media (max-width: 999px) { .demo-frame .dc-window { transform: none; } }
.demo-caption { display: flex; justify-content: center; gap: 8px; margin-top: 14px; font-size: .86rem; color: var(--faint); flex-wrap: wrap; }
.demo-caption .live { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-weight: 700; }
.demo-caption .live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: live 1.4s infinite; }
@keyframes live { 50% { opacity: .3; } }
.feature-demo { min-height: 250px; }
.feature-demo .dc-window { height: 100%; }
.demo-controls { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chipbtn { font: inherit; font-size: .86rem; font-weight: 600; color: var(--text); background: var(--surface); border: 1px solid var(--border-2); padding: 7px 13px; border-radius: 999px; cursor: pointer; transition: background .15s, border-color .15s; }
.chipbtn:hover { background: var(--surface-2); }
.chipbtn[aria-pressed="true"] { background: rgba(237,192,209,.14); border-color: rgba(237,192,209,.45); color: #fff; }
.range-row { display: flex; align-items: center; gap: 14px; margin-top: 14px; font-size: .92rem; color: var(--muted); }
.range-row input[type=range] { flex: 1; accent-color: var(--pink); }
.range-row output { min-width: 94px; color: #fff; font-weight: 700; text-align: right; }
.var-table { display: grid; gap: 8px; }
.var-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); align-items: center; font-size: .92rem; }
.var-row code { background: rgba(245,196,81,.12); border-color: rgba(245,196,81,.25); color: #ffd98a; }
.var-row span { color: var(--muted); }
.var-row span b { color: #fff; font-weight: 600; }

/* ── docs: "show me how" walkthroughs ────────────────────────────────────── */
.help-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 1.4em; }
.help-btn {
  display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: .9rem; font-weight: 700; cursor: pointer;
  color: var(--pink); background: rgba(237,192,209,.08); border: 1px dashed rgba(237,192,209,.45); padding: 8px 14px; border-radius: 999px;
  transition: background .15s, border-color .15s, color .15s;
}
.help-btn:hover { background: rgba(237,192,209,.16); color: #fff; border-style: solid; }
.help-btn[aria-expanded="true"] { background: var(--pink); color: var(--pink-ink); border-style: solid; }
.help-btn svg { width: 16px; height: 16px; }
.walk-slot { margin: 0 0 1.6em; }
.walk { border: 1px solid var(--border-2); border-radius: 18px; background: var(--bg-3); overflow: hidden; animation: walk-in .35s ease; }
@keyframes walk-in { from { opacity: 0; transform: translateY(-6px); } }
.walk-head { display: flex; justify-content: space-between; gap: 10px; padding: 12px 16px; font-size: .86rem; border-bottom: 1px solid var(--border); }
.walk-title { font-weight: 700; color: var(--text); }
.walk-step { color: var(--faint); }
.walk-stage { position: relative; height: 470px; background: #1a1a1e; overflow: hidden; transition: height .35s ease; }
.walk-inner { position: absolute; left: 0; top: 0; width: 100%; transform-origin: 0 0; padding: 14px 0 18px; }
.walk-inner.fade { animation: walk-fade .35s ease; }
@keyframes walk-fade { from { opacity: 0; } }
.walk-feed .dc-msg:hover { background: none; }
.walk-feed .dc-container, .walk-feed .dc-embed { max-width: 540px; }
.walk-feed .walk-channel { margin: 0 14px; box-shadow: none; }
.walk-feed .walk-channel .dc-feed { padding: 10px 0; }
.walk-feed .walk-composer { padding: 40px 16px 0; max-width: 560px; }
.walk-feed .dc-input input { pointer-events: none; }
.walk-modal { position: absolute; inset: 0; background: rgba(0,0,0,.62); display: grid; place-items: start center; padding: 26px 14px; animation: dc-fade .2s ease; }
.walk-modal .dc-modal { max-height: none; }
.walk-modal .dc-field input, .walk-modal .dc-field textarea { pointer-events: none; }
.walk-hint { position: relative; box-shadow: 0 0 0 2px var(--pink), 0 0 0 6px rgba(237,192,209,.25) !important; border-radius: 8px; transition: box-shadow .2s; }
.walk-press { transform: scale(.96); filter: brightness(1.15); }
.walk-cursor { position: absolute; left: 0; top: 0; width: 26px; height: 26px; z-index: 5; pointer-events: none; transition: transform .75s cubic-bezier(.3,.8,.3,1); filter: drop-shadow(0 3px 6px rgba(0,0,0,.5)); }
.walk-ripple { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; z-index: 4; pointer-events: none; border: 2px solid var(--pink); animation: walk-ripple .7s ease-out forwards; }
@keyframes walk-ripple { to { transform: scale(4); opacity: 0; } }
.walk-cap { margin: 0; padding: 14px 16px 4px; font-weight: 600; min-height: 2.8em; }
.walk-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 16px 14px; flex-wrap: wrap; }
.walk-dots { display: flex; gap: 6px; }
.walk-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.15); transition: background .2s, transform .2s; }
.walk-dots i.done { background: rgba(237,192,209,.5); }
.walk-dots i.on { background: var(--pink); transform: scale(1.3); }
.walk-ctrl { display: flex; gap: 6px; }
.walk-btn { font: inherit; font-size: .84rem; font-weight: 700; color: var(--text); background: var(--surface-2); border: 1px solid var(--border-2); border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.walk-btn:hover { background: rgba(255,255,255,.1); }
.show-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.show-chips a { font-size: .88rem; font-weight: 600; color: var(--text); text-decoration: none; padding: 7px 13px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border-2); transition: background .15s, border-color .15s; }
.show-chips a:hover { background: rgba(237,192,209,.12); border-color: rgba(237,192,209,.45); }
.dc-msg .hover-tools {
  position: absolute; right: 16px; top: -12px; display: none; background: #242429; border: 1px solid #2e2e34; border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,.3); z-index: 5;
}
.dc-msg:hover .hover-tools, .dc-msg .hover-tools.show { display: flex; }
.hover-tools button { background: none; border: 0; color: var(--dc-muted); padding: 5px 8px; cursor: pointer; font: inherit; font-size: 13px; border-radius: 6px; }
.dc-ctx {
  position: absolute; right: 16px; top: 20px; z-index: 25; background: #1e1e22; border: 1px solid #2e2e34; border-radius: 8px;
  padding: 6px; min-width: 200px; box-shadow: 0 12px 32px rgba(0,0,0,.5);
}
.dc-ctx .c-head { font-size: 12px; color: var(--dc-muted); padding: 4px 8px; }
.dc-ctx button { display: flex; width: 100%; align-items: center; gap: 8px; background: none; border: 0; color: var(--dc-text); font: inherit; font-size: 14px; padding: 8px; border-radius: 4px; cursor: pointer; text-align: left; }
.dc-ctx button.walk-hint, .dc-ctx button:hover { background: var(--dc-blurple); color: #fff; }

/* ── homepage scroll story ──────────────────────────────────────────────── */
.story { position: relative; height: 640vh; }
.story-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.story-grid { height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 8px; padding-top: 82px; padding-bottom: 16px; }
@media (min-width: 980px) { .story-grid { grid-template-rows: none; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: 48px; padding-top: 70px; } }
.story-copy { position: relative; min-height: 150px; }
@media (min-width: 980px) { .story-copy { min-height: 300px; } }
.story-step { position: absolute; left: 0; right: 0; top: 0; opacity: 0; transform: translateY(-10px); transition: opacity .18s ease, transform .3s ease; pointer-events: none; }
.story-step.on { opacity: 1; transform: none; pointer-events: auto; transition: opacity .45s ease .2s, transform .6s cubic-bezier(.2,.8,.2,1) .2s; }
.story-step h2 { font-size: clamp(1.6rem, 4vw, 3rem); margin-bottom: .35em; }
.story-step p { color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.18rem); max-width: 460px; margin: 0; }
@media (max-width: 979px) { .story-step p { font-size: .95rem; } .story-step .eyebrow { margin-bottom: 6px; } }
.story-progress { display: none; }
@media (min-width: 980px) { .story-progress { display: block; position: absolute; left: 0; bottom: 0; width: 180px; height: 3px; border-radius: 3px; background: var(--border-2); overflow: hidden; } }
.story-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--pink), var(--gold)); transform-origin: left; transform: scaleX(0); }
.story-view { position: relative; height: 100%; min-height: 0; perspective: 1600px; }
.story-stage { position: absolute; left: 50%; top: 50%; width: 600px; height: 640px; font-size: 15px; transform-origin: 50% 50%; transform-style: preserve-3d; }
.st-chan { position: absolute; inset: 0; display: flex; flex-direction: column; transform-origin: 30% 50%; will-change: transform, opacity; }
.st-feed { position: relative; flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 70px); mask-image: linear-gradient(to bottom, transparent 0, #000 70px); }
.st-list { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; flex-direction: column; padding-top: 10px; }
.st-list .dc-msg + .dc-msg:not(.cont) { margin-top: 10px; }
.st-hide { display: none !important; }
.st-rules { transition: background .4s; border-radius: 6px; }
.st-rules.st-buried { background: rgba(240,140,140,.1); box-shadow: inset 3px 0 0 #f08c8c; }
.st-pin { position: absolute; left: 0; right: 0; bottom: 8px; opacity: 0; will-change: transform, opacity; border-radius: 8px; }
.st-pin-layer { position: absolute; left: 0; right: 0; bottom: 0; }
.st-pin.st-flash { animation: st-flash 1s ease; }
@keyframes st-flash { 0% { box-shadow: 0 0 0 0 rgba(237,192,209,.0); background: rgba(237,192,209,.16); } 100% { box-shadow: 0 0 0 0 transparent; background: transparent; } }
.st-pin-label { position: absolute; left: 68px; font-size: 12px; font-weight: 600; color: var(--pink); opacity: 0; font-family: var(--font); }
.st-pin.st-premium + .st-pin-label, .st-premium ~ .st-pin-label { color: var(--gold); }
.st-panel-wrap { position: absolute; left: 30px; top: 18px; width: 540px; opacity: 0; will-change: transform, opacity; }
.st-panel-wrap .dc-container { background: #26262c; box-shadow: 0 30px 80px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.04); }
.st-piece { display: grid; gap: 10px; will-change: transform, opacity; }
.st-toast { opacity: 0; }
.st-panel-wrap .dc-btn { transition: transform .15s, box-shadow .25s, filter .15s; }
.st-glow { box-shadow: 0 0 0 3px rgba(127,214,162,.5), 0 0 26px rgba(0,134,58,.7); }
.st-press { transform: scale(.93); filter: brightness(1.2); }
.story-static { height: auto; }
.story-static .story-sticky { position: relative; height: auto; padding: 40px 0; }
.story-static .story-grid { height: auto; }
.story-static .story-copy { min-height: 0; display: grid; gap: 22px; }
.story-static .story-step { position: static; opacity: 1; transform: none; }
.story-static .story-view { height: 660px; }
.story-hint { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); font-size: .8rem; color: var(--faint); display: flex; align-items: center; gap: 8px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; transition: opacity .3s; }
.story-hint::after { content: ""; width: 1px; height: 26px; background: linear-gradient(var(--pink), transparent); animation: hint-drop 1.6s ease-in-out infinite; }
@keyframes hint-drop { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ── homepage playground ─────────────────────────────────────────────────── */
.playground { border: 1px solid var(--border-2); border-radius: 26px; background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015)); padding: clamp(14px, 3vw, 28px); }
.pg-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 20px; scrollbar-width: none; }
.pg-tabs::-webkit-scrollbar { display: none; }
.pg-tab { flex: none; display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: .93rem; font-weight: 700; color: var(--muted); background: transparent; border: 1px solid transparent; padding: 10px 16px; border-radius: 999px; cursor: pointer; transition: color .15s, background .15s, border-color .15s; }
.pg-tab:hover { color: #fff; background: var(--surface-2); }
.pg-tab[aria-selected="true"] { color: var(--pink-ink); background: var(--pink); }
.pg-tab .tag { font-size: .6rem; padding: 1px 6px; }
.pg-tab[aria-selected="true"] .tag-premium { background: rgba(0,0,0,.12); color: #5a3d00; border-color: transparent; }
.pg-panel { display: grid; gap: 22px; align-items: start; animation: walk-fade .35s ease; }
.pg-panel[hidden] { display: none; }
@media (min-width: 900px) { .pg-panel { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px; } }
.pg-panel h3 { font-size: 1.35rem; margin-bottom: 6px; }
.pg-panel .muted { margin-bottom: 16px; }
.field { display: block; font-size: .88rem; color: var(--muted); font-weight: 600; margin-bottom: 12px; }
.field input, .field textarea { display: block; width: 100%; margin-top: 6px; padding: 11px 13px; border-radius: 12px; border: 1px solid var(--border-2); background: var(--bg-2); color: var(--text); font: inherit; font-weight: 500; resize: vertical; transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 3px rgba(237,192,209,.15); }
.field textarea.mono { font-family: var(--mono); font-size: .88rem; }
.field-row { display: grid; grid-template-columns: 1fr 120px; gap: 12px; }
.pg-preview .dc-feed { min-height: 0; }
.pg-preview .dc-window { box-shadow: 0 20px 50px -24px rgba(0,0,0,.7); }

/* cards: a soft spotlight follows the pointer */
.card { overflow: hidden; }
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(237,192,209,.09), transparent 45%); }
.card:hover::after { opacity: 1; }

/* ── homepage: use cases + trust ─────────────────────────────────────────── */
.uses { display: grid; gap: 18px; }
@media (min-width: 760px) { .uses { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .uses { grid-template-columns: repeat(3, 1fr); } }
.use { display: flex; flex-direction: column; gap: 16px; padding: 22px; border-radius: var(--radius); border: 1px solid var(--border); background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015)); transition: border-color .2s, transform .2s; }
.use:hover { border-color: rgba(237,192,209,.3); transform: translateY(-3px); }
.use h3 { margin-bottom: 6px; }
.use p { margin: 0; font-size: .95rem; }
.use-preview { margin-top: auto; }
.use-preview .dc-window { border-radius: 12px; box-shadow: none; }
.use-preview .dc-feed { padding: 12px 0; }
.use-preview .dc-msg { padding-right: 12px; }
.trust { display: grid; gap: 28px; padding: clamp(24px, 4vw, 44px); border-radius: 26px; border: 1px solid var(--border-2); background: radial-gradient(circle at 0% 0%, rgba(127,214,162,.1), transparent 45%), var(--bg-3); }
@media (min-width: 980px) { .trust { grid-template-columns: .8fr 1.2fr; align-items: center; } }
.trust-head h2 { margin: 0; }
.trust-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px 28px; }
@media (min-width: 640px) { .trust-list { grid-template-columns: 1fr 1fr; } }
.trust-list li { display: grid; gap: 2px; padding-left: 30px; position: relative; }
.trust-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(127,214,162,.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%237fd6a2'%3E%3Cpath d='M8.2 13.6 4.7 10l1.1-1.1 2.4 2.4 6-6 1.1 1.1z'/%3E%3C/svg%3E") center/16px no-repeat; }
.trust-list b { font-weight: 700; }
.trust-list span { color: var(--muted); font-size: .94rem; }

/* footer: brand and buttons keep their own colours */
.site-footer .brand { color: #fff; }
.site-footer a.btn-primary, .site-footer a.btn-primary:hover { color: var(--pink-ink); }
.footer-bottom a { color: var(--muted); }

/* comparison tables become stacked cards on phones */
@media (max-width: 640px) {
  .compare-wrap { overflow: visible; border: 0; background: none; border-radius: 0; }
  table.compare { min-width: 0; display: block; }
  table.compare thead { display: none; }
  table.compare tbody { display: grid; gap: 12px; }
  table.compare tr { display: block; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); overflow: hidden; }
  table.compare tbody th { display: block; padding: 12px 16px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,.03); }
  table.compare td { display: flex; justify-content: space-between; gap: 16px; padding: 10px 16px; border-bottom: 1px solid var(--border); text-align: right; }
  table.compare td::before { content: attr(data-label); color: var(--faint); font-weight: 600; text-align: left; flex: none; }
  table.compare td.us::before { color: var(--pink); }
  table.compare tr td:last-child { border-bottom: 0; }
  table.compare td.us { background: rgba(237,192,209,.05); }
}

/* pricing period switch: three even columns on phones */
@media (max-width: 520px) {
  .period-toggle { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; border-radius: 18px; }
  .period-toggle button { padding: 9px 4px; font-size: .88rem; border-radius: 14px; line-height: 1.2; }
  .period-toggle .save { display: block; margin: 2px 0 0; }
  .prose table { font-size: .88rem; }
  .prose th, .prose td { padding: 8px 10px; }
}

@media (max-width: 899px) { .pg-tabs { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); } }

/* article pages: header and body share one centred reading column */
.container.narrow { max-width: 860px; }
.container.narrow.prose { max-width: 860px; }
.container.narrow .faq { max-width: none; }
