.schema-public { color: var(--c-text, #111827); }
.schema-public [hidden] { display: none !important; }
.schema-public main { min-height: 60vh; }
.schema-public .site-header__actions { flex-wrap: wrap; }
.schema-public .site-header__inner { gap: 1rem; }
.schema-public .site-nav { gap: 1.1rem; }
.schema-public .btn, .schema-promo .btn { min-height: 44px; white-space: normal; line-height: 1.4; text-align: center; }
.sp-skip { position: fixed; left: 1rem; top: -100px; z-index: 1000; padding: 1rem; background: #fff; }
.sp-skip:focus { top: 1rem; }
.sp-breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .85rem; color: #526174; padding: 1.5rem 0; }
.sp-breadcrumb a { color: #174fba; }
.sp-hero { padding: 1rem 0 3.5rem; background: linear-gradient(145deg, #f6f9ff, #fff); border-bottom: 1px solid #e4ebf3; }
.sp-hero-grid, .schema-promo__inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 3rem; }
.sp-kicker { color: #1a56d8; font-weight: 700; font-size: .85rem; letter-spacing: .04em; margin-bottom: 1rem; }
.schema-public h1 { font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.15; letter-spacing: -.035em; margin: 0 0 1.25rem; }
.sp-intro { font-size: 1.12rem; line-height: 1.8; color: #4b5c70; }
.sp-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 1rem; }
.sp-note { color: #536377; font-size: .88rem; line-height: 1.7; }
.sp-image { margin: 0; background: #fff; border: 1px solid #e1e8f0; border-radius: 20px; padding: 1rem; }
.sp-image img { width: 100%; height: auto; max-height: 430px; object-fit: contain; display: block; }
.sp-image figcaption { font-size: .8rem; color: #536377; line-height: 1.6; margin-top: .6rem; text-align: center; }
.sp-section { padding: 3.5rem 0; }
.sp-section--tint { background: #f6f8fb; }
.sp-section h2, .schema-promo h2 { font-size: clamp(1.5rem, 2.5vw, 2.1rem); line-height: 1.3; margin: 0 0 1rem; letter-spacing: -.025em; }
.sp-section p, .schema-promo p { line-height: 1.8; color: #4b5c70; }
.sp-section a:not(.btn), .sp-copy a { color: #174fba; text-underline-offset: 3px; }
.sp-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.sp-card { background: #fff; border: 1px solid #dce4ef; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.sp-card img { width: 100%; height: 205px; object-fit: contain; padding: 1rem; background: #f9fbfe; }
.sp-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.sp-card h3 { font-size: 1.15rem; margin-bottom: .6rem; }
.sp-card p { margin: 0 0 1rem; font-size: .95rem; }
.sp-card .sp-card-link { margin-top: auto; font-weight: 650; min-height: 44px; display: inline-flex; align-items: center; }
.sp-copy { max-width: 780px; }
.sp-copy h2:not(:first-child) { margin-top: 2.5rem; }
.sp-copy p + p { margin-top: 1rem; }
.sp-list { padding-left: 1.25rem; margin: 1.25rem 0; color: #35475d; }
.sp-list li { margin: .65rem 0; line-height: 1.65; }
.sp-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.sp-box { padding: 1.5rem; border: 1px solid #dce4ef; border-radius: 16px; background: #fff; }
.sp-box h3 { margin-bottom: .75rem; }
.sp-callout { background: #edf3ff; border: 1px solid #d2e1ff; border-radius: 20px; padding: 2rem; }
.sp-related { display: flex; flex-wrap: wrap; gap: .7rem; padding: 0; list-style: none; }
.sp-related a { display: inline-flex; padding: .6rem .9rem; border: 1px solid #d5dfec; border-radius: 9px; background: #fff; min-height: 44px; align-items: center; }
.schema-promo { padding: 3rem 0; background: #f3f7ff; border-block: 1px solid #e0e9f8; }
.schema-promo img { display: block; width: 100%; max-height: 320px; object-fit: contain; background: #fff; border-radius: 18px; }
.sp-demo-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr); gap: 2rem; align-items: start; }
.sp-demo-drawing { position: relative; background: #fff; border: 1px solid #dce4ef; border-radius: 16px; }
.sp-demo-drawing img { display: block; width: 100%; height: auto; border-radius: inherit; }
.sp-pin { position: absolute; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; border: 2px solid #1a56d8; background: #fff; color: #1649ae; font: inherit; font-weight: 750; cursor: pointer; box-shadow: 0 2px 8px #142e5920; }
.sp-pin.is-filled { background: #1a56d8; color: #fff; }
.sp-answer { margin-bottom: 1rem; }
.sp-answer label { display: block; font-weight: 650; margin-bottom: .45rem; }
.sp-answer select { width: 100%; min-height: 48px; border: 1px solid #a8b8cc; border-radius: 8px; padding: .65rem; background: #fff; color: #152d49; font: inherit; }
.sp-answer select:disabled { opacity: 1; color: #35475d; background: #f1f4f8; }
.sp-feedback { padding: 1rem; margin: 1rem 0; border-radius: 10px; border: 1px solid #ccd9eb; background: #f5f8ff; }
.sp-feedback h3 { font-size: 1rem; margin: 0 0 .5rem; }
.sp-feedback p { margin: 0; }
.sp-feedback--correct { border-color: #89bfa4; background: #f0faf4; }
.sp-feedback--wrong { border-color: #c7a072; background: #fff9f0; }
.schema-public :focus-visible { outline: 3px solid #3265d9; outline-offset: 4px; }
.sp-result { margin-top: 1.5rem; }
.sp-foot-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem 1rem; }
@media (max-width: 1100px) {
  .schema-public .site-nav { display: none; }
  .schema-public .site-header__toggle { display: flex; }
}
@media (max-width: 850px) {
  .sp-hero-grid, .schema-promo__inner, .sp-demo-layout { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .sp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-hero .sp-image { max-width: 520px; width: 100%; margin: auto; }
  .schema-promo img { max-height: 240px; }
  .sp-demo-drawing { max-width: 620px; width: 100%; margin: auto; }
}
@media (max-width: 540px) {
  .sp-cards, .sp-columns, .sp-foot-links { grid-template-columns: minmax(0, 1fr); }
  .sp-section { padding: 2.5rem 0; }
  .sp-actions { flex-direction: column; }
  .sp-actions .btn { width: 100%; }
  .sp-callout, .sp-box { padding: 1.1rem; }
  .sp-demo-layout { gap: 1.25rem; }
  .sp-demo-drawing { margin-bottom: .5rem; }
}
