/* MARQORA V3 · shared colour roles and homepage adaptation.
   Loaded after the existing, unchanged public stylesheets.
   The legacy --green name remains an alias for compatibility only. */
:root {
  --ink: #142f40;
  --navy: #122d3c;
  --lightblue: #9ed9e1;
  --action: #086b8a;
  --action-hover: #07566f;
  --paper: #f6f8fa;
  --surface: #ffffff;
  --muted: #52636d;
  --line: #d7e0e5;
  --soft: #e4f2f8;
  --positive: #086b8a;
  --positive-bg: #e4f2f8;
  --risk: #8a4b0f;
  --risk-bg: #fff3de;
  --green: var(--action);
  --deep: var(--navy);
  --bg: var(--paper);
  --white: var(--surface);
  --radius: 16px;
  color: var(--ink);
  background: var(--surface);
  color-scheme: light;
}
.personal-preview { --line: #d7e0e5; background: var(--surface); color: var(--ink); font: 16px/1.6 "Segoe UI", Arial, sans-serif; }
.wrap { max-width: 1200px; width: calc(100% - 48px); }
.personal-preview :is(button, a, input, summary):focus-visible { outline: 3px solid var(--action); outline-offset: 4px; }
.personal-preview a { text-underline-offset: 4px; }
.skip-link:not(:focus) { clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
.personal-preview .eyebrow { font-size: 14px; letter-spacing: .075em; color: var(--action); }
.personal-preview h1, .personal-preview h2, .personal-preview h3 { letter-spacing: -.035em; }
.button { min-height: 48px; padding: 12px 18px; border-color: var(--action); border-radius: 9px; background: var(--action); color: white; font-size: 16px; font-weight: 650; }
.button:hover { background: var(--action-hover); border-color: var(--action-hover); }
.button.secondary { background: var(--surface); border-color: var(--line); color: var(--action); }
.button.secondary:hover { background: var(--soft); border-color: #afcbd7; }
.personal-preview .badge { border-color: var(--line); background: var(--soft); color: var(--action); font-size: 14px; line-height: 1.45; }
.personal-preview .plain-note { color: var(--muted); }
.beta-notice { background: var(--soft); border-color: var(--line); color: var(--ink); }
.beta-notice-inner { padding-block: 9px; gap: 12px 28px; font-size: 14px; }
.beta-notice a, .beta-account-note a { color: var(--action); }
.personal-preview .site-header { min-height: 94px; gap: 24px; }
.site-header .brand { color: var(--navy); gap: 10px; }
.site-header .brand span { font-size: 24px; font-weight: 750; letter-spacing: .055em; }
.site-header .brand img { width: 38px; height: 38px; }
.site-header nav { gap: 21px; font-size: 14px; }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); }
.site-header nav a:hover { color: var(--action); }
.site-header .header-login { min-height: 44px; background: var(--surface); color: var(--action); border-color: var(--line); border-radius: 9px; }
.site-header .header-login:hover { background: var(--soft); border-color: #afcbd7; }
.menu-toggle { min-width: 44px; min-height: 44px; background: var(--surface); border-color: var(--line); color: var(--ink); }

/* Keep the real introduction and both independent video players. */
.personal-preview.beginner-homepage .hero {
  width: 100%; max-width: none; margin: 0;
  grid-template-columns: 1.08fr 1fr; gap: clamp(34px, 5vw, 70px);
  padding: 60px max(24px, calc((100% - 1200px) / 2)) 58px;
  align-items: center; background: var(--navy); color: white;
}
.personal-preview .hero-copy { padding-top: 0; min-width: 0; }
.personal-preview .hero-copy .eyebrow { color: var(--lightblue); }
.personal-preview .hero h1 { color: white; font-size: clamp(42px, 4.65vw, 64px); font-weight: 680; line-height: 1.08; letter-spacing: -.05em; margin: 23px 0 24px; }
.personal-preview .hero h1 span { color: var(--lightblue); }
.personal-preview .hero-copy .hero-intro { color: #dde7ec; font-size: 20px; font-weight: 400; line-height: 1.6; max-width: 550px; margin-top: 0; }
.personal-preview .hero-copy .hero-intro strong { color: white; font-weight: 600; }
.personal-preview .hero-copy .hero-result { color: #dde7ec; font-size: 17px; line-height: 1.65; max-width: 535px; margin-top: 20px; }
.personal-preview .hero .actions { margin-top: 28px; gap: 12px; }
.personal-preview .hero .start-button { min-height: 54px; background: white; border-color: white; color: var(--navy); font-size: 16px; font-weight: 700; }
.personal-preview .hero .start-button:hover { background: var(--soft); border-color: var(--soft); }
.personal-preview .hero .button.secondary { min-height: 54px; background: transparent; border-color: #7e9ba9; color: white; }
.personal-preview .hero .button.secondary:hover { background: #244555; border-color: var(--lightblue); }
.personal-preview .hero-copy .start-conditions { max-width: 490px; color: #dde7ec; font-size: 14px; line-height: 1.65; margin-top: 18px; }
.personal-preview .hero .account-login { color: #dde7ec; font-size: 16px; line-height: 1.6; margin-top: 15px; }
.personal-preview .hero .account-login a { color: var(--lightblue); }
.personal-preview .hero-copy :is(button, a, input, summary):focus-visible { outline-color: white; }
.personal-preview .hero .market-glance { gap: 9px; margin-top: 22px; font-size: 14px; }
.personal-preview .hero .market-glance a { min-height: 44px; padding: 8px 12px; background: #244555; color: white; border-color: #597582; font-size: 14px; border-radius: 8px; }
.personal-preview .hero .market-glance a:last-child { background: transparent; color: #dde7ec; border-color: #597582; }
.personal-preview.beginner-homepage .hero > .hero-video { padding: 24px; min-width: 0; border: 1px solid #e2ebef; border-radius: 18px; background: white; color: var(--ink); box-shadow: 0 24px 60px #05172333; }
.personal-preview.beginner-homepage .hero > .hero-video .video-intro h2 { margin: 10px 0 12px; font-size: 28px; line-height: 1.2; color: var(--ink); }
.personal-preview .hero .hero-video .eyebrow { color: var(--action); }
.personal-preview .hero .video-duration { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.video-shell { background: var(--paper); border-color: var(--line); border-radius: 12px; }
.video-launch { background: var(--action); border-color: white; box-shadow: 0 5px 20px #142f4035; }
.video-launch:hover { background: var(--action-hover); }
.video-shell video::cue { background: #122d3ce6; color: white; }
.video-caption, .video-duration, .hero-video .video-description { color: var(--muted); font-size: 14px; }
.video-caption a, .caption-toggle, .video-pause, .video-description a { color: var(--action); }
.personal-preview .hero-video .video-description { margin-top: 13px; font-size: 15px; }
.personal-preview .prominent-explainer { padding-block: 48px; margin: 0 auto; border-top: 0; border-bottom: 1px solid var(--line); gap: 65px; grid-template-columns: .85fr 1.15fr; }
.personal-preview .prominent-explainer h2 { font-size: 35px; font-weight: 650; line-height: 1.2; margin: 14px 0 20px; }
.personal-preview .prominent-explainer .video-description { font-size: 17px; color: var(--muted); }

/* Existing interactive demonstration, recoloured without changing behaviour. */
.personal-preview .demo-section { padding-block: 64px; }
.demo-heading { gap: 50px; margin-bottom: 32px; }
.demo-heading h2 { font-size: 40px; font-weight: 650; line-height: 1.18; }
.demo-heading > p { max-width: 380px; color: var(--muted); font-size: 17px; }
.demo-shell { border-color: var(--line); border-radius: 16px; background: var(--surface); box-shadow: 0 12px 40px #142f4007; }
.demo-guide { background: var(--paper); padding: 25px 22px; }
.demo-guide .badge { background: var(--soft); color: var(--action); font-size: 14px; padding: 8px 10px; }
.demo-tabs button { border-left-color: var(--line); color: var(--ink); }
.demo-tabs button:hover { background: var(--soft); }
.demo-tabs button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); border-left-color: var(--lightblue); color: white; box-shadow: none; }
.demo-tabs .demo-step { color: var(--action); font-size: 17px; }
.demo-tabs button > span:last-child { color: var(--muted); }
.demo-tabs button[aria-selected="true"] .demo-step { color: var(--lightblue); }
.demo-tabs button[aria-selected="true"] > span:last-child { color: #dde7ec; }
.demo-boundary, .demo-footnote, .demo-company-list span, .change-line > span, .change-judgments span { color: var(--muted); font-size: 14px; }
.demo-status { color: var(--action); }
.demo-content { padding: 28px; }
.demo-content label { font-size: 16px; }
.demo-content input { border-color: #a8bdc9; background: white; color: var(--ink); min-height: 48px; }
.demo-content .product-top { border-color: var(--line); background: white; font-size: 14px; }
.demo-save { min-height: 44px; border-color: var(--line); background: white; color: var(--action); font-size: 14px; }
.demo-save[aria-pressed="true"] { background: var(--soft); border-color: var(--action); color: var(--action); }
.personal-preview .company-initial { background: var(--soft); color: var(--action); }
.demo-content .company-title .eyebrow { font-size: 14px; letter-spacing: .035em; }
.demo-content .assessment { background: var(--soft); border: 1px solid #c8dfeb; padding: 22px; }
.demo-content .assessment .tiny-label { color: var(--action); font-size: 14px; }
.demo-content .assessment h4 { color: var(--ink); font-size: 26px; font-weight: 650; }
.demo-content .assessment p, .demo-content .source-body p, .demo-company-list p { font-size: 16px; color: var(--muted); }
.demo-content .hero-metrics span, .demo-content .hero-metrics small, .demo-content .card-dates, .demo-content .card-dates strong { color: var(--muted); font-size: 14px; }
.demo-content .card-dates { border-color: var(--line); }
.demo-content .reason-row p { color: var(--muted); font-size: 16px; }
.reason-sign.risk { background: var(--risk-bg); color: var(--risk); }
.word-help summary, .source-details summary { color: var(--action); }
.word-help p, .source-details { background: var(--paper); }
.word-help p { font-size: 15px; }
.demo-watch-state { background: var(--paper); color: var(--ink); }
.change-line { border-left-color: var(--line); }
.change-line.current { border-left-color: var(--action); }
.change-judgments article { border-color: var(--action); }
.change-judgments article + article { border-color: var(--risk); }
.demo-risk { background: var(--risk-bg); color: var(--risk); font-size: 16px; }
.demo-detail-links a { min-height: 44px; color: var(--action); }
.real-example-link > span { color: var(--muted); }

/* Preserve every existing information, access, pricing and legal section. */
.personal-preview .section { padding-block: 60px; }
.personal-preview .section-heading { gap: 50px; margin-bottom: 32px; }
.personal-preview .section-heading h2 { max-width: 560px; font-size: 38px; font-weight: 650; line-height: 1.2; }
.personal-preview .section-heading > p { color: var(--muted); font-size: 17px; }
.personal-preview #pruefungen { width: calc(100% - 48px); max-width: 1200px; padding-block: 38px; border-color: var(--line); }
.personal-preview #pruefungen .section-heading h2 { font-size: 34px; }
.preview-details, .preview-details[open] > summary, .offer-terms, .faq-list, .faq-list details { border-color: var(--line); }
.preview-details > summary, .beginner-homepage .beginner-videos > details > summary { color: var(--action); }
.checks-grid article { background: white; border-color: var(--line); }
.checks-grid .service-label { font-size: 14px; color: var(--action); }
.price-explainer { background: var(--paper); border-color: var(--line); }
.personal-preview .member-follow-grid { gap: 48px; }
.personal-preview .member-follow-grid .member-benefit-card { border-top-color: var(--action); padding-block: 23px; background: white; }
.member-benefit-card h4, .tool-disclosure summary strong { color: var(--action); }
.member-benefit-card .member-benefit-lead { color: var(--ink); }
.tool-disclosure summary span { color: var(--muted); }
.product-photo img, .product-photo-crop { border-color: var(--line); background: var(--paper); }
.product-photo figcaption { color: var(--muted); font-size: 14px; }
.services article, .market-overview .market-preparing { background: var(--surface); border-color: var(--line); }
.market-overview .market-preparing { background: var(--paper); }
.market-overview .market-locked, .market-status-preparing { background: #e9eff3; color: #405562; border-color: var(--line); font-size: 14px; }
.market-status-ready { color: var(--action); }
.market-next-note { color: var(--muted); }
.personal-preview .offer { background: var(--paper); border-color: var(--line); padding: 36px; }
.offer .beta-account-note { background: var(--soft); border-left-color: var(--action); }
.access-steps strong { color: var(--ink); }
.personal-preview .founder-section { padding-block: 64px; background: var(--navy); color: white; border-color: var(--navy); }
.personal-preview .founder-layout { grid-template-columns: .8fr 1.2fr; gap: 90px; }
.personal-preview .founder-layout h2 { font-size: 38px; font-weight: 650; color: white; }
.personal-preview .founder-section .eyebrow, .personal-preview .founder-section .text-button { color: var(--lightblue); }
.personal-preview .founder-text { border-color: var(--lightblue); color: #dde7ec; padding-left: 30px; }
.personal-preview .founder-text .founder-opening { color: white; font-size: 26px; line-height: 1.45; }
.personal-preview .founder-name { color: white; }
.personal-preview .founder-name span { color: #c8d9e2; }
.personal-preview .founder-portrait { border-color: #6a8592; }
.personal-preview .founder-section :is(button, a, input, summary):focus-visible { outline-color: white; }
.personal-preview .faq-section { padding-block: 56px 60px; }
.faq-list summary { min-height: 60px; font-size: 17px; }
.personal-preview .feedback-card { border-color: var(--line); padding-block: 36px; gap: 50px; }
.personal-preview .feedback-card h2 { font-size: 35px; font-weight: 650; }
.feedback-pending, .footer-links a, .footer-contact p { font-size: 14px; color: var(--muted); }
.site-footer { padding-block: 36px; border-color: var(--line); color: var(--muted); font-size: 14px; }
.site-footer .brand { color: var(--navy); }
.site-footer .footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer .contact-address { color: var(--action); font-size: 16px; }
.footer-contact a, .dialog-contact a { color: var(--action); }
.dialog-top button { width: 44px; height: 44px; background: var(--soft); color: var(--ink); }

@media (max-width: 1100px) {
  .site-header nav { gap: 13px; font-size: 14px; }
  .personal-preview .site-header { gap: 18px; }
  .site-header .brand span { font-size: 22px; }
  .personal-preview.beginner-homepage .hero { gap: 32px; padding-block: 42px; }
  .personal-preview .hero h1 { font-size: 50px; }
  .personal-preview .hero-copy .hero-intro { font-size: 18px; }
  .personal-preview .hero .actions { flex-direction: column; align-items: stretch; }
  .personal-preview .hero .actions .button { width: 100%; }
  .personal-preview.beginner-homepage .hero > .hero-video { padding: 20px; }
  .personal-preview .prominent-explainer { gap: 36px; }
}
@media (max-width: 850px) {
  .wrap, .personal-preview #pruefungen { width: calc(100% - 32px); }
  .personal-preview .site-header { padding-block: 14px; min-height: 80px; gap: 10px; }
  .site-header .brand span { font-size: 21px; }
  .site-header .brand img { width: 34px; height: 34px; }
  .site-header nav { background: var(--surface); border-color: var(--line); }
  .site-header nav a { padding: 10px 12px; }
  .personal-preview.beginner-homepage .hero { display: grid; grid-template-columns: 1fr; gap: 34px; padding: 36px 24px 40px; }
  .personal-preview .hero-copy { max-width: 650px; width: 100%; margin-inline: auto; }
  .personal-preview .hero h1 { font-size: clamp(42px, 7.5vw, 58px); }
  .personal-preview .hero-copy .hero-intro { font-size: 19px; }
  .personal-preview .hero-copy .hero-result { font-size: 17px; }
  .personal-preview .hero .actions { flex-direction: row; }
  .personal-preview .hero .actions .button { width: auto; flex: 1 1 auto; }
  .personal-preview.beginner-homepage .hero > .hero-video { width: 100%; max-width: 650px; justify-self: center; padding: 22px; }
  .personal-preview .prominent-explainer { display: grid; grid-template-columns: 1fr; gap: 24px; padding-block: 38px; }
  .personal-preview .prominent-explainer h2 { font-size: 32px; }
  .personal-preview .demo-section, .personal-preview .section { padding-block: 44px; }
  .personal-preview #pruefungen { padding-block: 28px; }
  .personal-preview .section-heading h2, .demo-heading h2 { font-size: 32px; }
  .personal-preview .section-heading { gap: 22px; }
  .personal-preview .founder-section { padding-block: 44px; }
  .personal-preview .founder-layout { gap: 38px; }
  .personal-preview .founder-layout h2 { font-size: 32px; }
  .personal-preview .offer { padding: 26px; }
  .personal-preview .faq-section { padding-block: 40px; }
  .personal-preview .feedback-card { gap: 26px; }
}
@media (max-width: 760px) {
  .beta-notice-inner { padding-block: 9px; font-size: 14px; }
  .demo-shell { border-radius: 12px; }
  .demo-guide { padding: 18px; }
  .demo-guide .demo-boundary { font-size: 14px; }
  .demo-tabs button { min-height: 54px; }
  .demo-tabs .demo-step { font-size: 16px; }
  .demo-content { padding: 20px 18px; }
  .demo-content .product-top, .demo-save { font-size: 14px; }
  .demo-content .assessment { padding: 18px; }
  .demo-content .assessment h4 { font-size: 24px; }
  .demo-content .hero-metrics span, .demo-content .hero-metrics small { font-size: 14px; }
  .demo-content .hero-metrics strong { font-size: 25px; }
  .personal-preview .member-follow-grid { gap: 0; }
  .personal-preview .founder-text { padding-left: 20px; }
  .personal-preview .founder-text .founder-opening { font-size: 24px; }
}
@media (max-width: 430px) {
  .personal-preview .site-header { column-gap: 8px; row-gap: 12px; }
  .site-header .brand { gap: 7px; }
  .site-header .brand span { font-size: 18px; }
  .site-header .brand img { width: 32px; height: 32px; }
  .site-header .header-login { padding-inline: 11px; font-size: 14px; }
  .menu-toggle { font-size: 14px; padding-inline: 9px; }
  .personal-preview.beginner-homepage .hero { padding: 30px 16px 32px; gap: 30px; }
  .personal-preview .hero h1 { font-size: clamp(36px, 10vw, 42px); letter-spacing: -.045em; margin-block: 20px 22px; }
  .personal-preview .hero-copy .hero-intro { font-size: 18px; }
  .personal-preview .hero .actions { flex-direction: column; align-items: stretch; }
  .personal-preview .hero .actions .button { width: 100%; }
  .personal-preview .hero .market-glance { gap: 8px; }
  .personal-preview .hero .market-glance a { width: 100%; justify-content: center; }
  .personal-preview .hero-copy .start-conditions { font-size: 14px; }
  .personal-preview .hero .account-login { font-size: 15px; }
  .personal-preview.beginner-homepage .hero > .hero-video { padding: 18px; border-radius: 14px; }
  .personal-preview.beginner-homepage .hero > .hero-video .video-intro h2 { font-size: 25px; }
  .hero-video .video-launch { min-width: 0; min-height: 48px; font-size: 16px; padding: 10px 16px; }
  .video-caption, .video-caption a, .caption-toggle, .video-pause { font-size: 14px; }
  .personal-preview .prominent-explainer h2 { font-size: 29px; }
  .personal-preview .section-heading h2, .personal-preview #pruefungen .section-heading h2, .demo-heading h2 { font-size: 29px; }
  .personal-preview .demo-section, .personal-preview .section { padding-block: 36px; }
  .personal-preview .offer { padding: 22px 18px; }
  .personal-preview .founder-layout h2 { font-size: 30px; }
  .personal-preview .feedback-card h2 { font-size: 29px; }
  .demo-tabs button { grid-template-columns: 75px minmax(0, 1fr); padding-inline: 10px; }
  .demo-tabs .demo-step { font-size: 15px; }
  .demo-content .hero-metrics { grid-template-columns: 1fr; gap: 17px; }
  .demo-content .card-dates { grid-template-columns: 1fr; }
  .demo-content .company-title { gap: 10px; }
  .demo-content .company-title h3 { font-size: 23px; overflow-wrap: anywhere; }
}
@media (max-width: 350px) {
  .site-header .brand span { font-size: 17px; }
  .site-header .brand img { width: 30px; height: 30px; }
  .site-header .header-login { padding-inline: 10px; }
  .menu-toggle { min-width: 44px; padding-inline: 7px; }
  .personal-preview .site-header { column-gap: 7px; }
}
