:root {
  color-scheme: light;
  --ink: #101827;
  --muted: #49647a;
  --blue: #0d6fa8;
  --blue-dark: #07598a;
  --line: rgba(23,32,51,.18);
  --surface: rgba(255,255,255,.78);
  --surface-strong: rgba(255,255,255,.90);
}

* { box-sizing: border-box; }
html { min-height: 100%; color-scheme: light; }

body.esos-public-inbox {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  -webkit-text-fill-color: currentColor;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(160deg, #78c7ff 0%, #9dd8ff 52%, #bee9ff 100%);
}

/* Keep the public page capture-safe. Full-page browser captures can corrupt
   fixed decorative layers, so the gradient lives on the page itself. */
body.esos-public-inbox::before,
body.esos-public-inbox::after {
  content: none;
  display: none;
}

body.esos-public-inbox :where(button, input, select, textarea, a) { color-scheme: light; }

.public-shell {
  position: relative;
  width: min(100% - 32px, 760px);
  min-height: 100vh;
  margin: 0 auto;
  padding: max(20px, env(safe-area-inset-top)) 0 max(34px, env(safe-area-inset-bottom));
}

.public-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px 7px 7px;
  border: 1px solid var(--line);
  border-radius: 17px;
  color: var(--ink);
  text-decoration: none;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(15,75,116,.11);
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(145deg, var(--blue-dark), var(--blue));
}

.brand-name { font-size: 17px; font-weight: 850; }

.header-signin {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  background: var(--surface-strong);
  box-shadow: 0 1px 2px rgba(16,24,39,.07);
}

.hero {
  width: 100%;
  padding: clamp(62px, 10vh, 96px) 0 42px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
}

.hero h1 {
  max-width: 620px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(42px, 9vw, 64px);
  line-height: 1;
  letter-spacing: -.05em;
}

.hero-copy {
  max-width: 560px;
  margin: 22px 0 26px;
  color: var(--muted);
  font-size: clamp(17px, 2.3vw, 20px);
  line-height: 1.5;
}

.primary-action {
  width: 100%;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1.5px solid var(--blue);
  border-radius: 16px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 850;
  text-decoration: none;
  background: var(--surface-strong);
  box-shadow: inset 0 0 0 1px rgba(13,111,168,.11), 0 2px 5px rgba(16,24,39,.08);
}

.privacy-note {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.simple-proof {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--line);
  box-shadow: 0 12px 34px rgba(16,24,39,.08);
}

.simple-proof > div {
  min-height: auto;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--surface);
}

.simple-proof strong { color: var(--ink); font-size: 17px; }
.simple-proof span { color: var(--muted); font-size: 14px; line-height: 1.5; }

@media (max-width: 520px) {
  .public-shell { width: min(100% - 24px, 760px); }
  .hero { padding: 58px 0 38px; }
  .hero h1 { font-size: clamp(40px, 12vw, 52px); }
  .hero-copy { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
