:root {
  --ei-ink: #06090a;
  --ei-panel: #0c1113;
  --ei-panel-2: #12191c;
  --ei-paper: #f4f5f2;
  --ei-white: #f8fafb;
  --ei-copy: #232a2c;
  --ei-muted: #747f82;
  --ei-line: rgba(255,255,255,.14);
  --ei-paper-line: rgba(6,9,10,.14);
  --ei-cyan: #2fc8ee;
  --ei-cyan-bright: #58d9f6;
  --ei-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ei-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

html { scroll-behavior: smooth; }
body.einstein-editorial { margin: 0; overflow-x: hidden; color: var(--ei-white); background: var(--ei-ink); font-family: var(--ei-sans); -webkit-font-smoothing: antialiased; }
body.einstein-editorial *, body.einstein-editorial *::before, body.einstein-editorial *::after { box-sizing: border-box; }
body.einstein-editorial img { max-width: 100%; height: auto; }
body.einstein-editorial a { color: inherit; text-decoration: none; }
body.einstein-editorial button, body.einstein-editorial input { font: inherit; }
body.einstein-editorial button, body.einstein-editorial a { -webkit-tap-highlight-color: transparent; }
body.einstein-editorial :focus-visible { outline: 3px solid var(--ei-cyan); outline-offset: 4px; }
body.einstein-editorial #yith-quick-view-modal { display: none !important; }
.ei-shell { width: min(calc(100% - 48px), 1240px); margin-inline: auto; }
.ei-skip-link { position: fixed; z-index: 100003; top: 10px; left: 10px; transform: translateY(-150%); padding: 12px 16px; border-radius: 8px; color: var(--ei-ink) !important; background: var(--ei-cyan); font-weight: 800; }
.ei-skip-link:focus { transform: none; }
.ei-reading-progress { position: fixed; z-index: 100001; top: 0; left: 0; width: 100%; height: 2px; pointer-events: none; }
.ei-reading-progress span { display: block; width: 100%; height: 100%; transform: scaleX(0); transform-origin: left; background: var(--ei-cyan); box-shadow: 0 0 18px rgba(47,200,238,.9); }
.admin-bar .ei-header { top: 32px; }
.admin-bar .ei-reading-progress { top: 32px; }

.ei-header { position: fixed; z-index: 100000; inset: 0 0 auto; height: 86px; display: grid; grid-template-columns: minmax(190px,1fr) auto minmax(190px,1fr); align-items: center; padding: 0 36px; border-bottom: 1px solid rgba(255,255,255,.1); background: rgba(6,9,10,.74); backdrop-filter: blur(18px); transition: height .25s ease, background .25s ease; }
.ei-header.is-scrolled { height: 72px; background: rgba(6,9,10,.95); }
.ei-brand { display: inline-flex; width: 188px; }
.ei-brand img { width: 100%; }
.ei-nav { display: flex; align-items: center; justify-content: center; gap: 30px; }
.ei-nav a { position: relative; min-height: 44px; display: inline-flex; align-items: center; color: #c2c9cb; font-size: 13px; font-weight: 650; }
.ei-nav a::after { position: absolute; right: 0; bottom: 6px; left: 0; height: 1px; content: ""; transform: scaleX(0); background: var(--ei-cyan); transition: transform .2s ease; }
.ei-nav a:hover, .ei-nav a.is-current { color: #fff; }
.ei-nav a:hover::after, .ei-nav a.is-current::after { transform: scaleX(1); }
.ei-header-cta { justify-self: end; min-height: 46px; display: inline-flex; align-items: center; padding: 0 22px; border-radius: 999px; color: var(--ei-ink) !important; background: var(--ei-cyan); font-size: 13px; font-weight: 800; }
.ei-menu-toggle, .ei-mobile-menu { display: none; }

.ei-main { display: block; min-height: 60vh; }
.ei-kicker { display: flex; align-items: center; gap: 14px; margin: 0; color: var(--ei-cyan); font-family: var(--ei-mono); font-size: 11px; font-weight: 700; letter-spacing: .18em; line-height: 1.4; text-transform: uppercase; }
.ei-kicker > * + *::before, .ei-kicker > a::before { content: "/"; margin-right: 14px; color: #596366; }
.ei-article-hero { padding: 176px 0 0; background: radial-gradient(circle at 78% 14%, rgba(47,200,238,.12), transparent 28%), linear-gradient(180deg, #080c0e, #06090a); }
.ei-article-heading { position: relative; padding-bottom: 66px; }
.ei-article-heading::after { position: absolute; right: 0; bottom: 22px; width: 26%; height: 1px; content: ""; background: linear-gradient(90deg, transparent, var(--ei-cyan)); }
.ei-article-heading h1 { max-width: 1120px; margin: 30px 0 34px; color: #f9fbfb; font-size: clamp(52px, 7.3vw, 106px); font-weight: 520; letter-spacing: -.067em; line-height: .96; text-wrap: balance; }
.ei-article-meta { display: flex; align-items: center; gap: 12px; color: #96a0a3; font-family: var(--ei-mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; }
.ei-hero-image { width: min(calc(100% - 48px), 1440px); aspect-ratio: 16 / 7.7; overflow: hidden; margin: 0 auto; border-radius: 26px 26px 0 0; background: var(--ei-panel); }
.ei-hero-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.ei-article-layout { display: grid; grid-template-columns: 92px minmax(0, 760px); justify-content: center; gap: 54px; padding: 92px 0 116px; color: var(--ei-copy); background: var(--ei-paper); }
.ei-article::after { position: absolute; z-index: -1; left: 0; width: 100%; height: 1px; content: ""; }
.ei-article { position: relative; background: var(--ei-paper); }
.ei-share { position: sticky; top: 120px; align-self: start; display: grid; justify-items: center; gap: 10px; }
.ei-share > span { margin-bottom: 5px; color: #657074; font-family: var(--ei-mono); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }
.ei-share a, .ei-share button { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--ei-paper-line); border-radius: 50%; color: var(--ei-copy); background: transparent; font-size: 11px; font-weight: 800; cursor: pointer; transition: border-color .2s, color .2s, transform .2s; }
.ei-share a:hover, .ei-share button:hover { transform: translateY(-2px); border-color: var(--ei-cyan); color: #068aac; }
.ei-article-body { min-width: 0; color: #273034; font-size: clamp(18px, 1.55vw, 21px); line-height: 1.82; }
.ei-article-body > p:first-child { margin-top: 0; color: #111819; font-size: clamp(24px, 2.2vw, 32px); font-weight: 450; letter-spacing: -.025em; line-height: 1.45; }
.ei-article-body p { margin: 0 0 1.65em; }
.ei-article-body h2, .ei-article-body h3 { color: #101718; letter-spacing: -.04em; line-height: 1.16; }
.ei-article-body h2 { margin: 2.1em 0 .7em; font-size: clamp(34px, 4vw, 52px); }
.ei-article-body h3 { margin: 1.8em 0 .6em; font-size: clamp(27px, 3vw, 36px); }
.ei-article-body a { color: #087f9d; text-decoration: underline; text-decoration-color: rgba(8,127,157,.35); text-underline-offset: 4px; }
.ei-article-body a:hover { color: #005f76; text-decoration-color: currentColor; }
.ei-article-body strong { color: #111819; }
.ei-article-body blockquote { margin: 2.2em 0; padding: 28px 0 28px 34px; border-left: 3px solid var(--ei-cyan); color: #111819; font-size: 1.3em; line-height: 1.5; }
.ei-article-body ul, .ei-article-body ol { padding-left: 1.3em; }
.ei-article-body li { margin-bottom: .55em; }
.ei-article-body .image-credit { margin-top: 50px; padding-top: 18px; border-top: 1px solid var(--ei-paper-line); color: #687377; font-size: 13px; line-height: 1.65; }
.ei-post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding: 0 0 116px; background: var(--ei-paper); }
.ei-post-nav > div { min-width: 0; }
.ei-post-nav > div:last-child { text-align: right; }
.ei-post-nav span { display: block; margin-bottom: 10px; color: #737d80; font-family: var(--ei-mono); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.ei-post-nav a { display: inline-block; max-width: 470px; color: #12191b; font-size: clamp(20px, 2.3vw, 31px); font-weight: 650; letter-spacing: -.035em; line-height: 1.18; }
.ei-post-nav a:hover { color: #087f9d; }

.ei-related { padding: 110px 0 124px; color: var(--ei-white); background: #090d0f; }
.ei-section-heading { margin-bottom: 46px; }
.ei-section-heading h2 { margin: 16px 0 0; font-size: clamp(44px, 6vw, 76px); font-weight: 520; letter-spacing: -.06em; line-height: 1; }
.ei-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.ei-story-card { overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: #0c1113; }
.ei-story-media { aspect-ratio: 16 / 9; display: block; overflow: hidden; background: #11191c; }
.ei-story-media img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.ei-story-card:hover .ei-story-media img { transform: scale(1.035); }
.ei-story-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: rgba(47,200,238,.2); font-size: 110px; font-weight: 800; }
.ei-story-copy { padding: 24px 24px 26px; }
.ei-story-meta { display: flex; align-items: center; justify-content: space-between; gap: 14px; color: #7e898c; font-family: var(--ei-mono); font-size: 9px; letter-spacing: .09em; text-transform: uppercase; }
.ei-story-meta a { color: var(--ei-cyan); }
.ei-story-copy h2 { margin: 24px 0 16px; color: #f7f9fa; font-size: clamp(24px, 2.3vw, 33px); font-weight: 560; letter-spacing: -.045em; line-height: 1.09; }
.ei-story-copy p { min-height: 5.1em; margin: 0 0 24px; color: #a5aeb1; font-size: 15px; line-height: 1.65; }
.ei-story-link { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; color: #edf1f2; font-size: 13px; font-weight: 700; }
.ei-story-link span { color: var(--ei-cyan); }

.ei-page-hero { padding: 190px 0 92px; border-bottom: 1px solid var(--ei-line); background: radial-gradient(circle at 78% 18%, rgba(47,200,238,.13), transparent 29%), #070a0b; }
.ei-page-hero h1 { max-width: 1040px; margin: 22px 0 0; color: #f8fafb; font-size: clamp(60px, 8.5vw, 118px); font-weight: 520; letter-spacing: -.075em; line-height: .92; text-wrap: balance; }
.ei-archive-hero > .ei-shell > p:not(.ei-kicker) { max-width: 680px; margin: 30px 0 0; color: #acb5b7; font-size: 19px; line-height: 1.65; }
.ei-search { max-width: 760px; margin-top: 44px; }
.ei-search label { display: block; margin-bottom: 10px; color: #8d989b; font-family: var(--ei-mono); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.ei-search > div { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 8px; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; background: rgba(255,255,255,.04); }
.ei-search input { min-width: 0; height: 50px; padding: 0 14px; border: 0; outline: 0; color: #fff; background: transparent; font-size: 17px; }
.ei-search input::placeholder { color: #697477; }
.ei-search button, .ei-primary { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 30px; padding: 0 22px; border: 0; border-radius: 9px; color: var(--ei-ink) !important; background: var(--ei-cyan); font-size: 13px; font-weight: 800; cursor: pointer; }
.ei-archive-content { padding: 88px 0 120px; }
.ei-pagination { margin-top: 58px; }
.ei-pagination .nav-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.ei-pagination a, .ei-pagination span { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; border: 1px solid var(--ei-line); border-radius: 999px; color: #bdc5c7; }
.ei-pagination .current { border-color: var(--ei-cyan); color: var(--ei-ink); background: var(--ei-cyan); }
.ei-empty { padding: 80px 0; text-align: center; }
.ei-empty h2 { margin: 0 0 12px; font-size: 48px; letter-spacing: -.05em; }
.ei-empty p { color: #aab3b5; }
.ei-empty a { min-height: 44px; display: inline-flex; align-items: center; margin-top: 24px; color: var(--ei-cyan); font-weight: 700; }

.ei-legal { color: var(--ei-copy); background: var(--ei-paper); }
.ei-legal-layout { display: grid; grid-template-columns: 220px minmax(0,760px); justify-content: center; gap: 78px; padding: 90px 0 120px; }
.ei-legal-nav { position: sticky; top: 116px; align-self: start; display: grid; gap: 6px; }
.ei-legal-nav a { min-height: 44px; display: flex; align-items: center; padding: 0 14px; border-left: 2px solid transparent; color: #677175; font-size: 14px; font-weight: 650; }
.ei-legal-nav a:hover, .ei-legal-nav a.is-current { border-color: var(--ei-cyan); color: #101718; }
.ei-legal-body > p:first-child { font-size: 17px; color: #647074; }

.ei-build-cta { padding: 116px 0 122px; border-top: 1px solid var(--ei-line); background: radial-gradient(circle at 24% 40%, rgba(47,200,238,.12), transparent 30%), #06090a; text-align: center; }
.ei-build-cta .ei-kicker { justify-content: center; }
.ei-build-cta h2 { margin: 24px auto 18px; font-size: clamp(55px, 8vw, 108px); font-weight: 520; letter-spacing: -.075em; line-height: .94; text-wrap: balance; }
.ei-build-cta p:not(.ei-kicker) { max-width: 620px; margin: 0 auto; color: #a8b1b4; font-size: 18px; line-height: 1.6; }
.ei-build-cta .ei-shell > div { display: flex; justify-content: center; gap: 12px; margin-top: 36px; }
.ei-primary, .ei-secondary { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 32px; padding: 0 24px; border-radius: 9px; font-size: 14px; font-weight: 800; }
.ei-secondary { border: 1px solid #637075; color: #f3f6f7; background: #151c1f; }
.ei-secondary:hover { border-color: var(--ei-cyan); }

.ei-footer { padding: 76px 0 28px; border-top: 1px solid var(--ei-line); background: #030506; }
.ei-footer-brand-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 50px; padding-bottom: 48px; border-bottom: 1px solid var(--ei-line); }
.ei-footer-logo { width: min(330px, 52vw); display: inline-flex; }
.ei-footer-logo img { width: 100%; }
.ei-footer-brand-row > p { margin: 0; color: #c3c9cb; font-size: 18px; line-height: 1.55; }
.ei-footer-brand-row > p span { color: #899396; }
.ei-footer-grid { display: grid; grid-template-columns: 1.15fr .85fr 1fr; gap: 68px; padding: 48px 0 54px; }
.ei-footer-grid section { display: grid; align-content: start; gap: 6px; }
.ei-footer-grid h2 { margin: 0 0 14px; color: #aeb7b9; font-family: var(--ei-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.ei-footer-grid a { min-height: 44px; display: inline-flex; align-items: center; color: #f1f4f5; font-size: 17px; }
.ei-footer-grid a:hover { color: var(--ei-cyan); }
.ei-footer-grid .ei-footer-talk { margin-bottom: 4px; font-size: 21px; font-weight: 650; }
.ei-footer-grid address { margin: 18px 0 12px; color: #a8b1b3; font-size: 16px; line-height: 1.55; font-style: normal; }
.ei-footer-grid .ei-accent-link { color: var(--ei-cyan); }
.ei-footer-legal { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 25px; border-top: 1px solid var(--ei-line); color: #818b8e; font-size: 13px; }
.ei-footer-legal > div { display: flex; align-items: center; gap: 28px; }
.ei-footer-legal a:hover { color: var(--ei-cyan); }

@media (max-width: 1000px) {
  .ei-header { grid-template-columns: 1fr auto; padding-inline: 24px; backdrop-filter: none; }
  .ei-nav, .ei-header-cta { display: none; }
  .ei-menu-toggle { position: relative; z-index: 3; width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; border: 1px solid var(--ei-line); border-radius: 50%; background: rgba(6,9,10,.8); cursor: pointer; }
  .ei-menu-toggle span { width: 16px; height: 1px; background: #fff; transition: transform .2s; }
  .ei-menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
  .ei-menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .ei-mobile-menu { position: fixed; z-index: 2; inset: 0; display: flex; visibility: hidden; opacity: 0; flex-direction: column; justify-content: center; padding: 88px 24px 40px; background: #06090a; transition: visibility .2s, opacity .2s; }
  .ei-mobile-menu.is-open { visibility: visible; opacity: 1; }
  .ei-mobile-menu a { min-height: 52px; display: flex; align-items: center; border-bottom: 1px solid var(--ei-line); color: #f8fafb; font-size: clamp(28px,7vw,42px); font-weight: 520; letter-spacing: -.04em; }
  .ei-menu-open { overflow: hidden; }
  .ei-article-layout { grid-template-columns: 1fr; }
  .ei-share { position: static; display: flex; justify-content: flex-start; }
  .ei-share > span { min-height: 44px; display: flex; align-items: center; margin: 0 5px 0 0; }
  .ei-card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ei-legal-layout { grid-template-columns: 1fr; gap: 42px; }
  .ei-legal-nav { position: static; grid-template-columns: 1fr 1fr; }
  .ei-footer-grid { gap: 36px; }
}

@media (max-width: 700px) {
  .admin-bar .ei-header { top: 46px; }
  .admin-bar .ei-reading-progress { top: 46px; }
  .ei-shell { width: min(calc(100% - 36px), 620px); }
  .ei-header { height: 68px; padding-inline: 18px; }
  .ei-header.is-scrolled { height: 64px; }
  .ei-brand { width: 158px; }
  .ei-article-hero { padding-top: 132px; }
  .ei-article-heading { padding-bottom: 44px; }
  .ei-article-heading h1 { margin: 22px 0 25px; font-size: clamp(45px, 13.2vw, 68px); letter-spacing: -.06em; }
  .ei-article-heading::after { display: none; }
  .ei-article-meta { font-size: 10px; }
  .ei-hero-image { width: calc(100% - 20px); aspect-ratio: 4 / 3; border-radius: 18px 18px 0 0; }
  .ei-article-layout { gap: 34px; padding: 58px 0 82px; }
  .ei-article-body { font-size: 18px; line-height: 1.75; }
  .ei-article-body > p:first-child { font-size: 23px; line-height: 1.5; }
  .ei-post-nav { grid-template-columns: 1fr; gap: 38px; padding-bottom: 82px; }
  .ei-post-nav > div:last-child { text-align: left; }
  .ei-related { padding: 78px 0 88px; }
  .ei-card-grid { grid-template-columns: 1fr; }
  .ei-story-copy p { min-height: 0; }
  .ei-page-hero { padding: 145px 0 70px; }
  .ei-page-hero h1 { font-size: clamp(52px, 15vw, 78px); }
  .ei-archive-hero > .ei-shell > p:not(.ei-kicker) { font-size: 17px; }
  .ei-search > div { grid-template-columns: 1fr; }
  .ei-search button { width: 100%; }
  .ei-archive-content { padding: 58px 0 86px; }
  .ei-legal-layout { padding: 58px 0 86px; }
  .ei-legal-nav { grid-template-columns: 1fr; }
  .ei-build-cta { padding: 82px 0 88px; }
  .ei-build-cta h2 { font-size: clamp(52px, 15vw, 72px); }
  .ei-build-cta .ei-shell > div { flex-direction: column; }
  .ei-primary, .ei-secondary { width: 100%; min-height: 54px; }
  .ei-footer { padding-top: 58px; }
  .ei-footer-brand-row { align-items: flex-start; flex-direction: column; gap: 30px; padding-bottom: 38px; }
  .ei-footer-logo { width: min(290px, 82vw); }
  .ei-footer-grid { grid-template-columns: 1fr; gap: 40px; padding: 40px 0 44px; }
  .ei-footer-grid a { min-height: 48px; font-size: 18px; }
  .ei-footer-legal, .ei-footer-legal > div { align-items: flex-start; flex-direction: column; gap: 8px; }
  .ei-footer-legal > div a { min-height: 44px; display: flex; align-items: center; }
}

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