* { box-sizing: border-box; }
body { margin: 0; background: #f5f4ef; color: #202b3c; font: 16px/1.5 system-ui, sans-serif; }
#app { min-height: 100vh; }
.eyebrow { color: var(--mithlo-primary, #4a5e87); font-size: .8em; font-weight: 700; letter-spacing: .12em; }
h1 { margin: .25rem 0; }
.status { color: var(--mithlo-muted, #425977); }
nav a { color: var(--mithlo-primary, #294d89); overflow-wrap: anywhere; }
nav a[aria-current="page"] { font-weight: 700; }
.showcase-nav-group { flex: 1 1 12rem; min-width: 0; }
.showcase-nav-label { display: block; margin-bottom: .5rem; color: var(--mithlo-muted, #637084); font-size: .8em; font-weight: 700; }
.showcase-nav-links { display: flex; flex-wrap: wrap; gap: .75rem; min-width: 0; }
.showcase-nav-action { align-self: flex-start; margin: 0; padding: 0; background: transparent; color: var(--mithlo-primary, #294d89); text-decoration: underline; }
.showcase-nav-group + .showcase-nav-group { border-inline-start: 1px solid var(--mithlo-border, #d9e0e9); padding-inline-start: 1rem; }
.mithlo-layout--sidebar .showcase-nav-group { flex: none; width: 100%; }
.mithlo-layout--sidebar .showcase-nav-links { flex-direction: column; }
.mithlo-layout--sidebar .showcase-nav-group + .showcase-nav-group { border-inline-start: 0; padding-inline-start: 0; border-block-start: 1px solid var(--mithlo-border, #d9e0e9); padding-block-start: 1rem; }
@media (max-width: 48rem) {
  .showcase-nav-group + .showcase-nav-group { border-inline-start: 0; padding-inline-start: 0; border-block-start: 1px solid var(--mithlo-border, #d9e0e9); padding-block-start: 1rem; }
  .mithlo-layout--sidebar .showcase-nav-links { flex-direction: row; }
}
section, .mithlo-layout__sidebar { background: var(--mithlo-surface, white); border: 1px solid var(--mithlo-border, #d9e0e9); border-radius: var(--mithlo-radius, .75rem); padding: clamp(.75rem, 3vw, var(--mithlo-padding, 1.5rem)); }
.mithlo-split-pane > section { background: transparent; border: 0; padding: 0; }
h2 { margin-top: 0; font-size: 1.2em; }
.records { list-style: none; padding: 0; }
.record { border-bottom: 1px solid var(--mithlo-border, #e6eaf0); padding: .6rem 0; }
.author { display: block; color: var(--mithlo-muted, #526787); font-size: .8em; font-weight: 700; }
.record-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .75rem; }
.record-timestamp { color: var(--mithlo-muted, #526787); font-size: .8em; }
.empty, .note { color: var(--mithlo-muted, #637084); }
label { display: block; font-weight: 600; margin-bottom: .35rem; }
input, textarea { display: block; width: 100%; min-width: 0; padding: .6rem; border: 1px solid var(--mithlo-border, #aeb9ca); border-radius: .3rem; font: inherit; }
input { margin-bottom: .75rem; }
textarea { resize: vertical; }
button { margin-top: .75rem; padding: .6rem 1rem; border: 0; border-radius: .3rem; background: var(--mithlo-primary, #294d89); color: white; font: inherit; cursor: pointer; }
button:disabled { opacity: .5; cursor: not-allowed; }
.error { color: #a32626; }
.note { font-size: .9em; }
.editor { margin: 1.25rem 0; padding: 1rem; border: 1px solid var(--mithlo-border, #aeb9ca); border-radius: .3rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.secondary { background: var(--mithlo-background, #e6eaf0); color: var(--mithlo-primary, #294d89); }

.public-site { width: min(100% - 3rem, 76rem); margin-inline: auto; }
.site-header, .site-nav, .site-brand, .site-actions, .site-footer { display: flex; align-items: center; }
.site-header { min-height: 5.5rem; justify-content: space-between; border-bottom: 1px solid #deded5; }
.site-brand { gap: .65rem; color: #1d3430; font-size: 1.2rem; font-weight: 750; letter-spacing: -.04em; text-decoration: none; }
.site-brand-mark { display: grid; width: 2rem; aspect-ratio: 1; place-items: center; border-radius: .65rem; background: #174f42; color: #f6f4ec; font-size: 1rem; font-weight: 700; }
.site-nav { gap: 2rem; }
.site-nav a, .site-text-link, .site-footer-signin { color: #47574f; font-size: .9rem; font-weight: 600; text-decoration: none; }
.site-nav a:hover, .site-text-link:hover, .site-footer-signin:hover { color: #174f42; }
.site-nav .site-nav-signin { border: 1px solid #c8cfc5; border-radius: 999px; padding: .55rem 1rem; color: #174f42; }
.site-hero { display: grid; min-height: 35rem; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 2rem; border: 0; border-radius: 0; background: transparent; padding: 4.5rem 0 5.25rem; }
.site-hero-copy { max-width: 39rem; }
.site-eyebrow { display: flex; align-items: center; gap: .55rem; margin: 0 0 1.3rem; color: #527067; font-size: .76rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.site-eyebrow > span { width: .45rem; height: .45rem; border-radius: 50%; background: #d78a55; }
.site-hero h1 { max-width: 10ch; margin: 0; color: #1d3430; font-size: clamp(3rem, 6vw, 5.4rem); font-weight: 560; letter-spacing: -.075em; line-height: .99; }
.site-intro { max-width: 34rem; margin: 1.5rem 0 0; color: #63716a; font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.7; }
.site-actions { flex-wrap: wrap; gap: 1.5rem; margin-top: 2rem; }
.site-button { display: inline-flex; align-items: center; gap: 1rem; border-radius: 999px; padding: .85rem 1.2rem; background: #174f42; color: #fff; font-size: .92rem; font-weight: 650; text-decoration: none; transition: background .15s ease, transform .15s ease; }
.site-button:hover { transform: translateY(-1px); background: #103d33; }
.site-button span { font-size: 1.15rem; }
.site-footnote { margin: 1.4rem 0 0; color: #828b84; font-size: .8rem; }
.site-hero-art { position: relative; display: grid; min-height: 26rem; place-items: center; overflow: hidden; border: 1px solid #e1e0d7; border-radius: 1.6rem; background: radial-gradient(ellipse at center, #fffdf6 0, #eeeee4 72%); }
.site-orbit { position: absolute; width: 19rem; aspect-ratio: 1; border: 1px solid #d5d9cd; border-radius: 50%; }
.site-orbit-outer { width: 24rem; border-style: dashed; opacity: .8; }
.site-orbit-inner { width: 15rem; }
.site-core { z-index: 1; display: grid; width: 7rem; aspect-ratio: 1; place-items: center; border: 1px solid #83a397; border-radius: 2.1rem; background: #174f42; box-shadow: 0 1rem 2.5rem #174f4230; color: #f6f4ec; font-size: 3rem; font-weight: 500; letter-spacing: -.08em; transform: rotate(-8deg); }
.site-core i { position: absolute; width: .7rem; aspect-ratio: 1; right: -.2rem; top: .2rem; border: 3px solid #f5f4ef; border-radius: 50%; background: #d78a55; }
.site-node { position: absolute; z-index: 2; display: flex; align-items: center; gap: .55rem; border: 1px solid #e2e2d9; border-radius: 999px; padding: .55rem .8rem; background: #fffefa; box-shadow: 0 .4rem 1.2rem #28372c0c; color: #52635b; font-size: .78rem; font-weight: 650; }
.site-node-dot { width: .42rem; aspect-ratio: 1; border-radius: 50%; background: #7da28f; }
.site-node-local { top: 19%; left: 8%; }
.site-node-live { top: 28%; right: 6%; }
.site-node-sync { bottom: 18%; left: 24%; }
.site-capabilities { border: 0; border-radius: 0; background: transparent; padding: 1rem 0 5.5rem; }
.site-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; border-bottom: 1px solid #deded5; padding-bottom: 1.35rem; }
.site-section-heading .site-eyebrow { margin: 0; }
.site-section-heading h2 { margin: 0; color: #1d3430; font-size: clamp(1.35rem, 3vw, 2rem); font-weight: 550; letter-spacing: -.045em; }
.site-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; padding-top: 1.5rem; }
.site-feature { min-height: 10rem; padding: 1.2rem 1.2rem 1.2rem 0; }
.site-feature-number { color: #b27851; font-size: .75rem; font-weight: 700; letter-spacing: .1em; }
.site-feature h3 { margin: .7rem 0 .35rem; color: #1d3430; font-size: 1.05rem; font-weight: 650; }
.site-feature p { max-width: 22rem; margin: 0; color: #69766f; font-size: .9rem; line-height: 1.65; }
.site-footer { min-height: 5.5rem; justify-content: space-between; gap: 1rem; border-top: 1px solid #deded5; }
.site-footer p { margin: 0; color: #828b84; font-size: .82rem; }
.site-footer-signin span { color: #b27851; }
@media (max-width: 48rem) {
  .public-site { width: min(100% - 2rem, 34rem); }
  .site-header { min-height: 4.5rem; }
  .site-nav { gap: 1rem; }
  .site-nav > a:first-child { display: none; }
  .site-hero { min-height: auto; grid-template-columns: 1fr; gap: 2.25rem; padding-block: 3.5rem; }
  .site-hero h1 { max-width: 11ch; font-size: clamp(3.1rem, 14vw, 4.5rem); }
  .site-hero-art { min-height: 22rem; }
  .site-orbit-outer { width: 20rem; }
  .site-orbit { width: 16rem; }
  .site-orbit-inner { width: 12rem; }
  .site-core { width: 6rem; border-radius: 1.7rem; font-size: 2.5rem; }
  .site-node-local { left: 3%; }
  .site-node-live { right: 3%; }
  .site-node-sync { left: 17%; }
  .site-section-heading { align-items: start; flex-direction: column; }
  .site-feature-grid { grid-template-columns: 1fr; gap: .25rem; }
  .site-feature { min-height: 0; border-bottom: 1px solid #e2e1d9; padding: 1rem 0 1.2rem; }
  .site-feature:last-child { border-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
