/* Contractor Daily Report — "Láthatósági csík": site-office paper, navy ink and hi-vis orange with a reflective stripe. */

@font-face { font-family: "Epilogue"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/epilogue-latin-800-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: "Epilogue"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/epilogue-latin-ext-800-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: "Albert Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/albert-sans-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: "Albert Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/albert-sans-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: "Albert Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/albert-sans-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: "Albert Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/albert-sans-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: "Space Mono"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/space-mono-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: "Space Mono"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/space-mono-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: #f3f0e8;
  --card: #ffffff;
  --ink: #17233b;
  --soft: #4b5466;
  --line: #d8d3c6;
  --signal: #f26a1b;
  --signal-text: #a3420a;
  --reflect: #cdd3dc;
  --display: "Epilogue", "Arial Black", system-ui, sans-serif;
  --text: "Albert Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Space Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }

body {
  margin: 0;
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--paper);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--ink); text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }
a:focus-visible,
summary:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  overflow-wrap: anywhere;
  hyphens: auto;
}
h1 { font-size: clamp(2.1rem, 7vw, 4.4rem); }
h2 { font-size: clamp(1.7rem, 4.6vw, 2.8rem); }
h3 { font-size: clamp(1.15rem, 2.4vw, 1.4rem); letter-spacing: -0.01em; }
p { margin: 0 0 1em; overflow-wrap: break-word; }

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

/* The hi-vis band: orange with a reflective stripe, under the header. */
.vest { height: 18px; background: linear-gradient(var(--signal) 0 33%, var(--reflect) 33% 67%, var(--signal) 67%); }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 860px; }

.label {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.label::before { content: ""; width: 22px; height: 12px; background: linear-gradient(var(--signal) 0 33%, var(--reflect) 33% 67%, var(--signal) 67%); }

/* Header */
.top { background: var(--ink); color: #fff; position: relative; z-index: 4; }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 800; font-size: 1.15rem; text-decoration: none; letter-spacing: -0.01em; color: #fff; }
.nav { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; padding: 0; }
.nav a { font-family: var(--mono); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; text-decoration: none; display: inline-block; padding: 10px 0; border-bottom: 3px solid transparent; color: #fff; }
.nav a:hover,
.nav a[aria-current="page"] { border-bottom-color: var(--signal); }

/* Hero */
.hero { padding: clamp(40px, 8vw, 88px) 0 24px; }
.hl { background: linear-gradient(transparent 12%, var(--signal) 12%, var(--signal) 92%, transparent 92%); box-decoration-break: clone; -webkit-box-decoration-break: clone; padding: 0 0.12em; }
.hero-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px 48px; align-items: start; margin-top: 12px; }
.lead { font-size: clamp(1.1rem, 2.2vw, 1.3rem); max-width: 62ch; color: var(--soft); }
.hero-cta { display: grid; gap: 18px; justify-items: start; }
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.facts li { font-family: var(--mono); font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; border: 2px solid var(--ink); background: var(--card); padding: 4px 10px; }

.play { display: inline-flex; flex-direction: column; justify-content: center; min-height: 60px; padding: 8px 22px 8px 18px; background: var(--ink); color: #fff; text-decoration: none; border-left: 8px solid var(--signal); }
.play-small { font-size: 0.8rem; color: #d8dadb; line-height: 1.2; }
.play-big { font-family: var(--display); font-weight: 800; font-size: 1.25rem; line-height: 1.2; }
.play-soon { cursor: default; opacity: 0.92; }

/* Strip of real screens with dimension lines */
.strip-wrap { margin-top: clamp(32px, 6vw, 64px); }
.strip { list-style: none; margin: 0; padding: 0 0 8px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.dim { margin: 0 0 12px; }
.dim span { display: inline-block; background: var(--ink); color: #fff; border-bottom: 4px solid var(--signal); padding: 2px 10px; font-family: var(--mono); font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; }
.screen { margin: 0; background: var(--ink); padding: 7px; border-radius: 18px; }
.screen img { border-radius: 11px; width: 100%; }

/* Sections */
.section { padding: clamp(48px, 8vw, 96px) 0; border-top: 2px solid var(--ink); }
.section-lead { font-size: 1.15rem; color: var(--soft); max-width: 60ch; }

/* Bill of quantities rows */
.boq { margin-top: 36px; border-top: 2px solid var(--ink); }
.boq-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) 280px; gap: 24px 32px; padding: 32px 0; border-bottom: 1px solid var(--line); align-items: start; }
.boq-code { font-family: var(--mono); font-weight: 700; font-size: 1.15rem; background: var(--ink); color: #fff; border-bottom: 5px solid var(--signal); text-align: center; padding: 6px 0; margin: 0; }
.boq-units { font-family: var(--mono); font-weight: 700; font-size: 0.85rem; color: var(--signal-text); border-bottom: 2px solid var(--line); display: inline-block; padding-bottom: 4px; }
.boq-text p:last-child { margin-bottom: 0; }
.boq-shot { max-width: 280px; }

/* PDF */
.pdf { background: var(--card); }
.pdf-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px 56px; align-items: start; }
.ticks { list-style: none; margin: 0 0 1.2em; padding: 0; }
.ticks li { position: relative; padding: 10px 0 10px 44px; border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 16px; width: 26px; height: 14px; background: linear-gradient(var(--signal) 0 33%, var(--reflect) 33% 67%, var(--signal) 67%); }
.numbered { counter-reset: n; }
.numbered li { counter-increment: n; }
.numbered li::before { content: counter(n); font-family: var(--mono); font-weight: 700; font-size: 0.8rem; text-align: center; line-height: 24px; width: 28px; height: 24px; top: 11px; background: var(--ink); color: #fff; }

/* Audience and tips */
.audience { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 32px 0 0; border-top: 2px solid var(--ink); }
.audience div { padding: 24px 24px 24px 0; border-bottom: 1px solid var(--line); }
.audience div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.audience dt { font-family: var(--display); font-weight: 800; font-size: 1.2rem; line-height: 1.2; margin-bottom: 8px; overflow-wrap: anywhere; hyphens: auto; }
.audience dd { margin: 0; color: var(--soft); }
.tips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tips div:nth-child(odd) { padding-left: 0; border-left: 0; }

/* Data facts */
.data { background: var(--ink); color: #f3f0e8; border-top-color: var(--ink); }
.data .label { color: #fff; }
.data a { color: #fff; }
.facts-grid { list-style: none; margin: 32px 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.facts-grid li { border-top: 6px solid var(--signal); padding-top: 14px; }
.facts-grid h3 { font-size: 1.2rem; }
.facts-grid p { color: #c9ccce; margin: 0; }
.more { font-family: var(--mono); font-weight: 700; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.04em; }

/* FAQ */
.faq { border-top: 1px solid var(--line); padding: 4px 0; }
.faq:last-of-type { border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; gap: 12px; align-items: baseline; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; font-family: var(--mono); font-weight: 700; display: inline-block; width: 22px; height: 22px; line-height: 20px; text-align: center; border: 2px solid var(--ink); background: var(--signal); flex: none; }
.faq[open] summary::before { content: "–"; }
.faq p { color: var(--soft); padding-left: 34px; }

/* Final CTA */
.final { background: var(--signal); border-top: 2px solid var(--ink); padding: clamp(48px, 8vw, 88px) 0; }
.final-inner { display: grid; gap: 16px; justify-items: start; }
.final h2 { margin: 0; }

/* Pages */
.page { padding: clamp(36px, 7vw, 72px) 0 72px; }
.page h2 { margin-top: 1.6em; }
.guide-steps { counter-reset: s; list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--ink); }
.guide-steps li { counter-increment: s; display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.guide-steps li::before { content: counter(s); grid-row: span 2; font-family: var(--mono); font-weight: 700; background: var(--ink); color: #fff; border-bottom: 4px solid var(--signal); height: 36px; text-align: center; line-height: 32px; }
.guide-steps h3 { margin: 0 0 4px; }
.guide-steps p { margin: 0; color: var(--soft); }
.legal h2 { font-size: clamp(1.3rem, 3.4vw, 1.7rem); }
.small { font-size: 0.9rem; color: var(--soft); }
.cta-row { margin-top: 24px; }

/* Footer */
.foot { background: var(--ink); color: #f3f0e8; border-top: 8px solid var(--signal); }
.foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-top: 32px; padding-bottom: 40px; }
.foot-brand { display: flex; gap: 14px; align-items: center; }
.foot-name { font-family: var(--display); font-weight: 800; font-size: 1.15rem; margin: 0; }
.foot-small { margin: 0; font-size: 0.9rem; color: #c9ccce; }
.foot-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot-links a { color: #fff; overflow-wrap: anywhere; }

@media (max-width: 1000px) {
  .boq-row { grid-template-columns: 80px minmax(0, 1fr); }
  .boq-shot { grid-column: 2; max-width: 300px; }
  .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip { grid-template-columns: repeat(4, minmax(220px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; }
  .strip li { scroll-snap-align: start; }
}

@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .hero-row,
  .pdf-inner { grid-template-columns: minmax(0, 1fr); }
  .strip { grid-template-columns: repeat(4, 66vw); }
  .boq-row { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .boq-code { justify-self: start; padding: 4px 14px; }
  .boq-shot { grid-column: 1; max-width: 260px; }
  .audience,
  .tips { grid-template-columns: minmax(0, 1fr); }
  .audience div,
  .audience div + div { padding: 18px 0; border-left: 0; }
  .facts-grid { grid-template-columns: minmax(0, 1fr); }
  .guide-steps li { grid-template-columns: 48px minmax(0, 1fr); column-gap: 14px; }
  .nav { gap: 0 16px; }
  .brand { font-size: 1.05rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
