/* SkipGuide main — professional neutral + logo brand */
:root {
  --sg-bg: #f8fafc;
  --sg-surface: #ffffff;
  --sg-text: #0f172a;
  --sg-muted: #64748b;
  --sg-heading: #0f172a;
  --sg-brand: #163b48;
  --sg-brand-hover: #0f2832;
  --sg-brand-soft: #eef3f5;
  --sg-accent: #b8860b;
  --sg-accent-soft: #faf8f3;
  --sg-line: #e2e8f0;
  --sg-line-strong: #cbd5e1;
  --sg-max: 76rem;
  --sg-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --sg-radius: 12px;
  --sg-shadow: 0 18px 48px rgba(15, 23, 42, 0.1);
  --sg-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.05);
  /* legacy aliases used in rules */
  --sg-primary: var(--sg-brand);
  --sg-primary-d: var(--sg-brand-hover);
  --sg-primary-soft: var(--sg-brand-soft);
  --sg-teal: var(--sg-brand);
  --sg-teal-soft: var(--sg-brand-soft);
  --sg-warm: var(--sg-accent);
  --sg-warm-soft: var(--sg-accent-soft);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body.sg-main-site {
  margin: 0;
  font-family: var(--sg-font);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--sg-text);
  background: var(--sg-bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.sg-wrap {
  width: min(100% - 2rem, var(--sg-max));
  margin-inline: auto;
}

.sg-skip {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.sg-skip:focus {
  position: fixed; top: 12px; left: 12px; z-index: 999;
  width: auto; height: auto; margin: 0; padding: 10px 14px; clip: auto;
  background: var(--sg-primary); color: #fff; font-weight: 800; border-radius: 8px;
}

/* Header */
.sg-top {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sg-line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.sg-top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}

.sg-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--sg-text);
  letter-spacing: -0.03em;
}
.sg-logo img { width: 2.25rem; height: 2.25rem; }
.sg-logo__accent { color: var(--sg-primary); }
.sg-logo__tld {
  font-size: 0.62em;
  font-weight: 700;
  color: var(--sg-muted);
  letter-spacing: -0.02em;
}
.sg-foot__brand .sg-logo__tld { font-size: 0.72em; }

.sg-top__nav {
  display: none;
  gap: 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
}
.sg-top__nav a {
  color: var(--sg-muted);
  text-decoration: none;
}
.sg-top__nav a:hover { color: var(--sg-primary); }

.sg-top__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sg-lang { position: relative; }
.sg-lang summary {
  list-style: none;
  cursor: pointer;
  color: var(--sg-text);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--sg-line);
  border-radius: 999px;
  background: var(--sg-surface);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.sg-lang summary::-webkit-details-marker { display: none; }
.sg-lang__flag {
  font-size: 1.05rem;
  line-height: 1;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}
.sg-lang__menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 9.5rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--sg-shadow);
  border: 1px solid var(--sg-line);
  padding: 0.35rem;
  z-index: 110;
}
.sg-lang__menu a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sg-text);
  text-decoration: none;
  border-radius: 6px;
}
.sg-lang__menu a.is-on,
.sg-lang__menu a:hover { background: var(--sg-primary-soft); color: var(--sg-primary-d); }

.sg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s, box-shadow 0.12s, filter 0.12s;
}
.sg-btn:active { transform: scale(0.97); }
.sg-btn__emoji {
  font-size: 1.05em;
  line-height: 1;
  flex-shrink: 0;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}
.sg-btn__svg {
  display: inline-flex;
  flex-shrink: 0;
  line-height: 0;
}
.sg-btn__svg svg { display: block; }
.sg-btn--lg { padding: 0.8rem 1.25rem; font-size: 0.9375rem; }
.sg-btn--gold {
  background: var(--sg-brand);
  color: #fff;
  box-shadow: var(--sg-shadow-sm);
}
.sg-btn--gold:hover {
  background: var(--sg-brand-hover);
  box-shadow: 0 4px 14px rgba(22, 59, 72, 0.22);
}
.sg-btn--outline {
  background: var(--sg-surface);
  color: var(--sg-text);
  border: 1px solid var(--sg-line-strong);
  box-shadow: var(--sg-shadow-sm);
}
.sg-btn--outline:hover {
  border-color: var(--sg-muted);
  background: #f1f5f9;
}
.sg-btn--white {
  background: #fff;
  color: var(--sg-brand);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Hero */
.sg-hero {
  background: linear-gradient(180deg, #fff 0%, var(--sg-bg) 100%);
  border-bottom: 1px solid var(--sg-line);
  color: var(--sg-text);
  padding: 2.5rem 0 2rem;
  overflow: visible;
  position: relative;
  z-index: 2;
}

.sg-hero__copy {
  position: relative;
  z-index: 3;
}

.sg-hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.sg-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sg-muted);
}

.sg-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5.5vw, 3.15rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--sg-heading);
}
.sg-hero h1 em {
  font-style: normal;
  color: var(--sg-brand);
  display: block;
}

.sg-lead {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--sg-muted);
  max-width: 34rem;
}

.sg-search { position: relative; max-width: 26rem; margin-bottom: 1.25rem; z-index: 20; }
.sg-search__box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border-radius: var(--sg-radius);
  padding: 0.35rem 0.35rem 0.35rem 0.85rem;
  border: 2px solid var(--sg-line);
  box-shadow: var(--sg-shadow-sm);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.sg-search__box:focus-within {
  border-color: var(--sg-brand);
  box-shadow: 0 0 0 3px rgba(22, 59, 72, 0.12);
}
.sg-search__ico { color: var(--sg-muted); flex-shrink: 0; }
.sg-search__box input {
  flex: 1;
  border: 0;
  font-size: 1rem;
  padding: 0.65rem 0;
  background: transparent;
  color: var(--sg-text);
  min-width: 0;
}
.sg-search__box input:focus { outline: none; }
.sg-search__hint {
  margin: 0.4rem 0 0;
  font-size: 0.75rem;
  color: #94a3b8;
}
.sg-search__results {
  display: none;
  position: absolute;
  left: 0; right: 0;
  top: calc(100% + 6px);
  background: #fff;
  border-radius: var(--sg-radius);
  border: 1px solid var(--sg-line);
  box-shadow: var(--sg-shadow);
  max-height: 17rem;
  overflow-y: auto;
  z-index: 150;
}
.sg-search__results.is-open { display: block; }
.sg-search__results .sg-search-results__group {
  padding: 0.4rem 0.75rem 0.15rem;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
}
.sg-search__results .sg-search-results__item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.75rem;
  text-decoration: none;
  color: inherit;
}
.sg-search__results .sg-search-results__item:hover { background: var(--sg-primary-soft); }
.sg-search__results .sg-search-results__thumb {
  width: 44px; height: 44px;
  border-radius: 8px;
  object-fit: cover;
  background: #e2e8f0;
}
.sg-search__results .sg-search-results__name { font-weight: 700; font-size: 0.875rem; display: block; }
.sg-search__results .sg-search-results__meta { font-size: 0.75rem; color: var(--sg-muted); font-weight: 600; }
.sg-search__results .sg-search-results__empty { padding: 1rem; text-align: center; color: var(--sg-muted); font-size: 0.875rem; }

.sg-hero__ctas {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  max-width: 100%;
}

.sg-hero__ctas .sg-btn {
  flex: 1 1 0;
  min-width: 0;
  padding: 0.62rem 0.65rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 10px;
  white-space: nowrap;
}

@media (min-width: 400px) {
  .sg-hero__ctas .sg-btn {
    padding: 0.68rem 0.9rem;
    font-size: 0.875rem;
  }
}

@media (min-width: 640px) {
  .sg-hero__ctas {
    flex-wrap: wrap;
    gap: 0.65rem;
    max-width: 26rem;
  }
  .sg-hero__ctas .sg-btn {
    flex: 0 1 auto;
    min-width: auto;
    padding: 0.8rem 1.25rem;
    font-size: 0.9375rem;
    border-radius: 999px;
  }
}

.sg-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 22rem;
}
.sg-stats li {
  text-align: center;
  padding: 0.65rem 0.25rem;
  background: #fff;
  border: 1px solid var(--sg-line);
  border-radius: 10px;
  box-shadow: var(--sg-shadow-sm);
}
.sg-stats strong { display: block; font-size: 1.1rem; color: var(--sg-heading); }
.sg-stats span { font-size: 0.65rem; color: var(--sg-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }

/* Device / GIF */
.sg-device {
  width: min(100%, 520px);
  margin-inline: auto;
  filter: drop-shadow(var(--sg-shadow));
}

.sg-device__chrome {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.85rem;
  background: #f1f5f9;
  border-radius: 12px 12px 0 0;
  border: 1px solid var(--sg-line);
  border-bottom: 0;
}
.sg-device__dot { width: 8px; height: 8px; border-radius: 50%; background: #cbd5e1; }
.sg-device__dot:first-child { background: #f87171; }
.sg-device__dot:nth-child(2) { background: #fbbf24; }
.sg-device__dot:nth-child(3) { background: #4ade80; }
.sg-device__url {
  margin-left: 0.5rem;
  font-size: 0.7rem;
  color: var(--sg-muted);
  font-weight: 600;
}

.sg-device__screen {
  aspect-ratio: 384 / 240;
  background: #e2e8f0;
  border: 1px solid var(--sg-line);
  border-radius: 0 0 14px 14px;
  overflow: hidden;
  position: relative;
}

.sg-device__gif {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.sg-mock {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 38%;
}

.sg-mock__map {
  position: relative;
  background: linear-gradient(180deg, #a5d8f1 0%, #7ec8e3 50%, #6bb8d9 100%);
  overflow: hidden;
}
.sg-mock__map::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.2) 1px, transparent 1px);
  background-size: 28px 28px;
}

.sg-mock__pin {
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--sg-primary);
  box-shadow: 0 2px 6px rgba(22, 59, 72, 0.28);
  animation: sg-pin-pulse 2.4s ease-in-out infinite;
}
.sg-mock__pin--a { top: 28%; left: 22%; }
.sg-mock__pin--b { top: 45%; left: 48%; animation-delay: 0.4s; background: #64748b; }
.sg-mock__pin--c { top: 62%; left: 35%; animation-delay: 0.8s; background: #64748b; width: 10px; height: 10px; }
.sg-mock__pin--star {
  top: 38%; left: 58%;
  background: var(--sg-warm);
  width: 16px; height: 16px;
  border-radius: 50%;
  transform: none;
  animation-delay: 0.2s;
}

@keyframes sg-pin-pulse {
  0%, 100% { transform: rotate(-45deg) scale(1); }
  50% { transform: rotate(-45deg) scale(1.12); }
}

.sg-mock__panel {
  background: #fff;
  border-left: 1px solid var(--sg-line);
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.sg-mock__panel-img {
  height: 28%;
  border-radius: 6px;
  background: var(--sg-brand);
}
.sg-mock__line { height: 6px; border-radius: 4px; background: #e2e8f0; width: 85%; }
.sg-mock__line--lg { height: 10px; width: 70%; background: #cbd5e1; }
.sg-mock__cta {
  height: 22px;
  border-radius: 6px;
  background: var(--sg-line-strong);
  margin-top: auto;
}
.sg-mock__tabs { display: flex; gap: 4px; margin-top: 0.25rem; }
.sg-mock__tabs span { flex: 1; height: 5px; border-radius: 3px; background: #e2e8f0; }
.sg-mock__tabs .is-on { background: var(--sg-primary); }

.sg-mock__search {
  position: absolute;
  top: 8%; left: 8%;
  width: 42%; height: 10%;
  background: rgba(255,255,255,0.95);
  border-radius: 8px;
  box-shadow: var(--sg-shadow-sm);
  border: 1px solid var(--sg-line);
}

/* Pillars */
.sg-pillars {
  margin-top: 0.5rem;
  padding-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.sg-pillars__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.sg-pillar {
  background: var(--sg-surface);
  border-radius: 1rem;
  padding: 1.35rem 1.25rem;
  box-shadow: var(--sg-shadow-sm);
  border: 1px solid var(--sg-line);
}
.sg-pillar--accent {
  background: var(--sg-surface);
  border-color: var(--sg-line);
  box-shadow: var(--sg-shadow-sm);
}
.sg-pillar__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: var(--sg-primary-soft);
  margin-bottom: 0.75rem;
}
.sg-pillar--accent .sg-pillar__icon { background: #fff; }
.sg-pillar h2 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--sg-heading);
}
.sg-pillar p {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  color: var(--sg-muted);
  line-height: 1.5;
}
.sg-pillar a {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--sg-primary);
  text-decoration: none;
}
.sg-pillar a:hover { text-decoration: underline; }

/* Cities */
.sg-cities { padding: 2rem 0; }
.sg-cities--muted { background: #fff; }

.sg-sec-head { margin-bottom: 1.25rem; }
.sg-sec-head--center { text-align: center; max-width: 32rem; margin-inline: auto; }
.sg-sec-head h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--sg-heading);
}

.sg-city-rail {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
}
.sg-city-rail::-webkit-scrollbar { height: 6px; }
.sg-city-rail::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }

.sg-city {
  flex: 0 0 min(72vw, 240px);
  scroll-snap-align: start;
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  isolation: isolate;
  text-decoration: none;
  aspect-ratio: 4/5;
  box-shadow: var(--sg-shadow-sm);
  border: 0;
  background: var(--sg-line);
}
.sg-city img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transform-origin: center center;
  transition: transform 0.35s ease;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.sg-city:hover img { transform: scale(1.06); }
.sg-city__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.78) 0%, transparent 55%);
}
.sg-city__text {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1rem;
  color: #fff;
}
.sg-city__text strong { display: block; font-size: 1.1rem; }
.sg-city__text small { font-size: 0.8rem; opacity: 0.9; font-weight: 600; }

/* FAQ — card grid */
.sg-faq-block {
  padding: 2.5rem 0;
  background: var(--sg-bg);
  border-top: 1px solid var(--sg-line);
}

.sg-faq-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.sg-faq-card {
  background: #fff;
  border: 1px solid var(--sg-line);
  border-radius: 1rem;
  padding: 1.25rem 1.25rem 1.25rem 1rem;
  box-shadow: var(--sg-shadow-sm);
  position: relative;
  padding-left: 3.25rem;
}
.sg-faq-card__n {
  position: absolute;
  left: 1rem;
  top: 1.15rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 8px;
  background: var(--sg-brand-soft);
  color: var(--sg-brand);
  font-size: 0.8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sg-faq-card h3 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--sg-heading);
  line-height: 1.35;
}
.sg-faq-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--sg-muted);
  line-height: 1.5;
}

/* Action tiles — replaces old final CTA */
.sg-action {
  padding: 2.5rem 0 3.5rem;
}

.sg-action__lead {
  margin: 0.5rem 0 0;
  font-size: 1rem;
  color: var(--sg-muted);
  line-height: 1.5;
}

.sg-action__tiles {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
  grid-template-columns: 1fr;
}

.sg-action-tile {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.15rem;
  padding: 1.35rem 1.5rem;
  border-radius: 1.25rem;
  text-decoration: none;
  color: inherit;
  background: var(--sg-surface);
  border: 1px solid var(--sg-line);
  box-shadow: var(--sg-shadow-sm);
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
  min-height: 0;
}
.sg-action-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--sg-shadow);
  border-color: var(--sg-line-strong);
}
.sg-action-tile__icon {
  flex: 0 0 3.25rem;
  width: 3.25rem;
  height: 3.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.sg-action-tile__icon--map {
  font-size: 2.65rem;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}
.sg-action-tile__icon--yt svg {
  display: block;
  width: 2.75rem;
  height: 2.75rem;
}
.sg-action-tile__body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
  min-width: 0;
}
.sg-action-tile strong {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--sg-heading);
  line-height: 1.25;
}
.sg-action-tile__desc {
  font-size: 0.9rem;
  color: var(--sg-muted);
  line-height: 1.45;
  flex: 1;
}
.sg-action-tile span.sg-action-tile__desc {
  display: block;
}
.sg-action-tile em {
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 800;
  margin-top: 0.35rem;
}

.sg-action-tile--map em { color: var(--sg-brand); }

.sg-action-tile--yt em { color: var(--sg-accent); }

/* Contact page */
.sg-contact-page {
  padding: 2rem 0 3rem;
  background: var(--sg-bg);
}
.sg-back a {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--sg-primary);
  text-decoration: none;
}
.sg-contact-page__head { margin: 1rem 0 2rem; max-width: 36rem; }
.sg-contact-page__head h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--sg-heading);
}
.sg-contact-page__grid {
  display: grid;
  gap: 1.5rem;
}
.sg-form {
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--sg-line);
  box-shadow: var(--sg-shadow-sm);
}
.sg-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: #475569;
}
.sg-form input,
.sg-form textarea {
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--sg-line);
  border-radius: 10px;
  font: inherit;
}
.sg-form input:focus,
.sg-form textarea:focus {
  outline: 2px solid var(--sg-brand);
  outline-offset: 0;
  border-color: transparent;
}
.sg-form__note { font-size: 0.8rem; color: var(--sg-muted); margin: 0 0 1rem; }
.sg-contact-aside { display: grid; gap: 0.75rem; }
.sg-contact-card {
  display: block;
  padding: 1.15rem;
  background: #fff;
  border: 1px solid var(--sg-line);
  border-radius: 1rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.sg-contact-card:hover {
  border-color: var(--sg-brand);
  box-shadow: var(--sg-shadow-sm);
}
.sg-contact-card__ico { font-size: 1.5rem; display: block; margin-bottom: 0.35rem; }
.sg-contact-card strong { display: block; font-size: 1rem; margin-bottom: 0.25rem; }
.sg-contact-card span { font-size: 0.85rem; color: var(--sg-muted); }

/* Footer */
.sg-foot {
  background: #fff;
  border-top: 1px solid var(--sg-line);
  color: var(--sg-muted);
  padding: 2rem 0 1.5rem;
}
.sg-foot__grid {
  display: grid;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--sg-line);
  align-items: start;
}
.sg-foot__brand strong { color: var(--sg-heading); font-size: 1.1rem; }
.sg-foot__brand p { margin: 0.5rem 0 0; font-size: 0.875rem; max-width: 28rem; }
.sg-foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: flex-end;
  align-items: center;
  margin-left: auto;
}
.sg-foot__links a {
  color: var(--sg-primary);
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
}
.sg-foot__links a:hover { color: var(--sg-accent); }
.sg-foot__copy {
  padding-top: 1rem;
  font-size: 0.8rem;
  text-align: right;
}

.sg-toast {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--sg-primary-d);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  z-index: 200;
  box-shadow: var(--sg-shadow);
  transition: transform 0.25s;
  pointer-events: none;
}
.sg-toast.is-visible { transform: translateX(-50%) translateY(0); }

/* Static pages */
.sg-static-page { padding: 2rem 0 3rem; background: var(--sg-bg); }
.sg-static-page__head h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  color: var(--sg-heading);
}
.sg-prose {
  background: var(--sg-surface);
  border: 1px solid var(--sg-line);
  border-radius: 1rem;
  padding: 1.5rem 1.35rem;
  box-shadow: var(--sg-shadow-sm);
  line-height: 1.65;
  color: var(--sg-text);
}
.sg-prose h2, .sg-prose h3 { color: var(--sg-heading); margin-top: 1.5rem; }
.sg-prose p { margin: 0 0 1rem; }
.sg-prose ul, .sg-prose ol { margin: 0 0 1rem 1.25rem; }
.sg-prose a { color: var(--sg-brand); }
.sg-static-page__updated {
  margin: 1.25rem 0 0;
  font-size: 0.875rem;
  color: var(--sg-muted, #64748b);
  text-align: right;
}
.sg-static-page__updated time { font-style: normal; }

/* Contact modal */
.sg-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.sg-modal[hidden] { display: none; }
.sg-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}
.sg-modal__panel {
  position: relative;
  width: min(100%, 28rem);
  max-height: min(92vh, 640px);
  overflow-y: auto;
  background: var(--sg-surface);
  border-radius: 1.25rem;
  border: 1px solid var(--sg-line);
  box-shadow: var(--sg-shadow);
  padding: 1.5rem 1.35rem 1.25rem;
}
.sg-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  border: 0;
  background: transparent;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--sg-muted);
  cursor: pointer;
}
.sg-modal__head { margin-bottom: 1rem; padding-right: 2rem; }
.sg-modal__head h2 { margin: 0.35rem 0 0.5rem; font-size: 1.35rem; font-weight: 800; }
.sg-modal__head .sg-lead { margin: 0; font-size: 0.9rem; }
.sg-form--modal { margin-top: 0.5rem; }
.sg-modal__alt { margin: 1rem 0 0; font-size: 0.85rem; text-align: center; }
.sg-modal__alt a { color: var(--sg-brand); font-weight: 600; }

/* 404 — main site + /app/ unknown routes */
.sg-404 {
  padding: 1.5rem 0 3rem;
}
.sg-404__panel {
  background: var(--sg-surface);
  border: 1px solid var(--sg-line);
  border-radius: 1.35rem;
  box-shadow: var(--sg-shadow);
  overflow: hidden;
}
.sg-404__grid {
  display: grid;
  gap: 0;
}
.sg-404__main {
  padding: 1.5rem 1.25rem 1.75rem;
}
.sg-404__code {
  margin: 0;
  font-size: clamp(3rem, 12vw, 4.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: #dbe6eb;
}
.sg-404__main h1 {
  margin: 0.35rem 0 0.5rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--sg-ink);
}
.sg-404__search {
  margin-top: 1.25rem;
  max-width: 28rem;
}
.sg-404__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}
.sg-404__aside {
  padding: 1.25rem 1.25rem 1.5rem;
  background: #f8fafc;
  border-top: 1px solid var(--sg-line);
}
.sg-404__quick {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.sg-404__quick a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.85rem;
  border: 1px solid var(--sg-line);
  background: var(--sg-surface);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.sg-404__quick a:hover {
  border-color: var(--sg-brand);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
}
.sg-404__quick-ico { font-size: 1.25rem; flex-shrink: 0; }
.sg-404__quick-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.sg-404__quick-text strong {
  font-size: 0.9rem;
  color: var(--sg-ink);
}
.sg-404__quick-text span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--sg-muted);
}
.sg-404__quick-arrow {
  color: var(--sg-muted);
  font-weight: 700;
  flex-shrink: 0;
}
.sg-404__contact {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  text-align: center;
}
.sg-404__contact a {
  color: var(--sg-brand);
  font-weight: 600;
  text-decoration: none;
}
.sg-404__contact a:hover { text-decoration: underline; }

@media (min-width: 960px) {
  .sg-404__grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
  .sg-404__aside {
    border-top: 0;
    border-left: 1px solid var(--sg-line);
  }
}

@media (min-width: 768px) {
  .sg-top__nav { display: flex; }
  .sg-faq-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .sg-hero__grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 2rem;
  }
  .sg-hero { padding: 3rem 0 2.5rem; }
  .sg-pillars__grid { grid-template-columns: repeat(3, 1fr); }
  .sg-action__tiles { grid-template-columns: 1fr 1fr; }
  .sg-contact-page__grid { grid-template-columns: 1.2fr 0.8fr; }
  .sg-foot__grid {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
  }
  .sg-device { margin-inline: 0 0 0 auto; }
}
