/*
   Delve product pages — final presentation layer.
   One deliberate system: product-first hierarchy, generous rhythm, quiet chrome.
*/

:root {
    --delve-blue: #2997ff;
    --delve-blue-bright: #64d2ff;
    --delve-purple: #bf5af2;
    --delve-ink: #f5f5f7;
    --delve-secondary: #a1a1a6;
    --delve-dark: #000;
    --delve-card: #111113;
    --delve-line: rgba(255, 255, 255, .13);
    --delve-ease: cubic-bezier(.2, .8, .2, 1);

    /* One content rail for every section, so left edges line up down the page.
       --edge is the horizontal padding that produces a centered rail with a
       minimum gutter on small viewports. */
    --rail: 1160px;
    --gutter: 28px;
    --edge: max(var(--gutter), calc((100vw - var(--rail)) / 2));

    /* Disciplined surface palette — ONE cool blue-black family, so no
       section invents its own temperature (no lone teal, no lone purple).
       Purple/cyan live only as accents on type and marks, never as a
       section background. --glow is the single shared accent wash. */
    --s-black: #000;          /* bookends: hero, faq, callout, download */
    --s-raised: #0a0d13;      /* raised product surface: features */
    --s-proof: #071523;       /* proof/trust bands: honest, privacy, security */
    --glow: rgba(96, 198, 255, .10);   /* one blue-cyan accent wash */
}

body.delve-page,
body.enterprise-page {
    margin: 0;
    color: var(--delve-ink);
    background: var(--delve-dark);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Helvetica, Arial, sans-serif;
    font-synthesis: none;
    letter-spacing: -.015em;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.delve-page main,
body.enterprise-page main { overflow: clip; }

body.delve-page a,
body.enterprise-page a { text-underline-offset: .18em; }

body.delve-page .reading,
body.enterprise-page .reading { width: min(100%, 980px); padding-right: 28px; padding-left: 28px; }

body.delve-page .reading-wide,
body.enterprise-page .reading-wide { width: min(100%, 1280px); }

/* Local product navigation — subtle over the hero, solidifies into a
   defined bar once scrolled over content (JS toggles .scrolled at >24px). */
body.delve-page #nav,
body.enterprise-page #nav {
    height: 52px;
    padding: 0 24px;
    background: rgba(7, 9, 13, .55);
    border: 0;
    box-shadow: none;
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    transition: background-color .3s ease, box-shadow .3s ease;
}

body.delve-page #nav.scrolled,
body.enterprise-page #nav.scrolled {
    background: rgba(7, 9, 13, .88);
    box-shadow: 0 1px 0 rgba(255,255,255,.05), 0 10px 30px rgba(0,0,0,.4);
}

body.delve-page #nav::after,
body.enterprise-page #nav::after { background: rgba(255,255,255,.08); opacity: 0; transition: opacity .3s ease; }
body.delve-page #nav.scrolled::after,
body.enterprise-page #nav.scrolled::after { opacity: 1; }

body.delve-page .nav-inner,
body.enterprise-page .nav-inner {
    width: min(100%, var(--rail));
    height: 52px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

body.delve-page .nav-logo,
body.enterprise-page .nav-logo { gap: 8px; }

body.delve-page .nav-logo-glyph,
body.enterprise-page .nav-logo-glyph { color: #fff; }

body.delve-page .nav-logo-text,
body.enterprise-page .nav-logo-text { font-size: 1.05rem; font-weight: 600; letter-spacing: -.025em; }

body.delve-page .nav-logo-studio { color: #86868b; font-size: .72rem; }

body.delve-page .nav-links,
body.enterprise-page .nav-links { gap: 25px; font-size: .75rem; letter-spacing: -.01em; }

body.delve-page .nav-links a,
body.enterprise-page .nav-links a { color: #d2d2d7; }

body.delve-page .nav-links a:hover,
body.enterprise-page .nav-links a:hover { color: #fff; }

body.delve-page .nav-cta,
body.enterprise-page .nav-cta {
    padding: 7px 14px;
    color: #fff;
    background: #0071e3;
    border: 0;
    border-radius: 999px;
}

body.delve-page .nav-cta:hover,
body.enterprise-page .nav-cta:hover { color: #fff; background: #0077ed; }

/* Shared controls */
body.delve-page .btn,
body.enterprise-page .btn {
    min-height: 44px;
    padding: 11px 21px;
    border-radius: 999px;
    font-size: .95rem;
    font-weight: 500;
    letter-spacing: -.012em;
    transition: transform .25s var(--delve-ease), background-color .25s ease, color .25s ease, border-color .25s ease;
}

body.delve-page .btn:hover,
body.enterprise-page .btn:hover { transform: translateY(-1px); }

body.delve-page .btn-primary,
body.enterprise-page .btn-primary { color: #fff; background: #0071e3; border: 0; box-shadow: none; }

body.delve-page .btn-primary:hover,
body.enterprise-page .btn-primary:hover { color: #fff; background: #0077ed; box-shadow: none; }

body.delve-page .btn-quiet,
body.enterprise-page .btn-quiet { color: var(--delve-blue); }

body.delve-page .btn-quiet:hover,
body.enterprise-page .btn-quiet:hover { color: #64b5ff; }

.product-lockup {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: #d2d2d7;
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: -.01em;
}

.product-lockup-mark {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    color: #fff;
    background: linear-gradient(145deg, #45b7ff, #3866f2 55%, #9d4edd);
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(41,151,255,.28), inset 0 1px 0 rgba(255,255,255,.36);
    font-size: .76rem;
    font-weight: 700;
}

/* Consumer hero */
body.delve-page #hero {
    padding-top: clamp(154px, 18vh, 220px);
    background:
        radial-gradient(ellipse 56% 24% at 50% 4%, rgba(41,151,255,.18), transparent 75%),
        #000;
}

body.delve-page #hero-canvas { opacity: .1; }

body.delve-page #hero > .reading:first-of-type { max-width: var(--rail); text-align: center; }

body.delve-page .hero-title {
    max-width: 1060px;
    margin: 26px auto 30px;
    color: #f5f5f7;
    font-size: clamp(4rem, 8.3vw, 7.65rem);
    font-weight: 700;
    line-height: .91;
    letter-spacing: -.073em;
}

body.delve-page .hero-title em {
    color: transparent;
    background: linear-gradient(92deg, #64d2ff 4%, #2997ff 44%, #9b72ff 74%, #d782ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    font-style: normal;
}

body.delve-page #hero .lede {
    max-width: 680px;
    margin: 0 auto;
    color: var(--delve-secondary);
    font-size: clamp(1.2rem, 2vw, 1.52rem);
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: -.025em;
}

body.delve-page #hero .hero-actions { justify-content: center; gap: 9px; margin-top: 30px; }
body.delve-page .btn-download { min-width: 0; box-shadow: none; }

body.delve-page #hero .hero-meta { margin-top: 17px; color: #86868b; font-size: .78rem; }

body.delve-page .trust-line {
    margin-top: 48px;
    color: #86868b;
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: .005em;
}

body.delve-page .trust-line span { padding: 0 11px; color: #424245; }

body.delve-page .conversion-steps {
    max-width: 1120px;
    margin-top: clamp(130px, 15vw, 190px);
    margin-bottom: 58px;
}

body.delve-page .conversion-steps .section-intro { max-width: 900px; text-align: center; }

body.delve-page .eyebrow,
body.enterprise-page .eyebrow {
    margin-bottom: 13px;
    color: #86868b;
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: -.01em;
    text-transform: none;
}

body.delve-page .conversion-steps h2 {
    max-width: 900px;
    font-size: clamp(3.45rem, 7vw, 6.2rem);
    line-height: .94;
    letter-spacing: -.067em;
}

body.delve-page .conversion-steps .section-intro > p:last-child {
    max-width: 700px;
    margin-top: 26px;
    color: var(--delve-secondary);
    font-size: 1.25rem;
    line-height: 1.5;
}

body.delve-page .hero-figure {
    width: min(100%, calc(var(--rail) + 2 * var(--gutter)));
    margin-top: 0;
    padding: 0 var(--gutter);
}

body.delve-page .mac-window {
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 18px;
    box-shadow: 0 55px 140px rgba(0,0,0,.78), 0 0 100px rgba(41,151,255,.12);
}

body.delve-page .hero-figure figcaption {
    max-width: 720px;
    margin: 26px auto 0;
    color: #6e6e73;
    font-size: .78rem;
    line-height: 1.55;
    text-align: center;
}

body.delve-page .hero-figure figcaption strong { color: #a1a1a6; font-weight: 600; }

/* Feature highlights: one thought per stage */
body.delve-page #features { width: min(100%, 1250px); max-width: none; padding: clamp(150px, 16vw, 210px) 28px 0; }
body.delve-page #features > .feature-grid { display: none; }

body.delve-page .showcase-heading { max-width: 900px; margin: 0 auto 70px; text-align: center; }
body.delve-page .showcase-heading h2 {
    max-width: 900px;
    font-size: clamp(3.45rem, 7vw, 6.2rem);
    line-height: .94;
    letter-spacing: -.067em;
}

body.delve-page .feature-showcase { display: grid; gap: 24px; border: 0; }

body.delve-page .showcase-card,
body.delve-page .showcase-card:nth-child(even) {
    display: grid;
    grid-template-columns: minmax(270px, .78fr) minmax(400px, 1.22fr);
    align-items: center;
    gap: clamp(42px, 8vw, 110px);
    min-height: 620px;
    padding: clamp(54px, 7vw, 92px);
    overflow: hidden;
    border: 0;
    border-radius: 32px;
    background: #111113;
}

body.delve-page .showcase-card:nth-child(even) { background: #f5f5f7; color: #1d1d1f; }
body.delve-page .showcase-card:nth-child(even) .showcase-copy { order: 0; }

body.delve-page .showcase-kicker {
    color: var(--delve-blue);
    font-family: inherit;
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: -.005em;
    text-transform: none;
}

body.delve-page .showcase-copy h3 {
    margin: 14px 0 18px;
    font-size: clamp(2.55rem, 4.5vw, 4.35rem);
    line-height: .96;
    letter-spacing: -.058em;
}

body.delve-page .showcase-copy p {
    max-width: 420px;
    color: var(--delve-secondary);
    font-size: 1.08rem;
    line-height: 1.52;
}

body.delve-page .showcase-card:nth-child(even) .showcase-copy p { color: #6e6e73; }
body.delve-page .showcase-visual { width: 100%; max-width: 560px; margin-left: auto; }

body.delve-page .block-cloud {
    height: 330px;
    padding: 6px;
    gap: 6px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 24px;
    background: #050506;
    box-shadow: 0 36px 90px rgba(0,0,0,.45);
    transform: perspective(1200px) rotateY(-4deg) rotateX(1deg);
}

body.delve-page .block { padding: 20px; border-radius: 15px; font-size: .9rem; }
body.delve-page .block b { margin-top: 3px; font-size: 1.65rem; letter-spacing: -.04em; }
body.delve-page .block-a { background: linear-gradient(145deg, #6f5fd1, #44387e); }
body.delve-page .block-b { background: linear-gradient(145deg, #31c98c, #1f7655); }
body.delve-page .block-c { background: linear-gradient(145deg, #49a7ef, #285c99); }

body.delve-page .preview-card {
    padding: 20px;
    border-color: rgba(0,0,0,.1);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 30px 80px rgba(0,0,0,.12), 0 1px 0 rgba(255,255,255,.8) inset;
}

body.delve-page .preview-icon { color: #0071e3; background: #eaf4ff; }
body.delve-page .preview-card strong { color: #1d1d1f; }
body.delve-page .preview-card small { color: #86868b; }
body.delve-page .preview-card > b { color: #1d1d1f; background: #f5f5f7; border-color: rgba(0,0,0,.08); box-shadow: none; }

body.delve-page .recovery-meter {
    padding: clamp(30px, 4vw, 48px);
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 24px;
    background: #08080a;
}

body.delve-page .recovery-meter strong { font-size: clamp(4rem, 7vw, 6.5rem); }
body.delve-page .recovery-meter i { height: 9px; background: #222226; }
body.delve-page .recovery-meter i b { background: linear-gradient(90deg, #2997ff, #64d2ff); box-shadow: 0 0 25px rgba(41,151,255,.7); }
body.delve-page .recovery-meter em { color: #86868b; font-family: inherit; font-size: .8rem; font-style: normal; }

/* Proof, privacy, FAQ */
body.delve-page #honest {
    width: min(calc(100% - 56px), 1194px);
    max-width: none;
    margin-top: 24px;
    padding: clamp(70px, 9vw, 116px);
    color: #1d1d1f;
    background: #f5f5f7;
    border-radius: 32px;
}

body.delve-page #honest .eyebrow { color: #6e6e73; }
body.delve-page #honest h2 { color: #1d1d1f; }
body.delve-page #honest h2,
body.delve-page #privacy h2 {
    max-width: 710px;
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: .95;
    letter-spacing: -.064em;
}

body.delve-page #honest > p:not(.eyebrow):not(.callout-link) {
    max-width: 640px;
    margin-top: 24px;
    color: #6e6e73;
    font-size: 1.15rem;
}

body.delve-page #honest .acc-list { gap: 22px; margin-top: 56px; border: 0; }
body.delve-page #honest .acc,
body.delve-page #honest .acc + .acc {
    padding: 28px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0,0,0,.04);
}

body.delve-page #honest .acc + .acc { border-left: 1px solid rgba(0,0,0,.06); }
body.delve-page #honest .acc-head { color: #6e6e73; border-bottom-color: rgba(0,0,0,.09); }
body.delve-page #honest .acc-head code { color: #424245; }
body.delve-page #honest .acc-grid > span { color: #6e6e73; }
body.delve-page #honest .acc-val { color: #1d1d1f; }
body.delve-page #honest .acc-real { color: #0071e3; }
body.delve-page #honest .acc-note { color: #6e6e73; }

body.delve-page #privacy {
    position: relative;
    width: min(calc(100% - 56px), 1194px);
    max-width: none;
    margin-top: 24px;
    padding: clamp(70px, 9vw, 116px);
    border: 0;
    border-radius: 32px;
    background:
        radial-gradient(circle at 85% 16%, rgba(100,210,255,.2), transparent 28%),
        linear-gradient(145deg, #071329, #121033 72%, #211039);
}

body.delve-page #privacy .privacy-mark {
    top: 54px;
    right: 64px;
    color: #64d2ff;
    font-size: 4rem;
    opacity: .7;
}

body.delve-page #privacy .privacy-heading { padding: 0; }
body.delve-page #privacy .privacy-copy { max-width: 520px; padding-top: 34px; color: #c7c7cc; font-size: 1.08rem; }

body.delve-page #faq { padding-top: clamp(130px, 15vw, 190px); }
body.delve-page #faq > h2 { font-size: clamp(2.9rem, 5vw, 4.7rem); letter-spacing: -.06em; }
body.delve-page .faq { margin-top: 32px; }
body.delve-page .faq details { border-color: var(--delve-line); }
body.delve-page .faq summary { padding: 25px 0; font-size: 1.08rem; font-weight: 600; }
body.delve-page .faq details > p { color: var(--delve-secondary); }

body.delve-page .enterprise-callout {
    width: min(calc(100% - 56px), 1194px);
    max-width: none;
    margin-top: 150px;
    padding: 64px;
    border: 0;
    border-radius: 28px;
    background: #111113;
}

body.delve-page .enterprise-callout h2 { max-width: 680px; font-size: clamp(2rem, 4vw, 3.6rem); letter-spacing: -.05em; }

body.delve-page #download { padding-top: clamp(145px, 16vw, 210px); padding-bottom: 150px; text-align: center; }
body.delve-page #download h2 { max-width: 820px; margin: 0 auto; font-size: clamp(3.2rem, 6vw, 5.6rem); line-height: .96; letter-spacing: -.066em; }
body.delve-page #download > p:first-of-type { max-width: 620px; margin: 24px auto 0; font-size: 1.1rem; }
body.delve-page #download .hero-actions { justify-content: center; }
body.delve-page #download .signoff { max-width: 650px; margin-right: auto; margin-left: auto; }

/* Enterprise page */
body.enterprise-page main {
    background:
        radial-gradient(ellipse 52% 26% at 50% 3%, rgba(41,151,255,.16), transparent 74%),
        #000;
}

body.enterprise-page .enterprise-label {
    color: #86868b;
    font-family: inherit;
    font-size: .72rem;
    letter-spacing: 0;
    text-transform: none;
}

body.enterprise-page .enterprise-hero {
    display: block;
    width: 100%;
    max-width: none;
    min-height: 0;
    padding: clamp(160px, 18vh, 220px) var(--edge) 100px;
    text-align: center;
}

body.enterprise-page .enterprise-hero-copy { max-width: 1040px; margin: 0 auto; }

body.enterprise-page .enterprise-hero h1 {
    max-width: 1040px;
    margin: 28px auto 30px;
    font-size: clamp(4rem, 8.6vw, 7.8rem);
    font-weight: 700;
    line-height: .91;
    letter-spacing: -.073em;
}

body.enterprise-page .enterprise-hero h1 span {
    color: transparent;
    background: linear-gradient(90deg, #64d2ff, #2997ff 48%, #bf5af2);
    -webkit-background-clip: text;
    background-clip: text;
}

body.enterprise-page .enterprise-hero .lede {
    max-width: 750px;
    margin: 0 auto;
    color: var(--delve-secondary);
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 500;
    line-height: 1.48;
}

body.enterprise-page .enterprise-hero .hero-actions { justify-content: center; margin-top: 30px; }
body.enterprise-page .enterprise-hero .hero-meta { margin-top: 17px; color: #86868b; font-size: .8rem; }

body.enterprise-page .enterprise-signal {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: var(--rail);
    margin: 86px auto 0;
    border: 0;
    text-align: left;
}

body.enterprise-page .enterprise-signal > div {
    min-height: 170px;
    padding: 28px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 22px;
    background: rgba(17,17,19,.78);
}

body.enterprise-page .enterprise-signal span { display: inline-block; margin: 0 0 28px; color: var(--delve-blue); font-family: inherit; font-size: .75rem; }
body.enterprise-page .enterprise-signal strong { display: block; font-size: 1.15rem; letter-spacing: -.025em; }
body.enterprise-page .enterprise-signal p { margin: 8px 0 0; color: #86868b; font-size: .9rem; line-height: 1.45; }

body.enterprise-page .enterprise-outcomes {
    max-width: var(--rail);
    padding: 22px 28px;
    border-color: rgba(255,255,255,.1);
}

body.enterprise-page .enterprise-outcomes p { color: #86868b; font-family: inherit; font-size: .75rem; font-weight: 600; letter-spacing: .02em; text-transform: none; }

body.enterprise-page .enterprise-section { width: 100%; max-width: none; padding: clamp(135px, 15vw, 190px) var(--edge) 0; }
body.enterprise-page .section-intro { max-width: 820px; }
body.enterprise-page .section-intro h2 {
    font-size: clamp(3rem, 6vw, 5.55rem);
    line-height: .95;
    letter-spacing: -.064em;
}

body.enterprise-page .section-intro > p:last-child { max-width: 650px; margin-top: 22px; color: var(--delve-secondary); font-size: 1.15rem; }

body.enterprise-page .enterprise-grid { gap: 20px; margin-top: 58px; border: 0; background: transparent; }
body.enterprise-page .enterprise-grid article {
    min-height: 260px;
    padding: 38px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 26px;
    background: #111113;
}

body.enterprise-page .enterprise-grid h3 { font-size: 1.45rem; letter-spacing: -.035em; }
body.enterprise-page .enterprise-grid p { margin-top: 12px; color: var(--delve-secondary); font-size: .98rem; line-height: 1.55; }

body.enterprise-page .enterprise-security {
    margin-top: clamp(135px, 15vw, 190px);
    padding: clamp(65px, 8vw, 105px);
    color: #1d1d1f;
    background: #f5f5f7;
    border: 0;
    border-radius: 32px;
}

body.enterprise-page .enterprise-security .eyebrow,
body.enterprise-page .enterprise-security p,
body.enterprise-page .enterprise-security dt { color: #6e6e73; }
body.enterprise-page .enterprise-security h2,
body.enterprise-page .enterprise-security dd { color: #1d1d1f; }
body.enterprise-page .security-list { gap: 0 34px; margin-top: 48px; }
body.enterprise-page .security-list > div { padding: 17px 0; border-color: rgba(0,0,0,.12); }
body.enterprise-page .security-note { max-width: 780px; margin-top: 30px; line-height: 1.55; }

body.enterprise-page .deployment-steps { gap: 20px; margin-top: 58px; }
body.enterprise-page .deployment-steps article { min-height: 245px; padding: 32px; border: 1px solid rgba(255,255,255,.1); border-radius: 24px; background: #111113; }
body.enterprise-page .deployment-steps article > span { margin-bottom: 42px; background: rgba(41,151,255,.14); color: var(--delve-blue); }
body.enterprise-page .deployment-steps h3 { font-size: 1.35rem; }
body.enterprise-page .deployment-steps p { color: var(--delve-secondary); }

body.enterprise-page .enterprise-faq { max-width: 980px; }
body.enterprise-page .enterprise-faq-list { margin-top: 42px; }
body.enterprise-page .enterprise-faq-list details { border-color: var(--delve-line); }
body.enterprise-page .enterprise-faq-list summary { padding: 24px 0; font-size: 1.08rem; font-weight: 600; }

body.enterprise-page .enterprise-final {
    max-width: var(--rail);
    margin-top: clamp(135px, 15vw, 190px);
    margin-bottom: 80px;
    padding: clamp(58px, 7vw, 90px);
    color: #1d1d1f;
    background: #f5f5f7;
    border-radius: 32px;
}

body.enterprise-page .enterprise-final .eyebrow { color: #6e6e73; }
body.enterprise-page .enterprise-final h2 { max-width: 720px; font-size: clamp(2.8rem, 5vw, 4.8rem); letter-spacing: -.06em; }
body.enterprise-page .enterprise-final p:last-child { color: #6e6e73; font-size: 1.05rem; }
body.enterprise-page .enterprise-final-actions .btn-primary { background: #0071e3; color: #fff; }
body.enterprise-page .enterprise-final-actions span { color: #6e6e73; font-family: inherit; }

body.delve-page #footer,
body.enterprise-page #footer { background: #08080a; border-top: 1px solid rgba(255,255,255,.08); }

/* Responsive behavior */
@media (max-width: 900px) {
    body.delve-page .showcase-card,
    body.delve-page .showcase-card:nth-child(even) { grid-template-columns: 1fr; min-height: 0; }
    body.delve-page .showcase-visual { max-width: none; margin-left: 0; }
    body.delve-page #honest .acc-list { grid-template-columns: 1fr; }
    body.delve-page #privacy { grid-template-columns: 1fr; gap: 10px; }
    body.delve-page .enterprise-callout { align-items: flex-start; flex-direction: column; }

    body.enterprise-page .enterprise-signal { grid-template-columns: 1fr; }
    body.enterprise-page .enterprise-signal > div { min-height: 0; }
    body.enterprise-page .enterprise-grid { grid-template-columns: 1fr; }
    body.enterprise-page .enterprise-grid article { min-height: 0; }
    body.enterprise-page .deployment-steps { grid-template-columns: 1fr; }
    body.enterprise-page .deployment-steps article { min-height: 0; }
    body.enterprise-page .enterprise-final { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 640px) {
    body.delve-page #nav,
    body.enterprise-page #nav { padding: 0 18px; }
    body.delve-page .reading,
    body.enterprise-page .reading { padding-right: 22px; padding-left: 22px; }

    body.delve-page #hero { padding-top: 124px; }
    body.delve-page #hero > .reading:first-of-type { text-align: left; }
    body.delve-page .hero-title { margin-top: 22px; font-size: clamp(3.55rem, 17vw, 5rem); }
    body.delve-page #hero .lede { font-size: 1.12rem; }
    body.delve-page #hero .hero-actions { align-items: flex-start; justify-content: flex-start; }
    body.delve-page #hero .hero-actions .btn-primary { width: 100%; justify-content: center; }
    body.delve-page .trust-line { line-height: 1.8; text-align: left; }
    body.delve-page .conversion-steps { margin-top: 100px; padding: 0 22px; }
    body.delve-page .conversion-steps .section-intro { text-align: left; }
    body.delve-page .conversion-steps h2,
    body.delve-page .showcase-heading h2 { font-size: clamp(3.1rem, 14vw, 4.2rem); }
    body.delve-page .conversion-steps .section-intro > p:last-child { font-size: 1.05rem; }
    body.delve-page .hero-figure { padding: 0 12px; }
    body.delve-page .hero-figure figcaption { padding: 0 10px; text-align: left; }
    body.delve-page #features { padding: 110px 12px 0; }
    body.delve-page .showcase-heading { padding: 0 10px; text-align: left; }
    body.delve-page .showcase-card,
    body.delve-page .showcase-card:nth-child(even) { gap: 36px; padding: 42px 26px; border-radius: 24px; }
    body.delve-page .showcase-copy h3 { font-size: 2.7rem; }
    body.delve-page .block-cloud { height: 250px; transform: none; }
    body.delve-page #honest,
    body.delve-page #privacy { width: calc(100% - 24px); padding: 48px 26px; border-radius: 24px; }
    body.delve-page #honest h2,
    body.delve-page #privacy h2 { font-size: 3.05rem; }
    body.delve-page #privacy .privacy-mark { position: static; margin-bottom: 20px; }
    body.delve-page .enterprise-callout { width: calc(100% - 24px); margin-top: 110px; padding: 42px 26px; border-radius: 24px; }
    body.delve-page #download { padding-top: 120px; padding-bottom: 110px; text-align: left; }
    body.delve-page #download h2 { font-size: 3.05rem; }
    body.delve-page #download .hero-actions { justify-content: flex-start; }

    body.enterprise-page .enterprise-hero { padding-top: 125px; text-align: left; }
    body.enterprise-page .enterprise-hero h1 { font-size: clamp(3.6rem, 17vw, 5.1rem); }
    body.enterprise-page .enterprise-hero .lede { margin-left: 0; font-size: 1.12rem; }
    body.enterprise-page .enterprise-hero .hero-actions { align-items: flex-start; justify-content: flex-start; }
    body.enterprise-page .enterprise-hero .hero-actions .btn-primary { width: 100%; justify-content: center; }
    body.enterprise-page .enterprise-signal { margin-top: 60px; }
    body.enterprise-page .enterprise-outcomes { grid-template-columns: repeat(2, 1fr); gap: 14px 0; }
    body.enterprise-page .enterprise-section { padding-top: 110px; }
    body.enterprise-page .section-intro h2 { font-size: 3.25rem; }
    body.enterprise-page .enterprise-grid article { padding: 28px; border-radius: 22px; }
    body.enterprise-page .enterprise-security { width: calc(100% - 24px); margin-top: 110px; padding: 48px 26px; border-radius: 24px; }
    body.enterprise-page .security-list { grid-template-columns: 1fr; }
    body.enterprise-page .deployment-steps article { padding: 28px; }
    body.enterprise-page .enterprise-final { width: calc(100% - 24px); margin-top: 110px; padding: 48px 26px; border-radius: 24px; }
    body.enterprise-page .enterprise-final h2 { font-size: 3.05rem; }
}

@media (prefers-reduced-motion: reduce) {
    body.delve-page *,
    body.enterprise-page * { scroll-behavior: auto !important; }
}

/* Continuous product story
   Full-width chapters replace the earlier stack of isolated modal-like cards. */
body.delve-page #hero { padding-bottom: 90px; }
body.delve-page .trust-line { margin-top: 34px; }

body.delve-page #features {
    width: 100%;
    max-width: none;
    padding: clamp(120px, 13vw, 175px) var(--edge) clamp(120px, 13vw, 175px);
    color: #1d1d1f;
    background: #f5f5f7;
}

body.delve-page .showcase-heading {
    max-width: 860px;
    margin: 0 0 clamp(70px, 8vw, 105px);
    text-align: left;
}

body.delve-page .showcase-heading .eyebrow { color: #6e6e73; }
body.delve-page .showcase-heading h2 { margin: 0; color: #1d1d1f; }

body.delve-page .feature-showcase {
    display: block;
    border-top: 1px solid rgba(0,0,0,.15);
}

body.delve-page .showcase-card,
body.delve-page .showcase-card:nth-child(even) {
    grid-template-columns: minmax(280px, .78fr) minmax(420px, 1.22fr);
    gap: clamp(48px, 9vw, 120px);
    min-height: 550px;
    padding: clamp(75px, 9vw, 118px) 0;
    color: #1d1d1f;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(0,0,0,.15);
    border-radius: 0;
}

body.delve-page .showcase-card:nth-child(even) {
    grid-template-columns: minmax(420px, 1.22fr) minmax(280px, .78fr);
}

body.delve-page .showcase-card:nth-child(even) .showcase-copy { order: 2; }
body.delve-page .showcase-card:nth-child(even) .showcase-visual { order: 1; margin-right: auto; margin-left: 0; }
body.delve-page .showcase-card:last-child { border-bottom: 0; }
body.delve-page .showcase-copy p,
body.delve-page .showcase-card:nth-child(even) .showcase-copy p { color: #6e6e73; }

body.delve-page .showcase-find .block-cloud {
    border-color: rgba(0,0,0,.14);
    box-shadow: 0 34px 85px rgba(20,25,35,.18);
}

body.delve-page .showcase-space .recovery-meter {
    color: #f5f5f7;
    background: linear-gradient(145deg, #0c1c32, #111113 68%);
    box-shadow: 0 34px 85px rgba(20,25,35,.16);
}

body.delve-page #honest {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: clamp(120px, 13vw, 175px) var(--edge);
    background: #dceeff;
    border: 0;
    border-radius: 0;
}

body.delve-page #honest .acc-list {
    gap: 0;
    margin-top: 70px;
    border-top: 1px solid rgba(0,0,0,.18);
    border-bottom: 1px solid rgba(0,0,0,.18);
}

body.delve-page #honest .acc,
body.delve-page #honest .acc + .acc {
    padding: 34px 0 38px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

body.delve-page #honest .acc + .acc {
    padding-left: 42px;
    border-left: 1px solid rgba(0,0,0,.18);
}

body.delve-page #privacy {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: clamp(120px, 13vw, 175px) var(--edge);
    background:
        radial-gradient(circle at 82% 20%, rgba(100,210,255,.18), transparent 27%),
        linear-gradient(135deg, #071329, #121033 70%, #211039);
    border: 0;
    border-radius: 0;
}

body.delve-page #privacy .privacy-mark { right: var(--edge); }

body.delve-page #faq {
    width: 100%;
    max-width: none;
    padding: clamp(120px, 13vw, 175px) var(--edge) 0;
    text-align: left;
}

body.delve-page #faq > h2 { margin-left: 0; text-align: left; }
body.delve-page #faq .faq { max-width: 820px; }

body.delve-page .enterprise-callout {
    width: min(calc(100% - 56px), var(--rail));
    margin-top: clamp(120px, 13vw, 175px);
    padding: 58px 0;
    background: transparent;
    border-top: 1px solid var(--delve-line);
    border-bottom: 1px solid var(--delve-line);
    border-radius: 0;
}

/* Enterprise follows the same editorial rhythm: proof bands, not card stacks. */
body.enterprise-page .enterprise-signal {
    gap: 0;
    border-top: 1px solid var(--delve-line);
    border-bottom: 1px solid var(--delve-line);
}

body.enterprise-page .enterprise-signal > div {
    min-height: 0;
    padding: 34px 34px 36px;
    background: transparent;
    border: 0;
    border-left: 1px solid var(--delve-line);
    border-radius: 0;
}

body.enterprise-page .enterprise-signal > div:first-child { border-left: 0; }
body.enterprise-page .enterprise-signal span { margin-bottom: 24px; }

body.enterprise-page .enterprise-grid {
    gap: 0;
    border-top: 1px solid var(--delve-line);
    border-bottom: 1px solid var(--delve-line);
}

body.enterprise-page .enterprise-grid article {
    min-height: 240px;
    padding: 42px 42px 42px 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--delve-line);
    border-radius: 0;
}

body.enterprise-page .enterprise-grid article:nth-child(even) { padding-right: 0; padding-left: 42px; border-left: 1px solid var(--delve-line); }
body.enterprise-page .enterprise-grid article:nth-last-child(-n+2) { border-bottom: 0; }

body.enterprise-page .enterprise-security {
    width: 100%;
    max-width: none;
    margin-top: clamp(135px, 15vw, 190px);
    padding: clamp(110px, 12vw, 160px) var(--edge);
    border-radius: 0;
}

body.enterprise-page #deployment { padding-bottom: clamp(120px, 13vw, 175px); }
body.enterprise-page .deployment-steps { gap: 0; border-top: 1px solid var(--delve-line); border-bottom: 1px solid var(--delve-line); }
body.enterprise-page .deployment-steps article {
    min-height: 250px;
    padding: 38px;
    background: transparent;
    border: 0;
    border-left: 1px solid var(--delve-line);
    border-radius: 0;
}
body.enterprise-page .deployment-steps article:first-child { border-left: 0; }

body.enterprise-page .enterprise-final {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: clamp(100px, 11vw, 145px) var(--edge);
    color: #fff;
    background: linear-gradient(115deg, #075fb8, #3640c8 62%, #7137b9);
    border-radius: 0;
}

body.enterprise-page .enterprise-final .eyebrow,
body.enterprise-page .enterprise-final p:last-child,
body.enterprise-page .enterprise-final-actions span { color: rgba(255,255,255,.72); }
body.enterprise-page .enterprise-final-actions .btn-primary { color: #075fb8; background: #fff; }

/* Dark tonal palette
   Delve stays unmistakably dark; hierarchy comes from temperature and depth,
   never from large white panels. */
body.delve-page #features {
    color: #f5f5f7;
    background:
        radial-gradient(circle at 82% 14%, var(--glow), transparent 30%),
        var(--s-raised);
}

body.delve-page .showcase-heading .eyebrow { color: #86868b; }
body.delve-page .showcase-heading h2,
body.delve-page .showcase-card,
body.delve-page .showcase-card:nth-child(even) { color: #f5f5f7; }

body.delve-page .feature-showcase,
body.delve-page .showcase-card,
body.delve-page .showcase-card:nth-child(even) { border-color: rgba(255,255,255,.13); }

body.delve-page .showcase-copy p,
body.delve-page .showcase-card:nth-child(even) .showcase-copy p { color: #a1a1a6; }

body.delve-page .preview-card {
    color: #f5f5f7;
    background: rgba(24,27,34,.94);
    border-color: rgba(255,255,255,.12);
    box-shadow: 0 28px 70px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.06);
}

body.delve-page .preview-icon { color: #64d2ff; background: rgba(41,151,255,.16); }
body.delve-page .preview-card strong { color: #f5f5f7; }
body.delve-page .preview-card small { color: #86868b; }
body.delve-page .preview-card > b { color: #f5f5f7; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.1); }

body.delve-page #honest {
    color: #f5f5f7;
    background:
        radial-gradient(circle at 78% 18%, var(--glow), transparent 32%),
        var(--s-proof);
}

body.delve-page #honest .eyebrow { color: #7bb9e8; }
body.delve-page #honest h2,
body.delve-page #honest .acc-val { color: #f5f5f7; }
body.delve-page #honest > p:not(.eyebrow):not(.callout-link),
body.delve-page #honest .acc-head,
body.delve-page #honest .acc-grid > span,
body.delve-page #honest .acc-note { color: #a8b2bf; }
body.delve-page #honest .acc-head code { color: #d2dbe5; }
body.delve-page #honest .acc-real { color: #64d2ff; }
body.delve-page #honest .acc-list,
body.delve-page #honest .acc + .acc { border-color: rgba(255,255,255,.14); }

body.delve-page #privacy {
    background:
        radial-gradient(circle at 82% 20%, rgba(96,198,255,.15), transparent 30%),
        linear-gradient(150deg, #0a1a2c, #071523 62%, #060f19);
}

body.enterprise-page .enterprise-security {
    color: #f5f5f7;
    background:
        radial-gradient(circle at 82% 16%, var(--glow), transparent 30%),
        var(--s-proof);
}

body.enterprise-page .enterprise-security .eyebrow { color: #7bb9e8; }
body.enterprise-page .enterprise-security h2,
body.enterprise-page .enterprise-security dd { color: #f5f5f7; }
body.enterprise-page .enterprise-security p,
body.enterprise-page .enterprise-security dt { color: #9da9b6; }
body.enterprise-page .enterprise-security .security-list > div { border-color: rgba(255,255,255,.13); }

body.enterprise-page .enterprise-final {
    background:
        radial-gradient(circle at 82% 18%, rgba(96,198,255,.14), transparent 30%),
        linear-gradient(120deg, #0b3660, #123a78 60%, #1a2b66);
}

@media (max-width: 900px) {
    body.delve-page .showcase-card,
    body.delve-page .showcase-card:nth-child(even) { grid-template-columns: 1fr; min-height: 0; }
    body.delve-page .showcase-card:nth-child(even) .showcase-copy,
    body.delve-page .showcase-card:nth-child(even) .showcase-visual { order: initial; }

    /* Accounting cards stack in one column here, so drop the vertical
       divider/indent and separate them with a top rule instead. */
    body.delve-page #honest .acc + .acc { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.14); }

    body.enterprise-page .enterprise-signal > div,
    body.enterprise-page .enterprise-signal > div:first-child { border-left: 0; border-top: 1px solid var(--delve-line); }
    body.enterprise-page .enterprise-signal > div:first-child { border-top: 0; }
    body.enterprise-page .enterprise-grid article,
    body.enterprise-page .enterprise-grid article:nth-child(even) { padding: 34px 0; border-left: 0; border-bottom: 1px solid var(--delve-line); }
    body.enterprise-page .enterprise-grid article:last-child { border-bottom: 0; }
}

@media (max-width: 640px) {
    body.delve-page #hero { padding-bottom: 70px; }
    body.delve-page #features { padding: 100px 22px; }
    body.delve-page .showcase-heading { padding: 0; }
    body.delve-page .showcase-card,
    body.delve-page .showcase-card:nth-child(even) { padding: 65px 0; border-radius: 0; }
    body.delve-page #honest,
    body.delve-page #privacy { width: 100%; padding: 100px 22px; border-radius: 0; }
    body.delve-page #honest .acc + .acc { padding-left: 0; border-top: 1px solid rgba(255,255,255,.14); border-left: 0; }
    body.delve-page .enterprise-callout { width: calc(100% - 44px); padding: 46px 0; border-radius: 0; }

    body.enterprise-page .enterprise-security,
    body.enterprise-page .enterprise-final { width: 100%; padding: 100px 22px; border-radius: 0; }
    body.enterprise-page .deployment-steps article,
    body.enterprise-page .deployment-steps article:first-child { min-height: 0; padding: 34px 0; border-left: 0; border-top: 1px solid var(--delve-line); }
    body.enterprise-page .deployment-steps article:first-child { border-top: 0; }
}

/* ============================================================
   FEATURE BENTO — single source of truth for the #features cards.
   Replaces the earlier alternating full-width rows (text + a small
   panel floating in an empty half, which read as stacked modals).
   Instead: filled tiles with the visual embedded to the tile, one
   tall tile for the map beside two stacked tiles. Scoped under
   #features so it outranks every earlier .showcase-card rule.
   ============================================================ */
body.delve-page #features .feature-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
    gap: 14px;
    border: 0;
}

body.delve-page #features .showcase-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-height: 0;
    margin: 0;
    padding: clamp(22px, 2.2vw, 34px);
    overflow: hidden;
    color: #f5f5f7;
    background: linear-gradient(180deg, #12151d, #0d1016);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 24px;
    order: 0;
}

/* Wide treemap tile on top, two supporting tiles side by side below —
   no tall column of bars, no stacked cards. */
body.delve-page #features .tile-map    { grid-column: 1 / -1; grid-row: 1; }
body.delve-page #features .tile-preview{ grid-column: 1; grid-row: 2; }
body.delve-page #features .tile-space  { grid-column: 2; grid-row: 2; }

/* The map tile lays out horizontally: copy on the left, treemap filling
   the right as a wide, landscape mosaic. */
body.delve-page #features .tile-map {
    flex-direction: row;
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
}
body.delve-page #features .tile-map .showcase-copy { flex: 0 0 34%; max-width: 30rem; }
body.delve-page #features .tile-map .showcase-visual { order: 0; margin: 0; flex: 1 1 auto; align-self: stretch; }

/* Copy sits at the top of each tile */
body.delve-page #features .showcase-copy { order: 0; max-width: 32rem; margin: 0; }
body.delve-page #features .showcase-kicker {
    color: var(--delve-blue);
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: -.005em;
}
body.delve-page #features .showcase-copy h3 {
    margin: 10px 0 8px;
    color: #f5f5f7;
    font-size: clamp(1.5rem, 2vw, 2rem);
    line-height: 1.03;
    letter-spacing: -.035em;
}
body.delve-page #features .showcase-copy p {
    max-width: 38ch;
    margin: 0;
    color: #a1a1a6;
    font-size: .95rem;
    line-height: 1.48;
}

/* Visual fills the remaining tile height */
body.delve-page #features .showcase-visual {
    order: 1;
    width: auto;
    max-width: none;
    margin: clamp(14px, 1.4vw, 20px) 0 0;
    flex: 1 1 auto;
    min-height: 0;
}

/* Landscape treemap mosaic — a 6x6 grid where each block's area is
   roughly proportional to its size (like the real Delve map), not a row
   of equal tall bars. */
body.delve-page #features .block-cloud {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(6, 1fr);
    gap: 7px;
    width: auto;
    height: auto;
    aspect-ratio: 3 / 2;
    min-height: 260px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
}
body.delve-page #features .block {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 15px;
    border-radius: 13px;
    overflow: hidden;
    color: rgba(255,255,255,.96);
    font-size: .8rem;
    font-weight: 500;
    white-space: nowrap;
}
/* Cushion shading: a soft top-left highlight, like the app's treemap */
body.delve-page #features .block::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 120% at 28% 20%, rgba(255,255,255,.30), rgba(255,255,255,0) 55%);
    pointer-events: none;
}
body.delve-page #features .block > * { position: relative; }
body.delve-page #features .block b {
    display: block;
    margin-top: 2px;
    font-size: clamp(1.1rem, 1.4vw, 1.4rem);
    font-weight: 600;
    letter-spacing: -.035em;
}
body.delve-page #features .block-a { grid-column: 1 / 4; grid-row: 1 / 7; background: linear-gradient(150deg, #8266e6, #4a3a94); }
body.delve-page #features .block-b { grid-column: 4 / 7; grid-row: 1 / 4; background: linear-gradient(150deg, #34c98c, #1f7d5b); }
body.delve-page #features .block-c { grid-column: 4 / 6; grid-row: 4 / 7; background: linear-gradient(150deg, #4aa2f0, #2b5f9d); }
body.delve-page #features .block-d { grid-column: 6 / 7; grid-row: 4 / 6; display: flex; background: linear-gradient(150deg, #f0a641, #b26a1f); }
body.delve-page #features .block-e { grid-column: 6 / 7; grid-row: 6 / 7; display: flex; background: linear-gradient(150deg, #f172a6, #a83a72); }
/* Small blocks: tighten padding and let the size hug the label */
body.delve-page #features .block-d,
body.delve-page #features .block-e { padding: 11px; font-size: .72rem; }
body.delve-page #features .block-d b,
body.delve-page #features .block-e b { font-size: .95rem; }

/* Preview tile — an embedded Quick Look panel, not a floating pill */
body.delve-page #features .preview-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: auto;
    max-width: none;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    flex: 1 1 auto;
    min-height: 0;
}
body.delve-page #features .preview-stage {
    position: relative;
    flex: 1 1 auto;
    min-height: 74px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    background:
        radial-gradient(circle at 50% 38%, #223047, transparent 62%),
        linear-gradient(180deg, #10151f, #0b0e15);
    overflow: hidden;
}
body.delve-page #features .preview-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    color: #cfe6ff;
    background: rgba(41,151,255,.22);
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: -.005em;
}
body.delve-page #features .preview-play {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    color: #fff;
    background: rgba(255,255,255,.16);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 50%;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
body.delve-page #features .preview-row { display: flex; align-items: center; gap: 12px; }
body.delve-page #features .preview-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: #64d2ff;
    background: rgba(41,151,255,.16);
    border-radius: 11px;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .02em;
}
body.delve-page #features .preview-lines strong { display: block; color: #f5f5f7; font-size: .95rem; font-weight: 600; }
body.delve-page #features .preview-lines small { display: block; margin-top: 2px; color: #86868b; font-size: .8rem; }

/* Space tile — the recovery meter fills the lower half */
body.delve-page #features .recovery-meter {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: auto;
    max-width: none;
    flex: 1 1 auto;
    min-height: 0;
    padding: clamp(16px, 1.8vw, 24px);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    background: linear-gradient(160deg, #0c1c32, #0a0d14 72%);
}
body.delve-page #features .recovery-meter small { color: #86868b; font-size: .82rem; }
body.delve-page #features .recovery-meter strong {
    margin-top: 3px;
    font-size: clamp(2.1rem, 3.4vw, 2.9rem);
    line-height: 1;
    letter-spacing: -.045em;
}
body.delve-page #features .recovery-meter i {
    height: 7px;
    margin: 12px 0 8px;
    background: rgba(255,255,255,.1);
    border-radius: 999px;
    overflow: hidden;
}
body.delve-page #features .recovery-meter i b {
    display: block;
    width: 72%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #2997ff, #64d2ff);
    box-shadow: 0 0 20px rgba(41,151,255,.6);
}
body.delve-page #features .recovery-meter em { color: #86868b; font-family: inherit; font-size: .78rem; font-style: normal; }

/* Bento collapses to a single column */
@media (max-width: 860px) {
    body.delve-page #features .feature-showcase { grid-template-columns: 1fr; grid-auto-rows: auto; }
    body.delve-page #features .tile-map,
    body.delve-page #features .tile-preview,
    body.delve-page #features .tile-space { grid-column: 1; grid-row: auto; }
    /* map tile stacks: copy above the treemap */
    body.delve-page #features .tile-map { flex-direction: column; align-items: stretch; gap: 0; }
    body.delve-page #features .tile-map .showcase-copy { flex: none; }
    body.delve-page #features .tile-map .showcase-visual { margin-top: clamp(18px, 3vw, 26px); }
    body.delve-page #features .block-cloud { aspect-ratio: 16 / 10; min-height: 230px; }
    body.delve-page #features .preview-stage { min-height: 150px; }
    body.delve-page #features .recovery-meter { min-height: 150px; }
}

@media (max-width: 640px) {
    body.delve-page #features .showcase-card { padding: 26px 22px; border-radius: 22px; }
    body.delve-page #features .showcase-copy h3 { font-size: 1.85rem; }
    /* Coarser treemap so the small cells stay readable on a phone */
    body.delve-page #features .block-cloud {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(6, 1fr);
        aspect-ratio: 1 / 1;
    }
    body.delve-page #features .block-a { grid-column: 1 / 3; grid-row: 1 / 7; }
    body.delve-page #features .block-b { grid-column: 3 / 5; grid-row: 1 / 3; }
    body.delve-page #features .block-c { grid-column: 3 / 5; grid-row: 3 / 5; }
    body.delve-page #features .block-d { grid-column: 3 / 4; grid-row: 5 / 7; }
    body.delve-page #features .block-e { grid-column: 4 / 5; grid-row: 5 / 7; }
    body.delve-page #features .block-d,
    body.delve-page #features .block-e { padding: 13px; font-size: .78rem; }
    body.delve-page #features .block-d b,
    body.delve-page #features .block-e b { font-size: 1.05rem; }
}

/* ============================================================
   FEATURE BENTO — motion. Gated on body.js-anim, which the script
   adds only when the visitor hasn't requested reduced motion. Without
   that class every tile renders in its final state, so no-JS and
   reduced-motion visitors see the full section immediately.
   ============================================================ */

/* Hidden state applies INSTANTLY (no transition) so tiles never flash
   before hiding and offscreen tiles resolve to 0. Only the reveal to
   .is-in is transitioned, lightly staggered. */
body.js-anim #features .showcase-card { opacity: 0; transform: translateY(24px); }
body.js-anim #features .showcase-card.is-in {
    opacity: 1;
    transform: none;
    transition: opacity .6s var(--delve-ease), transform .55s var(--delve-ease), border-color .3s ease;
}
body.js-anim #features .tile-preview.is-in { transition-delay: .07s; }
body.js-anim #features .tile-space.is-in { transition-delay: .14s; }

/* Treemap blocks grow in once the map tile arrives */
body.js-anim #features .tile-map .block { opacity: 0; transform: scale(.94); }
body.js-anim #features .tile-map.is-in .block {
    opacity: 1;
    transform: none;
    transition: opacity .5s ease, transform .55s var(--delve-ease);
}
body.js-anim #features .tile-map.is-in .block-a { transition-delay: .12s; }
body.js-anim #features .tile-map.is-in .block-b { transition-delay: .20s; }
body.js-anim #features .tile-map.is-in .block-c { transition-delay: .28s; }
body.js-anim #features .tile-map.is-in .block-d { transition-delay: .36s; }
body.js-anim #features .tile-map.is-in .block-e { transition-delay: .44s; }

/* Recovery bar fills when its tile arrives */
body.js-anim #features .tile-space .recovery-meter i b { width: 0; }
body.js-anim #features .tile-space.is-in .recovery-meter i b { width: 72%; transition: width 1.1s var(--delve-ease) .3s; }

/* Quiet, always-on halo on the Quick Look play button */
body.js-anim #features .preview-play { animation: delve-pulse 3s ease-in-out infinite; }
@keyframes delve-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,.16); }
    50% { box-shadow: 0 0 0 12px rgba(255,255,255,0); }
}

/* Hover: gentle lift + brighter edge on pointer devices. Only applied to
   already-revealed tiles (or when motion is off), so hover never fights
   the entrance transition or the hidden state. */
@media (hover: hover) {
    body.delve-page:not(.js-anim) #features .showcase-card { transition: transform .4s var(--delve-ease), border-color .3s ease; }
    body.delve-page:not(.js-anim) #features .showcase-card:hover,
    body.js-anim #features .showcase-card.is-in:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.18); }
}
