/* Public entry and shared system navigation. Scoped away from app screens. */
.seo-public #app, .seo-public #stars-bg { display: none !important; }
.seo-app #seo-home { display: none; }
html.seo-public, .seo-public body { height: auto !important; overflow: auto !important; }
#seo-home {
  --entry-bg: #fcf8f5; --entry-card: #fff; --entry-ink: #302622;
  --entry-muted: #74625b; --entry-line: #eaded7; --entry-accent: #c84c43;
  position: relative; z-index: 2; min-height: 100dvh; padding: 28px 20px 84px;
  background: var(--entry-bg); color: var(--entry-ink);
  font: 16px/1.6 Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
#seo-home .entry-wrap { max-width: 960px; margin: auto; }
#seo-home .entry-header { display: flex; justify-content: space-between; gap: 20px; align-items: center; }
#seo-home a { color: inherit; text-decoration: none; }
#seo-home a:focus-visible, .seo-system-nav a:focus-visible { outline: 3px solid #c84c43; outline-offset: 4px; }
#seo-home .entry-brand { font-weight: 750; letter-spacing: .08em; font-size: 22px; }
#seo-home .entry-hero { max-width: 720px; padding: 64px 0 36px; }
#seo-home .entry-label { color: var(--entry-accent); font-size: 13px; font-weight: 700; letter-spacing: .08em; }
#seo-home h1 { font-size: clamp(30px, 5vw, 48px); line-height: 1.16; margin: 14px 0 20px; }
#seo-home p { color: var(--entry-muted); margin: 12px 0; }
#seo-home .entry-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0; }
#seo-home .entry-button { border-radius: 28px; padding: 12px 22px; border: 1px solid var(--entry-line); font-weight: 600; }
#seo-home .entry-button.primary { background: #f8d7d0; color: #3d2621; }
#seo-home h2 { margin: 20px 0; font-size: 24px; line-height: 1.3; }
#seo-home .entry-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
#seo-home .entry-system { display: block; padding: 22px; border: 1px solid var(--entry-line); border-radius: 22px; background: var(--entry-card); }
#seo-home .entry-system:hover { border-color: var(--entry-accent); }
#seo-home .entry-system strong { display: block; font-size: 18px; }
#seo-home .entry-system span { display: block; color: var(--entry-muted); font-size: 14px; margin-top: 8px; }
#seo-home .entry-about { max-width: 720px; margin: 36px 0; }
#seo-home .entry-about a { text-decoration: underline; text-underline-offset: 3px; }
#seo-home .entry-footer { border-top: 1px solid var(--entry-line); padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 14px; }
.seo-system-nav { margin: 24px 0 0; font: inherit; }
.seo-system-nav p { font-size: 13px; opacity: .75; margin: 0 0 10px; }
.seo-system-nav ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.seo-system-nav a { display: inline-block; padding: 8px 12px; border: 1px solid currentColor; border-radius: 18px; color: inherit; text-decoration: none; font-size: 13px; }
.seo-brand-note { font-size: 12px; opacity: .7; margin: 8px 0; }
@media (max-width: 640px) {
  #seo-home .entry-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  #seo-home .entry-system { padding: 16px; }
  #seo-home .entry-system strong { font-size: 16px; }
  #seo-home .entry-hero { padding-top: 38px; }
}
@media (prefers-color-scheme: dark) {
  #seo-home { --entry-bg:#1f1c1b; --entry-card:#2a2523; --entry-ink:#f7efea; --entry-muted:#c5b6af; --entry-line:#4a3e38; --entry-accent:#f29c91; }
}
