/* Blob Park site: glossy cartoon, water + paint drop colours. No external requests (no web fonts, no trackers). */
:root {
  --sky-1: #3fb4ff;
  --sky-2: #1a6fd6;
  --ink: #12305e;
  --ink-soft: #3d567d;
  --ink-mute: #6a7d9b;
  --card: #ffffff;
  --card-edge: #d9ecff;
  --water: #2fa8ff;
  --pink: #ff5fa2;
  --yellow: #ffd23f;
  --green: #3fcf6a;
  --purple: #9b6bff;
  --orange: #ff8a3d;
  --page: #eaf6ff;
  --radius: 26px;
  --font: ui-rounded, "SF Pro Rounded", "Nunito", "Varela Round", "Arial Rounded MT Bold", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--page);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky-2); font-weight: 700; }
a:hover { color: var(--pink); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 8px; }

.wrap { max-width: 980px; margin: 0 auto; padding: 0 16px; }

/* Header */
.top {
  background: linear-gradient(180deg, var(--sky-1), var(--sky-2));
  color: #fff;
  position: relative;
  overflow: visible;
}
.top::after {
  content: "";
  position: absolute; left: -5%; right: -5%; bottom: -1px; height: 34px;
  background: var(--page);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; position: relative; z-index: 2; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 20px; }
.brand img { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 3px 0 rgba(0, 40, 100, .35); }
.brand:hover { color: #fff; }
.links { display: flex; flex-wrap: wrap; gap: 4px; }
.links a { color: #fff; text-decoration: none; font-size: 15px; padding: 6px 10px; border-radius: 999px; }
.links a:hover, .links a[aria-current="page"] { background: rgba(255, 255, 255, .22); color: #fff; }
.page-head { padding: 18px 0 56px; position: relative; z-index: 1; }
.page-head h1 { margin: 0; font-size: clamp(30px, 6vw, 46px); line-height: 1.1; text-shadow: 0 3px 0 rgba(0, 40, 110, .35); }
.page-head p { margin: 8px 0 0; color: rgba(255, 255, 255, .92); font-weight: 600; }

/* Decorative paint drops */
.drop { position: absolute; width: 46px; height: 46px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); opacity: .9; z-index: 0; }
.drop::after { content: ""; position: absolute; width: 30%; height: 30%; top: 20%; left: 46%; border-radius: 50%; background: rgba(255, 255, 255, .55); }
.drop.d1 { background: var(--pink); right: 6%; top: 70px; }
.drop.d2 { background: var(--yellow); right: 16%; top: 150px; width: 30px; height: 30px; }
.drop.d3 { background: var(--green); left: 47%; top: 150px; width: 24px; height: 24px; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; padding: 8px 0 70px; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(38px, 8vw, 64px); line-height: 1.02; margin: 0; text-shadow: 0 4px 0 rgba(0, 40, 110, .35); }
.hero h1 span { display: block; color: var(--yellow); font-size: .62em; margin-top: 6px; }
.hero p.lead { font-size: 19px; font-weight: 600; color: rgba(255, 255, 255, .95); max-width: 34ch; }
.hero-icon { width: min(320px, 100%); margin: 0 auto; border-radius: 22%; box-shadow: 0 10px 0 rgba(0, 40, 110, .3), 0 24px 40px rgba(0, 30, 90, .35); }
.badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 999px;
  font-weight: 800; font-size: 16px; text-decoration: none;
  color: #fff; background: linear-gradient(180deg, #4fdd7c, #22b052);
  box-shadow: 0 4px 0 #168a3e, inset 0 2px 0 rgba(255, 255, 255, .45);
  border: 0; cursor: pointer;
}
.btn:hover { color: #fff; filter: brightness(1.05); }
.btn.store { background: linear-gradient(180deg, #24324d, #0d1626); box-shadow: 0 4px 0 #000, inset 0 2px 0 rgba(255, 255, 255, .2); min-width: 200px; }
.btn.store small { display: block; font-size: 11px; font-weight: 600; opacity: .8; line-height: 1.1; }
.btn.store b { display: block; font-size: 18px; line-height: 1.15; }
.btn.store[aria-disabled="true"] { cursor: default; }
.btn.store svg { width: 26px; height: 26px; flex: none; }
.soon { display: inline-block; margin-top: 10px; font-size: 14px; color: rgba(255, 255, 255, .9); font-weight: 600; }

/* Cards and content */
main { padding: 0 0 48px; }
.card {
  background: var(--card);
  border-radius: var(--radius);
  border: 2px solid var(--card-edge);
  box-shadow: 0 6px 0 #cfe3f7, 0 18px 30px rgba(18, 48, 94, .08);
  padding: 22px;
  margin: -28px 0 24px;
  position: relative; z-index: 2;
}
.card + .card { margin-top: 0; }
.doc { padding: 26px clamp(18px, 4vw, 40px) 30px; }
.doc h2 { font-size: 24px; margin: 30px 0 8px; line-height: 1.25; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 18px; margin: 20px 0 4px; }
.doc p, .doc li { color: var(--ink-soft); }
.doc ul, .doc ol { padding-inline-start: 22px; }
.doc li { margin: 5px 0; }
.meta { color: var(--ink-mute); font-size: 14px; font-weight: 600; }
.note { background: #fff8d9; border: 2px solid #ffe58a; border-radius: 18px; padding: 14px 16px; color: #6a5200; font-weight: 600; }
.note.blue { background: #e7f4ff; border-color: #b8dcff; color: var(--ink); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 10px 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
th, td { text-align: start; vertical-align: top; padding: 10px; border-bottom: 2px solid #e6f1fc; color: var(--ink-soft); }
th { color: var(--ink); background: #f2f9ff; }
.toc { columns: 2; column-gap: 24px; margin: 0; padding-inline-start: 20px; }
.toc li { break-inside: avoid; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding-inline-start: 46px; margin: 12px 0; }
.steps li::before {
  content: counter(s); position: absolute; inset-inline-start: 0; top: 0;
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(180deg, #5cc4ff, #1d86e8); color: #fff; font-weight: 800;
  display: grid; place-items: center; box-shadow: 0 3px 0 #155fae;
}
.mail { font-size: 19px; overflow-wrap: anywhere; }
details { border: 2px solid var(--card-edge); border-radius: 18px; padding: 12px 16px; margin: 10px 0; background: #fbfdff; }
details[open] { background: #fff; }
summary { cursor: pointer; font-weight: 800; color: var(--ink); }
details p { margin: 8px 0 2px; }

/* Landing sections */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { text-align: center; padding: 18px 14px; border-radius: 22px; background: #f5fbff; border: 2px solid var(--card-edge); }
.feature .dot { width: 54px; height: 54px; margin: 0 auto 8px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); position: relative; }
.feature .dot::after { content: ""; position: absolute; width: 30%; height: 30%; top: 20%; left: 46%; border-radius: 50%; background: rgba(255, 255, 255, .6); }
.feature h3 { margin: 6px 0 4px; font-size: 19px; }
.feature p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.shots figure { margin: 0; }
.shots img { border-radius: 22px; border: 4px solid #fff; box-shadow: 0 6px 0 #cfe3f7, 0 12px 24px rgba(18, 48, 94, .14); aspect-ratio: 540 / 1170; object-fit: cover; width: 100%; }
.shots figcaption { text-align: center; font-weight: 700; margin-top: 8px; color: var(--ink-soft); }
.section-title { font-size: 26px; margin: 0 0 14px; }
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.quick a { display: block; text-decoration: none; padding: 14px; border-radius: 18px; background: #f5fbff; border: 2px solid var(--card-edge); color: var(--ink); }
.quick a:hover { border-color: var(--water); color: var(--ink); }
.quick a span { display: block; font-size: 14px; font-weight: 600; color: var(--ink-mute); }

/* Footer */
footer { background: #0f2a52; color: #c9dcf5; padding: 28px 0 36px; font-size: 14px; }
footer a { color: #fff; }
footer .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }
footer p { margin: 4px 0; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-bottom: 60px; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-icon { width: 200px; grid-row: 1; }
  .badges { justify-content: center; }
  .features { grid-template-columns: 1fr; }
  .shots { grid-template-columns: repeat(3, 72%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .shots figure { scroll-snap-align: center; }
  .quick { grid-template-columns: 1fr 1fr; }
  .toc { columns: 1; }
  .links a { font-size: 14px; padding: 5px 8px; }
  .drop.d1, .drop.d2, .drop.d3 { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-icon { animation: bob 4s ease-in-out infinite; }
  @keyframes bob { 50% { transform: translateY(-8px); } }
}

/* Compact language dropdown at the right end of the navigation. */
.nav { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; direction: ltr; z-index: 5; }
.nav > .links { justify-content: flex-end; }
[dir="rtl"] .nav > .links { direction: rtl; }
.language-picker,
.language-picker[open] {
  position: relative; margin: 0; padding: 0; border: 0;
  background: transparent; border-radius: 10px; justify-self: end;
}
.language-picker summary {
  display: flex; align-items: center; gap: 7px; list-style: none;
  min-height: 40px; padding: 8px 10px; border-radius: 10px;
  color: #fff; font-size: 13px; line-height: 1; font-weight: 700;
  border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.1);
}
.language-picker summary::-webkit-details-marker { display: none; }
.language-picker summary:hover,
.language-picker[open] summary { background: rgba(255,255,255,.22); }
.language-globe { width: 18px; height: 18px; }
.language-chevron { width: 12px; height: 12px; }
.language-picker[open] .language-chevron { transform: rotate(180deg); }
.language-options {
  position: absolute; top: calc(100% + 8px); right: 0;
  width: 210px; max-width: calc(100vw - 32px); max-height: min(360px, 65vh);
  overflow-y: auto; overscroll-behavior: contain; padding: 6px;
  background: #fff; border: 1px solid var(--card-edge); border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15,42,82,.22); text-align: start;
}
.language-options a {
  display: block; padding: 8px 12px; border-radius: 7px;
  color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none;
}
.language-options a:hover { background: var(--page); }
.language-options a[aria-current="true"] { background: #e7f4ff; color: var(--sky-2); }
@media (max-width: 760px) {
  .nav { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
  .nav > .brand { grid-column: 1; grid-row: 1; }
  .nav > .language-picker { grid-column: 2; grid-row: 1; }
  .nav > .links { grid-column: 1 / -1; grid-row: 2; justify-content: center; }
}
summary:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
[dir="rtl"] a[href^="mailto:"], [dir="rtl"] .brand { unicode-bidi: isolate; }
[dir="rtl"] a[href^="mailto:"] { direction: ltr; display: inline-block; }
.quick a, .page-head h1 { overflow-wrap: anywhere; }
