/* Early Learning Activity Studio — landing. Identity "Építőkocka": chalk paper, deep green ink and the
   block colours of the app's six areas; circle, square and triangle as the graphic signature. */

@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/bricolage-grotesque-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: "Bricolage Grotesque"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/bricolage-grotesque-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: "Lexend"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/lexend-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: "Lexend"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/lexend-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: "Lexend"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/lexend-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: "Lexend"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/lexend-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: "Lexend"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/lexend-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: "Lexend"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/lexend-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; }

:root {
  --paper: #f2f4f0;
  --card: #ffffff;
  --sunk: #e5eae3;
  --line: #d3dbd2;
  --ink: #17262a;
  --soft: #475759;
  --green: #0a6b57;
  --green-dark: #064a3c;
  --emerald: #0ba280;
  --green-tint: #d5efe6;
  --coral: #dd4a63;
  --coral-dark: #a0233a;
  --coral-tint: #fadde2;
  --sky: #3477b5;
  --sky-dark: #1e5285;
  --sky-tint: #dceaf6;
  --sun: #f2b632;
  --sun-dark: #735200;
  --sun-tint: #fcefc9;
  --tangerine: #e8692c;
  --tangerine-dark: #9e3f0e;
  --tangerine-tint: #fce4d5;
  --plum: #7656a8;
  --plum-dark: #54387f;
  --plum-tint: #e9e1f4;
  --display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --text: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 14px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--text); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }
:focus-visible { outline: 3px solid var(--tangerine); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; overflow-wrap: anywhere; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 12px; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.kicker { font-weight: 600; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); }

/* Header */
.top { background: var(--paper); border-bottom: 1.5px solid var(--line); }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 19px; line-height: 1.15; }
.brand img { border-radius: 10px; }
.nav { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; flex-wrap: wrap; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: 15px; }
.nav a:hover { background: var(--sunk); }
.nav a[aria-current="page"] { background: var(--green-tint); color: var(--green-dark); }

/* Hero */
.hero { padding: 64px 0 72px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.6vw, 66px); margin: 14px 0 22px; }
.hero h1 span { display: block; }
.hero h1 .accent { color: var(--green); font-size: 0.62em; letter-spacing: -0.01em; margin-top: 10px; }
.lead { font-size: 19px; color: var(--soft); max-width: 36em; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-top: 30px; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 0; font-size: 15px; font-weight: 500; }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; width: 10px; height: 10px; background: var(--emerald); border-radius: 2px; }

.play { display: inline-flex; flex-direction: column; justify-content: center; min-height: 58px; padding: 8px 22px; border-radius: 12px; background: var(--ink); color: #fff; text-decoration: none; line-height: 1.2; }
.play:hover { color: #fff; background: #000; }
.play-small { font-size: 12px; letter-spacing: 0.04em; opacity: 0.85; }
.play-big { font-family: var(--display); font-size: 21px; }
.play-soon { background: var(--card); color: var(--ink); border: 2px dashed var(--line); cursor: default; }

/* Stacked screens on colour blocks */
.stack { position: relative; height: 640px; }
.stack-item { position: absolute; width: 46%; }
.stack-item .shot { position: relative; margin: 0; }
.stack-item .shot::before { content: ""; position: absolute; inset: 0; transform: translate(18px, 18px); border-radius: 22px; z-index: 0; }
.stack-item .shot img { position: relative; z-index: 1; border-radius: 22px; border: 3px solid var(--ink); background: #fff; box-shadow: 0 12px 30px rgba(23, 38, 42, 0.18); }
.stack-item.s1 { left: 0; top: 70px; z-index: 2; }
.stack-item.s1 .shot::before { background: var(--sky); }
.stack-item.s2 { left: 27%; top: 0; z-index: 3; }
.stack-item.s2 .shot::before { background: var(--coral); }
.stack-item.s3 { right: 0; top: 110px; z-index: 1; }
.stack-item.s3 .shot::before { background: var(--sun); }

/* Areas */
.areas { padding: 80px 0; background: var(--card); border-top: 1.5px solid var(--line); border-bottom: 1.5px solid var(--line); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; align-items: end; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(30px, 3.8vw, 46px); }
.section-head p { color: var(--soft); }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { position: relative; padding: 26px 24px 24px; border-radius: var(--r); min-height: 190px; }
.tile h3 { font-size: 24px; margin: 18px 0 8px; }
.tile p { font-size: 15.5px; }
.tile-coral { background: var(--coral-tint); } .tile-coral h3 { color: var(--coral-dark); } .tile-coral .mark { --c: var(--coral); }
.tile-sky { background: var(--sky-tint); } .tile-sky h3 { color: var(--sky-dark); } .tile-sky .mark { --c: var(--sky); }
.tile-sun { background: var(--sun-tint); } .tile-sun h3 { color: var(--sun-dark); } .tile-sun .mark { --c: var(--sun); }
.tile-tangerine { background: var(--tangerine-tint); } .tile-tangerine h3 { color: var(--tangerine-dark); } .tile-tangerine .mark { --c: var(--tangerine); }
.tile-plum { background: var(--plum-tint); } .tile-plum h3 { color: var(--plum-dark); } .tile-plum .mark { --c: var(--plum); }
.tile-green { background: var(--green-tint); } .tile-green h3 { color: var(--green-dark); } .tile-green .mark { --c: var(--green); }
.mark { display: block; width: 30px; height: 30px; background: var(--c); }
.mark-circle { border-radius: 50%; }
.mark-square { border-radius: 5px; }
.mark-triangle { clip-path: polygon(50% 4%, 100% 96%, 0 96%); }

/* Steps */
.steps { padding: 88px 0 40px; }
.steps-title { font-size: clamp(30px, 3.8vw, 46px); margin-bottom: 48px; }
.step-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 72px; }
.step { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.step.flip .step-copy { order: 2; }
.step-copy { max-width: 30em; }
.step h3 { font-size: 32px; margin: 18px 0 12px; }
.step p { color: var(--soft); font-size: 18px; }
.badge { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; font-family: var(--display); font-size: 24px; color: #fff; }
.badge-circle { background: var(--coral); border-radius: 50%; }
.badge-square { background: var(--sky); border-radius: 8px; }
.badge-triangle { background: var(--sun); color: var(--ink); clip-path: polygon(50% 0, 100% 100%, 0 100%); padding-top: 14px; width: 58px; }
.step-visual { display: flex; justify-content: center; }
.step-visual .shot { margin: 0; width: min(330px, 78vw); position: relative; }
.step-visual .shot::before { content: ""; position: absolute; inset: 0; transform: translate(-20px, 20px); border-radius: 22px; background: var(--sunk); }
.step-visual .shot img { position: relative; border-radius: 22px; border: 3px solid var(--ink); }

/* Printables */
.print { padding: 72px 0; }
.print-inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; background: var(--tangerine-tint); border-radius: 28px; padding: 48px; }
.print-visual .shot { margin: 0 auto; width: min(300px, 70vw); }
.print-visual img { border-radius: 20px; border: 3px solid var(--ink); }
.print-copy h2 { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 16px; }
.print-copy p { color: var(--soft); }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: baseline; font-weight: 500; }
.checks li::before { content: ""; flex: none; width: 12px; height: 12px; border-radius: 3px; background: var(--tangerine); transform: translateY(1px); }

/* Privacy band */
.privacy-band { background: var(--green-dark); color: #fff; padding: 56px 0; margin-top: 24px; }
.band-inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 24px 48px; align-items: center; }
.privacy-band h2 { font-size: clamp(28px, 3.4vw, 40px); }
.privacy-band p { color: #d9ece5; }
.privacy-band a { color: #fff; }

/* Final CTA */
.final { padding: 72px 0 88px; }
.final-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; background: var(--card); border: 1.5px solid var(--line); border-radius: 24px; padding: 32px 36px; }
.final-icon { border-radius: 20px; }
.final h2 { font-size: 28px; margin-bottom: 6px; }
.final p { color: var(--soft); }

/* Inner pages */
.page { padding: 56px 0 88px; }
.prose h1 { font-size: clamp(34px, 4.5vw, 52px); margin: 10px 0 18px; }
.prose h2 { font-size: 24px; margin: 38px 0 10px; }
.prose p + p { margin-top: 12px; }
.prose .lead { margin-bottom: 8px; }
.muted { color: var(--soft); font-size: 15px; margin-top: 28px !important; }
.numbered { padding-left: 22px; display: grid; gap: 8px; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1.5px solid var(--line); border-radius: 12px; padding: 0 18px; }
.faq summary { cursor: pointer; min-height: 52px; display: flex; align-items: center; font-weight: 600; list-style-position: inside; }
.faq details[open] { padding-bottom: 16px; }
.faq details p { color: var(--soft); }

/* Footer */
.foot { background: var(--card); border-top: 1.5px solid var(--line); padding: 32px 0 0; }
.foot-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 28px; }
.foot-brand { display: flex; align-items: center; gap: 14px; }
.foot-brand img { border-radius: 10px; }
.foot-name { font-family: var(--display); font-weight: 700; font-size: 18px; }
.foot-small { font-size: 14px; color: var(--soft); }
.foot-links { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 0; font-size: 15px; }
.foot-links a { display: inline-flex; min-height: 44px; align-items: center; }
.foot-blocks { display: flex; height: 10px; }
.foot-blocks .b { flex: 1; }
.b-c { background: var(--coral); } .b-s { background: var(--sky); } .b-t { background: var(--sun); }

/* Responsive */
@media (max-width: 960px) {
  .hero-inner, .step, .print-inner, .band-inner, .section-head { grid-template-columns: 1fr; }
  .stack { height: auto; aspect-ratio: 1 / 0.95; max-width: 560px; margin: 0 auto; width: 100%; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .step { gap: 32px; }
  .step.flip .step-copy { order: 0; }
  .print-inner { padding: 32px 20px; }
  .final-inner { padding: 24px 20px; }
  .final-inner { grid-template-columns: 1fr; justify-items: start; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero { padding: 36px 0 48px; }
  .lead { font-size: 17px; }
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 0; }
  .areas, .steps { padding: 56px 0; }
  .step-list { gap: 56px; }
  .step h3 { font-size: 27px; }
  .brand span { font-size: 16px; }
  .nav a { padding: 0 10px; font-size: 14px; }
  .stack-item .shot::before { transform: translate(10px, 10px); }
}
