:root {
  color-scheme: light dark;
  --bg: #0f0f0f;
  --surface: #181818;
  --surface-2: #222;
  --text: #fff;
  --muted: #c7c7c7;
  --line: rgba(255, 255, 255, .12);
  --line-strong: rgba(255, 255, 255, .2);
  --header-bg: rgba(15, 15, 15, .92);
  --hover-bg: rgba(255, 255, 255, .06);
  --band-alt: #151515;
  --band-alt-line: rgba(255, 255, 255, .04);
  --copyright: #888;
  --brand-accent: #e66a1a;
  --accent: #e66a1a;
  --accent-2: #ff8a3d;
  --accent-soft: rgba(230, 106, 26, .12);
  --accent-border: rgba(230, 106, 26, .7);
  --on-accent: #fff;
  --overlay-accent: #ff8a3d;
  --wordmark-filter: invert(1);
  --max: 1160px;
}
@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #fff;
    --surface: #f7f7f5;
    --surface-2: #ececea;
    --text: #171717;
    --muted: #595959;
    --line: rgba(15, 15, 15, .14);
    --line-strong: rgba(15, 15, 15, .22);
    --header-bg: rgba(255, 255, 255, .92);
    --hover-bg: rgba(15, 15, 15, .06);
    --band-alt: #f7f7f5;
    --band-alt-line: rgba(15, 15, 15, .06);
    --copyright: #666;
    --accent-2: #a84200;
    --wordmark-filter: none;
  }
}
:root[data-marketing-theme="dark"] { --wordmark-filter: invert(1); }
:root[data-marketing-theme="light"] { --wordmark-filter: none; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.shell { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: var(--header-bg);
  backdrop-filter: blur(14px);
}
.nav { min-height: 78px; display: flex; align-items: center; gap: 26px; }
.brand { display: flex; flex-shrink: 0; align-items: center; gap: 10px; text-decoration: none; font-weight: 950; letter-spacing: -.03em; white-space: nowrap; }
.brand::before {
  content: "";
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 10px;
  background: var(--brand-accent) url('/assets/assets/images/elephant_white.png') center / 32px auto no-repeat;
  transition: background-color .2s ease;
}
.brand img { display: none; }
.brand span { font-size: 1.18rem; }
.brand-rive { gap: 9px; }
.brand-rive::before { display: none; }
.brand-rive .wher-nav-mark {
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  font-size: 0;
}
.wher-nav-mark canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.wher-nav-mark canvas { opacity: 0; }
.brand-rive.is-rive-ready canvas { opacity: 1; }
.brand-rive .wher-nav-wordmark {
  display: block;
  width: 108px;
  height: auto;
  object-fit: contain;
  filter: var(--wordmark-filter);
}
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.nav-links a { text-decoration: none; font-weight: 700; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.marketing-account { display: none; align-items: center; gap: 9px; }
.marketing-account.is-authenticated { display: inline-flex; }
.marketing-avatar { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 50%; background: var(--surface-2); color: var(--text); font-size: .78rem; font-weight: 900; letter-spacing: .02em; }
.marketing-avatar > * { grid-area: 1 / 1; }
.marketing-avatar img { width: 100%; height: 100%; object-fit: cover; }
.marketing-account-label { display: none; }
.menu-button { position: relative; display: none; width: 44px; height: 44px; margin-left: auto; padding: 0; border: 0; border-radius: 10px; background: transparent; color: var(--text); font-size: 0; cursor: pointer; }
.menu-button::before { content: ""; position: absolute; top: 50%; left: 50%; width: 20px; height: 2px; border-radius: 2px; background: currentColor; box-shadow: 0 -6px currentColor, 0 6px currentColor; transform: translate(-50%, -50%); }
.menu-button:hover { background: var(--hover-bg); }
.menu-button:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 999px; text-decoration: none; font-weight: 850; border: 1px solid var(--line); }
.button.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.button.secondary { background: transparent; color: var(--text); }
.button:hover { transform: translateY(-1px); }
.eyebrow { color: var(--accent-2); text-transform: uppercase; letter-spacing: .12em; font-weight: 900; font-size: .76rem; }
.breadcrumb { padding-top: 30px; color: var(--muted); font-size: .92rem; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.hero { padding: 72px 0 84px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); gap: 56px; align-items: center; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.035em; margin-top: 0; font-weight: 700; }
h1 { font-size: clamp(2.7rem, 6.5vw, 5.2rem); margin: 14px 0 22px; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 18px; }
h3 { font-size: 1.28rem; margin-bottom: 9px; }
.lede { color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.28rem); max-width: 680px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-media { position: relative; overflow: hidden; border-radius: 24px; border: 1px solid var(--line); background: var(--surface); aspect-ratio: 4 / 3; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.memory-answer { position: absolute; left: 18px; right: 18px; bottom: 18px; background: rgba(15, 15, 15, .9); border: 1px solid rgba(255,255,255,.12); border-radius: 15px; padding: 16px; color: #fff; }
.memory-answer strong { display: block; color: var(--overlay-accent); }
.band { padding: 78px 0; }
.band.alt { background: var(--band-alt); border-block: 1px solid var(--band-alt-line); }
.section-copy { max-width: 760px; margin-bottom: 32px; }
.grid { display: grid; gap: 16px; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.card p { color: var(--muted); margin-bottom: 0; }
.workflow-card { height: 100%; overflow: hidden; padding: 0; }
.workflow-image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-bottom: 1px solid var(--line); }
.workflow-copy { padding: 24px; }
.number { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 950; margin-bottom: 18px; }
.icon { font-size: 1.8rem; margin-bottom: 14px; }
.quote { font-size: 1.25rem; border-left: 4px solid var(--accent); padding-left: 22px; color: var(--muted); }
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 850; font-size: 1.05rem; }
.faq p { color: var(--muted); max-width: 780px; }
.related a { text-decoration: none; }
.related .card:hover { border-color: var(--accent-border); }
.cta { background: var(--accent); border-radius: 24px; padding: clamp(28px, 5vw, 54px); color: var(--on-accent); }
.cta p { max-width: 700px; font-size: 1.1rem; }
.cta .button.primary { background: #fff; border-color: #fff; color: #151515; }
.cta .button.secondary { border-color: currentColor; color: var(--on-accent); }
.solution-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.solution-list a { text-decoration: none; }
.solution-list .card { display: flex; height: 100%; flex-direction: column; }
.solution-list .card .text-link { margin-top: auto; padding-top: 18px; }
.solution-list .solution-card { overflow: hidden; padding: 0; transition: border-color .2s ease, transform .2s ease; }
.solution-card-media { width: 100%; aspect-ratio: 4 / 3; flex: 0 0 auto; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.solution-card-image { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; transition: transform .25s ease; }
.solution-card-copy { display: flex; flex: 1; flex-direction: column; padding: 22px; }
.solution-list a:hover .solution-card { border-color: var(--accent-border); transform: translateY(-2px); }
.solution-list a:hover .solution-card-image { transform: scale(1.025); }
.price { font-size: 2.4rem; font-weight: 950; letter-spacing: -.04em; margin: 10px 0; }
.check-list { list-style: none; padding: 0; color: var(--muted); }
.check-list li { padding: 7px 0 7px 28px; position: relative; }
.check-list li::before { content: "✓"; color: var(--accent-2); font-weight: 950; position: absolute; left: 0; }
.sheet { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 20px; background: #eee; border-radius: 18px; }
.label { display: flex; gap: 5px; align-items: center; background: #fff; color: #111; border-radius: 4px; min-height: 48px; padding: 6px; font-size: .65rem; font-weight: 900; }
.qr { width: 30px; height: 30px; background: repeating-conic-gradient(#111 0 25%, #fff 0 50%) 0 / 8px 8px; border: 3px solid #111; }
.starter-pack-sheet-figure { width: min(100%, 500px); margin: 0 auto; }
.starter-pack-sheet-stack { position: relative; padding: 0 18px 18px 0; isolation: isolate; }
.starter-pack-sheet-stack::before { content: ""; position: absolute; z-index: -1; inset: 18px 0 0 18px; border: 1px solid #c8ccd0; border-radius: 9px; background: #fff; box-shadow: 0 14px 36px rgba(0,0,0,.28); transform: rotate(1.25deg); }
.starter-pack-sheet-stack img { width: 100%; aspect-ratio: 8.5 / 11; border: 1px solid #c8ccd0; border-radius: 9px; background: #fff; box-shadow: 0 18px 44px rgba(0,0,0,.34); }
.starter-pack-page-badge { position: absolute; z-index: 2; top: 14px; right: 32px; padding: 5px 9px; border-radius: 999px; background: rgba(15,15,15,.88); color: #fff; font-size: .72rem; font-weight: 800; }
.starter-pack-sheet-figure figcaption { margin-top: 14px; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.starter-pack-sheet-figure figcaption strong { color: var(--text); }
.starter-pack-sheet-specs { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.starter-pack-sheet-specs span { padding: 5px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .72rem; font-weight: 700; }
.notice { background: var(--accent-soft); border: 1px solid var(--accent-border); border-radius: 14px; padding: 16px; color: var(--muted); }
.hero-search-demo { max-width: 620px; min-height: 154px; margin-top: 26px; }
.hero-search-field { display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 14px; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--surface); box-shadow: 0 14px 35px rgba(0,0,0,.18); }
.hero-search-icon { width: 20px; height: 20px; flex: 0 0 20px; color: var(--muted); }
.hero-search-query { min-width: 0; overflow: hidden; color: var(--text); font-weight: 700; text-overflow: clip; white-space: nowrap; }
.hero-search-cursor { display: none; width: 2px; height: 22px; flex: 0 0 2px; border-radius: 2px; background: var(--accent-2); animation: search-cursor-blink .85s steps(1) infinite; }
.hero-search-demo.is-enhanced .hero-search-cursor { display: block; }
.hero-demo-toggle { display: none; width: 32px; height: 32px; flex: 0 0 32px; margin-left: auto; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; font: 800 13px/1 system-ui, sans-serif; }
.hero-search-demo.is-enhanced .hero-demo-toggle { display: grid; place-items: center; }
.hero-demo-toggle:hover { border-color: var(--accent-border); color: var(--text); }
.hero-search-result { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; gap: 13px; align-items: center; min-height: 84px; margin-top: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); opacity: 1; transform: translateY(0); transition: opacity .22s ease, transform .22s ease, visibility .22s; }
.hero-search-demo.is-enhanced:not(.has-result) .hero-search-result { visibility: hidden; opacity: 0; transform: translateY(-5px); }
.hero-search-result img { width: 62px; height: 62px; object-fit: cover; border-radius: 10px; }
.hero-search-result-copy { min-width: 0; }
.hero-search-result h3 { margin: 0 0 3px; overflow: hidden; font-size: 1rem; text-overflow: ellipsis; white-space: nowrap; }
.hero-search-result p { margin: 0; overflow: hidden; color: var(--muted); font-size: .84rem; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.hero-demo-time { align-self: start; padding: 4px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-2); font-size: .68rem; font-weight: 800; white-space: nowrap; }
@keyframes search-cursor-blink { 0%, 48% { opacity: 1; } 49%, 100% { opacity: 0; } }
.marketing-home .hero { padding: 52px 0 64px; }
.marketing-home .hero h1 { max-width: 650px; margin: 10px 0 16px; font-size: clamp(2.7rem, 5.4vw, 4.4rem); }
.marketing-home .hero .lede { font-size: clamp(1rem, 1.7vw, 1.15rem); line-height: 1.55; }
.marketing-home .hero-search-demo { min-height: 148px; margin-top: 20px; }
.marketing-home .hero .actions { margin-top: 18px; }
.product-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr); gap: 48px; align-items: center; }
.product-visual { overflow: hidden; border-radius: 22px; background: var(--surface); }
.product-visual img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.text-link { color: var(--accent-2); font-weight: 800; text-decoration: none; }
.site-footer { padding: 64px 0 26px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.05fr 1.8fr 1fr .7fr; gap: 32px; }
.footer-solutions { min-width: 0; }
.footer-grid h3 { font-size: 1rem; letter-spacing: 0; }
.footer-grid p { color: var(--muted); }
.footer-links { display: grid; gap: 8px; }
.solutions-links { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 22px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.copyright { margin-top: 38px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--copyright); }
@media (max-width: 860px) {
  .hero-grid, .grid.three, .solution-list, .product-split { grid-template-columns: 1fr; }
  .grid.two { grid-template-columns: 1fr; }
  .hero { padding-top: 50px; }
  .hero-media { max-width: 620px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .menu-button { display: grid; place-items: center; }
  .nav-links { display: none; position: absolute; top: 78px; left: 0; right: 0; padding: 20px; background: var(--band-alt); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; }
  .nav-links.open { display: flex; }
  .marketing-account.is-authenticated { display: flex; min-height: 48px; padding: 3px 20px; }
  .marketing-account-label { display: inline; }
}
@media (max-width: 560px) {
  .shell { width: min(100% - 28px, var(--max)); }
  .nav { gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .solutions-links { grid-template-columns: 1fr; }
  .sheet { grid-template-columns: repeat(3, 1fr); }
  .hero-search-result { grid-template-columns: 52px minmax(0, 1fr); }
  .hero-search-result img { width: 52px; height: 52px; }
  .hero-demo-time { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button:hover { transform: none; }
  .hero-search-cursor { animation: none; }
  .hero-search-result { transition: none; }
  .solution-list .solution-card, .solution-card-image { transition: none; }
  .brand::before { transition: none; }
  .solution-list a:hover .solution-card, .solution-list a:hover .solution-card-image { transform: none; }
}
