/* Match the shared site palette in tailwind.config.cjs. */
.sg-page {
  --sg-hunter: #355E3B;
  --sg-hunter-dark: #2A4B30;
  --sg-khaki: #C3B091;
  --sg-cream: #FAF8F5;
  --sg-cream-dark: #F3EFE8;
  --sg-ink: #111827;
  --sg-body: #4B5563;
  --sg-muted: #6B7280;
  --sg-border: #E5E7EB;
  --sg-green-wash: rgb(53 94 59 / 7%);
  color: var(--sg-ink);
  line-height: 1.65;
}
.sg-page *, .sg-page *::before, .sg-page *::after { box-sizing: border-box; }
.sg-wrap { max-width: 1280px; margin: auto; padding-inline: 32px; }
.sg-page a:focus-visible, .sg-page button:focus-visible, .sg-page select:focus-visible { outline: 3px solid var(--sg-hunter); outline-offset: 5px; }
.sg-eyebrow { margin: 0 0 14px; color: var(--sg-hunter); font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.sg-hero { padding: 132px 0 48px; background: var(--sg-cream); }
.sg-hero h1 { font-size: clamp(42px, 5vw, 66px); font-weight: 800; letter-spacing: -.055em; line-height: 1.07; margin: 0; }
.sg-hero h1 em { font-style: normal; color: var(--sg-hunter); }
.sg-lead { max-width: 560px; font-size: 17px; line-height: 1.8; color: var(--sg-body); margin: 24px 0 0; }
.sg-household { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 25px; padding-top: 30px; margin-top: 30px; border-top: 1px solid var(--sg-border); }
.sg-people { display: flex; gap: 30px; }
.sg-person { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 750; }
.sg-person b { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; background: var(--sg-cream-dark); color: var(--sg-hunter); font-size: 11px; }
.sg-person-fiona b { background: #efdecc; color: #976c45; }
.sg-person small { display: block; font-size: 9px; font-weight: 400; color: var(--sg-body); margin-top: 2px; }
.sg-pets { display: flex; gap: 20px; }
.sg-pets > span { display: flex; align-items: center; gap: 8px; font-size: 10px; color: var(--sg-body); }
.sg-portrait { width: 100%; height: auto; display: block; }
.sg-pets svg { width: 35px; height: 35px; }
.sg-vet-plan { display: none; }
.sg-page[data-scenario=observations] .sg-person-fiona,
.sg-page[data-scenario=observations] .sg-pet-buttons,
.sg-page[data-scenario=observations] .sg-handoff-plan { display: none; }
.sg-page[data-scenario=observations] .sg-vet-plan { display: block; }
.sg-gallery { padding-top: 58px; scroll-margin-top: 90px; }
.sg-shell { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 35px; align-items: start; }
.sg-sidebar { position: sticky; top: 90px; }
.sg-sidebar-label { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .11em; color: var(--sg-muted); margin: 0 0 17px; }
.sg-nav { display: grid; gap: 6px; }
.sg-nav a { display: flex; align-items: center; gap: 11px; min-height: 54px; padding: 12px 13px; border-radius: 11px; border: 1px solid transparent; color: var(--sg-body); font-size: 12px; font-weight: 650; text-decoration: none; transition: background .2s, border-color .2s; }
.sg-nav a:hover { background: var(--sg-cream); color: var(--sg-hunter); }
.sg-nav a[aria-current] { color: var(--sg-hunter); background: var(--sg-green-wash); border-color: var(--sg-border); }
.sg-scenario-symbol { width: 21px; flex-shrink: 0; }
.sg-scenario-symbol svg { width: 21px; height: 21px; }
.sg-menu-arrow { margin-left: auto; font-size: 14px; font-weight: 400; opacity: 0; }
.sg-nav a[aria-current] .sg-menu-arrow { opacity: 1; }
.sg-picker { display: none; }
.sg-workspace { min-width: 0; }
.sg-scenario, .sg-panel { scroll-margin-top: 90px; }
.sg-scenario:not([data-selected]), .sg-scenario[hidden] { display: none; }
.sg-scenario-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 26px; }
.sg-scenario-heading > div { min-width: 0; }
.sg-scenario-heading .sg-eyebrow { font-size: 9px; margin-bottom: 10px; }
.sg-scenario-heading h2 { max-width: 620px; font-size: clamp(27px, 2.6vw, 35px); font-weight: 800; letter-spacing: -.04em; line-height: 1.18; margin: 0 0 12px; }
.sg-scenario-heading p:last-child { font-size: 14px; color: var(--sg-body); line-height: 1.8; margin: 0; max-width: 540px; }
.sg-pet-badge { display: flex; flex-shrink: 0; align-items: center; gap: 7px; padding-top: 25px; white-space: nowrap; color: var(--sg-body); font-size: 9px; }
.sg-pet-badge svg { width: 30px; height: 30px; }
.sg-feature-note { margin: -10px 0 18px; font-size: 10px; color: var(--sg-body); }
.sg-step-nav { display: grid; grid-template-columns: repeat(var(--step-count), minmax(0, 1fr)); list-style: none; padding: 0; margin: 0 0 20px; gap: 7px; }
.sg-step-nav li { min-width: 0; }
.sg-step-nav button { display: flex; align-items: center; gap: 8px; height: 100%; min-height: 57px; width: 100%; padding: 12px 4px; border: 0; border-bottom: 2px solid var(--sg-border); background: none; color: var(--sg-muted); font-size: 11px; font-weight: 700; text-align: left; line-height: 1.4; }
.sg-step-nav button:enabled { cursor: pointer; }
.sg-step-nav button:enabled:hover { color: var(--sg-hunter); border-color: var(--sg-khaki); }
.sg-step-nav button[aria-pressed=true] { color: var(--sg-hunter); border-color: var(--sg-hunter); }
.sg-step-dot { display: grid; place-items: center; flex: 0 0 25px; height: 25px; border-radius: 50%; background: var(--sg-cream-dark); font-size: 8px; }
.sg-step-nav [aria-pressed=true] .sg-step-dot { color: #fff; background: var(--sg-hunter); }
.sg-step-nav [data-complete] button { border-color: var(--sg-khaki); }
.sg-scenes { border: 1px solid var(--sg-border); border-radius: 22px; overflow: hidden; background: var(--sg-cream); }
.sg-panel { display: grid; grid-template-columns: .88fr 1.12fr; min-height: 420px; }
.sg-panel:not([data-active]), .sg-panel[hidden] { display: none; }
.sg-step-copy { align-self: center; padding: 32px; }
.sg-step-watermark { display: block; font-size: 53px; font-weight: 800; line-height: 1; letter-spacing: -.07em; color: var(--sg-khaki); margin-bottom: 27px; }
.sg-step-copy .sg-eyebrow { font-size: 9px; letter-spacing: .1em; margin-bottom: 11px; }
.sg-step-copy h3 { margin: 0 0 16px; font-size: clamp(25px, 2.2vw, 30px); line-height: 1.15; letter-spacing: -.04em; font-weight: 800; }
.sg-step-copy > p:last-child { margin: 0; font-size: 14px; line-height: 1.85; color: var(--sg-body); }
.sg-art { position: relative; min-width: 0; min-height: 420px; overflow: hidden; background: var(--sg-cream-dark); }
.sg-art::before { content: ''; position: absolute; width: 335px; height: 335px; top: 42px; left: 50%; transform: translateX(-50%); border-radius: 50%; border: 1px solid #ffffffa6; }
.sg-controls { display: flex; align-items: center; justify-content: space-between; min-height: 45px; gap: 15px; margin-top: 20px; }
.sg-controls[hidden] { display: flex; visibility: hidden; }
.sg-controls > span { font-size: 11px; font-weight: 800; color: var(--sg-hunter); }
.sg-controls > div { display: flex; align-items: center; gap: 10px; }
.sg-controls button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 44px; padding: 10px 20px; border: 1px solid var(--sg-hunter); border-radius: 40px; background: var(--sg-hunter); color: #fff; font-size: 11px; font-weight: 750; cursor: pointer; }
.sg-controls [data-sg-back] { padding: 0; width: 44px; border-color: var(--sg-border); background: #fff; color: var(--sg-hunter); }
.sg-controls button:enabled:hover { background: var(--sg-hunter-dark); color: #fff; }
.sg-controls button:disabled { opacity: .3; cursor: default; }
.sg-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.sg-plan { border-top: 1px solid var(--sg-border); margin-top: 38px; padding-top: 23px; }
.sg-plan p { font-size: 12px; line-height: 1.9; color: var(--sg-body); margin: 0 0 7px; }
.sg-plan a { color: var(--sg-hunter); text-decoration: underline; text-underline-offset: 3px; }
.sg-close { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-block: 65px; }
.sg-close h2 { font-size: 31px; line-height: 1.2; letter-spacing: -.04em; font-weight: 800; margin: 0 0 12px; }
.sg-close p { color: var(--sg-body); font-size: 14px; margin: 0; }
.sg-download { background: var(--sg-hunter); color: #fff; display: inline-flex; align-items: center; gap: 35px; padding: 14px 23px; border-radius: 40px; white-space: nowrap; font-size: 12px; font-weight: 750; }
.sg-download:hover { background: var(--sg-hunter-dark); }

/* Shared visual language, with a different composition for each care moment. */
.sg-phone { position: absolute; width: 214px; height: 344px; padding: 24px 15px 12px; border: 6px solid var(--sg-hunter); border-radius: 30px; left: 50%; top: 37px; transform: translateX(-50%) rotate(-3deg); background: #fff; box-shadow: 0 16px 28px #1118271a; }
.sg-island { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 58px; height: 12px; border-radius: 0 0 10px 10px; background: var(--sg-hunter); }
.sg-brand { display: block; font-size: 14px; color: var(--sg-hunter); font-weight: 800; letter-spacing: -.05em; line-height: 1.3; }
.sg-phone-profile { display: flex; align-items: center; gap: 7px; margin: 9px 0 10px; font-size: 9px; font-weight: 750; }
.sg-phone-profile svg { width: 30px; height: 30px; }
.sg-phone-title { display: block; font-size: 18px; line-height: 1.2; letter-spacing: -.035em; font-weight: 800; margin-bottom: 13px; }
.sg-field { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid var(--sg-border); }
.sg-field > span { font-size: 7px; color: var(--sg-muted); }
.sg-field > strong { font-size: 8px; font-weight: 700; }
.sg-faux-button { display: flex; align-items: center; justify-content: center; gap: 6px; background: var(--sg-green-wash); color: var(--sg-hunter); padding: 10px; border-radius: 8px; margin-top: 10px; font-size: 8px; font-weight: 800; }
.sg-faux-button svg { width: 14px; height: 14px; }
.sg-attribution { display: flex; align-items: center; gap: 8px; }
.sg-attribution > span > strong { display: block; font-size: 9px; font-weight: 750; }
.sg-attribution small { display: block; font-size: 7px; color: var(--sg-muted); margin-top: 2px; }
.sg-attribution .care-avatar { width: 26px; height: 26px; font-size: 8px; }
.sg-phone-footer { margin-top: 13px; }
.sg-phone-footer .sg-attribution > span > strong { font-size: 7px; }
.sg-phone-footer .sg-attribution small { font-size: 6px; }
.sg-phone-footer .care-avatar { width: 22px; height: 22px; font-size: 7px; }
.sg-symbol { display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: 10px; color: var(--sg-hunter); background: var(--sg-green-wash); }
.sg-symbol svg { width: 22px; height: 22px; }
.sg-tone-medication { color: #71899a; background: #e8eef3; }
.sg-tone-litter, .sg-tone-routines { color: #95835b; background: #f3eddd; }
.sg-tone-observations { color: #87906d; background: #edf0df; }
.sg-tone-training { color: #978265; background: #f0e9dd; }
.sg-record { display: flex; align-items: flex-start; gap: 10px; padding: 13px 0; border-top: 1px solid var(--sg-border); }
.sg-record strong { display: block; font-size: 11px; font-weight: 750; }
.sg-record small { display: block; font-size: 9px; color: var(--sg-muted); margin-top: 4px; }
.sg-record p { font-size: 8px; margin: 7px 0 0; color: var(--sg-muted); }
.sg-phone .sg-record { gap: 7px; padding-block: 12px; }
.sg-phone .sg-record strong { font-size: 8px; }
.sg-phone .sg-record small, .sg-phone .sg-record p { font-size: 6px; }
.sg-phone .sg-symbol { width: 25px; height: 25px; border-radius: 8px; }
.sg-phone .sg-symbol svg { width: 17px; height: 17px; }
.sg-card { position: absolute; width: min(340px, calc(100% - 36px)); padding: 23px; top: 60px; left: 50%; transform: translateX(-50%) rotate(-2deg); background: #fff; border: 1px solid var(--sg-border); border-radius: 15px; box-shadow: 0 16px 30px #11182713; }
.sg-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sg-card-top > span:last-child { font-size: 7px; color: var(--sg-muted); }
.sg-card-title { display: block; font-size: 21px; letter-spacing: -.04em; line-height: 1.2; margin: 13px 0 19px; font-weight: 800; }
.sg-note-field { padding: 14px; border: 1px solid var(--sg-border); background: var(--sg-cream); border-radius: 10px; color: var(--sg-body); font-size: 11px; line-height: 1.8; margin-top: 17px; }
.sg-phone .sg-note-field { padding: 11px; font-size: 8px; margin-top: 10px; }
.sg-pet-tag { display: inline-block; font-size: 8px; color: var(--sg-hunter); background: var(--sg-green-wash); border: 1px solid var(--sg-border); border-radius: 30px; padding: 4px 9px; margin-top: 12px; }
.sg-attach-hint { display: flex; align-items: center; gap: 7px; font-size: 9px; color: var(--sg-muted); margin-top: 18px; }
.sg-attach-hint svg { width: 17px; height: 17px; }
.sg-window-scene { position: relative; overflow: hidden; height: 112px; background: #e5eade; border-radius: 7px; }
.sg-window-frame { position: absolute; inset: 10px 24% 20px 13%; border: 4px solid var(--sg-cream); background: #c9dbd7; box-shadow: 0 3px 0 #bfcbb4; }
.sg-window-frame::after { content: ''; position: absolute; inset: 0 45%; border-left: 3px solid var(--sg-cream); }
.sg-window-scene .sg-portrait { position: absolute; width: 120px; height: 120px; bottom: -21px; left: 43%; transform: translateX(-50%); }
.sg-plant { position: absolute; width: 32px; height: 56px; bottom: 0; right: 4px; }
.sg-media-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 15px; }
.sg-media-pair > div { position: relative; }
.sg-media-pair > div > span:last-child { display: block; margin-top: 6px; font-size: 8px; color: var(--sg-muted); }
.sg-play { display: grid; place-items: center; position: absolute; width: 27px; height: 27px; top: 41px; left: 50%; transform: translateX(-50%); border-radius: 50%; background: #ffffffed; color: var(--sg-hunter); font-size: 9px; padding-left: 2px; }
.sg-media-total { font-size: 8px; color: var(--sg-muted); margin-top: 15px; }
.sg-message-copy { font-size: 10px; line-height: 1.8; color: var(--sg-body); margin: 17px 0 0; }
.sg-posted-message { top: 48px; }
.sg-context-note { font-size: 7px; line-height: 1.8; color: var(--sg-muted); padding-top: 13px; }
.sg-type-option { display: flex; align-items: center; gap: 12px; border: 1px solid var(--sg-border); background: var(--sg-cream); border-radius: 11px; padding: 16px; }
.sg-type-option strong { display: block; font-size: 12px; }
.sg-type-option small { display: block; font-size: 8px; margin-top: 4px; color: var(--sg-muted); }
.sg-small-check { color: var(--sg-hunter); margin-left: auto; }
.sg-small-check svg { width: 18px; height: 18px; }
.sg-muted-row { padding: 17px 0 2px; font-size: 8px; color: var(--sg-muted); }
.sg-filter-chips { display: flex; flex-wrap: wrap; gap: 5px; margin: 13px 0; }
.sg-filter-chips > span { font-size: 8px; color: var(--sg-muted); background: var(--sg-cream); padding: 5px 8px; border-radius: 30px; border: 1px solid var(--sg-border); }
.sg-filter-chips > .sg-is-selected { background: var(--sg-green-wash); color: var(--sg-hunter); border-color: var(--sg-border); }
.sg-report-pet { display: flex; align-items: center; gap: 13px; padding: 14px; background: var(--sg-cream); border: 1px solid var(--sg-border); border-radius: 12px; }
.sg-report-pet svg { width: 48px; height: 48px; }
.sg-report-pet strong { display: block; font-size: 13px; }
.sg-report-pet small { display: block; font-size: 9px; color: var(--sg-muted); margin-top: 3px; }
.sg-report-pet .sg-small-check svg { width: 18px; height: 18px; }
.sg-segmented { display: flex; border-radius: 8px; background: var(--sg-cream); padding: 4px; gap: 3px; margin-top: 17px; }
.sg-segmented > span { flex: 1; padding: 6px; text-align: center; color: var(--sg-muted); font-size: 10px; }
.sg-segmented .sg-is-selected { background: #fff; color: var(--sg-hunter); border-radius: 5px; box-shadow: 0 1px 5px #11182714; }
.sg-premium-chip { display: inline-block; border: 1px solid var(--sg-cream-dark); background: var(--sg-cream); color: #95885f; padding: 3px 8px; border-radius: 20px; font-size: 7px; }
.sg-unit-row { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; padding: 12px 0 0; border-top: 1px solid var(--sg-border); font-size: 9px; color: var(--sg-muted); }
.sg-unit-row strong { background: var(--sg-green-wash); border-radius: 6px; padding: 4px 13px; color: var(--sg-hunter); }
.sg-chart-card { width: min(360px, calc(100% - 36px)); padding: 20px; }
.sg-chart-card .sg-card-title { font-size: 20px; margin-block: 10px 14px; }
.sg-chart-caption { display: flex; justify-content: space-between; font-size: 8px; color: var(--sg-muted); }
.sg-chart-caption strong { color: var(--sg-hunter); font-weight: 700; }
.sg-report-chart { display: grid; grid-template-columns: repeat(7, 1fr); gap: 9px; height: 130px; margin: 16px 0 12px; }
.sg-report-chart > div { display: grid; grid-template-rows: 12px 100px 14px; gap: 2px; align-items: end; text-align: center; }
.sg-report-chart span { font-size: 7px; color: var(--sg-muted); }
.sg-report-chart i { width: 100%; height: var(--bar-height); background: var(--sg-khaki); border-radius: 4px 4px 0 0; align-self: end; }
.sg-report-chart > div:nth-child(4) i { background: var(--sg-hunter); }
.sg-report-chart small { font-size: 7px; color: var(--sg-muted); }
.sg-chart-footer { padding-top: 12px; border-top: 1px solid var(--sg-border); color: var(--sg-muted); font-size: 8px; }
/* Keep the reused task illustrations in the same gallery palette. */
.sg-page .care-demo-art { color: var(--sg-ink); }
.sg-page .care-demo-reminder { background: var(--sg-hunter); color: #fff; }
.sg-page .care-demo-brand { color: var(--sg-hunter); }
.sg-page .care-demo-reminder > .care-demo-brand { color: #fff; }
.sg-page .care-demo-completed-task,
.sg-page .care-demo-one-record,
.sg-page .care-demo-cat-badge { background: var(--sg-cream); border-color: var(--sg-border); }
.sg-page .care-demo-complete-check,
.sg-page .care-avatar { background: var(--sg-green-wash); color: var(--sg-hunter); }
.sg-page .care-avatar-sand { background: var(--sg-cream-dark); color: var(--sg-hunter); }
.sg-page .care-avatar-orange { background: #efdecc; color: #976c45; }
.sg-page .care-demo-notice { border-color: var(--sg-border); }
.sg-page .care-demo-notice p,
.sg-page .care-demo-care-foot { color: var(--sg-body); }
.sg-page .care-demo-notice > div > span,
.sg-page .care-demo-care-row small,
.sg-page .care-demo-one-record .care-demo-care-row > div > span { color: var(--sg-muted); }
@keyframes sg-scene-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.sg-panel[data-active] .care-demo-art { animation: sg-scene-in .3s ease both; }
@media(max-width: 1100px) {
  .sg-shell { grid-template-columns: 1fr; gap: 25px; }
  .sg-sidebar { position: static; }
  .sg-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sg-nav a { font-size: 11px; gap: 8px; }
  .sg-menu-arrow { display: none; }
  .sg-scenario-heading { margin-bottom: 22px; }
}
@media(max-width: 760px) {
  .sg-wrap { padding-inline: 23px; }
  .sg-hero { padding: 108px 0 35px; }
  .sg-hero h1 { font-size: 43px; }
  .sg-lead { font-size: 15px; max-width: 400px; }
  .sg-household { gap: 22px; padding-top: 24px; margin-top: 25px; }
  .sg-people { gap: 23px; }
  .sg-person { font-size: 11px; }
  .sg-person b { width: 30px; height: 30px; }
  .sg-pets { gap: 20px; }
  .sg-pets svg { width: 30px; height: 30px; }
  .sg-gallery { padding-top: 35px; }
  .sg-picker { display: block; margin-bottom: 24px; }
  .sg-picker > span { display: block; font-size: 10px; font-weight: 800; color: var(--sg-muted); margin-bottom: 10px; text-transform: uppercase; letter-spacing: .08em; }
  .sg-picker select { width: 100%; color: var(--sg-hunter); background: var(--sg-cream); border: 1px solid var(--sg-border); border-radius: 11px; padding: 12px 15px; font: inherit; font-size: 14px; font-weight: 700; }
  .sg-shell { gap: 0; }
  .sg-nav, .sg-sidebar-label { display: none; }
  .sg-scenario-heading { gap: 10px; }
  .sg-scenario-heading h2 { font-size: 28px; }
  .sg-scenario-heading p:last-child { font-size: 13px; }
  .sg-pet-badge { padding-top: 22px; font-size: 8px; gap: 5px; flex-direction: column; }
  .sg-pet-badge svg { width: 30px; height: 30px; }
  .sg-step-nav { gap: 7px; margin-bottom: 18px; }
  .sg-step-nav button { flex-direction: column; align-items: center; justify-content: flex-start; text-align: center; gap: 8px; min-height: 94px; font-size: 11px; line-height: 1.4; padding: 11px 4px; border: 1px solid var(--sg-border); border-radius: 12px; background: var(--sg-cream); color: var(--sg-body); }
  .sg-step-dot { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; font-size: 10px; }
  .sg-step-nav button[aria-pressed=true] { background: var(--sg-green-wash); border-color: var(--sg-hunter); color: var(--sg-hunter); }
  .sg-step-nav [data-complete] button { border-color: var(--sg-khaki); }
  .sg-scenes { border-radius: 18px; }
  .sg-panel { grid-template-columns: 1fr; }
  .sg-step-copy { position: relative; min-height: 225px; padding: 28px; }
  .sg-step-watermark { position: absolute; right: 25px; top: 23px; font-size: 41px; margin: 0; }
  .sg-step-copy .sg-eyebrow { padding-right: 40px; max-width: 270px; }
  .sg-step-copy h3 { font-size: 27px; max-width: 250px; }
  .sg-step-copy > p:last-child { font-size: 13px; }
  .sg-art { min-height: 380px; }
  .sg-art::before { width: 295px; height: 295px; top: 40px; }
  .sg-phone { top: 18px; }
  .sg-card { top: 48px; padding: 20px; }
  .sg-card-title { font-size: 19px; }
  .sg-note-field { font-size: 10px; padding: 12px; }
  .sg-posted-message { top: 38px; }
  .sg-chart-card { padding: 18px; }
  .sg-chart-card .sg-card-title { font-size: 18px; }
  .sg-report-chart { gap: 6px; }
  .sg-controls { gap: 8px; margin-top: 16px; }
  .sg-controls > div { gap: 7px; }
  .sg-controls button { font-size: 10px; padding-inline: 14px; gap: 12px; }
  .sg-plan { margin-top: 28px; padding-top: 20px; }
  .sg-plan p { font-size: 11px; }
  .sg-close { flex-wrap: wrap; padding-block: 50px; }
  .sg-close h2 { font-size: 28px; }
}
@media(max-width: 370px) {
  .sg-wrap { padding-inline: 20px; }
  .sg-hero h1 { font-size: 39px; }
  .sg-people { gap: 18px; }
  .sg-person { gap: 7px; font-size: 10px; }
  .sg-step-copy { padding: 26px 22px; }
  .sg-step-copy h3 { max-width: 210px; font-size: 26px; }
  .sg-controls button { font-size: 9px; gap: 8px; padding-inline: 12px; }
  .sg-controls [data-sg-back] { width: 40px; }
  .sg-card { padding: 18px; }
  .sg-card-title { font-size: 17px; }
  .sg-media-pair { gap: 7px; }
  .sg-window-scene { height: 100px; }
  .sg-play { top: 36px; }
  .sg-chart-card .sg-card-title { font-size: 17px; }
}
@media(prefers-reduced-motion: reduce) { .sg-page *, .sg-page *::before, .sg-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
