/* Shared press proof styles for the Truvek suite pages. See DESIGN-truvek-v2.md. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --proof-white: #F6F7F5;
      --press-navy:  #14324D;
      --rule-slate:  #9AA6B2;
      --rule-light:  #C9D0D6;
      --text-muted:  #5B6B7A;
      --magenta:     #D1286A;
      --magenta-ink: #A31E52;
      --yellow:      #EFC21A;
      --yellow-ink:  #7A5F00;
      --cyan:        #009FD6;
      --cyan-ink:    #00749C;
    }

    html { scroll-behavior: smooth; }
    body {
      background: var(--proof-white);
      color: var(--press-navy);
      font-family: 'Schibsted Grotesk', system-ui, sans-serif;
      font-size: 16px;
      line-height: 1.55;
    }
    a { color: var(--cyan-ink); text-decoration: none; }
    a:hover { text-decoration: underline; }
    *:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
    code, pre { font-family: 'JetBrains Mono', ui-monospace, monospace; }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after { transition-duration: 0.01ms !important; }
    }

    .wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
    @media (max-width: 600px) { .wrap { padding: 0 20px; } }

    /* ---- nav with suite switch (same markup on every Truvek page) ---- */
    nav.site { padding: 20px 0 0; }
    .nav-inner {
      display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
      border-bottom: 1px solid var(--rule-light); padding-bottom: 20px;
    }
    .brand { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
    .logo { font-weight: 700; font-size: 15px; color: var(--press-navy); }
    .suite { display: flex; border: 1px solid var(--rule-slate); border-radius: 4px; overflow: hidden; }
    .suite a { padding: 6px 14px; font-size: 14px; font-weight: 500; color: var(--text-muted); }
    .suite a + a { border-left: 1px solid var(--rule-slate); }
    .suite a:hover { color: var(--press-navy); text-decoration: none; }
    .suite a[aria-current="page"] { background: var(--press-navy); color: var(--proof-white); }
    .nav-links { display: flex; gap: 24px; font-size: 14px; flex-wrap: wrap; }
    .nav-links a { color: var(--text-muted); }
    .nav-links a:hover { color: var(--press-navy); text-decoration: none; }

    /* ---- type ---- */
    h1 { font-size: 44px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 16px; max-width: 14ch; }
    h2 { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 12px; }
    h3 { font-size: 16px; font-weight: 500; margin-bottom: 4px; }
    .lede { color: var(--text-muted); max-width: 60ch; margin-bottom: 28px; }
    @media (max-width: 600px) { h1 { font-size: 28px; } h2 { font-size: 20px; } }

    section { padding: 64px 0; border-bottom: 1px solid var(--rule-light); }

    /* ---- buttons ---- */
    .btn-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
    .btn-primary, .btn-secondary {
      display: inline-block; font-family: inherit; font-weight: 500; font-size: 14px;
      padding: 10px 18px; border-radius: 4px; cursor: pointer; text-decoration: none;
    }
    .btn-primary { background: var(--press-navy); color: var(--proof-white); border: none; transition: opacity 0.12s; }
    .btn-primary:hover { opacity: 0.85; text-decoration: none; color: var(--proof-white); }
    .btn-secondary { background: transparent; color: var(--press-navy); border: 1px solid var(--rule-slate); transition: border-color 0.12s; }
    .btn-secondary:hover { border-color: var(--press-navy); text-decoration: none; color: var(--press-navy); }

    .install-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
    .install-code { font-size: 13px; background: #fff; border: 1px solid var(--rule-light); border-radius: 4px; padding: 8px 12px; max-width: 100%; overflow-wrap: anywhere; }
    .copy-btn { font-family: inherit; font-size: 13px; background: none; border: 1px solid var(--rule-slate); border-radius: 4px; padding: 6px 10px; color: var(--press-navy); cursor: pointer; }
    .note { font-size: 14px; color: var(--text-muted); margin-top: 10px; }

    /* ---- hero ---- */
    .hero { padding-top: 48px; }
    .hero-grid { display: grid; grid-template-columns: 2fr 3fr; gap: 56px; align-items: start; }
    @media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }
    /* grid items default to their content's width; let them shrink so code scrolls instead of widening the page */
    .hero-grid > *, .tools-grid > *, .suite-grid > * { min-width: 0; }

    /* the proof: crop marks outside a square frame, CMY strip directly under it */
    .proof { position: relative; margin: 14px; }
    .proof::before, .proof::after, .proof .crop-b::before, .proof .crop-b::after {
      content: ""; position: absolute; width: 14px; height: 14px; border-color: var(--rule-slate); border-style: solid;
    }
    .proof::before { top: -14px; left: -14px; border-width: 0 1px 1px 0; }
    .proof::after { top: -14px; right: -14px; border-width: 0 0 1px 1px; }
    .proof .crop-b::before { bottom: -14px; left: -14px; border-width: 1px 1px 0 0; }
    .proof .crop-b::after { bottom: -14px; right: -14px; border-width: 1px 0 0 1px; }
    .proof-frame { background: #fff; border: 1px solid var(--rule-light); }
    .proof-part { padding: 20px 24px; }
    .proof-part + .proof-part { border-top: 1px solid var(--rule-light); }
    .proof-label { font-size: 14px; color: var(--text-muted); margin-bottom: 10px; }
    .proof pre { font-size: 13px; line-height: 1.6; overflow-x: auto; white-space: pre; }
    .verdict { font-weight: 700; font-size: 20px; margin-bottom: 4px; }
    .verdict-sub { font-size: 14px; color: var(--text-muted); margin-bottom: 12px; }

    .cmy-strip { display: flex; height: 6px; }
    .cmy-strip span { flex: 1; }
    .cmy-cyan { background: var(--cyan); } .cmy-magenta { background: var(--magenta); }
    .cmy-yellow { background: var(--yellow); } .cmy-navy { background: var(--press-navy); }

    /* findings: plain rows, a pin-style dot plus a word for status */
    .findings { list-style: none; }
    .findings li { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; padding: 10px 0; border-top: 1px solid var(--rule-light); }
    .findings code { font-size: 13px; }
    .findings span { grid-column: 2; font-size: 14px; color: var(--text-muted); }
    .dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-top: 6px; }
    .dot-block { background: var(--magenta); } .dot-review { background: var(--yellow); } .dot-info { background: var(--cyan); }
    .more { font-size: 14px; color: var(--text-muted); padding-top: 10px; border-top: 1px solid var(--rule-light); }

    /* ---- loop: a real sequence, so it is numbered ---- */
    .loop { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
    .loop li { counter-increment: step; border-top: 1px solid var(--rule-light); padding-top: 14px; }
    .loop li::before { content: counter(step); display: block; font-weight: 700; margin-bottom: 8px; }
    .loop p { font-size: 15px; color: var(--text-muted); }
    @media (max-width: 860px) { .loop { grid-template-columns: 1fr 1fr; } }
    @media (max-width: 520px) { .loop { grid-template-columns: 1fr; } }

    /* ---- tables ---- */
    .table-wrap { overflow-x: auto; }
    table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 620px; }
    th { text-align: left; font-weight: 500; font-size: 14px; color: var(--text-muted); padding: 0 16px 10px 0; }
    td { padding: 12px 16px 12px 0; border-top: 1px solid var(--rule-light); vertical-align: top; }
    td code { font-size: 13px; }
    .sev { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
    .sev .dot { margin-top: 0; }
    .sev-block { color: var(--magenta-ink); } .sev-review { color: var(--yellow-ink); } .sev-info { color: var(--cyan-ink); }

    /* ---- platforms ---- */
    .platforms { list-style: none; }
    .platforms li { display: grid; grid-template-columns: 1.2fr 1fr 1.6fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--rule-light); align-items: baseline; }
    .platforms .lang { color: var(--text-muted); font-size: 15px; }
    .platforms code { font-size: 13px; overflow-wrap: anywhere; }
    @media (max-width: 700px) { .platforms li { grid-template-columns: 1fr; gap: 2px; } }

    /* ---- tools ---- */
    .tools-grid { display: grid; grid-template-columns: 2fr 3fr; gap: 56px; }
    @media (max-width: 860px) { .tools-grid { grid-template-columns: 1fr; gap: 24px; } }
    .tools { list-style: none; }
    .tools li { display: grid; grid-template-columns: 1fr 1.3fr; gap: 16px; padding: 10px 0; border-top: 1px solid var(--rule-light); }
    .tools code { font-size: 13px; overflow-wrap: anywhere; }
    .tools p { font-size: 15px; color: var(--text-muted); }
    @media (max-width: 520px) { .tools li { grid-template-columns: 1fr; gap: 2px; } }

    /* ---- suite band ---- */
    .suite-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
    @media (max-width: 860px) { .suite-grid { grid-template-columns: 1fr; gap: 24px; } }
    .code-block { background: var(--press-navy); color: var(--proof-white); border-radius: 4px; padding: 20px 24px; font-size: 13px; line-height: 1.7; overflow-x: auto; white-space: pre; }
    .code-block .c { color: var(--rule-slate); }

    /* ---- footer ---- */
    footer { padding-bottom: 40px; }
    .foot-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 24px; font-size: 14px; }
    .foot-copy { color: var(--text-muted); }
    .foot-links { display: flex; gap: 20px; flex-wrap: wrap; }
    .foot-links a { color: var(--text-muted); }
    .foot-links a:hover { color: var(--press-navy); }
