/* EyeSearch.ai page on eyeride.io. Scoped under .es so the site's own styles are untouched.
   Look: a search engine for the fleet. Deep navy, a cyan "scan" accent for search, EYERIDE orange for actions,
   monospace for metadata like a video review console. */
.es { --night: #0B1020; --navy: #121A30; --navy2: #1A2440; --line-dark: #2A3557; --scan: #3CC8F0; --scan-d: #0E7FA3;
  --orange: #F08A3C; --ink: #111827; --muted: #5A6278; --line: #E2E5EC; --paper: #F4F6FA; --white: #FFFFFF; --radius: 14px;
  --display: Archivo, Inter, "Helvetica Neue", Arial, sans-serif; --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); line-height: 1.55; font-size: 17px; background: var(--night); }
.es *, .es *::before, .es *::after { box-sizing: border-box; }
.es h1, .es h2, .es h3 { font-family: var(--display); color: inherit; margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
.es h1 { font-size: clamp(44px, 7.4vw, 96px); line-height: .96; font-weight: 800; }
.es h2 { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.04; font-weight: 800; margin-bottom: 28px; }
.es h3 { font-size: 19px; line-height: 1.25; font-weight: 700; }
.es p { margin: 0; }
.es ul, .es ol { margin: 0; padding: 0; list-style: none; }
.es img { display: block; max-width: 100%; height: auto; }
.es-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.es-row { display: flex; flex-wrap: wrap; gap: 12px; }
.es-row--center { justify-content: center; }

.es-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 8px;
  font-weight: 700; font-size: 16px; text-decoration: none; border: 1.5px solid transparent; transition: background .15s ease, border-color .15s ease, transform .15s ease; }
.es-btn:hover { transform: translateY(-1px); }
.es-btn:focus-visible, .es-tile:focus-visible, .es summary:focus-visible { outline: 3px solid var(--scan); outline-offset: 3px; }
.es-btn--accent { background: var(--orange); color: #160C03; }
.es-btn--accent:hover { background: #F7A060; color: #160C03; }
.es-btn--ghost { border-color: rgba(255,255,255,.42); color: #fff; }
.es-btn--ghost:hover { border-color: #fff; color: #fff; }

.es-eyebrow { display: block; font: 600 13px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--scan-d); margin-bottom: 16px; }
.es-sec--dark .es-eyebrow, .es-hero .es-eyebrow { color: var(--scan); }

/* hero */
.es-hero { color: #fff; padding: 72px 0 72px; background:
  radial-gradient(60% 50% at 80% 10%, rgba(60,200,240,.16), transparent 70%),
  radial-gradient(50% 40% at 10% 90%, rgba(240,138,60,.10), transparent 70%), var(--night); }
.es-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.es-mark { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--scan); position: relative; flex: none; }
.es-mark::after { content: ""; position: absolute; width: 12px; height: 3px; background: var(--scan); right: -9px; bottom: -3px; transform: rotate(45deg); border-radius: 2px; }
.es-name { font: 800 26px/1 var(--display); letter-spacing: -0.02em; }
.es-name span { color: var(--scan); }
.es-by { font: 600 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #9AA6C7; }
.es-lead { font-size: clamp(18px, 1.8vw, 21px); color: #C9D2EA; max-width: 640px; margin-top: 22px; }

.es-search { margin-top: 36px; display: flex; align-items: center; gap: 12px; max-width: 860px; min-height: 64px; padding: 10px 10px 10px 20px;
  background: var(--white); color: var(--ink); border-radius: 14px; box-shadow: 0 0 0 4px rgba(60,200,240,.25), 0 24px 60px rgba(0,0,0,.35); }
.es-search-icon { width: 20px; height: 20px; border: 2.5px solid var(--scan-d); border-radius: 50%; position: relative; flex: none; }
.es-search-icon::after { content: ""; position: absolute; width: 8px; height: 2.5px; background: var(--scan-d); right: -6px; bottom: -3px; transform: rotate(45deg); }
.es-q { flex: 1; min-width: 0; font-size: clamp(15px, 1.6vw, 18px); font-weight: 500; transition: opacity .35s ease; }
.es-q.es-fade { opacity: 0; }
.es-caret { width: 2px; height: 22px; background: var(--scan-d); animation: es-blink 1s steps(1) infinite; flex: none; }
@keyframes es-blink { 50% { opacity: 0; } }
.es-go { flex: none; background: var(--navy); color: #fff; font-weight: 700; font-size: 15px; padding: 12px 18px; border-radius: 10px; }

.es-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 18px; max-width: 860px; }
.es-hit { margin: 0; background: var(--navy); border: 1px solid var(--line-dark); border-radius: 12px; overflow: hidden; }
.es-hit img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.es-hit figcaption { padding: 10px 12px 12px; display: grid; gap: 2px; font: 500 12.5px/1.45 var(--mono); color: #B7C1DD; }
.es-hit b { color: var(--scan); font-weight: 600; }
.es-addr { color: #8E9AC0; }
.es-note { margin-top: 10px; font-size: 13px; color: #8E9AC0; }
.es-hero .es-row { margin-top: 32px; }

/* sections */
.es-sec { padding: 88px 0; }
.es-sec--light { background: var(--white); }
.es-sec--paper { background: var(--paper); }
.es-sec--dark { background: var(--navy); color: #fff; }

.es-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; counter-reset: s; }
.es-steps li { counter-increment: s; border-top: 3px solid var(--scan); padding-top: 18px; }
.es-steps li::before { content: "0" counter(s); display: block; font: 600 13px/1 var(--mono); color: var(--scan-d); margin-bottom: 12px; letter-spacing: .1em; }
.es-steps p, .es-tile p, .es-body { color: var(--muted); margin-top: 8px; }

.es-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.es-card { background: var(--navy2); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 24px; }
.es-card p { color: #B7C1DD; margin-top: 8px; }

.es-ind { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.es-tile { display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; color: var(--ink); text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.es-tile:hover { border-color: var(--scan-d); transform: translateY(-2px); color: var(--ink); }
.es-tile p { font-style: italic; }

.es-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: start; }
.es-body { font-size: 18px; max-width: 60ch; }
.es-checks { display: grid; gap: 12px; }
.es-checks li { position: relative; padding: 14px 16px 14px 48px; background: var(--paper); border-radius: 10px; font-weight: 600; }
.es-checks li::before { content: ""; position: absolute; left: 18px; top: 50%; width: 14px; height: 8px; border-left: 3px solid var(--scan-d); border-bottom: 3px solid var(--scan-d); transform: translateY(-70%) rotate(-45deg); }

.es-faq { max-width: 860px; }
.es-faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; margin-bottom: 10px; }
.es-faq summary { cursor: pointer; font-weight: 700; padding: 18px 0; list-style: none; }
.es-faq summary::-webkit-details-marker { display: none; }
.es-faq summary::after { content: "+"; float: right; color: var(--scan-d); font-weight: 700; }
.es-faq details[open] summary::after { content: "–"; }
.es-faq details p { color: var(--muted); padding-bottom: 18px; }

.es-cta { background: var(--night); color: #fff; text-align: center; padding: 88px 0; }
.es-cta p { color: #C9D2EA; margin: 0 auto 28px; max-width: 560px; font-size: 18px; }

@media (max-width: 960px) {
  .es-steps, .es-grid, .es-ind { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .es-split { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 600px) {
  .es-wrap { padding-left: 18px; padding-right: 18px; }
  .es-hero { padding: 96px 0 56px; }
  .es-results { grid-template-columns: 1fr 1fr; }
  .es-results .es-hit:nth-child(3) { display: none; }
  .es-steps, .es-grid, .es-ind { grid-template-columns: 1fr; }
  .es-go { display: none; }
  .es-sec, .es-cta { padding: 64px 0; }
}
@media (prefers-reduced-motion: reduce) { .es-caret { animation: none; } .es-btn, .es-tile { transition: none; } }
