/* Print Issue Planner — "Trükipoogen": proof-grey paper, blue-black ink, petrol cyan, copper ad space,
   printer's marks. Fonts: Barlow Condensed (headings, folios) and Barlow (text), self-hosted (OFL). */

@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/barlow-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/barlow-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/barlow-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/barlow-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/barlow-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/barlow-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/barlow-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/barlow-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/barlow-condensed-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/barlow-condensed-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --paper: #edf0f1;
  --card: #ffffff;
  --sunk: #e0e5e8;
  --ink: #15212a;
  --soft: #475763;
  --line: #d2d9dd;
  --cyan: #00708a;
  --cyan-dark: #00576b;
  --cyan-tint: #d6ecf1;
  --copper: #b8601f;
  --copper-dark: #8c4511;
  --pc: #00a3c9;
  --pm: #d2287a;
  --py: #f0cf00;
  --cond: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --sans: "Barlow", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.55; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan-dark); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--pc); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--cond); font-weight: 700; line-height: 1.02; margin: 0; overflow-wrap: anywhere; hyphens: auto; letter-spacing: 0.2px; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header with the CMYK control strip */
.site-header { padding-top: 14px; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-height: 44px; }
.brand img { width: 40px; height: 40px; }
.brand-name { font-family: var(--cond); font-weight: 700; font-size: 24px; text-transform: uppercase; letter-spacing: 0.6px; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.nav a { font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: none; padding: 10px 0; border-bottom: 3px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--cyan); }
.strip { display: flex; align-items: center; height: 10px; margin-top: 10px; }
.strip i { width: 18px; height: 10px; display: block; }
.strip .c { background: var(--pc); } .strip .m { background: var(--pm); } .strip .y { background: var(--py); } .strip .k { background: var(--ink); }
.strip b { flex: 1; height: 1px; background: var(--ink); margin-left: 8px; }

.kicker { font-weight: 700; font-size: 13px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--cyan-dark); margin-bottom: 10px; }
.folio { font-family: var(--cond); font-weight: 700; font-size: 20px; color: var(--cyan); letter-spacing: 1px; }
.folio span { color: var(--soft); font-family: var(--sans); font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase; margin-left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 22px; font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid var(--ink); border-radius: 2px; }
.btn-primary { background: var(--ink); color: #fff; border-bottom: 5px solid var(--cyan); }
.btn-primary:hover { color: #fff; background: #23323d; }
.btn-ghost { color: var(--ink); background: transparent; }
.btn-disabled { color: var(--soft); background: var(--sunk); border-color: var(--line); border-style: dashed; cursor: default; }

/* Proof frame: screenshot in a thin ink trim with crop marks at the corners */
.proof { position: relative; margin: 22px; background: var(--ink); padding: 2px; }
.proof img { width: 100%; }
.proof .mark { position: absolute; width: 22px; height: 22px; }
.proof .mark::before, .proof .mark::after { content: ""; position: absolute; background: var(--cyan); }
.proof .mark::before { width: 22px; height: 2px; } .proof .mark::after { width: 2px; height: 22px; }
.proof .tl { left: -32px; top: -32px; } .proof .tl::before { top: 30px; left: 0; } .proof .tl::after { left: 30px; top: 0; }
.proof .tr { right: -32px; top: -32px; } .proof .tr::before { top: 30px; right: 0; } .proof .tr::after { right: 30px; top: 0; }
.proof .bl { left: -32px; bottom: -32px; } .proof .bl::before { bottom: 30px; left: 0; } .proof .bl::after { left: 30px; bottom: 0; }
.proof .br { right: -32px; bottom: -32px; } .proof .br::before { bottom: 30px; right: 0; } .proof .br::after { right: 30px; bottom: 0; }

/* Hero */
.hero { padding: clamp(32px, 6vw, 72px) 0 clamp(40px, 6vw, 80px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(44px, 8.2vw, 104px); text-transform: none; }
.hero h1 span { display: block; }
.hero h1 .accent { color: var(--cyan); }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--soft); margin-top: 20px; max-width: 40em; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 22px 0 0; }
.facts li { font-weight: 700; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; padding: 6px 10px; border: 1.5px solid var(--ink); background: var(--card); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.meta { margin-top: 14px; font-size: 14px; color: var(--soft); }
.hero-shot { position: relative; max-width: 400px; justify-self: center; width: 100%; margin-top: 72px; }
.hero-shot .folio { position: absolute; left: 0; top: -58px; }

/* Imposition: each tool as a spread of two pages */
.imposition { padding: clamp(40px, 6vw, 80px) 0; background: var(--card); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.section-head { max-width: 760px; margin-bottom: clamp(24px, 4vw, 48px); }
.section-head h2 { font-size: clamp(34px, 5.4vw, 64px); }
.section-lead { color: var(--soft); margin-top: 12px; }
.spread { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ink); background: var(--paper); margin-bottom: clamp(24px, 4vw, 40px); }
.spread .page { padding: clamp(20px, 3.5vw, 44px); min-width: 0; }
.spread .page-text { border-right: 1px solid var(--ink); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.spread.flip .page-text { order: 2; border-right: 0; border-left: 1px solid var(--ink); }
.spread h3 { font-size: clamp(30px, 3.6vw, 46px); }
.spread .page-shot { display: flex; justify-content: center; align-items: center; background: repeating-linear-gradient(135deg, transparent 0 12px, rgba(21, 33, 42, 0.035) 12px 13px); }
.spread .proof { max-width: 330px; width: 100%; }
.ticks { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 8px; }
.ticks li { padding-left: 26px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 14px; height: 8px; background: var(--copper); }

/* Equation */
.sum { padding: clamp(40px, 6vw, 80px) 0; }
.sum-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.sum h2 { font-size: clamp(32px, 4.6vw, 54px); margin-bottom: 14px; }
.sum p { color: var(--soft); }
.equation { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: var(--card); border: 1px solid var(--ink); padding: clamp(16px, 3vw, 32px); }
.equation div { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.equation b { font-family: var(--cond); font-size: clamp(48px, 9vw, 104px); line-height: 1; }
.equation span { font-weight: 700; font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--soft); }
.equation .ad b { color: var(--copper-dark); }
.equation .ed b { color: var(--cyan); }
.equation i { font-style: normal; font-family: var(--cond); font-size: clamp(32px, 5vw, 56px); color: var(--soft); }

/* Extras */
.extras { padding: 0 0 clamp(40px, 6vw, 80px); }
.extras-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.extra { background: var(--card); border: 1px solid var(--line); padding: 8px 8px 22px; }
.extra .proof { margin: 34px auto; width: calc(100% - 76px); max-width: 250px; }
.extra h3 { font-size: 28px; padding: 0 14px; }
.extra p { padding: 6px 14px 0; color: var(--soft); }
.templates { margin-top: clamp(28px, 4vw, 44px); border-top: 1px solid var(--ink); padding-top: 18px; }
.templates ul { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.templates li { font-family: var(--cond); font-weight: 600; font-size: 22px; padding: 4px 12px; background: var(--card); border-left: 6px solid var(--cyan); }
.templates p { color: var(--soft); }

/* Privacy band */
.privacy-band { background: var(--ink); color: #fff; padding: clamp(40px, 6vw, 72px) 0; }
.privacy-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 18px 48px; }
.privacy-band h2 { font-size: clamp(32px, 4.6vw, 54px); }
.privacy-band ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.privacy-band li { padding-left: 24px; position: relative; color: #dfe6ea; }
.privacy-band li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 10px; height: 10px; background: var(--pc); }
.privacy-band p { grid-column: 2; }
.privacy-band a { color: #fff; }

/* FAQ */
.faq { padding: clamp(40px, 6vw, 72px) 0; }
.faq-wrap { max-width: 860px; }
.faq h2 { font-size: clamp(32px, 4.6vw, 54px); margin-bottom: 18px; }
details { border-top: 1px solid var(--ink); padding: 4px 0; }
details:last-of-type { border-bottom: 1px solid var(--ink); }
summary { cursor: pointer; font-weight: 700; padding: 12px 0; min-height: 44px; list-style-position: inside; }
details p { padding: 0 0 14px; color: var(--soft); }

/* Download */
.download { padding: 0 0 clamp(40px, 6vw, 72px); }
.download-row { display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; border: 1px solid var(--ink); background: var(--card); padding: clamp(20px, 4vw, 36px); }
.download h2 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 6px; }
.download p { color: var(--soft); overflow-wrap: anywhere; }

/* Documents: help, privacy, 404 */
.doc { padding: clamp(28px, 5vw, 64px) 0 clamp(40px, 6vw, 72px); }
.doc-wrap { max-width: 820px; }
.doc h1 { font-size: clamp(34px, 6.4vw, 72px); }
.doc-h { font-size: clamp(26px, 3.4vw, 34px); margin: 32px 0 10px; }
.doc p { margin-bottom: 10px; }
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.steps li { background: var(--card); border: 1px solid var(--line); border-left: 6px solid var(--cyan); padding: 16px 20px; }
.steps h2 { font-size: 28px; margin: 2px 0 6px; }
.contact-box { margin-top: 32px; background: var(--card); border: 1px solid var(--ink); padding: 20px; }
.contact-box h2 { font-size: 28px; margin-bottom: 8px; }
.contact-box p, .doc p { overflow-wrap: anywhere; }

/* Footer */
.site-footer { border-top: 1px solid var(--ink); padding: 32px 0 20px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px 32px; }
.footer-grid p { margin-bottom: 6px; overflow-wrap: anywhere; }
.footer-name { font-family: var(--cond); font-weight: 700; font-size: 24px; text-transform: uppercase; }
.footer-label { font-weight: 700; font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--soft); }
.footer-bar { display: flex; gap: 3px; margin-top: 24px; }
.footer-bar i { flex: 1; height: 10px; }
.footer-bar i:nth-child(4n + 1) { background: var(--pc); } .footer-bar i:nth-child(4n + 2) { background: var(--pm); }
.footer-bar i:nth-child(4n + 3) { background: var(--py); } .footer-bar i:nth-child(4n) { background: var(--ink); }
.footer-bar i:nth-child(n + 5) { opacity: 0.45; }

@media (max-width: 900px) {
  .hero-grid, .sum-grid, .privacy-grid { grid-template-columns: minmax(0, 1fr); }
  .privacy-band p { grid-column: auto; }
  .hero-shot { max-width: 330px; margin-top: 76px; }
  .extras-grid { grid-template-columns: minmax(0, 1fr); max-width: 460px; }
}
@media (max-width: 760px) {
  .spread { grid-template-columns: minmax(0, 1fr); }
  .spread .page-text, .spread.flip .page-text { order: 0; border: 0; border-bottom: 1px solid var(--ink); }
  .spread .proof { max-width: 270px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .brand-name { font-size: 20px; }
}
@media (max-width: 380px) {
  body { font-size: 16px; }
  .proof { margin: 18px; }
  .proof .tl, .proof .bl { left: -26px; } .proof .tr, .proof .br { right: -26px; }
  .proof .tl, .proof .tr { top: -26px; } .proof .bl, .proof .br { bottom: -26px; }
  .equation i { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
.cta-row { margin: 22px 0 30px; }
