/* Studio Magic website. School bus yellow and rust on cream: Studio Magic's own colors. */
:root {
  color-scheme: light;
  --rust: #B2573A; --rust-deep: #8C3F25; --rust-soft: #F8E4DC;
  --yellow: #F5B400; --yellow-soft: #FFF3CC;
  --stone-soft: #F1EDE4;
  --ink: #0A4D3A; --muted: #55605A;
  --page: #FFFCF4; --card: #ffffff; --rule: #ECE5D6;
  --on-fill: #ffffff;
  --head: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --emoji: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji";
}
* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; }
body { background: var(--page); color: var(--ink); font-family: var(--body), var(--emoji); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--head), var(--emoji); margin: 0; text-wrap: balance; letter-spacing: -.01em; }
a { color: inherit; }
img, video { max-width: 100%; display: block; }
.em { margin-right: .35em; }

/* Top bar */
.bar { background: var(--rust); color: var(--on-fill); position: sticky; top: 0; z-index: 5; }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 800; font-size: 1.1rem; text-decoration: none; color: var(--on-fill); min-height: 44px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.cta { background: var(--yellow); color: var(--ink); font-weight: 800; text-decoration: none; padding: 9px 16px; border-radius: 10px; min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap; }

/* Hero */
.hero { padding-block: 40px 28px; background: radial-gradient(circle at 92% 0%, var(--yellow-soft), transparent 55%); }
.hero-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1fr 1.25fr; } }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1.08; color: var(--rust); }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 58%, var(--yellow) 58%); }
.hero p { margin: 14px 0 0; font-size: 1.15rem; color: var(--muted); }
.for { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.for li { border-radius: 99px; padding: 5px 13px; font-weight: 700; font-size: .9rem; background: var(--card); border: 1.5px solid var(--rule); }

/* Videos: the wide cut on a big screen, the phone cut on a phone */
.vid { margin: 0; min-width: 0; }
.vid video, .vid img { width: 100%; border-radius: 14px; background: var(--ink); box-shadow: 0 10px 30px rgba(140, 63, 37, .16); }
.vid figcaption { font-weight: 700; margin-top: 8px; font-size: .95rem; }
.vid.big figcaption { display: none; }
.vid .phone { display: none; }
@media (max-width: 720px) {
  .vid .wide { display: none; }
  .vid .phone { display: block; max-height: 82vh; width: auto; margin-inline: auto; aspect-ratio: 9 / 16; }
  .vid figcaption { text-align: center; }
}

/* The journey */
.journey { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); gap: 14px; padding-block: 18px 8px; }
@media (min-width: 1000px) { .journey { grid-template-columns: repeat(5, 1fr); gap: 12px; } }
.step { background: var(--card); border: 1px solid var(--rule); border-radius: 16px; padding: 20px 18px 18px; min-width: 0; position: relative; overflow: hidden; }
.step::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--rust); }
.step:nth-child(2)::after { background: var(--rust-deep); } .step:nth-child(3)::after { background: var(--yellow); }
.step:nth-child(4)::after { background: var(--ink); } .step:nth-child(5)::after { background: var(--rust-deep); }
.step .top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.step .n { flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: var(--rust); color: var(--on-fill); display: grid; place-items: center; font-family: var(--head); font-weight: 800; }
.step h3 { font-size: 1.15rem; }
.step .lead { font-weight: 700; margin: 0 0 8px; }
.step ul, .block ul { margin: 0; padding-left: 1.1rem; }
.step li { color: var(--muted); font-size: .94rem; margin: 4px 0; }

/* The little things */
.little { margin-top: 34px; background: var(--rust); color: var(--on-fill); border-radius: 20px; padding: 26px 22px; }
.little h2 { font-size: clamp(1.4rem, 3.2vw, 2rem); margin-bottom: 16px; }
.lgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(14rem, 100%), 1fr)); gap: 12px; }
.lcard { background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.18); border-radius: 14px; padding: 14px 15px; min-width: 0; }
.lcard .ic { font-size: 1.5rem; line-height: 1; }
.lcard p { margin: 8px 0 6px; font-weight: 700; line-height: 1.35; }
.lcard small { color: var(--yellow-soft); font-weight: 700; font-size: .8rem; }

/* Feature tiles + more videos */
.explore { scroll-margin-top: 72px; }
.explore h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); margin: 38px 0 14px; color: var(--rust); }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr)); gap: 12px; }
.tile { display: flex; gap: 12px; align-items: center; text-decoration: none; border-radius: 16px; padding: 16px; min-height: 84px; border: 2px solid transparent; transition: transform .15s, border-color .15s; }
.tile:hover, .tile:focus-visible { transform: translateY(-2px); border-color: var(--rust); outline: none; }
.tile .ic { flex: none; width: 3rem; height: 3rem; border-radius: 14px; background: var(--card); display: grid; place-items: center; font-size: 1.5rem; }
.tile b { display: block; font-family: var(--head); font-size: 1.05rem; }
.tile span { font-size: .92rem; }
.tile .arrow { margin-left: auto; font-weight: 800; font-size: 1.2rem; }
.t-yellow, .t-gold { background: var(--yellow-soft); }
.t-rust { background: var(--rust-soft); }
.t-emerald { background: var(--stone-soft); }
.tile.settings { background: var(--rust); color: var(--on-fill); grid-column: 1 / -1; }
.vgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(19rem, 100%), 1fr)); gap: 18px; }

/* Section pages */
.page { padding-block: 22px 10px; }
.back { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; text-decoration: none; padding: 9px 14px; border-radius: 10px; background: var(--card); border: 1.5px solid var(--rule); min-height: 44px; }
.page .head { display: flex; align-items: center; gap: 14px; margin: 22px 0 6px; }
.page .head .ic { flex: none; width: 3.4rem; height: 3.4rem; border-radius: 16px; display: grid; place-items: center; font-size: 1.7rem; }
.page h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); color: var(--rust); }
.page .opener { font-size: 1.2rem; font-weight: 700; margin: 6px 0 20px; max-width: 44rem; }
.media { display: grid; gap: 18px; margin-bottom: 22px; grid-template-columns: repeat(auto-fit, minmax(min(19rem, 100%), 1fr)); }
.media .big { grid-column: 1 / -1; }
.blocks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(24rem, 100%), 1fr)); gap: 14px; }
.block { background: var(--card); border: 1px solid var(--rule); border-radius: 16px; padding: 18px; min-width: 0; }
.block h3 { font-size: 1rem; display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.block h3 .dot { width: 1.9rem; height: 1.9rem; border-radius: 10px; display: grid; place-items: center; }
.block li { margin: 6px 0; }
.block.does, .block.does + .block.choose:last-child { grid-column: 1 / -1; }
.block.does { border-top: 6px solid var(--rust); }
.block li { text-wrap: pretty; }
@media (min-width: 680px) {
  :is(.block.does, .block.does + .block.choose:last-child) ul:has(> li + li) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
  }
  :is(.block.does, .block.does + .block.choose:last-child) li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}
.block.auto { border-top: 6px solid var(--yellow); }
.block.choose { border-top: 6px solid var(--ink); }
.block.does h3 .dot { background: var(--rust-soft); }
.block.auto h3 .dot { background: var(--yellow-soft); }
.block.choose h3 .dot { background: var(--stone-soft); }
.sgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(19rem, 100%), 1fr)); gap: 12px; }
.sitem { display: flex; gap: 12px; background: var(--card); border: 1px solid var(--rule); border-radius: 14px; padding: 14px 16px; min-width: 0; }
.sitem .ic { flex: none; width: 2.4rem; height: 2.4rem; border-radius: 12px; background: var(--rust-soft); display: grid; place-items: center; font-size: 1.2rem; }
.sitem b { display: block; font-family: var(--head); }
.sitem span { color: var(--muted); font-size: .95rem; }

/* Ask for a login */
.ask { margin: 44px 0 10px; background: var(--rust); color: var(--on-fill); border-radius: 20px; padding: 28px 22px; scroll-margin-top: 72px; }
.ask-in { display: grid; gap: 20px; align-items: start; }
@media (min-width: 860px) { .ask-in { grid-template-columns: 1fr 1.3fr; } }
.ask h2 { font-size: clamp(1.5rem, 3.2vw, 2rem); }
.ask p { margin: 6px 0 0; font-size: 1.1rem; color: var(--rust-soft); }
.form { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(14rem, 100%), 1fr)); }
.form label { display: grid; gap: 4px; font-weight: 700; font-size: .95rem; }
.input { font: inherit; font-size: 16px; min-height: 44px; padding: 10px 12px; border-radius: 10px; border: 1.5px solid transparent; background: var(--card); color: var(--ink); width: 100%; }
.input:focus { outline: 3px solid var(--yellow); outline-offset: 1px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.go-btn { font: inherit; font-weight: 800; font-size: 16px; min-height: 44px; padding: 10px 18px; border: 0; border-radius: 10px; background: var(--yellow); color: var(--ink); cursor: pointer; align-self: end; }
.go-btn:disabled { opacity: .6; cursor: default; }
.status { grid-column: 1 / -1; margin: 0; font-weight: 700; min-height: 1.4em; }

.foot { color: var(--muted); font-size: .9rem; padding-block: 18px 32px; text-align: center; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .tile { transition: none; } }
@media (max-width: 720px) {
  .vgrid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .vgrid .vid .phone { width: 100%; max-height: none; }
  .vgrid .vid figcaption { font-size: .85rem; }
}

/* Parents have their gallery. Your clients have Studio Magic. */
.diff { margin-top: 26px; }
.diff h2, .security h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); color: var(--rust); margin-bottom: 16px; }
.dgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); gap: 14px; }
.dcard { display: block; text-decoration: none; background: var(--card); border: 1px solid var(--rule); border-radius: 16px; overflow: hidden; transition: transform .15s, border-color .15s; min-width: 0; }
.dcard:hover, .dcard:focus-visible { transform: translateY(-2px); border-color: var(--rust); outline: none; }
.dcard img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.dcard p { margin: 0; padding: 12px 14px 14px; font-weight: 700; line-height: 1.35; }

/* Security on the home page */
.security { margin-top: 40px; }
.secgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(19rem, 100%), 1fr)); gap: 12px; }
.scard { display: flex; gap: 12px; background: var(--card); border: 1px solid var(--rule); border-left: 4px solid var(--ink); border-radius: 14px; padding: 14px 16px; min-width: 0; }
.scard .ic { flex: none; font-size: 1.4rem; line-height: 1.2; }
.scard b { font-family: var(--head); display: block; }
.scard p { margin: 2px 0 0; color: var(--muted); font-size: .95rem; }
.more { display: inline-flex; align-items: center; min-height: 44px; margin-top: 10px; font-weight: 800; color: var(--rust); text-decoration: none; }

/* All-inclusive + built by a working studio */
.duo { display: grid; gap: 14px; margin-top: 34px; grid-template-columns: repeat(auto-fit, minmax(min(22rem, 100%), 1fr)); }
.incl, .working { border-radius: 20px; padding: 24px 22px; min-width: 0; }
.incl { background: var(--yellow-soft); }
.working { background: var(--stone-soft); }
.big-ic { font-size: 2rem; line-height: 1; }
.incl h2, .working h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); margin-top: 10px; }
.duo .sub { font-size: 1.15rem; font-weight: 700; margin: 6px 0 0; }
.duo .note { color: var(--muted); margin: 12px 0 0; font-size: .95rem; }
@media (prefers-reduced-motion: reduce) { .dcard { transition: none; } }
@media (max-width: 720px) {
  .dgrid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .dcard p { padding: 8px 10px 10px; font-size: .88rem; }
}

/* Proof beside each step: a short muted loop of the real screen */
.step { padding-top: 0; }
.step .clip { display: block; width: calc(100% + 36px); margin: 0 -18px 14px; aspect-ratio: 3 / 2; object-fit: cover; object-position: top; background: var(--rust-soft); }
.lcard { text-decoration: none; color: inherit; transition: background .15s; }
.lcard:hover, .lcard:focus-visible { background: rgba(255,255,255,.16); outline: none; }
.dcard p b { display: block; font-family: var(--head); margin-bottom: 2px; }
.voices { margin-top: 34px; }
.voice { margin: 0; background: var(--card); border: 1px solid var(--rule); border-radius: 16px; padding: 18px; }
@media (prefers-reduced-motion: reduce) { .lcard { transition: none; } }
.logos { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: center; margin-bottom: 18px; }
.logos img { height: 48px; width: auto; filter: grayscale(1); opacity: .8; }

.group { font-size: 1.05rem; color: var(--muted); margin: 18px 0 10px; text-transform: uppercase; letter-spacing: .06em; }
.next { display: inline-flex; align-items: center; min-height: 44px; margin-top: 22px; padding: 10px 16px; border-radius: 12px; background: var(--rust-soft); color: var(--rust); font-weight: 800; text-decoration: none; }

/* Yellow leads, rust is the accent, like the logo (hers, 2026-11-20: "Yellow for main and rust as accent like the logo"). */
.bar { background: var(--yellow); color: var(--ink); }
.brand { color: var(--ink); }
.cta { background: var(--rust); color: var(--on-fill); }
.hero h1, .page h1, .diff h2, .security h2, .explore h2 { color: var(--ink); }
.hero h1 em { background: none; color: var(--rust); }
.hero { background: radial-gradient(circle at 92% 0%, var(--rust-soft), transparent 55%); }
.little, .ask { background: var(--yellow); color: var(--ink); }
.lcard { background: rgba(255,255,255,.45); border-color: rgba(36,48,43,.12); }
.lcard small { color: var(--rust-deep); }
.ask p { color: var(--ink); }
.go-btn { background: var(--rust); color: var(--on-fill); }
.step .n { background: var(--yellow); color: var(--ink); }
.step:nth-child(1)::after { background: var(--yellow); }
.step:nth-child(3)::after { background: var(--rust); }
.tile.settings { background: var(--yellow); color: var(--ink); }
.more, .next { color: var(--rust-deep); }
.brand img { box-shadow: 0 0 0 2px var(--on-fill); }

/* The approved lockup (public/brand/studio-magic): STUDIO light and widely spaced, MAGIC bold, both Montserrat capitals. */
.lockup { font-family: var(--head); text-transform: uppercase; white-space: nowrap; }
.lockup .l1 { font-weight: 300; letter-spacing: .22em; }
.lockup .l2 { font-weight: 800; letter-spacing: .12em; }
.brand { font-size: 1.05rem; }
.brand img { box-shadow: 0 0 0 2px var(--on-fill), 0 1px 4px rgba(10, 77, 58, .25); }
.foot .lockup { font-size: .85rem; color: var(--ink); }
@media (max-width: 400px) { .brand { font-size: .9rem; } .lockup .l1 { letter-spacing: .14em; } }

/* Like the logo (hers, 2026-11-20: "THIS is what I am thinking of"): the horizontal logo on a cream bar,
   and headings in its caps style, light and widely spaced, with bold for what matters. */
.bar { background: var(--page); color: var(--ink); border-bottom: 5px solid var(--yellow); }
.brand .logo { height: 40px; width: auto; display: block; box-shadow: none; border-radius: 0; }
@media (max-width: 400px) { .brand .logo { height: 30px; } }
.foot .logo { height: 26px; width: auto; margin: 0 auto; opacity: .9; }
.hero h1 { font-weight: 300; text-transform: uppercase; letter-spacing: .05em; line-height: 1.12; font-size: clamp(1.8rem, 4.2vw, 2.9rem); }
.hero h1 em { font-weight: 800; letter-spacing: .08em; }
.diff h2, .security h2, .explore h2, .little h2, .ask h2, .incl h2, .working h2 { text-transform: uppercase; font-weight: 800; letter-spacing: .1em; font-size: clamp(1.15rem, 2.4vw, 1.6rem); line-height: 1.25; }
.page h1 { font-weight: 300; text-transform: uppercase; letter-spacing: .14em; font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
.group { letter-spacing: .16em; font-weight: 300; }
/* Her follow-up: the logo in emerald on the gold header. */
.bar { background: var(--yellow); border-bottom: 0; }
.brand .logo { height: 46px; }
@media (max-width: 400px) { .brand .logo { height: 32px; } }
.brand .logo { height: 60px; }
@media (max-width: 720px) { .brand .logo { height: 44px; } }
@media (max-width: 400px) { .brand .logo { height: 38px; } }
/* Her pick, 2026-11-20 ("D, white on rust"): the white logo on a rust header, gold button. */
.bar { background: var(--rust); color: var(--on-fill); }
.cta { background: var(--yellow); color: var(--ink); }
/* Her ask, 2026-11-20 ("Maybe make the inside smaller boxes cream?"): cream cards inside the yellow band, never yellow on yellow. */
.little .lcard { background: var(--page); border-color: transparent; }
.little .lcard:hover, .little .lcard:focus-visible { background: var(--card); }

/* Customer stories + pricing: both hidden until site_data.py fills them. */
.stories { margin-top: 34px; }
.stories h2, .pricing h2 { text-transform: uppercase; font-weight: 800; letter-spacing: .1em; font-size: clamp(1.15rem, 2.4vw, 1.6rem); color: var(--ink); margin-bottom: 14px; }
.story { display: flex; gap: 14px; background: var(--card); border: 1px solid var(--rule); border-radius: 16px; padding: 16px; min-width: 0; }
.story img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }
.story h3 { font-size: 1rem; } .story small { color: var(--muted); } .story p { margin: 6px 0 0; }
.pricing { margin-top: 34px; background: var(--card); border: 2px solid var(--yellow); border-radius: 20px; padding: 26px 22px; text-align: center; }
.pricing .amount { font-family: var(--head); font-weight: 800; font-size: 2.4rem; color: var(--rust); margin: 6px 0; }
.pricing .amount span { font-size: 1rem; font-weight: 600; color: var(--muted); }
.pricing .go-btn { display: inline-flex; align-items: center; text-decoration: none; margin-top: 10px; }

/* Pricing (her ruling 2026-11-21) */
.top-links { display: flex; align-items: center; gap: 6px; }
.toplink { color: var(--on-fill); font-weight: 800; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; padding: 0 12px; }
@media (max-width: 400px) { .toplink { padding: 0 6px; } }
.price-line { font-family: var(--head); font-weight: 800; font-size: 1.2rem; color: var(--ink); margin: 0 0 6px; }
.pricing { text-align: left; }
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr)); gap: 14px; margin-bottom: 8px; }
.tier { background: var(--card); border: 1px solid var(--rule); border-top: 6px solid var(--yellow); border-radius: 16px; padding: 18px; min-width: 0; }
.tier:nth-child(2) { border-top-color: var(--rust); } .tier:nth-child(3) { border-top-color: var(--ink); }
.tier .ic { font-size: 1.6rem; } .tier h3 { margin-top: 6px; font-size: 1.05rem; }
.tier .amount { font-family: var(--head); font-weight: 800; font-size: 2.2rem; color: var(--rust); margin: 4px 0; }
.tier .amount span { font-size: 1rem; font-weight: 600; color: var(--muted); }
.tier p:last-child { margin: 0; color: var(--muted); }
.nomin { font-weight: 800; margin: 10px 0 18px; }
.examples { list-style: none; padding: 0; }
.examples li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--rule); }
.examples li:last-child { border-bottom: 0; }
.examples b { color: var(--rust); white-space: nowrap; }
.offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr)); gap: 12px; margin-bottom: 18px; }
.offer { display: flex; gap: 12px; align-items: center; background: var(--yellow-soft); border-radius: 14px; padding: 14px 16px; min-width: 0; }
.offer .ic { font-size: 1.5rem; flex: none; }
.offer b { display: block; font-family: var(--head); }
.offer span { color: var(--ink); }

/* School example, tool compatibility and delivery receipt */
.hero-proof img { height: auto; }
.hero-proof a, .foot a, .demo-video summary { display: inline-flex; align-items: center; min-height: 44px; }
.hero-proof a { color: var(--ink); }
.foot a { margin-bottom: 6px; }
.studio-origin { margin-top: 32px; padding: 20px; border-radius: 16px; background: var(--yellow-soft); }
.studio-origin p, .fit-card p, .demo-step p { margin: 6px 0 0; }
.fit-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(19rem, 100%), 1fr)); }
.fit-card, .sample-receipt, .demo-step { border: 1px solid var(--rule); background: var(--card); border-radius: 16px; }
.fit-card, .sample-receipt { padding: clamp(16px, 3vw, 26px); }
.fit-card h2, .demo-step h2 { font-size: 1.2rem; }
.page .fit-opener { max-width: none; }
.gallery-examples { margin-bottom: 14px; }
.gallery-examples .gallery-note { margin-top: 10px; }
.gallery-examples dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(12rem, 100%), 1fr)); gap: 12px; margin: 16px 0 0; }
.gallery-examples dl > div { background: var(--page); border: 1px solid var(--rule); border-radius: 12px; padding: 12px 14px; font-size: .9rem; }
.gallery-examples dt { font-weight: 800; }
.gallery-examples dd { margin: 4px 0 0; }
.demo-step { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; padding: 14px; margin-bottom: 14px; }
.demo-step img { width: 100%; max-height: 360px; object-fit: contain; border-radius: 10px; }
.demo-video { margin-top: 24px; }
.demo-video summary { display: list-item; cursor: pointer; font-weight: 800; padding-block: 10px; }
.demo-video .vid { max-width: 760px; }
.sample-receipt { max-width: 760px; }
.sample-receipt header p, .sample-receipt > p { margin: 4px 0 0; }
.sample-receipt h3 { margin-top: 22px; }
.receipt-counts { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(min(8rem, 100%), 1fr)); }
.receipt-counts div { background: var(--stone-soft); padding: 10px; border-radius: 10px; }
.receipt-counts dd { font-weight: 800; font-size: 1.45rem; margin: 0; }
.receipt-files { list-style: none; padding: 0; }
.receipt-files li { display: flex; justify-content: space-between; gap: 12px; padding-block: 6px; border-bottom: 1px solid var(--rule); }
.receipt-files span { font-weight: 800; }
.step p { margin: 6px 0 0; }
@media (max-width: 620px) {
  .demo-step { grid-template-columns: minmax(0, 1fr); }
  .sample-receipt header h2 { font-size: 1.3rem; }
}
@media (max-width: 420px) {
  .bar .wrap { gap: 7px; }
  .brand { min-width: 0; }
  .brand .logo { max-width: 100%; height: auto; max-height: 38px; }
  .top-links { flex-shrink: 0; gap: 4px; }
  .top-links .cta { font-size: .85rem; padding-inline: 10px; }
}
@media print {
  body:has(.sample-receipt) { background: #fff; }
  body:has(.sample-receipt) .bar, body:has(.sample-receipt) .foot,
  body:has(.sample-receipt) .back, body:has(.sample-receipt) .more { display: none; }
  .sample-receipt { break-inside: avoid; }
}
