/* ============================================
   GDPR Response Tool pages (product page, changelog).
   Builds on style.css and product.css and uses their design tokens.
   The shared blocks are copied from print2accounts.css so the two
   products stay independent of each other.
   ============================================ */

/* ---- Hero app icon ---- */
.product-hero__appicon { width: 96px; height: 96px; display: block; margin: 0 0 18px; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.35)); }
@media (max-width: 480px) { .product-hero__appicon { width: 72px; height: 72px; } }

/* ---- Small-screen fixes ---- */
.footer__links { flex-wrap: wrap; justify-content: center; row-gap: 10px; }
.product-hero__title { overflow-wrap: anywhere; }
@media (max-width: 480px) {
  .product-hero__title { font-size: 2.2rem; }
  .product-hero__actions { flex-direction: column; align-items: stretch; }
  .product-hero__actions .btn { justify-content: center; }
}

/* ---- Comparison table (M365 permissions, dark section) ---- */
.compare-wrap { margin-top: 8px; overflow-x: auto; border: 1px solid var(--glass-border); border-radius: var(--radius-md); background: var(--glass-bg); -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; }
.compare caption { text-align: left; padding: 14px 18px 0; font-family: var(--font-display); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--glass-border); font-size: 0.93rem; line-height: 1.55; color: var(--text-secondary); }
.compare th { font-family: var(--font-display); font-weight: 600; color: var(--text-primary); }
.compare thead th { background: rgba(255, 255, 255, 0.03); }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: none; }

/* Notes under the table */
.note-list { max-width: 820px; margin: 24px auto 0; display: grid; gap: 12px; }
.note-list li { list-style: none; border-left: 3px solid var(--cobalt); background: var(--glass-bg); border-radius: var(--radius-sm); padding: 12px 18px; color: var(--text-secondary); line-height: 1.65; font-size: 0.97rem; }

/* ---- Privacy and known-limitation cards ---- */
.privacy-points { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.privacy-points li { list-style: none; background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: var(--radius-md); padding: 16px 20px; color: var(--text-secondary); line-height: 1.65; }
.privacy-points strong { color: var(--text-primary); }

/* ---- Link cards (light section) ---- */
.link-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 20px; }
.link-card { display: block; background: #fff; border: 1px solid var(--light-border); border-radius: var(--radius-md); padding: 24px; transition: all 0.35s var(--ease-out); }
.link-card:hover { border-color: rgba(20, 57, 252, 0.2); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06); }
.link-card__title { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--light-text); margin-bottom: 6px; }
.link-card__desc { font-size: 0.9rem; color: var(--light-text-secondary); line-height: 1.6; }

/* ---- English summary ---- */
.english { max-width: 820px; margin: 0 auto; }
.english p { color: var(--text-secondary); line-height: 1.75; margin-bottom: 14px; }
.english strong { color: var(--text-primary); }
.english a { color: var(--cyan); }

.grt-inline-link { color: var(--cyan); }
.grt-inline-link:hover { text-decoration: underline; }
.feature__desc a { color: inherit; text-decoration: underline; }

/* ---- Download block: version, size and checksum come from /api/gdpr-response-tool/release ---- */
.dl__state { display: none; }
.dl[data-state="checking"] .dl__state--checking,
.dl[data-state="ready"] .dl__state--ready,
.dl[data-state="soon"] .dl__state--soon { display: block; }
.dl__badge { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan); background: rgba(0, 212, 255, 0.08); border: 1px solid rgba(0, 212, 255, 0.2); border-radius: 100px; padding: 6px 18px; margin-bottom: 18px; }
.dl__text { color: var(--text-secondary); max-width: 560px; margin: 0 auto 24px; line-height: 1.7; }
.dl__text a { color: var(--cyan); }
.dl__text a:hover { text-decoration: underline; }
.dl__meta { font-family: var(--font-display); font-size: 0.85rem; color: var(--text-dim); font-weight: 500; margin-top: 18px; }
.dl__hash { margin-top: 14px; font-size: 0.82rem; color: var(--text-dim); }
.dl__hash summary { cursor: pointer; display: inline-block; }
.dl__hash code { display: block; margin-top: 8px; font-family: Consolas, 'Courier New', monospace; overflow-wrap: anywhere; color: var(--text-secondary); }

/* Placeholder for something Vesa still has to fill in (release date on the changelog) */
.todo { color: #ffd479; border: 1px dashed rgba(255, 212, 121, 0.6); border-radius: 4px; padding: 0 5px; font-style: normal; }

/* ---- Changelog (same look as the other changelog pages) ---- */
.changelog { max-width: 820px; margin: 0 auto; padding: 0 24px 96px; position: relative; z-index: 1; }
.changelog .release { margin-bottom: 56px; scroll-margin-top: 90px; }
.changelog .release__header { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.changelog .release__version { font-family: 'Outfit', sans-serif; font-size: 1.6rem; font-weight: 700; }
.changelog .release__date { opacity: 0.6; font-size: 0.95rem; }
.changelog .release__tag { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; background: rgba(120, 140, 255, 0.15); border: 1px solid rgba(120, 140, 255, 0.35); }
.changelog h3 { margin: 20px 0 10px; font-size: 1.05rem; font-weight: 600; opacity: 0.9; }
.changelog p { line-height: 1.65; opacity: 0.85; margin-bottom: 12px; }
.changelog ul { margin: 0 0 8px 1.2em; padding: 0; }
.changelog li { margin-bottom: 10px; line-height: 1.55; opacity: 0.85; }
.changelog li strong { opacity: 1; }
.changelog a { color: var(--cyan); }
.changelog a:hover { text-decoration: underline; }
.changelog .release--latest .release__version { color: #9db1ff; }

/* Article header shared by the changelog page */
.doc-head { max-width: 820px; margin: 0 auto; padding: 140px 24px 24px; position: relative; z-index: 1; }
.doc-head__back { display: flex; width: fit-content; align-items: center; gap: 8px; color: var(--text-dim); text-decoration: none; font-size: 0.9rem; margin-bottom: 32px; transition: color 0.2s; }
.doc-head__back:hover { color: var(--cyan); }
.doc-head h1 { font-family: var(--font-display); font-size: clamp(1.9rem, 4.5vw, 2.8rem); font-weight: 800; line-height: 1.15; color: var(--text-primary); margin-bottom: 14px; }
.doc-head__lead { font-size: 1.05rem; color: var(--text-secondary); line-height: 1.7; }
