/* ==========================================================
   expertmarketingtips.com — main stylesheet
   Neo-brutalist, loud, friendly. No build step needed.
   ========================================================== */

:root {
  --ink: #111014;
  --paper: #fff4e2;
  --paper-2: #ffffff;
  --pink: #ff3d81;
  --yellow: #a9d8ff;
  --blue: var(--ink);
  --orange: var(--pink);
  --mint: var(--yellow);
  --purple: var(--ink);
  --white: #ffffff;

  --border: 3px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --shadow-lg: 10px 10px 0 var(--ink);
  --radius: 18px;
  --radius-sm: 10px;

  --font-display: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-hand: "Poppins", system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  background-image: radial-gradient(rgba(17,16,20,.09) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--yellow); color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 .5em;
  font-weight: 800;
}
h1 { font-size: clamp(2.6rem, 7vw, 5.6rem); }
h2 { font-size: clamp(2rem, 5vw, 3.6rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 10vw, 120px) 0; position: relative; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 999;
  background: var(--yellow); border: var(--border); padding: 10px 16px; font-weight: 700;
  border-radius: var(--radius-sm); transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Highlights & scribbles ---------- */
.hl { position: relative; white-space: nowrap; z-index: 0; }
.hl::after {
  content: ""; position: absolute; left: -4px; right: -4px; bottom: .06em; height: .42em;
  background: var(--yellow); z-index: -1; transform: rotate(-1.5deg); border-radius: 4px;
}
.hl-pink::after { background: var(--pink); }
.hl-mint::after { background: var(--yellow); }
.scribble { font-family: var(--font-hand); font-weight: 700; font-style: italic; color: var(--pink); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 800; font-size: .85rem;
  text-transform: uppercase; letter-spacing: .12em;
  background: var(--white); border: var(--border); border-radius: 999px;
  padding: 6px 14px; box-shadow: 3px 3px 0 var(--ink); margin-bottom: 22px;
}
.eyebrow .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--pink); border: 2px solid var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--yellow);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem;
  text-decoration: none; color: var(--ink);
  background: var(--bg); border: var(--border); border-radius: 999px;
  padding: 14px 26px; box-shadow: var(--shadow); cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.btn:active { transform: translate(4px, 4px); box-shadow: 2px 2px 0 var(--ink); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px dashed var(--pink); outline-offset: 4px;
}
.btn-pink { --bg: var(--pink); color: var(--white); }
.btn-white { --bg: var(--white); }
.btn-ink { --bg: var(--ink); color: var(--yellow); }
.btn-sm { padding: 9px 18px; font-size: .95rem; box-shadow: 4px 4px 0 var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 244, 226, .92);
  backdrop-filter: blur(8px);
  border-bottom: var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-mark {
  width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0;
  background: var(--pink); border: var(--border); box-shadow: 3px 3px 0 var(--ink);
  display: grid; place-items: center; transform: rotate(-6deg);
  font-family: var(--font-display); font-weight: 800; color: var(--white); font-size: 1.15rem;
  transition: transform .25s;
}
.logo:hover .logo-mark { transform: rotate(6deg) scale(1.05); }
.logo-text { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; line-height: 1; }
.logo-text small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .72rem; letter-spacing: .04em; opacity: .7; margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  text-decoration: none; font-weight: 700; padding: 8px 14px; border-radius: 999px;
  border: 3px solid transparent; transition: background .15s, border-color .15s;
}
.nav-links a:hover { background: var(--white); border-color: var(--ink); }
.nav-links a[aria-current="page"] { background: var(--yellow); border-color: var(--ink); }

.nav-toggle {
  display: none; width: 48px; height: 48px; border: var(--border); border-radius: 12px;
  background: var(--yellow); box-shadow: 3px 3px 0 var(--ink); cursor: pointer; padding: 0;
}
.nav-toggle span { display: block; width: 22px; height: 3px; background: var(--ink); margin: 4px auto; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed; inset: 79px 0 auto 0; background: var(--paper); border-bottom: var(--border);
    padding: 20px var(--gutter) 28px; transform: translateY(-120%); transition: transform .3s ease;
    z-index: -1;
  }
  .nav-open .nav-menu { transform: translateY(0); }
  .nav-links { flex-direction: column; align-items: stretch; gap: 8px; }
  .nav-links a { display: block; font-size: 1.2rem; border-color: var(--ink); background: var(--white); }
  .nav-menu .btn { width: 100%; margin-top: 12px; }
}
@media (min-width: 901px) {
  .nav-menu { display: flex; align-items: center; gap: 18px; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 8vw, 100px) 0 clamp(70px, 9vw, 120px); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.hero h1 .line { display: block; }
.hero-lede { font-size: clamp(1.1rem, 1.8vw, 1.3rem); max-width: 34ch; margin: 24px 0 34px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-note { margin-top: 26px; font-size: .95rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hero-note .pill { background: var(--mint); border: 2px solid var(--ink); border-radius: 999px; padding: 2px 10px; font-weight: 700; font-size: .85rem; }

.hero-art { position: relative; min-height: 460px; }
.float-card {
  position: absolute; background: var(--white); border: var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px 20px; width: 230px;
  animation: bob 6s ease-in-out infinite;
}
.float-card .tag {
  display: inline-block; font-family: var(--font-display); font-weight: 800; font-size: .75rem;
  text-transform: uppercase; letter-spacing: .08em; padding: 3px 10px; border: 2px solid var(--ink);
  border-radius: 999px; margin-bottom: 10px;
}
.float-card p { margin: 0; font-weight: 700; line-height: 1.3; font-size: 1rem; }
.float-card .meter { height: 12px; border: 2px solid var(--ink); border-radius: 999px; margin-top: 12px; overflow: hidden; background: var(--paper); }
.float-card .meter i { display: block; height: 100%; background: var(--pink); width: 0; animation: fill 2.4s 0.6s ease forwards; }
.fc-1 { top: 0; left: 4%; transform: rotate(-5deg); background: var(--yellow); }
.fc-2 { top: 34%; right: 0; transform: rotate(4deg); animation-delay: -2s; }
.fc-3 { bottom: 0; left: 12%; transform: rotate(-2deg); background: var(--blue); color: var(--white); animation-delay: -4s; }
.fc-3 .tag { background: var(--white); color: var(--ink); }
.fc-1 .tag { background: var(--white); }
.fc-2 .tag { background: var(--mint); }

.sticker {
  position: absolute; z-index: 2; display: grid; place-items: center; text-align: center;
  width: 120px; height: 120px; border-radius: 50%; border: var(--border);
  background: var(--pink); color: var(--white); box-shadow: 4px 4px 0 var(--ink);
  font-family: var(--font-display); font-weight: 800; font-size: .95rem; line-height: 1.05;
  animation: spin 18s linear infinite;
}
.sticker-hero { bottom: 4%; right: 2%; }
.star-burst {
  position: absolute; width: 90px; height: 90px; background: var(--yellow); border: var(--border);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

@keyframes bob { 0%,100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fill { to { width: var(--w, 80%); } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { min-height: 420px; max-width: 460px; margin: 0 auto; width: 100%; }
}
@media (max-width: 480px) {
  .float-card { width: 200px; padding: 14px 16px; }
  .sticker { width: 96px; height: 96px; font-size: .8rem; }
  .hero-art { min-height: 400px; }
}

/* ---------- Marquee ---------- */
.marquee {
  background: var(--ink); color: var(--yellow); border-block: var(--border);
  overflow: hidden; transform: rotate(-1.5deg); margin: 0 -20px; position: relative; z-index: 3;
}
.marquee-track {
  display: flex; width: max-content; animation: marquee 32s linear infinite;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1.4rem, 3vw, 2.2rem);
  text-transform: uppercase; padding: 14px 0; letter-spacing: .02em;
}
.marquee-track span { padding: 0 22px; display: inline-flex; align-items: center; gap: 44px; white-space: nowrap; }
.marquee-track span::after { content: "✦"; color: var(--pink); }
.marquee-alt { background: var(--pink); color: var(--ink); transform: rotate(1.2deg); }
.marquee-alt .marquee-track { animation-direction: reverse; }
.marquee-alt .marquee-track span::after { color: var(--white); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Section heads ---------- */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: 48px; }
.section-head p { max-width: 46ch; margin: 0; font-size: 1.1rem; }
.section-head h2 { margin: 0; max-width: 16ch; }

/* ---------- Topic grid ---------- */
.topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .topics { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .topics { grid-template-columns: 1fr; } }
.topic {
  --c: var(--yellow);
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 30px;
  min-height: 240px; padding: 24px; text-decoration: none;
  background: var(--c); border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.topic:hover { transform: translate(-3px, -3px) rotate(-1deg); box-shadow: var(--shadow-lg); }
.topic .icon {
  width: 58px; height: 58px; border-radius: 16px; background: var(--white); border: var(--border);
  display: grid; place-items: center; font-size: 1.7rem; box-shadow: 3px 3px 0 var(--ink);
}
.topic h3 { margin: 0 0 6px; }
.topic p { margin: 0; font-size: .98rem; line-height: 1.45; }
.topic .arrow {
  position: absolute; top: 22px; right: 22px; width: 40px; height: 40px; border-radius: 50%;
  border: var(--border); background: var(--white); display: grid; place-items: center; font-weight: 800;
  transition: transform .2s;
}
.topic:hover .arrow { transform: rotate(-45deg); }
.t-copy, .t-social, .t-cro { --c: var(--yellow); }
.t-content, .t-youtube { --c: var(--white); }
.t-email, .t-tiktok { --c: var(--pink); color: var(--white); }
.t-sales, .t-seo { --c: var(--ink); color: var(--white); }
.t-email .arrow, .t-email .icon, .t-tiktok .arrow, .t-tiktok .icon,
.t-sales .arrow, .t-sales .icon, .t-seo .arrow, .t-seo .icon { color: var(--ink); }

/* ---------- Tip machine ---------- */
.machine {
  background: var(--pink); color: var(--white); border: var(--border); border-radius: 28px;
  box-shadow: var(--shadow-lg); padding: clamp(28px, 5vw, 60px);
  display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 4vw, 56px); align-items: center;
  position: relative; overflow: hidden;
}
.machine h2 { color: var(--white); }
.machine .star-burst { top: -24px; right: -24px; width: 120px; height: 120px; background: var(--yellow); }
.tip-screen {
  background: var(--white); color: var(--ink); border: var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 28px; min-height: 250px; position: relative;
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
}
.tip-screen .tip-cat {
  align-self: flex-start; font-family: var(--font-display); font-weight: 800; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .1em; background: var(--yellow); border: 2px solid var(--ink);
  border-radius: 999px; padding: 4px 12px;
}
.tip-screen .tip-text { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.25rem, 2.4vw, 1.65rem); line-height: 1.25; margin: 0; }
.tip-screen .tip-count { font-size: .85rem; opacity: .6; font-weight: 700; }
.tip-screen.flip { animation: flip .45s ease; }
@keyframes flip { 0% { transform: rotateX(0); } 50% { transform: rotateX(90deg); } 100% { transform: rotateX(0); } }
.machine-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

@media (max-width: 860px) { .machine { grid-template-columns: 1fr; } }

/* ---------- Article cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }
.card {
  background: var(--white); border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; display: flex; flex-direction: column; text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-lg); }
.card-art {
  aspect-ratio: 16 / 9; border-bottom: var(--border); position: relative; overflow: hidden;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 3.4rem); letter-spacing: -.03em; text-align: center; line-height: .95; padding: 20px;
}
.card-art.a1 { background: var(--yellow); }
.card-art.a2 { background: var(--pink); color: var(--white); }
.card-art.a3 { background: var(--ink); color: var(--yellow); }
.card-art.a1::before, .card-art.a2::before, .card-art.a3::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(17,16,20,.08) 0 2px, transparent 2px 14px);
}
.card-art span { position: relative; }
.card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-meta { display: flex; gap: 10px; font-size: .85rem; font-weight: 700; flex-wrap: wrap; }
.chip {
  display: inline-block; font-family: var(--font-display); font-weight: 800; font-size: .75rem;
  text-transform: uppercase; letter-spacing: .08em; padding: 3px 10px; border: 2px solid var(--ink);
  border-radius: 999px; background: var(--paper);
}
.card h3 { margin: 4px 0 0; }
.card p { margin: 0; font-size: 1rem; }
.card .more { margin-top: auto; padding-top: 10px; font-weight: 800; font-family: var(--font-display); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.step {
  background: var(--white); border: var(--border); border-radius: var(--radius); padding: 30px 26px;
  box-shadow: var(--shadow); position: relative;
}
.step:nth-child(2) { transform: rotate(1.2deg); }
.step:nth-child(3) { transform: rotate(-1deg); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-display); font-weight: 800; font-size: 3.8rem; line-height: 1;
  display: block; margin-bottom: 14px; color: var(--pink);
  -webkit-text-stroke: 2px var(--ink);
}
.step p { margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } .step { transform: none !important; } }

/* ---------- Promise / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li {
  display: flex; gap: 14px; align-items: flex-start; background: var(--white); border: var(--border);
  border-radius: var(--radius-sm); padding: 14px 18px; box-shadow: 4px 4px 0 var(--ink); font-weight: 600;
}
.checklist li::before {
  content: "✓"; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--mint); border: 2px solid var(--ink); font-weight: 900;
}
.checklist.nope li::before { content: "✕"; background: var(--pink); color: var(--white); }

.big-quote {
  background: var(--yellow); border: var(--border); border-radius: 28px; box-shadow: var(--shadow-lg);
  padding: clamp(28px, 5vw, 54px); position: relative;
}
.big-quote p { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1.1; margin: 0; letter-spacing: -.02em; }
.big-quote .scribble { display: block; margin-top: 18px; font-size: 1.3rem; color: var(--ink); }

/* ---------- Newsletter ---------- */
.newsletter {
  background: var(--ink); color: var(--paper); border-radius: 32px; border: var(--border);
  padding: clamp(36px, 6vw, 80px); position: relative; overflow: hidden; text-align: center;
}
.newsletter h2 { color: var(--white); max-width: 18ch; margin: 0 auto 16px; }
.newsletter p { max-width: 48ch; margin: 0 auto 30px; opacity: .85; }
.newsletter .star-burst { width: 140px; height: 140px; top: -30px; left: -30px; background: var(--pink); border-color: var(--paper); }
.newsletter .star-burst.b2 { top: auto; left: auto; right: -40px; bottom: -40px; background: var(--yellow); width: 170px; height: 170px; }
.signup { display: flex; gap: 12px; max-width: 560px; margin: 0 auto; flex-wrap: wrap; justify-content: center; position: relative; z-index: 2; }
.signup input {
  flex: 1 1 260px; min-width: 0; font: inherit; font-weight: 600; padding: 14px 22px;
  border: 3px solid var(--paper); border-radius: 999px; background: var(--white); color: var(--ink);
}
.signup .btn { border-color: var(--paper); box-shadow: 5px 5px 0 var(--pink); }
.form-msg { margin-top: 18px; font-weight: 700; min-height: 1.6em; position: relative; z-index: 2; }
.form-msg.ok { color: var(--mint); }
.form-msg.err { color: var(--pink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--yellow); border-top: var(--border); padding: 64px 0 30px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; }
.footer-grid h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; font-weight: 600; }
.footer-grid a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 3px; }
.footer-blurb { max-width: 34ch; margin-top: 16px; }
.footer-big {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 9.5vw, 8.5rem);
  line-height: .9; letter-spacing: -.04em; margin: 50px 0 24px; word-break: break-word;
}
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: var(--border); padding-top: 22px; font-size: .9rem; font-weight: 600; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 42px; height: 42px; border: var(--border); border-radius: 12px; display: grid; place-items: center;
  background: var(--white); box-shadow: 3px 3px 0 var(--ink); text-decoration: none; font-weight: 800; font-size: .8rem;
  transition: transform .15s;
}
.socials a:hover { transform: translate(-2px,-2px) rotate(-6deg); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(50px, 8vw, 100px) 0 clamp(40px, 6vw, 70px); position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); max-width: 14ch; }
.page-hero p.lede { font-size: clamp(1.1rem, 1.8vw, 1.3rem); max-width: 52ch; }
.page-hero .star-burst { right: 6%; top: 30%; width: 130px; height: 130px; animation: spin 20s linear infinite; }
@media (max-width: 700px) { .page-hero .star-burst { width: 80px; height: 80px; top: 12%; right: 4%; } }

/* ---------- Filters & tip library ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.filter {
  font: inherit; font-family: var(--font-display); font-weight: 800; font-size: .95rem;
  padding: 9px 18px; border: var(--border); border-radius: 999px; background: var(--white);
  cursor: pointer; box-shadow: 3px 3px 0 var(--ink); transition: transform .15s, background .15s;
}
.filter:hover { transform: translate(-2px, -2px); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--yellow); }
.search-row { display: flex; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.search-row input {
  flex: 1 1 280px; font: inherit; font-weight: 600; padding: 14px 22px; border: var(--border);
  border-radius: 999px; background: var(--white); box-shadow: 4px 4px 0 var(--ink);
}
.result-count { font-weight: 700; margin-bottom: 22px; }

.tips { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; align-items: start; }
.tip {
  background: var(--white); border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; transition: transform .2s;
}
.tip[hidden] { display: none; }
.tip summary {
  list-style: none; cursor: pointer; padding: 22px 24px; display: grid; gap: 10px; position: relative;
}
.tip summary::-webkit-details-marker { display: none; }
.tip summary::after {
  content: "+"; position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; border-radius: 50%;
  border: var(--border); display: grid; place-items: center; font-weight: 800; font-size: 1.3rem;
  background: var(--yellow); transition: transform .2s;
}
.tip[open] summary::after { transform: rotate(45deg); background: var(--pink); color: var(--white); }
.tip summary h3 { margin: 0; padding-right: 44px; font-size: 1.3rem; }
.tip summary p { margin: 0; font-size: .98rem; }
.tip .tip-body { padding: 0 24px 24px; border-top: 3px dashed var(--ink); margin-top: 4px; padding-top: 18px; font-size: 1rem; }
.tip .tip-body ol, .tip .tip-body ul { padding-left: 20px; margin: 0 0 12px; }
.tip .tip-body li { margin-bottom: 6px; }
.tip .try { background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius-sm); padding: 12px 14px; font-weight: 600; margin: 0; }
.tip .try strong { font-family: var(--font-display); }
.empty { display: none; text-align: center; padding: 50px 20px; border: 3px dashed var(--ink); border-radius: var(--radius); background: var(--white); font-weight: 700; }
.empty.show { display: block; }

[data-cat="copy"] .chip, [data-cat="social"] .chip, [data-cat="cro"] .chip { background: var(--yellow); }
[data-cat="content"] .chip, [data-cat="youtube"] .chip { background: var(--white); }
[data-cat="email"] .chip, [data-cat="tiktok"] .chip { background: var(--pink); color: var(--white); }
[data-cat="sales"] .chip, [data-cat="seo"] .chip { background: var(--ink); color: var(--white); }

/* ---------- Article ---------- */
.article-hero { padding: clamp(46px, 7vw, 90px) 0 30px; }
.article-hero h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); max-width: 18ch; }
.article-meta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; font-weight: 700; margin-top: 10px; }
.article-cover {
  border: var(--border); border-radius: 28px; box-shadow: var(--shadow-lg); background: var(--paper-2);
  aspect-ratio: 21 / 8; display: grid; place-items: center; position: relative; overflow: hidden; margin-bottom: 60px;
}
.article-cover .env {
  width: min(60%, 360px); aspect-ratio: 3 / 2; background: var(--white); border: var(--border); border-radius: 14px;
  position: relative; box-shadow: var(--shadow); transform: rotate(-4deg);
}
.article-cover .env::before {
  content: ""; position: absolute; inset: 0; border-radius: 11px;
  background: linear-gradient(to bottom right, transparent 49%, var(--ink) 49.5%, var(--ink) 50.5%, transparent 51%),
              linear-gradient(to bottom left, transparent 49%, var(--ink) 49.5%, var(--ink) 50.5%, transparent 51%);
  background-size: 100% 60%; background-repeat: no-repeat;
}
.article-cover .badge4 {
  position: absolute; top: -26px; right: -26px; width: 80px; height: 80px; border-radius: 50%;
  background: var(--pink); border: var(--border); color: var(--white); display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; transform: rotate(10deg);
}
.article-cover .star-burst { left: 8%; bottom: 12%; background: var(--yellow); }
.article-cover .star-burst.s2 { left: auto; right: 9%; top: 14%; bottom: auto; background: var(--pink); width: 64px; height: 64px; }

.article-layout { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: 60px; justify-content: center; }
.toc { position: sticky; top: 110px; align-self: start; background: var(--white); border: var(--border); border-radius: var(--radius); padding: 20px; box-shadow: 4px 4px 0 var(--ink); }
.toc h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; }
.toc ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-weight: 600; font-size: .95rem; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
@media (max-width: 960px) { .article-layout { grid-template-columns: 1fr; } .toc { position: static; } }

.prose { font-size: 1.12rem; }
.prose h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-top: 1.6em; scroll-margin-top: 100px; }
.prose h3 { margin-top: 1.4em; }
.prose a { text-decoration-thickness: 3px; text-underline-offset: 3px; text-decoration-color: var(--pink); font-weight: 700; }
.prose ul, .prose ol { padding-left: 24px; }
.prose li { margin-bottom: 8px; }
.prose blockquote {
  margin: 1.6em 0; padding: 22px 26px; background: var(--yellow); border: var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow); font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; line-height: 1.3;
}
.prose blockquote p { margin: 0; }
.email-sample {
  background: var(--white); border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
  margin: 1.6em 0; overflow: hidden; font-size: 1.05rem;
}
.email-sample .bar { background: var(--ink); color: var(--paper); padding: 10px 18px; font-size: .85rem; font-weight: 700; display: flex; gap: 8px; align-items: center; }
.email-sample .bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--pink); display: inline-block; }
.email-sample .bar i:nth-child(2) { background: var(--yellow); }
.email-sample .bar i:nth-child(3) { background: var(--mint); margin-right: 8px; }
.email-sample .fields { padding: 14px 20px; border-bottom: 2px dashed var(--ink); font-size: .95rem; }
.email-sample .content { padding: 20px; }
.email-sample .content p { margin: 0 0 .8em; }
.email-sample .line-tag {
  display: inline-block; background: var(--pink); color: var(--white); font-family: var(--font-display);
  font-size: .7rem; font-weight: 800; padding: 1px 8px; border-radius: 999px; margin-right: 6px; vertical-align: 2px; border: 2px solid var(--ink);
}
.callout {
  display: flex; gap: 16px; background: var(--white); border: var(--border); border-radius: var(--radius);
  padding: 20px 22px; margin: 1.6em 0; box-shadow: 4px 4px 0 var(--ink);
}
.callout .ico { font-size: 1.8rem; line-height: 1; }
.callout p { margin: 0; }
.share { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 40px; padding-top: 24px; border-top: var(--border); font-weight: 700; }

/* ---------- About ---------- */
.values { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.value { border: var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); background: var(--white); }
.value:nth-child(1) { background: var(--yellow); }
.value:nth-child(2) { background: var(--white); }
.value:nth-child(3) { background: var(--pink); color: var(--white); }
.value:nth-child(4) { background: var(--ink); color: var(--white); }
.value .big { font-family: var(--font-display); font-weight: 800; font-size: 2.8rem; line-height: 1; margin-bottom: 12px; display: block; }
.value p { margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card { background: var(--white); border: var(--border); border-radius: 28px; padding: clamp(24px, 4vw, 42px); box-shadow: var(--shadow-lg); }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-family: var(--font-display); font-weight: 800; }
.field input, .field textarea, .field select {
  font: inherit; padding: 13px 16px; border: var(--border); border-radius: var(--radius-sm); background: var(--paper); width: 100%;
}
.field textarea { min-height: 150px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.contact-form .form-msg.ok { color: #0b7a4b; }
.contact-form .form-msg.err { color: #c4004a; }

.faq details { background: var(--white); border: var(--border); border-radius: var(--radius-sm); margin-bottom: 12px; box-shadow: 4px 4px 0 var(--ink); }
.faq summary { cursor: pointer; padding: 16px 18px; font-family: var(--font-display); font-weight: 800; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "↓"; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details p { padding: 0 18px 16px; margin: 0; }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px 0; }
.notfound .huge { font-family: var(--font-display); font-weight: 800; font-size: clamp(7rem, 26vw, 18rem); line-height: .85; letter-spacing: -.06em; -webkit-text-stroke: 4px var(--ink); color: var(--pink); text-shadow: 10px 10px 0 var(--ink); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 52px; height: 52px; border-radius: 50%;
  border: var(--border); background: var(--pink); color: var(--white); font-weight: 900; font-size: 1.3rem;
  box-shadow: 4px 4px 0 var(--ink); cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translate(-2px,-2px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .float-card .meter i { width: var(--w, 80%); }
}
.tip summary .chip { justify-self: start; }


/* Info Library button: match the other nav links (added Nov 2026) */
.site-header .nav-links .mega-btn{font:700 17px Poppins,system-ui,sans-serif;line-height:inherit;color:var(--ink);background:none;padding:8px 14px;border:3px solid transparent;border-radius:999px;transition:background .15s,border-color .15s}
.site-header .nav-links .mega-btn .caret{font-size:14px}
.site-header .nav-links .mega-btn:hover,.site-header .nav-links .has-mega.open .mega-btn{background:var(--white);border-color:var(--ink)}
.site-header .nav-links .mega-btn.is-current{background:var(--yellow);border-color:var(--ink)}
@media (max-width:1060px) and (min-width:761px){.site-header .nav-links .mega-btn{font-size:14px}}
@media (max-width:900px){.site-header .nav-links .mega-btn{width:100%;justify-content:space-between;font-size:1.2rem;border-color:var(--ink);background:var(--white)}}
@media (max-width:900px) and (min-width:761px){.site-header .nav-links .mega-btn{font-size:14px}}

/* Nav: keep labels on one line on narrower laptops (added Nov 2026) */
.site-header .nav-links a,.site-header .nav-links .mega-btn,.site-header .nav-menu>.btn{white-space:nowrap}
@media (max-width:1100px) and (min-width:761px){.site-header .nav-links a,.site-header .nav-links .mega-btn{padding-left:10px;padding-right:10px}.site-header .nav-links{gap:2px}}

/* Nav fit with App Pages (Nov 2026) */
@media (max-width:1180px) and (min-width:901px){.site-header .logo-text small{display:none}.site-header .nav-links a,.site-header .nav-links .mega-btn{font-size:14px;padding-left:8px;padding-right:8px}.site-header .nav-links{gap:0}.site-header .nav-menu{gap:12px}.site-header .nav-menu>.btn{padding:10px 14px;font-size:13px}}
@media (max-width:980px) and (min-width:901px){.site-header .nav-links a,.site-header .nav-links .mega-btn{font-size:13px;padding-left:6px;padding-right:6px}.site-header .nav-menu{gap:8px}.site-header .nav-menu>.btn{padding:9px 11px}}
/* Nav fit on wide screens with App Pages (Nov 2026) */
@media (min-width:1181px){.site-header .logo{flex:none}.site-header .nav-links a,.site-header .nav-links .mega-btn{font-size:15.5px;padding-left:10px;padding-right:10px}.site-header .nav-links{gap:2px}}
/* emt-graph */
:root{--paper:#fff}body{background-color:#fff!important;background-image:linear-gradient(rgba(20,20,20,.075) 1px,transparent 1px),linear-gradient(90deg,rgba(20,20,20,.075) 1px,transparent 1px),linear-gradient(rgba(20,20,20,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(20,20,20,.035) 1px,transparent 1px)!important;background-size:100px 100px,100px 100px,20px 20px,20px 20px!important;background-position:-1px -1px!important}@media print{body{background-image:none!important}}.site-header{background:rgba(255,255,255,.94)!important}
