/* ============================================================
   THE EXECUTIVE AI PLAYBOOK · TAY DESIGN CO
   Self-hosted fonts: Ivy Presto Display Thin + TT Norms Pro
   ============================================================ */

/* ===== SELF-HOSTED FONTS ===== */
@font-face {
  font-family: 'Ivy Presto';
  src: url('/fonts/IvyprestoDisplay-Thin.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Ivy Presto';
  src: url('/fonts/IvyprestoDisplay-ThinItalic.otf') format('opentype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'TT Norms';
  src: url('/fonts/TT_Norms_Pro_Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* Use synthesized bold for emphasis since only Regular weight is available.
   To upgrade: upload TT_Norms_Pro_Medium.otf and TT_Norms_Pro_Bold.otf,
   then add additional @font-face rules with the appropriate font-weight. */

/* ===== ROOT VARIABLES ===== */
:root {
  --black: #0D0D0D;
  --white: #FFFFFF;
  --steel: #A6B4C1;
  --steel-light: #C8D1DA;
  --steel-deep: #7A8A99;
  --line-light: #E8E8E8;
  --line-mid: #2A2A2A;
  --ink-soft: #4A4A4A;
  --tier-1: #7A8A99;
  --tier-2: #5C7891;
  --tier-3: #2C4A66;

  /* Ivy Presto reserved for the ONE biggest statement only — H1 / hero / large display */
  --font-display: 'Ivy Presto', Georgia, serif;
  /* TT Norms is the workhorse — body, headers, UI, everything else */
  --font-body: 'TT Norms', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html, body {
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

/* ===== HERO ===== */
.hero {
  background: var(--black);
  color: var(--white);
  padding: 80px 48px 96px;
  padding-top: max(80px, calc(80px + env(safe-area-inset-top)));
  position: relative;
  overflow: hidden;
}
.hero-inner { max-width: 1240px; margin: 0 auto; }
.brand-mark {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.25em;
  color: var(--steel);
  text-transform: uppercase;
  margin-bottom: 80px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand-mark::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--steel);
  max-width: 200px;
}
.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--steel);
  text-transform: uppercase;
  margin-bottom: 32px;
  font-weight: 700;
}
/* H1 — Ivy Presto for the biggest statement */
h1 {
  font-family: var(--font-display);
  font-size: clamp(56px, 9vw, 124px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  font-weight: 300;
  margin-bottom: 32px;
  max-width: 1000px;
}
h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--steel);
}
.hero-sub {
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.55;
  max-width: 680px;
  color: var(--steel-light);
  font-weight: 400;
}
.hero-meta {
  display: flex;
  gap: 48px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--steel-deep);
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 700;
  flex-wrap: wrap;
}
/* Numbers in the meta row use Ivy Presto for that editorial feel */
.hero-meta span strong {
  color: var(--white);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 24px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 300;
  margin-right: 8px;
}

/* ===== EMAIL CAPTURE ===== */
.email-capture {
  background: var(--steel);
  color: var(--black);
  padding: 32px 48px;
}
.email-capture-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.email-capture-text { max-width: 560px; }
.email-capture-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
}
/* Email capture title uses Ivy Presto italic — it's a statement */
.email-capture-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 300;
  letter-spacing: -0.01em;
}
.email-capture-form {
  display: flex;
  gap: 0;
  min-width: 420px;
}
.email-capture-form input {
  flex: 1;
  background: var(--white);
  border: 2px solid var(--black);
  color: var(--black);
  padding: 16px 20px;
  font-size: 15px;
  font-family: var(--font-body);
  outline: none;
  border-right: none;
}
.email-capture-form input::placeholder {
  color: var(--steel-deep);
  font-style: italic;
  font-family: var(--font-display);
  font-weight: 300;
}
.email-capture-form button {
  background: var(--black);
  color: var(--white);
  border: 2px solid var(--black);
  padding: 16px 28px;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.email-capture-form button:hover { background: var(--ink-soft); }
.email-capture-form button:disabled { opacity: 0.6; cursor: wait; }
.email-capture-message {
  font-family: var(--font-body);
  font-size: 12px;
  margin-top: 8px;
  font-weight: 700;
  min-height: 18px;
}
.email-capture-message.success { color: var(--black); }
.email-capture-message.error { color: #8a2c2c; }

/* ===== START HERE ===== */
.start-here {
  background: var(--black);
  color: var(--white);
  padding: 28px 48px;
  border-top: 1px solid var(--steel-deep);
}
.start-here-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
/* Start here line uses Ivy Presto italic — small statement */
.start-here-left {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 24px;
  font-weight: 300;
  color: var(--white);
}
.start-here-left::before {
  content: '→ ';
  font-style: normal;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--steel);
}
.start-here-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.start-here-btn {
  background: var(--steel);
  color: var(--black);
  padding: 14px 24px;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.start-here-btn:hover { background: var(--white); }
.start-here-btn.secondary {
  background: transparent;
  color: var(--steel);
  border: 1px solid var(--steel);
}
.start-here-btn.secondary:hover {
  background: var(--steel);
  color: var(--black);
}

/* ===== TIER LEGEND ===== */
.tier-legend {
  background: var(--white);
  padding: 56px 48px 0;
  border-bottom: 1px solid var(--line-light);
}
.tier-legend-inner { max-width: 1240px; margin: 0 auto; }
.tier-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 32px 0 0;
  border: 1px solid var(--black);
}
.tier-card {
  padding: 28px 28px 32px;
  border-right: 1px solid var(--black);
  background: var(--white);
}
.tier-card:last-child { border-right: none; }
/* Tier numbers use Ivy Presto italic — large numerals are display */
.tier-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 64px;
  line-height: 1;
  color: var(--steel-deep);
  font-weight: 300;
  margin-bottom: 8px;
}
.tier-name {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 12px;
}
.tier-name.lvl-1 { color: var(--tier-1); }
.tier-name.lvl-2 { color: var(--tier-2); }
.tier-name.lvl-3 { color: var(--tier-3); }
/* Tier card titles: TT Norms — supporting hierarchy */
.tier-title {
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.tier-desc {
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  font-weight: 400;
}

/* ===== TOOLBAR ===== */
.toolbar-section {
  background: var(--white);
  padding: 64px 48px 32px;
  border-bottom: 1px solid var(--line-light);
}
.toolbar-inner { max-width: 1240px; margin: 0 auto; }
.section-label {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--steel-deep);
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--steel);
}
/* Section titles — major page headers — Ivy Presto */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 300;
  margin-bottom: 40px;
  max-width: 800px;
}
.section-title em {
  font-style: italic;
  color: var(--steel-deep);
}

.search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 24px;
}
.search-wrap { position: relative; }
.search-wrap::before {
  content: '→';
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--steel-deep);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 18px;
}
input[type="text"] {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--black);
  color: var(--black);
  padding: 22px 24px 22px 60px;
  font-size: 17px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s;
  font-weight: 400;
}
input[type="text"]:focus { border-color: var(--steel-deep); }
input[type="text"]::placeholder {
  color: var(--steel-deep);
  font-style: italic;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 300;
}
.count-badge {
  display: flex;
  align-items: center;
  padding: 0 28px;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  white-space: nowrap;
}
/* Count number is Ivy Presto for elegance */
.count-badge strong {
  color: var(--steel);
  margin-right: 8px;
  font-size: 22px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--line-light);
  margin-top: 32px;
  padding-top: 24px;
}
.filter-section {
  margin-right: 32px;
  margin-bottom: 16px;
}
.filter-section-label {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--steel-deep);
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
}
.filter-group { display: flex; flex-wrap: wrap; }

/* Filter scroll container — used on mobile */
.filter-scroll-wrap {
  position: relative;
}
.filter-scroll-wrap::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 40px;
  background: linear-gradient(to right, transparent, var(--white));
  pointer-events: none;
}
.chip {
  background: transparent;
  border: 1px solid var(--line-light);
  color: var(--ink-soft);
  padding: 10px 16px;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 700;
  margin-right: -1px;
  margin-bottom: -1px;
}
.chip:hover {
  border-color: var(--black);
  color: var(--black);
  z-index: 1;
  position: relative;
}
.chip.active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
  z-index: 2;
  position: relative;
}

/* ===== GRID ===== */
.grid-section {
  padding: 48px 48px 96px;
  background: var(--white);
}
.grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 0;
  border-top: 1px solid var(--black);
  border-left: 1px solid var(--black);
}
.card {
  background: var(--white);
  border-right: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
  padding: 32px 28px 28px;
  cursor: pointer;
  transition: background 0.2s;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 300px;
}
.card:hover { background: var(--black); color: var(--white); }
.card:hover .card-cat,
.card:hover .card-time { color: var(--steel); }
.card:hover .tool-tag { background: var(--steel); color: var(--black); }
.card:hover .tier-pill { color: var(--white); }
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  transition: color 0.2s;
}
.card-cat { color: var(--steel-deep); }
.card-time { color: var(--steel-deep); }
.tier-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--black);
  transition: color 0.2s;
}
.tier-pill::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.tier-pill.tier-1::before { background: var(--tier-1); }
.tier-pill.tier-2::before { background: var(--tier-2); }
.tier-pill.tier-3::before { background: var(--tier-3); }
/* Card titles use TT Norms regular — they're not the H1 of the page */
.card-title {
  font-family: var(--font-body);
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 4px 0;
}
.card-desc {
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.6;
  font-weight: 400;
  flex: 1;
}
.card-tools {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 16px;
}
.tool-tag {
  font-family: var(--font-body);
  font-size: 10px;
  color: var(--white);
  background: var(--black);
  padding: 5px 11px;
  letter-spacing: 0.1em;
  font-weight: 700;
  transition: all 0.2s;
}
.card-arrow {
  position: absolute;
  bottom: 28px;
  right: 28px;
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
}
.card:hover .card-arrow {
  opacity: 1;
  transform: translateX(6px);
}

/* Empty state uses Ivy Presto italic — it's a statement */
.empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 96px 24px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 32px;
  font-weight: 300;
  color: var(--steel-deep);
  border-right: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
}

/* ===== MODAL ===== */
.modal-bg {
  position: fixed;
  inset: 0;
  background: rgba(13, 13, 13, 0.85);
  z-index: 100;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
}
.modal-bg.show { display: flex; }
.modal {
  background: var(--white);
  max-width: 820px;
  width: 100%;
  margin-top: 40px;
  position: relative;
  border: 1px solid var(--black);
}
.modal-header {
  background: var(--black);
  color: var(--white);
  padding: 48px 56px 40px;
  position: relative;
}
.close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: transparent;
  border: 1px solid var(--steel);
  color: var(--white);
  width: 44px;
  height: 44px;
  cursor: pointer;
  font-size: 22px;
  transition: all 0.2s;
  font-family: var(--font-body);
  font-weight: 400;
}
.close:hover { background: var(--steel); color: var(--black); }
.modal-tier-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.modal-tier-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--steel);
  color: var(--black);
  padding: 6px 12px;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
}
.modal-cat {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--steel);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 700;
}
/* Modal H2 — Ivy Presto. This is THE statement of the modal */
.modal h2 {
  font-family: var(--font-display);
  font-size: 46px;
  line-height: 1.05;
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  max-width: 90%;
}
.modal h2 em { font-style: italic; color: var(--steel); }
.modal-desc {
  font-family: var(--font-body);
  color: var(--steel-light);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  max-width: 92%;
}
.modal-body { padding: 48px 56px 56px; }

.modal-section-label {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}
.modal-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line-light);
}

.requires-banner {
  background: var(--black);
  color: var(--white);
  padding: 20px 24px;
  margin-bottom: 36px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
/* The exclamation point in the banner — Ivy Presto for character */
.requires-banner-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 36px;
  line-height: 1;
  color: var(--steel);
  font-weight: 300;
  flex-shrink: 0;
}
.requires-banner-content { flex: 1; }
.requires-banner-label {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 700;
  margin-bottom: 6px;
}
.requires-banner-text {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  color: var(--white);
  font-weight: 400;
}
.requires-banner-text strong { color: var(--steel); font-weight: 700; }

.tool-rec {
  background: var(--white);
  border: 1px solid var(--black);
  padding: 24px 28px;
  margin-bottom: 36px;
  position: relative;
}
.tool-rec::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--steel);
}
.tool-rec strong {
  font-family: var(--font-body);
  color: var(--black);
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
}
.tool-rec span {
  font-family: var(--font-body);
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}

.how-to-use {
  background: var(--steel);
  color: var(--black);
  padding: 24px 28px;
  margin-bottom: 36px;
}
.how-to-use h4 {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 12px;
}
.how-to-use ol { list-style: none; counter-reset: step; }
.how-to-use ol li {
  counter-increment: step;
  padding-left: 36px;
  position: relative;
  margin-bottom: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
}
/* Step numbers — Ivy Presto italic for that editorial drop-cap feel */
.how-to-use ol li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 24px;
  color: var(--black);
  line-height: 1;
}

.prompt-box {
  background: var(--black);
  color: var(--white);
  padding: 32px 32px 28px;
  margin-bottom: 36px;
  position: relative;
  font-family: 'SF Mono', Monaco, 'Courier New', monospace;
  font-size: 13.5px;
  line-height: 1.75;
  white-space: pre-wrap;
  word-wrap: break-word;
}
.copy-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--steel);
  color: var(--black);
  border: none;
  padding: 10px 18px;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  font-weight: 700;
  transition: background 0.2s;
}
.copy-btn:hover { background: var(--white); }
.copy-btn.copied { background: #4a7c4a; color: var(--white); }

.why-works {
  font-family: var(--font-body);
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 36px;
}
.pro-tip {
  background: var(--white);
  border: 1px solid var(--black);
  padding: 24px 28px;
  font-family: var(--font-body);
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
  position: relative;
}
.pro-tip::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--black);
}
.pro-tip strong {
  font-family: var(--font-body);
  color: var(--black);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 11px;
  display: block;
  margin-bottom: 8px;
}

/* ===== ONBOARDING SECTIONS ===== */
.onboard-section { margin-bottom: 36px; }
/* Onboarding subheaders — Ivy Presto. They're meaningful section titles */
.onboard-section h3 {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.1;
  font-weight: 300;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.onboard-section h3 em { font-style: italic; color: var(--steel-deep); }
.onboard-section p {
  font-family: var(--font-body);
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.65;
  margin-bottom: 16px;
}
.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 16px 0 8px;
}
.tool-link {
  display: block;
  border: 1px solid var(--black);
  padding: 18px 20px;
  text-decoration: none;
  color: var(--black);
  transition: background 0.2s, color 0.2s;
}
.tool-link:hover { background: var(--black); color: var(--white); }
.tool-link:hover .tool-link-arrow { color: var(--steel); }
.tool-link.featured { background: var(--black); color: var(--white); }
.tool-link.featured .tool-link-arrow { color: var(--steel); }
.tool-link.featured .tool-link-desc { color: var(--steel-light); }
.tool-link-name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.tool-link-arrow {
  font-family: var(--font-body);
  color: var(--steel-deep);
  transition: color 0.2s;
}
.tool-link-desc {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.4;
}
.tool-link:hover .tool-link-desc { color: var(--steel-light); }

.check-list { list-style: none; margin: 16px 0; }
.check-list li {
  padding: 12px 0 12px 32px;
  position: relative;
  border-bottom: 1px solid var(--line-light);
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: '→';
  position: absolute;
  left: 0; top: 12px;
  color: var(--steel-deep);
  font-family: var(--font-body);
  font-weight: 700;
}
.check-list li strong { color: var(--black); font-weight: 700; }

.safety-callout {
  background: var(--white);
  border: 2px solid var(--black);
  padding: 24px 28px;
  margin: 24px 0;
}
.safety-callout h4 {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--black);
}
.safety-callout p {
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 0;
}

/* ===== FOOTER ===== */
footer {
  background: var(--black);
  color: var(--white);
  padding: 80px 48px 56px;
  text-align: center;
}
.footer-inner { max-width: 800px; margin: 0 auto; }
/* Footer quote — Ivy Presto italic. Big closing statement */
.footer-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.2;
  color: var(--steel-light);
  margin-bottom: 32px;
  font-weight: 300;
}
.footer-quote strong {
  color: var(--steel);
  font-style: italic;
  font-weight: 300;
}
.footer-tagline {
  font-family: var(--font-body);
  color: var(--steel-light);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
}
.footer-line {
  width: 80px;
  height: 1px;
  background: var(--steel);
  margin: 32px auto;
}
.footer-mark {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 700;
}
/* Tay Design Co name in footer — Ivy Presto italic */
.footer-mark strong {
  color: var(--white);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0;
  text-transform: none;
  font-size: 18px;
  margin: 0 4px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero {
    padding: 56px 24px 64px;
    padding-top: max(56px, calc(56px + env(safe-area-inset-top)));
  }
  .email-capture { padding: 24px; }
  .email-capture-inner { grid-template-columns: 1fr; gap: 16px; }
  .email-capture-form { min-width: auto; }
  .start-here { padding: 24px; }
  .start-here-inner { flex-direction: column; align-items: flex-start; }
  .tier-legend { padding: 40px 24px 0; }
  .tier-row { grid-template-columns: 1fr; }
  .tier-card { border-right: none; border-bottom: 1px solid var(--black); }
  .tier-card:last-child { border-bottom: none; }
  .toolbar-section { padding: 48px 24px 24px; }
  .grid-section { padding: 24px 24px 64px; }
  .search-row { grid-template-columns: 1fr; }
  .count-badge { padding: 16px; justify-content: center; }
  .grid { grid-template-columns: 1fr; }
  .modal-header { padding: 32px 28px; }
  .modal-body { padding: 32px 28px; }
  .modal h2 { font-size: 32px; }
  footer { padding: 56px 24px; }

  /* Filter section label — slightly smaller on mobile */
  .filter-section-label { font-size: 9px; }

  /* Filter chips — horizontal scroll, no wrap */
  .filter-scroll-wrap {
    overflow: hidden;
  }
  .filter-group {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .filter-group::-webkit-scrollbar { display: none; }

  /* Tighter chip padding on mobile */
  .chip { padding: 10px 12px; }
}
