/* =====================================================
   Copy and Paste Fonts — Stylesheet v3
   Theme: "Playful Editorial Peach" — light, warm, inviting
   Palette: cream base + coral accent + plum text + mint pop
   ===================================================== */

:root{
  color-scheme: light only;   /* prevent browser auto dark-mode on mobile */
  /* surfaces */
  --bg:        #fef7ef;        /* warm cream */
  --bg-soft:   #fdeedf;        /* peach tint */
  --surface:   #ffffff;        /* card white */
  --surface-2: #fff7ee;        /* card warm */

  /* text */
  --ink:       #2d1b3d;        /* deep plum, replaces black */
  --ink-2:     #5b4a6e;        /* muted plum */
  --ink-3:     #8e7e9e;        /* light plum */

  /* accents */
  --coral:     #ff6f51;        /* primary action */
  --coral-2:   #ff8a6e;        /* hover */
  --coral-3:   #ffe8e0;        /* tint */
  --plum:      #6b3fa0;        /* secondary */
  --mint:      #4cb89a;        /* tertiary */
  --mint-tint: #d9f0e8;
  --honey:     #ffc94a;        /* highlight yellow */
  --honey-tint:#fff1c9;
  --rose:      #ff8fb4;        /* extra pink */

  /* lines & shadows */
  --line:      rgba(45,27,61,.08);
  --line-2:    rgba(45,27,61,.14);
  --shadow-sm: 0 2px 0 rgba(45,27,61,.06), 0 4px 14px -6px rgba(255,111,81,.18);
  --shadow-md: 0 4px 0 rgba(45,27,61,.06), 0 18px 40px -16px rgba(255,111,81,.22);
  --shadow-lg: 0 10px 60px -20px rgba(107,63,160,.25), 0 6px 0 rgba(45,27,61,.05);

  /* radii */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 36px;
}


/* CRITICAL: Force everything to viewport width - prevent any horizontal scroll */
html, body { max-width: 100vw; overflow-x: hidden; }
* { max-width: 100%; box-sizing: border-box; }

/* ── FORCE LINK APPEARANCE – Chrome Force Dark rewrites <a> colors to blue ── */


*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%;overflow-x:hidden}

body{
  margin:0;
  font-family:'Plus Jakarta Sans','Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  background:#fef7ef;
  color:#2d1b3d;
  line-height:1.6;
  font-size:16px;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

body > *{position:relative}

.wrap{max-width:1180px;margin:0 auto;padding:0 20px;box-sizing:border-box}
.wrap.narrow{max-width:780px}

.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.skip-link{
  position:absolute;left:-9999px;top:0;background:#ff6f51;color:#fff;
  padding:10px 16px;font-weight:700;z-index:9999;border-radius:0 0 12px 0;
}
.skip-link:focus{left:0}

::selection{background:#ffc94a;color:#2d1b3d}

/* ============ HEADER ============ */
.site-header{
  position:sticky;top:0;z-index:60;
  backdrop-filter:saturate(150%) blur(14px);
  -webkit-backdrop-filter:saturate(150%) blur(14px);
  background:rgba(254,247,239,.85);
  border-bottom:1px solid rgba(45,27,61,.08);
}
.header-wrap{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;gap:12px;max-width:100vw;flex-wrap:nowrap;overflow:hidden}
.logo{display:flex;align-items:center;gap:12px;color:inherit;text-decoration:none;font-weight:700}
.logo-mark{
  font-family:'Fraunces',serif;font-size:34px;line-height:1;
  color:#ff6f51;
  display:inline-block;transform:translateY(-2px) rotate(-6deg);
  font-style:italic; font-weight:900;
  transition:transform .3s cubic-bezier(.34,1.56,.64,1);
}
.logo:hover .logo-mark{transform:translateY(-2px) rotate(6deg) scale(1.1)}
.logo-text{
  font-family:'Fraunces',serif;font-size:20px;letter-spacing:-.01em;
  color:#2d1b3d;font-weight:700;
}
.logo-text em{font-style:italic;color:#ff6f51;font-weight:500}

.site-nav{display:flex;gap:6px;align-items:center;flex-shrink:1;overflow:hidden}
.site-nav a{
  color:#5b4a6e;text-decoration:none;font-size:14px;font-weight:600;
  padding:8px 14px;border-radius:999px;
  transition:background .2s, color .2s;
}
.site-nav a:hover{color:#2d1b3d;background:#ffe8e0}

/* ============ HERO (home) ============ */
.hero{padding:80px 20px 50px;text-align:center;position:relative}

.eyebrow{
  display:inline-flex;align-items:center;gap:10px;
  font-size:13px;font-weight:600;color:#5b4a6e;
  background:#ffffff;border:1px solid rgba(45,27,61,.14);
  padding:8px 18px;border-radius:999px;
  margin:0 0 22px;
  box-shadow:0 2px 0 rgba(45,27,61,.06),0 4px 14px -6px rgba(255,111,81,.18);
}
.eyebrow-dot{
  width:8px;height:8px;border-radius:50%;
  background:#4cb89a;
  box-shadow:0 0 0 4px #d9f0e8;
  animation:pulse 2.4s ease-in-out infinite;
}
@keyframes pulse{
  0%,100%{box-shadow:0 0 0 4px #d9f0e8}
  50%{box-shadow:0 0 0 8px rgba(76,184,154,.15)}
}

.hero h1{
  font-family:'Fraunces',serif;
  font-size:clamp(32px,9vw,96px);
  font-weight:900;line-height:.95;
  margin:0 0 22px;
  letter-spacing:-.03em;
  color:#2d1b3d;
}
.h1-accent{
  font-style:italic;font-weight:400;
  background:linear-gradient(120deg, #ff6f51 0%, #6b3fa0 60%, #4cb89a 100%);
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;
  position:relative;
  display:inline-block;
}
/* Hand-drawn wavy underline under accent word */
.h1-accent::after{
  content:"";
  position:absolute;left:0;right:0;bottom:-4px;height:14px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M2 8 Q 25 -2, 50 6 T 100 6 T 150 6 T 198 6' stroke='%23ff6f51' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat;
  opacity:.85;
}

.lede{
  max-width:660px;margin:0 auto 32px;
  font-size:18px;color:#5b4a6e;line-height:1.65;
}
.lede strong{color:#2d1b3d;font-weight:700}

.hero-samples{
  display:flex;flex-wrap:wrap;justify-content:center;
  gap:10px 12px;margin-top:8px;
  font-size:20px;color:#2d1b3d;
}
.hero-samples span{
  background:#ffffff;
  border:1.5px solid rgba(45,27,61,.14);
  padding:8px 18px;border-radius:999px;
  box-shadow:0 2px 0 rgba(45,27,61,.06),0 4px 14px -6px rgba(255,111,81,.18);
  transition:transform .25s cubic-bezier(.34,1.56,.64,1);
}
.hero-samples span:hover{transform:translateY(-3px) rotate(-2deg)}
.hs-1{background:#ffe8e0 !important;border-color:rgba(255,111,81,.3) !important}
.hs-2{background:#fff1c9 !important;border-color:rgba(255,201,74,.35) !important;transform:rotate(2deg)}
.hs-3{background:#d9f0e8 !important;border-color:rgba(76,184,154,.3) !important}
.hs-4{background:#ffffff !important;transform:rotate(-2deg)}
.hs-5{background:#f0e7ff !important;border-color:rgba(107,63,160,.25) !important}
.hs-6{background:#ffe3ee !important;border-color:rgba(255,143,180,.4) !important;transform:rotate(1.5deg)}
.hs-7{background:#ffe8e0 !important;border-color:rgba(255,111,81,.3) !important;transform:rotate(-1.5deg)}

/* ============ GENERATOR ============ */
.generator{padding:30px 0 90px}

.input-sticky{
  position:sticky;top:74px;z-index:40;
  padding:14px 0;
  background:#fef7ef;
  background-image:linear-gradient(180deg, #fef7ef 0%, #fef7ef 80%, rgba(254,247,239,.4) 100%);
}
.input-card{
  background:#ffffff;
  border:1.5px solid rgba(45,27,61,.14);
  border-radius:18px;
  padding:20px 22px 16px;
  box-shadow:0 4px 0 rgba(45,27,61,.06),0 18px 40px -16px rgba(255,111,81,.22);
  transition:border-color .2s, box-shadow .2s;
}
.input-card:focus-within{
  border-color:#ff6f51;
  box-shadow:0 4px 0 rgba(45,27,61,.06), 0 18px 40px -14px rgba(255,111,81,.35);
}
.input-label{
  display:block;font-size:12.5px;font-weight:700;color:#5b4a6e;
  text-transform:uppercase;letter-spacing:.1em;margin:0 0 10px;
}
#userInput{
  width:100%;border:0;outline:0;background:transparent;
  color:#2d1b3d;
  font-family:'Fraunces',serif;font-size:clamp(22px,4vw,32px);
  font-weight:500;line-height:1.3;
  resize:none;padding:0;
}
#userInput::placeholder{color:#8e7e9e;font-style:italic}

.input-actions{
  display:flex;justify-content:space-between;align-items:center;
  padding-top:14px;margin-top:12px;
  border-top:1px dashed rgba(45,27,61,.14);
}
.btn{
  border:0;cursor:pointer;font-family:inherit;font-weight:600;
  border-radius:999px;transition:all .18s;
}
.btn-ghost{
  background:transparent;color:#5b4a6e;
  font-size:13px;padding:7px 14px;
  border:1.5px solid rgba(45,27,61,.14);
}
.btn-ghost:hover{background:#ffe8e0;color:#ff6f51;border-color:#ff6f51}
.char-count{font-size:12.5px;color:#8e7e9e;font-weight:500}

/* Filter chips */
.filter-bar{
  display:flex;flex-wrap:wrap;gap:8px;
  padding:24px 0 4px;
}
.chip{
  display:inline-flex;align-items:center;gap:7px;
  background:#ffffff;
  border:1.5px solid rgba(45,27,61,.14);
  color:#5b4a6e;
  padding:9px 16px;border-radius:999px;
  font-size:13.5px;font-weight:600;font-family:inherit;
  cursor:pointer;
  transition:all .18s;
}
.chip:hover{border-color:#ff6f51;color:#2d1b3d;transform:translateY(-1px)}
.chip-emoji{font-size:15px;line-height:1}
.chip.is-active{
  background:#2d1b3d;
  color:#fef7ef;
  border-color:#2d1b3d;
  box-shadow:0 4px 0 rgba(45,27,61,.1);
}
.chip.is-active:hover{transform:translateY(-2px)}

/* Empty state */
.empty-msg{
  padding:50px 30px;text-align:center;
  color:#5b4a6e;font-size:16px;
  background:#ffffff;border:1.5px dashed rgba(45,27,61,.14);
  border-radius:18px;margin:24px 0 0;
}

/* Font list */
.font-list{
  list-style:none;margin:28px 0 0;padding:0;
  display:grid;grid-template-columns:repeat(auto-fill,minmax(min(320px,100%),1fr));
  gap:14px;
}
.font-item{
  background:#ffffff;
  border:1.5px solid rgba(45,27,61,.08);
  border-radius:18px;
  padding:16px 18px 14px;
  transition:border-color .18s, transform .18s, box-shadow .18s;
  position:relative;
}
.font-item:hover{
  border-color:#ff6f51;
  transform:translateY(-2px);
  box-shadow:0 4px 0 rgba(45,27,61,.06),0 18px 40px -16px rgba(255,111,81,.22);
}
.font-item-head{
  display:flex;justify-content:space-between;align-items:center;
  margin-bottom:10px;gap:10px;
}
.font-name{
  font-size:12px;font-weight:700;
  color:#8e7e9e;
  text-transform:uppercase;letter-spacing:.1em;
}
.font-actions{display:flex;gap:6px;align-items:center}
.fav-btn{
  width:32px;height:32px;border:1.5px solid rgba(45,27,61,.14);
  background:#ffffff;color:#8e7e9e;
  border-radius:50%;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;
  transition:all .18s;
}
.fav-btn:hover{border-color:#ffc94a;color:#ffc94a;background:#fff1c9}
.fav-btn.is-fav{background:#ffc94a;border-color:#ffc94a;color:#2d1b3d}
.fav-btn.is-fav svg{fill:#2d1b3d}
.copy-btn{
  background:#2d1b3d;color:#fef7ef;
  font-size:13px;font-weight:600;
  padding:7px 16px;border-radius:999px;border:0;
  cursor:pointer;font-family:inherit;
  transition:all .18s;
}
.copy-btn:hover{background:#ff6f51;transform:translateY(-1px)}
.copy-btn.is-copied{background:#4cb89a;color:#fff}

.font-output{
  font-size:20px;
  color:#2d1b3d;
  word-break:break-word;
  line-height:1.4;
  padding:6px 0;
}

/* ============ PAGE INTRO (subpage banner) ============ */
.page-intro{padding:70px 0 40px;text-align:center;position:relative}
.page-intro .crumb{
  display:inline-flex;align-items:center;gap:8px;
  font-size:13px;color:#8e7e9e;margin-bottom:18px;
  background:#ffffff;border:1px solid rgba(45,27,61,.08);
  padding:6px 14px;border-radius:999px;
}
.page-intro .crumb a{color:#5b4a6e;text-decoration:none;font-weight:600}
.page-intro .crumb a:hover{color:#ff6f51}
.page-intro h1{
  font-family:'Fraunces',serif;
  font-size:clamp(40px,7vw,76px);
  font-weight:900;line-height:1.02;
  margin:0 0 18px;letter-spacing:-.025em;
  color:#2d1b3d;
}
.page-intro h1 em{
  font-style:italic;font-weight:400;
  background:linear-gradient(120deg,#ff6f51,#6b3fa0 70%);
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;
  position:relative;display:inline-block;
}
.page-intro h1 em::after{
  content:"";
  position:absolute;left:0;right:0;bottom:0;height:11px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 11' preserveAspectRatio='none'%3E%3Cpath d='M2 6 Q 30 0, 60 5 T 120 5 T 198 5' stroke='%23ff6f51' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center/100% 100% no-repeat;
  opacity:.8;
}
.page-tagline{
  display:inline-block;margin:10px auto 0;
  font-size:13px;font-weight:600;color:#5b4a6e;
  background:#ffffff;border:1px solid rgba(45,27,61,.14);
  border-radius:99px;padding:6px 18px;letter-spacing:.01em;
}
.page-intro .pi-lede{
  max-width:680px;margin:0 auto;color:#5b4a6e;
  font-size:18px;line-height:1.65;
}
.page-intro .pi-lede strong{color:#2d1b3d;font-weight:700}
.page-intro .pi-samples{
  display:flex;flex-wrap:wrap;justify-content:center;gap:10px 12px;
  margin-top:28px;font-size:19px;color:#2d1b3d;
}
.page-intro .pi-samples span{
  background:#ffffff;
  border:1.5px solid rgba(45,27,61,.14);
  padding:8px 18px;border-radius:999px;
  box-shadow:0 2px 0 rgba(45,27,61,.06),0 4px 14px -6px rgba(255,111,81,.18);
  transition:transform .25s cubic-bezier(.34,1.56,.64,1);
}
.page-intro .pi-samples span:nth-child(odd){background:#ffe8e0;border-color:rgba(255,111,81,.25)}
.page-intro .pi-samples span:nth-child(3n){background:#fff1c9;border-color:rgba(255,201,74,.35);transform:rotate(2deg)}
.page-intro .pi-samples span:nth-child(4n){background:#d9f0e8;border-color:rgba(76,184,154,.3)}
.page-intro .pi-samples span:nth-child(5n){background:#f0e7ff;border-color:rgba(107,63,160,.25);transform:rotate(-2deg)}
.page-intro .pi-samples span:hover{transform:translateY(-3px) rotate(0)}

/* ============ CATEGORIES (home grid) ============ */
.categories,.features,.how,.about,.faq,.sub-content,.more-gens{
  padding:80px 0;
  position:relative;
}
.categories h2,.features h2,.how h2,.about h2,.faq h2,.sub-content h2,.more-gens h2{
  font-family:'Fraunces',serif;
  font-size:clamp(30px,4.5vw,46px);
  font-weight:900;line-height:1.05;
  margin:0 0 12px;letter-spacing:-.025em;
  color:#2d1b3d;
}
.categories h2 em,.features h2 em,.how h2 em,.about h2 em,.faq h2 em,.sub-content h2 em,.more-gens h2 em{
  font-style:italic;font-weight:400;color:#ff6f51;
}
.section-lede,.mg-lede{
  color:#5b4a6e;font-size:17px;margin:0 0 40px;max-width:640px;
}
.section-lede em,.mg-lede em{color:#ff6f51;font-style:normal;font-weight:600}

.cat-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(min(280px,100%),1fr));
  gap:18px;
}
.cat-card{
  background:#ffffff;
  border:1.5px solid rgba(45,27,61,.08);
  border-radius:18px;
  padding:24px 22px;
  transition:transform .25s, border-color .2s, box-shadow .25s;
  position:relative;
}
.cat-card:hover{
  transform:translateY(-4px);
  border-color:#ff6f51;
  box-shadow:0 4px 0 rgba(45,27,61,.06),0 18px 40px -16px rgba(255,111,81,.22);
}
.cat-emoji{
  display:inline-flex;align-items:center;justify-content:center;
  width:46px;height:46px;border-radius:14px;
  background:#ffe8e0;
  font-size:24px;line-height:1;
  margin-bottom:14px;
}
.cat-card:nth-child(3n) .cat-emoji{background:#d9f0e8}
.cat-card:nth-child(3n+1) .cat-emoji{background:#fff1c9}
.cat-card:nth-child(5n) .cat-emoji{background:#f0e7ff}
.cat-card:nth-child(7n) .cat-emoji{background:#ffe3ee}

.cat-card h3{
  font-family:'Fraunces',serif;font-size:21px;font-weight:700;
  margin:0 0 8px;color:#2d1b3d;letter-spacing:-.01em;
}
.cat-card p{color:#5b4a6e;margin:0 0 16px;font-size:14.5px;line-height:1.6}
.cat-card p strong{color:#2d1b3d;font-weight:700}
.cat-link{
  color:#ff6f51;text-decoration:none;font-weight:700;font-size:14px;
  display:inline-flex;align-items:center;gap:6px;
  transition:gap .2s;
}
.cat-link:hover{gap:10px;color:#6b3fa0}

/* ============ FEATURES ============ */
.feat-grid{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(min(280px,100%),1fr));
  gap:16px;
}
.feat{
  background:#ffffff;
  border:1.5px solid rgba(45,27,61,.08);
  border-radius:18px;
  padding:24px 22px;
  transition:transform .2s, border-color .2s;
}
.feat:hover{transform:translateY(-3px);border-color:#ff6f51}
.feat-icon{
  width:46px;height:46px;border-radius:14px;
  background:#ffe8e0;color:#ff6f51;
  display:inline-flex;align-items:center;justify-content:center;
  font-size:22px;margin-bottom:14px;
}
.feat:nth-child(2n) .feat-icon{background:#d9f0e8;color:#4cb89a}
.feat:nth-child(3n) .feat-icon{background:#fff1c9;color:#c9971e}
.feat:nth-child(5n) .feat-icon{background:#f0e7ff;color:#6b3fa0}
.feat h3{font-family:'Fraunces',serif;font-size:19px;margin:0 0 8px;color:#2d1b3d;font-weight:700}
.feat p{margin:0;color:#5b4a6e;font-size:14.5px;line-height:1.6}

/* ============ HOW (steps) ============ */
.steps{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:16px}
.steps li{
  background:#ffffff;
  border:1.5px solid rgba(45,27,61,.08);
  border-radius:18px;
  padding:24px 22px;position:relative;
}
.step-num{
  font-family:'Fraunces',serif;font-style:italic;
  font-size:36px;font-weight:900;
  color:#ff6f51;
  display:block;line-height:1;margin-bottom:10px;
}
.steps li:nth-child(2) .step-num{color:#6b3fa0}
.steps li:nth-child(3) .step-num{color:#4cb89a}
.steps li:nth-child(4) .step-num{color:#c9971e}
.steps h3{font-family:'Fraunces',serif;font-size:19px;margin:0 0 8px;color:#2d1b3d;font-weight:700}
.steps p{margin:0;color:#5b4a6e;font-size:14.5px;line-height:1.6}

/* ============ ABOUT / SUB-CONTENT body copy ============ */
.about p, .sub-content p{color:#5b4a6e;font-size:16px;line-height:1.75;margin:0 0 16px}
.about strong, .sub-content strong{color:#2d1b3d;font-weight:700}
.about em, .sub-content em{color:#6b3fa0;font-style:italic}
.about h3, .sub-content h3{
  font-family:'Fraunces',serif;font-size:22px;font-weight:700;
  margin:36px 0 12px;color:#2d1b3d;letter-spacing:-.01em;
}
.about h3::before, .sub-content h3::before{
  content:"";display:inline-block;width:18px;height:3px;
  background:#ff6f51;border-radius:2px;
  vertical-align:middle;margin-right:10px;transform:translateY(-3px);
}
.tips{padding-left:0;list-style:none}
.tips li{
  position:relative;padding:10px 14px 10px 38px;margin:0 0 8px;
  background:#ffffff;border:1px solid rgba(45,27,61,.08);
  border-radius:12px;color:#5b4a6e;line-height:1.6;font-size:15px;
}
.tips li::before{
  content:"✦";position:absolute;left:16px;top:10px;
  color:#ff6f51;font-weight:900;font-size:14px;
}
.tips li strong{color:#2d1b3d;font-weight:700}

/* ============ FAQ ============ */
.faq details{
  background:#ffffff;
  border:1.5px solid rgba(45,27,61,.08);
  border-radius:18px;
  padding:18px 22px;margin:0 0 12px;
  transition:border-color .2s;
}
.faq details:hover{border-color:rgba(45,27,61,.14)}
.faq details[open]{
  border-color:#ff6f51;
  background:linear-gradient(180deg, #ffffff 0%, #ffe8e0 200%);
}
.faq summary{
  cursor:pointer;font-weight:700;color:#2d1b3d;
  font-size:16.5px;list-style:none;
  display:flex;justify-content:space-between;align-items:center;gap:14px;
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{
  content:"+";font-family:'Fraunces',serif;font-size:28px;
  color:#ff6f51;font-weight:400;line-height:1;
  transition:transform .25s;
}
.faq details[open] summary::after{transform:rotate(45deg)}
.faq details p{
  color:#5b4a6e;font-size:15.5px;line-height:1.7;
  margin:12px 0 0;padding-top:12px;
  border-top:1px dashed rgba(45,27,61,.14);
}

/* ============ MORE GENERATORS (cross-link grid) ============ */
.more-gens{border-top:1px solid rgba(45,27,61,.08)}
.gens-grid{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(min(230px,100%),1fr));
  gap:12px;
}
.gen-link{
  display:flex;align-items:center;gap:14px;
  background:#ffffff;
  border:1.5px solid rgba(45,27,61,.08);
  border-radius:18px;padding:16px 18px;
  color:#2d1b3d;text-decoration:none;
  transition:transform .2s, border-color .2s, box-shadow .25s, background .2s;
}
.gen-link:hover{
  transform:translateY(-3px);
  border-color:#ff6f51;
  box-shadow:0 4px 0 rgba(45,27,61,.06),0 18px 40px -16px rgba(255,111,81,.22);
}
.gen-link .gl-icon{
  font-size:22px;line-height:1;flex-shrink:0;width:42px;height:42px;
  display:flex;align-items:center;justify-content:center;
  background:#ffe8e0;border-radius:12px;
  transition:transform .3s cubic-bezier(.34,1.56,.64,1);
}
.gen-link:nth-child(3n) .gl-icon{background:#d9f0e8}
.gen-link:nth-child(3n+1) .gl-icon{background:#fff1c9}
.gen-link:nth-child(5n) .gl-icon{background:#f0e7ff}
.gen-link:nth-child(7n) .gl-icon{background:#ffe3ee}
.gen-link:hover .gl-icon{transform:rotate(-8deg) scale(1.08)}
.gen-link .gl-text{display:flex;flex-direction:column;gap:2px;min-width:0}
.gen-link .gl-name{font-weight:700;font-size:14.5px;color:#2d1b3d}
.gen-link .gl-sub{font-size:12.5px;color:#8e7e9e;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* ============ FOOTER ============ */
.site-footer{
  background:#2d1b3d;
  color:#fef7ef;
  padding:60px 0 40px;
  text-align:center;
  position:relative;
  margin-top:40px;
}
.site-footer::before{
  content:"";
  position:absolute;left:0;right:0;top:-1px;height:30px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 30' preserveAspectRatio='none'%3E%3Cpath d='M0 30 Q 50 0, 100 15 T 200 15 T 300 15 T 400 15 T 500 15 T 600 15 T 700 15 T 800 15 T 900 15 T 1000 15 T 1100 15 T 1200 15 L 1200 30 Z' fill='%232d1b3d'/%3E%3C/svg%3E") top/100% 100% no-repeat;
  transform:translateY(-29px);
}
.foot-brand{
  font-family:'Fraunces',serif;font-size:28px;font-weight:900;
  margin:0 0 10px;display:flex;align-items:center;justify-content:center;gap:10px;
}
.foot-mark{
  font-style:italic;color:#ffc94a;
  font-size:36px;line-height:1;transform:rotate(-6deg);display:inline-block;
}
.foot-tag{
  max-width:520px;margin:0 auto 22px;
  color:rgba(254,247,239,.7);font-size:14.5px;line-height:1.6;
}
.foot-meta{color:rgba(254,247,239,.5);font-size:13px;margin:0}

/* ============ TOAST ============ */
.toast{
  position:fixed;left:50%;bottom:30px;transform:translate(-50%,40px);
  background:#2d1b3d;color:#fef7ef;
  padding:14px 26px;border-radius:999px;
  font-weight:600;font-size:14px;
  box-shadow:0 10px 60px -20px rgba(107,63,160,.25),0 6px 0 rgba(45,27,61,.05);
  opacity:0;pointer-events:none;
  transition:opacity .25s, transform .25s;
  z-index:1000;
  border:2px solid #ffc94a;
}
.toast.show{opacity:1;transform:translate(-50%,0);pointer-events:auto}

/* ============ RESPONSIVE ============ */
@media (max-width:760px){
  .site-nav{gap:2px}
  .site-nav a{padding:6px 9px;font-size:12.5px;font-weight:600}
  .header-wrap{padding:12px 18px;gap:10px}
  .logo{gap:8px;flex-shrink:0}
  .logo-mark{font-size:28px}
  .logo-text{font-size:15px;white-space:nowrap}
  .hero{padding:50px 20px 30px}
  .hero h1{font-size:clamp(28px,9vw,60px)}
  .lede{font-size:16px}
  .hero-samples,.page-intro .pi-samples{font-size:16px}
  .hero-samples span,.page-intro .pi-samples span{padding:6px 14px}
  .input-card{padding:16px 18px 14px}
  .input-sticky{top:62px}
  .filter-bar{
    overflow-x:auto;flex-wrap:nowrap;
    padding:18px 0 4px;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    margin:0 -22px;padding-left:22px;padding-right:22px;
  }
  .filter-bar::-webkit-scrollbar{display:none}
  .chip{font-size:13px;padding:8px 14px;flex-shrink:0}
  .categories,.how,.about,.faq,.features,.sub-content,.more-gens{padding:55px 0}
  .cat-card,.feat,.steps li{padding:20px 18px}
  .font-list{grid-template-columns:1fr;gap:10px}
  .font-item{padding:14px 16px 12px}
  .font-output{font-size:19px}
  .copy-btn{padding:6px 14px;font-size:12.5px}
  .fav-btn{width:30px;height:30px}
  .input-actions{padding-top:12px;margin-top:10px}
  .gens-grid{grid-template-columns:1fr;gap:10px}
  .gen-link{padding:13px 14px;gap:12px}
  .gen-link .gl-icon{width:36px;height:36px;font-size:18px}
  .gen-link .gl-name{font-size:13.5px}
  .gen-link .gl-sub{font-size:11.5px}
  .page-intro{padding:40px 20px 24px}
  .page-intro .pi-lede{font-size:16px}
  .faq summary{font-size:15.5px}
  .faq details{padding:16px 18px}
}

@media (max-width:480px){
  .logo-text{font-size:14px;white-space:nowrap}
  .logo-mark{font-size:24px}
  .site-nav a:nth-child(n+3){display:none}
  .header-wrap{padding:10px 14px;gap:8px}
  .site-nav{gap:2px}
  .site-nav a{padding:6px 8px;font-size:12px}
}

@media (max-width:380px){
  .logo-text{display:none}
  .site-nav a:nth-child(n+4){display:none}
}

@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important;scroll-behavior:auto !important}
}





/* Method 2: Explicit @media override — Chrome Force Dark
   respects this and backs off when colors are declared here */
