/* Equipment Hours Log — landing. Visual language "Számlálódob": the hour-meter drum (charcoal cells,
   tenths in claret) on concrete grey, crawler-track strips as dividers. Chivo + Chivo Mono, self-hosted. */

@font-face { font-family: "Chivo"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/chivo-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: "Chivo"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/chivo-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: "Chivo"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/chivo-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: "Chivo"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/chivo-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: "Chivo"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/chivo-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: "Chivo"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/chivo-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: "Chivo"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/chivo-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: "Chivo"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/chivo-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: "Chivo Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/chivo-mono-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: "Chivo Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/chivo-mono-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: "Chivo Mono"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/chivo-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: "Chivo Mono"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/chivo-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 {
  --concrete: #ecebe8;
  --card: #ffffff;
  --sunk: #e0ded9;
  --ink: #211b1e;
  --soft: #5a5257;
  --line: #d1cec8;
  --drum: #262229;
  --cell: #36313a;
  --claret: #8a1c3b;
  --claret-dark: #6c1430;
  --claret-light: #f2a7b9;
  --link: #8c8389;
  --wrap: 1120px;
  --sans: "Chivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Chivo Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--concrete); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); }
h1, h2, h3, p, dd, li, dt, summary { overflow-wrap: anywhere; hyphens: manual; }
@media (max-width: 600px) { h1, h2, h3, p, dd, li, dt, summary { hyphens: auto; -webkit-hyphens: auto; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--claret); text-underline-offset: 3px; }
a:hover { color: var(--claret-dark); }
:focus-visible { outline: 3px solid var(--claret); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--card); color: var(--ink); padding: 10px 14px; z-index: 10; border-radius: 6px; }
.skip:focus { left: 12px; }

/* Track strip: crawler-track links, the first one claret. */
.track { height: 12px; background:
  linear-gradient(var(--claret), var(--claret)) 20px 3px / 22px 6px no-repeat,
  repeating-linear-gradient(90deg, var(--link) 0 22px, transparent 22px 30px) 50px 3px / calc(100% - 50px) 6px no-repeat,
  var(--drum); }

/* Header */
.top { background: var(--drum); color: #fff; position: relative; z-index: 5; }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em; min-height: 44px; }
.brand:hover { color: #fff; }
.nav { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding: 0; }
.nav a { color: #d9d2d6; text-decoration: none; font-weight: 500; display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -3px 0 var(--claret-light); }

/* Drum cells */
.drum { display: inline-flex; gap: 4px; background: var(--drum); padding: 6px; border-radius: 10px; }
.drum .cell { display: inline-flex; align-items: center; justify-content: center; background: var(--cell); color: #fff; font: 700 1rem/1 var(--mono); border-radius: 6px; width: 1.6em; height: 2.2em; }
.drum .cell-tenth { background: var(--claret); }
.drum-xl { font-size: clamp(1.7rem, 7vw, 3.6rem); padding: 0.16em; gap: 0.08em; border-radius: 0.28em; }
.drum-xl .cell { font-size: 1em; width: 1.12em; height: 1.55em; border-radius: 0.16em; }
.drum-sm { font-size: 1.15rem; flex-shrink: 0; }
.drum-unit { font: 700 clamp(1.1rem, 3.4vw, 2rem) var(--mono); color: var(--soft); align-self: flex-end; }

/* Hero */
.hero { padding-top: clamp(28px, 6vw, 72px); }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.kicker, .label { font: 700 0.8rem/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--claret); margin: 0 0 10px; }
h1 { font-weight: 800; font-size: clamp(2rem, 5.6vw, 3.3rem); line-height: 1.06; letter-spacing: -0.025em; margin: 0 0 18px; }
.lead { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--soft); margin: 0 0 24px; max-width: 40em; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.link-arrow::after { content: "→"; margin-left: 8px; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 24px 0 0; }
.facts li { font: 700 0.8rem/1 var(--mono); text-transform: uppercase; letter-spacing: 0.04em; background: var(--sunk); border-radius: 4px; padding: 8px 10px; }
.hero-meter { display: flex; gap: 10px; justify-content: center; }

.hero-stage { margin-top: clamp(28px, 6vw, 56px); background: linear-gradient(var(--concrete) 0 30%, var(--drum) 30% 100%); position: relative; }
.hero-stage::before { content: ""; position: absolute; left: 0; right: 0; top: calc(30% - 12px); height: 12px; background: repeating-linear-gradient(90deg, var(--ink) 0 22px, transparent 22px 30px); opacity: 0.9; }
.stage-row { position: relative; z-index: 1; display: flex; justify-content: center; align-items: flex-end; gap: clamp(10px, 3vw, 28px); padding-bottom: 0; overflow: hidden; }

/* Play button */
.play { display: inline-flex; align-items: center; gap: 12px; background: var(--ink); color: #fff; text-decoration: none; border-radius: 8px; padding: 10px 18px 10px 10px; min-height: 56px; border-bottom: 4px solid var(--claret); }
.play:hover { color: #fff; background: #000; }
.play-cell { width: 36px; height: 36px; border-radius: 6px; background: var(--claret); display: inline-flex; align-items: center; justify-content: center; font: 700 1rem var(--mono); }
.play-text { display: flex; flex-direction: column; line-height: 1.15; }
.play-small { font-size: 0.78rem; color: #d9d2d6; }
.play-big { font-weight: 800; font-size: 1.1rem; }
.play-soon { cursor: default; opacity: 0.92; }

/* Screenshots */
.shot { margin: 0; }
.shot img { border-radius: 18px; border: 2px solid var(--drum); background: var(--card); }
.shot-main { width: min(300px, 62vw); }
.shot-side { width: min(240px, 40vw); display: none; }
.shot-main img, .shot-side img { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; }
.shot-story { width: min(320px, 78vw); justify-self: center; }
.shot-story img { box-shadow: 14px 14px 0 var(--sunk); }
.shot-wall { width: min(260px, 70vw); flex: 0 0 auto; }

/* Sections */
.section-title { font-weight: 800; font-size: clamp(1.6rem, 4.4vw, 2.4rem); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 28px; max-width: 24em; }
.section-title-light { color: #fff; }
.steps { padding: clamp(48px, 8vw, 96px) 0; background: var(--card); }
.step-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step h3 { margin: 4px 0 6px; font-size: 1.2rem; font-weight: 800; }
.step p { margin: 0; color: var(--soft); }

.story { padding: clamp(48px, 8vw, 96px) 0; border-top: 1px solid var(--line); }
.story-grid { display: grid; gap: 32px; align-items: center; }
.story h2 { font-weight: 800; font-size: clamp(1.6rem, 4.4vw, 2.3rem); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 14px; }
.story p { margin: 0 0 16px; color: var(--soft); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { padding-left: 26px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 14px; height: 9px; border-radius: 2px; background: var(--claret); }

.wall { background: var(--drum); padding: clamp(48px, 8vw, 88px) 0; }
.wall-row { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; }
.wall-row .shot { scroll-snap-align: start; }
.wall .shot img { border-color: var(--cell); }

.honest { padding: clamp(48px, 8vw, 96px) 0; }
.honest-grid { display: grid; gap: 14px; margin: 0; }
.honest-item { background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--claret); border-radius: 10px; padding: 18px 20px; }
.honest-item dt { font-weight: 800; font-size: 1.1rem; margin-bottom: 4px; }
.honest-item dd { margin: 0; color: var(--soft); }
.honest-more { margin: 22px 0 0; }

.download { background: var(--sunk); padding: clamp(40px, 7vw, 72px) 0; border-top: 1px solid var(--line); }
.download-inner { display: grid; gap: 22px; align-items: center; }
.download h2 { font-weight: 800; font-size: clamp(1.5rem, 4vw, 2.1rem); line-height: 1.15; margin: 0 0 10px; }
.download p { margin: 0 0 6px; color: var(--soft); }

/* Documents (help, privacy) */
.doc { padding: clamp(32px, 6vw, 72px) 0; }
.doc-wrap { max-width: 800px; }
.doc h2 { font-weight: 800; font-size: clamp(1.3rem, 3.6vw, 1.6rem); line-height: 1.2; margin: 36px 0 10px; }
.doc p { margin: 0 0 14px; }
.doc-meta { font: 500 0.9rem var(--mono); color: var(--soft); }
.doc-steps { padding-left: 1.3em; display: grid; gap: 10px; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 0 18px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; min-height: 48px; list-style-position: outside; }
.faq details[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.contact-box { background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--claret); border-radius: 10px; padding: 4px 20px 6px; margin-top: 36px; }
.contact-box h2 { margin-top: 18px; }

/* Footer */
.foot { background: var(--drum); color: #d9d2d6; padding: 32px 0; }
.foot-inner { display: grid; gap: 18px; }
.foot-brand { display: flex; gap: 12px; align-items: center; }
.foot-name { margin: 0; color: #fff; font-weight: 800; }
.foot-small { margin: 0; font-size: 0.9rem; }
.foot-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot-links a { color: #fff; display: inline-flex; min-height: 44px; align-items: center; overflow-wrap: anywhere; }

@media (min-width: 720px) {
  .top { position: sticky; top: 0; }
  .shot-side { display: block; }
  .step-list { grid-template-columns: 1fr 1fr; gap: 36px 48px; }
  .honest-grid { grid-template-columns: 1fr 1fr; }
  .download-inner { grid-template-columns: 1fr auto; }
  .foot-inner { grid-template-columns: 1fr auto; align-items: center; }
}

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.25fr 1fr; }
  .hero-meter { justify-content: flex-end; }
  .story-grid { grid-template-columns: 1.1fr 0.9fr; gap: 64px; }
  .story-flip .story-copy { order: 2; }
  .story-flip .shot-story { order: 1; }
  .wall-row { justify-content: center; overflow: visible; }
}
