/* echo product page — shared Compass tokens and navigation come from home.css.
   Layout mirrors /twix/; Echo's own identity: sound ripples (voice), an on-screen pointer (desktop control),
   a desktop-grid texture and a connected step track. Last updated 2026-10-30. */
:root { --echo-a: #2563EB; --echo-b: #06B6D4; --echo-chip: #DBE7FE; --echo-chip-ink: #1D4ED8; --echo-chip-teal: #D5EFEB; --echo-chip-teal-ink: #17665D; --echo-chip-grey: #E5EAF2; --echo-chip-grey-ink: #465469;
    /* Echo owns its accent: buttons, eyebrows, pills and tabs turn Echo blue on this page only. */
    --accent: #2563EB; --accent-ink: #1D4ED8; --accent-soft: #EAF1FF; --accent-ring: rgba(37,99,235,.25); }
[data-theme="dark"] { --echo-a: #93B4FD; --echo-b: #67E8F9; --echo-chip: rgba(147,180,253,.18); --echo-chip-ink: #BFD3FE; --echo-chip-teal: rgba(94,234,212,.15); --echo-chip-teal-ink: #5EEAD4; --echo-chip-grey: rgba(148,163,184,.18); --echo-chip-grey-ink: #CBD5E1;
    --accent: #93B4FD; --accent-ink: #BFD3FE; --accent-soft: rgba(147,180,253,.12); --accent-ring: rgba(147,180,253,.3); }

.echo-gradient { background: linear-gradient(100deg, var(--echo-a), var(--echo-b)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Hero */
.echo-hero { position: relative; padding: 72px 0 88px; overflow: hidden; }
.echo-hero__glow { position: absolute; inset: -20% -10% auto; height: 640px; pointer-events: none; background: radial-gradient(40% 50% at 70% 40%, color-mix(in srgb, var(--echo-a) 22%, transparent), transparent 70%), radial-gradient(30% 40% at 90% 70%, color-mix(in srgb, var(--echo-b) 18%, transparent), transparent 70%); filter: blur(10px); }
.echo-hero .container { position: relative; }

/* Signature: echo ripples */
.echo-ripples { position: absolute; top: 50%; left: 74%; width: 0; height: 0; pointer-events: none; }
.echo-ripples span { position: absolute; left: 50%; top: 50%; width: 760px; height: 760px; margin: -380px 0 0 -380px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--echo-b) 45%, transparent); opacity: 0; animation: echo-ripple 8s cubic-bezier(.2,.6,.3,1) infinite; }
.echo-ripples span:nth-child(2) { animation-delay: 2s; } .echo-ripples span:nth-child(3) { animation-delay: 4s; } .echo-ripples span:nth-child(4) { animation-delay: 6s; }
.echo-ripples--center { left: 50%; top: 100%; }
.echo-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 56px; }
.echo-hero h1 { font-size: clamp(44px, 5.2vw, 76px); letter-spacing: -.055em; line-height: 1.04; margin: 22px 0 24px; }
.echo-hero .lede { max-width: 560px; font-size: 19px; }
.echo-hero .hero__actions { gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.echo-hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 28px 0 0; color: var(--ink-2); font-size: 14px; }
.echo-hero-proof li { display: flex; align-items: center; gap: 8px; }
.echo-hero-proof li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--echo-a), var(--echo-b)); }

.echo-art { position: relative; margin: 0; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 24px; box-shadow: var(--shadow-2), 0 30px 80px -30px color-mix(in srgb, var(--echo-a) 45%, transparent); }
.echo-art img { display: block; width: 100%; height: auto; aspect-ratio: 1672 / 940; object-fit: cover; border-radius: 23px; }
.echo-live { position: absolute; top: 18px; left: 18px; display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-2); font-size: 13px; font-weight: 600; color: var(--ink); }
.echo-live__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--echo-b); animation: echo-ping 1.8s ease-out infinite; }
.echo-bars { display: inline-flex; align-items: center; gap: 3px; height: 16px; }
.echo-bars i { width: 3px; height: 100%; border-radius: 2px; background: linear-gradient(var(--echo-b), var(--echo-a)); animation: echo-bar 1s ease-in-out infinite; transform-origin: center; }
.echo-cursor { position: absolute; top: 30%; left: 34%; width: 26px; height: 26px; z-index: 2; filter: drop-shadow(0 4px 8px rgba(15,23,42,.35)); animation: echo-cursor 7s ease-in-out infinite; }
.echo-cursor svg { width: 100%; height: 100%; fill: var(--ink); stroke: var(--surface); stroke-width: 1.6; stroke-linejoin: round; }
.echo-cursor::after { content: ""; position: absolute; left: 2px; top: 1px; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; border: 2px solid var(--echo-b); opacity: 0; animation: echo-click 7s ease-out infinite; }
.echo-float__actions { display: flex; gap: 6px; margin-top: 8px; }
.echo-float__actions b { padding: 3px 10px; border-radius: 7px; font-size: 12px; font-weight: 600; border: 1px solid var(--line-strong); color: var(--ink-2); }
.echo-float__actions b.is-primary { border-color: transparent; color: #fff; background: linear-gradient(100deg, var(--echo-a), var(--echo-b)); }
[data-theme="dark"] .echo-float__actions b.is-primary { color: #0B1220; }
.echo-bars i:nth-child(2) { animation-delay: .15s; } .echo-bars i:nth-child(3) { animation-delay: .3s; } .echo-bars i:nth-child(4) { animation-delay: .45s; } .echo-bars i:nth-child(5) { animation-delay: .6s; }
.echo-float { position: absolute; display: flex; flex-direction: column; gap: 3px; padding: 12px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-2); font-size: 13px; animation: echo-float 6s ease-in-out infinite; }
.echo-float strong { font-weight: 700; color: var(--ink); }
.echo-float span { color: var(--ink-2); }
.echo-float--a { right: -18px; bottom: 26%; border-left: 3px solid var(--echo-a); }
.echo-float--b { left: -22px; bottom: -22px; border-left: 3px solid var(--echo-b); animation-delay: -3s; }

/* At-a-glance band */
.echo-band { border-block: 1px solid var(--line); background-color: var(--surface-2); background-image: radial-gradient(color-mix(in srgb, var(--echo-a) 22%, transparent) 1px, transparent 1.2px); background-size: 18px 18px; }
.echo-band strong { display: flex; align-items: center; gap: 10px; }
.echo-band strong::before { content: ""; width: 10px; height: 10px; flex: none; border-radius: 50%; border: 2px solid var(--echo-b); box-shadow: 0 0 0 4px color-mix(in srgb, var(--echo-b) 18%, transparent); }
.echo-band__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.echo-band__grid > div { padding: 30px 24px; display: flex; flex-direction: column; gap: 4px; }
.echo-band__grid > div + div { border-left: 1px solid var(--line); }
.echo-band strong { font-size: 22px; letter-spacing: -.03em; }
.echo-band span { font-size: 14px; color: var(--ink-2); }

/* Interactive preview */
.echo-preview-section, .echo-context-section, .echo-trust { background: var(--surface-2); }
.meeting-preview { border: 1px solid var(--line-strong); border-radius: 20px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow-2), 0 40px 90px -40px color-mix(in srgb, var(--echo-a) 40%, transparent); }
.preview-top { padding: 22px 30px; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); }
.preview-brand { font-size: 24px; font-weight: 800; letter-spacing: -.05em; }
.preview-brand > span { color: var(--ink-3); font-size: 13px; font-weight: 500; letter-spacing: normal; }
.preview-top h3 { font-size: 15px; font-weight: 500; color: var(--ink-2); margin-top: 4px; }
.preview-status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.preview-layout { display: grid; grid-template-columns: 1.15fr 1fr; }
.transcript-example { padding: 28px; border-right: 1px solid var(--line); }
.panel-label { display: flex; justify-content: space-between; gap: 16px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 18px; }
.transcript-line { display: flex; align-items: flex-start; gap: 14px; padding: 16px 14px; border-radius: 12px; border: 1px solid transparent; transition: background .3s, border-color .3s, box-shadow .3s; }
.transcript-line.is-highlighted { background: var(--accent-soft); border-color: color-mix(in srgb, var(--echo-a) 40%, transparent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--echo-a) 12%, transparent); }
.speaker-avatar, .source-icon { display: grid; place-items: center; width: 34px; height: 34px; flex: none; font-size: 12px; font-weight: 700; background: var(--echo-chip); color: var(--echo-chip-ink); border-radius: 10px; }
.speaker-avatar.teal, .source-icon.teal { background: var(--echo-chip-teal); color: var(--echo-chip-teal-ink); }
.speaker-avatar.grey { background: var(--echo-chip-grey); color: var(--echo-chip-grey-ink); }
.speaker-meta { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.speaker-meta > span { margin-left: 10px; font-size: 12px; color: var(--ink-3); font-weight: 500; font-variant-numeric: tabular-nums; }
.transcript-line p, .intelligence-example p { font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.local-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); flex: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--success) 20%, transparent); }
.intelligence-example { padding: 28px; }
.preview-tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.preview-tabs button { padding: 0 0 12px; font-size: 14px; font-weight: 500; border-bottom: 2px solid transparent; color: var(--ink-3); border-radius: 4px 4px 0 0; }
.preview-tabs button:hover { color: var(--ink); }
.preview-tabs button[aria-selected="true"] { color: var(--accent-ink); border-color: var(--accent); font-weight: 600; }
.preview-tabs button:focus-visible, .source-ref:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.intelligence-example h4 { font-size: 22px; letter-spacing: -.03em; margin: 4px 0 10px; }
.example-callout { border-left: 3px solid var(--accent); padding-left: 16px; margin: 22px 0; }
.example-callout .eyebrow { font-size: 12px; }
.source-ref { display: inline-flex; margin-top: 8px; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-size: 12px; font-weight: 600; cursor: pointer; transition: transform .2s; }
.source-ref:hover { transform: translateX(2px); }
.example-action { border-top: 1px solid var(--line); padding-top: 20px; display: flex; gap: 12px; }
.check { position: relative; width: 18px; height: 18px; border-radius: 50%; flex: none; margin-top: 2px; background: linear-gradient(135deg, var(--echo-a), var(--echo-b)); }
.check::after { content: ""; position: absolute; left: 6px; top: 3px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.example-action strong, .context-source strong { display: block; font-size: 15px; font-weight: 600; }
.context-source { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.context-source div > span { display: block; font-size: 13px; color: var(--ink-3); margin-top: 4px; }
.preview-disclaimer { margin: 18px auto 0; text-align: center; font-size: 12px; color: var(--ink-3); }

/* Features */
.echo-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.echo-feature-grid article { padding: 32px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); transition: transform .3s, box-shadow .3s, border-color .3s; }
.echo-feature-grid article:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: color-mix(in srgb, var(--echo-a) 35%, var(--line)); }
.feature-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--echo-a), var(--echo-b)); box-shadow: 0 0 0 6px color-mix(in srgb, var(--echo-b) 12%, transparent), 0 0 0 12px color-mix(in srgb, var(--echo-b) 6%, transparent); transition: box-shadow .4s; }
.echo-feature-grid article:hover .feature-icon { box-shadow: 0 0 0 8px color-mix(in srgb, var(--echo-b) 16%, transparent), 0 0 0 18px color-mix(in srgb, var(--echo-b) 7%, transparent); }
.feature-icon svg { width: 22px; height: 22px; }
[data-theme="dark"] .feature-icon { color: #0B1220; }
.echo-feature-grid h3 { font-size: 22px; line-height: 1.3; letter-spacing: -.035em; margin: 22px 0 12px; }
.echo-feature-grid p, .context-stack p, .trust-details p, .echo-steps p { font-size: 15px; color: var(--ink-2); line-height: 1.75; }

/* Context + trust */
.context-grid, .trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.context-grid h2, .trust-grid h2 { margin: 12px 0 24px; }
.context-grid .lede, .trust-grid .lede { font-size: 18px; margin-bottom: 26px; }
.context-stack article { display: flex; gap: 24px; padding: 26px 0; border-top: 1px solid var(--line); }
.context-index { min-width: 56px; font-size: 13px; font-weight: 700; color: var(--accent-ink); padding-top: 3px; }
.context-stack h3, .trust-details h3, .echo-steps h3 { font-size: 19px; letter-spacing: -.025em; margin-bottom: 8px; }
.trust-details article + article { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }

/* Steps */
.echo-steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding: 0; margin: 0; list-style: none; }
.echo-steps::before { content: ""; position: absolute; top: 23px; left: 24px; right: calc((100% - 84px) / 4 - 24px); height: 2px; background: linear-gradient(90deg, var(--echo-a), var(--echo-b)); opacity: .45; }
.echo-steps li { position: relative; }
.echo-steps li > span { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 22px; border-radius: 50%; font-size: 14px; font-weight: 700; color: var(--echo-chip-ink); background: var(--surface); border: 2px solid var(--echo-a); box-shadow: 0 0 0 6px var(--surface); }
.echo-steps li:last-child > span { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--echo-a), var(--echo-b)); }
[data-theme="dark"] .echo-steps li:last-child > span { color: #0B1220; }

/* FAQ */
.echo-faq .container { max-width: 860px; }
.echo-faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.echo-faq summary { cursor: pointer; font-size: 17px; font-weight: 600; }
.echo-faq details p { color: var(--ink-2); font-size: 15px; padding-top: 14px; line-height: 1.75; }

/* Closing */
.echo-closing { position: relative; overflow: hidden; text-align: center; padding: 120px 0; border-top: 1px solid var(--line); }
.echo-closing .echo-hero__glow { inset: 0; height: auto; background: radial-gradient(50% 60% at 50% 100%, color-mix(in srgb, var(--echo-a) 22%, transparent), transparent 70%); }
.echo-closing .container { position: relative; }
.echo-closing h2 { margin: 18px 0 24px; font-size: clamp(36px, 4.6vw, 60px); letter-spacing: -.045em; }
.echo-closing .lede { max-width: 620px; margin: auto; }
.echo-closing .hero__actions { justify-content: center; flex-wrap: wrap; margin-top: 32px; }

/* Motion */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@keyframes echo-ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--echo-b) 60%, transparent); } 100% { box-shadow: 0 0 0 9px transparent; } }
@keyframes echo-ripple { 0% { transform: scale(.15); opacity: 0; } 15% { opacity: .9; } 100% { transform: scale(1); opacity: 0; } }
@keyframes echo-cursor { 0%, 8% { left: 34%; top: 30%; } 38%, 62% { left: 84%; top: 64%; } 92%, 100% { left: 34%; top: 30%; } }
@keyframes echo-click { 0%, 40% { opacity: 0; transform: scale(.4); } 44% { opacity: 1; } 56%, 100% { opacity: 0; transform: scale(2.2); } }
@keyframes echo-bar { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
@keyframes echo-float { 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) {
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .echo-live__dot, .echo-bars i, .echo-float, .echo-cursor, .echo-cursor::after { animation: none; }
    .echo-ripples span { animation: none; opacity: .35; }
    .echo-ripples span:nth-child(1) { transform: scale(.4); } .echo-ripples span:nth-child(2) { transform: scale(.65); } .echo-ripples span:nth-child(3) { transform: scale(.9); } .echo-ripples span:nth-child(4) { display: none; }
}

[hidden] { display: none !important; }
@media (max-width: 1000px) {
    .echo-hero-grid { gap: 40px; }
    .context-grid, .trust-grid { gap: 40px; }
    .echo-float--a { right: 12px; }
    .echo-float--b { left: 12px; }
}
@media (max-width: 760px) {
    .echo-hero { padding: 40px 0 64px; }
    .echo-hero-grid, .context-grid, .trust-grid, .preview-layout { grid-template-columns: 1fr; }
    .echo-band__grid { grid-template-columns: 1fr 1fr; }
    .echo-band__grid > div:nth-child(3) { border-left: 0; }
    .echo-band__grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
    .echo-feature-grid { grid-template-columns: 1fr; }
    .echo-steps { grid-template-columns: 1fr 1fr; }
    .echo-steps::before { display: none; }
    .echo-ripples { left: 50%; top: 72%; }
    .echo-cursor { display: none; }
    .transcript-example { border-right: 0; border-bottom: 1px solid var(--line); }
    .preview-top { padding: 20px; flex-wrap: wrap; }
    .transcript-example, .intelligence-example { padding: 20px; }
    .echo-closing { padding: 88px 0; }
}
@media (max-width: 420px) {
    .echo-hero .hero__actions > a, .echo-closing .hero__actions > a { width: 100%; justify-content: center; }
    .echo-float--a { display: none; }
    .echo-band__grid, .echo-steps { grid-template-columns: 1fr; }
    .echo-band__grid > div { border-left: 0 !important; }
    .echo-band__grid > div + div { border-top: 1px solid var(--line); }
}
