/* Extend the existing theme's type scale, spacing and button treatment. */
:root { --sg-header-height: 96px; }
@media (max-width: 560px) { :root { --sg-header-height: 74px; } }
.santagram-reference {
  --sg-font-body: Inter,sans-serif;
  --sg-font-display: 'Berkshire Swash',cursive;
  --sg-type-body: clamp(14px,calc(13px + .25vw),16px);
  --sg-type-lead: clamp(18px,calc(16px + .625vw),24px);
  --sg-type-badge: clamp(12px,calc(11px + .5vw),14px);
  --sg-type-hero-title: clamp(23px,min(5.4vw,7svh),66px);
  --sg-type-section-title: clamp(28px,4vw,38px);
  --sg-type-meta: calc(var(--sg-type-body) - 2px);
  --sg-type-micro: calc(var(--sg-type-meta) - 1px);
  --sg-leading-title: 1.25;
  --sg-leading-body: 1.65;
  --sg-tooltip-gap: 12px;
  /* Shared rhythm for public sections; purchase forms use their own spacing. */
  --section-gap: 96px;
  --sg-space-heading: 16px;
  --sg-space-content: 40px;
  --sg-space-copy: 16px;
  --sg-space-grid: 24px;
  --sg-space-action: 32px;
  --sg-space-band: 64px;
}
[data-sg-swipe-hint][hidden] { display: none; }
/* Partners close the content; retain the shared gap before the footer band. */
.santagram-reference > .partners-section:has(+ .site-footer),
.santagram-reference > .partners-section:has(+ .promo-bar + .site-footer) { padding-bottom: var(--section-gap); }
/* Descriptions share one fluid size and leading across sections and scene cards. */
.sg-landing-hero p.sub,.demo-heading p,.demo-scene p,.demo-summary-copy p,
.santagram-reference :is(.reel-heading,.steps-heading,.step-text) p {
  font: 400 var(--sg-type-body)/var(--sg-leading-body) var(--sg-font-body);
}
.santagram-reference :is(.demo-heading,.reel-heading,.steps-heading) h2 {
  font-size: var(--sg-type-section-title);
}
.santagram-reference :is(.feature-section,.reel-section,.steps-section,.quote-section,.final-cta) a.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; min-height: 60px;
  padding: 18px 44px; font-size: 20px; line-height: 1.2; text-align: center; text-decoration: none;
}
@media (min-width: 641px) {
  .santagram-reference .steps-section .steps-cta a.btn-primary { min-height: 52px; padding: 14px 34px; font-size: 18px; box-shadow: 0 7px 16px rgba(227,28,61,.2); }
}
.santagram-reference :is(.hero-actions,.demo-cta,.steps-cta,.quote-inner,.final-cta,.sticky-order,.mobile-menu) > :is(a.btn-primary,a.btn-watch):focus-visible,
.sg-demo-section .demo-play:focus-visible { outline: 3px solid #efa947; outline-offset: 5px; }
/* The absolute header overlays the photo; subtract it once from the content area. */
.sg-landing-hero { height: 100vh; height: 100svh; height: 100dvh; min-height: 0; padding: calc(var(--sg-header-height) + clamp(12px,2.2svh,24px)) 24px clamp(16px,3svh,32px); }
/* Center visible letter height instead of Inter's ascent/descent line-box space. */
.sg-landing-hero :is(.badge,.hero-footnote),.demo-caption.badge { display: inline-flex; flex: none; align-items: center; justify-content: center; min-height: clamp(40px,calc(38px + .469vw),44px); font: 700 var(--sg-type-badge)/1.4 var(--sg-font-body); padding: clamp(7px,calc(6px + .234vw),9px) clamp(16px,1.72vw,22px); }
.sg-badge-label { display: block; text-box-trim: trim-both; text-box-edge: cap alphabetic; }
@supports not (text-box-trim: trim-both) { .sg-badge-label { transform: translateY(-1px); } }
.sg-landing-hero .hero-footnote { max-width: 100%; font-weight: 500; }
.sg-landing-hero .badge { max-width: 100%; margin-bottom: 26px; background: rgba(255,255,255,.08); }
.sg-landing-hero .hero-content { flex: 0 0 auto; }
.sg-landing-hero h1 { font-family: var(--sg-font-display); font-weight: 900; font-size: var(--sg-type-hero-title); }
.sg-landing-hero .hero-intro { font: 700 var(--sg-type-lead)/1.35 var(--sg-font-body); color: #fff; margin: 0 0 16px; text-shadow: 0 2px 10px rgba(0,0,0,.65); }
.sg-landing-hero p.sub { margin-bottom: 20px; }
.sg-landing-hero .hero-price { margin: 0 0 32px; font-size: var(--sg-type-body); }
.hero-price-label { display: block; margin-bottom: 0; }
.hero-price-values { display: block; white-space: nowrap; }
.hero-price del { font-family: var(--sg-font-display); opacity: .8; font-size: 24px; margin-right: 0; }
.sg-landing-hero .hero-price b { font-family: var(--sg-font-display); font-size: 36px; }
.hero-actions { display: flex; align-items: stretch; justify-content: center; flex-wrap: wrap; gap: 14px; }
.sg-landing-hero .hero-actions :is(.btn-primary,.btn-watch) { display: inline-flex; align-items: center; justify-content: center; min-width: 224px; min-height: 56px; padding: 14px 30px; font-size: 20px; line-height: 1.2; margin: 0; text-decoration: none; }
.sg-landing-hero .btn-watch { border: 1px solid rgba(255,255,255,.7); border-radius: var(--radius-pill); background: rgba(20,10,8,.35); backdrop-filter: blur(3px); }
.sg-landing-hero .btn-watch:hover { background: rgba(20,10,8,.6); }
.sg-landing-hero .btn-watch .play-circle { width: 28px; height: 28px; }
/* Demo CTA keeps the separately approved distance from its content. */
/* Anchor the visible content, accounting for the section's own top padding. */
.sg-demo-section { --demo-section-space: var(--section-gap); --demo-action-space: 48px; max-width: 1440px; padding-top: var(--demo-section-space); scroll-margin-top: calc(var(--sg-space-grid) - var(--demo-section-space)); outline: none; }
.sg-demo-grid { grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); align-items: start; }
.sg-demo-content { min-width: 0; padding: 0; }
.sg-demo-media { min-width: 0; }
.demo-heading { width: 100%; margin: 0; text-align: left; }
.demo-heading h2 { font-family: var(--sg-font-display); font-weight: 400; line-height: var(--sg-leading-title); color: var(--ink); margin: 0 0 var(--sg-space-heading); text-wrap: balance; }
.demo-heading p { color: var(--ink-soft); margin: 0; }
.demo-heading p + p { margin-top: var(--sg-space-copy); }
.sg-demo-player { width: 100%; max-width: none; margin: 0; aspect-ratio: 16/9; border-radius: 24px; background: #28170f; }
.sg-demo-player { scroll-margin-top: 110px; }
.sg-demo-player .demo-poster { object-position: right center; }
.sg-demo-player .feature-video { opacity: 0; }
.sg-demo-player.is-video-loaded .feature-video { opacity: 1; }
.demo-play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: #28170f; cursor: pointer; color: #fff; }
.demo-play[hidden] { display: none; }
.demo-poster { display: block; width: 100%; height: 100%; object-fit: cover; }
.demo-play::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg,rgba(15,7,3,.2),transparent 30%,rgba(15,7,3,.2)); }
.demo-caption.badge { position: absolute; top: 22px; left: 22px; z-index: 3; gap: 8px; margin: 0; background: rgba(20,10,8,.72); border-color: rgba(255,255,255,.45); }
.demo-caption::after { content: ''; position: absolute; top: 100%; left: 0; width: 100%; height: calc(var(--sg-tooltip-gap) + 2px); }
.demo-info-toggle { display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: help; }
.demo-info-toggle:hover { background: rgba(255,255,255,.14); }
.demo-info-toggle:focus-visible { outline: 2px solid #efa947; outline-offset: 3px; }
.demo-tooltip { position: absolute; top: calc(100% + var(--sg-tooltip-gap)); left: 0; width: 280px; max-width: calc(100vw - 80px); padding: 12px 14px; border: 1px solid var(--red); border-radius: 14px; background: var(--red-dark); color: #fff; box-shadow: 0 8px 24px rgba(47,18,16,.12); font: 400 var(--sg-type-meta)/var(--sg-leading-body) var(--sg-font-body); text-align: left; cursor: auto; transition: translate .2s ease; }
.demo-tooltip[hidden] { display: none; }
.demo-facts-wrap { min-width: 0; }
.demo-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; list-style: none; margin: 0; padding: 16px 0 0; }
.demo-fact { position: relative; display: grid; min-width: 0; }
.demo-fact::after { content: ''; position: absolute; bottom: 100%; left: 0; right: 0; height: calc(var(--sg-tooltip-gap) + 2px); }
.demo-fact-toggle { display: flex; align-items: center; justify-content: flex-start; gap: 12px; width: 100%; height: auto; min-width: 0; min-height: 74px; padding: 12px; color: var(--ink); font: 400 var(--sg-type-body)/1.4 var(--sg-font-body); text-align: left; }
.demo-fact-icon { display: inline-flex; flex: none; align-items: center; justify-content: center; width: clamp(32px,3vw,36px); height: clamp(32px,3vw,36px); border-radius: 10px; background: rgba(227,28,61,.08); color: var(--red); font-size: 16px; line-height: 1; }
.demo-fact-icon img { width: 20px; height: 20px; object-fit: contain; }
.demo-fact-label { display: block; min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.demo-fact-caption { display: block; margin-bottom: 3px; color: var(--ink-soft); font-size: var(--sg-type-meta); line-height: 1.4; letter-spacing: normal; text-transform: none; }
.demo-fact-value { display: block; font-size: var(--sg-type-body); line-height: 1.4; font-weight: 700; }
.demo-fact-tap,.demo-facts-swipe { display: none; }
.demo-facts-swipe[hidden] { display: none; }
/* The mobile rail already leaves 8px below the card for its shadow. */
.demo-facts-details .demo-tooltip { position: static; width: auto; max-width: none; margin-top: calc(var(--sg-tooltip-gap) - 8px); transform: none; }
.demo-facts-details .demo-tooltip:not([hidden]) { display: block; }
.demo-fact .demo-tooltip { top: auto; bottom: calc(100% + var(--sg-tooltip-gap)); z-index: 4; }
/* Follow the card's hover lift so the visible gap stays the same. */
.demo-fact-toggle:hover + .demo-tooltip,
.demo-facts-wrap:has(.demo-fact-toggle:hover) .demo-facts-details .demo-tooltip { translate: 0 -2px; }
.demo-fact:nth-child(3n+2) .demo-tooltip { left: 50%; transform: translateX(-50%); }
.demo-fact:nth-child(3n) .demo-tooltip { left: auto; right: 0; }
/* Both columns form one area; the player fills the space above the facts. */
@media (min-width: 901px) {
  .sg-demo-grid { align-items: stretch; }
  .sg-demo-media { display: grid; grid-template-rows: minmax(0,1fr) auto; min-height: 0; }
  .sg-demo-media .sg-demo-player { height: 100%; min-height: 0; aspect-ratio: auto; }
}
.demo-play-icon { display: grid; place-items: center; position: absolute; top: 50%; left: 50%; z-index: 1; width: 84px; height: 84px; border: 1px solid rgba(255,255,255,.8); border-radius: 50%; background: rgba(255,255,255,.95); color: var(--red); box-shadow: 0 8px 28px rgba(0,0,0,.22); transform: translate(-50%,-50%); transition: transform .18s,box-shadow .18s; }
.demo-play:hover .demo-play-icon { transform: translate(-50%,-50%) scale(1.06); box-shadow: 0 10px 32px rgba(0,0,0,.3); }
.sg-demo-player.is-video-started .demo-caption { display: none; }
.demo-scenes { display: grid; grid-template-columns: minmax(0,1fr); gap: var(--sg-space-copy); width: 100%; margin-top: var(--sg-space-grid); }
.demo-scene { display: grid; grid-template-columns: 160px minmax(0,1fr); align-items: center; gap: 16px; min-width: 0; }
a.demo-scene { color: inherit; text-decoration: none; }
a.demo-scene:focus-visible { outline: 3px solid #efa947; outline-offset: 6px; }
.demo-scene-thumb { display: block; position: relative; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; }
.demo-scene-time { position: absolute; right: 6px; bottom: 6px; padding: 3px 6px; border: 1px solid rgba(255,255,255,.25); border-radius: 6px; background: rgba(20,10,8,.85); color: #fff; font: 600 var(--sg-type-micro)/1.2 var(--sg-font-body); font-variant-numeric: tabular-nums; }
.demo-scene-play { display: grid; place-items: center; position: absolute; top: 50%; left: 50%; width: 32px; height: 32px; border-radius: 50%; background: var(--red); color: #fff; opacity: 0; transform: translate(-50%,-50%) scale(.85); transition: opacity .2s,transform .2s; }
.demo-scene img { transition: transform .25s ease,filter .25s ease; }
.demo-scene.is-active .demo-scene-thumb { box-shadow: 0 0 0 1px var(--red); }
.demo-scene.is-active h3,a.demo-scene:focus-visible h3 { color: var(--red); }
a.demo-scene:focus-visible .demo-scene-play { opacity: 1; transform: translate(-50%,-50%) scale(1); }
@media (hover: hover) {
  a.demo-scene:hover h3 { color: var(--red); }
  a.demo-scene:hover img { transform: scale(1.05); filter: brightness(.9); }
  a.demo-scene:hover .demo-scene-play { opacity: 1; transform: translate(-50%,-50%) scale(1); }
}
.demo-scene:not(:last-child) { padding-bottom: 16px; border-bottom: 1px solid rgba(34,21,18,.1); }
.demo-scene img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; border-radius: 12px; margin: 0; }
.demo-scene h3 { font: 700 var(--sg-type-body)/1.4 var(--sg-font-body); color: var(--ink); margin: 0 0 6px; }
.demo-scene p { color: var(--ink-soft); margin: 0; }
.demo-cta { text-align: center; margin-top: var(--demo-action-space); }
.demo-extra-benefits { width: 100%; margin: 28px 0 0; }
/* A single, quiet footer for the demo: three icon-led points and one shared action. */
.demo-order-summary { margin-top: 32px; scroll-margin-top: calc(var(--sg-header-height) + 16px); }
.demo-summary-panel { overflow: hidden; border: 1px solid rgba(47,18,16,.1); border-radius: 14px; background: var(--cream); }
.demo-summary-banner { position: relative; display: grid; place-items: center; height: 170px; isolation: isolate; overflow: hidden; background: #422b21; }
.demo-summary-banner img { position: absolute; z-index: -2; inset: 0 auto 0 0; width: 115%; max-width: none; height: 100%; object-fit: cover; object-position: 50% 35%; }
.demo-summary-banner::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,rgba(34,21,18,.4),rgba(34,21,18,.32) 52%,transparent 80%); }
.demo-summary-banner h3 { margin: 0; padding: 0 20px; color: #fff; font: 400 var(--sg-type-section-title)/1.25 'Berkshire Swash',cursive; text-align: center; text-shadow: 0 2px 8px rgba(0,0,0,.25); }
.demo-summary-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; margin: 0; padding: 22px 28px; list-style: none; }
.demo-summary-step { position: relative; min-width: 0; text-align: center; }
.demo-summary-icon { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin: 0 auto 8px; color: var(--red); font-size: 26px; line-height: 1; }
.demo-summary-step h4 { margin: 0 0 5px; color: var(--ink); font: 700 clamp(12px,.8125em,13px)/1.4 var(--sg-font-body); }
.demo-summary-copy p { margin: 0; color: var(--ink-soft); }
/* The qualification belongs to the delivery promise inside the same panel. */
.trust-section .sg-timing-note { max-width: 940px; margin: 32px auto 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.72); font: 400 13px/1.65 Inter,sans-serif; text-align: center; }
#orderModal .modal-summary-price { font-family: var(--sg-font-display); font-size: 36px; font-weight: 700; }
#orderModal .modal-summary-price del { font-family: var(--sg-font-display); font-size: 24px; font-weight: 400; color: #87766e; margin-right: 5px; }
.sticky-order-price del { font-size: var(--sg-type-micro); color: #766; margin-right: 3px; }
@media (max-width: 760px) {
  .trust-section .sg-timing-note { margin-top: 28px; font-size: 13px; text-align: left; }
}
@media (max-width: 900px) {
  .sg-demo-grid { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .sg-demo-player { aspect-ratio: 16/9; }
}
@media (max-width: 640px) {
  .santagram-reference { --section-gap: 48px; --sg-space-heading: 12px; --sg-space-content: 24px; --sg-space-copy: 12px; --sg-space-grid: 16px; --sg-space-action: 24px; --sg-space-band: 48px; }
  .santagram-reference { --sg-mobile-button-height: 50px; --sg-mobile-button-size: 17px; --sg-mobile-button-padding-block: 12px; --sg-mobile-button-padding-inline: 28px; }
  .santagram-reference :is(.hero-actions,.demo-cta,.steps-cta,.quote-inner,.final-cta,.sticky-order,.mobile-menu) > :is(a.btn-primary,a.btn-watch) {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: var(--sg-mobile-button-height);
    padding: var(--sg-mobile-button-padding-block) var(--sg-mobile-button-padding-inline);
    font: 400 var(--sg-mobile-button-size)/1.2 var(--sg-font-display);
    text-align: center;
  }
  .sg-landing-hero { justify-content: flex-end; padding: calc(var(--sg-header-height) + 12px) 20px 24px; }
  #orderModal .modal-summary-price { font-size: 30px; }
  #orderModal .modal-summary-price del { font-size: 22px; }
  .sg-landing-hero .badge { position: absolute; top: 94px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 40px); margin: 0; }
  .sg-landing-hero .hero-intro { margin-bottom: 12px; }
  .sg-landing-hero p.sub { margin-bottom: 16px; }
  .sg-landing-hero .hero-price { margin-bottom: 28px; }
  .sg-landing-hero .hero-price b { font-size: 30px; }
  .sg-landing-hero .hero-price del { font-size: 22px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; width: 100%; }
  .sg-landing-hero .hero-actions :is(.btn-primary,.btn-watch) { flex: none; width: 100%; min-width: 0; white-space: nowrap; }
  .sg-landing-hero .btn-watch { gap: 8px; }
  .sg-landing-hero .btn-watch .play-circle { width: 24px; height: 24px; }
  .sg-landing-hero .hero-footnote { margin-top: 24px; }
  .sg-demo-section { --demo-action-space: 8px; padding-inline: 20px; }
  .sg-demo-grid { row-gap: var(--sg-space-grid); }
  .sg-demo-content { display: contents; }
  .demo-heading { order: -1; }
  .sg-demo-media { display: flex; flex-direction: column; gap: 12px; }
  .sg-demo-player { aspect-ratio: 4/3; border-radius: 18px; box-shadow: 0 12px 28px rgba(34,21,18,.14); }
  .demo-facts-wrap { position: relative; order: -1; display: grid; grid-template-columns: minmax(0,1fr); margin-top: 16px; }
  /* Let the card shadow fade inside the rail; keep neighbouring cards off screen. */
  .demo-facts { grid-area: 1 / 1; display: flex; gap: 40px; width: calc(100% + 40px); margin-inline: -20px; margin-bottom: -20px; padding: 16px 20px 28px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; scroll-behavior: smooth; scrollbar-width: none; }
  .demo-facts::-webkit-scrollbar { display: none; }
  .demo-fact { flex: 0 0 100%; scroll-snap-align: start; }
  .demo-fact-toggle { min-height: 64px; padding: 10px 12px; }
  .demo-fact-tap { display: grid; place-items: center; flex: none; width: 24px; height: 24px; margin-left: auto; color: var(--ink-soft); }
  .demo-facts-swipe { position: absolute; top: -18px; right: 0; display: block; width: 28px; height: 28px; color: var(--ink-soft); pointer-events: none; }
  .demo-caption.badge { top: 12px; left: 12px; }
  .demo-play-icon { width: 64px; height: 64px; }
  .demo-play-icon svg { width: 32px; height: 32px; }
  .demo-scenes { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 68%; gap: 14px; width: calc(100% + 20px); margin: 0 -20px 0 0; padding: 6px 20px 10px 0; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 0; scroll-behavior: smooth; scrollbar-width: none; }
  .demo-scenes::-webkit-scrollbar { display: none; }
  .demo-scene { grid-template-columns: minmax(0,1fr); align-content: start; align-items: start; gap: 12px; scroll-snap-align: start; }
  a.demo-scene:focus-visible { outline-offset: -3px; }
  .demo-scene.is-active .demo-scene-thumb { box-shadow: none; outline: 1px solid var(--red); outline-offset: -1px; }
  .demo-scene:not(:last-child) { padding-bottom: 0; border-bottom: 0; }
  .demo-scene img { margin: 0; border-radius: 12px; }
  .demo-scene > .demo-scene-copy { display: block; }
  .demo-order-summary { margin-top: 24px; }
  .demo-summary-banner { height: 120px; }
  .demo-summary-banner img { width: 150%; }
  .demo-summary-grid { grid-template-columns: minmax(0,1fr); gap: 16px; padding: 20px; }
  .demo-summary-step { display: grid; grid-template-columns: 28px minmax(0,1fr); column-gap: 12px; text-align: left; }
  .demo-summary-icon { grid-row: 1/3; margin: 0; }
  .demo-summary-step h4 { margin: 0 0 4px; }
  .demo-summary-copy { grid-column: 2; }
}
/* On short phones, give the portrait and purchase controls priority over badges. */
@media (max-width: 640px) and (max-height: 740px) {
  .santagram-reference { --sg-mobile-button-height: 46px; --sg-mobile-button-padding-block: 10px; }
  .sg-landing-hero :is(.badge,.hero-footnote) { display: none; }
  .sg-landing-hero { padding-bottom: 16px; }
  .sg-landing-hero h1 { margin-bottom: 8px; }
  .sg-landing-hero .hero-intro { margin-bottom: 6px; }
  .sg-landing-hero p.sub { margin-bottom: 8px; }
  .sg-landing-hero .hero-price { margin-bottom: 12px; }
  .sg-landing-hero .hero-actions { gap: 8px; }
}
@media (max-width: 640px) and (max-height: 620px) {
  .santagram-reference { --sg-mobile-button-height: 44px; --sg-mobile-button-padding-block: 9px; }
  .sg-landing-hero { padding-bottom: 12px; background-position: center -32px,center; }
  .sg-landing-hero h1 { margin-bottom: 6px; }
  .sg-landing-hero .hero-intro { margin-bottom: 4px; }
  .sg-landing-hero p.sub { margin-bottom: 6px; }
  .sg-landing-hero .hero-price { margin-bottom: 8px; }
  .sg-landing-hero .hero-actions { gap: 6px; }
}
@media (min-width: 641px) and (max-height: 840px) {
  .sg-landing-hero :is(.badge,.hero-footnote) { display: none; }
}
@media (max-width: 640px) and (min-aspect-ratio: 2/3) {
  .sg-landing-hero :is(.badge,.hero-footnote) { display: none; }
}
/* Landscape phones use the wide photograph and one row of purchase controls. */
@media (max-height: 540px) and (min-aspect-ratio: 1/1) {
  .sg-landing-hero { --sg-type-hero-title: clamp(23px,6.4svh,32px); padding: calc(var(--sg-header-height) + 6px) 20px 10px; background-image: var(--hero-photo-desktop),linear-gradient(145deg,#7d1718,#3f1515 48%,#170c0d); background-position: center 25%; }
  .sg-landing-hero :is(.badge,.hero-footnote) { display: none; }
  .sg-landing-hero h1 { margin-bottom: 2px; }
  .sg-landing-hero .hero-intro { margin-bottom: 4px; }
  .sg-landing-hero p.sub { margin-bottom: 4px; }
  .sg-landing-hero .hero-price { margin-bottom: 6px; }
  .sg-landing-hero .hero-price b { font-size: 30px; }
  .sg-landing-hero .hero-price del { font-size: 22px; }
  .sg-landing-hero .hero-actions { flex-direction: row; flex-wrap: nowrap; gap: 12px; width: min(100%,462px); }
  .sg-landing-hero .hero-actions :is(.btn-primary,.btn-watch) { flex: 1 1 0; width: auto; min-width: 0; min-height: 44px; padding: 10px 12px; font-size: 17px; }
  .sg-landing-hero .btn-watch { gap: 8px; }
  .sg-landing-hero .btn-watch .play-circle { width: 24px; height: 24px; }
}
@media (max-height: 400px) and (min-aspect-ratio: 1/1) {
  .santagram-reference .site-header { padding-top: 12px; padding-bottom: 10px; }
}
@media (max-height: 340px) and (min-aspect-ratio: 1/1) {
  .santagram-reference .site-header { padding-top: 4px; padding-bottom: 4px; }
  .santagram-reference .site-header .logo img { height: 28px; }
  .sg-landing-hero { padding-bottom: 8px; }
}
@media (max-width: 380px) {
  .santagram-reference { --sg-mobile-button-size: 16px; --sg-mobile-button-padding-inline: 24px; }
  .sg-landing-hero .btn-watch { gap: 6px; }
  .sg-landing-hero .btn-watch .play-circle { width: 22px; height: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .demo-facts { scroll-behavior: auto; }
  .demo-scenes { scroll-behavior: auto; }
  .testi-grid { scroll-behavior: auto; }
  .demo-scene img,.demo-scene-play,.demo-play-icon { transition: none; }
  .demo-tooltip { transition: none; }
  a.demo-scene:hover img { transform: none; }
}
