/* Cheezy Templates — store styles. Brand: maroon #6B1D2A, gold #C9A86A, cream #F5EFE6. */
@font-face { font-family: "Fraunces"; src: url("fonts/Fraunces-Black.ttf") format("truetype"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("fonts/CaveatVN-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --cream: #F5EFE6; --cream2: #EFE6D6; --maroon: #6B1D2A; --maroon2: #571520;
  --gold: #C9A86A; --gold2: #B08D4F; --ink: #2B1E1B; --muted: #6E5B52;
  --white: #FFFDF8; --line: #E3D7C2; --green: #2E7D4F;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--cream); background-image: radial-gradient(circle at 1px 1px, rgba(201, 168, 106, 0.14) 1px, transparent 0); background-size: 28px 28px; color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 1.6; }
a { color: var(--maroon); }
img, video { max-width: 100%; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
header.site { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
header.site .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { font-family: "Fraunces", Georgia, serif; font-weight: 900; font-size: 24px; color: var(--maroon); text-decoration: none; letter-spacing: .2px; white-space: nowrap; }
.logo span { color: var(--gold2); }
nav.main { margin-left: auto; display: flex; gap: 22px; }
nav.main a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 600; }
nav.main a:hover { color: var(--maroon); }
.nav-toggle { display: none; }
@media (max-width: 640px) {
  .logo { font-size: 20px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; width: 44px; height: 44px; flex-shrink: 0; border: 1.5px solid var(--line); border-radius: 8px; background: var(--white); color: var(--maroon); font-size: 22px; line-height: 1; cursor: pointer; font-family: inherit; }
  .nav-toggle:active { background: var(--cream2); }
  nav.main { display: none; position: absolute; top: 100%; left: 0; right: 0; margin-left: 0; flex-direction: column; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 14px 28px rgba(43,30,27,.12); padding: 6px 20px 12px; z-index: 60; }
  nav.main a { font-size: 16px; padding: 11px 2px; border-bottom: 1px solid var(--cream2); }
  nav.main a:last-child { border-bottom: 0; }
  header.site.nav-open nav.main { display: flex; }
}

/* Hero */
.hero { padding: 64px 0 48px; text-align: center; }
.hero .kicker { font-family: "Caveat", cursive; font-size: 26px; color: var(--gold2); }
.hero h1 { font-family: "Fraunces", Georgia, serif; font-weight: 900; font-size: clamp(38px, 6vw, 60px); line-height: 1.08; color: var(--maroon); margin: 8px 0 14px; }
.hero p.lede { font-size: 19px; color: var(--muted); max-width: 640px; margin: 0 auto 22px; }
.hero .cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-block; padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid var(--maroon); cursor: pointer; }
.btn-primary { background: var(--maroon); color: #FFF6E8; }
.btn-primary:hover { background: var(--maroon2); }
.btn-ghost { background: transparent; color: var(--maroon); }
.btn-ghost:hover { background: #EFE3CE; }
.btn-gold { background: var(--gold); border-color: var(--gold); color: #2B1E1B; }
.btn-gold:hover { background: var(--gold2); color: #FFF6E8; }
.trust { margin-top: 18px; font-size: 14px; color: var(--muted); }
.trust b { color: var(--maroon); }

/* Sections */
section.block { padding: 36px 0; }
section.block h2 { font-family: "Fraunces", Georgia, serif; font-weight: 900; font-size: 30px; color: var(--maroon); margin-bottom: 6px; }
section.block .sub { color: var(--muted); margin-bottom: 22px; max-width: 680px; }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.card .thumb { aspect-ratio: 16/10; background: var(--cream2); display: flex; align-items: center; justify-content: center; font-size: 64px; border-bottom: 1px solid var(--line); }
.card .thumb img, .prod-hero .visual .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { font-family: "Fraunces", Georgia, serif; font-size: 22px; color: var(--maroon); line-height: 1.25; }
.card h3 a { color: var(--maroon); text-decoration: none; }
.card .tag { font-size: 15px; color: var(--muted); }
.badges { display: flex; gap: 6px; flex-wrap: wrap; }
.badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #EFE3CE; color: var(--maroon); border: 1px solid var(--line); }
.badge.free { background: #DDEEDF; color: var(--green); border-color: #BFDCC4; }
.badge.soon { background: #E8E2D5; color: var(--muted); border-color: var(--line); }
.card .price-row { display: flex; align-items: baseline; gap: 10px; margin-top: auto; padding-top: 8px; }
.price { font-family: "Fraunces", Georgia, serif; font-size: 26px; color: var(--maroon); }
.price .old { font-size: 16px; color: var(--muted); text-decoration: line-through; margin-right: 6px; font-family: inherit; }
.price-note { font-size: 13px; color: var(--muted); }
.card .actions { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.card .actions .btn { padding: 10px 18px; font-size: 15px; }
.card.coming { border-style: dashed; background: transparent; }
.card.coming .thumb { background: transparent; font-size: 40px; color: var(--gold2); }
.card.coming h3 { color: var(--muted); }

/* Free strip */
.free-strip { background: var(--maroon); color: #F5EFE6; border-radius: 16px; padding: 28px; }
.block .free-strip h2 { color: #F5EFE6; font-family: "Fraunces", Georgia, serif; font-size: 28px; margin-bottom: 6px; }
.free-strip p { color: #E8D9BE; max-width: 640px; }
.free-strip .actions { margin-top: 16px; display: flex; gap: 10px; flex-wrap: wrap; }
.free-strip .btn-ghost { border-color: #F5EFE6; color: #F5EFE6; }
.free-strip .btn-ghost:hover { background: rgba(255,255,255,.12); }

/* Product page */
.crumbs { font-size: 14px; color: var(--muted); padding: 22px 0 0; }
.crumbs a { color: var(--muted); }
.prod-hero { padding: 18px 0 30px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 36px; align-items: start; }
@media (max-width: 820px) { .prod-hero { grid-template-columns: 1fr; } }
.prod-hero .visual { background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.prod-hero .visual .thumb { aspect-ratio: 16/10; background: var(--cream2); display: flex; align-items: center; justify-content: center; font-size: 84px; }
.prod-hero h1 { font-family: "Fraunces", Georgia, serif; font-weight: 900; font-size: clamp(30px, 4.5vw, 44px); line-height: 1.12; color: var(--maroon); }
.prod-hero .tagline { font-size: 19px; color: var(--muted); margin: 10px 0 14px; }
.buy-box { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 20px; margin-top: 18px; }
.buy-box .price { font-size: 32px; }
.buy-box .fine { font-size: 13px; color: var(--muted); margin-top: 6px; }
.buy-box .actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.buy-box .actions .btn { flex: 1; text-align: center; min-width: 150px; }
.prose h2 { font-family: "Fraunces", Georgia, serif; font-size: 26px; color: var(--maroon); margin: 30px 0 10px; }
.prose h3 { font-size: 18px; color: var(--maroon); margin: 18px 0 6px; }
.prose p, .prose li { color: #3A2E2A; }
.prose ul, .prose ol { padding-left: 22px; margin: 6px 0 12px; }
.prose li { margin-bottom: 5px; }
.prose code { background: #EFE3CE; padding: 1px 6px; border-radius: 8px; font-size: 14px; }
.zip-list { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 14px; line-height: 1.9; white-space: pre-wrap; word-break: break-word; }
.version { border-left: 3px solid var(--gold); padding: 4px 0 4px 14px; margin-bottom: 14px; }
.version b { color: var(--maroon); }
.version span { color: var(--muted); font-size: 14px; }
.related { margin-top: 10px; }

/* Simple pages */
.simple { padding: 30px 20px 60px; max-width: 760px; }
.simple h1 { font-family: "Fraunces", Georgia, serif; font-size: 36px; color: var(--maroon); margin-bottom: 12px; }
.simple h2 { font-family: "Fraunces", Georgia, serif; font-size: 24px; color: var(--maroon); margin: 26px 0 8px; }
.simple p, .simple li { color: #3A2E2A; margin-bottom: 8px; }
.simple ul, .simple ol { padding-left: 22px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; margin-bottom: 12px; }
.faq-item h3 { font-size: 17px; color: var(--maroon); margin-bottom: 4px; }

/* Footer */
footer.site { border-top: 1px solid var(--line); margin-top: 40px; padding: 28px 0 40px; background: var(--white); }
footer.site .wrap { display: flex; gap: 24px; flex-wrap: wrap; align-items: baseline; }
footer.site .f-brand { font-family: "Fraunces", Georgia, serif; font-size: 20px; color: var(--maroon); }
footer.site nav { display: flex; gap: 18px; flex-wrap: wrap; margin-left: auto; }
footer.site nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
footer.site .copy { width: 100%; font-size: 13px; color: var(--muted); margin-top: 10px; }
