/* Public pages (templates, tags, tools, guides, FAQ). Same look as the landing page: dark by default, light on
   request (data-theme on <html>, shared with the landing page and app). Scoped to .s-page. */
@font-face { font-family: Inter; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/inter-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: Inter; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/inter-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: Inter; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/inter-latin-600-normal.woff2) format('woff2'); }
/* Colours and the heading face come from /brand.css. */
:root {
  --s-bg: var(--g-bg); --s-bg2: var(--g-bg2); --s-card: var(--g-surface); --s-card2: var(--g-surface2);
  --s-text: var(--g-text); --s-text2: var(--g-text2); --s-text3: var(--g-text3);
  --s-line: var(--g-line); --s-line2: var(--g-line2);
  --s-accent: var(--g-primary-text); --s-accent2: var(--g-primary); --s-glow: var(--g-glow); --s-nav: rgba(12, 12, 16, .72);
}
:root[data-theme='light'] { --s-nav: rgba(255, 255, 255, .8); }
.s-page { margin: 0; font-family: var(--g-font); color: var(--s-text); background: var(--s-bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
.s-page *, .s-page *::before, .s-page *::after { box-sizing: border-box; }
.s-page a { color: var(--s-accent); text-decoration: none; }
.s-page a:hover { text-decoration: underline; }
.s-page h1 { font-size: clamp(34px, 5.4vw, 60px); line-height: 1.04; letter-spacing: -.025em; margin: 0 0 18px; font-weight: 700; font-family: var(--g-font-display); }
.s-page h2 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -.02em; margin: 56px 0 18px; line-height: 1.15; font-weight: 600; font-family: var(--g-font-display); }
.s-page h2 small { font-size: 15px; color: var(--s-text3); font-weight: 500; margin-left: 6px; }
.s-page h2 a { color: inherit; }
.s-page h3 { font-size: 13px; margin: 20px 0 6px; color: var(--s-text3); text-transform: uppercase; letter-spacing: .08em; }
.s-page p { margin: 0 0 12px; }
.s-page ul, .s-page ol { padding-left: 20px; margin: 0 0 14px; }
.s-page li { margin: 5px 0; }
.s-page :focus-visible { outline: 2px solid var(--s-accent); outline-offset: 3px; border-radius: 8px; }
.s-wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* preview images */
.s-thumb { display: block; aspect-ratio: 4 / 3; margin: -6px -6px 12px; border-radius: 14px; overflow: hidden; background: radial-gradient(120% 120% at 50% 0%, color-mix(in srgb, var(--c, #7c3aed) 22%, var(--s-card2)), var(--s-card2)); }
.s-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.s-art.s-art-img { aspect-ratio: auto; min-height: 320px; padding: 18px; background: radial-gradient(120% 100% at 50% 0%, color-mix(in srgb, var(--c, #7c3aed) 30%, var(--s-card2)), var(--s-card2)); box-shadow: inset 0 0 0 1px var(--s-line); }
.s-art.s-art-img img { width: 100%; max-height: 460px; object-fit: contain; filter: drop-shadow(0 18px 36px rgba(0, 0, 0, .35)); }
.s-hero-t:has(.s-art-img) { grid-template-columns: minmax(0, 1fr) 340px; }

/* header: floating pill, like the landing page */
.s-top { position: sticky; top: 12px; z-index: 10; padding: 0 16px; }
.s-top-in { max-width: 1160px; margin: 12px auto 0; display: flex; align-items: center; gap: 22px; height: 60px; padding: 0 10px 0 20px; border-radius: 999px; background: var(--s-nav); border: 1px solid var(--s-line); -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px); }
.s-brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--g-font-display); font-weight: 600; font-size: 18px; color: var(--s-text) !important; letter-spacing: -.02em; text-decoration: none !important; }
.s-top nav { display: flex; gap: 26px; margin-left: auto; font-size: 15px; }
.s-top nav a { color: var(--s-text2) !important; white-space: nowrap; }
.s-top nav a:hover { color: var(--s-text) !important; text-decoration: none; }
.s-theme { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--s-line); background: transparent; color: var(--s-text2); display: grid; place-items: center; cursor: pointer; margin-left: 4px; }
.s-theme:hover { color: var(--s-text); border-color: var(--s-line2); }
.s-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--s-accent2); color: #fff !important; font-weight: 600; font-size: 14px; padding: 10px 18px; border-radius: 999px; white-space: nowrap; box-shadow: 0 8px 28px var(--s-glow); transition: background .2s, transform .15s; }
.s-btn:hover { background: var(--g-primary-hover); box-shadow: 0 10px 34px var(--s-glow); text-decoration: none !important; }
.s-btn:active { transform: scale(.97); }
.s-btn-lg { font-size: 16px; padding: 14px 26px; }
.s-link { margin-left: 16px; font-weight: 600; }

.s-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--s-text3); margin: 34px 0 0; }
.s-crumbs a { color: var(--s-text3) !important; }

/* hero */
.s-hero { position: relative; overflow: hidden; margin: 20px 0 8px; padding: clamp(30px, 5vw, 60px); border-radius: 28px; border: 1px solid var(--s-line); background: radial-gradient(110% 90% at 85% 0%, color-mix(in srgb, var(--c, var(--s-accent2)) 18%, var(--s-card)) 0%, var(--s-card) 60%); }
.s-hero > div { position: relative; max-width: 760px; }
.s-hero-t { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 36px; align-items: center; }
.s-art { aspect-ratio: 9 / 16; border-radius: 30px; display: grid; place-items: center; font-size: 76px; font-weight: 800; color: #fff; background: linear-gradient(160deg, color-mix(in srgb, var(--c, #7c3aed) 80%, #fff), var(--c, #7c3aed)); box-shadow: 0 24px 60px color-mix(in srgb, var(--c, #7c3aed) 35%, transparent), inset 0 0 0 1px rgba(255, 255, 255, .25); }
.s-eyebrow { font-size: 13px; font-weight: 600; color: var(--s-accent); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px !important; }
.s-lead { font-size: clamp(17px, 1.8vw, 20px); color: var(--s-text2); line-height: 1.55; }
.s-hero p:not(.s-lead):not(.s-eyebrow) { color: var(--s-text2); }
.s-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin: 24px 0 6px; }
.s-note { font-size: 13px; color: var(--s-text3); }

.s-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.s-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; padding: 6px 13px; border-radius: 999px; background: var(--s-card2); color: var(--s-text) !important; border: 1px solid var(--s-line); }
.s-tag small { color: var(--s-text3); }
.s-tag:hover { border-color: var(--s-accent); text-decoration: none !important; }

.s-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.s-card { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: 20px; background: var(--s-card); color: var(--s-text) !important; border: 1px solid var(--s-line); transition: transform .25s cubic-bezier(.2, .9, .3, 1.2), border-color .2s, box-shadow .2s; }
.s-card:hover { transform: translateY(-2px); border-color: var(--s-line2); box-shadow: 0 14px 34px rgba(0, 0, 0, .25); text-decoration: none !important; }
.s-card b { font-size: 15px; letter-spacing: -.01em; }
.s-card small { font-size: 13px; color: var(--s-text3); line-height: 1.4; }
.s-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; font-weight: 800; color: #fff; background: linear-gradient(160deg, color-mix(in srgb, var(--c, #7c3aed) 75%, #fff), var(--c, #7c3aed)); margin-bottom: 10px; }

.s-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.s-grid2 > div { background: var(--s-card); border: 1px solid var(--s-line); border-radius: 24px; padding: 8px 28px 22px; }
.s-grid2 li, .s-grid2 p { color: var(--s-text2); }
.s-steps { counter-reset: s; list-style: none; padding: 0 !important; }
.s-steps li { counter-increment: s; position: relative; padding-left: 42px; margin: 14px 0; }
.s-steps li b { color: var(--s-text); }
.s-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--s-accent2); color: #fff; font-weight: 700; font-size: 13px; display: grid; place-items: center; }

.s-article { max-width: 780px; margin: 30px auto 0; background: var(--s-card); border: 1px solid var(--s-line); border-radius: 28px; padding: clamp(26px, 5vw, 60px); }
.s-article h2 { margin-top: 36px; }
.s-article p, .s-article li { font-size: 17.5px; color: var(--s-text2); }
.s-article b { color: var(--s-text); }
.s-facts { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 16.5px; }
.s-facts th, .s-facts td { text-align: left; vertical-align: top; padding: 12px 0; border-top: 1px solid var(--s-line); }
.s-facts tr:first-child th, .s-facts tr:first-child td { border-top: 0; }
.s-facts th { width: 34%; padding-right: 16px; font-weight: 600; color: var(--s-text); }
.s-facts td { color: var(--s-text2); }
@media (max-width: 560px) { .s-facts th, .s-facts td { display: block; width: auto; padding: 0; } .s-facts th { padding-top: 12px; } .s-facts td { padding-bottom: 12px; border-top: 0; } }
.s-callout { margin: 34px 0 0; padding: 22px 26px; border-radius: 20px; background: color-mix(in srgb, var(--s-accent) 12%, var(--s-card)); border: 1px solid color-mix(in srgb, var(--s-accent) 30%, transparent); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; color: var(--s-text2); }
.s-callout b { color: var(--s-text); }
.s-guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.s-guides a { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; border-radius: 20px; background: var(--s-card); color: var(--s-text) !important; border: 1px solid var(--s-line); transition: border-color .2s, transform .2s; }
.s-guides a:hover { border-color: var(--s-accent); transform: translateY(-2px); text-decoration: none !important; }
.s-guides small { color: var(--s-text3); font-size: 14px; line-height: 1.45; }
.s-faq { max-width: 860px; }
.s-faq details { border-bottom: 1px solid var(--s-line); }
.s-faq summary { cursor: pointer; list-style: none; padding: 20px 48px 20px 4px; font-weight: 600; font-size: 17px; position: relative; }
.s-faq summary::-webkit-details-marker { display: none; }
.s-faq summary::after { content: '+'; position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--s-text3); transition: transform .2s; }
.s-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.s-faq details p { padding: 0 4px 20px; margin: 0; color: var(--s-text2); }

.s-foot { margin-top: 110px; padding: 52px 0 30px; border-top: 1px solid var(--s-line); font-size: 14px; }
.s-foot-in { display: grid; grid-template-columns: 1.5fr repeat(5, 1fr); gap: 28px; }
.s-foot h3, .s-foot-h { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--s-text3); margin: 4px 0 12px; }
.s-foot a:not(.s-brand) { display: block; color: var(--s-text2) !important; margin: 7px 0; }
.s-foot a:not(.s-brand):hover { color: var(--s-text) !important; text-decoration: none; }
.s-foot p { color: var(--s-text3); margin-top: 12px; }
.s-fine { margin-top: 30px; font-size: 12px; color: var(--s-text3); }

@media (max-width: 860px) {
  .s-top-in { gap: 10px; }
  .s-theme { margin-left: auto; }
  .s-hero-t, .s-grid2, .s-hero-t:has(.s-art-img) { grid-template-columns: 1fr; }
  .s-art:not(.s-art-img) { display: none; }
  .s-art-img { min-height: 0; }
  .s-foot-in { grid-template-columns: 1fr 1fr; }
  .s-foot-in > :first-child { grid-column: 1 / -1; }
  .s-wrap { padding: 0 16px; }
  .s-top nav a, .s-foot-in a { display: inline-block; padding: 8px 2px; }
}
@media (prefers-reduced-motion: reduce) { .s-card, .s-btn, .s-guides a { transition: none; } }

.s-foot-h { font-weight: 600; }
.s-usecase { color: var(--s-text) !important; border-left: 3px solid var(--s-accent); padding-left: 12px; }
.s-good { font-size: 14px; }
/* Phones: the nav links move to a scrollable row under the header instead of disappearing. */
@media (max-width: 860px) {
  .s-top-in { flex-wrap: wrap; height: auto; padding: 8px 8px 8px 16px; border-radius: 22px; row-gap: 4px; }
  .s-top nav { display: flex; order: 3; width: 100%; margin: 0; gap: 18px; overflow-x: auto; scrollbar-width: none; padding: 4px 4px 2px; }
  .s-top nav::-webkit-scrollbar { display: none; }
}
@media (prefers-reduced-motion: reduce) { .s-page *, .s-page *::before, .s-page *::after { transition: none !important; animation: none !important; } }

/* pricing plans */
.s-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 30px 0 10px; }
.s-plan { background: var(--s-card); border: 1px solid var(--s-line); border-radius: 20px; padding: 26px; }
.s-plan-hot { border-color: color-mix(in srgb, var(--g-primary) 60%, transparent); box-shadow: 0 0 40px color-mix(in srgb, var(--g-primary) 16%, transparent); }
.s-plan h2 { font-size: 18px; margin: 0 0 6px; }
.s-plan-price { margin: 0 0 18px; color: var(--s-text3); }
.s-plan-price b { font-family: var(--g-font-display); font-size: 44px; font-weight: 700; letter-spacing: -.03em; color: var(--s-text); }
.s-plan ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.s-plan li { padding-left: 26px; position: relative; font-size: 15px; }
.s-plan li::before { content: '✓'; position: absolute; left: 0; color: var(--g-primary-text); font-weight: 700; }
.s-plan-note { font-size: 13px; color: var(--s-text3); margin: 12px 0 0; }
.s-pro { display: inline-block; margin-left: 6px; padding: 2px 6px; border-radius: 5px; background: var(--g-primary); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .05em; vertical-align: 1px; }
.s-note a { color: var(--g-primary-text); }

/* Free green-screen downloads */
.s-hero-t:has(.s-art-video) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.s-art.s-art-video { aspect-ratio: 16 / 9; padding: 0; overflow: hidden; background: #00b140; box-shadow: 0 24px 60px rgba(0, 0, 0, .35), inset 0 0 0 1px var(--s-line); border-radius: 18px; }
.s-art.s-art-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.s-btn.s-btn-ghost { background: transparent; color: var(--s-text, #fff) !important; box-shadow: inset 0 0 0 1.5px var(--s-line); }
.s-btn.s-btn-ghost:hover { background: var(--s-card2); }
.s-free-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.s-free-grid a { display: flex; flex-direction: column; gap: 8px; color: inherit; text-decoration: none; font-weight: 600; }
.s-free-grid video { width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; background: #00b140; object-fit: cover; box-shadow: inset 0 0 0 1px var(--s-line); }
@media (max-width: 860px) { .s-hero-t:has(.s-art-video) { grid-template-columns: 1fr; } .s-art.s-art-video { display: block; } }

@media (max-width: 480px) { .s-top nav { gap: 16px; font-size: 14px; } }

/* ======================= unslop pass (ui-redesign) =======================
   Graphite surfaces, one violet accent, no washes or glows; the template previews carry the colour. Headings in two
   weights, sentence-case labels, counts in mono. Process after unslop by Damir Sokolovsky (@heydamir), CC BY 4.0. */
:root { --s-nav: rgba(20, 20, 21, .92); --s-mono: 'SF Mono', ui-monospace, 'JetBrains Mono', Menlo, monospace; --s-ease: cubic-bezier(.22, 1, .36, 1); }
:root[data-theme='light'] { --s-nav: rgba(250, 250, 250, .92); }
.s-page h1 { font-weight: 500; letter-spacing: -.02em; }
.s-page h2 { font-weight: 500; letter-spacing: -.01em; margin: 64px 0 16px; }
.s-page h2 small, .s-tag small { font-family: var(--s-mono); font-size: 12px; font-weight: 400; }
.s-page h3, .s-foot h3, .s-foot-h, .s-eyebrow { text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 500; }
.s-eyebrow { color: var(--s-text3); }

/* header: the same full-width bar as the homepage */
.s-top { top: 0; padding: 0; background: color-mix(in srgb, var(--s-bg) 86%, transparent); border-bottom: 1px solid var(--s-line); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); }
.s-top-in { max-width: 1200px; margin: 0 auto; height: 64px; padding: 0 24px; border: 0; border-radius: 0; background: none; box-shadow: none; gap: 32px; }
.s-brand { font-weight: 700; }
.s-top nav { margin-left: 0; gap: 24px; font-size: 14px; font-weight: 500; }
.s-top nav a { opacity: .7; }
.s-top nav a:hover { opacity: 1; text-decoration: none; }
.s-top .s-theme { margin-left: auto; }
.s-top .s-btn { border-radius: 10px; font-weight: 600; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }
.s-page h1 { font-weight: 700 !important; letter-spacing: -.03em !important; }
.s-page h2 { font-weight: 700 !important; letter-spacing: -.02em !important; }
.s-brand { font-weight: 500; }
.s-btn { border-radius: 8px; font-weight: 500; box-shadow: none; padding: 10px 16px; transition: background-color .15s var(--s-ease), transform .15s var(--s-ease); }
.s-btn:hover { box-shadow: none; }
.s-btn-lg { border-radius: 10px; padding: 12px 20px; font-size: 15px; }
.s-theme { border-radius: 8px; width: 36px; height: 36px; }
.s-link { font-weight: 500; }

/* heroes and art: flat surfaces, previews do the talking */
.s-hero { border-radius: 20px; padding: clamp(24px, 4vw, 48px); background: var(--s-card); }
.s-art { font-weight: 500; background: var(--s-card2); color: var(--s-text3); box-shadow: inset 0 0 0 1px var(--s-line); border-radius: 20px; }
.s-art.s-art-img { background: var(--s-card2); box-shadow: inset 0 0 0 1px var(--s-line); }
.s-art.s-art-img img { filter: none; }
.s-art.s-art-video { box-shadow: inset 0 0 0 1px var(--s-line); }

/* template cards: the picture opens the editor, the name opens the template's page */
.s-cards { gap: 16px; }
.s-card { gap: 4px; padding: 8px 8px 12px; border-radius: 16px; transition: border-color .15s var(--s-ease); }
.s-card:hover { transform: none; box-shadow: none; border-color: var(--s-line2); }
.s-card-open { display: block; border-radius: 8px; }
.s-card-name { color: var(--s-text) !important; padding: 0 4px; }
.s-card-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.s-card small { padding: 0 4px; }
.s-card b { font-weight: 500; letter-spacing: 0; }
.s-thumb { margin: 0 0 8px; border-radius: 8px; background: var(--s-card2); }
.s-ico { background: var(--s-card2); color: var(--s-text2); font-weight: 500; border-radius: 8px; }

.s-tag { border-radius: 8px; padding: 6px 12px; }
.s-tag:hover { border-color: var(--s-line2); }
.s-guides a, .s-grid2 > div, .s-plan, .s-callout { border-radius: 16px; }
.s-guides a { transition: border-color .15s var(--s-ease); }
.s-guides a:hover { transform: none; border-color: var(--s-line2); }
.s-article { border-radius: 20px; }
.s-article p, .s-article li { font-size: 17px; }
.s-callout { background: var(--s-card2); border-color: var(--s-line); }
.s-steps li::before { font-weight: 500; font-family: var(--s-mono); background: var(--s-card2); color: var(--s-text); box-shadow: inset 0 0 0 1px var(--s-line); }
.s-faq summary { font-weight: 500; }
.s-faq summary::after { transition: transform .2s var(--s-ease); }
.s-plan-hot { border-color: var(--s-text); box-shadow: none; }
.s-plan-price b { font-weight: 500; font-variant-numeric: tabular-nums; }
.s-plan li::before { font-weight: 400; }
.s-pro { background: var(--s-card2); color: var(--s-text2); font-weight: 500; letter-spacing: 0; font-size: 11px; box-shadow: inset 0 0 0 1px var(--s-line); }
.s-usecase { border-left-width: 2px; }
.s-foot { margin-top: 96px; padding: 48px 0 32px; }
@media (max-width: 860px) { .s-top-in { padding: 0 16px; } }
@media (max-width: 860px) { .s-top nav { display: none; } .s-top-in { flex-wrap: nowrap; height: 56px; } .s-theme { margin-left: auto; } }

/* ======================= shared look (website redesign, phase 3) =======================
   The homepage's look on every public page: its surfaces, its violet, Inter headings, buttons and menu links at
   least 44px tall. Colours are set here on --s-* only; /brand.css (--g-*) is shared with the editor and untouched.
   The values match src/landing/landing.css. */
:root, :root[data-theme='dark'] {
  --s-bg: #0a0a0c; --s-bg2: #0a0a0c; --s-card: #141417; --s-card2: #1c1c20;
  --s-text: #f4f4f6; --s-text2: #a1a1aa; --s-text3: #8b8b95;
  --s-line: rgba(255, 255, 255, .09); --s-line2: rgba(255, 255, 255, .16);
  --s-accent: #b69cff; --s-accent2: #7c3aed; --s-accent2-hover: #6d28d9;
}
:root[data-theme='light'] {
  --s-bg: #f4f4f6; --s-bg2: #f4f4f6; --s-card: #ffffff; --s-card2: #ececf0;
  --s-text: #0b0b0d; --s-text2: #55555e; --s-text3: #6b6b75;
  --s-line: rgba(10, 10, 12, .09); --s-line2: rgba(10, 10, 12, .16);
  --s-accent: #6d28d9;
}
.s-page ::selection { background: color-mix(in srgb, var(--s-accent2) 28%, transparent); }
.s-page :focus-visible { outline-color: var(--s-accent2); border-radius: 6px; }

/* headings: Inter, as on the homepage */
.s-page h1 { font-family: var(--g-font); font-weight: 600 !important; letter-spacing: -.03em !important; text-wrap: balance; }
.s-page h2 { font-family: var(--g-font); font-weight: 600 !important; letter-spacing: -.025em !important; text-wrap: balance; }
.s-brand { font-family: var(--g-font); font-weight: 600; }
.s-plan-price b { font-family: var(--g-font); font-weight: 600; }

/* buttons: one shape and one height everywhere */
.s-btn { min-height: 44px; padding: 0 20px; border-radius: 10px; font-size: 15px; font-weight: 600; line-height: 1; }
.s-btn:hover { background: var(--s-accent2-hover); }
.s-btn-lg { min-height: 52px; padding: 0 26px; border-radius: 10px; font-size: 16px; }
.s-top .s-btn { box-shadow: none; }
.s-btn.s-btn-ghost { background: var(--s-card); box-shadow: inset 0 0 0 1px var(--s-line2); }
.s-btn.s-btn-ghost:hover { background: var(--s-card2); }

/* header: links and the theme switch are 44px targets; "Sign in" sits on the right, before the switch */
.s-top nav { flex: 1; gap: 4px; align-items: center; font-size: 15px; }
.s-top nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; border-radius: 8px; opacity: 1; }
.s-top nav #s-acct { margin-left: auto; }
.s-top .s-theme { width: 44px; height: 44px; border: 0; border-radius: 50%; margin-left: 0; }
.s-top .s-theme:hover { background: var(--s-card2); }
.s-top-in { gap: 20px; }

/* Free and Pro marks, pricing ticks */
.s-pro { background: var(--s-accent2); color: #fff; box-shadow: none; font-weight: 600; border-radius: 6px; padding: 3px 7px; }
.s-plan-hot { border-color: color-mix(in srgb, var(--s-accent2) 65%, transparent); }
.s-plan li::before { content: ''; left: 3px; top: 8px; width: 10px; height: 6px; border-left: 2px solid var(--s-accent); border-bottom: 2px solid var(--s-accent); transform: rotate(-45deg); }
.s-note a { color: var(--s-accent); }
.s-foot h3, .s-foot-h { color: var(--s-text); font-size: 14px; font-weight: 600; }

/* phones: the menu links stay, in a row under the logo, so Pricing is one tap away */
@media (max-width: 860px) {
  .s-top-in { flex-wrap: wrap; height: auto; padding: 6px 16px 0; gap: 0 8px; }
  .s-top nav { display: flex; order: 3; flex: 0 0 auto; width: calc(100% + 20px); margin: 0 -10px; gap: 0; padding: 0; font-size: 15px; overflow-x: auto; scrollbar-width: none; }
  .s-top .s-theme { margin-left: auto; }
  .s-top nav a, .s-foot-in a:not(.s-brand) { padding: 0 10px; }
  .s-foot-in a:not(.s-brand) { display: flex; align-items: center; min-height: 44px; margin: 0; padding: 0; }
}

/* ======================= new look (website redesign, O2) =======================
   The approved O1 mock-up (docs/website-redesign/design/o1-new-look.html): off-white page, light lavender surfaces,
   navy text, one purple action, a little pink. Colours come from the --w-* tokens in /brand.css; the editor's --g-*
   values are untouched. Template previews sit on a dark stage, because they are light type made for footage. */
:root, :root[data-theme='dark'], :root[data-theme='light'] {
  --s-bg: var(--w-page); --s-bg2: var(--w-page); --s-card: var(--w-surface); --s-card2: var(--w-lav);
  --s-text: var(--w-ink); --s-text2: var(--w-ink-2); --s-text3: var(--w-ink-3);
  --s-line: var(--w-line); --s-line2: var(--w-line-2);
  --s-accent: var(--w-primary-ink); --s-accent2: var(--w-primary); --s-accent2-hover: var(--w-primary-hover);
  --s-stage: radial-gradient(120% 100% at 30% 10%, #2e3144 0%, var(--w-stage) 65%);
}
.s-page { font-family: var(--g-font); line-height: 1.55; }
.s-page ::selection { background: color-mix(in srgb, var(--w-primary) 24%, transparent); }
.s-page :focus-visible { outline: 2px solid var(--w-primary-ink); outline-offset: 3px; border-radius: 8px; }
.s-wrap { max-width: 1180px; padding: 0 32px; }

/* headings: Outfit 600 */
.s-page h1 { font-family: var(--g-font-display); font-weight: 600 !important; letter-spacing: -.035em !important; line-height: 1.02; }
.s-page h2 { font-family: var(--g-font-display); font-weight: 600 !important; letter-spacing: -.025em !important; line-height: 1.12; }
.s-brand { font-family: var(--g-font-display); font-weight: 600; font-size: 19px; color: var(--w-ink) !important; }
.s-plan-price b { font-family: var(--g-font-display); font-weight: 600; }

/* header: a full-width bar on the page colour; links get a lavender pill on hover and on the current section */
.s-top { background: color-mix(in srgb, var(--w-page) 86%, transparent); border-bottom: 1px solid var(--w-line); -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); }
.s-top-in { max-width: 1180px; height: 68px; padding: 0 32px; gap: 6px; }
.s-top nav { margin-left: 22px; }
.s-top nav { gap: 4px; font-size: 15px; font-weight: 500; }
.s-top nav a { padding: 0 12px; border-radius: 10px; color: var(--w-ink-2) !important; opacity: 1; }
.s-top nav a:hover, .s-top nav a[aria-current] { color: var(--w-ink) !important; background: var(--w-lav); }
.s-top .s-theme { width: 44px; height: 44px; border-radius: 12px; color: var(--w-ink-2); }
.s-top .s-theme:hover { color: var(--w-ink); background: var(--w-lav); }

/* buttons: purple for the main step, lavender for the second; at least 44px tall */
.s-btn { min-height: 44px; padding: 0 20px; border-radius: 12px; background: var(--w-primary); color: var(--w-on-primary) !important; font-size: 15px; font-weight: 600; box-shadow: none; transition: background-color .15s var(--s-ease), transform .12s var(--s-ease); }
.s-btn:hover { background: var(--w-primary-hover); box-shadow: none; }
.s-btn-lg { min-height: 54px; padding: 0 28px; border-radius: 14px; font-size: 16px; }
.s-btn.s-btn-ghost { background: var(--w-lav); color: var(--w-ink) !important; box-shadow: none; }
.s-btn.s-btn-ghost:hover { background: var(--w-lav-2); }
.s-link, .s-note a, .s-page main p a:not([class]), .s-page main li a:not([class]) { color: var(--w-primary-ink); }
.s-page h2 a { color: inherit !important; }

/* page heroes: a lavender panel; pictures inside sit on the dark stage */
.s-hero { border: 0; border-radius: 28px; background: var(--w-lav); }
.s-hero p:not(.s-lead):not(.s-eyebrow) { color: var(--w-ink-2); }
.s-eyebrow { color: var(--w-primary-ink); font-weight: 600; }
.s-art { background: var(--s-stage); color: rgba(255, 255, 255, .55); box-shadow: none; border-radius: 18px; }
.s-art.s-art-img { background: var(--s-stage); box-shadow: none; }
.s-art.s-art-video { background: #00b140; box-shadow: none; }

/* template card: white card, dark stage for the preview, name and section underneath */
.s-cards { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.s-card { padding: 8px; border-radius: 20px; background: var(--w-surface); border: 1px solid var(--w-line); transition: border-color .2s var(--s-ease), box-shadow .2s var(--s-ease); }
.s-card:hover { border-color: var(--w-line-2); box-shadow: var(--w-shadow); }
.s-card-open { border-radius: 14px; }
.s-thumb { aspect-ratio: 16 / 10; margin: 0 0 6px; border-radius: 14px; background: var(--s-stage); }
.s-thumb img { padding: 8% 7%; }
.s-card-name, .s-card small { padding: 0 8px; }
.s-card b { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.s-card small { padding-bottom: 6px; font-size: 14px; color: var(--w-ink-2); }
.s-ico { background: var(--w-lav); color: var(--w-primary-ink); border-radius: 12px; }

/* tags, link cards, panels */
.s-tag { min-height: 36px; border: 0; border-radius: 999px; padding: 0 14px; background: var(--w-lav); color: var(--w-ink) !important; }
.s-tag:hover { background: var(--w-lav-2); }
.s-guides a, .s-grid2 > div, .s-article { background: var(--w-surface); border: 1px solid var(--w-line); border-radius: 20px; }
.s-guides a { transition: border-color .2s var(--s-ease), box-shadow .2s var(--s-ease); }
.s-guides a:hover { border-color: var(--w-line-2); box-shadow: var(--w-shadow); }
.s-callout { background: var(--w-lav); border: 0; border-radius: 20px; }
.s-steps li::before { font-family: var(--g-font); font-weight: 600; background: var(--w-lav); color: var(--w-primary-ink); box-shadow: none; }
.s-free-grid video { border-radius: 14px; }

/* tags on cards and prices: Pro is a purple pill */
.s-pro { padding: 3px 9px; border-radius: 999px; background: var(--w-primary); color: var(--w-on-primary); font-size: 12px; font-weight: 600; letter-spacing: 0; }

/* pricing cards: Free is a white card, Pro adds a purple edge, a light wash and a lift */
.s-plans { gap: 20px; }
.s-plan { display: flex; flex-direction: column; align-items: flex-start; padding: 32px; border-radius: 24px; background: var(--w-surface); border: 1px solid var(--w-line); }
.s-plan-hot { border: 1.5px solid color-mix(in srgb, var(--w-primary) 55%, transparent); background: var(--w-wash), var(--w-surface); box-shadow: var(--w-shadow); }
.s-plan h2 { font-size: 19px; margin: 0 0 4px; }
.s-plan-price { color: var(--w-ink-2); margin: 14px 0 20px; }
.s-plan-price b { font-size: 52px; letter-spacing: -.035em; color: var(--w-ink); }
.s-plan ul { width: 100%; padding: 22px 0 0; border-top: 1px solid var(--w-line); color: var(--w-ink-2); }
.s-plan li::before { border-color: var(--w-primary-ink); }
.s-plan .s-btn { width: 100%; margin-top: auto; }
.s-plan:not(.s-plan-hot) .s-btn { background: var(--w-lav); color: var(--w-ink) !important; }
.s-plan:not(.s-plan-hot) .s-btn:hover { background: var(--w-lav-2); }
.s-plan-note { color: var(--w-ink-3); }

/* footer: a lavender band */
.s-foot { margin-top: 96px; padding: 56px 0 0; border: 0; background: var(--w-lav); }
.s-foot-in { gap: 32px; }
.s-foot h3, .s-foot-h { color: var(--w-ink); font-size: 14px; font-weight: 600; margin: 4px 0 8px; }
.s-foot a:not(.s-brand) { display: flex; align-items: center; min-height: 36px; margin: 0; color: var(--w-ink-2) !important; line-height: 1.3; }
.s-foot a:not(.s-brand):hover { color: var(--w-ink) !important; }
.s-foot p { color: var(--w-ink-2); }
.s-fine { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 32px; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid var(--w-line-2); color: var(--w-ink-3); font-size: 13px; }
.s-foot .s-fine a { display: inline; min-height: 0; color: var(--w-ink-2) !important; text-decoration: underline; text-underline-offset: 2px; }
.s-fine .s-copy { margin-left: auto; }

@media (max-width: 860px) {
  .s-wrap { padding: 0 16px; }
  .s-top-in { flex-wrap: wrap; height: auto; padding: 10px 16px 0; gap: 0 6px; }
  .s-top nav { order: 3; width: calc(100% + 24px); margin: 4px -12px 0; padding: 0 0 4px; gap: 2px; }
  .s-top .s-btn { min-height: 40px; padding: 0 14px; }
  .s-hero { border-radius: 22px; }
  .s-plan { padding: 24px; }
  .s-foot { padding-top: 40px; }
  .s-foot-in a:not(.s-brand) { min-height: 44px; }
  .s-fine .s-copy { margin-left: 0; }
}

/* ---------- /templates/ gallery (O4): search, filters, live category tiles, sideways rows ----------
   Templates draw with no background, so they play on soft colour washes (as on the homepage). src/gallery/main.js
   adds search, filters and the live previews; without it the page is still every link with a still preview. */
.g-page { overflow-x: clip; }
.g-page main { position: relative; isolation: isolate; }
.g-sky { position: absolute; z-index: -1; top: 0; left: calc(50% - 50vw); width: 100vw; height: 640px; pointer-events: none; background: var(--w-sky); }
.g-page .s-crumbs { margin-top: 0; padding-top: 26px; }
.g-head-r { display: flex; gap: 14px; align-items: center; }
.g-textbtn { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--w-primary-ink); cursor: pointer; }
.g-callout { margin: 56px 0 0; }
.g-callout .s-btn { margin-left: 8px; }
/* washes the templates play on (no dark stage: templates draw with no background) */
.w-lilac { --bg: var(--w-grad-lilac); }
.w-rose { --bg: var(--w-grad-rose); }
.w-mint { --bg: var(--w-grad-mint); }
.w-peach { --bg: var(--w-grad-peach); }
.w-orchid { --bg: var(--w-grad-orchid); }
.w-violet { --bg: var(--w-grad-violet); }
.w-sun { --bg: var(--w-grad-sun); }
.w-pink { --bg: var(--w-grad-pink); }
/* a template drawn in white with nothing behind it gets a deep card instead (src/gallery/live.jsx decides) */
.g-deep:nth-child(odd), .g-cat.g-deep:nth-child(odd) { --bg: var(--w-grad-indigo); }
.g-deep:nth-child(even), .g-cat.g-deep:nth-child(even) { --bg: var(--w-grad-teal); }

/* hero: H1, search, filters */
.g-hero { padding: 18px 0 8px; }
.g-hero .s-eyebrow { margin: 0 0 10px !important; }
.g-hero h1 { max-width: 820px; margin-bottom: 14px !important; }
.g-lead { max-width: 780px; font-size: 16px; line-height: 1.6; color: var(--w-ink-2); margin: 0 0 26px !important; }
.g-search { position: relative; display: flex; align-items: center; max-width: 820px; height: 64px; border-radius: 999px; background: var(--w-surface);
  border: 1px solid var(--w-line-2); box-shadow: 0 1px 2px rgba(21, 23, 53, .05), 0 18px 40px -22px rgba(52, 33, 140, .45); }
.g-search:focus-within { border-color: var(--w-primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--w-primary) 18%, transparent), 0 18px 40px -22px rgba(52, 33, 140, .45); }
.g-search svg { position: absolute; left: 24px; color: var(--w-ink-3); pointer-events: none; }
.g-search input { flex: 1; height: 100%; border: 0; background: transparent; font: inherit; font-size: 18px; color: var(--w-ink); padding: 0 20px 0 60px; outline: none; min-width: 0; }
.g-search input::placeholder { color: var(--w-ink-3); }
.g-search input::-webkit-search-cancel-button { display: none; }
.g-search .g-x { width: 44px; height: 44px; margin-right: 10px; border: 0; border-radius: 50%; background: var(--w-lav); color: var(--w-ink-2); font-size: 20px; cursor: pointer; }
.g-ideas { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; max-width: 820px; }
.g-ideas span { font-size: 14px; color: var(--w-ink-3); align-self: center; margin-right: 2px; }
.g-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer;
  color: var(--w-ink) !important; background: color-mix(in srgb, var(--w-surface) 72%, transparent); border: 1px solid var(--w-line-2); text-decoration: none !important; white-space: nowrap; }
.g-chip:hover { border-color: var(--w-primary); }
.g-chip[aria-pressed='true'] { background: var(--w-ink); color: var(--w-page) !important; border-color: var(--w-ink); }
.g-chip svg { flex: none; }

/* filter bar: sticks under the header while you browse results */
.g-filters { position: sticky; top: 64px; z-index: 5; margin: 22px 0 0; padding: 10px 0; }
.g-filters-in { display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.g-filters-in::-webkit-scrollbar { display: none; }
.g-sep { flex: none; width: 1px; height: 24px; background: var(--w-line-2); margin: 0 6px; }
.g-select { min-height: 40px; padding: 0 34px 0 14px; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 500; color: var(--w-ink); border: 1px solid var(--w-line-2);
  background: color-mix(in srgb, var(--w-surface) 72%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23676a86' stroke-width='3'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; appearance: none; cursor: pointer; }
.g-filters.is-stuck { background: color-mix(in srgb, var(--w-page) 86%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }

/* section headings */
.g-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 56px 0 16px; }
.g-head h2 { margin: 0 !important; }
.g-head p { margin: 4px 0 0 !important; color: var(--w-ink-3); font-size: 15px; }
.g-more { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; font-size: 15px; white-space: nowrap; }
.g-arrows { display: flex; gap: 8px; }
.g-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--w-line-2); background: var(--w-surface); color: var(--w-ink); display: grid; place-items: center; cursor: pointer; }
.g-arrow:disabled { opacity: .35; cursor: default; }

/* category tiles */
.g-cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.g-cat { position: relative; display: block; aspect-ratio: 5 / 4; border-radius: var(--w-r-tile); overflow: hidden; background: var(--bg); color: var(--w-on-grad) !important; text-decoration: none !important; box-shadow: var(--w-card-shadow); transition: transform .25s ease, box-shadow .25s ease; }
.g-cat:hover, .g-cat:focus-visible { transform: translateY(-4px); box-shadow: var(--w-card-shadow-hover); }
.g-cat .g-art { position: absolute; inset: 12px 12px 46px; }
/* backgrounds and gradients are full-frame designs: they fill the tile edge to edge */
.g-cat-cover .g-art { inset: auto; left: -6%; right: -6%; top: 50%; aspect-ratio: 9 / 16; transform: translateY(-50%); filter: none; }
.g-cat-cover .g-art img { object-fit: cover; }
.g-cat b { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; background: #fff; color: var(--w-on-grad); font-size: 13.5px; font-weight: 600; line-height: 1.2; box-shadow: var(--w-chip-shadow); }

/* template cards (rows and results) */
.g-card { position: relative; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.g-card-art { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; background: var(--bg); box-shadow: var(--w-card-shadow); transition: transform .25s ease, box-shadow .25s ease; }
.g-card-art:hover, .g-card-art:focus-visible { transform: translateY(-4px); box-shadow: var(--w-card-shadow-hover); }
.g-art { display: block; filter: var(--w-drop); }
.g-card-art .g-art { position: absolute; inset: 34px 14px 14px; }
.g-art img { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; }
.g-art .g-live { position: absolute; inset: 0; display: block; }
.g-art.is-live img { visibility: hidden; }
.g-art .lp-live { width: 100%; height: 100%; }
.g-badges { position: absolute; top: 9px; left: 9px; display: flex; gap: 5px; pointer-events: none; }
.g-badge { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .01em; background: #fff; color: var(--w-on-grad); box-shadow: var(--w-chip-shadow); }
.g-badge-pro { background: #151735; color: #fff; }
.g-badge-alpha { background: repeating-conic-gradient(#e7e3f3 0 25%, #fff 0 50%) 0 0 / 8px 8px; }
.g-card-name { display: block; min-height: 44px; padding-top: 2px; color: var(--w-ink) !important; line-height: 1.3; }
.g-card-name b { display: block; font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-card-name small { display: block; margin-top: 2px; font-weight: 500; font-size: 13px; color: var(--w-ink-3); }

/* rows: scroll sideways, one row tall on every screen */
.g-row { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 20px) / 5); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 14px 40px; margin: -6px -14px -26px; scroll-padding-inline: 14px; }
.g-row::-webkit-scrollbar { display: none; }
.g-row > * { scroll-snap-align: start; }

/* results */
.g-results[hidden], #g-browse[hidden] { display: none; }
.g-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 26px 20px; }
.g-note { color: var(--w-ink-3); margin: 18px 0 0 !important; }
.g-show { margin: 26px auto 0; display: flex; }
.g-btn2 { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: var(--w-r-btn, 12px); border: 1px solid var(--w-line-2); background: var(--w-surface); color: var(--w-ink) !important; font: inherit; font-weight: 600; cursor: pointer; }

/* every category: one collapsible block each, the 8 picks inside stay in the HTML */
.g-all { border-top: 1px solid var(--w-line); }
.g-all details { border-bottom: 1px solid var(--w-line); }
.g-all summary { list-style: none; display: grid; grid-template-columns: 34px max-content minmax(0, 1fr) 16px; align-items: center; gap: 14px; min-height: 64px; cursor: pointer; }
.g-all summary::-webkit-details-marker { display: none; }
.g-all summary .g-dot { flex: none; width: 34px; height: 34px; border-radius: 11px; background: var(--bg); box-shadow: var(--w-chip-shadow); }
.g-all summary h3 { all: unset; font-family: var(--g-font-display); font-size: 18px; font-weight: 600; color: var(--w-ink); letter-spacing: -.01em; }
.g-all summary .g-sub { color: var(--w-ink-3); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-all summary::after { content: ''; justify-self: end; width: 10px; height: 10px; border-right: 2px solid var(--w-ink-3); border-bottom: 2px solid var(--w-ink-3); transform: rotate(45deg); margin: -4px 6px 0 4px; transition: transform .2s; }
.g-all details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.g-all .g-row { margin-bottom: -18px; }
.g-all .g-in { padding: 4px 0 20px; }
.g-all .g-in > a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 600; }

/* topics: three rows, then "Show all" */
.g-tags { display: flex; flex-wrap: wrap; gap: 8px; max-height: 148px; overflow: hidden; }
.g-tags.is-open { max-height: none; }

@media (max-width: 1100px) {
  .g-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .g-row { grid-auto-columns: calc((100% - 3 * 20px) / 4); }
  .g-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .g-hero h1 { font-size: 36px !important; }
  .g-lead { font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 20px !important; }
  .g-search { height: 56px; }
  .g-search input { font-size: 16px; padding-left: 52px; }
  .g-search svg { left: 20px; }
  .g-ideas { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -16px; padding-right: 16px; }
  .g-ideas::-webkit-scrollbar { display: none; }
  .g-ideas span { display: none; }
  .g-filters { top: 56px; margin-right: -16px; }
  .g-head { margin-top: 40px; }
  .g-head h2 { font-size: 23px !important; }
  .g-arrows { display: none; }
  /* categories: two rows sliding sideways instead of ten rows down */
  .g-cats { grid-template-columns: none; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: 64%; gap: 14px; overflow-x: auto; scrollbar-width: none; margin: -6px -16px -26px -14px; padding: 6px 16px 34px 14px; scroll-padding-inline: 14px; scroll-snap-type: x mandatory; }
  .g-cats::-webkit-scrollbar { display: none; }
  .g-cat { scroll-snap-align: start; border-radius: 22px; }
  .g-cat:not(.g-cat-cover) .g-art { inset: 10px 10px 44px; }
  .g-cat b { font-size: 13px; }
  .g-row { grid-auto-columns: 44%; gap: 14px; margin: -6px -16px -26px -14px; padding: 6px 16px 40px 14px; }
  .g-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .g-card-name b { font-size: 14px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .g-filters { margin-top: 10px; }
  .g-head { flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
  .g-head > div:first-child { flex: 1 1 100%; }
  .g-all summary { grid-template-columns: 30px minmax(0, 1fr) 16px; }
  .g-all summary .g-sub { display: none; }
  .g-all summary h3 { font-size: 16px; }
  .g-tags { max-height: 196px; }
}

/* fitting a live template into its box (same two rules as src/landing/landing.css) */
.lp-live, .lp-fit { position: absolute; inset: 0; }
.lp-fit-in { position: absolute; left: 50%; top: 50%; width: max-content; transform-origin: center; }
.g-art .g-live { overflow: hidden; }

@media (max-width: 760px) { .g-sky { height: 620px; } }
@media (prefers-reduced-motion: reduce) { .g-cat, .g-card-art { transition: none; } .g-cat:hover, .g-card-art:hover { transform: none; } }

/* ---------- colour cards everywhere (owner, 2026-11-11): the homepage's gradients, card shadow and template drop
   shadow (tokens in brand.css) on the template cards of section, tag and template pages and on /free/. Each card
   takes the next wash in turn, so neighbours never merge into one background. ---------- */
.s-cards > :nth-child(6n + 1), .s-free-grid > :nth-child(6n + 1) { --bg: var(--w-grad-lilac); }
.s-cards > :nth-child(6n + 2), .s-free-grid > :nth-child(6n + 2) { --bg: var(--w-grad-rose); }
.s-cards > :nth-child(6n + 3), .s-free-grid > :nth-child(6n + 3) { --bg: var(--w-grad-mint); }
.s-cards > :nth-child(6n + 4), .s-free-grid > :nth-child(6n + 4) { --bg: var(--w-grad-peach); }
.s-cards > :nth-child(6n + 5), .s-free-grid > :nth-child(6n + 5) { --bg: var(--w-grad-orchid); }
.s-cards > :nth-child(6n + 6), .s-free-grid > :nth-child(6n + 6) { --bg: var(--w-grad-violet); }
.s-cards { gap: 28px 20px; }
.s-card { padding: 0; gap: 2px; background: none; border: 0; border-radius: 0; }
.s-card:hover { border: 0; box-shadow: none; }
.s-card-open { border-radius: 22px; }
.s-thumb { margin: 0 0 10px; border-radius: 22px; background: var(--bg, var(--w-grad-lilac)); box-shadow: var(--w-card-shadow); transition: transform .25s ease, box-shadow .25s ease; }
.s-thumb img { padding: 9% 8%; filter: var(--w-drop); }
.s-card-open:hover .s-thumb, .s-card-open:focus-visible .s-thumb { transform: translateY(-4px); box-shadow: var(--w-card-shadow-hover); }
.s-card-name, .s-card small { padding: 0 4px; }
.s-free-grid { gap: 24px 20px; margin-top: 32px; }
.s-free-grid a { gap: 12px; padding: 14px 14px 16px; border-radius: 22px; background: var(--bg); color: var(--w-on-grad) !important; box-shadow: var(--w-card-shadow); transition: transform .25s ease, box-shadow .25s ease; }
.s-free-grid a:hover, .s-free-grid a:focus-visible { transform: translateY(-4px); box-shadow: var(--w-card-shadow-hover); text-decoration: none !important; }
.s-free-grid a b { padding: 0 2px; }
.s-free-grid video { border-radius: 14px; box-shadow: 0 14px 22px -10px rgba(21, 23, 53, .35); }
@media (prefers-reduced-motion: reduce) { .s-thumb, .s-free-grid a { transition: none; } .s-card-open:hover .s-thumb, .s-free-grid a:hover { transform: none; } }

/* ---------- /free/: the free library (O5). Same cards as /templates/; only the extras. ---------- */
.fl-hero h1 { max-width: 900px; }
.fl-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 0; }
.fl-proof { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 18px 0 0; font-size: 14.5px; font-weight: 600; color: var(--w-ink); }
.fl-proof li { display: inline-flex; align-items: center; gap: 7px; }
.fl-proof svg { color: var(--w-primary); }
.fl-search { margin-top: 30px; }
.fl-sec { scroll-margin-top: 80px; }

/* category tiles are buttons here (they filter the library below) */
.fl-cat { border: 0; padding: 0; font: inherit; cursor: pointer; width: 100%; text-align: left; }

/* collections */
.fl-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.fl-col { display: flex; flex-direction: column; border: 0; padding: 0; font: inherit; text-align: left; cursor: pointer; border-radius: var(--w-r-tile); background: var(--bg); color: var(--w-on-grad); box-shadow: var(--w-card-shadow); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.fl-col:hover, .fl-col:focus-visible { transform: translateY(-4px); box-shadow: var(--w-card-shadow-hover); }
.fl-col-art { position: relative; height: 170px; }
.fl-fan { position: absolute; width: 46%; height: 62%; filter: var(--w-drop); }
.fl-fan img { width: 100%; height: 100%; object-fit: contain; }
.fl-fan-0 { left: 6%; top: 12%; transform: rotate(-6deg); }
.fl-fan-1 { left: 48%; top: 8%; transform: rotate(5deg); }
.fl-fan-2 { left: 14%; top: 44%; transform: rotate(3deg); }
.fl-fan-3 { left: 44%; top: 42%; transform: rotate(-4deg); }
.fl-col-text { display: flex; flex-direction: column; gap: 4px; padding: 14px 20px 20px; background: rgba(255, 255, 255, .62); flex: 1; }
.fl-col-text b { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.fl-col-text small { font-size: 14px; line-height: 1.45; color: #464a69; }
.fl-col-text em { font-style: normal; font-weight: 600; font-size: 14px; margin-top: 6px; color: #5a2fce; }

/* library grid: every card is in the HTML; the script shows them 30 at a time */
.fl-filters { margin-top: 0; }
.fl-sort { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--w-ink-3); margin-left: auto; white-space: nowrap; }
.fl-alpha { width: 14px; height: 14px; border-radius: 4px; background: repeating-conic-gradient(#cfc8e6 0 25%, #fff 0 50%) 0 0 / 7px 7px; box-shadow: inset 0 0 0 1px var(--w-line-2); }
.fl-grid { margin-top: 18px; }
.fl-grid > [hidden] { display: none; }
.g-card-art .fl-go { position: absolute; right: 9px; bottom: 9px; padding: 5px 10px; border-radius: 999px; background: var(--w-primary); color: #fff; font-size: 12px; font-weight: 700; opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s; pointer-events: none; }
.g-card-art:hover .fl-go, .g-card-art:focus-visible .fl-go { opacity: 1; transform: none; }
.fl-more { display: flex; justify-content: center; margin-top: 30px; }
.fl-more[hidden] { display: none; }

/* discovery */
.fl-disc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.fl-disc h3 { font-size: 16px; margin: 0 0 12px; }
.fl-mp4 { margin: -4px 0 12px; font-size: 14px; color: var(--w-ink-3); line-height: 1.5; }

/* how it works */
.fl-how h2 { margin: 72px 0 18px !important; }
.fl-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.fl-steps li { counter-increment: s; display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: var(--w-r-tile); background: var(--bg); color: var(--w-on-grad); box-shadow: var(--w-card-shadow); }
.fl-steps li::before { content: counter(s); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; font-weight: 700; box-shadow: var(--w-chip-shadow); margin-bottom: 6px; }
.fl-steps b { font-size: 18px; }
.fl-steps span { font-size: 15px; line-height: 1.5; color: #464a69; }
.fl-fine { color: var(--w-ink-3); font-size: 14px; margin: 14px 0 0 !important; }

.fl-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-top: 72px; padding: 34px 36px; border-radius: var(--w-r-box); background: var(--bg); color: var(--w-on-grad); box-shadow: var(--w-card-shadow); }
.fl-end h2 { margin: 0 0 8px !important; }
.fl-end p { margin: 0; max-width: 620px; color: #464a69; line-height: 1.55; }
.fl-end .s-btn-ghost { color: var(--w-on-grad) !important; box-shadow: inset 0 0 0 1.5px rgba(21, 23, 53, .25); }
.fl-end-actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 1080px) {
  .fl-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fl-disc { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .fl-cols { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 16px 30px; margin: -6px -16px -24px; }
  .fl-cols > * { scroll-snap-align: center; }
  .fl-steps { grid-template-columns: 1fr; }
  .fl-sort { margin-left: 0; }
  .fl-end { padding: 24px 20px; }
}

/* Tall phones: bigger, rising from the bottom edge of the card (the screen's top half is what matters). */
.fl-tall .g-card-art .g-art { inset: 16px 24% -38% 24%; }
.fl-tall .g-art img { object-fit: contain; object-position: top; }
/* Full-frame designs (backgrounds, gradients, grain): fill the card edge to edge, like the category tiles. */
.fl-cover .g-card-art .g-art { inset: auto; left: -4%; right: -4%; top: 50%; aspect-ratio: 9 / 16; transform: translateY(-50%); filter: none; }
.fl-cover .g-art img { object-fit: cover; }

/* Zoom to fit (per card, from the scan): the art box in fractions, so the measured extent maps the same at every width. */
.fl-fit .g-art { inset: 22% 6.8% 9%; transform-origin: var(--fo, 50% 50%); transform: translate(var(--fx, 0), var(--fy, 0)) scale(var(--fz, 1)); }

/* O6: pricing page (.pr-*) and the Pro pieces on template pages (.tp-*). Built on the --w-* tokens in brand.css
   and the gallery cards (.g-card) from O4/O5. Goes into public/seo.css when built. */

/* ---------- pricing: hero ---------- */
.pr-hero { text-align: center; padding-top: 26px; }
.pr-hero h1, .pr-hero .g-lead { margin-left: auto !important; margin-right: auto !important; }
.pr-hero h1 span { white-space: nowrap; }

/* ---------- monthly / yearly: two radios and the cards that read them (works with no script) ---------- */
.pr-pick { position: relative; }
.pr-radio { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.pr-switch { display: flex; width: max-content; max-width: 100%; margin: 4px auto 28px; padding: 5px; gap: 4px; border-radius: 999px; background: var(--w-surface); box-shadow: var(--w-card-shadow); }
.pr-switch label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--w-ink-2); cursor: pointer; transition: background .2s, color .2s; }
.pr-switch label:hover { color: var(--w-ink); }
#pr-m:checked ~ .pr-switch label[for="pr-m"], #pr-y:checked ~ .pr-switch label[for="pr-y"] { background: var(--w-primary); color: var(--w-on-primary); }
#pr-m:focus-visible ~ .pr-switch label[for="pr-m"], #pr-y:focus-visible ~ .pr-switch label[for="pr-y"] { outline: 2px solid var(--w-primary); outline-offset: 3px; }
.pr-off { padding: 4px 9px; border-radius: 999px; background: var(--w-pink-soft); color: var(--w-pink); font-size: 12.5px; font-weight: 700; }
#pr-y:checked ~ .pr-switch .pr-off { background: rgba(255, 255, 255, .22); color: #fff; }
#pr-m:checked ~ * .pr-y, #pr-y:checked ~ * .pr-m { display: none !important; }

/* ---------- the two cards (same colours as the homepage plans) ---------- */
.pr-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 920px; margin: 0 auto; align-items: stretch; }
.pr-plan { display: flex; flex-direction: column; padding: 34px; border-radius: 28px; box-shadow: var(--w-card-shadow); }
.pr-free { background: linear-gradient(180deg, #d9ccff 0%, #e6dcff 50%, #f3eeff 100%); color: #151735; }
.pr-pro { background: linear-gradient(180deg, #4a2bc4 0%, #6a45e0 55%, #9c80f5 100%); color: #fff; }
.pr-plan h2 { display: flex; align-items: center; gap: 10px; margin: 0 !important; font-size: 24px !important; color: inherit !important; }
.pr-tag { padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .2); font: 700 12px/1 var(--w-font, Inter, sans-serif); letter-spacing: .02em; }
.pr-for { margin: 6px 0 0 !important; font-size: 15px; opacity: .85; color: inherit !important; }
.pr-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin: 22px 0 2px !important; color: inherit !important; }
.pr-price b { font-family: var(--g-font-display); font-weight: 600; font-size: 58px; line-height: 1; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.pr-price span { font-size: 16px; opacity: .8; }
.pr-save { margin-left: 4px; padding: 5px 11px; border-radius: 999px; background: #ffd6ea; color: #8a1550; font: 700 13px/1 Inter, sans-serif; font-style: normal; align-self: center; }
.pr-bill { margin: 8px 0 22px !important; font-size: 14px; min-height: 2.9em; opacity: .85; color: inherit !important; }
.pr-plan .s-btn { width: 100%; }
.pr-free .s-btn { background: #151735; color: #fff !important; }
.pr-free .s-btn:hover { background: #2a2d55; }
.pr-pro .s-btn { background: #fff; color: #3b1fa8 !important; }
.pr-pro .s-btn:hover { background: #f1ecff; }
.pr-pro .s-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.pr-terms { margin: 12px 0 0 !important; font-size: 13.5px; text-align: center; color: inherit !important; opacity: .92; }
.pr-terms a { color: inherit !important; text-decoration: underline; text-underline-offset: 3px; }
.pr-list { list-style: none; display: grid; gap: 11px; margin: 24px 0 0; padding: 22px 0 0; border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent); font-size: 15px; }
.pr-list li { position: relative; padding-left: 26px; }
.pr-list li::before { content: ''; position: absolute; left: 3px; top: 7px; width: 10px; height: 6px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }

/* Team (only when NEW_PLANS is on) */
.pr-plans-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; }

/* ---------- Pro previews ---------- */
.pr-sec { margin-top: 24px; }
.pr-show { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pr-show .g-card { width: auto; }
.pr-try { margin: 22px 0 0 !important; padding: 16px 20px; border-radius: 16px; background: var(--w-lav); color: var(--w-ink-2); font-size: 15px; }
.pr-try b { color: var(--w-ink); }

/* ---------- comparison ---------- */
.pr-table-wrap { border-radius: 24px; background: var(--w-surface); box-shadow: var(--w-card-shadow); overflow: hidden; }
.pr-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.pr-table th, .pr-table td { padding: 14px 20px; text-align: left; vertical-align: middle; border-top: 1px solid var(--w-line); }
.pr-table thead th { border-top: 0; padding-top: 20px; padding-bottom: 16px; font-family: var(--g-font-display); font-weight: 600; font-size: 18px; color: var(--w-ink); }
.pr-table thead th:last-child { color: var(--w-primary-ink); }
.pr-table td { width: 22%; text-align: center; color: var(--w-ink-2); }
.pr-table td:last-child { background: color-mix(in srgb, var(--w-primary) 6%, transparent); }
.pr-table tbody th { font-weight: 500; color: var(--w-ink); }
.pr-group th { padding-top: 22px !important; padding-bottom: 8px !important; font: 700 12px/1 Inter, sans-serif !important; letter-spacing: .08em; text-transform: uppercase; color: var(--w-ink-3) !important; background: transparent; }
.pr-group + tr th, .pr-group + tr td { border-top: 0; }
.pr-yes { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--w-primary); color: #fff; }
.pr-no { color: var(--w-ink-3); }
.pr-cell { font-size: 14px; font-weight: 600; color: var(--w-ink); }
.pr-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- questions ---------- */
.pr-faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; align-items: start; }
.pr-faq details { border-radius: 18px; background: var(--w-surface); box-shadow: var(--w-card-shadow); }
.pr-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 16px 20px; font-weight: 600; color: var(--w-ink); cursor: pointer; list-style: none; }
.pr-faq summary::-webkit-details-marker { display: none; }
.pr-faq summary::after { content: '+'; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--w-lav); color: var(--w-primary-ink); font-size: 19px; line-height: 1; transition: transform .2s; }
.pr-faq details[open] summary::after { transform: rotate(45deg); }
.pr-faq p { margin: 0 !important; padding: 0 20px 18px; color: var(--w-ink-2); font-size: 15px; line-height: 1.6; }
.pr-contact { margin: 18px 0 0 !important; color: var(--w-ink-3); font-size: 14px; }

/* ---------- final band ---------- */
.pr-end { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 64px 0 24px; padding: 40px 44px; border-radius: 28px; background: linear-gradient(120deg, #4a2bc4 0%, #6a45e0 60%, #8a6cf0 100%); color: #fff; }
.pr-end h2 { margin: 0 0 6px !important; color: #fff !important; font-size: 28px !important; }
.pr-end p { margin: 0 !important; color: rgba(255, 255, 255, .88) !important; }
.pr-end-actions { display: flex; gap: 12px; flex: none; }
.pr-end .s-btn { background: #fff; color: #3b1fa8 !important; }
.pr-end .s-btn-ghost { background: rgba(255, 255, 255, .16); color: #fff !important; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }

@media (max-width: 900px) {
  .pr-show { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 -16px; padding: 4px 16px 20px; scrollbar-width: none; }
  .pr-show .g-card { flex: 0 0 64%; scroll-snap-align: start; }
  .pr-faq { grid-template-columns: 1fr; }
  .pr-end { flex-direction: column; align-items: stretch; padding: 30px 24px; }
  .pr-end-actions { flex-direction: column; }
}
@media (max-width: 720px) {
  .pr-plans, .pr-plans-3 { grid-template-columns: 1fr; }
  .pr-pro { order: -1; }
  .pr-plan { padding: 26px 22px; border-radius: 24px; }
  .pr-price b { font-size: 50px; }
  .pr-bill { min-height: 0; }
  .pr-switch label { padding: 0 16px; }
  .pr-table th, .pr-table td { padding: 12px 10px; font-size: 14px; }
  .pr-table td { width: 25%; }
  .pr-table thead th { font-size: 16px; }
  .pr-cell { font-size: 12.5px; }
}

/* ---------- template pages: the Pro block (free templates and free downloads) ---------- */
.tp-pro { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 28px; align-items: center; margin: 40px 0; padding: 32px; border-radius: 28px; background: linear-gradient(180deg, #4a2bc4 0%, #6a45e0 60%, #8a6cf0 100%); color: #fff; box-shadow: var(--w-card-shadow); }
.tp-pro h2 { margin: 8px 0 8px !important; color: #fff !important; font-size: 26px !important; }
.tp-pro p { margin: 0 0 12px !important; color: rgba(255, 255, 255, .9) !important; font-size: 15px; }
.tp-pro .tp-pro-price { font-size: 13.5px; color: rgba(255, 255, 255, .78) !important; }
.tp-pro-kicker { display: inline-block; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .2); font: 700 12px/1 Inter, sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.tp-pro .s-btn-ghost { background: #fff; color: #3b1fa8 !important; box-shadow: none; }
.tp-pro-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tp-pro-cards .g-card { width: auto; }
.tp-pro .g-card-name b { color: #fff; }
.tp-pro .g-card-name small { color: rgba(255, 255, 255, .75); }
@media (max-width: 900px) {
  .tp-pro { grid-template-columns: 1fr; padding: 26px 20px; }
  .tp-pro-cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 0 16px; scrollbar-width: none; }
  .tp-pro-cards .g-card { flex: 0 0 70%; scroll-snap-align: start; }
}

/* ---------- Pro template pages: first screen ---------- */
.tp-hero-pro { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) !important; grid-template-areas: 'head art' 'buy art' 'more art'; grid-template-rows: auto auto 1fr; column-gap: 40px; row-gap: 0; align-items: start; }
.tp-head { grid-area: head; }
.tp-buy { grid-area: buy; margin: 4px 0 18px; }
.tp-more { grid-area: more; }
.tp-head h1 { margin-bottom: 10px !important; }
.tp-buy .s-actions { margin: 0 !important; }
.tp-buy-note { margin: 10px 0 0 !important; font-size: 13.5px; color: var(--w-ink-3) !important; }
.tp-art { grid-area: art; align-self: center; position: relative; min-height: 420px !important; background: var(--w-grad-lilac) !important; border-radius: 26px !important; box-shadow: var(--w-card-shadow) !important; overflow: hidden; }
.tp-art .g-art { position: absolute; inset: 22px; display: grid; place-items: center; }
.tp-art .g-art img { max-height: 100%; filter: drop-shadow(0 18px 30px rgba(21, 23, 53, .25)); }
.tp-art .g-live { position: absolute; inset: 0; }
@media (max-width: 900px) {
  .tp-hero-pro { grid-template-columns: 1fr !important; grid-template-areas: 'head' 'art' 'buy' 'more'; }
  .s-art.s-art-img.tp-art { display: block; min-height: 0 !important; aspect-ratio: 4 / 3; margin: 6px 0 18px; }
  .tp-buy .s-actions { flex-direction: column; align-items: stretch; }
  .tp-buy .s-btn { width: 100%; }
}
.tp-art.g-deep { background: var(--w-grad-indigo) !important; }
.tp-art-still img { position: absolute; inset: 0; width: 100%; height: 100% !important; max-height: none !important; object-fit: cover; filter: none !important; }
