/* ============================================================
   DuloProof — redesign
   Palette: ink #0A0A0A · amber #F59E0B · cream #FEF3C7
            paper #FAF8F5 · stone #78716C
   Type: Space Grotesk (display) + Manrope (body)
   ============================================================ */

:root {
  --ink: #0A0A0A;
  --ink-2: #15130F;
  --ink-3: #211d17;
  --amber: #F59E0B;
  --amber-deep: #c97d05;
  --cream: #FEF3C7;
  --paper: #FAF8F5;
  --stone: #78716C;
  --stone-2: #a8a29a;

  /* dark-section text */
  --on-dark: #FAF8F5;
  --on-dark-soft: #b8b2a8;
  --line-dark: rgba(250, 248, 245, 0.10);

  /* light-section text */
  --on-light: #0A0A0A;
  --on-light-soft: #6b645c;
  --line-light: #e7e1d8;

  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Manrope", system-ui, sans-serif;

  --maxw: 1240px;
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--on-light);
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--amber); color: var(--ink); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.04; letter-spacing: -0.02em; }
.eyebrow {
  font-family: var(--body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--body); font-weight: 700; font-size: 16px;
  padding: 15px 26px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-amber { background: var(--amber); color: var(--ink); box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 10px 30px -8px rgba(245,158,11,.55); }
.btn-amber:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 18px 40px -10px rgba(245,158,11,.7); }
.btn-ghost-dark { background: transparent; color: var(--on-dark); border-color: var(--line-dark); }
.btn-ghost-dark:hover { background: rgba(250,248,245,.06); border-color: rgba(250,248,245,.28); transform: translateY(-2px); }
.btn-ghost-light { background: transparent; color: var(--ink); border-color: #d8d1c6; }
.btn-ghost-light:hover { background: #fff; border-color: var(--ink); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: var(--on-dark); }
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(0,0,0,.5); }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* ============================================================
   NAV
   ============================================================ */
header.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .35s var(--ease), border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
header.nav .wrap { display: flex; align-items: center; gap: 32px; height: 76px; }
.nav.scrolled {
  background: rgba(10,10,10,.72);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line-dark);
}
.logo { display: flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -.035em; color: var(--on-dark); }
.logo .logo-mark { width: 28px; height: 28px; flex: none; display: block; border-radius: 8px; }
.logo .logo-wm { line-height: 1; }
.logo .mark {
  width: 30px; height: 30px; border-radius: 8px; background: var(--amber);
  display: grid; place-items: center; flex: none;
  box-shadow: 0 6px 16px -6px rgba(245,158,11,.7);
}
.logo .mark svg { width: 18px; height: 18px; }
.nav-links { display: flex; align-items: center; gap: 30px; margin-left: 8px; }
.nav-links a { font-weight: 600; font-size: 15.5px; color: var(--on-dark-soft); transition: color .2s; }
.nav-links a:hover { color: var(--on-dark); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.nav-right .login { font-weight: 600; font-size: 15.5px; color: var(--on-dark-soft); white-space: nowrap; }
.nav-right .login:hover { color: var(--on-dark); }
.nav .btn-amber { padding: 11px 20px; font-size: 15px; }

/* ============================================================
   HERO  (dark-first)
   ============================================================ */
.hero {
  position: relative; background: var(--ink); color: var(--on-dark);
  padding: 150px 0 90px; overflow: hidden;
}
.hero::before { /* warm glow */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(680px 420px at 78% 26%, rgba(245,158,11,.18), transparent 60%),
    radial-gradient(900px 600px at 12% 90%, rgba(245,158,11,.06), transparent 60%);
  pointer-events: none;
}
.hero::after { /* fine grid */
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 30%, transparent 78%);
          mask-image: radial-gradient(circle at 50% 40%, #000 30%, transparent 78%);
}
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.02fr 1fr; gap: 40px; align-items: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px 7px 9px; border-radius: 999px;
  background: rgba(250,248,245,.05); border: 1px solid var(--line-dark);
  font-size: 13.5px; font-weight: 600; color: var(--on-dark-soft);
  margin-bottom: 26px;
  white-space: nowrap;
}
.hero-badge b { color: var(--cream); font-weight: 700; }
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(245,158,11,.18); }

.hero h1 { font-size: clamp(42px, 5.6vw, 76px); }
.hero h1 .scribble { color: var(--amber); position: relative; white-space: nowrap; }
.hero h1 .scribble::after { content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: 3px; border-radius: 2px; background: rgba(245,158,11,.32); }
.hero p.sub { font-size: 19.5px; color: var(--on-dark-soft); max-width: 30ch; margin: 26px 0 34px; }
.hero-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-trust { margin-top: 30px; display: flex; align-items: center; gap: 18px; color: var(--on-dark-soft); font-size: 14.5px; }
.hero-trust .stars { color: var(--amber); letter-spacing: 2px; font-size: 15px; }
.hero-trust .sep { width: 1px; height: 18px; background: var(--line-dark); }

/* hero stage (animation host) */
.hero-stage { position: relative; height: 540px; }

/* ---------- sketchy template cards ---------- */
.sketch-card {
  position: absolute;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(10,10,10,.07);
  box-shadow: 0 1px 2px rgba(10,10,10,.05), 0 32px 60px -30px rgba(0,0,0,.6);
  padding: 18px 18px 14px;
  width: 258px;
  will-change: transform;
  opacity: 1; /* resting state is always visible */
}
@keyframes cardIn {
  from { opacity: 0; filter: blur(8px); transform: var(--base) translateY(16px); }
  to   { opacity: 1; filter: blur(0);   transform: var(--base) translateY(0); }
}
.sketch-card .sc-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sketch-card .sc-chip { font-family: var(--body); font-weight: 700; font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--amber-deep); background: rgba(245,158,11,.12); border-radius: 6px; padding: 4px 8px; white-space: nowrap; }
.sketch-card .sc-title { font-family: var(--display); font-size: 16px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); line-height: 1.2; margin: 13px 0 7px; }
.sketch-card .sc-row { display: flex; align-items: center; gap: 11px; padding: 8px 0; border-bottom: 1px solid rgba(10,10,10,.06); }
.sketch-card .sc-row:last-child { border-bottom: 0; }
.sketch-card .sc-box {
  width: 18px; height: 18px; flex: none; border-radius: 6px;
  border: 1.5px solid rgba(10,10,10,.22); position: relative; background: #fff;
  transition: background .2s, border-color .2s;
}
.sketch-card .sc-label { flex: 1; min-width: 0; font-family: var(--body); font-size: 12.5px; font-weight: 600; color: #4b463f; transition: color .2s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sketch-card .sc-row.done .sc-box { background: var(--amber); border-color: var(--amber-deep); }
.sketch-card .sc-row.done .sc-box::after {
  content: ""; position: absolute; left: 4px; top: 4.5px; width: 7px; height: 3.5px;
  border-left: 2.2px solid #0A0A0A; border-bottom: 2.2px solid #0A0A0A;
  transform: rotate(-45deg);
}
.sketch-card .sc-row.done .sc-label { color: #aca69d; text-decoration: line-through; text-decoration-color: rgba(245,158,11,.55); }

.sketch-card.float { animation: bob var(--dur, 7s) var(--ease) infinite; }
@keyframes bob {
  0%, 100% { transform: var(--base) translateY(0); }
  50% { transform: var(--base) translateY(-9px); }
}

/* progress badge that pops on cards */
.sc-badge {
  position: absolute; right: -12px; top: -12px;
  background: var(--amber); color: var(--ink);
  font-family: var(--display); font-weight: 700; font-size: 12.5px;
  padding: 7px 12px; border-radius: 999px; border: none;
  box-shadow: 0 10px 22px -8px rgba(245,158,11,.6), 0 1px 0 rgba(255,255,255,.45) inset;
  display: flex; align-items: center; gap: 5px;
}

/* ============================================================
   MARQUEE (trust strip)
   ============================================================ */
.strip { background: var(--ink-2); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); padding: 22px 0; overflow: hidden; }
.strip-inner { display: flex; gap: 56px; width: max-content; animation: slide 34s linear infinite; }
.strip:hover .strip-inner { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.strip-item { display: flex; align-items: center; gap: 11px; color: var(--on-dark-soft); font-weight: 700; font-size: 17px; letter-spacing: .01em; white-space: nowrap; }
.strip-item svg { width: 20px; height: 20px; color: var(--amber); }

/* ============================================================
   SECTION scaffolding
   ============================================================ */
section { position: relative; }
.section-light { background: var(--paper); color: var(--on-light); padding: 110px 0; }
.section-cream { background: var(--cream); color: var(--on-light); padding: 110px 0; }
.section-dark { background: var(--ink); color: var(--on-dark); padding: 110px 0; }
.shead { max-width: 720px; margin-bottom: 56px; }
.shead.center { margin-left: auto; margin-right: auto; text-align: center; }
.shead .eyebrow { color: var(--amber-deep); margin-bottom: 16px; display: block; }
.section-dark .shead .eyebrow { color: var(--amber); }
.shead h2 { font-size: clamp(32px, 4vw, 52px); }
.shead p { font-size: 19px; color: var(--on-light-soft); margin-top: 18px; }
.section-dark .shead p { color: var(--on-dark-soft); }

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

/* ============================================================
   FEATURES — bento
   ============================================================ */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fcard {
  background: #fff; border: 1px solid var(--line-light); border-radius: var(--radius);
  padding: 28px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  position: relative; overflow: hidden;
}
.fcard:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(10,10,10,.28); border-color: #ddd5c8; }
.fcard .fnum { font-family: var(--display); font-weight: 700; font-size: 13px; color: var(--stone); letter-spacing: .04em; }
.fcard .ficon { width: 46px; height: 46px; border-radius: 12px; background: var(--cream); display: grid; place-items: center; margin: 16px 0 18px; border: 1px solid #f0e4b8; }
.fcard .ficon svg { width: 23px; height: 23px; color: var(--amber-deep); }
.fcard h3 { font-size: 20px; margin-bottom: 8px; }
.fcard p { font-size: 15.5px; color: var(--on-light-soft); line-height: 1.55; }
.fcard.span2 { grid-column: span 2; }
.fcard.feature-amber { background: linear-gradient(155deg, var(--amber), #f6b43e); border-color: var(--amber-deep); }
.fcard.feature-amber .fnum, .fcard.feature-amber h3, .fcard.feature-amber p { color: var(--ink); }
.fcard.feature-amber p { color: rgba(10,10,10,.72); }
.fcard.feature-amber .ficon { background: rgba(10,10,10,.12); border-color: rgba(10,10,10,.18); }
.fcard.feature-amber .ficon svg { color: var(--ink); }

/* ============================================================
   TEMPLATES showcase
   ============================================================ */
.tpl-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.tpl-cats { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.cat {
  font-weight: 700; font-size: 14.5px; padding: 9px 17px; border-radius: 999px;
  border: 1px solid var(--line-light); background: #fff; color: var(--on-light-soft);
  cursor: pointer; transition: all .2s var(--ease);
}
.cat:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-1px); }
.cat.active { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }

.tpl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tpl {
  background: #fff; border: 1px solid var(--line-light); border-radius: var(--radius);
  overflow: hidden; cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.tpl:hover { transform: translateY(-5px); box-shadow: 0 28px 56px -30px rgba(10,10,10,.3); border-color: #ddd5c8; }
.tpl-preview { height: 178px; background: var(--cream); position: relative; overflow: hidden; border-bottom: 1px solid #f0e7c8; }
.tpl:hover .tpl-preview .mini-card { transform: translateY(-6px) rotate(-1deg); }
.tpl-body { padding: 18px 20px 20px; }
.tpl-body .tcat { font-weight: 800; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--amber-deep); }
.tpl-body h3 { font-size: 18.5px; margin: 9px 0 6px; }
.tpl-body p { font-size: 14.5px; color: var(--on-light-soft); }
.tpl-meta { display: flex; align-items: center; gap: 14px; margin-top: 15px; font-size: 13px; color: var(--stone); font-weight: 600; }
.tpl-meta .m { display: flex; align-items: center; gap: 5px; }
.tpl-meta svg { width: 14px; height: 14px; }

/* mini sketch preview inside template card */
.mini-card {
  position: absolute; left: 22px; top: 20px; right: -40px; bottom: -40px;
  background: #fff; border: 1px solid rgba(10,10,10,.08); border-radius: 12px 12px 0 0;
  padding: 16px; transition: transform .35s var(--ease);
  box-shadow: 0 18px 30px -22px rgba(0,0,0,.25);
}
.mini-card .mc-title { font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: -.01em; color: var(--ink); margin-bottom: 12px; }
.mini-row { display: flex; align-items: center; gap: 9px; padding: 5.5px 0; }
.mini-box { width: 15px; height: 15px; border: 1.5px solid rgba(10,10,10,.22); border-radius: 5px; flex: none; background: #fff; position: relative; }
.mini-row.done .mini-box { background: var(--amber); border-color: var(--amber-deep); }
.mini-row.done .mini-box::after { content: ""; position: absolute; left: 2.5px; top: 3px; width: 6px; height: 3px; border-left: 2px solid #0A0A0A; border-bottom: 2px solid #0A0A0A; transform: rotate(-45deg); }
.mini-line { height: 7px; border-radius: 4px; background: #ece5d8; }

/* ============================================================
   SPLIT showcase (photo + sketch overlay)
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split .ph {
  position: relative; border-radius: 22px; aspect-ratio: 4/3.4; max-height: 440px; overflow: hidden;
  background:
    repeating-linear-gradient(135deg, #211d17, #211d17 13px, #2b261d 13px, #2b261d 26px);
  border: 1px solid rgba(250,248,245,.14); display: grid; place-items: center; gap: 12px; align-content: center;
}
.split .ph::before {
  content: ""; width: 54px; height: 54px; border-radius: 14px; border: 2px dashed var(--stone);
  background: rgba(245,158,11,.10);
}
.split .ph .ph-label { font-family: "Space Mono", monospace; font-size: 12.5px; color: var(--stone-2); letter-spacing: .04em; background: rgba(10,10,10,.55); padding: 8px 13px; border-radius: 8px; border: 1px solid var(--line-dark); }
.split .ph-photo {
  border-radius: 22px; overflow: hidden; aspect-ratio: 4/3.4; max-height: 440px;
  border: 1px solid rgba(250,248,245,.14); box-shadow: 0 40px 80px -40px rgba(0,0,0,.7);
}
.split .ph-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.split.section-dark .feat-list { list-style: none; }
.feat-list { list-style: none; display: grid; gap: 18px; margin-top: 30px; }
.feat-list li { display: flex; gap: 14px; align-items: flex-start; }
.feat-list .fcheck { width: 26px; height: 26px; flex: none; border-radius: 8px; background: var(--amber); display: grid; place-items: center; margin-top: 1px; }
.feat-list .fcheck svg { width: 14px; height: 14px; color: var(--ink); }
.feat-list b { font-family: var(--display); font-weight: 600; font-size: 18px; display: block; }
.feat-list span { color: var(--on-dark-soft); font-size: 15.5px; }
.section-light .feat-list span { color: var(--on-light-soft); }

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.quote-wrap { max-width: 920px; margin: 0 auto; text-align: center; }
.quote-mark { font-family: var(--display); font-size: 90px; line-height: .4; color: var(--amber); height: 50px; }
.quote-wrap blockquote { font-family: var(--display); font-weight: 500; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.22; letter-spacing: -.02em; }
.quote-author { display: inline-flex; align-items: center; gap: 14px; margin-top: 36px; }
.quote-author .av { width: 52px; height: 52px; border-radius: 50%; background: var(--amber); color: var(--ink); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 20px; }
.quote-author .who { text-align: left; }
.quote-author .who b { font-family: var(--display); font-size: 17px; display: block; }
.quote-author .who span { font-size: 14.5px; color: var(--on-dark-soft); }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 80px; }
.stat { text-align: center; padding: 0 12px; }
.stat .n { font-family: var(--display); font-weight: 700; font-size: clamp(40px, 5vw, 60px); color: var(--amber); letter-spacing: -.03em; }
.stat .l { color: var(--on-dark-soft); font-size: 15px; margin-top: 6px; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta-box {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--amber) 0%, #f6b840 55%, #f8c869 100%);
  border-radius: 30px; padding: 80px 56px; text-align: center; color: var(--ink);
}
.cta-box::after {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(10,10,10,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(10,10,10,.06) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(circle at 50% 0%, #000, transparent 75%);
          mask-image: radial-gradient(circle at 50% 0%, #000, transparent 75%);
}
.cta-box > * { position: relative; z-index: 2; }
.cta-box h2 { font-size: clamp(34px, 4.6vw, 58px); }
.cta-box p { font-size: 19px; color: rgba(10,10,10,.74); margin: 18px auto 34px; max-width: 48ch; }
.cta-box .hero-cta { justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
footer.ft { background: var(--ink); color: var(--on-dark); padding: 80px 0 40px; }
.ft-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--line-dark); }
.ft-brand p { color: var(--on-dark-soft); font-size: 15px; max-width: 32ch; margin: 18px 0 20px; }
.ft-made { font-size: 14px; color: var(--stone-2); }
.ft-col h4 { font-family: var(--body); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--stone-2); margin-bottom: 18px; }
.ft-col a { display: block; color: var(--on-dark-soft); font-size: 15px; padding: 6px 0; transition: color .2s; }
.ft-col a:hover { color: var(--on-dark); }
.ft-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; color: var(--stone-2); font-size: 14px; flex-wrap: wrap; gap: 12px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 10px; }
  .hero-stage { height: 440px; order: 2; }
  .hero { padding-top: 120px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .fcard.span2 { grid-column: span 2; }
  .tpl-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .ft-top { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 620px) {
  body { font-size: 17px; }
  .wrap { padding: 0 20px; }
  .bento, .tpl-grid, .stat-row { grid-template-columns: 1fr; }
  .fcard.span2 { grid-column: span 1; }
  .ft-top { grid-template-columns: 1fr; }
  .hero p.sub { max-width: none; }
  .cta-box { padding: 54px 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .sketch-card.float, .strip-inner { animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

body.no-float .sketch-card.float, body.no-float .strip-inner { animation: none !important; }

/* ============================================================
   V2 — $10M-caliber refinements (appended; overrides above)
   ============================================================ */

/* type system: mono eyebrows, tighter display */
.eyebrow { font-family: "Space Mono", monospace; font-weight: 400; font-size: 11.5px; letter-spacing: .22em; }
.shead h2 { font-size: clamp(34px, 4.4vw, 56px); letter-spacing: -0.03em; }
.section-light, .section-cream, .section-dark { padding: 130px 0; }

/* compact, premium buttons */
.btn { padding: 13px 22px; font-size: 15px; }
.nav .btn { padding: 10px 18px; font-size: 14px; }

/* ---------- hero v2: centered, product-forward ---------- */
.hero-v2 { padding: 150px 0 0; }
.hero-v2 .wrap { display: block; }
.hero-center { max-width: 920px; margin: 0 auto; text-align: center; position: relative; z-index: 2; }
.hero-v2 h1 { font-size: clamp(46px, 6.2vw, 90px); letter-spacing: -0.035em; line-height: 0.98; }
.hero-v2 p.sub { margin: 28px auto 36px; max-width: 54ch; }
.hero-v2 .hero-cta, .hero-v2 .hero-trust { justify-content: center; }

/* product mock as the hero image, continuous black */
.hero-product { background: var(--ink); padding: 76px 0 130px; position: relative; }
.hero-product .pview { z-index: 2; }
.pv-bar i { transition: width .6s var(--ease); }

/* ---------- features: editorial hairline grid ---------- */
.bento { gap: 0; border-top: 1px solid var(--line-light); }
.fcard, .fcard.feature-amber {
  background: transparent; border: none; border-bottom: 1px solid var(--line-light);
  border-radius: 0; padding: 30px 40px 36px 0; box-shadow: none;
}
.fcard:hover, .fcard.feature-amber:hover { transform: none; box-shadow: none; border-color: var(--line-light); }
.fcard .ficon, .fcard.feature-amber .ficon { display: block; width: auto; height: auto; background: none; border: none; margin: 18px 0 12px; place-items: unset; }
.fcard .ficon svg, .fcard.feature-amber .ficon svg { width: 22px; height: 22px; color: var(--amber-deep); }
.fcard .fnum, .fcard.feature-amber .fnum { font-family: "Space Mono", monospace; font-size: 11px; letter-spacing: .08em; color: var(--stone); }
.fcard.feature-amber .fnum { color: var(--amber-deep); }
.fcard.feature-amber h3 { color: var(--on-light); }
.fcard.feature-amber p { color: var(--on-light-soft); }

/* refined CTA panel */
.cta-box { border-radius: 24px; padding: 90px 56px; }

@media (max-width: 620px) {
  .fcard, .fcard.feature-amber { padding-right: 0; }
  .hero-product { padding: 48px 0 90px; }
}

/* ============================================================
   ALL-DARK THEME  (body.all-dark) — fully black surfaces
   ============================================================ */
body.all-dark { background: var(--ink); color: var(--on-dark); }
body.all-dark .section-light,
body.all-dark .section-cream { background: var(--ink); color: var(--on-dark); }
/* subtle alternating tone so sections don't blur together */
body.all-dark #templates { background: var(--ink-2); }
body.all-dark .shead p { color: var(--on-dark-soft); }
body.all-dark .shead .eyebrow { color: var(--amber); }

/* feature cards */
body.all-dark .fcard { background: var(--ink-2); border-color: var(--line-dark); }
body.all-dark .fcard:hover { border-color: rgba(250,248,245,.22); box-shadow: 0 24px 50px -28px rgba(0,0,0,.6); }
body.all-dark .fcard h3 { color: var(--on-dark); }
body.all-dark .fcard p { color: var(--on-dark-soft); }
body.all-dark .fcard .fnum { color: var(--stone-2); }
body.all-dark .fcard .ficon { background: rgba(245,158,11,.12); border-color: rgba(245,158,11,.22); }
body.all-dark .fcard .ficon svg { color: var(--amber); }
/* keep the amber feature card as the bright accent — unchanged */

/* template chips + cards */
body.all-dark .cat { background: rgba(250,248,245,.04); border-color: var(--line-dark); color: var(--on-dark-soft); }
body.all-dark .cat:hover { border-color: rgba(250,248,245,.3); color: var(--on-dark); }
body.all-dark .cat.active { background: var(--paper); color: var(--ink); border-color: var(--paper); }
body.all-dark .tpl { background: var(--ink-3); border-color: var(--line-dark); }
body.all-dark .tpl:hover { border-color: rgba(250,248,245,.22); box-shadow: 0 28px 56px -30px rgba(0,0,0,.65); }
body.all-dark .tpl-preview { background: #211d17; border-bottom-color: var(--line-dark); }
body.all-dark .tpl-body h3 { color: var(--on-dark); }
body.all-dark .tpl-body p { color: var(--on-dark-soft); }
body.all-dark .tpl-meta { color: var(--stone-2); }
body.all-dark .btn-ghost-light { color: var(--on-dark); border-color: var(--line-dark); }
body.all-dark .btn-ghost-light:hover { background: rgba(250,248,245,.06); border-color: rgba(250,248,245,.28); }
/* keep the final CTA bright amber even on the all-dark site — it's the one bold act-now moment */
body.all-dark .cta-box .btn-ghost-light { color: var(--ink); border-color: rgba(10,10,10,.3); }
body.all-dark .cta-box .btn-ghost-light:hover { background: rgba(255,255,255,.4); border-color: var(--ink); }

/* V2 editorial features — all-dark (must follow the all-dark block) */
body.all-dark .bento { border-top-color: var(--line-dark); }
body.all-dark .fcard, body.all-dark .fcard.feature-amber { background: transparent; border: none; border-bottom: 1px solid var(--line-dark); box-shadow: none; }
body.all-dark .fcard:hover, body.all-dark .fcard.feature-amber:hover { border-color: var(--line-dark); box-shadow: none; }
body.all-dark .fcard .ficon, body.all-dark .fcard.feature-amber .ficon { background: none; border: none; }
body.all-dark .fcard .ficon svg, body.all-dark .fcard.feature-amber .ficon svg { color: var(--amber); }
body.all-dark .fcard.feature-amber h3 { color: var(--on-dark); }
body.all-dark .fcard.feature-amber p { color: var(--on-dark-soft); }
