/* MyKiddo Guard website: plain CSS, mobile first. Prices are plain text in index.html (search "HARGA / PRICES"). */

:root {
  --purple: #6A3FD9;
  --purple-650: #5A2FCF;
  --purple-700: #5B2BB8;
  --purple-deep: #4B23A8;
  --purple-200: #C9B8F2;
  --purple-100: #E6DDF8;
  --purple-50: #F1ECFC;
  --turq: #14C2B0;
  --turq-deep: #0A7A6D;
  --turq-container: #D7F5F1;
  --on-turq-container: #0A5C53;
  --lavender: #F5F3FB;
  --lavender-deep: #ECE8F7;
  --ink: #26234A;
  --ink-muted: #625F80;
  --white: #FFFFFF;
  --frame: #1E1B33;
  --footer: #1B1830;

  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(38, 35, 74, .06), 0 4px 14px rgba(38, 35, 74, .06);
  --shadow: 0 24px 48px -18px rgba(38, 35, 74, .30), 0 6px 16px rgba(38, 35, 74, .08);
  --maxw: 1160px;
  --header-h: 64px;
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  color-scheme: light;
}

/* ------------------------------------------------------------ language switch */
html[data-ui="ms"] .l-en,
html[data-ui="en"] .l-ms { display: none !important; }

/* ------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
h1, h2, h3, h4 { line-height: 1.18; margin: 0 0 .5em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.05rem, 1.35rem + 3.4vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 1.25rem + 2vw, 2.55rem); font-weight: 800; }
h3 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.6rem); font-weight: 800; }
p { margin: 0 0 1em; }
a { color: var(--purple); text-underline-offset: 3px; }
a:hover { color: var(--purple-deep); }
strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible { outline-color: var(--white); }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px;
  background: var(--ink); color: var(--white); border-radius: 10px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--white); }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 768px) { .wrap { padding-inline: 28px; } }

.section { padding-block: 72px; }
@media (min-width: 960px) { .section { padding-block: 104px; } }
.section--lavender { background: var(--lavender); }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head p { color: var(--ink-muted); font-size: 1.125rem; margin: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
  font-size: .875rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--purple-700);
}
.eyebrow::before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: currentColor; }
.chip {
  display: inline-block; padding: 1px 9px; margin-left: 4px; vertical-align: 1px;
  border-radius: 999px; background: var(--purple-50); color: var(--purple-700);
  font-size: .75rem; font-weight: 800; letter-spacing: .02em; white-space: nowrap;
}

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--purple); color: var(--white); box-shadow: 0 8px 20px -8px rgba(106, 63, 217, .7); }
.btn--primary:hover { background: var(--purple-deep); color: var(--white); }
.btn--ghost { background: transparent; color: var(--purple); border-color: var(--purple-200); }
.btn--ghost:hover { background: var(--purple-50); color: var(--purple-deep); }
.btn--light { background: var(--white); color: var(--purple-deep); }
.btn--light:hover { background: var(--purple-50); color: var(--purple-deep); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .55); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .12); color: var(--white); }
.btn--sm { min-height: 44px; padding: 8px 16px; font-size: .9375rem; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* Links to the Play listings: plain buttons with no badge styling. At launch, replace them with Google's official
   localized "Get it on Google Play" badge images, unaltered and with their clear space. */

.soon {
  display: flex; align-items: flex-start; gap: 10px; margin: 14px 0 0; font-size: .9375rem; line-height: 1.5;
}
.soon__dot {
  flex: none; width: 10px; height: 10px; margin-top: 7px; border-radius: 50%;
  background: var(--turq); box-shadow: 0 0 0 4px rgba(20, 194, 176, .25);
}
.on-dark .soon { color: rgba(255, 255, 255, .92); }
.soon--muted { color: var(--ink-muted); }

/* ------------------------------------------------------------ header */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, .92); border-bottom: 1px solid rgba(38, 35, 74, .07);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header { background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); }
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.0625rem; letter-spacing: -.01em; margin-right: auto; }
.brand:hover { color: var(--ink); }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.brand__name { display: none; white-space: nowrap; }
@media (min-width: 480px) { .brand__name { display: inline; } }
.site-nav { display: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.site-nav a {
  display: block; padding: 8px 14px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9375rem;
}
.site-nav a:hover { background: var(--lavender); color: var(--purple-deep); }
.lang-toggle {
  display: none; align-items: center; gap: 6px; min-height: 44px; padding: 6px 12px; border-radius: 999px;
  border: 1.5px solid var(--purple-100); background: var(--white); color: var(--ink);
  font: inherit; font-size: .875rem; font-weight: 700; cursor: pointer;
}
.lang-toggle:hover { border-color: var(--purple-200); background: var(--lavender); }
.lang-toggle svg { width: 18px; height: 18px; color: var(--purple); }
.js .lang-toggle { display: inline-flex; }
.menu-toggle {
  display: none; width: 44px; height: 44px; padding: 0; border-radius: 12px; border: 0; background: var(--lavender);
  color: var(--ink); cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle svg { width: 22px; height: 22px; }
.js .menu-toggle { display: inline-flex; }
.header-cta { white-space: nowrap; }

@media (max-width: 959.98px) {
  .js .site-header.is-open .site-nav {
    display: block; position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid rgba(38, 35, 74, .08); box-shadow: var(--shadow-sm);
    padding: 8px 16px 16px;
  }
  .js .site-header.is-open .site-nav ul { flex-direction: column; }
  .js .site-header.is-open .site-nav a { padding: 12px 14px; font-size: 1.0625rem; }
}
@media (min-width: 960px) {
  .site-nav { display: block; margin-right: 8px; }
  .js .menu-toggle { display: none; }
}
@media (max-width: 359.98px) {
  .header-cta { padding-inline: 12px; }
}

/* ------------------------------------------------------------ hero */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(55% 45% at 88% 18%, rgba(20, 194, 176, .38), transparent 70%),
    radial-gradient(45% 55% at 0% 100%, rgba(255, 255, 255, .10), transparent 70%),
    linear-gradient(160deg, var(--purple-deep) 0%, var(--purple-650) 42%, #5835D4 68%, #1F6E89 100%);
  padding-top: 44px; padding-bottom: 96px;
}
.hero .wrap { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) {
  .hero { padding-top: 72px; padding-bottom: 136px; }
  .hero .wrap { grid-template-columns: 1.05fr .95fr; gap: 40px; }
}
.hero h1 { margin-bottom: .45em; }
.hero__lead { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); color: rgba(255, 255, 255, .92); max-width: 36em; }
.hero .eyebrow { color: var(--turq-container); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 28px; }
.hero__facts { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero__facts li {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); font-size: .9375rem; font-weight: 600;
}
.hero__facts svg { width: 18px; height: 18px; color: var(--turq-container); flex: none; }

.hero__visual { position: relative; display: flex; justify-content: center; padding-bottom: 8px; }
.hero__phones { position: relative; width: min(100%, 420px); padding-left: 18%; }
.hero__phones .phone--front { position: relative; z-index: 2; width: 100%; max-width: 290px; margin-left: auto; }
.hero__phones .phone--back {
  position: absolute; z-index: 1; left: 0; top: 14%; width: 62%; max-width: 230px;
  transform: rotate(-6deg); transform-origin: bottom right;
}
.toast {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; max-width: 250px;
  padding: 10px 14px; border-radius: 16px; background: var(--white); color: var(--ink);
  box-shadow: var(--shadow); font-size: .875rem; line-height: 1.35;
}
.toast__icon {
  flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px;
  background: var(--turq-container); font-size: 1.05rem;
}
.toast strong { display: block; font-size: .875rem; }
.toast span.toast__sub { color: var(--ink-muted); font-size: .8125rem; }
.toast--a { left: 0; bottom: 9%; }
.toast--b { left: -14%; top: 3%; }
@media (max-width: 479.98px) {
  .toast { max-width: 210px; padding: 8px 10px; }
  .toast--b { display: none; }
}

/* Phone mockup around a 540 x 1170 screenshot. */
.phone {
  position: relative; margin: 0; padding: 9px; border-radius: 42px; background: var(--frame);
  box-shadow: 0 30px 60px -20px rgba(18, 8, 60, .55), 0 0 0 1px rgba(255, 255, 255, .08) inset;
}
.phone img { width: 100%; height: auto; border-radius: 33px; background: var(--lavender); }
.phone::before {
  content: ""; position: absolute; z-index: 1; top: 17px; left: 50%; width: 10px; height: 10px; margin-left: -5px;
  border-radius: 50%; background: var(--frame);
}
.phone::after {
  content: ""; position: absolute; z-index: 1; bottom: 19px; left: 50%; width: 32%; height: 4px; transform: translateX(-50%);
  border-radius: 2px; background: rgba(38, 35, 74, .28);
}
.phone--sm { padding: 7px; border-radius: 30px; }
.phone--sm img { border-radius: 24px; }
.phone--sm::before { top: 12px; width: 8px; height: 8px; margin-left: -4px; }
.phone--sm::after { bottom: 13px; height: 3px; }

.shot-card { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--white); box-shadow: var(--shadow); }
.shot-card img { width: 100%; }

/* The white sheet that overlaps the hero, as in the app. */
.sheet { position: relative; z-index: 2; margin-top: -40px; border-radius: 36px 36px 0 0; background: var(--white); }

/* ------------------------------------------------------------ steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: step; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.step {
  position: relative; padding: 26px 24px 24px; border-radius: var(--radius-lg); background: var(--lavender);
  border: 1px solid var(--lavender-deep);
}
.step__num {
  position: absolute; top: 20px; right: 22px; font-size: 2.6rem; font-weight: 800; line-height: 1;
  color: var(--purple-100);
}
.step__icon { width: 56px; height: 56px; border-radius: 16px; margin-bottom: 16px; box-shadow: var(--shadow-sm); }
.step h3 { font-size: 1.2rem; margin-bottom: .4em; padding-right: 36px; }
.step p { margin: 0; color: var(--ink-muted); }
.code-sample { display: flex; gap: 6px; margin-bottom: 16px; }
.code-sample span {
  display: grid; place-items: center; width: 34px; height: 44px; border-radius: 10px; background: var(--white);
  border: 1.5px solid var(--purple-100); font-weight: 800; font-size: 1.25rem; color: var(--purple-deep);
}
.code-sample span.gap { width: 10px; border: 0; background: none; color: var(--ink-muted); }

.callout {
  display: grid; gap: 16px; align-items: start; margin-top: 32px; padding: 24px; border-radius: var(--radius-lg);
  background: var(--turq-container); color: var(--on-turq-container);
}
@media (min-width: 700px) { .callout { grid-template-columns: auto 1fr; padding: 28px 32px; } }
.callout__icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--white); color: var(--turq-deep);
}
.callout__icon svg { width: 28px; height: 28px; }
.callout h3 { font-size: 1.2rem; margin-bottom: .3em; color: var(--ink); }
.callout p { margin: 0; }

/* ------------------------------------------------------------ features */
.features { display: grid; gap: 88px; }
@media (min-width: 960px) { .features { gap: 120px; } }
.feature { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 64px; }
  .feature:nth-child(even) .feature__media { order: -1; }
}
.feature__icon {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 16px;
  color: var(--white); background: linear-gradient(135deg, var(--purple), var(--turq-deep));
  box-shadow: 0 10px 22px -10px rgba(106, 63, 217, .8);
}
.feature__icon svg { width: 26px; height: 26px; }
.feature__lead { font-size: 1.125rem; color: var(--ink-muted); }
.feature__media { position: relative; display: flex; justify-content: center; padding: 28px 0; }
.feature__media::before {
  content: ""; position: absolute; inset: 0; margin: auto; width: min(100%, 440px); aspect-ratio: 1; max-height: 100%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(106, 63, 217, .16), rgba(20, 194, 176, .10) 60%, transparent 100%);
}
.feature__media .phone { width: min(78%, 290px); }
.duo { position: relative; width: min(100%, 400px); padding-left: 24%; }
.feature__media .duo .phone { width: 100%; }
.duo__front { position: relative; z-index: 2; max-width: 280px; margin-left: auto; }
.feature__media .duo .duo__back { position: absolute; z-index: 1; left: 0; top: 10%; width: 56%; transform: rotate(-5deg); }
.feature__media .shot-card { position: relative; width: min(100%, 440px); }
.checks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--turq-container) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='%230A7A6D' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

.extras { display: grid; gap: 16px; margin-top: 88px; }
@media (min-width: 560px) { .extras { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .extras { grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 120px; } }
.extras h3.extras__title { grid-column: 1 / -1; text-align: center; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin-bottom: 12px; }
.extra { padding: 22px; border-radius: var(--radius); background: var(--lavender); }
.section--lavender .extra { background: var(--white); box-shadow: var(--shadow-sm); }
.section--lavender .extra__icon { background: var(--lavender); }
.extra__icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 12px; border-radius: 12px; background: var(--white); color: var(--purple); }
.extra__icon svg { width: 22px; height: 22px; }
.extra h4 { font-size: 1.0625rem; margin-bottom: .3em; }
.extra p { margin: 0; color: var(--ink-muted); font-size: 1rem; }

/* ------------------------------------------------------------ kid app */
.kid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 960px) { .kid { grid-template-columns: 1fr 1.05fr; gap: 64px; } }
.kid__phones { display: flex; justify-content: center; align-items: flex-start; gap: 16px; }
.kid__phones .phone { width: min(46%, 250px); }
.kid__phones .phone:last-child { margin-top: 48px; }
@media (max-width: 559.98px) {
  .kid__phones { flex-direction: column; align-items: center; gap: 28px; }
  .kid__phones .phone { width: min(78%, 290px); }
  .kid__phones .phone:last-child { margin-top: 0; }
}
.kid__icon { width: 64px; height: 64px; border-radius: 18px; margin-bottom: 18px; box-shadow: var(--shadow-sm); }

/* ------------------------------------------------------------ pricing */
.plans { display: grid; gap: 22px; max-width: 980px; margin-inline: auto; align-items: stretch; }
@media (min-width: 820px) { .plans { grid-template-columns: 1fr 1fr; gap: 28px; } }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 30px 24px 26px; border-radius: var(--radius-xl);
  background: var(--white); border: 1.5px solid var(--lavender-deep); box-shadow: var(--shadow-sm);
}
@media (min-width: 480px) { .plan { padding: 34px 32px 30px; } }
.plan--premium { border: 2px solid var(--purple); box-shadow: 0 30px 60px -28px rgba(106, 63, 217, .55); }
.plan__badge {
  position: absolute; top: -15px; left: 28px; padding: 5px 14px; border-radius: 999px;
  background: linear-gradient(135deg, var(--purple), var(--purple-deep)); color: var(--white); font-size: .8125rem; font-weight: 800;
}
.plan__name { font-size: 1.375rem; margin-bottom: .2em; }
.plan__desc { color: var(--ink-muted); margin-bottom: 18px; }
.plan__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin-bottom: 6px; }
.plan__amount { font-size: clamp(2.4rem, 2rem + 1.6vw, 3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.plan__per { color: var(--ink-muted); font-weight: 600; }
.plan__note { min-height: 1.6em; margin: 0 0 4px; color: var(--ink-muted); font-size: .9375rem; }
.plan__note strong { color: var(--turq-deep); }
.plan .checks { margin: 18px 0 26px; flex: 1; align-content: start; }
.plan .checks li { font-size: 1rem; }
.plan__lead-in { margin: 18px 0 0; font-weight: 700; font-size: .9375rem; }
.plan__lead-in + .checks { margin-top: 10px; }
.plan__cta { width: 100%; }
.plan__fine { margin: 14px 0 0; font-size: .875rem; color: var(--ink-muted); line-height: 1.5; }

/* Monthly / yearly switch: radio inputs, no JavaScript needed. */
.period-input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.period {
  display: inline-grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin: 4px 0 18px; border-radius: 999px;
  background: var(--lavender-deep); width: 100%; max-width: 340px;
}
.period label {
  display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 6px 10px;
  border-radius: 999px; font-weight: 700; font-size: .9375rem; color: var(--ink-muted); cursor: pointer; text-align: center; line-height: 1.2;
}
.period .save {
  padding: 1px 7px; border-radius: 999px; background: var(--turq-container); color: var(--on-turq-container);
  font-size: .75rem; font-weight: 800; white-space: nowrap;
}
#period-year:checked ~ .period label[for="period-year"],
#period-month:checked ~ .period label[for="period-month"] {
  background: var(--white); color: var(--purple-deep); box-shadow: inset 0 0 0 2px var(--purple), var(--shadow-sm);
}
#period-year:focus-visible ~ .period label[for="period-year"],
#period-month:focus-visible ~ .period label[for="period-month"] { outline: 3px solid var(--purple); outline-offset: 2px; }
.price-box--month { display: none; }
#period-month:checked ~ .price-box--month { display: block; }
#period-month:checked ~ .price-box--year { display: none; }

.trial {
  display: flex; gap: 10px; align-items: flex-start; margin: 12px 0 0; padding: 12px 14px; border-radius: 14px;
  background: var(--turq-container); color: var(--on-turq-container); font-size: .9375rem; font-weight: 600; line-height: 1.45;
}
.trial svg { flex: none; width: 20px; height: 20px; margin-top: 1px; }

.compare-wrap { max-width: 980px; margin: 72px auto 0; }
.compare-wrap h3 { text-align: center; margin-bottom: 20px; }
.table-scroll { overflow-x: auto; border-radius: var(--radius-lg); border: 1.5px solid var(--lavender-deep); background: var(--white); }
.compare { width: 100%; border-collapse: collapse; font-size: .9375rem; line-height: 1.45; }
.compare caption { text-align: left; }
.compare th, .compare td { padding: 14px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--lavender-deep); }
.compare thead th { background: var(--lavender); font-size: .9375rem; font-weight: 800; }
.compare thead th:last-child { color: var(--purple-deep); }
.compare tbody th { font-weight: 700; width: 38%; }
.compare td { width: 31%; color: var(--ink); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare td.is-premium { background: rgba(241, 236, 252, .55); }
@media (min-width: 700px) {
  .compare { font-size: 1rem; }
  .compare th, .compare td { padding: 15px 20px; }
}
/* Narrow phones: each row becomes a small card (feature on top, Free | Premium below), text stays 16px. */
@media (max-width: 599.98px) {
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .compare, .compare tbody { display: block; width: 100%; }
  .compare tr { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--lavender-deep); }
  .compare tr:last-child { border-bottom: 0; }
  .compare tbody th { grid-column: 1 / -1; width: auto; padding: 16px 16px 6px; border: 0; font-size: 1rem; }
  .compare td { width: auto; padding: 4px 16px 16px; border: 0; font-size: 1rem; }
  .compare td.is-premium { background: none; border-left: 1px solid var(--lavender-deep); }
  .compare td::before {
    content: attr(data-label); display: block; margin-bottom: 2px;
    font-size: .75rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-muted);
  }
  html[data-ui="en"] .compare td::before { content: attr(data-label-en); }
  .compare td.is-premium::before { color: var(--purple-700); }
}
.yes, .no { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.yes { color: var(--turq-deep); }
.no { color: var(--ink-muted); font-weight: 600; }
.yes svg, .no svg { width: 18px; height: 18px; flex: none; }
.downgrade {
  display: flex; gap: 12px; margin: 20px auto 0; max-width: 980px; padding: 16px 18px; border-radius: 16px;
  background: var(--white); border: 1.5px solid var(--lavender-deep); color: var(--ink); font-size: .9375rem;
}
.downgrade svg { flex: none; width: 22px; height: 22px; color: var(--purple); margin-top: 2px; }
.downgrade p { margin: 0; }

/* ------------------------------------------------------------ subscribe band */
.band {
  position: relative; overflow: hidden; display: grid; gap: 28px; align-items: center; padding: 36px 24px; border-radius: var(--radius-xl);
  color: var(--white);
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(20, 194, 176, .35), transparent 70%),
    linear-gradient(135deg, var(--purple-deep), var(--purple-650) 55%, #1F6E89);
}
@media (min-width: 860px) { .band { grid-template-columns: 1.4fr 1fr; padding: 52px 56px; } }
.band h2 { margin-bottom: .35em; }
.band p { color: rgba(255, 255, 255, .92); }
.band ol { margin: 0; padding-left: 1.2em; color: rgba(255, 255, 255, .92); }
.band ol li { margin-bottom: 4px; }
.band__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
@media (min-width: 860px) { .band__actions { align-items: flex-start; } }

/* ------------------------------------------------------------ download */
.apps { display: grid; gap: 20px; max-width: 980px; margin-inline: auto; }
@media (min-width: 780px) { .apps { grid-template-columns: 1fr 1fr; gap: 24px; } }
.app-card {
  display: flex; flex-direction: column; padding: 28px 24px; border-radius: var(--radius-xl); background: var(--white);
  border: 1.5px solid var(--lavender-deep); box-shadow: var(--shadow-sm);
}
@media (min-width: 480px) { .app-card { padding: 32px; } }
.app-card__head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.app-card__head img { width: 64px; height: 64px; border-radius: 18px; flex: none; }
.app-card__head h3 { margin: 0; font-size: 1.3rem; }
.app-card__head p { margin: 0; color: var(--ink-muted); font-size: .9375rem; font-weight: 600; }
.app-card > p { color: var(--ink-muted); }
.app-card .store-link { align-self: flex-start; margin-top: auto; }
.req { margin: 26px auto 0; max-width: 980px; text-align: center; color: var(--ink-muted); font-size: .9375rem; }

/* ------------------------------------------------------------ FAQ */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { border-radius: var(--radius); background: var(--white); border: 1.5px solid var(--lavender-deep); }
.faq details[open] { border-color: var(--purple-100); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; font-weight: 700; font-size: 1.0625rem; line-height: 1.4; border-radius: var(--radius);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--lavender)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' fill='none' stroke='%236A3FD9' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 20px 20px; color: var(--ink-muted); }
.faq .answer p:last-child, .faq .answer ol:last-child { margin-bottom: 0; }
.faq .answer ol { padding-left: 1.3em; margin: 0 0 1em; }

/* ------------------------------------------------------------ footer */
.site-footer { background: var(--footer); color: #D9D6EA; padding-block: 56px 32px; font-size: .9375rem; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--turq-container); }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; color: var(--white); font-weight: 800; font-size: 1.125rem; }
.footer-brand img { width: 40px; height: 40px; border-radius: 11px; }
.site-footer h2 { font-size: .8125rem; text-transform: uppercase; letter-spacing: .08em; color: #B9B5D3; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-footer ul a { display: inline-block; padding-block: 10px; }
.footer-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; color: #B9B5D3; font-size: .875rem;
}
.footer-bottom p { margin: 0; }

/* ------------------------------------------------------------ simple pages (privacy, delete, 404) */
.page-hero {
  color: var(--white); padding: 48px 0 84px;
  background:
    radial-gradient(55% 60% at 90% 10%, rgba(20, 194, 176, .32), transparent 70%),
    linear-gradient(160deg, var(--purple-deep) 0%, var(--purple-650) 55%, #3A3FBF 100%);
}
.page-hero h1 { font-size: clamp(1.9rem, 1.4rem + 2.4vw, 2.8rem); margin-bottom: .3em; }
.page-hero p { color: rgba(255, 255, 255, .92); margin: 0; max-width: 46em; }
.prose { max-width: 780px; margin-inline: auto; padding-block: 48px 80px; }
.prose h2 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.7rem); margin-top: 2em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: .9375rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--lavender-deep); }
.prose thead th { background: var(--lavender); }
.prose .table-scroll { margin: 1em 0 1.5em; }
.prose .table-scroll table { margin: 0; }
.toc { padding: 18px 22px; border-radius: var(--radius); background: var(--lavender); }
.toc ol { margin: 0; }
.note {
  padding: 16px 18px; border-radius: 16px; background: var(--turq-container); color: var(--on-turq-container);
}
.note p:last-child { margin-bottom: 0; }
.updated { color: var(--ink-muted); font-size: .9375rem; }
.option {
  margin: 20px 0; padding: 22px; border-radius: var(--radius-lg); border: 1.5px solid var(--lavender-deep); background: var(--white);
}
.option h3 { margin-top: 0; }
.option ol { margin-bottom: 0; }
.not-found { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 72px 0; }
.not-found img { width: 120px; height: 120px; margin: 0 auto 24px; border-radius: 30px; box-shadow: var(--shadow); }
.not-found p { color: var(--ink-muted); }
.not-found .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }

/* ------------------------------------------------------------ motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn:hover { transform: none; }
}
