/* Hallmark · shape: product landing, single page (design/web/landing.dc.html) · genre: editorial · theme: custom (locked, apps/web/DESIGN.md) · job: try, the download in the nav, the hero and the closing band · idea: "you know where the child is today" · vibe: "calm sage paper, one lime signal, light type"
 * paper: #ECEFE8 · accent: #E5F69B · display: Inter 500 · body: Inter 400 · hero: Stage, head and lede left, the real Ma screen in an iPhone bezel cropped by a lime card · nav: edge-aligned wordmark, four anchors, one ink pill · footer: wordmark and line left, three short link columns right · imagery: the product captured (Expo web, sample data) in Apple's bezel · signature: the app's real Ma screen in an iPhone
 * axes: sage paper/medium Inter/lime card · posture: committed (one lime surface per screen: hero card, premium column, closing band) · contrast: pass · fold: pass · copy: verbatim · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V3 · weakest: V, the shape is the approved reference build and stays; variety comes from the tab-driven phone and the table, not a new layout */
/* Hallmark · waive 47b · two Apple iPhone bezels, each holding a real capture of the Péntekhat app · the app is the product, and the feature tabs swap the second phone's screen */
/* Hallmark · answered F4 · the lime pill sits only on the dark VálásNavigátor band and the ink pill inside the phone is the app's own button, not a page action */
/* Hallmark · answered F18 · the one slot is the App Store QR code, which lands as a static img when the app is live; no script needed */
/* Hallmark · waive 59 · the trust band hangs 89px under the hero as its footnote, then the gaps run 120px and up · the approved design pairs the VálásNavigátor line with the hero */
/* Hallmark · waive 77 · the trust band is two plain lines between hairlines, once on the page · it states the VálásNavigátor calculation the hero promises */
/* Hallmark · waive 72 · closed feature details measured with their hidden body below the summary · open, each Péntekhat feature body keeps 24px padding on every side */
/* Hallmark · dismissed 25 · the footer line under the Péntekhat wordmark is one sentence, a caption, so 36ch sits inside the 28ch caption allowance */
/* Hallmark · waive 23 · the lime hero card cropping the phone is the screen's one lime surface, as Péntekhat DESIGN.md sets for the hero card · past it the page keeps lime to the premium column and closing band */
/* Hallmark · dismissed 23 · the 6.5% is the declared posture: the lime card behind the hero phone is the screen's one lime surface */

/* Fonts: self-hosted Inter (OFL, fonts/OFL.txt), Hungarian Latin subset; no request to a third party. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("./fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("./fonts/inter-500.woff2") format("woff2"); }

/* ---------- Base (what the Floor already decided) ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: var(--space-lg); scrollbar-color: var(--color-muted) var(--color-paper); }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.55; -webkit-font-smoothing: antialiased; }
::selection { background: var(--color-accent); color: var(--color-ink); }
:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; transition: none; }
a { color: var(--color-ink); text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
a:hover { color: var(--color-ink-2); }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-synthesis: none; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
img, svg { display: block; max-width: 100%; }
b, strong { font-weight: 500; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.closing { font-weight: inherit; }

.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); border-radius: var(--radius-pill); background: var(--color-ink); color: var(--color-on-ink); }
.skip:focus-visible { top: var(--space-md); }

/* A fact the brief does not give yet: shown as a marked gap, never invented. */
.fill { padding: 0 0.25em; border: 1px dashed var(--color-muted); border-radius: 4px; color: var(--color-muted); -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ---------- Controls ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: var(--control-h); padding: 0 calc(var(--space-lg) + var(--space-2xs)); border: 1px solid var(--color-ink); border-radius: var(--radius-pill); background: var(--color-ink); color: var(--color-on-ink); font: 500 var(--text-body-l)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:hover { background: var(--color-ink-2); border-color: var(--color-ink-2); color: var(--color-on-ink); }
.btn:active { transform: translateY(1px); }
.btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn svg { flex: none; }
.btn--quiet { background: var(--color-paper-2); border-color: var(--color-rule); color: var(--color-ink); }
.btn--quiet:hover { background: var(--color-paper-3); border-color: var(--color-rule); color: var(--color-ink); }
.btn--lime { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-ink); }
.btn--lime:hover { background: var(--color-accent-strong); border-color: var(--color-accent-strong); color: var(--color-ink); }
.btn--small { min-height: var(--control-h-s); padding: 0 var(--space-lg); font-size: var(--text-md); }
.on-dark :focus-visible { outline-color: var(--color-accent); }

/* ---------- Nav ---------- */
.site-head { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-lg); padding-block: var(--space-lg); }
.brand { display: inline-flex; align-items: center; gap: var(--space-sm); text-decoration: none; color: var(--color-ink); }
.brand:hover { color: var(--color-ink); }
.brand__tile { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 14px; background: var(--color-ink-2); }
.brand__tile img { width: 32px; height: auto; }
.brand__name { font-size: var(--text-lg); font-weight: 500; letter-spacing: -0.01em; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: var(--space-xs) calc(var(--space-lg) + var(--space-2xs)); margin: 0; padding: 0; list-style: none; }
.site-nav a { display: inline-flex; align-items: center; min-height: var(--control-h-s); font-size: 0.9375rem; text-decoration: none; white-space: nowrap; }
.site-nav a:hover { text-decoration: underline; }
@media (max-width: 52rem) {
  .site-nav { order: 3; width: 100%; margin-left: 0; }
  .site-head .btn { margin-left: auto; }
}

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: var(--gap-columns); padding-block: var(--space-xl) var(--space-2xl); }
.hero h1 { font-size: var(--text-display); line-height: 1.02; font-weight: 500; letter-spacing: var(--tracking-display); }
.hero__lede { margin-top: var(--space-lg); max-width: 32ch; font-size: var(--text-lead); line-height: 1.5; color: var(--color-ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xl); }
.hero__note { margin-top: var(--space-lg); font-size: 0.9375rem; color: var(--color-muted); }
.hero__visual { display: flex; justify-content: center; min-width: 0; }
.hero__stage { display: flex; justify-content: center; align-items: flex-start; width: 100%; max-width: 480px; height: 560px; padding-top: var(--space-xl); border-radius: var(--radius-card); background: var(--color-accent); overflow: hidden; }
.hero__phone { flex: none; width: 340px; max-width: 78%; height: auto; filter: drop-shadow(0 24px 32px color-mix(in srgb, var(--color-ink) 18%, transparent)); }
@media (max-width: 60rem) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xl); }
  .hero__stage { max-width: 420px; height: 500px; }
}

/* ---------- Trust band ---------- */
.band { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-sm) var(--space-xl); padding-block: var(--space-lg); border-block: var(--rule-hair) solid var(--color-rule); font-size: 0.9375rem; color: var(--color-muted); }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-gap); }
.section-head { font-size: var(--text-section); line-height: 1.08; font-weight: 500; letter-spacing: var(--tracking-section); }
.section-head--center { text-align: center; }
.section-head--narrow { max-width: 15em; }

/* Features: exclusive <details>; the phone follows the open one through :has(), no script. */
.features { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--gap-columns); align-items: start; margin-top: var(--space-2xl); }
.features__list { display: flex; flex-direction: column; gap: var(--space-sm); }
.feature { border: 1px solid var(--color-rule); border-radius: 24px; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.feature[open] { border-color: var(--color-ink); background: var(--color-paper-2); }
.feature summary { display: block; min-height: var(--control-h-s); padding: var(--space-lg); border-radius: 24px; cursor: pointer; list-style: none; }
.feature summary::-webkit-details-marker { display: none; }
.feature summary:hover .feature__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
.feature[open] summary { padding-bottom: var(--space-xs); cursor: default; }
.feature[open] summary:hover .feature__title { text-decoration: none; }
.feature__tag { display: flex; align-items: center; gap: var(--space-sm); font-size: 0.9375rem; color: var(--color-muted); }
.feature__tag::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--color-sage); }
.feature[open] .feature__tag::before { background: var(--color-accent-strong); }
.feature__title { display: block; margin-top: var(--space-xs); font-size: 1.375rem; font-weight: 500; letter-spacing: -0.01em; }
.feature__body { padding: 0 var(--space-lg) var(--space-lg); max-width: 60ch; line-height: 1.55; color: var(--color-muted); }
.features__phone { display: flex; justify-content: center; min-width: 0; position: sticky; top: var(--space-lg); }
.screen { display: none; width: 340px; max-width: 78%; height: auto; filter: drop-shadow(0 24px 32px color-mix(in srgb, var(--color-ink) 16%, transparent)); }
.screen--ma { display: block; }
.features:has(#f-naptar[open]) .screen--ma,
.features:has(#f-naplo[open]) .screen--ma,
.features:has(#f-kerek[open]) .screen--ma { display: none; }
.features:has(#f-naptar[open]) .screen--naptar,
.features:has(#f-naplo[open]) .screen--naplo,
.features:has(#f-kerek[open]) .screen--kerek { display: block; }
@media (max-width: 60rem) {
  .features { grid-template-columns: minmax(0, 1fr); }
  .features__phone { position: static; }
}

/* Your data: 2 x 2 statements on the second paper. */
.data { background: var(--color-paper-2); }
.data__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap-columns); margin-top: var(--space-2xl); border-top: var(--rule-hair) solid var(--color-rule); }
.data__item { padding-block: calc(var(--space-xl) - var(--space-2xs)); border-bottom: var(--rule-hair) solid var(--color-rule); }
.data__item h3 { font-size: var(--text-title); line-height: 1.2; font-weight: 500; letter-spacing: -0.018em; }
.data__item p { margin-top: var(--space-sm); max-width: 48ch; line-height: 1.55; color: var(--color-muted); }
@media (max-width: 48rem) { .data__grid { grid-template-columns: minmax(0, 1fr); } }

/* Pricing table */
.pricing { max-width: 1040px; }
.pricing__lede { margin: var(--space-md) auto 0; max-width: 46ch; text-align: center; font-size: var(--text-body-l); line-height: 1.55; color: var(--color-muted); }
.pricing__scroll { position: relative; margin-top: var(--space-2xl); overflow-x: auto; }
.price-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: var(--text-md); }
.price-table thead th { padding: var(--space-lg) var(--space-md); font-weight: 500; text-align: center; vertical-align: bottom; }
.price-table thead th:first-child { text-align: left; }
.price-table .col-plan { width: 180px; }
.price-table .price { display: block; margin-top: var(--space-xs); font-size: 1.875rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.price-table tbody tr { border-top: var(--rule-hair) solid var(--color-rule); }
.price-table tbody th { padding: var(--space-md); font-weight: 400; text-align: left; }
.price-table td { padding: var(--space-md); text-align: center; color: var(--color-accent-ink); }
.price-table .is-premium { background: var(--color-accent); color: var(--color-ink); }
.price-table thead .is-premium { border-radius: var(--radius-card) var(--radius-card) 0 0; }
.price-table tbody tr:last-child .is-premium { border-radius: 0 0 var(--radius-card) var(--radius-card); }
.price-table .yes { display: inline-block; vertical-align: middle; }
@media (max-width: 40rem) {
  .price-table { min-width: 0; font-size: var(--text-sm); }
  .price-table .col-plan { width: 92px; }
  .price-table thead th, .price-table tbody th, .price-table td { padding: var(--space-sm) var(--space-xs); }
  .price-table .price { font-size: var(--text-lg); }
}

/* VálásNavigátor band, the one dark surface */
.vn { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-xl); padding: var(--space-2xl) calc(var(--space-2xl) - var(--space-xs)); border-radius: var(--radius-card); background: var(--color-ink-2); color: var(--color-paper-2); }
.vn__text { flex: 1 1 520px; min-width: 0; }
.vn h2 { font-size: var(--text-band); line-height: 1.1; font-weight: 500; letter-spacing: -0.025em; }
.vn p { margin-top: var(--space-md); max-width: 50ch; font-size: var(--text-body-l); line-height: 1.55; color: var(--color-rule); }
@media (max-width: 40rem) { .vn { padding: var(--space-xl) var(--space-lg); } }

/* Questions */
.faq { max-width: 1040px; }
.faq__list { display: flex; flex-direction: column; gap: var(--space-sm); margin-top: var(--space-xl); }
.faq__item { border-radius: var(--radius-chip); background: var(--color-paper-2); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); min-height: var(--control-h-s); padding: var(--space-lg); border-radius: var(--radius-chip); font-size: var(--text-body-l); font-weight: 500; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
.faq__item summary::after { content: "+"; flex: none; font-size: 1.5rem; font-weight: 400; line-height: 1; color: var(--color-muted); }
.faq__item[open] summary::after { content: "\2212"; }
.faq__item p { padding: 0 var(--space-lg) var(--space-lg); max-width: 65ch; line-height: 1.6; color: var(--color-muted); }

/* Download: the closing lime band, badge and QR together, a real screen cut by the card */
.download { padding-bottom: var(--space-2xl); }
.download__card { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: var(--gap-columns); align-items: start; height: 480px; padding: var(--space-2xl) 0 0 calc(var(--space-2xl) - var(--space-xs)); border-radius: var(--radius-card); background: var(--color-accent); overflow: hidden; }
.download__text { min-width: 0; padding-bottom: var(--space-2xl); }
.download h2 { font-size: var(--text-section); line-height: 1.05; font-weight: 500; letter-spacing: var(--tracking-section); }
.download__text > p { margin-top: var(--space-md); max-width: 46ch; font-size: var(--text-body-l); line-height: 1.55; color: var(--color-accent-ink); }
.get-app { display: flex; align-items: center; gap: var(--space-md); margin-top: var(--space-xl); }
.get-app__store { display: flex; flex-direction: column; gap: var(--space-xs); }
.get-app__hint { font-size: var(--text-sm); line-height: 1.4; color: var(--color-accent-ink); }
.qr__slot { display: flex; flex: none; align-items: center; justify-content: center; width: 112px; height: 112px; border: 2px dashed var(--color-accent-ink); border-radius: 16px; background: var(--color-paper-2); font-size: var(--text-xs); color: var(--color-muted); text-align: center; }
.download__visual { display: flex; justify-content: center; align-items: flex-start; min-width: 0; }
.download__phone { flex: none; width: 300px; max-width: 100%; height: auto; filter: drop-shadow(0 24px 32px color-mix(in srgb, var(--color-ink) 16%, transparent)); }
@media (max-width: 52rem) {
  .download__card { grid-template-columns: minmax(0, 1fr); height: auto; padding: var(--space-xl) var(--space-lg) 0; }
  .download__visual { height: 260px; overflow: hidden; }
  .download__phone { width: 240px; }
}
@media (max-width: 40rem) { .get-app .qr__slot, .get-app__hint { display: none; } }

/* App Store badge: Apple's own artwork, never redrawn */
.store-badge { display: inline-flex; align-items: center; min-height: var(--control-h-s); border-radius: 10px; }
.store-badge img { width: auto; height: var(--control-h); }
.store-badge:hover img { opacity: 0.85; }
.store-badge--small img { height: var(--control-h-s); }

/* ---------- Footer: a dark rounded card, the wordmark set large ---------- */
.site-foot { padding-bottom: var(--space-lg); }
.foot-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--gap-columns); padding: var(--space-2xl) calc(var(--space-2xl) - var(--space-xs)); border-radius: var(--radius-card); background: var(--color-ink); color: var(--color-paper-2); }
.foot-card__brand { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-lg); min-width: 0; }
.foot-card__mark { display: inline-flex; align-items: center; gap: var(--space-md); color: var(--color-paper-2); text-decoration: none; }
.foot-card__mark:hover { color: var(--color-paper-2); }
.foot-card__mark .brand__tile { width: 56px; height: 56px; border-radius: 16px; }
.foot-card__mark .brand__tile img { width: 40px; }
.foot-card__wordmark { font-size: clamp(2.5rem, 4vw + 1rem, 4.5rem); line-height: 1; font-weight: 500; letter-spacing: -0.035em; }
.foot-card__brand p { max-width: 36ch; font-size: var(--text-md); line-height: 1.55; color: var(--color-rule); }
.foot-card__brand p a { color: var(--color-paper-2); }
.foot-card__cols { display: flex; flex-wrap: wrap; gap: var(--space-xl) var(--space-2xl); align-content: start; }
.foot-card__cols h2 { font-family: var(--font-body); font-size: var(--text-sm); font-weight: 500; letter-spacing: 0; color: var(--color-paper-2); }
.foot-card__cols ul { display: flex; flex-direction: column; gap: var(--space-2xs); margin: var(--space-sm) 0 0; padding: 0; list-style: none; }
.foot-card__cols a { display: inline-flex; align-items: center; min-height: 32px; font-size: var(--text-md); color: var(--color-rule); text-decoration: none; white-space: nowrap; }
.foot-card__cols a:hover { color: var(--color-paper-2); text-decoration: underline; }
.foot-legal { padding: var(--space-lg) calc(var(--space-2xl) - var(--space-xs)) 0; font-size: var(--text-sm); color: var(--color-muted); }
@media (max-width: 60rem) { .foot-card { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 40rem) { .foot-card { padding: var(--space-xl) var(--space-lg); } .foot-legal { padding-inline: var(--space-lg); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* 404 */
.notfound { min-height: 70dvh; }
.notfound__text { margin-block: var(--space-lg) var(--space-xl); font-size: var(--text-lead); color: var(--color-muted); }
