/* Quantum Intelligence landing page — builds on assets/styles/jos.css; mirrors meriq.css /
   shor.css / risk.css patterns. Self-contained rather than importing meriq.css, so this section
   does not inherit changes made for the scorer. */

body {
    display: flex;
    justify-content: center;
    background-color: var(--jos-paper);
}
.container {
    width: 100%;
    max-width: 1200px;
    background-color: var(--jos-white);
    border: 1px solid var(--jos-border);
}

/* ---- Header ---- */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    background-color: var(--jos-charcoal);
    color: var(--jos-white);
}
.header .logo { display: inline-flex; align-items: center; }
.header .logo img { height: 44px; }
.navbar_made-in-germany { display: flex; margin-left: 12px; }
.navbar_germany-image { width: 4px; margin-right: 8px; }
.navbar_germany-text {
    margin-top: 12px; font-weight: 500; font-size: 10px;
    line-height: 1; letter-spacing: 0.08em; color: var(--jos-white);
}
.header .links { display: flex; align-items: center; gap: 24px; }
.header .links a {
    color: var(--jos-white); text-decoration: none; font-weight: 500;
    font-size: 14px; display: inline-flex; align-items: center;
    transition: opacity var(--jos-transition);
}
.header .links a.nav-link {
    text-transform: uppercase; letter-spacing: 0.1em; font-size: 12px; font-weight: 600;
}
.header .links a:hover { opacity: 0.65; }
.header .links a i { font-size: 20px; }
.header .links a.nav-link--active {
    text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px;
}

/* ---- Hero ---- */
.hero {
    background-color: var(--jos-charcoal);
    color: var(--jos-white);
    padding: 96px 64px 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.hero h1 {
    color: var(--jos-white); font-size: 60px; font-weight: 300;
    line-height: 1.05; letter-spacing: -0.015em; margin: 16px 0 24px; max-width: 900px;
}
.hero-sub { font-size: 20px; color: rgba(255, 255, 255, 0.78); max-width: 760px; margin: 0; }
.hero-callout {
    max-width: 760px; margin: 56px 0 0; padding: 18px 22px;
    font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, 0.7);
    background-color: rgba(255, 255, 255, 0.05);
    border-left: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}
.hero-callout strong { color: rgba(255, 255, 255, 0.92); font-weight: 500; }
.hero-callout a { color: rgba(255, 255, 255, 0.92); }
.hero-callout-tag {
    display: inline-block; margin-right: 10px;
    font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
}
/* Language switch + existing-customer sign-in, side by side above the headline. */
.qi-toplinks {
    display: flex; flex-wrap: wrap; gap: 20px; align-items: baseline;
    margin: 0 0 4px; font-family: var(--jos-font-mono); font-size: 13px;
}
.qi-toplinks a { color: rgba(255, 255, 255, 0.75); }
.qi-toplinks a:hover { color: var(--jos-white); }

/* ---- Content sections ---- */
.content-section { padding: 80px 64px; background-color: var(--jos-white); }
.content-section--paper {
    background-color: var(--jos-paper);
    border-top: 1px solid var(--jos-border);
    border-bottom: 1px solid var(--jos-border);
}
.content-section--dark { background-color: var(--jos-charcoal); color: var(--jos-white); }
.content-section--dark h2 { color: var(--jos-white); }
.content-section--dark p { color: rgba(255, 255, 255, 0.8); }
.content-section--dark .lede { color: rgba(255, 255, 255, 0.7); }
.content-section--dark a { color: rgba(255, 255, 255, 0.9); }
.content-section h2 { margin: 0 0 24px; max-width: 900px; }
.content-section p { max-width: 780px; font-size: 17px; line-height: 1.65; }
.content-section .lede { color: var(--jos-text-muted); font-size: 17px; margin-bottom: 32px; }

/* ---- Module grid ---- */
.qi-grid {
    display: grid; gap: 28px 32px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin-top: 8px;
}
.qi-item { border-top: 2px solid var(--jos-black); padding-top: 18px; }
.qi-item h3 {
    font-family: var(--jos-font-display); font-size: 20px; font-weight: 500;
    margin: 0 0 10px; color: var(--jos-black);
}
.qi-item p { font-size: 15px; line-height: 1.6; color: var(--jos-text-muted); margin: 0; max-width: none; }
.qi-item-tag {
    display: block; font-family: var(--jos-font-mono); font-size: 11px;
    letter-spacing: 0.08em; text-transform: uppercase; color: var(--jos-slate);
    margin-bottom: 6px;
}

/* ---- Terminal sample (reused motif: a real extract, not a mockup) ---- */
.terminal-card {
    background-color: var(--jos-charcoal);
    border: 1px solid var(--jos-black);
    border-radius: var(--jos-radius-md);
    overflow: hidden;
    margin-top: 8px;
}
.terminal-titlebar {
    display: flex; align-items: center; gap: 8px;
    padding: 11px 16px;
    background-color: #0a0a0a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.term-dot {
    width: 10px; height: 10px; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.28);
}
.term-title {
    margin-left: 8px; font-family: var(--jos-font-mono); font-size: 12px;
    color: var(--jos-slate); letter-spacing: 0.02em;
}
.terminal-body { padding: 22px 24px; overflow-x: auto; }
.terminal-output {
    margin: 0;
    font-family: var(--jos-font-mono); font-size: 13px; line-height: 1.7;
    color: rgba(255, 255, 255, 0.9); white-space: pre; tab-size: 2;
}
.qi-note {
    margin-top: 24px; font-size: 15px; line-height: 1.65;
    color: var(--jos-text-muted); max-width: 820px;
}
.qi-note strong { color: var(--jos-black); }

/* ---- Conventions list ---- */
.qi-rules { list-style: none; padding: 0; margin: 0; max-width: 860px; }
.qi-rules li {
    padding: 16px 0; border-top: 1px solid var(--jos-border);
    font-size: 15px; line-height: 1.65;
}
.qi-rules li:last-child { border-bottom: 1px solid var(--jos-border); }
.qi-rules strong { color: var(--jos-black); font-weight: 600; }
.qi-rules .mono { font-family: var(--jos-font-mono); font-size: 13px; }

/* ---- Access request form (dark section) ---- */
.submit-form { max-width: 820px; }
.submit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; margin-top: 8px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field > label {
    font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
    text-transform: uppercase; color: rgba(255, 255, 255, 0.75);
}
.field > label .opt { text-transform: none; letter-spacing: 0; font-weight: 400; color: rgba(255, 255, 255, 0.45); }
.field input, .field select, .field textarea {
    font-family: var(--jos-font-mono); font-size: 13px;
    padding: 10px 12px; border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--jos-radius-sm); background: rgba(255, 255, 255, 0.06);
    color: var(--jos-white); line-height: 1.5;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, 0.35); }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: rgba(255, 255, 255, 0.7);
}
.field textarea { resize: vertical; }
.char-count { font-family: var(--jos-font-mono); font-size: 11px; color: rgba(255, 255, 255, 0.4); align-self: flex-end; }
/* Honeypot: off-screen rather than display:none, because some bots skip hidden inputs. */
.hp-field { position: absolute; left: -9999px; top: 0; height: 1px; overflow: hidden; }

.consent-row {
    display: flex; gap: 12px; align-items: flex-start;
    margin-top: 20px; padding: 16px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--jos-radius-sm);
}
.consent-row input[type="checkbox"] {
    flex: 0 0 auto; width: 16px; height: 16px; margin-top: 3px; accent-color: #FFFFFF;
}
.consent-row label { font-size: 13px; line-height: 1.55; color: rgba(255, 255, 255, 0.75); }
.consent-row label b { color: var(--jos-white); font-weight: 600; }
.consent-row label a { color: var(--jos-white); }

.submit-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 24px; }
.submit-actions .jos-button:disabled { opacity: 0.4; cursor: not-allowed; }
.form-status { font-family: var(--jos-font-mono); font-size: 13px; line-height: 1.6; color: rgba(255, 255, 255, 0.7); }
.form-status.is-ok { color: #FFFFFF; }
.form-status.is-error { color: #ff8a80; }
.form-status a { color: var(--jos-white); }
.submit-note { font-size: 13px; color: rgba(255, 255, 255, 0.55); max-width: 780px; margin-top: 22px; line-height: 1.6; }

.qi-success { max-width: 820px; }
.qi-success h3 { color: var(--jos-white); font-size: 26px; font-weight: 400; margin: 0 0 12px; }
.qi-success p { color: rgba(255, 255, 255, 0.8); font-size: 16px; line-height: 1.65; }
.qi-success-note { font-size: 13px; color: rgba(255, 255, 255, 0.55); }

/* ---- Privacy section ---- */
.privacy-list { list-style: none; padding: 0; margin: 0; max-width: 820px; counter-reset: privacy; }
.privacy-list li {
    padding: 16px 0 16px 44px; border-top: 1px solid var(--jos-border);
    font-size: 15px; line-height: 1.6; color: var(--jos-text); position: relative;
    counter-increment: privacy;
}
.privacy-list li::before {
    content: counter(privacy);
    position: absolute; left: 0; top: 16px;
    font-family: var(--jos-font-mono); font-size: 13px; color: var(--jos-slate);
    width: 28px; text-align: right;
}
.privacy-list li:last-child { border-bottom: 1px solid var(--jos-border); }
.privacy-list b { color: var(--jos-black); font-weight: 600; }

/* ---- Caveats ---- */
.caveats { max-width: 860px; padding-left: 22px; }
.caveats li { font-size: 15px; line-height: 1.65; margin-bottom: 14px; }
.caveats strong { font-weight: 600; color: var(--jos-black); }

/* ---- Footer ---- */
.footer {
    background-color: var(--jos-charcoal); color: var(--jos-white);
    padding: 32px; text-align: center; font-size: 13px;
}
.footer a { color: var(--jos-white); text-decoration: underline; text-underline-offset: 3px; }
.footer a:hover { opacity: 0.65; }
.footer .footer-meta { color: var(--jos-slate); margin-top: 8px; }

/* ---- Responsive ---- */
@media (max-width: 870px) {
    .navbar_germany-text { font-size: 9px; }
    .header .logo img { height: 32px; }
    .header .links { gap: 14px; }
    .header .links a.nav-link { font-size: 11px; }
    .header { padding: 16px 20px; }
}
@media (max-width: 768px) {
    .hero { padding: 64px 24px 56px; }
    .hero h1 { font-size: 40px; }
    .hero-sub { font-size: 17px; }
    .content-section { padding: 56px 24px; }
    .submit-grid { grid-template-columns: 1fr; }
    .terminal-output { font-size: 11px; }
}
@media (max-width: 480px) {
    .header .links a:not(.nav-link) i { font-size: 18px; }
    .navbar_made-in-germany { display: none; }
    .hero h1 { font-size: 32px; }
}
