/* ═══════════════════════════════════════════════════
   HINDIFONTSTYLE.CO.IN — INK PRESS DESIGN SYSTEM
   Editorial · Print-Inspired · Typography-Forward
═══════════════════════════════════════════════════ */

/* FONTS — loaded via <link> in each HTML file, no local @font-face needed */

/* TOKENS */
:root {
  --cream: #F5F0E8;
  --cream-dark: #EDE8DC;
  --ink: #1C1917;
  --ink-2: #3D3830;
  --ink-3: #6B6459;
  --ink-4: #9A9189;
  --red: #CD2C58;
  --red-pale: #F9E8EC;
  --red-mid: #E8A0B0;
  --white: #FDFCFA;
  --border: rgba(28,25,23,.12);
  --border-strong: rgba(28,25,23,.22);

  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --deva: 'Noto Sans Devanagari', sans-serif;

  --r: 4px;
  --r-lg: 8px;
  --max: 1160px;
  --nav-h: 64px;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font-family: var(--sans); cursor: pointer; }
img { display: block; max-width: 100%; }

/* ── NAV ── */
.nav {
  position: sticky; top: 0; z-index: 200;
  height: var(--nav-h);
  background: var(--ink);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 2rem;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: baseline; gap: 6px;
  font-family: var(--serif); font-size: 1.25rem; font-weight: 700;
  color: #fff; letter-spacing: -.3px;
}
.nav-logo .hi { color: var(--red); font-style: italic; }
.nav-logo .dot { color: var(--ink-4); font-size: .8rem; margin: 0 2px; }
.nav-links {
  display: flex; align-items: center; gap: 2px; list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,.65); font-size: .82rem; font-weight: 400;
  padding: 6px 12px; border-radius: 20px; transition: color .15s, background .15s;
  letter-spacing: .2px;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav-links a.active { color: #fff; }
.nav-cta {
  background: var(--red); color: #fff !important;
  padding: 8px 18px !important; border-radius: 20px !important;
  font-weight: 500 !important; font-size: .82rem !important;
  transition: background .15s !important;
}
.nav-cta:hover { background: #b02448 !important; }
.hamburger {
  display: none; flex-direction: column; gap: 4px;
  background: none; border: none; padding: 6px; cursor: pointer;
}
.hamburger span { display: block; width: 20px; height: 1.5px; background: #fff; transition: .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
.mob-nav {
  display: none; background: var(--ink); border-top: 1px solid rgba(255,255,255,.08);
  padding: .5rem 1rem 1rem;
}
.mob-nav a {
  display: block; color: rgba(255,255,255,.7); padding: .65rem .5rem;
  font-size: .9rem; border-bottom: 1px solid rgba(255,255,255,.06);
}
.mob-nav a:last-child { border: none; }

/* ── HERO ── */
.hero {
  background: var(--ink);
  position: relative; overflow: hidden;
  padding: 5rem 2rem 4rem;
}
.hero-deco {
  position: absolute; right: -40px; top: 50%; transform: translateY(-50%);
  font-family: var(--deva); font-size: clamp(200px, 28vw, 380px);
  font-weight: 700; color: rgba(255,255,255,.035);
  line-height: 1; pointer-events: none; user-select: none;
  letter-spacing: -20px;
}
.hero-inner { max-width: var(--max); margin: 0 auto; position: relative; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--red); font-size: .75rem; font-weight: 500;
  letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 1.5rem;
}
.hero-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--red); }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 900; line-height: 1.05;
  color: #fff; letter-spacing: -2px;
  margin-bottom: 1.5rem;
  max-width: 700px;
}
.hero h1 em { font-style: italic; color: var(--red); }
.hero-sub {
  color: rgba(255,255,255,.55); font-size: 1rem;
  max-width: 500px; line-height: 1.7; margin-bottom: 2.5rem; font-weight: 300;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red); color: #fff;
  padding: 14px 28px; border-radius: var(--r);
  font-size: .9rem; font-weight: 500; border: none;
  transition: background .15s, transform .1s;
}
.btn-primary:hover { background: #b02448; transform: translateY(-1px); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.8);
  padding: 14px 28px; border-radius: var(--r);
  font-size: .9rem; font-weight: 400; border: 1px solid rgba(255,255,255,.15);
  transition: background .15s;
}
.btn-ghost:hover { background: rgba(255,255,255,.14); }
.hero-stats {
  margin-top: 3.5rem; padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; flex-wrap: wrap; gap: 2.5rem;
}
.hero-stat-n { font-family: var(--serif); font-size: 2rem; font-weight: 700; color: #fff; line-height: 1; }
.hero-stat-l { font-size: .75rem; color: rgba(255,255,255,.4); margin-top: 3px; letter-spacing: .5px; }

/* ── GENERATOR SECTION ── */
.gen-section {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.gen-header {
  max-width: var(--max); margin: 0 auto; padding: 3rem 2rem 0;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem;
}
.gen-title { font-family: var(--serif); font-size: 1.75rem; font-weight: 700; color: var(--ink); }
.gen-meta { font-size: .8rem; color: var(--ink-4); }
.gen-input-wrap { max-width: var(--max); margin: 0 auto; padding: 1.5rem 2rem; }
.gen-input-box {
  display: grid; grid-template-columns: 1fr auto; gap: 0;
  border: 1.5px solid var(--border-strong); border-radius: var(--r);
  overflow: hidden; background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.gen-input-box:focus-within {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(205,44,88,.1);
}
.gen-ta {
  width: 100%; min-height: 72px; padding: 1rem 1.2rem;
  border: none; outline: none; resize: none;
  font-family: var(--deva); font-size: 1.25rem; color: var(--ink);
  background: transparent; line-height: 1.5;
}
.gen-ta::placeholder { color: var(--ink-4); font-family: var(--sans); }
.gen-side-btns {
  display: flex; flex-direction: column; border-left: 1px solid var(--border);
}
.gen-side-btn {
  flex: 1; padding: 0 1rem; background: none; border: none;
  color: var(--ink-4); font-size: .75rem; font-weight: 500;
  letter-spacing: .3px; transition: color .15s, background .15s;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 5px; white-space: nowrap;
}
.gen-side-btn:last-child { border-bottom: none; }
.gen-side-btn:hover { color: var(--red); background: var(--red-pale); }

/* FONT RESULTS */
.results-wrap { max-width: var(--max); margin: 0 auto; padding: 0 2rem; }
.results-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: .75rem 0; border-top: 1px solid var(--border);
  font-size: .78rem; color: var(--ink-4);
}
.results-bar strong { color: var(--red); }
.font-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  min-height: 280px;
}
.font-grid.loading {
  background: linear-gradient(90deg,var(--cream) 25%,var(--cream-dark) 50%,var(--cream) 75%);
  background-size: 200% 100%; animation: shimmer 1.3s infinite;
}
@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }
.font-card {
  background: var(--white); padding: 1.4rem 1.6rem;
  display: flex; flex-direction: column; gap: .9rem;
  transition: background .15s;
  position: relative;
}
.font-card:hover { background: var(--cream); }
.font-card::after {
  content: ''; position: absolute; left: 1.6rem; bottom: 0;
  width: calc(100% - 3.2rem); height: 1px; background: var(--border);
}
.fc-meta { display: flex; align-items: center; justify-content: space-between; }
.fc-name {
  font-size: .68rem; font-weight: 500; text-transform: uppercase;
  letter-spacing: 1px; color: var(--ink-4);
}
.fc-tag {
  font-size: .62rem; font-weight: 500; padding: 2px 7px;
  border-radius: 2px; letter-spacing: .3px;
}
.fc-tag.display { background: #FFF3CD; color: #7A5C00; }
.fc-tag.serif { background: #E3F0FF; color: #1A4A7A; }
.fc-tag.sans { background: #E8F8F0; color: #1A5C3A; }
.fc-tag.calli { background: #F5E8FF; color: #5A1A7A; }
.fc-tag.effect { background: #FFE8ED; color: var(--red); }
.fc-preview {
  font-size: clamp(1.4rem, 3vw, 2rem); color: var(--ink);
  min-height: 60px; display: flex; align-items: center;
  line-height: 1.25; word-break: break-all;
}
/* Style effects */
.fc-preview.style-bold { font-weight: 700; }
.fc-preview.style-italic { font-style: italic; }
.fc-preview.style-shadow { text-shadow: 3px 3px 8px rgba(0,0,0,.35); }
.fc-preview.style-outline { -webkit-text-stroke: 1.5px var(--red); color: transparent; }
.fc-preview.style-3d { text-shadow: 2px 2px 0 #a02040, 4px 4px 0 rgba(160,32,64,.2); }
.fc-preview.style-hearts::before { content: '♥ '; color: var(--red); font-style: normal; }
.fc-preview.style-hearts::after { content: ' ♥'; color: var(--red); font-style: normal; }
.fc-preview.style-stars::before { content: '★ '; color: #C97C00; font-style: normal; }
.fc-preview.style-stars::after { content: ' ★'; color: #C97C00; font-style: normal; }
.fc-preview.style-brackets::before { content: '【'; }
.fc-preview.style-brackets::after { content: '】'; }
.fc-preview.style-underline { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.fc-preview.style-double { -webkit-text-stroke: 1px var(--ink-2); }
.fc-btns { display: flex; gap: .4rem; }
.fc-btn {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 11px; border-radius: 2px;
  font-size: .7rem; font-weight: 500; letter-spacing: .2px;
  border: 1px solid var(--border-strong); background: none;
  color: var(--ink-3); transition: .15s; white-space: nowrap;
}
.fc-btn:hover { border-color: var(--red); color: var(--red); background: var(--red-pale); }
.fc-btn.copied { border-color: #16a34a; color: #16a34a; background: #dcfce7; }

/* PAGINATION */
.pag-wrap {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  padding: 1.5rem 2rem 2.5rem;
}
.pag-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 18px; border-radius: var(--r);
  border: 1px solid var(--border-strong); background: none;
  font-size: .82rem; font-weight: 500; color: var(--ink-2);
  transition: .15s;
}
.pag-btn:hover:not(:disabled) { border-color: var(--red); color: var(--red); background: var(--red-pale); }
.pag-btn:disabled { opacity: .35; cursor: not-allowed; }
.pag-info { font-size: .82rem; color: var(--ink-4); padding: 0 .5rem; }
.pag-info strong { color: var(--red); font-weight: 600; }

/* ── MARQUEE STRIP ── */
.marquee-strip {
  background: var(--red); overflow: hidden;
  padding: .8rem 0; border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.marquee-track {
  display: flex; gap: 0; animation: marquee 28s linear infinite;
  width: max-content;
}
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.marquee-item {
  display: flex; align-items: center; gap: .8rem;
  padding: 0 2rem; white-space: nowrap;
  font-family: var(--serif); font-size: 1.1rem;
  font-style: italic; color: rgba(255,255,255,.8);
}
.marquee-item::after { content: '·'; color: rgba(255,255,255,.3); padding-left: .8rem; }

/* ── FEATURES SECTION ── */
.features-section {
  max-width: var(--max); margin: 0 auto; padding: 5rem 2rem;
}
.section-header { margin-bottom: 3rem; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--red); font-size: .72rem; font-weight: 500;
  letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: .8rem;
}
.section-eyebrow::before { content: ''; width: 20px; height: 1px; background: var(--red); }
.section-title {
  font-family: var(--serif); font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900; color: var(--ink); letter-spacing: -1px; line-height: 1.1;
}
.section-sub { color: var(--ink-3); font-size: .95rem; margin-top: .6rem; font-weight: 300; }
.features-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
}
.feat-item {
  background: var(--white); padding: 2.5rem;
  display: grid; grid-template-columns: 48px 1fr; gap: 1.25rem;
  transition: background .15s;
}
.feat-item:hover { background: var(--cream); }
.feat-num {
  font-family: var(--serif); font-size: 1.4rem; font-weight: 900;
  color: var(--red); line-height: 1; padding-top: 3px;
}
.feat-item h3 { font-size: 1rem; font-weight: 500; color: var(--ink); margin-bottom: .4rem; }
.feat-item p { font-size: .87rem; color: var(--ink-3); line-height: 1.7; font-weight: 300; }

/* ── ABOUT / CONTENT ── */
.about-section {
  background: var(--ink); color: rgba(255,255,255,.75);
  padding: 5rem 2rem;
}
.about-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start;
}
.about-deco-text {
  font-family: var(--deva); font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 700; color: rgba(255,255,255,.06);
  line-height: 1; margin-bottom: 2rem; letter-spacing: -4px;
}
.about-inner .section-title { color: #fff; }
.about-inner .section-sub { color: rgba(255,255,255,.5); }
.about-inner p { color: rgba(255,255,255,.6); font-size: .9rem; line-height: 1.8; margin-top: 1.2rem; font-weight: 300; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.07); border-radius: var(--r); overflow: hidden; }
.about-cell { background: rgba(255,255,255,.03); padding: 1.5rem; }
.about-cell-n { font-family: var(--serif); font-size: 2.5rem; font-weight: 900; color: var(--red); line-height: 1; }
.about-cell-l { font-size: .78rem; color: rgba(255,255,255,.4); margin-top: 4px; letter-spacing: .3px; }

/* ── USE CASES ── */
.uc-section { max-width: var(--max); margin: 0 auto; padding: 5rem 2rem; }
.uc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: .6rem; margin-top: 2.5rem; }
.uc-card {
  border: 1px solid var(--border); border-radius: var(--r);
  padding: 1.2rem .8rem; text-align: center;
  background: var(--white); transition: .2s;
}
.uc-card:hover { border-color: var(--red); background: var(--red-pale); transform: translateY(-2px); }
.uc-deva { font-family: var(--deva); font-size: 1.6rem; color: var(--red); margin-bottom: .4rem; }
.uc-title { font-size: .8rem; font-weight: 500; color: var(--ink); }
.uc-sub { font-size: .7rem; color: var(--ink-4); margin-top: 2px; }

/* ── BLOG SECTION ── */
.blog-section { background: var(--cream-dark); border-top: 1px solid var(--border); padding: 5rem 2rem; }
.blog-inner { max-width: var(--max); margin: 0 auto; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.blog-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r); overflow: hidden;
  display: block; transition: .2s;
}
.blog-card:hover { box-shadow: 0 8px 32px rgba(28,25,23,.1); transform: translateY(-2px); border-color: var(--red-mid); }
.blog-card-art {
  height: 160px; background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--deva); font-size: 4rem; color: rgba(255,255,255,.12);
  position: relative; overflow: hidden;
}
.blog-card-art::after {
  content: attr(data-word);
  position: absolute; font-family: var(--deva); font-size: 5.5rem;
  color: rgba(255,255,255,.07); right: -10px; bottom: -10px;
  line-height: 1; font-weight: 700;
}
.blog-card-label {
  font-size: .65rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1px;
  color: var(--red); margin-bottom: .5rem;
  display: flex; align-items: center; gap: 5px;
}
.blog-card-label::before { content: ''; width: 12px; height: 1px; background: var(--red); }
.blog-card-body { padding: 1.4rem; }
.blog-card h3 { font-family: var(--serif); font-size: 1.05rem; font-weight: 700; color: var(--ink); line-height: 1.35; margin-bottom: .5rem; }
.blog-card p { font-size: .82rem; color: var(--ink-3); line-height: 1.65; font-weight: 300; }
.blog-card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 1rem; font-size: .72rem; color: var(--ink-4); }
.read-more { color: var(--red); font-weight: 500; display: flex; align-items: center; gap: 4px; }

/* ── FAQ ── */
.faq-section { max-width: var(--max); margin: 0 auto; padding: 5rem 2rem; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.5rem; }
.faq-item { border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.faq-q {
  width: 100%; background: var(--white); border: none;
  padding: 1.1rem 1.3rem; text-align: left;
  font-family: var(--sans); font-size: .88rem; font-weight: 500; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: .8rem;
  cursor: pointer; transition: background .15s;
}
.faq-q:hover { background: var(--cream); }
.faq-q .faq-icon {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--cream-dark); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: .7rem; color: var(--ink-3); transition: .25s;
}
.faq-q.open .faq-icon { background: var(--red); color: #fff; transform: rotate(45deg); }
.faq-a {
  display: none; padding: 0 1.3rem 1.1rem;
  font-size: .85rem; color: var(--ink-3); line-height: 1.75; font-weight: 300;
  background: var(--white);
}
.faq-a.show { display: block; }

/* ── TOOLS PROMO ── */
.tools-section {
  background: var(--ink); padding: 5rem 2rem;
  border-top: 1px solid var(--border);
}
.tools-inner { max-width: var(--max); margin: 0 auto; }
.tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.07); border-radius: var(--r-lg); overflow: hidden; margin-top: 2.5rem; }
.tool-card {
  background: rgba(255,255,255,.02); padding: 2rem;
  transition: background .15s; display: block;
}
.tool-card:hover { background: rgba(255,255,255,.05); }
.tool-icon { font-family: var(--deva); font-size: 2.5rem; color: var(--red); margin-bottom: 1rem; line-height: 1; }
.tool-card h3 { font-family: var(--serif); font-size: 1.15rem; font-weight: 700; color: rgba(255,255,255,.9); margin-bottom: .4rem; }
.tool-card p { font-size: .85rem; color: rgba(255,255,255,.4); line-height: 1.65; font-weight: 300; }
.tool-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 1.2rem; font-size: .8rem; font-weight: 500; color: var(--red); }
.tool-link::after { content: '→'; transition: transform .15s; }
.tool-card:hover .tool-link::after { transform: translateX(4px); }
.tools-inner .section-title { color: #fff; }
.tools-inner .section-sub { color: rgba(255,255,255,.4); }
.tools-inner .section-eyebrow { color: var(--red); }

/* ── FOOTER ── */
footer {
  background: #111009; border-top: 1px solid rgba(255,255,255,.06);
  padding: 3.5rem 2rem 2rem; color: rgba(255,255,255,.5);
}
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
  padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer-brand {}
.footer-logo { font-family: var(--serif); font-size: 1.2rem; font-weight: 700; color: #fff; margin-bottom: .8rem; }
.footer-logo span { color: var(--red); font-style: italic; }
.footer-tagline { font-size: .82rem; line-height: 1.65; max-width: 220px; }
.footer-col h4 { font-size: .7rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,.3); margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: .4rem; }
.footer-col a { font-size: .83rem; color: rgba(255,255,255,.5); transition: color .15s; font-weight: 300; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: .5rem; padding-top: 1.5rem;
  font-size: .75rem; color: rgba(255,255,255,.25);
}

/* ── INNER PAGE HERO ── */
.page-hero {
  background: var(--ink); padding: 3rem 2rem 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.page-hero-inner { max-width: var(--max); margin: 0 auto; }
.breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: .75rem; color: rgba(255,255,255,.35); margin-bottom: 1rem;
}
.breadcrumb a { color: rgba(255,255,255,.35); }
.breadcrumb a:hover { color: rgba(255,255,255,.6); }
.breadcrumb span { color: rgba(255,255,255,.2); }
.page-hero h1 {
  font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900; color: #fff; letter-spacing: -1px;
}
.page-hero .hero-sub { max-width: 600px; margin-bottom: 0; }

/* ── BLOG POST LAYOUT ── */
.post-layout {
  max-width: var(--max); margin: 0 auto; padding: 3rem 2rem;
  display: grid; grid-template-columns: 1fr 280px; gap: 4rem; align-items: start;
}
.post-content h2 { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: var(--ink); margin: 2rem 0 .7rem; padding-left: .8rem; border-left: 3px solid var(--red); }
.post-content h3 { font-size: 1.1rem; font-weight: 500; color: var(--ink); margin: 1.5rem 0 .4rem; }
.post-content p { font-size: .9rem; color: var(--ink-3); line-height: 1.85; margin-bottom: .9rem; font-weight: 300; }
.post-content ul, .post-content ol { padding-left: 1.5rem; margin-bottom: .9rem; }
.post-content li { font-size: .9rem; color: var(--ink-3); line-height: 1.75; margin-bottom: .3rem; font-weight: 300; }
.post-content a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.post-sidebar { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.sidebar-widget { background: var(--white); border: 1px solid var(--border); border-radius: var(--r); padding: 1.2rem; margin-bottom: 1.2rem; }
.sidebar-widget h4 { font-family: var(--serif); font-size: .95rem; font-weight: 700; color: var(--ink); margin-bottom: .9rem; padding-bottom: .6rem; border-bottom: 1px solid var(--border); }
.sidebar-link { display: flex; align-items: center; gap: 6px; padding: .45rem 0; font-size: .82rem; color: var(--ink-2); border-bottom: 1px solid var(--border); transition: color .15s; }
.sidebar-link:last-child { border: none; }
.sidebar-link:hover { color: var(--red); }
.sidebar-link::before { content: '›'; color: var(--red); }

/* ── CONTACT / SIMPLE PAGES ── */
.simple-page { max-width: 760px; margin: 0 auto; padding: 3rem 2rem; }
.simple-page h2 { font-family: var(--serif); font-size: 1.4rem; font-weight: 700; margin: 2rem 0 .6rem; color: var(--ink); }
.simple-page p, .simple-page li { font-size: .9rem; color: var(--ink-3); line-height: 1.8; margin-bottom: .7rem; font-weight: 300; }
.simple-page ul, .simple-page ol { padding-left: 1.5rem; margin-bottom: .9rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: .78rem; font-weight: 500; color: var(--ink-2); margin-bottom: .4rem; letter-spacing: .2px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: .75rem 1rem;
  border: 1.5px solid var(--border-strong); border-radius: var(--r);
  font-family: var(--sans); font-size: .9rem; color: var(--ink);
  background: var(--white); outline: none; transition: border .2s, box-shadow .2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--red); box-shadow: 0 0 0 3px rgba(205,44,88,.1);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.btn-submit {
  background: var(--red); color: #fff; border: none;
  padding: 12px 28px; border-radius: var(--r);
  font-size: .9rem; font-weight: 500; cursor: pointer; transition: background .15s;
}
.btn-submit:hover { background: #b02448; }
.success-msg { background: #dcfce7; border: 1px solid #16a34a; color: #14532d; padding: 1rem 1.2rem; border-radius: var(--r); margin-top: 1rem; font-size: .87rem; display: none; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .uc-grid { grid-template-columns: repeat(3, 1fr); }
  .features-layout { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; gap: 2rem; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .tools-grid { grid-template-columns: 1fr; }
  .post-layout { grid-template-columns: 1fr; }
  .post-sidebar { position: static; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 3rem 1.5rem 2.5rem; }
  .hero-deco { display: none; }
  .gen-input-wrap, .results-wrap, .pag-wrap { padding-left: 1.25rem; padding-right: 1.25rem; }
  .gen-header { padding: 2rem 1.25rem 0; flex-direction: column; align-items: flex-start; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 1.5rem; }
  .uc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  :root { --nav-h: 56px; }
  .hero h1 { letter-spacing: -1px; }
  .hero-stats { gap: 1.5rem; }
  .uc-grid { grid-template-columns: repeat(2, 1fr); }
  .font-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
