/* Quizooly — global stylesheet
   Palette: cream canvas, ink text, electric-violet primary, per-category accents. */

:root {
  --bg: #FAF6EF;
  --panel: #FFFFFF;
  --ink: #241E38;
  --ink-soft: #5A5470;
  --line: #EDE6D9;
  --brand: #6C3BFF;
  --brand-dark: #4F24CC;
  --brand-soft: #F0EAFF;
  --sun: #FFB300;
  --radius: 18px;
  --shadow: 0 2px 6px rgba(36, 30, 56, 0.06), 0 12px 28px -18px rgba(36, 30, 56, 0.25);
  --shadow-lift: 0 4px 10px rgba(36, 30, 56, 0.08), 0 18px 38px -16px rgba(36, 30, 56, 0.32);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Avenir Next", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ---------------------------------------------------------------- header */

.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 239, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex; align-items: center; gap: 28px;
  height: 62px;
}
.logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 21px; letter-spacing: -0.3px; }
.logo svg { width: 30px; height: 30px; }
.logo b { color: var(--brand); }

.mainnav { display: flex; gap: 4px; margin-left: auto; }
.mainnav a {
  padding: 7px 13px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600; color: var(--ink-soft);
  transition: background 0.15s, color 0.15s;
}
.mainnav a:hover { background: var(--brand-soft); color: var(--brand-dark); }
.mainnav a.is-active { background: var(--ink); color: #fff; }

.burger {
  display: none; margin-left: auto;
  width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--panel); cursor: pointer; align-items: center; justify-content: center;
}
.burger span { display: block; width: 16px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 16px; height: 2px; background: var(--ink); border-radius: 2px;
}
.burger span::before { top: -5px; }
.burger span::after { top: 5px; }

.mobilenav {
  display: none; flex-direction: column; padding: 8px 20px 16px;
  border-top: 1px solid var(--line);
}
.mobilenav a { padding: 11px 6px; font-weight: 600; border-bottom: 1px dashed var(--line); }
.mobilenav a:last-child { border-bottom: 0; }
.mobilenav.open { display: flex; }

@media (max-width: 820px) {
  .mainnav { display: none; }
  .burger { display: flex; }
}

/* ---------------------------------------------------------------- cards */

.tile {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
}
.tile .tile-emoji { font-size: 54px; line-height: 1; filter: drop-shadow(0 6px 10px rgba(0,0,0,0.18)); }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 12% 8%, rgba(255,255,255,0.18), rgba(255,255,255,0) 55%);
}

.qcard {
  background: var(--panel); border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.qcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.qcard .tile { border-radius: 0; aspect-ratio: 16 / 9; }
.qcard-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.qcard-cat { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.7px; }
.qcard-title { font-size: 16.5px; font-weight: 750; line-height: 1.32; letter-spacing: -0.2px; }
.qcard-meta { margin-top: auto; display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--ink-soft); }
.qcard-go {
  font-weight: 750; font-size: 13.5px; color: var(--brand);
  padding: 5px 12px; border-radius: 999px; background: var(--brand-soft);
}

.grid { display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 420px) { .grid { grid-template-columns: 1fr 1fr; gap: 12px; } }

/* ---------------------------------------------------------------- home */

.hero { padding: 34px 0 10px; }
.hero-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; } }

.hero-feature {
  position: relative; border-radius: 26px; overflow: hidden;
  min-height: 340px; display: flex; align-items: flex-end;
  box-shadow: var(--shadow-lift);
}
.hero-feature .tile-emoji {
  position: absolute; top: 26px; right: 30px; font-size: 96px;
  filter: drop-shadow(0 10px 16px rgba(0,0,0,0.22));
}
.hero-feature-body { position: relative; z-index: 2; padding: 28px; color: #fff; max-width: 78%; }
.hero-feature-tag {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: 0.8px;
  text-transform: uppercase; background: rgba(255,255,255,0.22); border-radius: 999px;
  padding: 5px 12px; margin-bottom: 12px; backdrop-filter: blur(4px);
}
.hero-feature h2 { font-size: clamp(24px, 3.6vw, 36px); line-height: 1.14; letter-spacing: -0.6px; margin-bottom: 10px; }
.hero-feature p { font-size: 15px; opacity: 0.92; margin-bottom: 18px; }
.hero-feature::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(0,0,0,0) 30%, rgba(20, 10, 40, 0.55) 82%);
  z-index: 1;
}

.hero-side { display: grid; grid-template-columns: 1fr; gap: 14px; }
.hero-mini {
  display: flex; gap: 13px; align-items: center;
  background: var(--panel); border-radius: 16px; padding: 10px;
  box-shadow: var(--shadow); transition: transform 0.15s ease;
}
.hero-mini:hover { transform: translateX(4px); }
.hero-mini .tile { width: 74px; height: 58px; flex: none; border-radius: 12px; }
.hero-mini .tile-emoji { font-size: 28px; }
.hero-mini-title { font-size: 14.5px; font-weight: 700; line-height: 1.3; }
.hero-mini-cat { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.6px; }
@media (max-width: 880px) {
  .hero-side { grid-template-columns: 1fr 1fr; }
  .hero-mini { flex-direction: row; }
}
@media (max-width: 560px) { .hero-side { grid-template-columns: 1fr; } }

.section { padding: 34px 0 6px; }
.section-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; }
.section-head h2 { font-size: 24px; letter-spacing: -0.4px; }
.section-head .see-all { margin-left: auto; font-size: 14px; font-weight: 700; color: var(--brand); white-space: nowrap; }
.section-head .kicker { font-size: 13px; color: var(--ink-soft); font-weight: 600; }

.catstrip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
@media (max-width: 880px) { .catstrip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .catstrip { grid-template-columns: repeat(2, 1fr); } }
.catchip {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: var(--panel); border-radius: var(--radius); padding: 18px 10px 14px;
  box-shadow: var(--shadow); font-weight: 750; font-size: 14px;
  border-top: 4px solid transparent;
  transition: transform 0.15s ease;
}
.catchip:hover { transform: translateY(-3px); }
.catchip .catchip-emoji { font-size: 30px; }

/* ---------------------------------------------------------------- quiz page */

.crumbs { display: flex; align-items: center; gap: 8px; padding: 22px 0 0; font-size: 13px; color: var(--ink-soft); font-weight: 600; }
.crumbs a:hover { color: var(--brand); }
.crumbs .sep { opacity: 0.5; }

.quiz-head { padding: 10px 0 4px; max-width: 780px; margin: 0 auto; }
.quiz-head h1 { font-size: clamp(26px, 4vw, 38px); line-height: 1.15; letter-spacing: -0.7px; }
.quiz-head .quiz-sub { display: flex; gap: 14px; align-items: center; margin-top: 12px; font-size: 13.5px; color: var(--ink-soft); font-weight: 600; flex-wrap: wrap; }
.quiz-head .pill {
  background: var(--panel); border: 1px solid var(--line); border-radius: 999px;
  padding: 4px 12px;
}

/* two-column detail layout, reference specs: 1180px content = 800px main + 330px rail,
   rail scrolls with the page (no sticky) and is hidden on mobile */
.detail-layout {
  max-width: 1180px; margin: 0 auto;
  display: flex; justify-content: space-between; gap: 50px; align-items: flex-start;
}
.detail-main { width: 800px; max-width: 100%; min-width: 0; flex: 1 1 auto; }
.detail-main .quiz-hero,
.detail-main .quiz-intro,
.detail-main .qblock,
.detail-main .quiz-submit-area,
.detail-main .ad-box,
.detail-main .result-stage { max-width: none; margin-left: 0; margin-right: 0; }

.detail-side {
  width: 330px; flex-shrink: 0;
  display: flex; flex-direction: column; gap: 20px;
}
.side-module { min-width: 0; }
.side-title { display: flex; align-items: center; margin-bottom: 16px; }
.side-title-icon { font-size: 26px; margin-right: 12px; }
.side-title span:last-child {
  flex: 1; font-size: 24px; font-weight: 700; letter-spacing: -0.3px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.side-cat-item {
  display: flex; align-items: center; gap: 12px; padding: 12px 2px;
  border-top: 1px dashed var(--line); font-size: 16px; font-weight: 600;
}
.side-cat-item:first-of-type { border-top: none; }
.side-cat-item:hover .side-cat-title, .side-cat-item:hover .side-cat-arrow { color: var(--brand); }
.side-cat-title { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-cat-arrow { color: var(--ink-soft); font-size: 18px; }
.side-more-btn {
  margin-top: 12px; width: 100%; height: 48px; border-radius: 12px;
  border: 1px solid var(--brand); background: var(--panel);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand); font-size: 16px; font-weight: 600;
  transition: background 0.15s, color 0.15s;
}
.side-more-btn:hover { background: var(--brand); color: #fff; }

.side-list { display: flex; flex-direction: column; gap: 13px; }
.side-item {
  display: flex; gap: 10px; align-items: center;
  background: var(--panel); border-radius: 8px; padding: 12px;
  border: 1px solid #F1ECE1; box-shadow: 0 3px 0 0 #F1ECE1;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.side-item:hover { border-color: var(--brand); box-shadow: 0 3px 0 0 var(--brand); }
.side-item-cover { flex: none; height: 76px; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; }
.side-tile { width: 100%; height: 100%; border-radius: 6px; }
.side-tile .tile-emoji { font-size: 22px; }
.side-item-title {
  font-size: 14.5px; font-weight: 650; line-height: 1.4; min-width: 0;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
}

/* sidebar ad slots keep a reserved height so the rail doesn't jump when ads load */
.detail-side .ad-box { margin: 0; min-height: 252px; justify-content: center; }

@media (max-width: 1000px) {
  .detail-side { display: none; }
  .detail-main { width: 100%; }
}

.quiz-hero {
  margin: 20px auto 0;
  border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lift);
}
.detail-main .quiz-hero { max-width: none; }
.quiz-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.quiz-hero--slim img { aspect-ratio: 21 / 8; }

.qblock-img {
  border-radius: 14px; overflow: hidden; margin: 0 0 16px;
  border: 1px solid var(--line);
}
.qblock-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.quiz-intro { max-width: 780px; margin: 14px auto 0; }
.quiz-intro p { margin-bottom: 12px; color: var(--ink-soft); font-size: 16px; }

.qblock {
  max-width: 780px; margin: 22px auto 0;
  background: var(--panel); border-radius: 22px;
  box-shadow: var(--shadow); padding: 24px 24px 26px;
  border-top: 5px solid var(--accent, var(--brand));
  scroll-margin-top: 80px; /* clear the sticky header when auto-scrolling to the next question */
}
.qblock-num {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 26px; padding: 0 10px; border-radius: 999px;
  background: var(--accent, var(--brand)); color: #fff;
  font-weight: 800; font-size: 13px; letter-spacing: 0.5px;
}
.qblock-q { font-size: 19px; font-weight: 750; line-height: 1.35; margin: 12px 0 16px; letter-spacing: -0.2px; }

.opt {
  display: flex; align-items: center; gap: 12px; width: 100%;
  text-align: left; cursor: pointer;
  background: #FBFAF6; border: 2px solid var(--line); border-radius: 14px;
  padding: 12px 14px; margin-bottom: 10px;
  font: inherit; font-size: 15.5px; font-weight: 600; color: var(--ink);
  transition: border-color 0.12s, background 0.12s, transform 0.06s;
}
.opt:hover { border-color: var(--accent, var(--brand)); }
.opt:active { transform: scale(0.99); }
.opt .opt-key {
  flex: none; width: 28px; height: 28px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1.5px solid var(--line);
  font-size: 13px; font-weight: 800; color: var(--ink-soft);
}
.opt.picked {
  border-color: var(--accent, var(--brand));
  background: color-mix(in srgb, var(--accent, var(--brand)) 8%, #fff);
}
.opt.picked .opt-key { background: var(--accent, var(--brand)); border-color: var(--accent, var(--brand)); color: #fff; }

.quiz-input {
  display: block; width: 100%; margin-top: 4px;
  font: inherit; font-size: 17px; font-weight: 600; color: var(--ink);
  background: #FBFAF6; border: 2px solid var(--line); border-radius: 14px;
  padding: 14px 16px; outline: none;
  transition: border-color 0.12s;
}
.quiz-input:focus { border-color: var(--accent, var(--brand)); }
.quiz-input.needs-answer { border-color: #E5484D; animation: nudge 0.4s ease; }

/* image options (pick-a-rose style) */
.opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.opt.opt--img {
  flex-direction: column; padding: 0; overflow: hidden; margin-bottom: 0;
  align-items: stretch; gap: 0;
}
.opt.opt--img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.opt-imglabel { display: flex; align-items: center; gap: 8px; padding: 9px 12px; font-size: 14px; }
@media (max-width: 460px) { .opt-grid { gap: 8px; } .opt-imglabel { font-size: 12.5px; } }

/* submit -> result transition overlay */
.reveal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(36, 30, 56, 0.88); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  animation: fadein 0.25s ease;
}
.reveal-box { text-align: center; color: #fff; }
.reveal-spinner {
  width: 58px; height: 58px; margin: 0 auto 18px;
  border-radius: 50%; border: 5px solid rgba(255,255,255,0.25); border-top-color: #FFB300;
  animation: spin 0.7s linear infinite;
}
.reveal-text { font-size: 17px; font-weight: 700; }
.reveal-emoji { font-size: 52px; margin-bottom: 12px; animation: drumroll 0.5s ease infinite alternate; }
.reveal-overlay.out { opacity: 0; transition: opacity 0.28s ease; }
@keyframes drumroll { from { transform: scale(1) rotate(-6deg); } to { transform: scale(1.15) rotate(6deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

/* result reveal entrance */
.rcard.revealed { animation: pop-in 0.55s cubic-bezier(0.2, 1.2, 0.35, 1); }
@keyframes pop-in {
  0% { transform: scale(0.7) translateY(26px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .rcard.revealed, .reveal-overlay { animation: none; }
}

.qblock.needs-answer { animation: nudge 0.4s ease; border-color: #E5484D; }
@keyframes nudge {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  60% { transform: translateX(5px); }
}

.quiz-submit-area { max-width: 780px; margin: 26px auto 0; text-align: center; }

.bigbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-width: 240px; padding: 15px 34px;
  background: var(--brand); color: #fff;
  border: 0; border-bottom: 4px solid var(--brand-dark);
  border-radius: 16px; cursor: pointer;
  font: inherit; font-size: 17px; font-weight: 800; letter-spacing: 0.2px;
  transition: transform 0.08s ease, filter 0.12s;
}
.bigbtn:hover { filter: brightness(1.06); }
.bigbtn:active { transform: translateY(2px); border-bottom-width: 2px; }
.bigbtn.ghost { background: var(--panel); color: var(--ink); border: 2px solid var(--line); border-bottom-width: 4px; }

/* ---------------------------------------------------------------- result page */

.result-stage { max-width: 780px; margin: 8px auto 0; }
.result-banner {
  text-align: center; font-size: 13px; font-weight: 800; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--brand); margin: 18px 0 10px;
}
.rcard {
  background: var(--panel); border-radius: 24px; box-shadow: var(--shadow-lift);
  padding: 30px 28px; text-align: center; margin-bottom: 18px;
  border-top: 6px solid var(--accent, var(--brand));
}
.rcard .rcard-emoji { font-size: 64px; line-height: 1; }
.rcard h2 { font-size: clamp(22px, 3.4vw, 30px); margin: 12px 0 12px; letter-spacing: -0.5px; }
.rcard p { color: var(--ink-soft); font-size: 16px; text-align: left; }
.rcard .rcard-share {
  margin-top: 18px; font-size: 14px; font-weight: 650; color: var(--ink);
  background: var(--brand-soft); border-radius: 12px; padding: 10px 14px;
  display: inline-block;
}

.result-locked { text-align: center; padding: 8px 0 6px; }
.result-locked .bigbtn { margin-top: 12px; }

.others-head { text-align: center; font-size: 15px; font-weight: 750; color: var(--ink-soft); margin: 26px 0 4px; }
.rcard.dimmed { opacity: 0.86; transform: scale(0.985); box-shadow: var(--shadow); }
.rcard.dimmed h2 { font-size: 20px; }
.rcard.dimmed .rcard-emoji { font-size: 40px; }

.feedback { text-align: center; margin: 6px 0 4px; }
.feedback-label { font-size: 14.5px; font-weight: 700; margin-bottom: 10px; }
.feedback-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.fb {
  border: 2px solid var(--line); background: var(--panel); cursor: pointer;
  border-radius: 999px; padding: 8px 16px; font: inherit; font-size: 14px; font-weight: 700;
  transition: transform 0.1s, border-color 0.1s;
}
.fb:hover { transform: translateY(-2px); border-color: var(--brand); }
.fb.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.feedback-thanks { font-size: 13.5px; color: var(--ink-soft); margin-top: 10px; display: none; }

.result-actions { display: flex; gap: 14px; justify-content: center; margin: 24px 0 6px; flex-wrap: wrap; }

/* ---------------------------------------------------------------- recommend */

.recommend { padding: 40px 0 10px; }
.recommend-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.recommend-head h2 { font-size: 22px; letter-spacing: -0.4px; }
.recommend-head .spark { font-size: 22px; }

/* ---------------------------------------------------------------- category page */

.cat-hero { padding: 36px 0 8px; max-width: 820px; }
.cat-hero .cat-hero-emoji { font-size: 44px; }
.cat-hero h1 { font-size: clamp(28px, 4.4vw, 40px); letter-spacing: -0.7px; margin: 8px 0 10px; }
.cat-hero p { color: var(--ink-soft); font-size: 16.5px; }

/* ---------------------------------------------------------------- articles */

.article { max-width: 720px; margin: 0 auto; padding: 30px 0 10px; }
.article h1 { font-size: clamp(27px, 4.2vw, 38px); line-height: 1.16; letter-spacing: -0.7px; margin-bottom: 10px; }
.article .article-date { font-size: 13.5px; color: var(--ink-soft); font-weight: 600; margin-bottom: 22px; }
.article-body p { margin-bottom: 15px; font-size: 16.5px; color: #3A3450; }
.article-body h2 { font-size: 22px; margin: 26px 0 10px; letter-spacing: -0.3px; }
.article-body ul { margin: 0 0 15px 22px; color: #3A3450; }
.article-body li { margin-bottom: 8px; }
.article-body a { color: var(--brand); font-weight: 650; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 2px; }
.article-sources { margin-top: 30px; background: var(--panel); border-radius: 16px; padding: 18px 20px; box-shadow: var(--shadow); }
.article-sources h3 { font-size: 15px; margin-bottom: 10px; }
.article-sources li { font-size: 14px; margin-bottom: 6px; }
.article-sources a { color: var(--brand); }

.post-list { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; padding-top: 6px; }
@media (max-width: 720px) { .post-list { grid-template-columns: 1fr; } }
.post-card {
  background: var(--panel); border-radius: var(--radius); padding: 22px;
  box-shadow: var(--shadow); transition: transform 0.15s ease;
}
.post-card:hover { transform: translateY(-3px); }
.post-card h3 { font-size: 18px; letter-spacing: -0.2px; margin-bottom: 8px; }
.post-card p { font-size: 14.5px; color: var(--ink-soft); }
.post-card .post-date { font-size: 12.5px; font-weight: 700; color: var(--brand); margin-bottom: 8px; }

/* ---------------------------------------------------------------- ads */

.ad-box {
  max-width: 780px; margin: 26px auto;
  display: flex; flex-direction: column; align-items: center;
  min-height: 0;
}
.ad-box .ad-tag {
  font-size: 10.5px; letter-spacing: 1.5px; text-transform: uppercase;
  color: #B9B2A6; margin-bottom: 4px;
}
.adsbygoogle { display: block; width: 100%; }
.adsbygoogle[data-ad-status="unfilled"] { display: none !important; }

/* ---------------------------------------------------------------- lp */

.lp-top { padding: 26px 0 4px; text-align: center; }
.lp-top .logo { justify-content: center; font-size: 24px; }
.lp-top p { color: var(--ink-soft); font-size: 15px; margin-top: 6px; }
.lp-grid-wrap { padding: 22px 0 40px; }

/* ---------------------------------------------------------------- footer */

.footer {
  margin-top: 56px; background: #241E38; color: #CFC9E2;
}
.footer-inner { padding: 40px 20px 30px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; max-width: 1080px; margin: 0 auto; }
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; gap: 24px; } }
.footer .logo { color: #fff; }
.footer .logo b { color: #B9A0FF; }
.footer-blurb { font-size: 14px; margin-top: 12px; max-width: 380px; line-height: 1.65; }
.footer h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 8px; }
.footer a { font-size: 14px; transition: color 0.12s; }
.footer a:hover { color: #fff; }
.footer-base {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 16px 20px; text-align: center; font-size: 12.5px; color: #9A93B5;
}

/* ---------------------------------------------------------------- misc */

.page-pad { padding-bottom: 30px; }
.center { text-align: center; }
.notfound { text-align: center; padding: 80px 20px 40px; }
.notfound .nf-emoji { font-size: 72px; }
.notfound h1 { font-size: 30px; margin: 14px 0 8px; }
.notfound p { color: var(--ink-soft); margin-bottom: 20px; }
