/* EmiTrack public pages — concise institutional presentation. */
.public-site {
  --site-navy: #071a2b; --site-navy-2: #0b2942; --site-emerald: #54c882;
  --site-emerald-deep: #109068; --site-gold: #e7bc58;
  margin: 0; background: #f4f7f5; color: #122831;
  font-family: Inter, "Avenir Next", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
}
.site-wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.site-header { position: absolute; inset: 0 0 auto; z-index: 50; color: #f5faf7; }
.site-header-solid { background: #071a2bf2; }
.site-nav { height: 72px; display: flex; align-items: center; gap: 24px; border-bottom: 1px solid #ffffff1c; }
.site-brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.site-brand:hover { color: inherit; }
.site-brand-mark { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; color: #061c2b; background: var(--site-emerald); }
.site-brand-mark svg { width: 19px; height: 19px; }
.site-wordmark { font-size: 1.1rem; font-weight: 800; letter-spacing: -.055em; }
.site-wordmark span { color: var(--site-emerald); }
.site-links { display: flex; gap: 28px; margin-left: auto; }
.site-links a { color: #d2e0df; text-decoration: none; font-size: .86rem; font-weight: 600; }
.site-links a:hover { color: #fff; }
.site-access-mobile { display: none; }
.site-menu { display: none; }
.site-theme { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid #ffffff2b; border-radius: 999px; background: #ffffff0d; color: #f4faf7; font: inherit; font-size: .78rem; font-weight: 700; cursor: pointer; }
.theme-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--site-gold); box-shadow: 0 0 0 4px #e7bc5820; }
.site-enter { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 9px; background: var(--site-emerald); color: #061d28; text-decoration: none; font-weight: 800; box-shadow: 0 12px 30px #0003; }
.site-enter:hover { color: #061d28; background: #68da95; }
.site-enter-small { min-height: 38px; padding: 0 16px; font-size: .82rem; box-shadow: none; }

.site-hero { position: relative; overflow: hidden; color: #f3f8f6; background: radial-gradient(circle at 78% 28%, #174968 0, transparent 34%), linear-gradient(135deg, var(--site-navy), #092238 68%, #0a3042); padding: 142px 0 76px; }
.site-grid { position: absolute; inset: 0; opacity: .34; background-image: linear-gradient(#ffffff0b 1px, transparent 1px), linear-gradient(90deg, #ffffff0b 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom, #000 0, transparent 94%); }
.hero-layout { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(350px, .75fr); gap: 58px; align-items: center; }
.site-kicker, .section-label { margin: 0 0 16px; color: var(--site-emerald); font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.site-kicker { display: flex; align-items: center; gap: 9px; }
.site-kicker span { width: 7px; height: 7px; border-radius: 50%; background: var(--site-emerald); }
.hero-copy h1 { margin: 0; color: #fff; font-family: inherit; font-size: clamp(3rem, 4.5vw, 3.9rem); font-weight: 800; letter-spacing: -.06em; line-height: .96; }
.hero-geography { display: block; margin-bottom: 12px; color: #d8e5e2; font-size: .43em; font-weight: 700; letter-spacing: .01em; line-height: 1.15; }
.hero-product { display: block; }
.hero-copy h1 em { color: var(--site-emerald); font-style: normal; }
.hero-sub { margin: 22px 0 14px; color: #fff; font-size: clamp(1.05rem, 2vw, 1.3rem); font-weight: 700; letter-spacing: -.02em; }
.hero-lede { max-width: 58ch; margin: 0; color: #bfd0d2; font-size: 1rem; line-height: 1.72; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-boundary { max-width: 66ch; margin: 22px 0 0; padding-left: 14px; border-left: 2px solid var(--site-gold); color: #9fb6bb; font-size: .77rem; line-height: 1.6; }
.hero-boundary strong { color: #e6efec; }

.evidence-card { padding: 24px; border: 1px solid #ffffff30; border-radius: 20px; background: linear-gradient(160deg, #ffffff12, #ffffff07); box-shadow: 0 30px 70px #0004; backdrop-filter: blur(12px); }
.evidence-top { display: flex; justify-content: space-between; gap: 16px; color: #91abb1; font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.evidence-top strong { color: #d7e4e1; }
.evidence-title { margin-top: 28px; color: #fff; font-size: 1.12rem; font-weight: 800; letter-spacing: -.03em; }
.evidence-path { height: 150px; display: flex; align-items: flex-end; gap: 8px; margin: 18px 0 24px; padding: 18px 16px 0; border-bottom: 1px solid #ffffff28; background: linear-gradient(180deg, transparent, #54c8820a); }
.evidence-path span { flex: 1; height: var(--h); min-width: 7px; border-radius: 3px 3px 0 0; background: linear-gradient(to top, var(--site-emerald-deep), var(--site-emerald)); opacity: .84; }
.evidence-path span:nth-child(3n) { background: linear-gradient(to top, #b18435, var(--site-gold)); }
.evidence-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.evidence-stats div { padding-top: 13px; border-top: 1px solid #ffffff1c; }
.evidence-stats strong { display: block; color: #fff; font-family: "IBM Plex Mono", monospace; font-size: 1.38rem; }
.evidence-stats span { color: #91abb1; font-size: .72rem; }

.decision-section { padding: 74px 0 82px; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: end; margin-bottom: 38px; }
.section-heading h2, .access-layout h2 { color: #0b2431; font-family: inherit; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -.055em; line-height: 1.05; }
.section-heading p { margin: 0; color: #567078; line-height: 1.7; }
.decision-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #bdcbc8; }
.decision-grid article { padding: 28px 34px 10px 0; }
.decision-grid article + article { padding-left: 34px; border-left: 1px solid #d4dedb; }
.decision-number { color: var(--site-emerald-deep); font-family: "IBM Plex Mono", monospace; font-size: .7rem; font-weight: 700; }
.decision-grid h3 { margin: 18px 0 10px; color: #102a34; font-family: inherit; font-size: 1.2rem; font-weight: 800; }
.decision-grid p { margin: 0; color: #60777d; font-size: .9rem; line-height: 1.68; }

.access-section { padding: 66px 0; color: #edf5f1; background: #0b2b3c; }
.access-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.access-layout h2 { max-width: 13ch; color: #fff; }
.access-copy > p { margin: 4px 0 25px; color: #bad0d1; line-height: 1.75; }
.access-actions { display: flex; gap: 24px; flex-wrap: wrap; }
.access-actions a { color: var(--site-emerald); font-weight: 800; text-decoration: none; }
.access-actions a + a { color: #d7e4e1; }

.site-footer { padding: 46px 0 38px; color: #b9cbcb; background: #061825; }
.footer-layout { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 48px; }
.footer-brand { color: #fff; margin-bottom: 13px; }
.site-footer p { margin: 0; font-size: .78rem; line-height: 1.7; }
.site-footer nav { display: grid; align-content: start; gap: 8px; }
.site-footer nav a { color: #c6d5d4; text-decoration: none; font-size: .8rem; }
.footer-meta { text-align: right; }

/* About page */
.about-hero { position: relative; overflow: hidden; padding: 148px 0 76px; color: #fff; background: radial-gradient(circle at 75% 20%, #174968 0, transparent 34%), linear-gradient(135deg, #071a2b, #0a2d44); }
.about-hero-inner { position: relative; }
.about-hero h1 { max-width: 13ch; margin: 0; color: #fff; font-family: inherit; font-size: clamp(3rem, 6.4vw, 5.4rem); font-weight: 800; line-height: .98; letter-spacing: -.065em; }
.about-hero p:last-child { max-width: 63ch; margin: 28px 0 0; color: #bed0d1; font-size: 1.05rem; line-height: 1.75; }
.about-section, .principles-section { padding: 76px 0; }
.about-two { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; }
.about-two h2, .governance-section h2, .principles-section h2, .contact-section h2 { margin: 0; color: #102a34; font-family: inherit; font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; line-height: 1.06; letter-spacing: -.052em; }
.about-prose p { margin: 0 0 18px; color: #536d75; line-height: 1.78; }
.governance-section { padding: 72px 0 80px; background: #e9f0ed; }
.governance-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 38px; border-top: 1px solid #b9cac5; }
.governance-grid article { padding: 28px 34px 10px 0; }
.governance-grid article + article { padding-left: 34px; border-left: 1px solid #cad7d3; }
.governance-grid span { color: #109068; font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.governance-grid h3 { margin: 15px 0 10px; color: #102a34; font: 800 1.18rem/1.3 Inter, sans-serif; }
.governance-grid p, .principles-grid p { margin: 0; color: #5d747b; font-size: .88rem; line-height: 1.7; }
.access-levels { display: grid; gap: 0; }
.access-levels article { display: grid; grid-template-columns: 130px 1fr; gap: 24px; padding: 20px 0; border-top: 1px solid #cbd8d4; }
.access-levels strong { color: #109068; }
.access-levels p { margin: 0; color: #536d75; line-height: 1.7; }
.principles-section { color: #eef6f3; background: #0b2b3c; }
.principles-section h2 { color: #fff; }
.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 38px; }
.principles-grid article { padding: 24px; border: 1px solid #ffffff20; border-radius: 14px; background: #ffffff08; }
.principles-grid strong { display: block; margin-bottom: 10px; color: #54c882; }
.principles-grid p { color: #b8cdce; }
.contact-section { padding: 76px 0; }
.contact-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; }
.contact-layout address { display: grid; gap: 7px; padding: 25px; border-top: 3px solid #54c882; background: #e9f0ed; color: #526c74; font-style: normal; }
.contact-layout address strong { color: #102a34; font-size: 1.06rem; }
.contact-layout address span { font-size: .83rem; line-height: 1.6; }
.contact-layout address a { color: #0d7c5a; font-size: .88rem; font-weight: 700; text-decoration: none; }
:root[data-theme="dark"] .about-section, :root[data-theme="dark"] .contact-section { background: #081b25; }
:root[data-theme="dark"] .about-two h2, :root[data-theme="dark"] .contact-section h2 { color: #f0f6f3; }
:root[data-theme="dark"] .about-prose p, :root[data-theme="dark"] .access-levels p { color: #a5babc; }
:root[data-theme="dark"] .governance-section, :root[data-theme="dark"] .contact-layout address { background: #0d2631; }
:root[data-theme="dark"] .governance-section h2, :root[data-theme="dark"] .governance-grid h3, :root[data-theme="dark"] .contact-layout address strong { color: #f0f6f3; }
:root[data-theme="dark"] .governance-grid p, :root[data-theme="dark"] .contact-layout address { color: #a5babc; }
:root[data-theme="dark"] .governance-grid, :root[data-theme="dark"] .governance-grid article + article, :root[data-theme="dark"] .access-levels article { border-color: #ffffff1c; }

:root[data-theme="dark"] .public-site { background: #081b25; color: #edf4f1; }
:root[data-theme="dark"] .decision-section { background: #081b25; }
:root[data-theme="dark"] .section-heading h2, :root[data-theme="dark"] .decision-grid h3 { color: #f0f6f3; }
:root[data-theme="dark"] .section-heading p, :root[data-theme="dark"] .decision-grid p { color: #a5babc; }
:root[data-theme="dark"] .decision-grid { border-top-color: #ffffff24; }
:root[data-theme="dark"] .decision-grid article + article { border-left-color: #ffffff19; }

@media (max-width: 900px) {
  .site-links { display: none; position: absolute; left: 24px; right: 24px; top: 66px; padding: 14px; border: 1px solid #ffffff24; border-radius: 12px; background: #0a2437; box-shadow: 0 20px 50px #0006; }
  .site-nav-open .site-links { display: grid; gap: 2px; }
  .site-links a { padding: 10px 12px; border-radius: 8px; }
  .site-links .site-access-mobile { display: block; margin-top: 5px; background: var(--site-emerald); color: #061d28; }
  .site-menu { display: inline-flex; margin-left: auto; padding: 8px 12px; border: 1px solid #ffffff2b; border-radius: 8px; background: #ffffff0d; color: #fff; font: inherit; font-size: .8rem; font-weight: 700; }
  .site-enter-small { display: none; }
  .hero-layout { grid-template-columns: 1fr; gap: 42px; }
  .evidence-card { max-width: 620px; }
  .section-heading, .access-layout { grid-template-columns: 1fr; gap: 22px; }
  .about-two, .contact-layout { grid-template-columns: 1fr; gap: 30px; }
  .governance-grid, .principles-grid { grid-template-columns: 1fr; }
  .governance-grid article { padding: 24px 0; }
  .governance-grid article + article { padding-left: 0; border-left: 0; border-top: 1px solid #cad7d3; }
}
@media (max-width: 680px) {
  .site-wrap { width: min(100% - 30px, 1180px); }
  .site-nav { gap: 10px; }
  .site-theme { padding: 8px 10px; }
  .site-theme #themeText { display: none; }
  .site-hero { padding: 120px 0 56px; }
  .hero-copy h1 { font-size: clamp(2.15rem, 10.7vw, 3.3rem); }
  .hero-copy h1 em { white-space: nowrap; }
  .hero-actions { display: grid; }
  .hero-actions .site-enter { width: 100%; }
  .evidence-card { padding: 19px; }
  .decision-section { padding: 56px 0 62px; }
  .decision-grid { grid-template-columns: 1fr; }
  .decision-grid article { padding: 24px 0; }
  .decision-grid article + article { padding-left: 0; border-left: 0; border-top: 1px solid #d4dedb; }
  :root[data-theme="dark"] .decision-grid article + article { border-top-color: #ffffff19; }
  .access-section { padding: 54px 0; }
  .footer-layout { grid-template-columns: 1fr; gap: 28px; }
  .footer-meta { text-align: left; }
  .about-hero { padding: 124px 0 58px; }
  .about-hero h1 { font-size: clamp(2.75rem, 14vw, 4rem); }
  .about-section, .principles-section, .contact-section { padding: 56px 0; }
  .access-levels article { grid-template-columns: 1fr; gap: 7px; }
}
