/* ==========================================================================
   Analyst report landing pages - shared stylesheet (gated + ungated)
   Scope: .arp-page   |   Token prefix: --arp-

   Used by every analyst report download page. Layout is deliberately short:
   the form / download panel sits in the hero, one information section sits
   below it. The pages never summarise the report itself.

   Pages using this file:
     deep-analysis-papyrus-vendor-profile[-direct].html
     infosource-2026-capture-idp-vendor-matrix[-direct].html

   NOTE: not related to /e15/css/analyst-reports.css, which styles the
   Analyst Reports listing page at /e15/pages/company/analyst-reports.html.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
.arp-page {
    --arp-navy-900: #0f172a;
    --arp-navy-800: #1e293b;

    --arp-teal: #6bb8be;
    --arp-teal-deep: #3d8f96;
    --arp-teal-soft: #eaf5f6;

    --arp-ink: #1f2937;
    --arp-body: #475569;
    --arp-muted: #64748b;

    --arp-surface: #ffffff;
    --arp-surface-alt: #f7fafb;
    --arp-line: #e2e8f0;
    --arp-line-soft: #eef2f6;

    --arp-danger: #c2410c;
    --arp-danger-soft: #fff4ed;
    --arp-success: #157f6b;

    --arp-radius: 14px;
    --arp-radius-sm: 10px;
    --arp-radius-pill: 999px;

    --arp-shadow-sm: 0 2px 6px rgba(15, 23, 42, .06);
    --arp-shadow: 0 10px 30px rgba(15, 23, 42, .09);
    --arp-shadow-lg: 0 28px 60px rgba(15, 23, 42, .22);

    --arp-ease: cubic-bezier(0.4, 0, 0.2, 1);
    --arp-shell: 1180px;
    --arp-gutter: 24px;

    --arp-font-display: 'Montserrat', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    --arp-font-body: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

/* --------------------------------------------------------------------------
   2. Scoped base
   -------------------------------------------------------------------------- */
.arp-page {
    font-family: var(--arp-font-body);
    color: var(--arp-body);
    background: var(--arp-surface);
    -webkit-font-smoothing: antialiased;
    /* `hidden` would make this its own scroll container and give the browser a
       second scrollbar. `clip` contains overflow without creating one; the
       `hidden` line above stays as a fallback for older engines. */
    overflow-x: hidden;
    overflow-x: clip;
}

.arp-page h1,
.arp-page h2,
.arp-page h3 {
    font-family: var(--arp-font-display);
    font-weight: 800;
    color: var(--arp-navy-900);
    letter-spacing: -.015em;
    margin: 0 0 .5em;
    line-height: 1.18;
}

.arp-page p {
    margin: 0 0 1.1em;
    font-size: 17px;
    line-height: 1.72;
}

.arp-page p:last-child {
    margin-bottom: 0;
}

.arp-page a {
    color: var(--arp-teal-deep);
    text-decoration: none;
    transition: color .25s var(--arp-ease);
}

.arp-page a:hover,
.arp-page a:focus {
    color: var(--arp-navy-800);
    text-decoration: underline;
}

.arp-page img {
    max-width: 100%;
    height: auto;
}

.arp-page ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.arp-page *:focus-visible {
    outline: 3px solid var(--arp-teal);
    outline-offset: 3px;
    border-radius: 4px;
}

/* The unlock flow toggles [hidden] - make sure nothing overrides it. */
.arp-page [hidden] {
    display: none !important;
}

/* Grid children must be allowed to shrink below their content width. */
.arp-hero-grid > *,
.arp-intro > * {
    min-width: 0;
}

/* Safety net: if aos.js fails to load, aos.css would leave every animated
   block at opacity 0. AOS stamps .aos-init on init, so until that happens
   the content stays visible. */
.arp-page [data-aos]:not(.aos-init) {
    opacity: 1;
    transform: none;
}

.arp-shell {
    width: 100%;
    max-width: var(--arp-shell);
    margin: 0 auto;
    padding: 0 var(--arp-gutter);
}

.arp-skip-link {
    position: absolute;
    top: -60px;
    left: 16px;
    z-index: 9999;
    padding: 12px 20px;
    background: var(--arp-navy-900);
    color: #fff;
    font-weight: 700;
    border-radius: 0 0 var(--arp-radius-sm) var(--arp-radius-sm);
    transition: top .2s var(--arp-ease);
}

.arp-skip-link:focus {
    top: 0;
    color: #fff;
    text-decoration: none;
}

/* --------------------------------------------------------------------------
   3. Hero - holds the form / download panel
   -------------------------------------------------------------------------- */
.arp-hero {
    position: relative;
    background: linear-gradient(100deg, var(--arp-navy-900) 0%, var(--arp-navy-800) 46%, var(--arp-teal-deep) 100%);
    color: #e6eef2;
    padding: 62px 0 74px;
    isolation: isolate;
}

.arp-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(760px 420px at 88% 12%, rgba(107, 184, 190, .38), transparent 62%),
        radial-gradient(520px 320px at 6% 92%, rgba(107, 184, 190, .16), transparent 60%);
    z-index: -1;
}

.arp-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 470px);
    gap: 56px;
    align-items: center;
}

.arp-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 13px;
    color: rgba(230, 238, 242, .72);
}

.arp-breadcrumb a {
    color: rgba(230, 238, 242, .88);
}

.arp-breadcrumb a:hover,
.arp-breadcrumb a:focus {
    color: #fff;
}

.arp-breadcrumb .arp-sep {
    opacity: .45;
}

.arp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 15px;
    border-radius: var(--arp-radius-pill);
    background: rgba(107, 184, 190, .18);
    border: 1px solid rgba(107, 184, 190, .45);
    color: #d7f0f2;
    font-family: var(--arp-font-display);
    font-weight: 700;
    font-size: 11.5px;
    letter-spacing: .13em;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.arp-hero h1 {
    color: #fff;
    font-size: clamp(1.9rem, 3.4vw, 2.75rem);
    margin: 20px 0 16px;
}

/* Owlfie brand gradient - the same one used for the Owlfie site logo.
   Solid teal is the fallback for engines without background-clip: text,
   otherwise the word would render invisible. */
.arp-hero h1 .arp-hl {
    color: var(--arp-teal);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .arp-hero h1 .arp-hl {
        background-image: linear-gradient(135deg, #368738 0%, #6cb9bf 35%, #0094c1 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
        /* stops descenders being clipped by the painted box */
        padding-bottom: .06em;
    }
}

.arp-hero-lede {
    font-size: 18px;
    line-height: 1.65;
    color: rgba(230, 238, 242, .9);
    max-width: 34em;
    margin-bottom: 0;
}

/* Cover + facts row ----------------------------------------------------- */
.arp-hero-doc {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-top: 34px;
}

.arp-hero-cover {
    position: relative;
    flex: 0 0 168px;
}

.arp-cover-frame {
    display: block;
    border-radius: var(--arp-radius-sm);
    overflow: hidden;
    box-shadow: var(--arp-shadow-lg);
    background: #fff;
}

.arp-cover-frame img {
    display: block;
    width: 100%;
}

.arp-cover-seal {
    position: absolute;
    right: -18px;
    bottom: -14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: var(--arp-teal-deep);
    color: #ffffff;
    font-family: var(--arp-font-display);
    font-weight: 800;
    text-align: center;
    line-height: 1.1;
    box-shadow: 0 10px 22px rgba(15, 23, 42, .34);
}

.arp-cover-seal .arp-seal-top {
    font-size: 16px;
}

.arp-cover-seal .arp-seal-bottom {
    font-size: 8px;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: #ffffff;
}

.arp-meta {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.arp-meta li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14.5px;
    color: rgba(230, 238, 242, .92);
}

.arp-meta li i {
    flex: 0 0 16px;
    color: var(--arp-teal);
    font-size: 14px;
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.arp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 30px;
    border: 1px solid transparent;
    border-radius: var(--arp-radius-pill);
    font-family: var(--arp-font-display);
    font-weight: 800;
    font-size: 15.5px;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    transition: transform .25s var(--arp-ease), box-shadow .25s var(--arp-ease), background-color .25s var(--arp-ease), color .25s var(--arp-ease);
}

/* Raised specificity so the global link styles cannot put an underline back
   on a button. */
.arp-page a.da-btn,
.arp-page a.da-btn:hover,
.arp-page a.da-btn:focus,
.arp-btn:hover,
.arp-btn:focus {
    text-decoration: none;
}

.arp-btn:hover,
.arp-btn:focus {
    transform: translateY(-2px);
}

/* White label, so the fill is the deeper brand teal to keep it readable. */
.arp-page .arp-btn-primary,
.arp-btn-primary {
    background: var(--arp-teal-deep);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(61, 143, 150, .34);
}

.arp-page .arp-btn-primary:hover,
.arp-page .arp-btn-primary:focus,
.arp-btn-primary:hover,
.arp-btn-primary:focus {
    background: #47a1a8;
    color: #ffffff;
    box-shadow: 0 16px 32px rgba(61, 143, 150, .44);
}

.arp-btn-block {
    width: 100%;
}

.arp-btn[disabled],
.arp-btn.is-busy {
    opacity: .62;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.arp-btn .arp-spinner {
    display: none;
    width: 17px;
    height: 17px;
    border: 2.5px solid rgba(255, 255, 255, .35);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: da-spin .7s linear infinite;
}

.arp-btn.is-busy .arp-spinner {
    display: inline-block;
}

.arp-btn.is-busy .arp-btn-icon {
    display: none;
}

@keyframes da-spin {
    to {
        transform: rotate(360deg);
    }
}

/* --------------------------------------------------------------------------
   5. Panel - form and download states
   -------------------------------------------------------------------------- */
.arp-panel {
    position: relative;
    background: #fff;
    border-radius: var(--arp-radius);
    padding: 36px 36px 32px;
    box-shadow: var(--arp-shadow-lg);
    color: var(--arp-body);
}

.arp-panel.is-unlocked,
.arp-panel-flush {
    padding: 0;
}

.arp-panel h3 {
    font-size: 21px;
    margin-bottom: 14px;
}

/* Everything on the white card stays dark, whatever it inherits. */
.arp-page .arp-panel p,
.arp-page .arp-panel .arp-required-note,
.arp-page .arp-panel .arp-privacy {
    color: var(--arp-ink);
}

/* Links inside the white card stay dark on hover. Buttons are excluded so
   they keep their white-on-teal treatment. */
.arp-page .arp-panel a:not(.arp-btn):hover,
.arp-page .arp-panel a:not(.arp-btn):focus {
    color: var(--arp-navy-900);
}

.arp-required-note {
    font-size: 13px;
    color: var(--arp-muted);
    margin: 0 0 20px;
}

.arp-req {
    color: var(--arp-danger);
    font-weight: 700;
}

/* Fields ---------------------------------------------------------------- */
.arp-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.arp-field {
    display: flex;
    flex-direction: column;
}

.arp-field-wide {
    grid-column: 1 / -1;
}

.arp-field label {
    font-family: var(--arp-font-display);
    font-weight: 700;
    font-size: 12.5px;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--arp-navy-800);
    margin-bottom: 7px;
}

.arp-field input[type="text"],
.arp-field input[type="email"] {
    width: 100%;
    height: 50px;
    padding: 0 15px;
    font-family: var(--arp-font-body);
    font-size: 15.5px;
    color: var(--arp-ink);
    background: #fff;
    border: 1.5px solid var(--arp-line);
    border-radius: var(--arp-radius-sm);
    box-shadow: none;
    transition: border-color .22s var(--arp-ease), box-shadow .22s var(--arp-ease), background-color .22s var(--arp-ease);
}

.arp-field input::placeholder {
    color: #a4b0bf;
}

.arp-field input:hover {
    border-color: #cbd5e1;
}

.arp-field input:focus {
    outline: none;
    border-color: var(--arp-teal);
    box-shadow: 0 0 0 4px rgba(107, 184, 190, .2);
}

.arp-field.is-invalid input {
    border-color: var(--arp-danger);
    background: var(--arp-danger-soft);
}

.arp-field.is-invalid input:focus {
    box-shadow: 0 0 0 4px rgba(194, 65, 12, .16);
}

.arp-error {
    display: none;
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.45;
    color: var(--arp-danger);
}

.arp-field.is-invalid .arp-error {
    display: block;
}

/* Consent --------------------------------------------------------------- */
.arp-consent {
    grid-column: 1 / -1;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 2px;
    padding: 15px 17px;
    background: var(--arp-surface-alt);
    border: 1px solid var(--arp-line-soft);
    border-radius: var(--arp-radius-sm);
}

.arp-consent input[type="checkbox"] {
    flex: 0 0 auto;
    width: 19px;
    height: 19px;
    margin: 2px 0 0;
    accent-color: var(--arp-teal-deep);
    cursor: pointer;
}

.arp-consent label {
    margin: 0;
    font-family: var(--arp-font-body);
    font-size: 13.5px;
    line-height: 1.55;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    color: var(--arp-body);
    cursor: pointer;
}

/* reCAPTCHA ------------------------------------------------------------- */
.arp-captcha {
    grid-column: 1 / -1;
}

/* Reserve the widget height up front - without this the card jumps when the
   reCAPTCHA iframe finishes loading. */
.arp-captcha-box {
    min-height: 78px;
}

.arp-captcha-box .g-recaptcha {
    transform-origin: 0 0;
}

.arp-privacy {
    grid-column: 1 / -1;
    margin: 2px 0 0;
    font-size: 12.5px;
    line-height: 1.6;
}

.arp-actions {
    grid-column: 1 / -1;
    margin-top: 2px;
}

/* Form-level alert ------------------------------------------------------ */
.arp-alert {
    display: none;
    gap: 11px;
    align-items: flex-start;
    margin-bottom: 22px;
    padding: 14px 16px;
    border-radius: var(--arp-radius-sm);
    background: var(--arp-danger-soft);
    border: 1px solid rgba(194, 65, 12, .28);
    color: #8a3208;
    font-size: 14.5px;
    line-height: 1.55;
}

.arp-alert.is-visible {
    display: flex;
}

.arp-alert i {
    margin-top: 3px;
}

/* Honeypot -------------------------------------------------------------- */
.arp-hp {
    position: absolute !important;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* --------------------------------------------------------------------------
   6. Unlocked / direct download states
   -------------------------------------------------------------------------- */
.arp-unlocked {
    display: none;
    text-align: center;
    padding: 40px 36px 34px;
}

.arp-unlocked.is-visible {
    display: block;
    animation: da-rise .5s var(--arp-ease) both;
}

@keyframes da-rise {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.arp-direct {
    text-align: center;
    padding: 40px 36px 36px;
}

.arp-tick {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: var(--arp-teal-soft);
    color: var(--arp-success);
    font-size: 27px;
}

.arp-direct .arp-tick {
    color: var(--arp-teal-deep);
}

.arp-unlocked h3,
.arp-direct h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.arp-unlocked > p,
.arp-direct > p {
    font-size: 15.5px;
    max-width: 30em;
    margin: 0 auto 24px;
}

.arp-file {
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
    margin: 0 0 22px;
    padding: 16px 18px;
    background: var(--arp-surface-alt);
    border: 1px solid var(--arp-line);
    border-radius: var(--arp-radius-sm);
}

.arp-file i {
    font-size: 26px;
    color: var(--arp-teal-deep);
}

.arp-file-name {
    display: block;
    font-family: var(--arp-font-display);
    font-weight: 700;
    font-size: 14.5px;
    color: var(--arp-navy-900);
    line-height: 1.35;
}

.arp-file-meta {
    display: block;
    font-size: 12.5px;
    color: var(--arp-muted);
    margin-top: 2px;
}

/* --------------------------------------------------------------------------
   7. About section
   -------------------------------------------------------------------------- */
.arp-section {
    padding: 68px 0;
}

.arp-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 52px;
    align-items: start;
}

.arp-kicker {
    display: block;
    font-family: var(--arp-font-display);
    font-weight: 800;
    font-size: 11.5px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--arp-teal-deep);
    margin-bottom: 12px;
}

.arp-intro h2 {
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    margin-bottom: 14px;
}

.arp-topics {
    margin-top: 24px;
}

.arp-topics li {
    display: flex;
    gap: 13px;
    padding: 12px 0;
    border-top: 1px solid var(--arp-line-soft);
    font-size: 16px;
    line-height: 1.5;
    color: var(--arp-ink);
}

.arp-topics li:first-child {
    border-top: 0;
    padding-top: 0;
}

.arp-topics li i {
    flex: 0 0 auto;
    margin-top: 5px;
    color: var(--arp-teal-deep);
    font-size: 13px;
}

.arp-intro-side {
    background: linear-gradient(160deg, var(--arp-teal-soft), #ffffff);
    border: 1px solid var(--arp-line);
    border-radius: var(--arp-radius);
    padding: 30px 32px;
    box-shadow: var(--arp-shadow-sm);
}

.arp-intro-side h3 {
    font-size: 17px;
    margin-bottom: 18px;
}

.arp-facts li {
    display: flex;
    gap: 14px;
    padding: 13px 0;
    border-top: 1px solid rgba(15, 23, 42, .08);
    font-size: 15.5px;
    line-height: 1.55;
    color: var(--arp-ink);
}

.arp-facts li:first-child {
    border-top: 0;
    padding-top: 0;
}

.arp-facts li:last-child {
    padding-bottom: 0;
}

.arp-facts .arp-fact-label {
    flex: 0 0 100px;
    font-family: var(--arp-font-display);
    font-weight: 700;
    font-size: 11.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--arp-muted);
    padding-top: 3px;
}

.arp-closing {
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px solid var(--arp-line);
    font-size: 15.5px;
    color: var(--arp-muted);
}

/* --------------------------------------------------------------------------
   8. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .arp-hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
        gap: 40px;
    }

    .arp-intro {
        gap: 38px;
    }
}

@media (max-width: 900px) {
    .arp-hero {
        padding: 46px 0 56px;
    }

    .arp-hero-grid,
    .arp-intro {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
    }

    .arp-section {
        padding: 52px 0;
    }

    .arp-panel {
        padding: 30px 24px 28px;
    }

    .arp-unlocked,
    .arp-direct {
        padding: 32px 24px 30px;
    }
}

@media (max-width: 620px) {
    .arp-page {
        --arp-gutter: 18px;
    }

    .arp-fields {
        grid-template-columns: minmax(0, 1fr);
    }

    .arp-hero-doc {
        gap: 20px;
    }

    .arp-hero-cover {
        flex: 0 0 128px;
    }

    .arp-cover-seal {
        width: 52px;
        height: 52px;
        right: -12px;
    }

    .arp-cover-seal .arp-seal-top {
        font-size: 14px;
    }

    .arp-meta li {
        font-size: 13.5px;
    }

    .arp-facts li {
        flex-direction: column;
        gap: 4px;
    }

    .arp-facts .arp-fact-label {
        flex: none;
        padding-top: 0;
    }
}

/* The reCAPTCHA widget has a fixed 304px width. Below this the card is
   narrower, so scale it and reserve the scaled height on its own wrapper -
   the error message sits outside and stays readable. */
@media (max-width: 430px) {
    .arp-captcha-box {
        min-height: 0;
        height: 62px;
    }

    .arp-captcha-box .g-recaptcha {
        transform: scale(.79);
    }
}

/* --------------------------------------------------------------------------
   9. Motion & print
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {

    .arp-page *,
    .arp-page *::before,
    .arp-page *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}

@media print {

    .arp-skip-link,
    .arp-panel {
        display: none !important;
    }

    .arp-hero {
        background: #fff;
        color: #000;
    }

    .arp-hero h1 {
        color: #000;
    }
}
