/* MERIQ whitepaper landing page — layers on meriq.css, which supplies the
   header, hero, content-section, form-field, consent-row and terminal-card
   vocabulary. Only the page-specific pieces live here. */

/* ---- "What is inside" grid ---- */
.wp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0;
    margin-top: 40px;
    border-top: 1px solid var(--jos-border);
}
.wp-item {
    padding: 26px 28px 26px 0;
    border-bottom: 1px solid var(--jos-border);
}
.wp-item-num {
    display: block;
    font-family: var(--jos-font-mono);
    font-size: 12px;
    font-weight: 500;
    color: var(--jos-slate);
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}
.wp-item h3 {
    font-family: var(--jos-font-display);
    font-size: 19px;
    font-weight: 500;
    line-height: 1.25;
    margin: 0 0 8px;
}
.wp-item p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--jos-text-muted);
    margin: 0;
    max-width: none;
}

/* ---- Portfolio terminal ---- */
.wp-terminal { margin-top: 40px; }
.wp-terminal .terminal-output {
    min-height: 0;
    padding: 24px;
    font-size: 12.5px;
    line-height: 1.62;
    overflow-x: auto;
}
/* No live typing here, so no caret. */
.wp-terminal .terminal-output::after { content: none; }
.wp-note {
    margin-top: 28px;
    font-size: 15px;
    line-height: 1.65;
    color: var(--jos-text-muted);
    max-width: 820px;
}

/* ---- Lead-capture form ---- */
.wp-form { margin-top: 8px; }
.wp-grid-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    position: relative;
    max-width: 900px;
}
.wp-form .consent-row { max-width: 900px; }
.wp-form .submit-note { margin-top: 18px; }

/* ---- Success state ---- */
.wp-success {
    max-width: 760px;
    margin-top: 8px;
    padding: 32px 34px;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--jos-radius-md);
}
.wp-success h3 {
    font-family: var(--jos-font-display);
    font-size: 30px;
    font-weight: 300;
    color: var(--jos-white);
    margin: 0 0 12px;
}
.wp-success p { color: rgba(255, 255, 255, 0.8); font-size: 16px; }
.wp-success .jos-button {
    background-color: var(--jos-white);
    color: var(--jos-black);
    display: inline-block;
    text-decoration: none;
    margin: 10px 0 4px;
}
.wp-success .jos-button:hover { opacity: 0.85; }
.wp-success-note {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
}

/* The ask, on the highest-intent screen the visitor will see. */
.wp-next {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.wp-next h4 {
    font-family: var(--jos-font-display);
    font-size: 21px;
    font-weight: 500;
    color: var(--jos-white);
    margin: 0 0 10px;
}
.wp-next p { font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, 0.75); }
.wp-next-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin: 18px 0 14px;
}
.wp-next-secondary {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.wp-next-secondary:hover { color: var(--jos-white); }

@media (max-width: 900px) {
    .wp-item { padding-right: 0; }
}
@media (max-width: 768px) {
    .wp-terminal .terminal-output { font-size: 11px; padding: 18px; }
    .wp-success { padding: 24px 22px; }
}
