/* Meerkat — meerkatkids.com — stil „Cuib cald” */
:root {
  --bg: #FBF7F2;
  --card: #FFFFFF;
  --ink: #2A2433;
  --muted: #5E5668;
  --line: #ECE4DA;
  --coral: #C2492F;
  --coral-dark: #A63C24;
  --link: #A63C24;
  --teal: #2F7D7A;
  --peach: #FDE6DA;
  --mint: #DDF1EC;
  --lavender: #ECE6FA;
  --butter: #FFF1C9;
  --green: #2E9D6A;
  --green-text: #22764F;
  --radius: 26px;
  --radius-sm: 18px;
  --shadow: 0 1px 2px rgba(42, 36, 51, .05), 0 8px 24px rgba(42, 36, 51, .06);
  --wrap: 1120px;
  --font: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* The sticky header is ~110px tall on phones (menu on a second row), so anchors land below it. */
[id] { scroll-margin-top: 124px; }
@media (min-width: 820px) { [id] { scroll-margin-top: 88px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 6vw, 3.5rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: .35em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px;
  font-weight: 800; text-decoration: none;
}
.skip:focus { top: 12px; color: #fff; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(251, 247, 242, .94);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.hdr { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 900; font-size: 1.35rem; letter-spacing: -.02em; }
.logo:hover { color: var(--ink); }
.logo svg { width: 36px; height: 36px; flex: none; }
.nav { order: 3; width: 100%; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px 18px; flex-wrap: wrap; }
.nav li { margin: 0; }
.nav a { color: var(--ink); font-weight: 700; text-decoration: none; font-size: .98rem; padding: 6px 0; display: inline-block; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--coral-dark); text-decoration: underline; text-decoration-thickness: 2px; }
@media (min-width: 820px) {
  .nav { order: 0; width: auto; margin-left: auto; margin-right: 8px; }
  .nav ul { gap: 26px; }
}
/* Language switch (EN / RO) next to the download button */
.hdr-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: inline-flex; align-items: center; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
.lang-switch a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 34px; padding: 0 10px; border-radius: 999px; color: var(--ink); font-weight: 800; font-size: .85rem; letter-spacing: .04em; text-decoration: none; }
.lang-switch a:hover { color: var(--coral-dark); }
.lang-switch a[aria-current="true"] { background: var(--lavender); color: var(--ink); }
/* Keep logo + switch + button on one row on small phones */
@media (max-width: 420px) {
  .hdr-actions { gap: 6px; }
  .lang-switch a { min-width: 34px; padding: 0 7px; }
  .hdr-actions .btn-sm { padding: 9px 14px; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px;
  font: inherit; font-weight: 800; font-size: 1.02rem; line-height: 1.2;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 6px 18px rgba(194, 73, 47, .28); }
.btn-primary:hover { background: var(--coral-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-sm { min-height: 42px; padding: 9px 18px; font-size: .95rem; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }

/* Sections */
.section { padding: 56px 0; }
@media (min-width: 900px) { .section { padding: 88px 0; } }
.section-head { max-width: 680px; margin-bottom: 32px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { display: inline-block; font-weight: 800; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.lead { font-size: 1.15rem; color: var(--muted); }
.muted { color: var(--muted); }

/* Hero */
.hero { padding: 40px 0 56px; }
.hero-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .hero { padding: 72px 0 88px; } .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 48px; } }
.hero h1 { margin-bottom: 18px; }
.hero h1 .accent { color: var(--coral); }
.hero .lead { max-width: 540px; margin-bottom: 26px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.pill-note { display: inline-flex; align-items: center; gap: 8px; background: var(--mint); color: #1E5E59; font-weight: 800; font-size: .9rem; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.pill-note .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.hero-art { background: var(--peach); border-radius: 32px; padding: 20px; }
.hero-art svg { width: 100%; height: auto; }

/* Cards & grids */
.card { background: var(--card); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid { gap: 20px; } }
.bg-peach { background: var(--peach); }
.bg-mint { background: var(--mint); }
.bg-lavender { background: var(--lavender); }
.bg-butter { background: var(--butter); }
.card.bg-peach, .card.bg-mint, .card.bg-lavender, .card.bg-butter { box-shadow: none; }

.icon-tile { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 16px; color: var(--ink); background: var(--card); }
.icon-tile svg { width: 26px; height: 26px; }
.feature h3 { margin-bottom: 6px; }
.feature p { color: var(--muted); margin: 0; }
.feature .card-inner-note { margin-top: 12px; font-size: .92rem; font-weight: 700; color: var(--ink); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; gap: 16px; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.steps li { margin: 0; background: var(--card); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); position: relative; }
.steps .num { width: 40px; height: 40px; border-radius: 50%; background: var(--coral); color: #fff; font-weight: 900; display: grid; place-items: center; margin-bottom: 14px; font-size: 1.1rem; }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--muted); margin: 0; }

/* Screens in phone frames */
.screens { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.phone-frame { width: 220px; border-radius: 34px; padding: 9px; background: var(--ink); box-shadow: 0 18px 40px rgba(42, 36, 51, .18); margin: 0; }
.phone-frame img { border-radius: 26px; width: 100%; height: auto; aspect-ratio: 450 / 974; object-fit: cover; background: var(--bg); }
.phone-frame figcaption { color: #fff; text-align: center; font-weight: 700; font-size: .85rem; padding: 8px 4px 2px; }
@media (max-width: 520px) { .phone-frame { width: 46%; min-width: 150px; } .phone-frame:nth-child(3) { display: none; } }

/* Compare Android / iPhone */
.compare { display: grid; gap: 16px; }
@media (min-width: 820px) { .compare { grid-template-columns: 1fr 1fr; gap: 20px; } }
.compare .card { padding: 28px; }
.compare h3 { display: flex; align-items: center; gap: 10px; font-size: 1.35rem; }
.compare h3 svg { width: 26px; height: 26px; }
.check-list, .x-list { list-style: none; padding: 0; margin: 0; }
.check-list li, .x-list li { position: relative; padding-left: 34px; margin-bottom: 10px; }
.check-list li::before, .x-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background-repeat: no-repeat; background-position: center; background-size: 14px;
}
.check-list li::before { background-color: var(--green); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.x-list li::before { background-color: var(--muted); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E"); }
.note { background: var(--card); border-radius: var(--radius-sm); padding: 14px 16px; font-size: .95rem; color: var(--muted); margin-top: 16px; }
.note strong { color: var(--ink); }

/* Privacy promise */
.promise { background: var(--ink); color: #fff; border-radius: 32px; padding: 36px 24px; }
@media (min-width: 820px) { .promise { padding: 56px; } }
.promise h2 { color: #fff; }
.promise .lead { color: #D9D3E0; }
.promise-grid { display: grid; gap: 12px; margin: 28px 0 20px; }
@media (min-width: 640px) { .promise-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .promise-grid { grid-template-columns: repeat(3, 1fr); } }
.promise-item { display: flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, .08); border-radius: 18px; padding: 14px 16px; font-weight: 700; }
.promise-item svg { width: 24px; height: 24px; flex: none; color: #F4B3A2; }
.promise .sees { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px; padding: 16px 18px; color: #E9E4EF; }
.promise .sees strong { color: #fff; }
.promise a { color: #F8C6B8; }
.promise a:hover { color: #fff; }
.promise :focus-visible { outline-color: #9FD9D2; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border-radius: 20px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 800; font-size: 1.05rem; position: relative; border-radius: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; border-right: 2.5px solid var(--coral); border-bottom: 2.5px solid var(--coral); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .answer { padding: 0 22px 20px; color: var(--muted); }
.faq .answer p:last-child { margin: 0; }

/* Download */
.download { display: grid; gap: 16px; }
@media (min-width: 820px) { .download { grid-template-columns: 1fr 1fr; gap: 20px; } }
.dl-card { border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.dl-card h3 { font-size: 1.4rem; display: flex; align-items: center; gap: 10px; margin: 0; }
.dl-card h3 svg { width: 28px; height: 28px; }
.dl-card p { margin: 0; color: var(--muted); }
.dl-card .btn { align-self: flex-start; margin-top: 8px; }
.dl-card.soon { background: #F3EEE8; border: 2px dashed #CFC4B8; }
.badge-soon { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; background: var(--card); color: var(--muted); border-radius: 999px; padding: 10px 18px; font-weight: 800; margin-top: 8px; border: 2px solid var(--line); }
.badge-soon svg { width: 18px; height: 18px; }
.free-tag { display: inline-block; background: var(--butter); color: #5C4A10; font-weight: 800; border-radius: 999px; padding: 6px 14px; font-size: .92rem; }

/* Legal / content pages */
.page-hero { padding: 40px 0 8px; }
@media (min-width: 900px) { .page-hero { padding: 64px 0 16px; } }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3rem); }
.updated { color: var(--muted); font-weight: 700; font-size: .95rem; }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; scroll-margin-top: 100px; }
.prose h3 { margin-top: 1.5em; }
.prose p, .prose li { color: #3D3646; }
.summary-box { background: var(--mint); border-radius: var(--radius); padding: 24px; margin: 24px 0 8px; }
.summary-box h2 { margin-top: 0; font-size: 1.3rem; }
.summary-box ul { margin: 0; }
.summary-box li { color: var(--ink); }
.toc { background: var(--card); border-radius: var(--radius-sm); padding: 18px 22px; box-shadow: var(--shadow); margin: 24px 0; }
.toc h2 { font-size: 1.05rem; margin: 0 0 8px; }
.toc ol { margin: 0; }
.placeholder { background: var(--butter); padding: 1px 6px; border-radius: 6px; font-weight: 800; color: #5C4A10; }
.table-wrap { overflow-x: auto; margin: 16px 0; }
table { border-collapse: collapse; width: 100%; background: var(--card); border-radius: 16px; overflow: hidden; font-size: .95rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: #F5EFE8; font-weight: 800; }
tr:last-child td { border-bottom: 0; }

/* Help page */
.help-grid { display: grid; gap: 16px; }
@media (min-width: 860px) { .help-grid { grid-template-columns: 1fr 1fr; gap: 20px; } }
.help-steps { padding-left: 1.2em; }
.help-steps li { margin-bottom: .7em; }
.kbd { display: inline-block; background: var(--lavender); border-radius: 8px; padding: 0 8px; font-weight: 800; color: var(--ink); }
.help-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 8px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: 999px; background: var(--card); color: var(--ink); text-decoration: none; font-weight: 800; border: 2px solid var(--line); font-size: .95rem; }
.chip:hover { border-color: var(--coral); color: var(--coral-dark); }
.contact-card { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }

/* 404 */
.center-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 48px 0; }
.center-page svg { margin: 0 auto 20px; width: 160px; height: auto; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 32px; margin-top: 24px; background: #F6F0E9; }
.ftr { display: grid; gap: 20px; }
@media (min-width: 820px) { .ftr { grid-template-columns: 1fr auto; align-items: start; } }
.ftr p { margin: 8px 0 0; color: var(--muted); font-size: .95rem; max-width: 380px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.ftr li { margin: 0; }
.ftr ul a { color: var(--ink); font-weight: 700; text-decoration: none; }
.ftr ul a:hover { color: var(--coral-dark); text-decoration: underline; }
.copy { margin-top: 24px; color: var(--muted); font-size: .9rem; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
