/* eloai.io, the company's own pages (26 Oct 2026), and dark mode for every page in the Apple frame.
 * Loaded after apple.css and built only from its tokens. Owner, 26 Oct: "the pages do not reflect the company ... It
 * looks like a very generic template." So the home page is the company: who we are, the research, the two apps, how we
 * build, how to reach us. One idea per screen, type first, generous room, the real app only where there is an app. */

/* ---- the company's sections: three tones that alternate in light and in dark ---- */
.e-a { background: var(--bg); }
.e-b { background: var(--alt); }
.e-c { background: #000; color: #f5f5f7; }
.e-c .a-eyebrow, .e-c .e-h2, .e-c .e-h1 { color: #f5f5f7; }
.e-c .e-lead, .e-c .e-status, .e-c .e-note { color: #86868b; }
.e-c a { color: #2997ff; }

.e-hero { min-height: min(78vh, 760px); display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 96px 22px; }
.e-hero-page { min-height: min(70vh, 680px); }
.e-h1 { margin: 0; font-size: clamp(48px, 7.6vw, 96px); line-height: 1.04; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
.e-sub { margin: 24px auto 0; max-width: 30ch; font-size: clamp(21px, 2.2vw, 28px); line-height: 1.25; color: var(--ink-2);
  letter-spacing: 0.004em; text-wrap: balance; }
.e-hero .a-eyebrow { margin-bottom: 12px; }

.e-sec { padding: clamp(96px, 12vw, 160px) 22px; text-align: center; }
.e-sec[id] { scroll-margin-top: 44px; }
.e-in { max-width: 760px; margin-inline: auto; }
.e-sec .a-eyebrow { margin-bottom: 10px; }
.e-h2 { margin: 0; font-size: clamp(40px, 5.6vw, 64px); line-height: 1.06; font-weight: 600; letter-spacing: -0.018em; text-wrap: balance; }
.e-lead { margin: 24px auto 0; max-width: 38ch; font-size: clamp(19px, 1.9vw, 24px); line-height: 1.38; color: var(--ink-2);
  letter-spacing: 0.009em; text-wrap: balance; }
.e-lead + .e-lead { margin-top: 16px; }
.e-status { margin: 20px 0 0; font-size: 15px; font-weight: 500; color: var(--ink-2); letter-spacing: -0.01em; }
.e-links { margin: 24px 0 0; font-size: 19px; }
.e-note { max-width: 62ch; margin: 28px auto 0; font-size: 14px; line-height: 1.45; color: var(--ink-2); text-wrap: pretty; }

/* Where Golden Brain stands: words in rows with hairlines, as Apple lists specifications. No invented numbers. */
.e-standing { max-width: 692px; margin: 56px auto 0; padding: 0; text-align: start; }
.e-row { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: baseline; padding: 20px 0;
  border-top: 1px solid var(--line); }
.e-row:last-child { border-bottom: 1px solid var(--line); }
.e-row dt { font-size: 19px; line-height: 1.3; font-weight: 600; color: var(--ink); }
.e-row dd { margin: 0; font-size: 17px; line-height: 1.3; color: var(--ink-2); text-align: end; }
@media (max-width: 560px) { .e-row { grid-template-columns: 1fr; gap: 4px; } .e-row dd { text-align: start; } }

/* Life OS: the real screens rise from the bottom of the section. */
.e-product { padding-bottom: 0; }
.e-product .a-devices { padding-top: 64px; }
/* The phones either side sit a little lower than the middle one and show their own screens, not just a status bar. */
.e-product .a-phone:not(.a-big) { margin-bottom: -3%; }

/* Discover, before there is an app to show: the dot that means "you are here". */
.e-dot { position: relative; width: 168px; height: 168px; margin: 0 auto 48px; border-radius: 50%;
  background: radial-gradient(circle, rgba(41, 151, 255, 0.34) 0%, rgba(41, 151, 255, 0.14) 42%, rgba(41, 151, 255, 0) 70%); }
.e-dot span { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%;
  background: #0a84ff; box-shadow: 0 0 0 6px #fff, 0 8px 22px rgba(0, 0, 0, 0.45); }

/* How we build: three short facts, side by side, then stacked on a phone. */
.e-how { max-width: 980px; margin: 64px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; text-align: start; }
.e-how h3 { margin: 0 0 10px; font-size: 21px; line-height: 1.2; font-weight: 600; letter-spacing: 0.011em; color: var(--ink); }
.e-how p { margin: 0; font-size: 17px; line-height: 1.47; color: var(--ink-2); }
@media (max-width: 734px) { .e-how { grid-template-columns: 1fr; gap: 36px; max-width: 34ch; text-align: center; } }

/* Say hello. */
.e-mail { display: inline-block; margin-top: 28px; font-size: clamp(28px, 4.6vw, 48px); font-weight: 600; letter-spacing: -0.015em;
  line-height: 1.1; color: var(--link); overflow-wrap: anywhere; }
.e-address { margin: 18px 0 0; font-style: normal; font-size: 17px; line-height: 1.5; color: var(--ink-2); }

/* The footer: four columns, a hairline where it meets the page. */
.a-footer { border-top: 1px solid var(--line); }
.a-fcols.e-fcols { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 833px) { .a-fcols.e-fcols { grid-template-columns: 1fr 1fr; } }

/* Life OS's large numbers in one ink, as Apple sets them (the purple-to-pink gradient text read as a template). */
.a-stat-big { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--ink); }

/* Light only, as apple.com is (owner, 26 Oct 2026: no black pages; grey, not black). */


/* ==== ELO SI (26 Oct 2026): the logo, Open Brain's standings, Discover's map, contact, Open Brain's docs ==== */

/* The logo in the bar: ELO's ring and dot, then the name. */
.a-nav .s-logo { display: inline-flex; align-items: center; gap: 6px; }
.s-logo svg { width: 19px; height: 19px; display: block; color: currentColor; }
.s-logo .s-dot { fill: var(--link); }

/* The hero: the company in one line, two ways in. */
.s-hero { min-height: min(70vh, 680px); }
.e-links { display: flex; gap: 12px 28px; justify-content: center; flex-wrap: wrap; }

/* Open Brain's three standings: white tiles on the grey section, words not numbers. */
.s-stats { max-width: 980px; margin: 64px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: start; }
.s-stat { background: var(--bg); border-radius: 18px; padding: 32px 28px 34px; display: flex; flex-direction: column; }
.s-stat-k { margin: 0; font-size: 17px; line-height: 1.3; font-weight: 600; color: var(--ink-2); }
.s-stat-v { margin: auto 0 0; padding-top: 28px; font-size: clamp(28px, 3.1vw, 40px); line-height: 1.1; font-weight: 600;
  letter-spacing: -0.015em; color: var(--ink); }
.s-stat-v.s-now { color: var(--link); }
@media (max-width: 734px) { .s-stats { grid-template-columns: 1fr; max-width: 420px; } .s-stat-v { padding-top: 16px; } }

/* Discover: places as glass bubbles on a pale map of the coast (design bar M22-M25), breathing out of step. */
.s-map { position: relative; container-type: inline-size; max-width: 980px; aspect-ratio: 16 / 9; margin: 64px auto 0;
  border-radius: 28px; overflow: hidden; background: #f2f0eb; }
.s-land { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.s-bub { position: absolute; width: var(--s); height: var(--s); border-radius: 50%; translate: -50% -50%;
  border: max(1.5px, 0.2cqw) solid #fff; box-shadow: 0 0.4cqw 1.2cqw rgba(0, 0, 0, 0.18);
  background: radial-gradient(circle at 34% 30%, rgba(255, 255, 255, 0.78) 0, rgba(255, 255, 255, 0.18) 34%, rgba(255, 255, 255, 0) 52%), var(--h);
  animation: s-breathe var(--t, 4s) ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes s-breathe { 0%, 100% { scale: 1; } 50% { scale: 1.018; } }
.s-you { position: absolute; width: 2.2cqw; height: 2.2cqw; min-width: 12px; min-height: 12px; translate: -50% -50%; border-radius: 50%;
  background: #e8492a; border: max(2px, 0.3cqw) solid #fff; box-shadow: 0 0 0 1.8cqw rgba(232, 73, 42, 0.16), 0 0.3cqw 0.9cqw rgba(0, 0, 0, 0.2);
  animation: s-breathe 3.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .s-bub, .s-you { animation: none; } }
@media (max-width: 734px) { .s-map { border-radius: 18px; aspect-ratio: 4 / 3; } }

/* Contact: six doors, Apple's contact page in miniature. */
.s-contact { max-width: 980px; margin: 56px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: start; }
.s-ct { display: flex; flex-direction: column; gap: 6px; min-height: 196px; padding: 28px; border-radius: 18px; background: var(--bg);
  color: var(--ink); text-decoration: none; transition: transform 300ms cubic-bezier(0.25, 0.1, 0.25, 1); }
.s-ct:hover { transform: translateY(-3px); }
.s-ct svg { width: 30px; height: 30px; margin-bottom: 12px; fill: none; stroke: var(--link); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.s-ct h3 { margin: 0; font-size: 21px; line-height: 1.2; font-weight: 600; letter-spacing: 0.011em; }
.s-ct p { margin: 0; font-size: 17px; line-height: 1.47; color: var(--ink-2); }
.s-ct .s-go { margin-top: auto; padding-top: 14px; font-size: 17px; color: var(--link); overflow-wrap: anywhere; }
.s-ct .s-go::after { content: " \203A"; }
.e-contact .e-lead { margin-top: 16px; }
@media (max-width: 833px) { .s-contact { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .s-contact { grid-template-columns: 1fr; } .s-ct { min-height: 0; } }
@media (prefers-reduced-motion: reduce) { .s-ct { transition: none; } }

/* Open Brain's docs: its own bar under the global one, reading columns, and the 2027 steps. */
.s-local { position: sticky; top: 44px; z-index: 9; background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line); }
.s-local-in { max-width: 980px; margin: 0 auto; padding: 0 22px; height: 52px; display: flex; align-items: center; gap: 22px;
  overflow-x: auto; scrollbar-width: none; }
.s-local-in::-webkit-scrollbar { display: none; }
.s-local b { margin-inline-end: auto; font-size: 21px; font-weight: 600; letter-spacing: 0.011em; white-space: nowrap; color: var(--ink); }
.s-local a { font-size: 12px; color: var(--ink); white-space: nowrap; text-decoration: none; }
.s-local a:hover { color: var(--link); }
[id] { scroll-margin-top: 100px; }
.s-doc { max-width: 692px; margin-inline: auto; text-align: start; }
.s-doc .e-h2 { margin-bottom: 28px; }
.s-doc > p { margin: 0 0 20px; font-size: 19px; line-height: 1.53; color: var(--ink-2); letter-spacing: 0.012em; }
.s-doc > p b { color: var(--ink); font-weight: 600; }
.s-doc .e-standing { margin-top: 8px; }
.s-steps { list-style: none; margin: 40px 0 0; padding: 0; }
.s-step { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 26px 0; border-top: 1px solid var(--line); }
.s-step:last-child { border-bottom: 1px solid var(--line); }
.s-step-n { font-size: 28px; line-height: 1.1; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.s-step h3 { margin: 0; font-size: 22px; line-height: 1.25; font-weight: 600; color: var(--ink); }
.s-step p { margin: 8px 0 0; font-size: 17px; line-height: 1.47; color: var(--ink-2); }
.s-pill { display: inline-block; margin-inline-start: 8px; padding: 3px 10px; border-radius: 980px; vertical-align: 3px;
  font-size: 12px; line-height: 1.4; font-weight: 600; letter-spacing: 0.02em; }
.s-done { background: rgba(52, 199, 89, 0.14); color: #1b7a34; }
.s-nowp { background: rgba(0, 113, 227, 0.12); color: var(--link); }
.s-next { background: var(--alt); color: var(--ink-2); }
.e-b .s-next { background: var(--bg); }



/* No white (or black) strip under the footer when the page bounces: the page's own ground is the footer's grey, and the
   page does not rubber-band past its ends (owner, 26 Oct 2026: "a white bar on the bottom ... Apple doesn't have this"). */
html { background: var(--alt); overscroll-behavior-y: none; }
body.a-body { overscroll-behavior-y: none; }

/* The ELO Glow: ELO's colours as a slow, soft aura behind a hero, at very low opacity (owner, 26 Oct 2026). */
.s-glow { position: relative; isolation: isolate; overflow: hidden; }
.s-glow::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 52%; width: min(1180px, 150vw); aspect-ratio: 1.7;
  translate: -50% -50%; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 210deg, #0071e3, #7d5cf6, #e85aa8, #ff9f6b, #34c3a7, #0071e3);
  filter: blur(110px); opacity: 0.13; animation: s-glow 48s linear infinite; }
@keyframes s-glow { to { rotate: 1turn; } }
@media (max-width: 734px) { .s-glow::before { filter: blur(70px); opacity: 0.15; } }
@media (prefers-reduced-motion: reduce) { .s-glow::before { animation: none; } }
