/* Maintenance Reserve Planner — landing. Visual idea "Vízmérce": mist ground, petrol water, lime level
   line and a staff gauge, as in the app and the store graphics. Fonts are self-hosted (latin + latin-ext). */

@font-face { font-family: "Geologica"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/geologica-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: "Geologica"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/geologica-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: "Geologica"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/geologica-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: "Geologica"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/geologica-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: "Mona Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/mona-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: "Mona Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/mona-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: "Mona Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/mona-sans-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: "Mona Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/mona-sans-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: "Mona Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/mona-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: "Mona Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/mona-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; }

:root {
  --mist: #eaf0ee;
  --card: #ffffff;
  --ink: #0f2b33;
  --soft: #45595e;
  --line: #c9d6d2;
  --petrol: #0e5a66;
  --petrol-dark: #0a434c;
  --petrol-tint: #d5e8ea;
  --lime: #b7cf2e;
  --lime-tint: #eef5d2;
  --display: "Geologica", "Segoe UI", system-ui, sans-serif;
  --text: "Mona Sans", "Segoe UI", system-ui, sans-serif;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--mist); color: var(--ink); font-family: var(--text); font-size: 1.0625rem; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--petrol-dark); text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0 0 0.5em; overflow-wrap: anywhere; hyphens: auto; letter-spacing: -0.01em; }
h1 { font-weight: 800; font-size: clamp(2rem, 1.3rem + 3.4vw, 3.6rem); }
h2 { font-weight: 800; font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem); }
h3 { font-weight: 600; font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.7rem); }
p { margin: 0 0 1em; overflow-wrap: break-word; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--lime); color: var(--ink); padding: 10px 16px; z-index: 10; }
.skip:focus { left: 12px; top: 12px; }
.kicker { font-weight: 700; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--petrol); margin-bottom: 0.8em; display: flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 26px; height: 6px; border-radius: 3px; background: var(--lime); flex: none; }
.lead { font-size: 1.15rem; color: var(--soft); max-width: 640px; }
.note, .small { font-size: 0.92rem; color: var(--soft); }

/* Header: petrol bar with the level line under it */
.top { background: var(--petrol-dark); color: #fff; }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 1.05rem; line-height: 1.2; min-width: 0; }
.brand img { flex: none; }
.nav { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; flex-wrap: wrap; }
.nav a { display: inline-block; color: #dbe9ec; text-decoration: none; padding: 11px 10px; border-radius: 8px; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, 0.1); }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--lime); }
.level { height: 8px; background: var(--petrol); position: relative; }
.level span { position: absolute; left: 0; top: 0; bottom: 0; width: 22%; background: var(--lime); }

/* Hero: text, then a tank with the real screen rising out of the water */
.hero { position: relative; overflow: hidden; padding: 48px 0 0; }
.hero-grid { display: grid; gap: 36px; position: relative; z-index: 1; }
.hero-copy h1 { max-width: 18ch; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin: 26px 0 20px; }
.text-link { font-weight: 700; color: var(--petrol-dark); }
.text-link.light { color: #fff; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; padding: 0; }
.facts li { background: var(--card); border: 1.5px solid var(--line); border-radius: 8px; padding: 6px 12px; font-weight: 500; font-size: 0.95rem; }
.hero-visual { position: relative; display: flex; justify-content: center; padding: 0 0 0 44px; }
.tank { position: absolute; left: 0; top: 30px; bottom: 0; width: 30px; }
.tank-staff { position: absolute; inset: 0; border: 2px solid var(--petrol); background: repeating-linear-gradient(to bottom, var(--petrol) 0 22px, #fff 22px 44px); }
.water { position: absolute; left: 0; right: 0; bottom: 0; height: 34%; background: var(--petrol); border-top: 8px solid var(--lime); }
.shot { margin: 0; }
.shot img { border: 6px solid var(--ink); border-bottom: 0; border-radius: 30px 30px 0 0; box-shadow: 10px 12px 0 rgba(15, 43, 51, 0.16); background: var(--card); }
.shot-hero { width: min(360px, calc(100vw - 110px)); }
.shot-hero img { border-bottom: 0; }

/* Grid children may shrink below their content width (long Hungarian words wrap instead). */
.hero-grid > *, .feature-grid > *, .download-inner > * { min-width: 0; }

/* Calculation: a vertical staff gauge with four marks */
.calc { padding: 72px 0 40px; }
.gauge { list-style: none; margin: 28px 0 0; padding: 0 0 0 0; display: grid; gap: 0; border-left: 10px solid var(--petrol); }
.gauge li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 18px 0 18px 0; position: relative; }
.gauge li:nth-child(odd) { background: linear-gradient(to right, rgba(14, 90, 102, 0.06), transparent 70%); }
.gauge-mark { display: flex; align-items: center; justify-content: center; width: 46px; height: 34px; margin-left: -10px; background: var(--lime); color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 1.2rem; border-radius: 0 8px 8px 0; }
.gauge h3 { font-size: 1.25rem; margin-bottom: 0.25em; }
.gauge p { margin: 0; color: var(--soft); max-width: 700px; }

/* Features: alternating rows, number on a lime tab */
.features { padding: 40px 0 24px; }
.feature { padding: 36px 0; border-top: 1px solid var(--line); }
.feature-grid { display: grid; gap: 28px; align-items: center; }
.feature .shot { width: min(330px, calc(100vw - 60px)); justify-self: center; }
.feature-no { font-weight: 700; color: var(--petrol); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.85rem; display: flex; align-items: center; gap: 10px; }
.feature-no span { background: var(--petrol); color: #fff; font-family: var(--display); padding: 3px 10px; border-radius: 6px; letter-spacing: 0; font-size: 1rem; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li { padding-left: 30px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 18px; height: 4px; border-radius: 2px; background: var(--lime); }

/* Audience */
.audience { padding: 56px 0; background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.aud-list { display: grid; gap: 22px; margin: 24px 0 0; }
.aud-list div { border-left: 4px solid var(--lime); padding-left: 16px; }
.aud-list dt { font-family: var(--display); font-weight: 600; font-size: 1.2rem; }
.aud-list dd { margin: 4px 0 0; color: var(--soft); }

/* Privacy band: the water */
.private { background: var(--petrol); color: #fff; border-top: 8px solid var(--lime); padding: 56px 0; }
.private p { color: #e4eff1; max-width: 720px; }

/* Download */
.download { padding: 64px 0 72px; }
.download-inner { display: grid; gap: 24px; align-items: start; }
.download-icon { border-radius: 20px; }

/* Google Play button */
.play { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 20px 8px 14px; border-radius: 12px; background: var(--ink); color: #fff; text-decoration: none; }
.play-soon { background: #36505a; cursor: default; }
.play-mark { width: 26px; height: 30px; border: 2px solid var(--lime); border-radius: 4px; background: linear-gradient(to top, var(--lime) 0 45%, transparent 45%); }
.play-text { display: flex; flex-direction: column; line-height: 1.15; }
.play-small { font-size: 0.8rem; color: #cfe1e5; }
.play-big { font-family: var(--display); font-weight: 600; font-size: 1.15rem; }

/* Inner pages */
.page { padding: 48px 0 72px; }
.page h2 { margin-top: 1.6em; font-size: clamp(1.35rem, 1.15rem + 1vw, 1.8rem); }
.steps { padding-left: 1.4em; display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 18px; font-weight: 700; list-style-position: inside; overflow-wrap: anywhere; }
.faq details p { padding: 0 18px 16px; margin: 0; color: var(--soft); }
.contact-box { background: var(--lime-tint); border: 1.5px solid var(--lime); border-radius: 14px; padding: 20px; }
.contact-mail { font-family: var(--display); font-weight: 600; font-size: 1.2rem; overflow-wrap: anywhere; }
.legal h2 { font-size: 1.3rem; }

/* Footer */
.foot { background: var(--ink); color: #dbe9ec; padding: 32px 0; }
.foot-inner { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
.foot-brand { display: flex; gap: 12px; align-items: center; }
.foot-name { font-family: var(--display); font-weight: 600; color: #fff; margin: 0; }
.foot-small { margin: 0; font-size: 0.9rem; }
.foot-links { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; }
.foot-links a { color: #fff; overflow-wrap: anywhere; display: inline-block; padding: 6px 0; }

@media (min-width: 900px) {
  .top { position: sticky; top: 0; z-index: 5; }
  h1, h2 { hyphens: manual; }
  .nav a { padding: 10px 12px; }
  .hero { padding-top: 72px; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; align-items: end; }
  .hero-copy { padding-bottom: 120px; }
  .water { height: 30%; }
  .feature-grid { grid-template-columns: 1.2fr 0.8fr; gap: 56px; }
  .feature-flip .feature-copy { order: 2; }
  .aud-list { grid-template-columns: repeat(3, 1fr); }
  .download-inner { grid-template-columns: auto 1fr; gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
