:root {
  --ink: #1e2230; --muted: #63677a; --cream: #fffaf1; --paper: #ffffff;
  --yellow: #ffd95a; --orange: #ff8a57; --red: #ef5d65; --green: #50b979;
  --sky: #65bde4; --blue: #5389df; --purple: #9875df; --pink: #e96ca4;
  --line: #e7e2d8; --shadow: 0 20px 55px rgba(36, 32, 26, 0.11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: "Trebuchet MS", "Arial Rounded MT Bold", Arial, sans-serif; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(36, 39, 48, 0.08); background: rgba(255, 250, 241, 0.9); backdrop-filter: blur(16px); }
.header-inner { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { width: 205px; height: 86px; display: block; flex: none; overflow: hidden; border-radius: 18px; background: #fff; }
.brand-logo-image { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: clamp(20px, 3vw, 38px); font-size: 0.92rem; font-weight: 700; color: #4c5060; }
.desktop-nav a { position: relative; padding-block: 8px; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 3px; border-radius: 10px; background: var(--orange); transition: right .2s ease; }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { right: 0; }
.header-cta, .primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; border: 0; border-radius: 14px; padding: 0 18px; background: var(--ink); color: #fff; font-weight: 800; cursor: pointer; box-shadow: 0 7px 0 #0d0f17; transition: transform .18s ease, box-shadow .18s ease; }
.header-cta:hover, .primary-button:hover { transform: translateY(2px); box-shadow: 0 5px 0 #0d0f17; }

.hero { position: relative; overflow: hidden; min-height: 660px; padding: 80px 0 72px; background: linear-gradient(135deg, #fffaf0 0%, #fff7e3 52%, #fff4ed 100%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .22; pointer-events: none; background-image: radial-gradient(#e5ad72 1px, transparent 1px); background-size: 24px 24px; mask-image: linear-gradient(to right, #000, transparent 57%); }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(1px); opacity: .28; }
.hero-blob-one { width: 320px; height: 320px; right: -80px; top: -100px; background: #ff8f6f; }
.hero-blob-two { width: 240px; height: 240px; left: -110px; bottom: -110px; background: #76c9df; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 68px; }
.eyebrow, .kicker { color: #d95361; text-transform: uppercase; letter-spacing: .14em; font-size: .77rem; font-weight: 900; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: white; border: 1px solid #f1ded2; padding: 9px 13px; border-radius: 999px; box-shadow: 0 7px 22px rgba(80,53,34,.06); }
.eyebrow span { color: #f2ae34; }
.hero h1 { max-width: 680px; margin: 23px 0 22px; font-size: clamp(3.1rem, 6vw, 5.7rem); line-height: .98; letter-spacing: -.065em; font-weight: 900; }
.scribble { position: relative; color: var(--blue); white-space: nowrap; }
.scribble::after { content: ""; position: absolute; left: 1%; right: -1%; bottom: -.08em; height: 12px; border-top: 5px solid var(--yellow); border-radius: 50%; transform: rotate(-1.5deg); }
.hero-copy > p { max-width: 610px; margin: 0; color: var(--muted); font-family: Arial, sans-serif; font-size: 1.13rem; line-height: 1.7; }
.hero-search { width: min(610px, 100%); min-height: 64px; display: flex; align-items: center; gap: 10px; margin-top: 30px; padding: 7px 7px 7px 17px; border: 2px solid #e9dfcf; border-radius: 19px; background: #fff; box-shadow: 0 14px 35px rgba(75,57,37,.1); }
.hero-search > span { font-family: Arial; font-size: 1.7rem; transform: rotate(-15deg); color: #8a8d99; }
.hero-search input { min-width: 0; flex: 1; border: 0; outline: 0; padding: 0 5px; color: var(--ink); background: transparent; font-family: Arial, sans-serif; font-size: 1rem; }
.hero-search input::placeholder { color: #9a9ca4; }
.hero-search button { min-height: 48px; border: 0; border-radius: 13px; padding: 0 24px; background: var(--orange); color: #fff; font-weight: 900; cursor: pointer; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 17px; color: #6f705f; font-family: Arial, sans-serif; font-size: .86rem; }

.hero-art { position: relative; height: 500px; }
.paper-card { position: absolute; display: flex; flex-direction: column; align-items: center; background: #fff; border: 1px solid #ded9cf; box-shadow: var(--shadow); }
.paper-back { width: 260px; height: 365px; right: 9px; top: 52px; transform: rotate(11deg); border-radius: 4px; }
.paper-front { width: 294px; height: 416px; left: 28px; top: 25px; transform: rotate(-7deg); border-radius: 4px; z-index: 2; }
.paper-card::before { content: ""; position: absolute; inset: 16px; border: 2px dashed #242734; border-radius: 10px; opacity: .55; }
.paper-label { z-index: 1; margin-top: 48px; padding: 5px 12px; border: 2px solid #252837; border-radius: 999px; font-size: .72rem; font-weight: 900; letter-spacing: .13em; }
.paper-emoji { z-index: 1; margin-top: 28px; font-size: 8rem; line-height: 1; text-shadow: 0 0 0 #000; }
.grayscale { filter: grayscale(1) contrast(1.4); }
.paper-squiggle, .paper-stars { z-index: 1; margin-top: 13px; font-family: Georgia, serif; font-size: 1.5rem; letter-spacing: .12em; }
.paper-stars { margin-top: 15px; font-size: 1.25rem; }
.site-signature { position: absolute; z-index: 1; right: 27px; bottom: 24px; font: 700 .57rem Arial, sans-serif; color: #60616c; }
.new-sticker { position: absolute; z-index: 4; right: -25px; top: -21px; display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--ink); font-size: .82rem; font-weight: 900; transform: rotate(12deg); box-shadow: 5px 6px 0 var(--ink); }
.rainbow-stroke { position: absolute; width: 188px; height: 95px; right: 8px; top: 8px; border: 14px solid #ef6672; border-bottom: 0; border-radius: 110px 110px 0 0; box-shadow: inset 0 9px 0 #f5bc43, inset 0 18px 0 #63bc85, inset 0 27px 0 #5f9ee7; opacity: .8; }
.sun-doodle { position: absolute; left: -18px; top: 15px; color: #f3ba43; font-size: 4.4rem; transform: rotate(-12deg); }
.crayon { position: absolute; z-index: 5; width: 18px; height: 135px; border: 2px solid #333; border-radius: 5px; box-shadow: 4px 5px 0 rgba(32,35,46,.15); }
.crayon::before { content: ""; position: absolute; left: -2px; top: -22px; border-left: 9px solid transparent; border-right: 9px solid transparent; border-bottom: 22px solid; }
.crayon-orange { right: 34px; bottom: 19px; background: #ff8959; transform: rotate(37deg); }
.crayon-orange::before { border-bottom-color: #ff8959; }
.crayon-blue { right: 87px; bottom: -2px; height: 116px; background: #5e9ce3; transform: rotate(58deg); }
.crayon-blue::before { border-bottom-color: #5e9ce3; }
.hero-badge { position: absolute; z-index: 6; left: -16px; bottom: 2px; width: 120px; height: 120px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 3px solid var(--ink); border-radius: 50%; background: #67c6a0; color: #fff; transform: rotate(-8deg); box-shadow: 7px 8px 0 var(--ink); }
.hero-badge strong { font-size: 1.9rem; line-height: 1; }
.hero-badge span { font-size: .76rem; margin-top: 5px; font-weight: 900; text-transform: uppercase; }

.trust-strip { padding: 24px 0; border-block: 1px solid #e8e0d4; background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid > div { display: flex; align-items: center; gap: 13px; padding: 4px 26px; border-right: 1px solid #ebe5dc; }
.trust-grid > div:first-child { padding-left: 0; } .trust-grid > div:last-child { border-right: 0; }
.trust-grid > div > span { width: 43px; height: 43px; flex: none; display: grid; place-items: center; border-radius: 14px; background: #fff3da; color: #dc7658; font-size: 1.25rem; font-weight: 900; }
.trust-grid p { display: flex; flex-direction: column; gap: 3px; margin: 0; }
.trust-grid strong { font-size: .92rem; }
.trust-grid small { color: #7c7e88; font: .76rem Arial, sans-serif; }

.section { padding-block: 90px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 35px; }
.section-heading h2, .how-copy h2, .grown-copy h2 { margin: 8px 0 0; font-size: clamp(2.2rem, 4vw, 3.55rem); line-height: 1.08; letter-spacing: -.045em; }
.kicker { margin: 0; }
.text-button { display: inline-flex; gap: 10px; border: 0; background: transparent; color: #d85863; font-weight: 900; cursor: pointer; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 17px; }
.category-card { position: relative; min-height: 145px; display: flex; align-items: center; gap: 16px; overflow: hidden; padding: 20px; border: 1px solid #e7e0d6; border-radius: 23px; background: #fff; text-align: left; cursor: pointer; box-shadow: 0 8px 0 rgba(30,34,48,.045); transition: transform .18s ease, box-shadow .18s ease; }
.category-card::after { content: ""; position: absolute; right: -30px; bottom: -45px; width: 100px; height: 100px; border-radius: 50%; background: var(--category-accent); opacity: .18; }
.category-card:hover { transform: translateY(-5px) rotate(-.5deg); box-shadow: 0 13px 0 rgba(30,34,48,.06); }
.category-icon { width: 64px; height: 64px; display: grid; place-items: center; flex: none; border-radius: 19px; background: color-mix(in srgb, var(--category-accent) 23%, white); font-size: 2.55rem; }
.category-card > span:nth-child(2) { display: flex; flex-direction: column; gap: 6px; }
.category-card strong { font-size: 1.05rem; }
.category-card small { color: #7c7f8c; font: .78rem Arial, sans-serif; }
.category-arrow { position: absolute; right: 13px; top: 12px; color: #8c8e98; font-family: Arial, sans-serif; }

.downloads-section { background: #fff; border-block: 1px solid #eee8df; }
.download-heading-row { align-items: flex-start; }
.filter-row { max-width: 580px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.filter-pill { border: 1px solid #ded9d0; border-radius: 999px; padding: 9px 13px; background: #fff; color: #686b77; font-size: .8rem; font-weight: 800; cursor: pointer; }
.filter-pill.active { border-color: var(--ink); background: var(--ink); color: #fff; }
.results-note { margin: -17px 0 22px; color: #6c6f79; font: .9rem Arial, sans-serif; }
.printable-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.printable-card { overflow: hidden; border: 1px solid #e6e1da; border-radius: 25px; background: #fff; box-shadow: 0 12px 35px rgba(37,34,28,.07); transition: transform .2s ease, box-shadow .2s ease; }
.printable-card:hover { transform: translateY(-6px); box-shadow: 0 20px 45px rgba(37,34,28,.12); }
.printable-preview { position: relative; min-height: 305px; margin: 13px; display: flex; flex-direction: column; align-items: center; overflow: hidden; border-radius: 17px; background: #f0f7f1; }
.printable-preview::before { content: ""; position: absolute; inset: 19px; border: 2px dashed #343641; border-radius: 13px; opacity: .55; }
.printable-preview.mint { background: #e9f6ec; } .printable-preview.sky { background: #eaf6fb; } .printable-preview.blue { background: #eaf0fb; }
.printable-preview.lilac { background: #f4edfb; } .printable-preview.peach { background: #fff0e9; } .printable-preview.yellow { background: #fff8db; }
.preview-pin { position: absolute; top: -5px; left: 50%; width: 13px; height: 13px; border-radius: 50%; background: #e15a62; box-shadow: 0 2px 0 #8f343a; }
.preview-title { z-index: 1; margin-top: 41px; padding: 5px 10px; border: 2px solid #343641; border-radius: 999px; font-size: .66rem; font-weight: 900; letter-spacing: .1em; }
.preview-icon { z-index: 1; margin-top: 27px; font-size: 6.8rem; line-height: 1; }
.uploaded-preview { z-index: 1; width: 62%; aspect-ratio: 4/5; margin-top: 22px; object-fit: cover; border: 2px solid #343641; border-radius: 8px; filter: grayscale(.25); }
.preview-doodles { z-index: 1; margin-top: 20px; letter-spacing: .6em; color: #343641; }
.preview-brand { position: absolute; z-index: 1; right: 26px; bottom: 24px; font: 700 .57rem Arial, sans-serif; color: #696b73; }
.printable-info { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 6px 20px 22px; }
.category-tag { color: #d45d68; font: 800 .72rem Arial, sans-serif; text-transform: uppercase; letter-spacing: .08em; }
.printable-info h3 { margin: 6px 0 6px; font-size: 1.14rem; }
.printable-info p { margin: 0; color: #777a85; font: .78rem Arial, sans-serif; }
.printable-info > a { width: 46px; height: 46px; display: grid; place-items: center; flex: none; border: 0; border-radius: 14px; background: var(--ink); color: #fff; font-size: 1.25rem; font-weight: 900; cursor: pointer; box-shadow: 0 5px 0 #0d0f17; }
.empty-state { min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px; border: 2px dashed #dcd6cc; border-radius: 25px; text-align: center; background: var(--cream); }
.empty-state span { font-size: 2.4rem; } .empty-state h3 { margin: 14px 0 5px; }
.empty-state p { margin: 0 0 20px; color: var(--muted); font-family: Arial, sans-serif; }
.empty-state button { border: 0; border-radius: 12px; padding: 11px 16px; background: var(--ink); color: #fff; font-weight: 800; cursor: pointer; }

.how-section { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 90px; }
.how-copy > p:not(.kicker) { max-width: 500px; color: var(--muted); font: 1rem/1.7 Arial, sans-serif; }
.how-copy .primary-button { margin-top: 18px; }
.steps-list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.steps-list li { min-height: 105px; display: flex; align-items: center; gap: 22px; padding: 20px 24px; border: 1px solid #e7e0d5; border-radius: 22px; background: #fff; box-shadow: 0 8px 0 rgba(30,34,48,.045); }
.steps-list li > span { width: 60px; height: 60px; display: grid; place-items: center; flex: none; border-radius: 19px; background: #fff0cf; color: #d66b54; font-size: 1.5rem; font-weight: 900; transform: rotate(-4deg); }
.steps-list li:nth-child(2) > span { background: #e6f4ec; color: #388b5a; transform: rotate(3deg); }
.steps-list li:nth-child(3) > span { background: #eaf1fc; color: #477cc8; transform: rotate(-2deg); }
.steps-list strong { font-size: 1.12rem; }
.steps-list p { margin: 5px 0 0; color: var(--muted); font: .9rem Arial, sans-serif; }

.grown-ups { overflow: hidden; padding: 82px 0; background: #24303b; color: #fff; }
.grown-ups-inner { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: 85px; }
.grown-art { position: relative; height: 300px; }
.grown-paper { position: absolute; width: 190px; height: 255px; display: grid; place-items: center; border: 7px solid #fff; background: #fff7e7; color: #222a35; font-size: 6rem; font-weight: 900; box-shadow: 15px 16px 0 rgba(0,0,0,.25); }
.paper-one { left: 42px; top: 23px; transform: rotate(-11deg); }
.paper-two { left: 172px; top: 4px; transform: rotate(9deg); filter: grayscale(1); }
.grown-pencil { position: absolute; z-index: 4; left: 283px; bottom: -2px; color: #f7b94c; font-size: 7rem; transform: rotate(-18deg); }
.grown-copy .kicker { color: #fac34d; }
.grown-copy h2 { max-width: 700px; }
.grown-copy > p:not(.kicker) { max-width: 680px; color: #c9d1d6; font: 1rem/1.75 Arial, sans-serif; }
.grown-links { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 28px; }
.grown-links a { color: #fff; font-weight: 900; border-bottom: 2px solid #f5bf47; padding-bottom: 5px; }

.site-footer { padding: 65px 0 25px; background: #151b23; color: #fff; }
.footer-main { display: grid; grid-template-columns: 1.05fr 1.45fr; gap: 80px; padding-bottom: 45px; }
.footer-main > div:first-child > p { max-width: 360px; color: #aeb7c1; font: .9rem/1.7 Arial, sans-serif; }
.site-footer .brand { width: 250px; height: 105px; border-radius: 22px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-links > div { display: flex; flex-direction: column; gap: 12px; }
.footer-links strong { margin-bottom: 5px; color: #fff; font-size: .9rem; }
.footer-links a { color: #aeb7c1; font: .83rem Arial, sans-serif; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid #2d3540; color: #89939e; font: .76rem Arial, sans-serif; }

:focus-visible { outline: 3px solid #4c91e6; outline-offset: 3px; }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .hero { min-height: auto; padding-top: 65px; }
  .hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .hero-copy { text-align: center; }
  .hero-copy > p, .hero-search { margin-inline: auto; }
  .hero-notes { justify-content: center; }
  .hero-art { width: min(530px, 100%); margin: 0 auto; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .trust-grid > div:nth-child(2) { border-right: 0; }
  .trust-grid > div:nth-child(3), .trust-grid > div:nth-child(4) { padding-top: 17px; border-top: 1px solid #ebe5dc; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .printable-grid { grid-template-columns: repeat(2, 1fr); }
  .download-heading-row { flex-direction: column; }
  .filter-row { max-width: none; justify-content: flex-start; }
  .how-section { grid-template-columns: 1fr; gap: 45px; }
  .grown-ups-inner { grid-template-columns: 1fr; gap: 35px; }
  .grown-art { width: 420px; max-width: 100%; margin-inline: auto; }
  .grown-copy { text-align: center; }
  .grown-copy h2, .grown-copy > p { margin-inline: auto; }
  .grown-links { justify-content: center; }
  .footer-main { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 26px, 1180px); }
  .site-header { position: relative; }
  .header-inner { min-height: 76px; }
  .header-inner .brand { width: 150px; height: 63px; border-radius: 13px; }
  .header-cta { padding: 0 13px; font-size: 0; min-height: 43px; }
  .header-cta::before { content: "Browse"; font-size: .82rem; }
  .header-cta span { font-size: .9rem; }
  .hero { padding: 48px 0 55px; }
  .hero h1 { font-size: clamp(2.75rem, 14vw, 4.3rem); }
  .scribble { white-space: normal; }
  .hero-search { min-height: 57px; padding-left: 12px; }
  .hero-search button { min-height: 43px; padding: 0 15px; }
  .hero-search > span { display: none; }
  .hero-art { height: 410px; transform: scale(.9); transform-origin: top center; margin-bottom: -40px; }
  .paper-front { left: 20px; width: 260px; height: 370px; }
  .paper-back { width: 225px; height: 320px; }
  .paper-emoji { font-size: 6.4rem; }
  .hero-badge { left: 0; width: 102px; height: 102px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid > div { padding: 12px 0 !important; border: 0 !important; border-bottom: 1px solid #ebe5dc !important; }
  .trust-grid > div:last-child { border-bottom: 0 !important; }
  .section { padding-block: 68px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 18px; }
  .category-grid, .printable-grid { grid-template-columns: 1fr; }
  .category-card { min-height: 125px; }
  .printable-preview { min-height: 285px; }
  .steps-list li { padding: 17px; }
  .steps-list li > span { width: 52px; height: 52px; }
  .grown-ups { padding: 65px 0; }
  .grown-art { height: 245px; transform: scale(.78); transform-origin: left top; margin-bottom: -55px; }
  .grown-links { flex-direction: column; align-items: center; }
  .footer-main { gap: 32px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }

/* Printable detail */
.detail-page { min-height: 100vh; padding: 24px 0 70px; background: #fff8ed; }
.detail-header { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.back-link { color: #545868; font-size: .88rem; font-weight: 800; }
.detail-brand { width: 170px; height: 71px; display: block; overflow: hidden; border-radius: 15px; background: #fff; }
.detail-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(360px, .72fr); gap: 70px; align-items: start; padding-top: 34px; }
.print-sheet-wrap { position: sticky; top: 104px; display: grid; place-items: center; padding: 28px; border-radius: 30px; background: var(--sheet-accent); }
.print-sheet { position: relative; aspect-ratio: 210/297; width: min(100%, 550px); display: flex; flex-direction: column; align-items: center; background: #fff; box-shadow: 0 23px 55px rgba(38,35,29,.15); }
.sheet-border { position: absolute; inset: 5%; border: 2px dashed #242732; border-radius: 14px; }
.sheet-title { z-index: 1; margin-top: 13%; padding: 6px 12px; border: 2px solid #242732; border-radius: 999px; font-size: clamp(.66rem, 1.4vw, .9rem); font-weight: 900; letter-spacing: .12em; }
.sheet-icon { z-index: 1; margin-top: 12%; font-size: clamp(7rem, 19vw, 13rem); line-height: 1; }
.sheet-doodles { z-index: 1; margin-top: 9%; font-family: Georgia, serif; font-size: clamp(1rem, 2.7vw, 1.7rem); }
.sheet-site { position: absolute; right: 7%; bottom: 6.5%; color: #5f626d; font: 700 .62rem Arial, sans-serif; }
.detail-category { color: #d55d68; font: 900 .76rem Arial, sans-serif; letter-spacing: .13em; text-transform: uppercase; }
.detail-copy h1 { margin: 10px 0 16px; font-size: clamp(2.6rem, 5vw, 4.9rem); line-height: .98; letter-spacing: -.06em; }
.detail-copy > p:not(.grown-up-note) { color: var(--muted); font: 1rem/1.72 Arial, sans-serif; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 9px; margin: 24px 0; }
.detail-meta span { padding: 8px 11px; border: 1px solid #ded7cd; border-radius: 999px; background: #fff; color: #585b68; font: 700 .76rem Arial, sans-serif; }
.download-actions { display: grid; gap: 12px; }
.download-actions button, .download-actions a { min-height: 70px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; border: 0; border-radius: 18px; padding: 11px 20px; cursor: pointer; text-align: left; box-shadow: 0 7px 0 rgba(15,17,24,.18); }
.download-actions strong { font-size: 1rem; }
.download-actions small { margin-top: 4px; font: .75rem Arial, sans-serif; opacity: .75; }
.jpeg-button { background: var(--orange); color: #fff; }
.pdf-button { background: var(--ink); color: #fff; }
.activity-card { margin-top: 28px; padding: 22px; border: 1px solid #e4ddd3; border-radius: 20px; background: #fff; }
.activity-card h2 { margin: 0 0 12px; font-size: 1.08rem; }
.activity-card ul { margin: 0; padding-left: 19px; color: #60636f; font: .86rem/1.8 Arial, sans-serif; }
.grown-up-note { margin-top: 18px; color: #747681; font: .75rem/1.6 Arial, sans-serif; }

@media (max-width: 860px) {
  .detail-grid { grid-template-columns: 1fr; gap: 42px; }
  .print-sheet-wrap { position: relative; top: auto; }
}

@media print {
  body { background: #fff; }
  .detail-header, .detail-copy { display: none !important; }
  .detail-page, .detail-grid, .print-sheet-wrap { display: block; width: 100%; margin: 0; padding: 0; background: #fff; }
  .print-sheet { width: 210mm; height: 297mm; box-shadow: none; page-break-after: avoid; }
  @page { size: A4 portrait; margin: 0; }
}

/* Information pages */
.info-page { min-height: 100vh; padding: 24px 0 90px; background: #fffaf1; }
.info-article { max-width: 860px; padding-top: 70px; }
.info-article > h1 { max-width: 800px; margin: 12px 0 22px; font-size: clamp(3rem, 7vw, 5.8rem); line-height: .98; letter-spacing: -.065em; }
.info-intro { max-width: 760px; color: #5f6370; font: 1.12rem/1.75 Arial, sans-serif; }
.info-body { display: grid; gap: 16px; margin-top: 48px; }
.info-body section { padding: 25px 27px; border: 1px solid #e7e0d6; border-radius: 22px; background: #fff; }
.info-body h2 { margin: 0 0 9px; font-size: 1.25rem; }
.info-body p { margin: 0; color: #5f6370; font: .94rem/1.75 Arial, sans-serif; }
.info-body a { color: #ce5260; font-weight: 700; text-decoration: underline; }
.not-found { min-height: 100vh; display: grid; place-items: center; padding: 30px; background: #fff8e8; text-align: center; }
.not-found > div { max-width: 680px; }
.not-found > div > span { font-size: 4rem; filter: grayscale(1); }
.not-found h1 { margin: 11px 0 13px; font-size: clamp(2.6rem, 7vw, 5rem); line-height: 1; letter-spacing: -.06em; }
.not-found > div > p:not(.kicker) { color: var(--muted); font: 1rem/1.7 Arial, sans-serif; }
.not-found a { display: inline-flex; margin-top: 18px; padding: 13px 18px; border-radius: 13px; background: var(--ink); color: #fff; font-weight: 900; }

/* Admin */
.admin-page { min-height: 100vh; display: grid; grid-template-columns: 250px 1fr; background: #f4f5f7; color: #222631; }
.admin-sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 28px 20px 20px; background: #202632; color: #fff; }
.admin-logo { width: 190px; height: 80px; display: block; overflow: hidden; margin: 0 10px 28px; border-radius: 16px; background: #fff; }
.admin-sidebar nav { display: grid; gap: 7px; }
.admin-sidebar nav button, .admin-sidebar nav a { min-height: 46px; display: flex; align-items: center; gap: 11px; border: 0; border-radius: 12px; padding: 0 13px; background: transparent; color: #bac2ce; text-align: left; font-size: .86rem; font-weight: 800; cursor: pointer; }
.admin-sidebar nav button.active { background: #343c4b; color: #fff; }
.admin-sidebar nav button:hover, .admin-sidebar nav a:hover { color: #fff; }
.admin-user { margin-top: auto; display: flex; flex-direction: column; gap: 5px; padding: 15px 12px 4px; border-top: 1px solid #39414f; }
.admin-user span { color: #8f99a7; font: .7rem Arial, sans-serif; }
.admin-user strong { overflow: hidden; text-overflow: ellipsis; font-size: .78rem; }
.admin-user a { margin-top: 7px; color: #f4bd55; font-size: .74rem; font-weight: 800; }
.admin-workspace { min-width: 0; padding: 34px clamp(24px, 4vw, 58px) 65px; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-bottom: 27px; }
.admin-topbar p { margin: 0 0 4px; color: #818691; font: .78rem Arial, sans-serif; }
.admin-topbar h1 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.045em; }
.storage-badge { padding: 9px 12px; border: 1px solid #cae5d3; border-radius: 999px; background: #eaf7ee; color: #36764d; font: 800 .72rem Arial, sans-serif; }
.admin-status { margin: -8px 0 22px; padding: 13px 15px; border: 1px solid #ecd99f; border-radius: 12px; background: #fff8df; color: #6b5721; font: .82rem Arial, sans-serif; }
.admin-grid { display: grid; grid-template-columns: minmax(360px, .9fr) minmax(370px, 1.1fr); gap: 25px; align-items: start; }
.admin-form, .admin-list-panel { border: 1px solid #e0e2e6; border-radius: 20px; background: #fff; box-shadow: 0 12px 35px rgba(32,38,50,.06); }
.admin-form { display: grid; gap: 17px; padding: 24px; }
.admin-form-heading { display: flex; gap: 13px; align-items: center; padding-bottom: 6px; }
.admin-form-heading > span { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 13px; background: #fff0d0; color: #cf6852; font-size: 1.4rem; font-weight: 900; }
.admin-form h2, .admin-list-panel h2 { margin: 0; font-size: 1.08rem; }
.admin-form-heading p, .admin-list-head p { margin: 4px 0 0; color: #838791; font: .76rem Arial, sans-serif; }
.admin-form > label, .admin-two-col label { display: grid; gap: 7px; color: #4f535e; font-size: .76rem; font-weight: 900; }
.admin-form input:not([type="file"]), .admin-form select, .admin-form textarea { width: 100%; border: 1px solid #dcdfe4; border-radius: 11px; padding: 11px 12px; outline: 0; background: #fbfbfc; color: #252934; font: .84rem Arial, sans-serif; }
.admin-form input:focus, .admin-form select:focus, .admin-form textarea:focus { border-color: #5b87d4; box-shadow: 0 0 0 3px rgba(80,130,210,.12); }
.admin-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.upload-stack { display: grid; gap: 9px; }
.upload-stack label { min-height: 65px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 12px; border: 1px dashed #cfd3da; border-radius: 13px; background: #fafbfc; }
.upload-stack label > span { display: flex; flex-direction: column; gap: 3px; }
.upload-stack strong { font-size: .76rem; }
.upload-stack small { color: #858a94; font: .68rem Arial, sans-serif; }
.upload-stack input { max-width: 180px; color: #666b76; font: .68rem Arial, sans-serif; }
.admin-submit { min-height: 49px; border: 0; border-radius: 12px; background: #222936; color: #fff; font-weight: 900; cursor: pointer; box-shadow: 0 5px 0 #11151d; }
.admin-submit:disabled { opacity: .6; cursor: wait; }
.admin-list-panel { overflow: hidden; }
.admin-list-head { padding: 23px; border-bottom: 1px solid #eceef1; }
.admin-table { display: grid; }
.admin-table article { min-height: 72px; display: grid; grid-template-columns: 45px 1fr auto; align-items: center; gap: 12px; padding: 12px 19px; border-bottom: 1px solid #eef0f2; }
.admin-table article:last-child { border-bottom: 0; }
.admin-thumb { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; background: #f0f2f5; color: #4b7b5f; font-weight: 900; }
.admin-table article > div { display: flex; flex-direction: column; gap: 4px; }
.admin-table strong { font-size: .82rem; }
.admin-table small { color: #858a94; font: .7rem Arial, sans-serif; }
.published-pill { padding: 5px 8px; border-radius: 999px; background: #e8f5ec; color: #3c7e52; font: 800 .62rem Arial, sans-serif; text-transform: capitalize; }
.admin-empty { min-height: 290px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px; text-align: center; }
.admin-empty > span { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; background: #f2f3f5; color: #737984; font-size: 1.45rem; }
.admin-empty h3 { margin: 13px 0 5px; font-size: .94rem; }
.admin-empty p { max-width: 260px; margin: 0; color: #858a94; font: .76rem/1.5 Arial, sans-serif; }

@media (max-width: 1000px) { .admin-grid { grid-template-columns: 1fr; } }
@media (max-width: 700px) {
  .admin-page { grid-template-columns: 1fr; }
  .admin-sidebar { position: relative; height: auto; padding: 18px; }
  .admin-logo { width: 170px; height: 71px; margin-bottom: 15px; }
  .admin-sidebar nav { grid-template-columns: 1fr 1fr; }
  .admin-sidebar nav a { display: none; }
  .admin-user { display: none; }
  .admin-workspace { padding: 25px 14px 45px; }
  .admin-topbar { align-items: flex-start; flex-direction: column; }
  .admin-two-col { grid-template-columns: 1fr; }
}

/* Hostinger PHP package additions */
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid #ddd5c8; border-radius: 12px; background: #fff; font-size: 1.25rem; cursor: pointer; }
.mobile-nav { padding: 5px 20px 18px; border-top: 1px solid #ebe3d7; background: #fffaf1; }
.mobile-nav a { display: block; padding: 11px 8px; border-bottom: 1px solid #eee7dc; color: #4c5060; font-size: .9rem; font-weight: 800; }
.category-card.is-active { border-color: var(--category-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--category-accent) 28%, transparent); }
.category-image { position: relative; z-index: 1; width: 64px; height: 64px; flex: none; border-radius: 19px; object-fit: cover; border: 2px solid color-mix(in srgb, var(--category-accent) 45%, white); }
.printable-preview { color: inherit; }
.printable-preview .uploaded-preview { height: 192px; background: #fff; }
.detail-back-row { padding-top: 14px; }
.uploaded-sheet { overflow: hidden; padding: 3.5%; }
.uploaded-sheet > img { width: 100%; height: 100%; display: block; object-fit: contain; background: #fff; }
.related-section { padding-bottom: 10px; }
.related-grid { grid-template-columns: repeat(3, 1fr); }
.info-body ul { margin: 0; padding-left: 23px; color: #5f6370; font: .94rem/1.8 Arial, sans-serif; }
.info-body h2:not(:first-child) { margin-top: 18px; }

.admin-sidebar nav a.active { background: #343c4b; color: #fff; }
.admin-user small { color: #8f99a7; overflow: hidden; text-overflow: ellipsis; font: .68rem Arial, sans-serif; }
.admin-user form { margin-top: 6px; }
.admin-user form button { padding: 0; border: 0; background: transparent; color: #f4bd55; font-size: .74rem; font-weight: 800; cursor: pointer; }
.admin-status.success { border-color: #bfe2ca; background: #eaf7ee; color: #2d6841; }
.admin-status.error { border-color: #efc5c5; background: #fff0f0; color: #9a3434; }
.admin-status.is-fading { opacity: .4; transition: opacity .4s ease; }
.admin-form fieldset { display: grid; gap: 15px; margin: 0; padding: 0; border: 0; }
.admin-form input[type="color"] { width: 100%; min-height: 44px; padding: 4px; border: 1px solid #dcdfe4; border-radius: 11px; background: #fbfbfc; }
.admin-table article { grid-template-columns: 45px minmax(140px, 1fr) auto; }
.admin-thumb-image { display: block; object-fit: cover; }
.admin-actions { display: flex !important; align-items: flex-end; gap: 5px !important; }
.admin-actions form { display: inline-flex; }
.admin-actions button, .admin-table > article > form button { border: 0; background: transparent; color: #5b6574; font: 800 .64rem Arial, sans-serif; cursor: pointer; }
.admin-actions > a, .category-row-actions > a { color: #426fae; font: 800 .64rem Arial, sans-serif; }
.admin-actions .danger-link, .admin-table .danger-link { color: #c44747; }
.admin-actions button:hover, .admin-table .danger-link:hover { text-decoration: underline; }
.admin-table button:disabled { color: #aeb2ba; cursor: not-allowed; text-decoration: none; }
.published-pill.draft { background: #fff2d8; color: #8a682c; }
.admin-cancel { text-align: center; color: #667080; font-size: .76rem; font-weight: 800; }
.category-row-actions { display: flex; align-items: center; gap: 8px; }
.category-row-actions form { display: inline-flex; }
.settings-grid { grid-template-columns: minmax(360px, .9fr) minmax(320px, 1.1fr); }
.admin-help dl { margin: 0; }
.admin-help dl > div { padding: 17px 22px; border-bottom: 1px solid #eceef1; }
.admin-help dt { margin-bottom: 5px; color: #878b95; font: .7rem Arial, sans-serif; text-transform: uppercase; letter-spacing: .08em; }
.admin-help dd { margin: 0; overflow-wrap: anywhere; font-size: .86rem; font-weight: 800; }
.admin-help > p { margin: 20px 22px; color: #6f7480; font: .8rem/1.6 Arial, sans-serif; }

.login-page { min-height: 100vh; display: grid; place-items: center; padding: 28px; background: linear-gradient(135deg, #fff8e8, #fff1ea); }
.login-shell { width: min(460px, 100%); }
.login-logo { width: 220px; height: 92px; display: block; overflow: hidden; margin: 0 auto 20px; border-radius: 20px; background: #fff; box-shadow: 0 10px 30px rgba(40,34,25,.1); }
.login-logo img { width: 100%; height: 100%; object-fit: cover; }
.login-card { display: grid; gap: 17px; padding: 30px; border: 1px solid #e6ded2; border-radius: 25px; background: #fff; box-shadow: 0 20px 55px rgba(40,34,25,.12); }
.login-card h1 { margin: -5px 0 0; font-size: 2.4rem; letter-spacing: -.05em; }
.login-card > p:not(.kicker) { margin: -7px 0 4px; color: #6e727e; font: .86rem/1.6 Arial, sans-serif; }
.login-card label { display: grid; gap: 7px; color: #4d515c; font-size: .77rem; font-weight: 900; }
.login-card input { width: 100%; border: 1px solid #dcdfe4; border-radius: 11px; padding: 12px; outline: 0; font: .9rem Arial, sans-serif; }
.login-card input:focus { border-color: #5b87d4; box-shadow: 0 0 0 3px rgba(80,130,210,.12); }
.login-error { padding: 12px 14px; border: 1px solid #efc5c5; border-radius: 11px; background: #fff0f0; color: #9a3434; font: .78rem/1.5 Arial, sans-serif; }
.login-back { text-align: center; color: #6f7480; font-size: .78rem; font-weight: 800; }

.installer-body { min-height: 100vh; margin: 0; padding: 35px 20px; background: linear-gradient(135deg, #fff8e8, #eef9f2); }
.installer-shell { width: min(880px, 100%); margin: 0 auto; }
.installer-card { padding: clamp(24px, 5vw, 50px); border: 1px solid #e5ded3; border-radius: 28px; background: #fff; box-shadow: 0 24px 70px rgba(41,37,29,.12); }
.installer-logo { width: 220px; height: 92px; display: block; object-fit: cover; margin: -15px 0 22px; border-radius: 19px; }
.installer-card > h1 { margin: 9px 0 10px; font-size: clamp(2.3rem, 6vw, 4rem); line-height: 1; letter-spacing: -.055em; }
.installer-intro { max-width: 690px; margin: 0 0 27px; color: #686c78; font: .95rem/1.7 Arial, sans-serif; }
.installer-form { display: grid; gap: 24px; }
.installer-form fieldset { display: grid; gap: 15px; margin: 0; padding: 22px; border: 1px solid #e3e0da; border-radius: 18px; }
.installer-form legend { padding: 0 8px; font-size: .92rem; font-weight: 900; }
.installer-form label { display: grid; gap: 7px; color: #4d515c; font-size: .77rem; font-weight: 900; }
.installer-form input { width: 100%; border: 1px solid #d7dbe1; border-radius: 11px; padding: 12px; outline: 0; font: .88rem Arial, sans-serif; }
.installer-form input:focus { border-color: #5b87d4; box-shadow: 0 0 0 3px rgba(80,130,210,.12); }
.installer-form small { color: #858a94; font: .68rem/1.4 Arial, sans-serif; }
.installer-two { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.install-errors { margin-bottom: 22px; padding: 15px 18px; border: 1px solid #efc5c5; border-radius: 13px; background: #fff0f0; color: #8d3434; font: .82rem/1.55 Arial, sans-serif; }
.install-errors ul { margin: 8px 0 0; padding-left: 20px; }
.install-success { text-align: center; }
.install-success > span { width: 74px; height: 74px; display: grid; place-items: center; margin: 0 auto 15px; border-radius: 50%; background: #e3f5e9; color: #348253; font-size: 2rem; font-weight: 900; }
.install-success h1 { margin: 0 0 9px; font-size: clamp(2.2rem, 6vw, 4rem); letter-spacing: -.05em; }
.install-success p { color: #686c78; font: .94rem/1.6 Arial, sans-serif; }
.installer-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 22px; margin-top: 27px; font-weight: 900; }
.installer-note { margin-top: 28px; padding: 15px; border-radius: 12px; background: #fff5d8; color: #6f5a23; font: .8rem/1.6 Arial, sans-serif; }
.installer-note code { padding: 2px 5px; border-radius: 5px; background: rgba(255,255,255,.7); }

@media (max-width: 980px) {
  .header-cta { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .header-inner { min-height: 74px; }
  .brand { width: 158px; height: 66px; border-radius: 14px; }
  .installer-two, .settings-grid { grid-template-columns: 1fr; }
  .installer-card { padding: 24px 18px; border-radius: 20px; }
  .installer-form fieldset { padding: 17px 13px; }
  .admin-table article { grid-template-columns: 45px 1fr; }
  .admin-table article > :last-child { grid-column: 2; }
  .admin-actions { align-items: flex-start; flex-wrap: wrap; }
  .related-grid { grid-template-columns: 1fr; }
}

@media print {
  .site-header, .site-footer, .detail-back-row, .detail-copy, .related-section { display: none !important; }
}
