/*
Theme Name: StandoutHacks
Theme URI: https://standouthacks.com
Author: Sheikh Rasel
Author URI: https://standouthacks.com/about
Description: Custom theme for Standout Hacks - practical skills in plain English. Yellow highlighter + blue action design system, guides as posts, built-in schema and block patterns.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: standouthacks
*/

/* ============ DESIGN SYSTEM ============
   Base: white + off-white, near-black ink
   --blue = actions (buttons, links, focus)
   --yellow = emphasis (highlights, shadows, newsletter band)
   Ink text on both brand colors.
   ======================================= */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #101113;
  --body: #3a3b3f;
  --muted: #5d5e64;
  --paper: #ffffff;
  --cream: #faf9f4;
  --yellow: #ffbe00;
  --yellow-soft: #fff3cd;
  --blue: #00b2f8;
  --blue-soft: #e4f6fe;
  --line: #e8e7e0;
  --radius: 16px;
  --font-head: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-hand: "Caveat", cursive;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.08; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.7rem, 5.6vw, 4.25rem); font-weight: 700; }
h2 { font-size: clamp(1.95rem, 3.6vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
p  { max-width: 62ch; }
a  { color: inherit; }
img, svg { display: block; max-width: 100%; height: auto; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

::selection { background: var(--yellow); color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

/* WordPress essentials */
.screen-reader-text {
  border: 0; clip-path: inset(50%); height: 1px; width: 1px;
  margin: -1px; overflow: hidden; padding: 0; position: absolute;
}
body.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { body.admin-bar .nav { top: 46px; } }

/* Highlighter effect */
.hl {
  background: linear-gradient(to top, var(--yellow) 0 42%, transparent 42%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.section-dark .hl { background: linear-gradient(to top, rgba(255,190,0,.38) 0 42%, transparent 42%); color: #fff; }

/* Eyebrow labels */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 12px/1 var(--font-body);
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 9px; background: var(--blue); border-radius: 5px; }
.section-dark .eyebrow { color: #fff; }

/* Handwritten annotations */
.note-hand {
  font-family: var(--font-hand); font-size: 1.4rem; line-height: 1.2;
  color: var(--ink); transform: rotate(-2deg); display: inline-block;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: 600 16px/1 var(--font-body);
  padding: 16px 28px; border-radius: 999px;
  border: 2px solid var(--ink); cursor: pointer; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--yellow); }
.btn:active { transform: translate(0, 0); box-shadow: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-secondary { background: #fff; color: var(--ink); }
.btn-sm { padding: 12px 22px; font-size: 15px; }
.link-arrow { font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--blue); padding-bottom: 2px; }
.link-arrow:hover { background: var(--blue-soft); }

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
body.menu-open .nav { z-index: 60; background: #fff; }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 10px; background: var(--yellow);
  border: 2px solid var(--ink); display: grid; place-items: center;
  font: 700 20px/1 var(--font-head); color: var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
}
.logo-name { font: 700 19px/1 var(--font-head); color: var(--ink); letter-spacing: -0.01em; }
.logo-img { display: block; height: 50px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-menu a { font: 500 15px/1 var(--font-body); color: var(--body); text-decoration: none; padding: 6px 2px; }
.nav-menu a:hover { color: var(--ink); box-shadow: inset 0 -8px 0 var(--blue-soft); }
.nav-menu a.active { color: var(--ink); box-shadow: inset 0 -8px 0 var(--blue-soft); }
.burger{display:none;width:46px;height:46px;border:2px solid var(--ink);border-radius:12px;background:#fff;place-items:center;cursor:pointer;position:relative;z-index:70;transition:box-shadow .15s ease}
.burger .bars{position:relative;width:20px;height:14px}
.burger .bars span{position:absolute;left:0;width:100%;height:2.4px;background:var(--ink);border-radius:3px;transition:transform .28s ease,opacity .2s ease,top .28s ease}
.burger .bars span:nth-child(1){top:0}
.burger .bars span:nth-child(2){top:6px}
.burger .bars span:nth-child(3){top:12px}
body.menu-open .burger{background:var(--yellow)}
body.menu-open .burger .bars span:nth-child(1){top:6px;transform:rotate(45deg)}
body.menu-open .burger .bars span:nth-child(2){opacity:0}
body.menu-open .burger .bars span:nth-child(3){top:6px;transform:rotate(-45deg)}
body.locked{overflow:hidden}
.mmenu{display:none;position:fixed;inset:0;z-index:50;background:radial-gradient(circle at 88% 14%,var(--yellow-soft) 0,transparent 34%),radial-gradient(circle at 6% 92%,var(--blue-soft) 0,transparent 30%),radial-gradient(var(--line) 1px,transparent 1px),#fff;background-size:auto,auto,24px 24px,auto;padding:90px 26px 34px;flex-direction:column;opacity:0;visibility:hidden;transform:translateY(-14px);transition:opacity .3s ease,transform .3s ease,visibility .3s}
body.menu-open .mmenu{opacity:1;visibility:visible;transform:translateY(0)}
.mm-eyebrow{font:700 11px/1 var(--font-body);letter-spacing:.16em;text-transform:uppercase;color:var(--muted);display:flex;align-items:center;gap:9px;margin-bottom:6px}
.mm-eyebrow::before{content:"";width:20px;height:8px;background:var(--blue);border-radius:4px}
.mm-links{display:flex;flex-direction:column}
.mm-links a{display:flex;align-items:center;gap:14px;padding:18px 0;border-bottom:1px solid var(--line);font:700 28px/1.1 var(--font-head);color:var(--ink);letter-spacing:-.02em;text-decoration:none;opacity:0;transform:translateY(10px);transition:opacity .4s ease,transform .4s ease}
body.menu-open .mm-links a{opacity:1;transform:translateY(0)}
body.menu-open .mm-links a:nth-child(1){transition-delay:.06s}
body.menu-open .mm-links a:nth-child(2){transition-delay:.11s}
body.menu-open .mm-links a:nth-child(3){transition-delay:.16s}
body.menu-open .mm-links a:nth-child(4){transition-delay:.21s}
body.menu-open .mm-links a:nth-child(5){transition-delay:.26s}
.mm-num{font:700 13px/1 var(--font-body);color:var(--muted);width:22px;flex:none}
.mm-arrow{margin-left:auto;color:var(--blue);font-size:20px;opacity:0;transform:translateX(-6px);transition:opacity .2s ease,transform .2s ease}
.mm-links a:hover .mm-arrow{opacity:1;transform:translateX(0)}
.mm-foot{margin-top:auto;padding-top:28px}
.mm-foot .btn{width:100%;padding:17px}
.mm-second{display:block;text-align:center;margin-top:16px;font:600 15px/1 var(--font-body);color:var(--ink);text-decoration:none}
.mm-second u{text-decoration:none;box-shadow:inset 0 -8px 0 var(--yellow-soft)}
.mm-micro{text-align:center;font:500 12px/1.5 var(--font-body);color:var(--muted);margin-top:20px}
@media (max-width:680px){ .nav-menu{display:none} .nav-cta{display:none} .burger{display:grid} .mmenu{display:flex} }

/* ============ HERO (front page) ============ */
.hero {
  background:
    radial-gradient(circle at 85% 15%, var(--yellow-soft) 0, transparent 34%),
    radial-gradient(circle at 6% 88%, var(--blue-soft) 0, transparent 32%),
    radial-gradient(var(--line) 1px, transparent 1px);
  background-size: auto, auto, 26px 26px;
  border-bottom: 1px solid var(--line);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; padding-block: 92px 96px; }
.hero h1 { margin: 0 0 22px; }
.hero-sub { font-size: 1.2rem; color: var(--muted); margin-bottom: 34px; max-width: 34rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 20px; }
.hero-proof { font-size: 14.5px; color: var(--muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hero-proof .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); }

/* Hero hack-card visual */
.hero-visual { position: relative; padding: 24px 12px 12px 24px; }
.hack-card {
  background: #fff; border: 2px solid var(--ink); border-radius: 20px;
  box-shadow: 8px 8px 0 var(--yellow); padding: 26px 26px 22px; position: relative;
}
.hack-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip {
  font: 700 11px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase;
  padding: 7px 12px; border-radius: 999px; border: 1.5px solid var(--ink); color: var(--ink); background: #fff;
}
.chip-yellow { background: var(--yellow); }
.chip-ghost { border-color: var(--line); color: var(--muted); }
.hack-card h3 { font-size: 1.45rem; margin-bottom: 14px; }
.hack-steps { list-style: none; display: grid; gap: 10px; margin-bottom: 18px; }
.hack-steps li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--body); }
.step-num {
  flex: none; width: 24px; height: 24px; border-radius: 7px; background: var(--yellow);
  border: 1.5px solid var(--ink); display: grid; place-items: center;
  font: 700 12px/1 var(--font-head); color: var(--ink); margin-top: 2px;
}
.hack-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px dashed var(--line); padding-top: 14px; font-size: 13.5px; color: var(--muted); }
.float-chip {
  position: absolute; background: #fff; border: 2px solid var(--ink); border-radius: 12px;
  padding: 9px 14px; font: 600 13.5px/1.2 var(--font-body); color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink); display: flex; gap: 8px; align-items: center;
}
.float-chip.tl { top: -6px; left: -6px; transform: rotate(-3deg); }
.float-chip.br { bottom: -14px; right: 8px; transform: rotate(2deg); background: var(--yellow); }
.hero-note { position: absolute; top: -34px; right: 18px; }
.hero-note svg { margin: 2px auto 0; }

/* ============ TOPIC MARQUEE ============ */
.marquee { overflow: hidden; background: #fff; border-bottom: 1px solid var(--line); }
.marquee-track { display: flex; gap: 44px; width: max-content; padding: 15px 0; animation: scroll 36s linear infinite; }
.marquee-track span { font: 600 14px/1 var(--font-body); color: var(--muted); display: flex; align-items: center; gap: 44px; white-space: nowrap; }
.marquee-track span::after { content: "✦"; color: var(--blue); font-size: 12px; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ============ SECTIONS ============ */
.section { padding: 96px 0; }
.section-cream { background: var(--cream); border-block: 1px solid var(--line); }
.section-dark { background: var(--ink); color: #d6d7da; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin-top: 14px; }
.section-dark .section-head p { color: #a9aaaf; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 52px; }
.head-row .section-head { margin-bottom: 0; }

/* ============ TRY-A-HACK (front page) ============ */
.demo-card { max-width: 880px; margin: 0 auto; position: relative; }
.demo-card .hack-card { box-shadow: 10px 10px 0 var(--yellow); }
.demo-note { position: absolute; top: -40px; right: 24px; }
.hack-title-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0; }
.compare-col { border-radius: 14px; padding: 18px; font-size: 15px; }
.compare-col h4 { font: 700 12.5px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; color: var(--ink); }
.col-common { background: var(--cream); border: 1px solid var(--line); color: var(--muted); }
.col-standout { background: var(--yellow-soft); border: 2px solid var(--ink); color: var(--body); }
.compare-col ul { list-style: none; display: grid; gap: 8px; margin: 0; }
.compare-col li strong { color: var(--ink); }
.compare-col p { max-width: none; margin: 0; }
.mark-x, .mark-check { flex: none; width: 18px; height: 18px; border-radius: 5px; display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.mark-x { background: var(--line); color: var(--muted); }
.mark-check { background: var(--yellow); border: 1.5px solid var(--ink); color: var(--ink); }
.prompt-box { background: var(--ink); color: #f2f2ef; border-radius: 14px; padding: 18px 18px 14px; font-size: 15px; line-height: 1.6; position: relative; margin-bottom: 16px; }
.prompt-box .prompt-label { font: 700 11px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--blue); display: block; margin-bottom: 8px; }
.prompt-box .prompt-text { display: block; margin: 0; }
.prompt-box p { margin: 0; }
.prompt-box br { display: none; }
.copy-btn {
  position: absolute; top: 12px; right: 12px; font: 600 12.5px/1 var(--font-body);
  background: #fff; color: var(--ink); border: none; border-radius: 8px; padding: 8px 12px; cursor: pointer;
}
.copy-btn:hover { background: var(--yellow); }
.demo-result { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 15px; }
.demo-result strong { color: var(--ink); }

/* ============ PILLARS ============ */
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.pillar {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px 24px; display: flex; flex-direction: column; gap: 12px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.pillar:hover { transform: translateY(-4px); border-color: var(--ink); box-shadow: 6px 6px 0 var(--yellow); }
.pillar-icon {
  width: 46px; height: 46px; border-radius: 13px; background: var(--blue-soft);
  border: 1.5px solid var(--ink); display: grid; place-items: center; color: var(--ink);
}
.pillar p { font-size: 15.5px; color: var(--muted); flex: 1; }
.pillar a { font: 600 14.5px/1 var(--font-body); color: var(--ink); text-decoration: none; align-self: flex-start; }
.pillar a:hover { box-shadow: inset 0 -8px 0 var(--blue-soft); }

/* ============ GUIDE CARDS ============ */
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.guide-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; gap: 12px; text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.guide-card:hover { transform: translateY(-4px); border-color: var(--ink); box-shadow: 6px 6px 0 var(--yellow); }
.guide-meta { display: flex; gap: 8px; align-items: center; font: 700 11px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); flex-wrap: wrap; }
.guide-meta .tag { background: var(--blue-soft); border: 1px solid var(--ink); border-radius: 999px; padding: 6px 10px; color: var(--ink); }
.guide-card h3 { font-size: 1.2rem; }
.guide-card p { font-size: 15px; color: var(--muted); flex: 1; }
.guide-card .read { font: 600 14.5px/1 var(--font-body); color: var(--ink); align-self: flex-start; }
.guide-card:hover .read { box-shadow: inset 0 -8px 0 var(--blue-soft); }

/* ============ STEPS ============ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; position: relative; }
.step-big {
  font: 700 15px/1 var(--font-head); color: var(--ink);
  width: 44px; height: 44px; border-radius: 12px; background: var(--yellow);
  border: 2px solid var(--ink); display: grid; place-items: center; margin-bottom: 18px;
  box-shadow: 3px 3px 0 var(--ink);
}
.step-card h3 { margin-bottom: 10px; }
.step-card p { font-size: 15.5px; color: var(--muted); }

/* ============ COMMUNITY (dark) ============ */
.community-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.community-copy p.lede { font-size: 1.1rem; color: #a9aaaf; margin: 14px 0 26px; }
.check-list { list-style: none; display: grid; gap: 13px; margin-bottom: 30px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: #e6e7e9; }
.check-list .mark-check { margin-top: 3px; }
.community-micro { font-size: 14px; color: #a9aaaf; margin-top: 14px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.community-micro .dot { width: 4px; height: 4px; border-radius: 50%; background: #6b6c71; }
.feed { display: grid; gap: 14px; position: relative; }
.feed-chip { justify-self: start; }
.feed-card {
  background: #fff; border-radius: 14px; padding: 16px 18px;
  display: flex; gap: 14px; align-items: center; color: var(--ink);
  border: 2px solid var(--ink); box-shadow: 4px 4px 0 rgba(255,190,0,.9);
}
.feed-card:nth-child(3) { transform: translateX(22px); }
.feed-card:nth-child(4) { transform: translateX(-8px); }
.feed-icon { flex: none; width: 40px; height: 40px; border-radius: 11px; background: var(--yellow); border: 1.5px solid var(--ink); display: grid; place-items: center; }
.feed-card .kind { font: 700 11px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 4px; }
.feed-card .what { font: 600 15px/1.35 var(--font-body); }

/* ============ ABOUT / PHOTO ============ */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.photo-slot { position: relative; }
.photo-slot::after {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  background: var(--yellow); border-radius: 22px; z-index: -1; border: 2px solid var(--ink);
}
.photo-frame {
  aspect-ratio: 4 / 5; border: 2px dashed var(--ink); border-radius: 22px;
  background: var(--cream); display: grid; place-items: center; text-align: center; padding: 24px;
  overflow: hidden;
}
.photo-frame.has-photo { border-style: solid; padding: 0; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-frame .cam { width: 54px; height: 54px; border-radius: 16px; background: #fff; border: 2px solid var(--ink); display: grid; place-items: center; margin: 0 auto 14px; }
.photo-frame p { font: 600 15px/1.4 var(--font-body); color: var(--ink); }
.photo-frame small { color: var(--muted); font-size: 13px; }
.about-copy p { margin-bottom: 16px; color: var(--body); }
.about-copy p strong { color: var(--ink); }

/* ============ NEWSLETTER (yellow) ============ */
.newsletter { background: var(--yellow); border-block: 2px solid var(--ink); }
.newsletter-inner { padding-block: 88px; text-align: center; }
.newsletter .badge {
  display: inline-block; font: 700 12px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase;
  background: #fff; border: 2px solid var(--ink); border-radius: 999px; padding: 9px 16px; margin-bottom: 20px;
  box-shadow: 3px 3px 0 var(--ink);
}
.newsletter h1, .newsletter h2 { font-size: clamp(2.3rem, 4.4vw, 3.4rem); margin-bottom: 14px; }
.newsletter .lede { color: var(--ink); font-size: 1.15rem; max-width: 40rem; margin: 0 auto 32px; }
.nl-form { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.nl-form input {
  font: 500 16px/1 var(--font-body); padding: 16px 22px; border-radius: 999px;
  border: 2px solid var(--ink); min-width: 320px; background: #fff; color: var(--ink);
}
.nl-form input::placeholder { color: var(--muted); }
.newsletter .btn:hover { box-shadow: 4px 4px 0 var(--ink); }
.nl-fine { font-size: 14px; color: var(--ink); opacity: .85; max-width: 46rem; margin: 0 auto; }

/* ============ FINAL CTA ============ */
.final { text-align: center; padding: 110px 0; }
.final h2 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 16px; }
.final p { color: var(--muted); font-size: 1.15rem; margin: 0 auto 34px; }
.final .after { margin-top: 20px; font-size: 15px; }

/* ============ INNER PAGE HERO ============ */
.page-hero {
  background:
    radial-gradient(circle at 85% 10%, var(--yellow-soft) 0, transparent 32%),
    radial-gradient(circle at 8% 90%, var(--blue-soft) 0, transparent 30%);
  border-bottom: 1px solid var(--line); padding: 72px 0 64px;
}
.page-hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.4rem); margin-bottom: 16px; }
.page-hero .lede { font-size: 1.15rem; color: var(--muted); max-width: 42rem; }
.page-hero .hero-ctas { margin-top: 28px; margin-bottom: 14px; }

/* ============ START HERE PATH ============ */
.path { display: grid; gap: 44px; max-width: 880px; }
.path-step { display: grid; grid-template-columns: 60px 1fr; gap: 22px; align-items: start; }
.path-step h3 { font-size: 1.35rem; margin-bottom: 8px; }
.path-step > div > p { color: var(--muted); margin-bottom: 18px; }

/* ============ FILTER PILLS ============ */
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.pill-btn { font: 600 14px/1 var(--font-body); padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--muted); cursor: pointer; text-decoration: none; display: inline-block; }
.pill-btn:hover { border-color: var(--ink); color: var(--ink); }
.pill-btn.active { background: var(--blue); border-color: var(--ink); color: var(--ink); }

/* ============ ARTICLE ============ */
.article { max-width: 720px; margin: 0 auto; }
.article-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.article-meta .updated { font-size: 13.5px; color: var(--muted); }
.article h1 { font-size: clamp(2.1rem, 4.2vw, 3rem); margin-bottom: 18px; }
.article .intro { font-size: 1.15rem; color: var(--muted); margin-bottom: 8px; }
.article h2 { font-size: 1.55rem; margin: 44px 0 14px; }
.article h3 { margin: 30px 0 10px; }
.article p { margin-bottom: 16px; max-width: none; }
.article ul, .article ol { margin: 0 0 18px 22px; }
.article li { margin-bottom: 10px; }
.article img { border-radius: 14px; border: 1px solid var(--line); }
.article figure { margin: 0 0 18px; }
.article figcaption { font-size: 13.5px; color: var(--muted); margin-top: 8px; }
.article blockquote { border-left: 4px solid var(--yellow); padding: 4px 0 4px 18px; margin: 0 0 18px; color: var(--muted); }
.back-link { display: inline-block; font: 600 14px/1 var(--font-body); color: var(--muted); text-decoration: none; margin-bottom: 24px; }
.back-link:hover { color: var(--ink); }

/* ============ CALLOUT / TAKEAWAY ============ */
.callout { background: var(--yellow-soft); border: 2px solid var(--ink); border-radius: var(--radius); padding: 24px 26px; margin: 30px 0; }
.callout h3 { margin: 0 0 12px; }
.callout ol, .callout ul { margin: 0 0 0 20px; }
.callout li { margin-bottom: 8px; }
.callout p { margin: 0; }

/* ============ INLINE NEWSLETTER ============ */
.inline-nl { background: var(--yellow); border: 2px solid var(--ink); border-radius: var(--radius); padding: 26px; margin: 36px 0; box-shadow: 6px 6px 0 var(--ink); }
.inline-nl h3 { margin: 0 0 6px; }
.inline-nl p { color: var(--ink); font-size: 15px; margin-bottom: 16px; }
.inline-nl form { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-nl input { flex: 1; min-width: 200px; font: 500 15px/1 var(--font-body); padding: 13px 18px; border-radius: 999px; border: 2px solid var(--ink); }

/* ============ FAQ ============ */
.faq { display: grid; gap: 12px; max-width: 780px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.faq details[open] { border-color: var(--ink); }
.faq summary { cursor: pointer; font: 600 16.5px/1.4 var(--font-body); color: var(--ink); padding: 18px 20px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 700 20px/1 var(--font-head); color: var(--blue); flex: none; }
.faq details[open] summary::after { content: "x"; font-size: 15px; }
.faq .faq-a { padding: 0 20px 18px; color: var(--muted); font-size: 15.5px; max-width: none; }

/* ============ AUTHOR BOX ============ */
.author-box { display: flex; gap: 18px; align-items: center; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; margin: 36px 0; }
.author-avatar { flex: none; width: 60px; height: 60px; border-radius: 16px; background: var(--yellow); border: 2px solid var(--ink); display: grid; place-items: center; font: 700 24px/1 var(--font-head); color: var(--ink); }
.author-box p { font-size: 14.5px; color: var(--muted); margin: 0; max-width: none; }
.author-box strong { color: var(--ink); }

/* ============ GO-DEEPER BLOCK ============ */
.deeper { background: var(--ink); border-radius: var(--radius); padding: 28px; margin: 36px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.deeper h3 { color: #fff; margin: 0 0 6px; }
.deeper p { font-size: 15px; color: #a9aaaf; margin: 0; max-width: none; }

/* ============ TOOL CARDS ============ */
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tool-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.tool-card:hover { border-color: var(--ink); box-shadow: 6px 6px 0 var(--yellow); transform: translateY(-4px); }
.tool-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.free-chip { font: 700 10.5px/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; border: 1.5px solid var(--ink); white-space: nowrap; }
.free-yes { background: var(--yellow); }
.free-ok { background: var(--blue-soft); }
.free-paid { background: #fff; color: var(--muted); border-color: var(--line); }
.tool-card p { font-size: 15px; color: var(--muted); flex: 1; max-width: none; }
.tool-card a { font: 600 14.5px/1 var(--font-body); color: var(--ink); text-decoration: none; align-self: flex-start; }
.tool-card a:hover { box-shadow: inset 0 -8px 0 var(--blue-soft); }

/* ============ FIT GRID ============ */
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fit-col { border-radius: var(--radius); padding: 26px; }
.fit-col h3 { margin-bottom: 16px; }
.fit-col ul { list-style: none; display: grid; gap: 12px; margin: 0; }
.fit-col li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.fit-col .mark-check, .fit-col .mark-x { margin-top: 3px; }
.fit-yes { background: var(--yellow-soft); border: 2px solid var(--ink); }
.fit-no { background: var(--cream); border: 1px solid var(--line); color: var(--muted); }

/* ============ SCREENSHOT SLOT ============ */
.shot-frame { aspect-ratio: 16 / 9; border: 2px dashed var(--ink); border-radius: 20px; background: var(--cream); display: grid; place-items: center; text-align: center; padding: 24px; max-width: 880px; margin: 0 auto; }
.shot-frame p { font: 600 15px/1.4 var(--font-body); color: var(--ink); max-width: none; }
.shot-frame small { color: var(--muted); font-size: 13px; }
.shot-slider { position: relative; max-width: 880px; margin: 0 auto; aspect-ratio: 16 / 9; border: 2px solid var(--ink); border-radius: 20px; overflow: hidden; background: var(--cream); box-shadow: 6px 6px 0 var(--ink); }
.shot-track { display: flex; height: 100%; transition: transform .6s cubic-bezier(.6,.02,.1,1); }
.shot-slide { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; display: block; }
.shot-dots { position: absolute; left: 50%; transform: translateX(-50%); bottom: 14px; display: flex; gap: 8px; padding: 8px 11px; border-radius: 999px; background: rgba(16,17,19,.4); }
.shot-dots button { width: 8px; height: 8px; padding: 0; border: none; border-radius: 50%; background: rgba(255,255,255,.5); cursor: pointer; transition: background .2s ease, transform .2s ease; }
.shot-dots button.active { background: #fff; transform: scale(1.3); }

/* ============ EMAIL SAMPLE ============ */
.email-card { max-width: 640px; margin: 0 auto; background: #fff; border: 2px solid var(--ink); border-radius: 18px; box-shadow: 8px 8px 0 var(--yellow); overflow: hidden; }
.email-head { border-bottom: 1px solid var(--line); padding: 18px 22px; background: var(--cream); }
.email-head .from { font: 600 13.5px/1.4 var(--font-body); color: var(--muted); }
.email-head .subj { font: 700 17px/1.4 var(--font-head); color: var(--ink); margin-top: 4px; }
.email-body { padding: 24px 22px; font-size: 15px; color: var(--body); }
.email-body p { margin-bottom: 12px; max-width: none; }
.email-body ul { margin: 0 0 12px 20px; }
.email-body li { margin-bottom: 6px; }

/* ============ CONTACT ============ */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }
.contact-grid .wpcf7 input:not([type="submit"]), .contact-grid .wpcf7 textarea,
.contact-grid .wpforms-container input:not([type="submit"]), .contact-grid .wpforms-container textarea {
  font: 500 15px/1.5 var(--font-body); padding: 14px 18px; border-radius: 14px;
  border: 1.5px solid var(--line); background: #fff; width: 100%;
}
.contact-grid .wpcf7 label { font-weight: 700; color: var(--ink); }
.contact-grid .wpcf7 label br { display: none; }
.contact-grid .wpcf7-form-control-wrap { display: block; margin-top: 6px; }
.contact-grid .wpcf7 p { margin: 0 0 18px; }
.info-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.info-card h3 { margin-bottom: 10px; }
.info-card p { font-size: 15px; color: var(--muted); margin-bottom: 16px; }
.info-card hr { border: none; border-top: 1px dashed var(--line); margin: 20px 0; }

/* ============ PAGINATION ============ */
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { font: 600 14px/1 var(--font-body); padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); color: var(--muted); text-decoration: none; background: #fff; }
.pagination .page-numbers.current { background: var(--blue); border-color: var(--ink); color: var(--ink); }
.pagination a.page-numbers:hover { border-color: var(--ink); color: var(--ink); }

/* ============ FORM SUCCESS ============ */
.form-success { display: inline-block; font: 600 16px/1.5 var(--font-body); color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 14px; padding: 14px 20px; box-shadow: 4px 4px 0 var(--yellow); }
.form-error { display: block; margin-top: 10px; font: 500 14px/1.5 var(--font-body); color: var(--ink); }

/* ============ FOOTER ============ */
.footer { background: var(--ink); color: #a9aaaf; padding: 72px 0 0; }
.footer a { text-decoration: none; color: #a9aaaf; }
.footer a:hover { color: var(--blue); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 48px; }
.footer .logo-name { color: #fff; }
.footer .logo-img { height: 40px; }
.footer-blurb { font-size: 15px; margin: 16px 0 20px; max-width: 30ch; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.socials a { font: 600 13px/1 var(--font-body); border: 1.5px solid #3a3b40; border-radius: 999px; padding: 8px 14px; }
.socials a:hover { border-color: var(--blue); }
.footer h4 { font: 700 12.5px/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer ul { list-style: none; display: grid; gap: 11px; font-size: 15px; }
.footer-nl p { font-size: 15px; margin-bottom: 14px; }
.footer-nl form { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-nl input {
  font: 500 14.5px/1 var(--font-body); padding: 12px 16px; border-radius: 999px;
  border: 1.5px solid #3a3b40; background: #1a1b1e; color: #fff; flex: 1; min-width: 170px;
}

/* Ask AI row */
.footer-ai {
  border-top: 1px solid #26272b; padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
}
.ai-left { display: flex; gap: 14px; align-items: center; }
.ai-mark {
  flex: none; width: 38px; height: 38px; border-radius: 11px; background: var(--yellow);
  border: 2px solid var(--ink); box-shadow: 2px 2px 0 #000;
  display: grid; place-items: center; color: var(--ink);
}
.ai-title { font: 700 16px/1.3 var(--font-head); color: #fff; white-space: nowrap; }
.ai-pills { display: flex; flex-wrap: nowrap; gap: 7px; }
.ai-pills a {
  display: inline-flex; align-items: center; gap: 6px;
  font: 600 12.5px/1 var(--font-body); color: #e6e7e9; text-decoration: none;
  border: 1.5px solid #3a3b40; border-radius: 999px; padding: 9px 13px;
  white-space: nowrap;
  transition: border-color .15s ease, color .15s ease, transform .15s ease;
}
.ai-pills a::before { content: "✦"; color: var(--yellow); font-size: 10px; }
.ai-pills a:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.ai-pills a:hover::before { color: var(--blue); }
.copy-toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(10px);
  background: var(--yellow); color: var(--ink); font: 600 14px/1 var(--font-body);
  padding: 12px 18px; border-radius: 999px; border: 2px solid var(--ink);
  opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; z-index: 100;
}
.copy-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.footer-bottom { border-top: 1px solid #26272b; padding: 22px 0 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }
.footer-bottom nav { display: flex; gap: 20px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; gap: 64px; padding-block: 64px 72px; }
  .hero-visual { max-width: 560px; }
  .community-grid, .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-grid .photo-slot { max-width: 420px; }
  .pillar-grid, .guide-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .tool-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-ai { flex-direction: column; align-items: flex-start; }
  .ai-pills { flex-wrap: wrap; }
}
@media (max-width: 680px) {
  .section { padding: 72px 0; }
  .pillar-grid, .pillar-grid.cols-2, .guide-grid, .steps { grid-template-columns: 1fr; }
  .tool-grid, .fit-grid { grid-template-columns: 1fr; }
  .path-step { grid-template-columns: 1fr; gap: 12px; }
  .compare { grid-template-columns: 1fr; }
  .nl-form input { min-width: 0; width: 100%; }
  .nl-form { flex-direction: column; }
  .nl-form .btn { width: 100%; }
  .head-row { flex-direction: column; align-items: flex-start; }
  .hero-note { display: none; }
  .demo-note { top: -44px; right: 8px; }
  .feed-card:nth-child(3), .feed-card:nth-child(4) { transform: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .ai-title { white-space: normal; }
  /* Mobile footer: center every section */
  .footer { text-align: center; }
  .footer .logo { justify-content: center; }
  .footer-blurb { margin-left: auto; margin-right: auto; }
  .socials { justify-content: center; }
  .footer-nl form { justify-content: center; }
  .footer-ai { align-items: center; text-align: center; }
  .ai-left { justify-content: center; }
  .ai-pills { justify-content: center; }
  .footer-bottom { flex-direction: column; align-items: center; }
  .footer-bottom nav { justify-content: center; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
  .btn, .pillar, .guide-card, .tool-card { transition: none; }
}
