/* EarthSkySelf — közös HU/EN arculat, helyi rendszerfontokkal. */
:root {
  --paper: #f6f3eb;
  --ink: #193d38;
  --muted: #52665e;
  --green: #376d57;
  --gold: #efc575;
  --line: #d7dcd1;
  --dark: #0d292c;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.7 var(--sans); -webkit-font-smoothing: antialiased; overflow-wrap: anywhere; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .25em; }
a:focus-visible, summary:focus-visible { outline: 3px solid #a47722; outline-offset: 5px; }
::selection { background: var(--gold); color: var(--dark); }
.wrap { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
h1, h2, h3, p, figure { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h1 { font-size: clamp(44px, 4.65vw, 72px); line-height: 1.09; letter-spacing: -.045em; margin-bottom: 26px; }
h2 { font-size: clamp(34px, 3.6vw, 52px); line-height: 1.16; letter-spacing: -.035em; margin-bottom: 22px; text-wrap: balance; }
h3 { font-size: 25px; line-height: 1.25; }
em { font-weight: 400; }
p { margin-bottom: 20px; }
.eyebrow { font: 600 12px/1.6 var(--sans); letter-spacing: .15em; color: #806021; margin-bottom: 22px; }
.section { padding-block: 88px; }
.section-intro { max-width: 760px; font-size: 18px; color: var(--muted); line-height: 1.8; }
.skip-link { position: fixed; top: 12px; left: 16px; z-index: 20; padding: 12px 20px; color: var(--ink); background: white; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
/* A fejléc navigációja keskeny nézetben új sorba törik, menüscript nélkül. */
.site-header { min-height: 96px; display: flex; align-items: center; gap: 24px; padding-block: 18px; }
.brand { display: inline-flex; gap: 12px; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand span { font: 600 26px/1.1 var(--serif); letter-spacing: -.7px; }
.main-nav { display: flex; gap: 24px; margin-left: auto; }
.main-nav a { font-size: 13px; text-decoration: none; padding-block: 12px; }
.main-nav a:hover, .languages a:hover { text-decoration: underline; }
.languages { display: flex; gap: 4px; }
.languages a { display: grid; place-items: center; min-width: 36px; min-height: 44px; font-size: 13px; text-decoration: none; }
.languages a[aria-current] { text-decoration: underline; text-decoration-color: #9e762b; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 50px; padding: 12px 22px; border-radius: 9px; font-weight: 600; font-size: 14px; line-height: 1.5; text-decoration: none; transition: background .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.header-cta { color: white; background: var(--dark); white-space: nowrap; }
.header-cta:hover { background: #24534e; }
.button-gold { background: var(--gold); color: #132d2b; }
.button-gold:hover { background: #f6d69d; }
.button>span { font-size: 19px; }
/* A képernyőképek változtatás nélküli appnézetek, külön felirattal. */
.hero { position: relative; isolation: isolate; color: #faf8f0; background: var(--dark); }
.hero-landscape, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; object-fit: cover; object-position: center 62%; }
.hero-shade { background: linear-gradient(90deg, #05242fe8, #082e39a6 48%, #072c354a), linear-gradient(0deg, #0b272ba3, transparent 70%); }
.hero-inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px; align-items: center; padding-block: 74px 64px; min-height: 730px; }
.hero-copy { min-width: 0; }
.hero .eyebrow { color: #efc575; font-size: 14px; letter-spacing: .23em; }
.hero h1 em { color: #f3cb80; }
.intro { max-width: 550px; font-size: 19px; line-height: 1.75; color: #f4f4eb; margin-bottom: 26px; }
.beta-badge { display: inline-flex; align-items: center; gap: 10px; padding: 6px 13px; font-size: 12px; line-height: 1.6; border: 1px solid #b9d1c294; border-radius: 22px; color: #f0f3e7; }
.beta-badge>span { width: 7px; height: 7px; background: #b6d2b4; border-radius: 50%; flex-shrink: 0; }
.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 15px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 14px; text-decoration: none; border-bottom: 1px solid #f5efd583; }
.text-link:hover { color: var(--gold); }
.platform-note { font-size: 12px; margin: 22px 0 0; line-height: 1.8; }
.app-preview { margin: 0; min-width: 0; }
.phones { display: flex; align-items: center; gap: 18px; justify-content: center; padding: 10px 0 25px; }
.phone { width: 47%; max-width: 237px; padding: 7px; border: 1px solid #b8bbae; border-radius: 27px; background: #172a29; box-shadow: 0 24px 36px #00131c50; overflow: hidden; }
.phone img { width: 100%; border-radius: 20px; }
.phone-home { transform: translateY(-15px) rotate(-2deg); }
.phone-knowledge { transform: translateY(20px) rotate(2deg); }
.app-preview figcaption { max-width: 430px; margin: 20px auto 0; font-size: 11px; line-height: 1.7; color: #ecebdb; text-align: center; }
.trust-strip { border-bottom: 1px solid var(--line); }
.trust-strip ul { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 24px 0; }
.trust-strip li { text-align: center; padding-inline: 16px; font-size: 14px; }
.trust-strip li+li { border-left: 1px solid #bb9c58; }
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-block: 44px 30px; }
.feature { position: relative; padding-right: 22px; }
.feature+.feature { border-left: 1px solid #d6c69f; padding-left: 24px; padding-right: 0; }
.feature-icon { width: 42px; height: 42px; margin-bottom: 20px; color: #2e7056; }
.tier { display: inline-block; font: 600 10px/1.6 var(--sans); letter-spacing: .06em; padding: 2px 9px; border-radius: 5px; background: #dce5d5; position: absolute; top: 8px; right: 12px; }
.tier.premium { background: #f0d7a1; }
.feature h3 { font-size: 25px; margin-bottom: 15px; }
.feature p { font-size: 14px; line-height: 1.8; margin-bottom: 0; }
.context-note, .plan-note { color: var(--muted); font-size: 13px; line-height: 1.9; max-width: 980px; }
.observatory { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px 30px; align-items: center; }
.observatory a { min-height: 44px; display: inline-flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 600; }
.observatory p { font-size: 12px; color: var(--muted); margin: 0; }
.daily-section { background: #dfe5d6; }
.daily-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 90px; align-items: center; }
.daily-steps { list-style: none; padding: 0; margin: 36px 0 0; }
.daily-steps li { display: flex; gap: 24px; padding-block: 19px; border-top: 1px solid #aab8a4; }
.step-number { font: 33px/1.1 var(--serif); color: #5b7049; }
.daily-steps h3 { font: 600 17px/1.5 var(--sans); margin: 0 0 6px; }
.daily-steps p { font-size: 14px; line-height: 1.8; margin: 0; }
.journal-card { background: #faf9f2; border: 1px solid #c7d2c3; border-radius: 16px; padding: 35px; box-shadow: 0 12px 30px #213c2810; }
.journal-card h3 { font-size: 36px; line-height: 1.15; }
.journal-card>p { font-size: 14px; }
.scale-list { list-style: none; padding: 0; margin-block: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.scale-list li { padding: 7px 12px; background: #e8eee5; border: 1px solid #d8e1d3; border-radius: 6px; font-size: 13px; }
.small-note { font-size: 12px; line-height: 1.8; }
.journal-card .small-note { font-size: 12px; color: var(--muted); margin: 0; }
.purpose-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: center; }
.evidence-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; margin-top: 25px; }
.evidence { border-top: 3px solid #7d9c79; padding: 20px 20px 0 0; }
.evidence-1 { border-color: #bca25e; }
.evidence-2 { border-color: #78979e; }
.evidence h3 { font-size: 24px; margin-bottom: 10px; }
.evidence p { color: var(--muted); font-size: 14px; }
.boundary-note { font-size: 13px; line-height: 1.9; padding: 22px 26px; border-left: 3px solid #bb9c58; background: #efece1; margin: 26px 0 0; }
.plans-section { background: #eeeee4; border-block: 1px solid #e1e4d7; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-block: 30px; }
.plan { border: 1px solid #c9d4c4; border-radius: 12px; padding: 28px 32px; }
.plan-premium { background: #fbf8ef; border-color: #c1a669; }
.plan h3 { font-size: 32px; margin-bottom: 18px; }
.plan ul { padding-left: 20px; margin: 0; }
.plan li { padding-left: 4px; margin-block: 9px; font-size: 14px; }
.plan li::marker { color: #4a745a; }
.plan-note { margin-bottom: 0; }
.beta-section { background: var(--dark); color: #f7f5ed; }
.beta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.beta-section .eyebrow, .beta-section h2 em { color: var(--gold); }
.beta-section h2 { font-size: clamp(40px, 4.5vw, 60px); }
.beta-intro { font-size: 18px; max-width: 480px; }
.beta-section .small-note { color: #d6e0d6; margin-bottom: 0; }
.beta-instructions { padding-left: 45px; border-left: 1px solid #749084; }
.beta-instructions ol { padding-left: 24px; margin: 0 0 28px; }
.beta-instructions li { padding-left: 5px; margin-bottom: 16px; font-size: 15px; }
.email-button { font-size: 21px; margin-bottom: 4px; }
.beta-instructions .platform-note { margin: 16px 0; }
.beta-section a:focus-visible, .hero a:focus-visible { outline-color: #f6d89f; }
.faq-section { max-width: 1000px; }
.faq-list { margin-top: 30px; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; min-height: 44px; }
.faq-list summary { padding: 21px 8px; font-size: 17px; font-weight: 500; }
.faq-list details p { padding: 0 8px 18px 26px; color: var(--muted); font-size: 14px; line-height: 1.85; }
/* Kötelező jogi és közösségi elemek, lenyitás nélkül is látható adatkezelési linkkel. */
.site-footer { padding-block: 40px 24px; border-top: 1px solid var(--line); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-top .brand span { font-size: 24px; }
.footer-top .brand img { width: 40px; height: 40px; }
.footer-tagline { font-size: 11px; letter-spacing: .12em; margin: 4px 0 0 52px; }
.footer-top>p { font-size: 12px; margin: 0; }
.back-top { font-size: 12px; min-height: 44px; display: inline-flex; align-items: center; gap: 12px; }
.social-footer { border-top: 1px solid var(--line); padding-top: 28px; margin-top: 30px; }
.social-footer .eyebrow { font: 28px/1.3 var(--serif); text-transform: none; letter-spacing: -.02em; color: var(--ink); }
.social-footer ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; }
.social-footer a { display: flex; align-items: center; min-height: 44px; gap: 8px; font-size: 12px; text-decoration: none; border-bottom: 1px solid #bdc9bc; }
.social-footer a:hover { color: #76551a; }
.social-icon { width: 19px; height: 19px; flex-shrink: 0; }
.social-label { flex: 1; }
.social-arrow { font-size: 18px; }
.legal-links { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 26px; }
.legal-links a { display: inline-flex; min-height: 44px; align-items: center; font-size: 13px; }
.medical-note { font-size: 12px; color: var(--muted); margin-top: 12px; }
.site-footer details { font-size: 12px; line-height: 1.9; color: var(--muted); border-bottom: 1px solid var(--line); padding-block: 8px 14px; }
.site-footer summary { padding-block: 10px; }
.site-footer details p { max-width: 900px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 22px; color: var(--muted); }
.footer-bottom small, .footer-bottom>span { font-size: 10px; }
.footer-bottom>span { letter-spacing: .15em; }
/* A meglévő adatkezelési dokumentumok változatlan HTML-jének támogatása. */
.privacy-page .site-header { color: var(--ink); position: relative; border-bottom: 1px solid var(--line); }
.privacy-page .languages { margin-left: auto; }
.privacy-document { max-width: 900px; padding-block: 64px 90px; overflow-wrap: anywhere; }
.privacy-document h1 { font: clamp(2rem, 5vw, 3.5rem)/1.15 var(--serif); margin-bottom: 20px; }
.privacy-document h2 { font: clamp(1.35rem, 3vw, 1.8rem)/1.3 var(--serif); margin: 0 0 20px; }
.privacy-document section { margin-block: 45px; border-top: 1px solid var(--line); padding-top: 30px; scroll-margin-top: 25px; }
.privacy-document li { margin-block: 8px; }
.privacy-date { color: var(--muted); }
.privacy-contents { border: 1px solid var(--line); padding: 18px 24px; margin-block: 32px; }
.privacy-contents ol { padding-left: 22px; margin: 0; }
.privacy-note { background: #eee6ce; border-left: 3px solid #96763e; padding: 20px 24px; }
.privacy-note p:last-child { margin-bottom: 0; }
.privacy-page .site-footer { padding-block: 28px; }
@media (max-width: 1120px) {
  .site-header { gap: 16px; }
  .brand span { font-size: 23px; }
  .main-nav { gap: 16px; }
  .header-cta { font-size: 12px; padding-inline: 15px; }
  .wrap { width: calc(100% - 64px); }
  .hero-inner { gap: 25px; min-height: 680px; }
  .hero h1 { font-size: 52px; }
  .intro { font-size: 17px; }
  .phones { gap: 12px; }
  .phone { padding: 5px; border-radius: 22px; }
  .phone img { border-radius: 17px; }
  .features { gap: 22px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature { padding: 22px 22px 22px 0; border-top: 1px solid #d6c69f; }
  .feature+.feature { padding: 22px 0; border-left: 0; }
  .tier { top: 30px; }
  .daily-grid, .purpose-grid, .beta-grid { gap: 45px; }
}
@media (max-width: 860px) {
  .site-header { flex-wrap: wrap; gap: 12px 18px; min-height: 120px; }
  .main-nav { order: 4; width: 100%; justify-content: center; border-top: 1px solid var(--line); padding-top: 6px; }
  .languages { margin-left: auto; }
  .hero-inner { grid-template-columns: 1fr; padding-block: 55px; }
  .hero-copy { max-width: 620px; }
  .hero h1 { font-size: clamp(42px, 7vw, 62px); }
  .intro { max-width: 600px; }
  .app-preview { max-width: 480px; justify-self: center; width: 100%; margin-top: 18px; }
  .phones { padding-bottom: 20px; }
  .hero-landscape { object-position: 65% center; }
  .hero-shade { background: linear-gradient(180deg, #052932cc, #0a2b33b0 55%, #09292e60); }
  .daily-grid { gap: 35px; }
  .journal-card { padding: 26px; }
  .journal-card h3 { font-size: 30px; }
  .purpose-grid { gap: 35px; }
  .beta-grid { grid-template-columns: 1fr; gap: 36px; }
  .beta-instructions { padding-left: 0; border-left: 0; border-top: 1px solid #749084; padding-top: 30px; }
  .beta-intro { max-width: 650px; }
  .social-footer ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-top { flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 40px); }
  .section { padding-block: 58px; }
  .site-header { padding-block: 14px 8px; gap: 8px; }
  .brand { gap: 8px; }
  .brand img { width: 36px; height: 36px; }
  .brand span { font-size: 21px; }
  .languages a { min-width: 31px; }
  .header-cta { order: 5; width: 100%; min-height: 42px; font-size: 13px; margin-block: 4px 6px; }
  .main-nav { gap: 18px; padding-top: 4px; }
  .main-nav a { font-size: 12px; min-height: 44px; }
  .hero-inner { padding-block: 44px; }
  .hero h1 { font-size: clamp(36px, 9.2vw, 54px); }
  .hero .eyebrow { font-size: 12px; }
  .intro { font-size: 17px; }
  .hero-actions { gap: 14px; }
  .button { font-size: 14px; }
  .beta-badge { font-size: 11px; }
  .app-preview { max-width: 400px; }
  .phone { border-radius: 20px; }
  .phone img { border-radius: 15px; }
  .app-preview figcaption { font-size: 11px; }
  .trust-strip ul { grid-template-columns: 1fr; padding-block: 14px; margin-block: 0; }
  .trust-strip li { padding: 7px 0; font-size: 13px; }
  .trust-strip li+li { border-left: 0; }
  .section-intro { font-size: 16px; }
  .features { grid-template-columns: 1fr; margin-top: 28px; gap: 6px; }
  .feature, .feature+.feature { padding: 24px 0; }
  .feature-icon { margin-bottom: 18px; }
  .tier { right: 0; }
  .feature p { font-size: 15px; }
  .daily-grid, .purpose-grid, .plans, .evidence-grid { grid-template-columns: 1fr; gap: 25px; }
  .daily-steps { margin-top: 25px; }
  .daily-steps li { gap: 18px; }
  .daily-steps p { font-size: 15px; }
  .journal-card { padding: 26px; }
  .journal-card h3 { font-size: 34px; }
  .purpose-grid .section-intro { margin-bottom: 0; }
  .evidence-grid { margin-top: 30px; gap: 12px; }
  .evidence { padding-top: 16px; }
  .boundary-note { padding: 20px; }
  .plan { padding: 24px; }
  .plan li { font-size: 15px; }
  .email-button { font-size: 20px; padding-inline: 20px; gap: 16px; }
  .beta-section h2 { font-size: 43px; }
  .faq-list summary { font-size: 16px; padding-inline: 0; }
  .faq-list details p { padding-left: 0; font-size: 15px; }
  .footer-top>div { width: 100%; }
  .footer-top { gap: 14px; }
  .social-footer ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
  .social-footer .eyebrow { font-size: 27px; }
  .legal-links { gap: 0 22px; }
  .privacy-document { padding-block: 40px 55px; }
  .privacy-note { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
@media print {
  body { background: white; color: black; font-size: 11pt; }
  .wrap { width: 100%; }
  .main-nav, .languages, .header-cta, .hero-landscape, .hero-shade, .hero-actions, .app-preview, .back-top, .social-footer { display: none; }
  .site-header { min-height: 0; padding-block: 10px; }
  .hero, .daily-section, .plans-section, .beta-section, .site-footer, .journal-card, .plan { background: white; color: black; box-shadow: none; }
  .hero-inner, .daily-grid, .purpose-grid, .beta-grid { display: block; padding-block: 20px; min-height: 0; }
  .hero h1, .hero h1 em, .hero .eyebrow, .hero .intro, .beta-section .eyebrow, .beta-section h2 em, .beta-section .small-note { color: black; }
  h1, .hero h1 { font-size: 34pt; }
  h2, .beta-section h2 { font-size: 25pt; }
  .section { padding-block: 24px; }
  .features { grid-template-columns: 1fr 1fr; }
  .feature, .plan, .evidence { break-inside: avoid; }
  .beta-instructions { border-color: #777; margin-top: 20px; padding: 20px 0 0; }
  .button-gold { background: white; color: black; border: 1px solid #777; }
  .privacy-document { max-width: none; padding: 0; }
  .privacy-contents { display: none; }
  .privacy-note { border: 1px solid #777; background: none; }
  .privacy-document section { break-inside: auto; }
}
