: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; }
}

.public-legal-links { display: flex; justify-content: center; gap: 18px; margin: 28px 0 0; }
.public-legal-links a { color: #07598a; font-size: 13px; font-weight: 800; text-decoration: none; }


/* Product sales landing */
.hero-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.secondary-action {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 850;
  text-decoration: none;
  background: rgba(255,255,255,.48);
}

.sales-section {
  padding: clamp(44px, 7vw, 72px) 0;
  border-top: 1px solid color-mix(in srgb, var(--ink) 22%, transparent);
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--blue-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .18em;
}

.section-kicker::before {
  content: "";
  width: 3px;
  height: 16px;
  border-radius: 999px;
  background: var(--blue);
}

.sales-section h2 {
  max-width: 650px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 5.5vw, 46px);
  line-height: 1.05;
  letter-spacing: -.04em;
}

.section-intro {
  max-width: 650px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 2.4vw, 19px);
  line-height: 1.55;
}

.benefit-rows,
.plan-teaser-rows {
  margin-top: 28px;
}

.benefit-rows article,
.plan-teaser-rows article {
  padding: 22px 2px;
  border-top: 1px solid var(--line);
}

.benefit-rows article:last-child,
.plan-teaser-rows article:last-child {
  border-bottom: 1px solid var(--line);
}

.benefit-rows strong,
.plan-teaser-rows strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
}

.benefit-rows span,
.plan-teaser-rows span {
  display: block;
  margin-top: 7px;
  max-width: 620px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.step-rows {
  margin-top: 30px;
}

.step-rows article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  padding: 22px 2px;
  border-top: 1px solid var(--line);
}

.step-rows article:last-child {
  border-bottom: 1px solid var(--line);
}

.step-number {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 900;
  background: rgba(255,255,255,.62);
  border: 1px solid var(--line);
}

.step-rows strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
}

.step-rows p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.trust-rows {
  margin: 26px 0 20px;
}

.trust-rows p {
  margin: 0;
  padding: 17px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.trust-rows p:last-child {
  border-bottom: 1px solid var(--line);
}

.trust-rows strong {
  color: var(--ink);
}

.text-link {
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.plans-action {
  margin-top: 28px;
}

.closing-section .primary-action {
  margin-top: 26px;
}

.closing-section .privacy-note a {
  color: var(--blue-dark);
  font-weight: 800;
}

.public-footer {
  min-height: 72px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 20px;
  padding: 24px 0 max(12px, env(safe-area-inset-bottom));
  border-top: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
}

.public-footer span,
.public-footer a {
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 800;
}

.public-footer a {
  text-decoration: none;
}

@media (max-width: 620px) {
  .hero-actions {
    grid-template-columns: 1fr;
  }

  .secondary-action {
    width: 100%;
  }

  .sales-section {
    padding: 44px 0;
  }

  .step-rows article {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
  }

  .step-number {
    width: 32px;
    height: 32px;
  }
}


/* Sales proof and product preview */
.trust-strip {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.trust-strip span {
  min-height: 72px;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
  background: rgba(255,255,255,.46);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}

.trust-strip svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: var(--blue-dark);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-preview-section {
  padding: clamp(44px, 7vw, 72px) 0;
  border-top: 1px solid color-mix(in srgb, var(--ink) 22%, transparent);
}

.product-preview-copy {
  max-width: 650px;
}

.product-preview-copy h2 {
  max-width: 650px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 5.5vw, 46px);
  line-height: 1.05;
  letter-spacing: -.04em;
}

.product-preview {
  width: min(100%, 430px);
  margin: 34px auto 0;
  padding: 18px 18px 22px;
  border: 1px solid rgba(23,32,51,.2);
  border-radius: 28px;
  color: var(--ink);
  background: linear-gradient(160deg, rgba(255,255,255,.72), rgba(255,255,255,.48));
  box-shadow: 0 20px 50px rgba(15,75,116,.14);
}

.preview-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
}

.preview-brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(145deg, var(--blue-dark), var(--blue));
}

.preview-right-now {
  margin-top: 28px;
  color: var(--blue-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
}

.preview-attention {
  margin-top: 7px;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.preview-attention > strong {
  font-size: 70px;
  line-height: .82;
  letter-spacing: -.07em;
}

.preview-attention > span {
  font-size: 29px;
  line-height: .98;
  letter-spacing: -.04em;
  font-weight: 900;
}

.product-preview > p {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.preview-review {
  display: inline-block;
  margin-top: 8px;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 850;
}

.preview-watch {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.preview-watch > span {
  display: block;
  color: var(--blue-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
}

.preview-watch > strong {
  display: block;
  margin-top: 7px;
  font-size: 20px;
  line-height: 1.1;
}

.preview-watch-input {
  margin-top: 14px;
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
  background: rgba(255,255,255,.7);
  font-size: 13px;
}

.preview-watch-options {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  font-size: 12px;
}

.preview-watch-options b,
.preview-watch-options span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
}

.preview-watch-options b {
  color: var(--blue-dark);
  background: rgba(255,255,255,.65);
}

.preview-watch-options span {
  color: var(--muted);
}

.preview-watch-button {
  margin-top: 10px;
  min-height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-size: 13px;
  font-weight: 850;
}

.watch-example-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.watch-example-grid article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.46);
}

.watch-example-mode {
  color: var(--blue-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .15em;
}

.watch-example-grid strong {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.3;
}

.watch-example-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.plan-teaser-rows span strong {
  display: inline;
  font-size: inherit;
}

@media (max-width: 620px) {
  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .watch-example-grid {
    grid-template-columns: 1fr;
  }

  .product-preview {
    border-radius: 24px;
  }
}

@media (max-width: 390px) {
  .preview-attention {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .preview-attention > strong {
    font-size: 62px;
  }

  .preview-attention > span {
    font-size: 25px;
  }
}


/* Visual storytelling pass */
.hero-product-preview {
  width: min(100%, 430px);
  margin: 34px auto 0;
  padding: 18px 18px 20px;
  border: 1px solid rgba(23,32,51,.2);
  border-radius: 26px;
  color: var(--ink);
  background: linear-gradient(160deg, rgba(255,255,255,.76), rgba(255,255,255,.5));
  box-shadow: 0 22px 54px rgba(15,75,116,.16);
}

.hero-product-preview > p {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-preview-watch {
  margin-top: 24px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}

.hero-preview-watch > span {
  display: block;
  color: var(--blue-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
}

.hero-preview-watch > strong {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.35;
}

.hero-preview-watch > b {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  margin-top: 10px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--blue-dark);
  background: rgba(255,255,255,.7);
  font-size: 11px;
}

.transformation-section {
  padding-top: 54px;
}

.attention-transformation {
  margin-top: 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.transformation-before,
.transformation-after {
  min-height: 250px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.44);
}

.transformation-before {
  position: relative;
  overflow: hidden;
}

.transformation-after {
  background: rgba(255,255,255,.72);
  box-shadow: 0 16px 36px rgba(15,75,116,.10);
}

.transformation-label {
  color: var(--blue-dark);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .15em;
}

.transformation-before > strong,
.transformation-after > strong {
  display: block;
  margin-top: 10px;
  font-size: clamp(54px, 9vw, 74px);
  line-height: .9;
  letter-spacing: -.07em;
}

.transformation-before > p,
.transformation-after > p {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 850;
  line-height: 1.2;
}

.transformation-after small {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.transformation-arrow {
  display: grid;
  place-items: center;
  color: var(--blue-dark);
  font-size: 30px;
  font-weight: 900;
}

.message-stack {
  margin-top: 20px;
  display: grid;
  gap: 7px;
}

.message-stack span {
  height: 13px;
  border-radius: 999px;
  background: rgba(73,100,122,.14);
}

.message-stack span:nth-child(2) { width: 87%; }
.message-stack span:nth-child(3) { width: 94%; }
.message-stack span:nth-child(4) { width: 75%; }
.message-stack span:nth-child(5) { width: 89%; }

.example-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
}

.watch-story {
  margin-top: 30px;
}

.watch-story-request,
.watch-story-alert {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.46);
}

.watch-story-request strong,
.watch-story-alert strong {
  display: block;
  margin-top: 9px;
  color: var(--ink);
  font-size: 19px;
  line-height: 1.3;
}

.watch-story-request p,
.watch-story-alert p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.watch-story-arrow {
  min-height: 40px;
  display: grid;
  place-items: center;
  color: var(--blue-dark);
  font-size: 24px;
  font-weight: 900;
}

.watch-story-alert {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  background: rgba(255,255,255,.72);
  box-shadow: 0 14px 32px rgba(15,75,116,.09);
}

.watch-alert-check {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-size: 18px;
  font-weight: 900;
}

.watch-example-grid-secondary {
  grid-template-columns: 1fr;
  margin-top: 14px;
}

@media (max-width: 620px) {
  .hero-product-preview {
    margin-top: 28px;
    border-radius: 22px;
  }

  .attention-transformation {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .transformation-before,
  .transformation-after {
    min-height: auto;
  }

  .transformation-arrow {
    min-height: 26px;
    transform: rotate(90deg);
  }
}
