/* KlikU website — design system and shared layout.
   Hand-written CSS (no framework, no build step). Used by the home page, the
   legal pages and — for the shared header and footer — the blog.
   Mobile first: base rules are for phones, min-width queries add the rest. */

/* ---------------- tokens ---------------- */
:root {
  --pink: #FF2D8B;
  --pink-deep: #E0177A;
  --pink-ink: #C2126A;          /* pink text on white (AA) */
  --purple: #7B3BFF;
  --purple-deep: #5B22D6;
  --plum: #2B0B4F;              /* headings */
  --night: #14082A;
  --coral: #FF6B6B;
  --orange: #FF8A4C;
  --blush: #FFF0F6;
  --blush-2: #FDE6F1;
  --lilac: #F3ECFF;
  --peach: #FFF0EA;
  --ink: #2B0B4F;
  --text: #4B3F5E;
  --muted: #7A6E8A;
  --line: #F0E3EE;
  --white: #FFFFFF;

  --grad: linear-gradient(90deg, #FF2D8B 0%, #7B3BFF 100%);
  --grad-warm: linear-gradient(90deg, #FF6B6B 0%, #FF2D8B 100%);
  --grad-text: linear-gradient(90deg, #FF5A5F 0%, #FF2D8B 42%, #B53BFF 100%);
  --grad-night: linear-gradient(160deg, #2B0B4F 0%, #14082A 100%);

  --shadow-sm: 0 4px 14px rgba(43, 11, 79, .06);
  --shadow: 0 14px 40px rgba(43, 11, 79, .10);
  --shadow-pink: 0 12px 28px rgba(255, 45, 139, .30);

  --radius: 22px;
  --radius-lg: 30px;
  --head-h: 72px;

  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --script: 'Caveat', 'Segoe Print', 'Bradley Hand', cursive;
}

/* ---------------- fonts ----------------
   Self-hosted from /assets/fonts/ (SIL Open Font License, see OFL.txt there),
   so no page loads fonts from another server. Same files and character ranges
   as Google Fonts: a browser only downloads latin-ext when a page uses one of
   those characters. */
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/assets/fonts/poppins-400-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/assets/fonts/poppins-400-latin.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: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('/assets/fonts/poppins-500-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('/assets/fonts/poppins-500-latin.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: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('/assets/fonts/poppins-600-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('/assets/fonts/poppins-600-latin.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: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('/assets/fonts/poppins-700-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('/assets/fonts/poppins-700-latin.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: 'Poppins'; font-style: normal; font-weight: 800; font-display: swap;
  src: url('/assets/fonts/poppins-800-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins'; font-style: normal; font-weight: 800; font-display: swap;
  src: url('/assets/fonts/poppins-800-latin.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: 'Caveat'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('/assets/fonts/caveat-700-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Caveat'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('/assets/fonts/caveat-700-latin.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;
}

/* ---------------- base ---------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.modal-open { overflow: hidden; }
img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { color: var(--ink); line-height: 1.1; margin: 0; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgba(123, 59, 255, .45); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 640px) { .container { padding-inline: 24px; } }
/* the home page and the header use the wider layout of the design */
.container--wide { max-width: 1440px; }
@media (min-width: 1100px) { .container--wide { padding-inline: 40px; } }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  padding: 10px 16px; border-radius: 12px; background: var(--plum); color: #fff;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.ic { width: 1em; height: 1em; flex: none; }
.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.script { font-family: var(--script); font-weight: 700; }

.kicker {
  display: inline-block;
  font-size: 13px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase;
  color: var(--purple-deep);
}
.pill-label {
  display: inline-block; padding: 6px 16px; border-radius: 999px;
  background: var(--blush-2); color: var(--pink-ink);
  font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}

/* ---------------- buttons ---------------- */
.k-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px; border: 0; border-radius: 999px;
  font-size: 15px; font-weight: 600; line-height: 1; white-space: nowrap;
  text-decoration: none; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.k-btn .ic { width: 18px; height: 18px; }
.k-btn--grad { background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(123, 59, 255, .26); }
.k-btn--warm { background: var(--grad-warm); color: #fff; box-shadow: var(--shadow-pink); }
.k-btn--grad:hover, .k-btn--warm:hover { transform: translateY(-2px); }
.k-btn--ghost { background: #fff; color: var(--pink-ink); box-shadow: inset 0 0 0 1.5px #F7C6DE; }
.k-btn--ghost:hover { background: var(--blush); }

/* ---------------- store badges (inactive until official links exist) ---------------- */
.store-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.store {
  position: relative; flex: none;
  display: inline-flex; align-items: center; gap: 9px;
  min-width: 156px; height: 52px; padding: 0 16px 0 12px;
  border-radius: 11px; background: #000; color: #fff; text-decoration: none; white-space: nowrap;
  border: 1px solid #A6A6A6;
  box-shadow: 0 8px 18px rgba(14, 11, 18, .16);
  transition: transform .2s ease;
}
.store svg { width: 27px; height: 27px; flex: none; }
.store__txt { display: flex; flex-direction: column; line-height: 1.08; }
.store__small { font-size: 10.5px; letter-spacing: .01em; }
.store__big { font-size: 19.5px; font-weight: 600; letter-spacing: -.015em; }
.store.is-soon { cursor: default; }
/* (older markup) the inline ribbon is no longer used — see .store-note */
.store__soon { display: none; }
a.store:hover { transform: translateY(-2px); }

/* one clear line under the badges while they are not live yet */
.store-note {
  display: flex; align-items: center; gap: 7px; flex-basis: 100%;
  margin-top: 12px; font-size: 13px; font-weight: 500; color: var(--muted);
}
.store-note svg { width: 16px; height: 16px; flex: none; color: var(--pink); }

.qr-soon {
  display: inline-flex; align-items: center; gap: 11px; flex: none;
  height: 64px; padding: 0 16px 0 9px; border-radius: 14px;
  background: #fff; border: 1px solid var(--line); color: var(--muted);
  box-shadow: var(--shadow-sm);
  font-size: 12.5px; font-weight: 500; line-height: 1.3;
}
.qr-soon svg {
  width: 46px; height: 46px; padding: 8px; flex: none; box-sizing: border-box;
  border-radius: 10px; border: 1.5px dashed #E3B9D4; color: var(--purple);
}

/* ================= header ================= */
.site-head {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.site-head.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 22px rgba(43, 11, 79, .06); }
.site-head__bar {
  position: relative; height: var(--head-h);
  display: flex; align-items: center; gap: 12px;
}

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand__mark { width: 44px; height: auto; }
.brand__text { display: flex; flex-direction: column; gap: 3px; }
.brand__word { width: 104px; height: auto; }
.brand__tagline { font-size: 10px; font-weight: 500; letter-spacing: .14em; color: var(--plum); white-space: nowrap; }

.site-nav { display: none; }
.site-nav a { text-decoration: none; }
.site-nav .nav-cta { display: none; }

.site-head__cta { display: none; }

/* language switcher */
.lang-switch { position: relative; flex: none; margin-left: auto; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px;
  height: 42px; padding: 0 12px 0 13px;
  border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--plum);
  font-size: 14px; font-weight: 600; line-height: 1; cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.lang-btn:hover { border-color: #E9C9DD; }
.lang-btn .ic { width: 18px; height: 18px; }
.lang-caret { width: 14px; height: 14px; transition: transform .2s ease; }
.lang-switch.is-open .lang-caret { transform: rotate(180deg); }
.lang-name { display: none; }
.lang-menu {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 90;
  min-width: 200px; margin: 0; padding: 6px; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.lang-switch.is-open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-option {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 12px; border: 0; border-radius: 11px; background: transparent;
  color: var(--text); font-size: 15px; font-weight: 500; text-align: left; cursor: pointer;
}
.lang-option:hover, .lang-option[aria-selected="true"] { background: var(--blush); color: var(--pink-ink); }
.lang-check { width: 16px; height: 16px; flex: none; opacity: 0; }
.lang-option[aria-selected="true"] .lang-check { opacity: 1; }

.nav-burger {
  display: grid; place-items: center; flex: none;
  width: 44px; height: 44px; border: 0; border-radius: 14px;
  background: var(--blush); color: var(--plum); cursor: pointer;
}
.nav-burger svg { width: 22px; height: 22px; }
.nav-burger .ic-close { display: none; }
.site-head[data-open] .nav-burger .ic-open { display: none; }
.site-head[data-open] .nav-burger .ic-close { display: block; }

/* mobile menu panel */
@media (max-width: 1099px) {
  .site-head[data-open] .site-nav {
    position: absolute; top: calc(var(--head-h) - 4px); left: 0; right: 0;
    display: flex; flex-direction: column; gap: 2px;
    padding: 10px; border-radius: 22px;
    background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
    animation: drop .22s ease;
  }
  .site-nav a:not(.k-btn) {
    padding: 13px 14px; border-radius: 14px;
    font-size: 16px; font-weight: 500; color: var(--plum);
  }
  .site-nav a:not(.k-btn):hover, .site-nav a.is-active { background: var(--blush); color: var(--pink-ink); }
  .site-nav .nav-cta { display: inline-flex; margin-top: 8px; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

@media (min-width: 420px) {
  .brand__word { width: 118px; }
}
/* very small phones (≤ 399px): drop the tagline so the header fits */
@media (max-width: 399px) {
  .site-head__bar { gap: 8px; }
  .site-head .brand__tagline { display: none; }
  .site-head .brand__mark { width: 38px; }
  .lang-btn { padding: 0 9px; gap: 5px; }
}

@media (min-width: 1100px) {
  :root { --head-h: 84px; }
  .brand__mark { width: 52px; }
  .brand__word { width: 132px; }
  .brand__tagline { font-size: 11px; }
  .nav-burger { display: none; }
  .site-nav {
    display: flex; align-items: center; gap: 34px;
    margin-inline: auto;
  }
  .site-nav a:not(.k-btn) {
    position: relative; padding: 8px 0;
    font-size: 15px; font-weight: 500; color: var(--plum); white-space: nowrap;
    transition: color .2s;
  }
  /* Malay and Indonesian labels are longer */
  html[lang="ms"] .site-nav, html[lang="id"] .site-nav { gap: 24px; }
  html[lang="ms"] .site-head__cta, html[lang="id"] .site-head__cta { padding: 0 20px; }
  .site-nav a:not(.k-btn)::after {
    content: ''; position: absolute; left: 50%; bottom: -4px;
    width: 28px; height: 3px; border-radius: 9px; background: var(--pink);
    transform: translateX(-50%) scaleX(0); transition: transform .25s ease;
  }
  .site-nav a:not(.k-btn):hover { color: var(--pink-ink); }
  .site-nav a.is-active,
  body[data-page="home"] .site-nav a[data-nav="home"]:not(.is-off),
  body[data-hub-nav] .site-nav a[data-nav="blog"] { color: var(--pink-ink); }
  .site-nav a.is-active::after,
  body[data-hub-nav] .site-nav a[data-nav="blog"]::after { transform: translateX(-50%) scaleX(1); }
  .lang-switch { margin-left: 0; }
  .lang-btn { height: 46px; padding: 0 14px 0 15px; gap: 9px; }
  .site-head__cta { display: inline-flex; min-height: 50px; padding: 0 26px; margin-left: 4px; }

  /* home page: the hero photo runs up behind the header, as in the design.
     A white panel with a rounded end carries the logo and the links; it
     becomes the normal full-width bar once the page is scrolled. */
  body[data-page="home"] .site-head:not(.is-scrolled):not([data-open]) {
    background: transparent;
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  body[data-page="home"] .site-head::before {
    content: ''; position: absolute; z-index: -1; left: 0; top: 0; bottom: 0;
    width: max(66vw, 900px); border-bottom-right-radius: 70px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 10px 6px 30px rgba(43, 11, 79, .05);
    transition: opacity .25s ease;
  }
  body[data-page="home"] .site-head.is-scrolled::before { opacity: 0; }
}
@media (min-width: 1100px) and (max-width: 1239px) {
  .site-nav { gap: 24px; }
}

/* ================= hero ================= */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(60% 70% at 0% 0%, #FFF3F8 0%, rgba(255, 243, 248, 0) 70%),
    linear-gradient(180deg, #FFF8FB 0%, #FCEFF6 100%);
  padding: 28px 0 80px;
}
.hero__grid { position: relative; display: grid; gap: 34px; }
.hero__copy { position: relative; z-index: 3; }
.hero__title {
  margin: 14px 0 18px;
  font-size: clamp(40px, 11vw, 76px); font-weight: 800; line-height: 1.02; letter-spacing: -.035em;
  color: var(--plum);
}
.hero__title span { display: block; }
.hero__lead { max-width: 560px; font-size: clamp(15px, 3.9vw, 17px); color: var(--text); }
.hero__actions { margin-top: 26px; }

/* visual: the lifestyle photo with the phones in front */
.hero__visual { position: relative; z-index: 2; min-height: 460px; }
.hero__photo {
  position: absolute; inset: 0 0 0 18%;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.hero__photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(252, 239, 246, .35) 0%, rgba(252, 239, 246, 0) 40%);
}

.hero__deco { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.heart-o { position: absolute; color: var(--pink); opacity: .7; }
.heart-o svg { width: 100%; height: 100%; }
.hero__deco .h1 { display: none; width: 28px; height: 28px; top: 8%; left: 46%; transform: rotate(-12deg); }
.hero__deco .h2 { width: 44px; height: 44px; top: 10px; right: 14px; opacity: .35; }
@media (min-width: 1100px) {
  .hero__deco .h1 { display: block; }
  .hero__deco .h2 { width: 54px; height: 54px; top: 3%; right: 30%; opacity: .45; }
}
@media (max-width: 479px) {
  .hero .store-row { display: grid; grid-template-columns: 1fr 1fr; }
  .hero .qr-soon { grid-column: 1 / -1; justify-content: center; }
  .store { min-width: 0; padding: 0 10px; gap: 8px; }
  .store svg { width: 24px; height: 24px; }
  .store__big { font-size: 16px; }
  .store__small { font-size: 9.5px; }
}
@media (max-width: 379px) {
  .store { padding: 0 8px; gap: 6px; }
  .store svg { width: 22px; height: 22px; }
  .store__big { font-size: 14.5px; }
  .store__small { font-size: 9px; }
}
.hero__deco .blob {
  position: absolute; border-radius: 50%; filter: blur(50px); opacity: .55;
}
.hero__deco .blob-a { width: 380px; height: 380px; background: #FFD3E7; left: -140px; bottom: -120px; }
.hero__deco .blob-b { width: 320px; height: 320px; background: #E6D7FF; right: 20%; top: -140px; }

.hand-note {
  position: absolute; z-index: 4;
  font-family: var(--script); font-weight: 700; line-height: .95; color: var(--plum);
  transform: rotate(-8deg); text-align: center;
}
.hand-note .heart-o { position: static; display: block; margin: 4px auto 0; width: 26px; height: 26px; opacity: 1; color: var(--plum); }
.note--light { color: #fff; text-shadow: 0 2px 10px rgba(43, 11, 79, .35); }
.note--light .heart-o { color: #fff; }
.hero__note-1 { display: none; }
.hero__note-2 { top: 18px; right: 16px; font-size: 22px; transform: rotate(-12deg); }
.hero__note-3 { display: none; }

/* CSS phone mock-ups showing illustrative app screens */
.phones { position: absolute; left: 0; bottom: -18px; width: 62%; max-width: 300px; height: 100%; z-index: 3; }
.phone {
  position: absolute; bottom: 0;
  width: 66%; aspect-ratio: 9 / 18.6;
  padding: 7px; border-radius: 34px;
  background: linear-gradient(145deg, #2C2236, #120C18);
  box-shadow: 0 24px 50px rgba(43, 11, 79, .30), inset 0 0 0 1.5px rgba(255, 255, 255, .12);
}
.phone--a { left: 0; transform: rotate(-9deg); z-index: 2; }
.phone--b { left: 40%; bottom: 7%; transform: rotate(7deg); z-index: 1; width: 58%; }
.phone__screen {
  position: relative; height: 100%; overflow: hidden;
  display: flex; flex-direction: column;
  border-radius: 28px; background: #fff;
}
.phone__notch {
  position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 34%; height: 14px; border-radius: 10px; background: #120C18; z-index: 2;
}
/* illustrative app screens (sample profiles): shown whole, never stretched.
   They start below the notch; any spare width is white, like the screen. */
.phone__shot {
  flex: 1; min-height: 0; width: 100%; height: 100%;
  margin-top: 22px;
  object-fit: contain; object-position: top center;
}

@media (min-width: 560px) {
  .hero__visual { min-height: 540px; }
  .phones { width: 54%; max-width: 330px; }
  .hero__note-3 { display: block; bottom: 26%; right: 6%; font-size: 26px; transform: rotate(-14deg); }
}

/* phones (below 768px): text only — no photo, phones or notes */
@media (max-width: 767px) {
  .hero__visual { display: none; }
}

/* Floating heart balloons (as on the blog hero), phones only: they fill the
   space right of the headline, under the outline heart. The box starts just
   past the headline's widest line (5.7em in English) and runs down the
   headline's three lines (1.02em each). In Malay and Indonesian the third
   line is much longer, so there the box covers the first two lines only.
   Balloon sizes are % of the box height. */
.hero__balloons {
  display: none; position: absolute; top: 64px; right: 10px;
  width: min(220px, calc(100% - 36px - 5.7 * clamp(40px, 11vw, 76px)));
  height: calc(3.06 * clamp(40px, 11vw, 76px) + 4px);
}
@media (min-width: 640px) {
  .hero__balloons { width: min(220px, calc(100% - 44px - 5.7 * clamp(40px, 11vw, 76px))); }
}
:is(html[lang="ms"], html[lang="id"]) .hero__balloons { height: calc(2.04 * clamp(40px, 11vw, 76px) + 4px); }
@media (max-width: 767px) { .hero__balloons { display: block; } }
.hero__balloon-defs { position: absolute; }
.hero__balloon {
  position: absolute; aspect-ratio: 100 / 186; width: auto; opacity: .95; will-change: transform;
  filter: drop-shadow(0 8px 12px rgba(176, 16, 95, .18));
  animation: heroBalloonFloat 8s ease-in-out infinite;
}
.hero__balloon--1 { left: 30%; top: 0; height: 58%; animation-duration: 7.6s; animation-delay: -.2s; }
.hero__balloon--2 { left: 0; top: 30%; height: 42%; animation-duration: 9.4s; animation-delay: -3.1s; }
.hero__balloon--3 { right: 0; top: 40%; height: 48%; animation-duration: 8.3s; animation-delay: -1.5s; }
.hero__balloon--4 { left: 32%; top: 64%; height: 30%; animation-duration: 6.9s; animation-delay: -4.4s; }
/* the shorter Malay / Indonesian box: bigger balloons, more side by side */
:is(html[lang="ms"], html[lang="id"]) .hero__balloon--1 { left: 28%; height: 78%; }
:is(html[lang="ms"], html[lang="id"]) .hero__balloon--2 { top: 22%; height: 62%; }
:is(html[lang="ms"], html[lang="id"]) .hero__balloon--3 { top: 26%; height: 70%; }
:is(html[lang="ms"], html[lang="id"]) .hero__balloon--4 { left: 46%; top: 60%; height: 38%; }
/* the narrowest phones only have room for two */
@media (max-width: 359px) {
  .hero__balloon--2, .hero__balloon--4 { display: none; }
  .hero__balloons .hero__balloon--1 { left: 0; }
}
@keyframes heroBalloonFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-2.5deg); }
  50% { transform: translate3d(3px, -12px, 0) rotate(2.5deg); }
}
@media (prefers-reduced-motion: reduce) { .hero__balloon { animation: none; } }

@media (min-width: 900px) and (max-width: 1099px) {
  .hero__grid { grid-template-columns: 1fr 1fr; align-items: center; }
  .hero__visual { min-height: 560px; }
}

/* decorations from the design pack (desktop only) */
.hero__blob, .hero__bubble, .hero__sparkles { display: none; position: absolute; height: auto; pointer-events: none; }
.hero__blob { z-index: 2; opacity: .9; }
.hero__bubble { z-index: 4; filter: drop-shadow(0 10px 18px rgba(43, 11, 79, .22)); transform: rotate(8deg); }
.hero__sparkles { z-index: 1; opacity: .85; }

@media (min-width: 1100px) {
  /* the hero starts under the (transparent) header so the photo reaches the top */
  .hero { margin-top: calc(-1 * var(--head-h)); padding: calc(var(--head-h) + 26px) 0 92px; }
  /* static grid: the photo, phones and notes are placed against the whole hero */
  .hero__grid { position: static; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  .hero__copy { padding-right: 20px; }
  .hero__title { font-size: clamp(54px, 4.2vw, 66px); margin: 10px 0 16px; }
  .hero__lead { font-size: 16px; }
  .hero__actions { margin-top: 22px; }
  .hero__visual { position: static; min-height: 0; height: 100%; }
  /* the photo bleeds to the right edge of the window, as in the design */
  .hero__photo {
    inset: 0 0 0 auto; width: 45vw; max-width: 960px;
    border-radius: 0 0 0 90px; box-shadow: none;
  }
  .hero__photo::after { display: none; }
  .hero__photo img {
    object-position: 90% 30%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24%);
    mask-image: linear-gradient(90deg, transparent 0, #000 24%);
  }
  .hero__lead { max-width: 540px; }
  .phones { left: 44.5vw; top: calc(var(--head-h) + 14px); bottom: 110px; width: 25vw; max-width: 400px; height: auto; }
  .phone { width: 58%; aspect-ratio: 9 / 17.2; }
  .phone--a { top: 0; bottom: auto; transform: rotate(-8deg); }
  .phone--b { left: 50%; top: 14px; bottom: auto; width: 50%; transform: rotate(8deg); }
  .hero__blob { display: block; left: calc(44.5vw + 7vw); top: calc(var(--head-h) + 330px); width: 15vw; max-width: 250px; opacity: .6; }
  .hero__bubble { display: block; right: 4.5%; top: calc(var(--head-h) + 150px); width: 64px; }
  .hero__sparkles { display: block; left: 37.5vw; top: calc(var(--head-h) + 22px); width: 40px; }
  /* anchored to the left edge of the phones, so longer translations grow away from them */
  .hero__note-1 { display: block; top: calc(var(--head-h) + 140px); left: auto; right: calc(100% - 44.5vw + 14px); font-size: 29px; transform: rotate(-10deg); }
  .hero__note-2 { top: calc(var(--head-h) + 12px); right: 2.6%; font-size: 30px; }
  .hero__note-3 { top: calc(var(--head-h) + 330px); bottom: auto; right: 20.5%; font-size: 29px; transform: rotate(-16deg); }
  .hero__deco .h1 { top: calc(var(--head-h) + 70px); left: 39.5vw; }
  .hero__deco .h2 { top: 40px; right: 25%; width: 58px; height: 58px; opacity: .5; }
}
/* narrower desktops: give the phones and the handwritten note more room */
@media (min-width: 1100px) and (max-width: 1439px) {
  .hero__lead { max-width: 470px; }
  .phones { left: 46.5vw; width: 25.5vw; }
  .hero__blob { left: calc(46.5vw + 7vw); }
  .hero__note-1 { right: calc(100% - 46.5vw + 12px); top: calc(var(--head-h) + 120px); font-size: 24px; }
  .hero__sparkles { left: 39vw; top: calc(var(--head-h) + 10px); }
  .hero__deco .h1 { top: calc(var(--head-h) + 60px); left: 42vw; }
  .hero__note-3 { right: 19%; font-size: 26px; }
}

/* ================= features strip ================= */
.features { position: relative; z-index: 5; margin-top: -48px; }
.features__card {
  display: grid; grid-template-columns: 1fr;
  border-radius: var(--radius-lg); background: #fff;
  box-shadow: var(--shadow); padding: 8px 18px;
}
.feature {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 4px; border-bottom: 1px solid var(--line);
}
.feature:last-child { border-bottom: 0; }
.feature__ic {
  display: grid; place-items: center; flex: none;
  width: 60px; height: 60px; border-radius: 50%;
}
.feature__ic svg { width: 28px; height: 28px; }
.feature:nth-child(1) .feature__ic { background: #FFE3EF; color: var(--pink); }
.feature:nth-child(2) .feature__ic { background: #EDE4FF; color: var(--purple); }
.feature:nth-child(3) .feature__ic { background: #FFEADF; color: var(--orange); }
.feature:nth-child(4) .feature__ic { background: #EDE4FF; color: var(--purple-deep); }
.feature:nth-child(5) .feature__ic { background: #FFE3EF; color: var(--pink-deep); }
.feature h3 { font-size: 16.5px; font-weight: 600; line-height: 1.3; }
.feature p { margin-top: 3px; font-size: 13.5px; line-height: 1.45; color: var(--muted); }

@media (min-width: 640px) {
  .features__card { grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .feature:nth-last-child(2) { border-bottom: 0; }
}
/* phones: one horizontal strip that scrolls sideways (site.js advances it
   every few seconds); each feature is most of the card wide so the next one
   peeks in, with dividers between them as on desktop */
@media (max-width: 767px) {
  .features__card {
    display: flex; column-gap: 0; padding: 12px 0;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scrollbar-width: none;
  }
  .features__card::-webkit-scrollbar { display: none; }
  .feature {
    flex: 0 0 50%; scroll-snap-align: start;
    flex-direction: column; justify-content: flex-start; gap: 12px; text-align: center;
    padding: 24px 12px; border-bottom: 0; border-right: 1px solid var(--line);
  }
  .feature:last-child { border-right: 0; }
}
@media (min-width: 1100px) {
  .features { margin-top: -62px; }
  .features__card {
    grid-template-columns: repeat(5, 1fr); padding: 16px 10px; column-gap: 0;
    background: rgba(255, 255, 255, .96); border: 1px solid #F6E4EF;
    box-shadow: 0 18px 44px rgba(43, 11, 79, .09);
  }
  .feature { flex-direction: row; gap: 14px; padding: 6px 16px; border-bottom: 0; border-left: 1px solid var(--line); }
  .feature:first-child { border-left: 0; }
  .feature__ic { width: 60px; height: 60px; }
  .feature__ic svg { width: 27px; height: 27px; }
  .feature h3 { font-size: 15.5px; white-space: nowrap; }
  .feature p { font-size: 12.5px; line-height: 1.4; }
}
@media (min-width: 1100px) and (max-width: 1299px) {
  .feature { gap: 12px; padding: 6px 14px; }
  .feature__ic { width: 50px; height: 50px; }
  .feature__ic svg { width: 23px; height: 23px; }
  .feature h3 { white-space: normal; }
}

/* ================= about: real people, real moments ================= */
.about {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 64px 0 0;
  background:
    radial-gradient(50% 60% at 100% 40%, #FDE3F0 0%, rgba(253, 227, 240, 0) 70%),
    linear-gradient(180deg, #fff 0%, #FFF6FA 60%, #fff 100%);
}
.about__grid { display: grid; gap: 40px; align-items: center; }

/* Photo collage. The image is the illustrative composite from the design
   pack, shown no larger than its real size (654 px) so it stays sharp. The
   handwriting and the white note card are HTML laid over it, so they can be
   translated. Sizes use container units so everything scales together. */
.collage {
  position: relative; container-type: inline-size;
  width: 100%; max-width: 654px; margin-inline: auto;
}
.collage__img {
  width: 100%; height: auto;
  /* the composite has a near-white background: let the section colour through */
  mix-blend-mode: multiply;
}
.collage__note {
  top: 3%; left: 1%; width: 15.5%;
  font-size: max(9px, 3.5cqw); line-height: .98; text-align: left;
  transform: rotate(-5deg);
}
.collage__smile { display: block; width: 32%; margin: 4% 0 0 52%; }
.sticker {
  position: absolute; z-index: 3; left: 54.3%; top: 24%; width: 20.8%; min-height: 40.5%;
  margin: 0; padding: 4.2cqw 2.4cqw 2.2cqw;
  display: flex; align-items: flex-end; gap: 1cqw;
  border-radius: 2.4cqw; background: #fff;
  box-shadow: 0 1.6cqw 3.6cqw rgba(43, 11, 79, .16);
  font-size: max(7px, 2.25cqw); font-weight: 600; line-height: 1.22; color: var(--plum);
  transform: rotate(-4deg);
}
.sticker span { display: block; }
.sticker span::first-line { color: var(--pink); font-size: 1.25em; }
.sticker svg { width: 3.4cqw; height: 3.4cqw; flex: none; margin-bottom: 1.2cqw; color: var(--pink); }

.about__copy { position: relative; z-index: 2; max-width: 520px; }
.about__title { margin: 18px 0 16px; font-size: clamp(34px, 8vw, 54px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.about__title span { display: block; }
.about__title .l1 { color: var(--purple-deep); }
.about__title .l2 { background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent; }
.about__copy p { font-size: 16px; color: var(--text); }
.about__copy .k-btn { margin-top: 26px; }
@media (max-width: 767px) { .about__copy { margin-inline: auto; text-align: center; } }

/* skyline: shown at (or below) its real size, fading into the section */
.skyline { position: relative; margin: 34px auto 0; width: 100%; max-width: 486px; }
.skyline img {
  width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%), linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(180deg, transparent 0, #000 22%), linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%);
  mask-composite: intersect;
}
.skyline__note { top: -40px; right: 4%; font-size: 24px; transform: rotate(-8deg); }
.skyline__note .heart-o { position: absolute; right: -26px; top: -8px; width: 22px; height: 22px; margin: 0; }
.skyline__arrow { position: absolute; right: -6px; top: 100%; width: 22px; height: 34px; }

@media (min-width: 900px) {
  .about__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
}
@media (max-width: 1099px) { .about { padding-bottom: 56px; } }
@media (min-width: 1100px) {
  .about { padding: 86px 0 110px; }
  .about__grid { grid-template-columns: minmax(0, 654px) minmax(0, 1fr); gap: 48px; }
  .about__copy { max-width: 440px; }
  .about__title { font-size: clamp(46px, 3.4vw, 54px); }
  .about__title span { white-space: nowrap; }
  /* skyline sits on the right edge of the window and fades into the page */
  .skyline { position: absolute; z-index: -1; right: 0; bottom: 0; margin: 0; width: min(34vw, 486px); }
  .skyline img {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%), linear-gradient(180deg, transparent 0, #000 18%, #000 78%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 30%), linear-gradient(180deg, transparent 0, #000 18%, #000 78%, transparent 100%);
  }
  .skyline__note { top: -58px; right: 12%; font-size: 27px; }
}
/* narrower desktops: the skyline sits below the text instead of beside it */
@media (min-width: 1100px) and (max-width: 1439px) {
  .about { padding-bottom: 190px; }
  .about__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .skyline { width: min(32vw, 440px); }
  .skyline__note { top: -46px; right: 34%; font-size: 25px; }
}

/* ================= safety ================= */
.safety { position: relative; padding: 76px 0; background: #fff; }

/* Floating heart balloons (the same ones as the blog hero). Purely decorative:
   they fill the empty space left of the heading, so desktop only. The box runs
   from the content edge to just short of the heading (max 680px wide). */
.safety__balloons {
  display: none; position: absolute; top: -80px; height: 330px;
  left: max(8px, calc(50% - 600px)); right: calc(50% + 360px);
  pointer-events: none;
}
@media (min-width: 1100px) { .safety__balloons { display: block; } }
.safety__defs { position: absolute; }
.safety__balloon {
  position: absolute; opacity: .95; will-change: transform;
  filter: drop-shadow(0 12px 16px rgba(176, 16, 95, .18));
  animation: safetyBalloonFloat 8s ease-in-out infinite;
}
/* staggered sizes, speeds and phases; heights are width x 1.86 (100x186 viewBox) */
.safety__balloon--1 { left: 2%; top: 0; width: 86px; height: 160px; animation-duration: 7.6s; animation-delay: -.2s; }
.safety__balloon--2 { left: 62%; top: 14%; width: 56px; height: 104px; animation-duration: 9.4s; animation-delay: -3.1s; }
.safety__balloon--3 { left: 30%; top: 42%; width: 68px; height: 127px; animation-duration: 8.3s; animation-delay: -1.5s; }
.safety__balloon--4 { left: 76%; top: 56%; width: 44px; height: 82px; animation-duration: 6.9s; animation-delay: -4.4s; }
@keyframes safetyBalloonFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-2.5deg); }
  50% { transform: translate3d(5px, -26px, 0) rotate(2.5deg); }
}
@media (prefers-reduced-motion: reduce) { .safety__balloon { animation: none; } }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 38px; }
.sec-head h2 { margin-top: 12px; font-size: clamp(28px, 6vw, 42px); font-weight: 700; letter-spacing: -.02em; }
.benefits { display: grid; gap: 16px; }
.benefit {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.benefit:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.benefit__ic { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 16px; background: var(--blush); color: var(--pink); }
.benefit:nth-child(even) .benefit__ic { background: var(--lilac); color: var(--purple); }
.benefit__ic svg { width: 26px; height: 26px; }
.benefit h3 { font-size: 17px; font-weight: 600; line-height: 1.3; }
.benefit p { margin-top: 5px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
/* phones: two cards per row, icon above the centred text */
@media (max-width: 767px) {
  .benefits { grid-template-columns: 1fr 1fr; gap: 12px; }
  .benefit { flex-direction: column; align-items: center; gap: 12px; padding: 20px 12px; text-align: center; }
}

.how {
  margin-top: 56px; padding: 34px 20px 38px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #FFF0F6 0%, #F3ECFF 100%); text-align: center;
}
.how h3 { font-size: clamp(22px, 5vw, 30px); font-weight: 700; }
.how__steps { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 12px; margin: 28px 0 30px; padding: 0; list-style: none; counter-reset: step; }
.how__steps li { counter-increment: step; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; color: var(--plum); line-height: 1.3; }
.how__steps li::before {
  content: counter(step);
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--grad); color: #fff; font-size: 20px; font-weight: 700;
  box-shadow: 0 8px 18px rgba(123, 59, 255, .25);
}
/* "Real People / Real Connections" badge: below the button on phones,
   beside it (under step 4) on desktop */
.how__chips { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 26px; text-align: left; }
.chip-stack { display: flex; flex: none; }
.chip-stack span {
  display: grid; place-items: center; width: 40px; height: 40px; margin-left: -10px;
  border-radius: 50%; border: 3px solid #fff; color: #fff; box-shadow: var(--shadow-sm);
}
.chip-stack span:first-child { margin-left: 0; }
.chip-stack svg { width: 18px; height: 18px; }
.chip-stack span:nth-child(1) { background: var(--grad-warm); }
.chip-stack span:nth-child(2) { background: var(--grad); }
.chip-stack span:nth-child(3) { background: linear-gradient(135deg, #B53BFF, #7B3BFF); }
.how__chips p { font-size: 13.5px; line-height: 1.35; color: var(--muted); }
.how__chips strong { display: block; color: var(--plum); font-weight: 600; }

@media (min-width: 640px) { .benefits { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) {
  .safety { padding: 100px 0 56px; }
  .benefits { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .how { padding: 46px 40px 50px; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; column-gap: 24px; }
  .how h3, .how__steps { grid-column: 1 / -1; }
  .how > .k-btn { grid-column: 2; }
  .how__chips { grid-column: 3; justify-self: end; margin-top: 0; }
  .how__steps { grid-template-columns: repeat(4, 1fr); position: relative; }
  .how__steps::before {
    content: ''; position: absolute; top: 26px; left: 12%; right: 12%; height: 2px;
    background: repeating-linear-gradient(90deg, #E7C3DA 0 8px, transparent 8px 16px);
  }
  .how__steps li { position: relative; }
}

/* ================= CTA band ================= */
.cta {
  --wave-h: 64px;
  position: relative; overflow: hidden; isolation: isolate;
  padding: 0 0 56px;
  /* white behind the wave; below it, pick up the colours at the wave's
     bottom edge and fade them out */
  background:
    linear-gradient(180deg, rgba(255, 243, 248, 0) 0, #FFF3F8 150px) 0 var(--wave-h) / 100% 100% no-repeat,
    linear-gradient(90deg, #FFC7CB 0%, #FFB7D7 42%, #DDBBF6 100%) 0 var(--wave-h) / 100% 100% no-repeat,
    #fff;
}
.cta__wave { display: block; width: 100%; height: var(--wave-h); }
.cta__inner { padding-top: 28px; }
.cta__mark { position: absolute; right: -40px; bottom: -30px; width: 200px; opacity: .2; z-index: -1; }
.cta__grid { display: grid; gap: 30px; align-items: center; }
.cta__title {
  font-family: var(--script); font-weight: 700;
  font-size: clamp(42px, 10vw, 56px); line-height: .92; color: var(--plum);
  transform: rotate(-4deg); transform-origin: left center;
}
.cta__title > span { display: block; }
.cta__brand {
  position: relative; display: inline-block;
  font-family: var(--font); font-weight: 800; font-size: .8em; letter-spacing: -.02em;
  background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* hand-drawn underline under the brand */
.cta__brand::after {
  content: ''; position: absolute; left: 4%; right: 8%; bottom: -.16em; height: .14em;
  border-radius: 50%; border-bottom: 3px solid var(--plum); opacity: .85;
}
.cta__heart { display: inline-block; width: .4em; height: .4em; margin-left: 4px; vertical-align: .55em; color: var(--pink); }
.cta__stores .store-note { margin-top: 10px; }
.cta__items { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.cta__items li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; font-weight: 600; color: var(--plum); line-height: 1.25; }
.cta__items .ic-wrap { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); }
.cta__items li:nth-child(1) .ic-wrap { color: var(--purple); }
.cta__items li:nth-child(2) .ic-wrap { color: var(--purple-deep); }
.cta__items li:nth-child(3) .ic-wrap { color: var(--pink); }
.cta__items svg { width: 24px; height: 24px; }

@media (min-width: 640px) {
  .cta__items { grid-template-columns: repeat(3, 1fr); }
}
/* phones: everything centred; the three items two-up, the third centred on
   its own row, each with its icon above the text */
@media (max-width: 767px) {
  .cta__grid { text-align: center; }
  .cta__title { transform-origin: center; }
  .cta .store-row, .cta .store-note { justify-content: center; }
  .cta__items { grid-template-columns: 1fr 1fr; gap: 20px 12px; max-width: 440px; margin-inline: auto; }
  .cta__items li { flex-direction: column; gap: 10px; text-align: center; }
  .cta__items li:last-child { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .cta { --wave-h: 96px; padding: 0 0 40px; }
  .cta__inner { padding-top: 6px; padding-right: 150px; }
  .cta__grid { grid-template-columns: auto auto 1fr; gap: 40px; }
  .cta__title { font-size: 52px; }
  .cta__title > span { white-space: nowrap; }
  .cta .store-row { flex-wrap: nowrap; }
  .cta__items { border-left: 1px solid #E9CFE0; padding-left: 32px; gap: 12px; }
  .cta__items li { gap: 10px; font-size: 13.5px; }
  .cta__items li > span:last-child { white-space: nowrap; }
  .cta__items .ic-wrap { width: 44px; height: 44px; }
  .cta__items svg { width: 22px; height: 22px; }
  .cta__mark { right: 2.5%; bottom: -10px; transform: none; width: 112px; opacity: 1; }
}

/* ================= footer ================= */
.site-foot { background: var(--grad-night); color: rgba(255, 255, 255, .78); font-size: 14.5px; }
.site-foot a { color: inherit; text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.site-foot__grid { display: grid; gap: 34px; padding-block: 56px 36px; }
.foot-brand .brand__mark { width: 50px; }
.foot-brand .brand__word { width: 136px; }
.foot-brand .brand__tagline { color: rgba(255, 255, 255, .8); }
.foot-brand p { margin-top: 16px; max-width: 300px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.site-foot h2 { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.foot-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.foot-list .dt { display: block; font-size: 12px; color: rgba(255, 255, 255, .55); }
.site-foot__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
  padding-block: 20px 26px; border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 13px; color: rgba(255, 255, 255, .6);
}
.site-foot__bottom .foot-manage { color: #FF8FC0; font-weight: 600; }
@media (max-width: 639px) { .site-foot__bottom { flex-direction: column; } }
@media (min-width: 640px) { .site-foot__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .site-foot__grid { grid-template-columns: 1.3fr .8fr 1.2fr 1fr; gap: 40px; padding-top: 70px; } }
/* phones: everything centred (the logo lockup itself stays as it is) */
@media (max-width: 767px) {
  .site-foot__grid, .site-foot__bottom { text-align: center; }
  .foot-brand .brand { justify-content: center; }
  .foot-brand .brand__text { text-align: left; }
  .site-foot__bottom { justify-content: center; }
}

/* ================= "Get the app" dialog ================= */
.modal {
  position: fixed; inset: 0; z-index: 120;
  display: grid; place-items: center; padding: 16px;
  background: rgba(20, 8, 42, .55);
  opacity: 0; transition: opacity .2s ease;
}
.modal.is-open { opacity: 1; }
.modal__card {
  position: relative; width: min(520px, 100%); max-height: calc(100vh - 32px); overflow: auto;
  padding: 30px 24px 26px; border-radius: 28px; background: #fff; text-align: center;
  box-shadow: 0 30px 70px rgba(20, 8, 42, .35);
  transform: translateY(12px) scale(.98); transition: transform .2s ease;
}
.modal.is-open .modal__card { transform: none; }
.modal__close {
  position: absolute; top: 12px; right: 12px; display: grid; place-items: center;
  width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--blush); color: var(--plum); cursor: pointer;
}
.modal__close svg { width: 18px; height: 18px; }
.modal__mark { width: 64px; margin: 0 auto 10px; }
.modal h2 { font-size: 24px; font-weight: 700; }
.modal__perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 20px 0 22px; padding: 0; list-style: none; }
.modal__perks li {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 16px 8px 14px; border: 1px solid rgba(255, 45, 139, .12); border-radius: 18px;
  background: linear-gradient(160deg, var(--blush) 0%, var(--lilac) 100%);
  color: var(--plum); font-size: 13px; font-weight: 600; line-height: 1.35; text-align: center;
  overflow-wrap: anywhere;
}
.modal__perks svg {
  box-sizing: content-box; width: 20px; height: 20px; padding: 10px; flex: none;
  border-radius: 50%; background: #fff; color: var(--pink); box-shadow: var(--shadow-sm);
}
@media (max-width: 400px) {
  .modal__perks { gap: 6px; margin-inline: -8px; }
  .modal__perks li { padding: 12px 4px; gap: 8px; font-size: 11.5px; }
  .modal__perks svg { width: 18px; height: 18px; padding: 8px; }
}
@media (max-width: 340px) {
  .modal__perks { margin-inline: -16px; }
  .modal__perks li { padding-inline: 3px; font-size: 10.5px; }
}
.modal .store-row { justify-content: center; }
.modal .qr-soon { margin: 0 auto 16px; }
/* Google Play QR code in the "Get the app" dialog */
.qr-code {
  display: flex; align-items: center; gap: 14px; width: fit-content; margin: 0 auto 16px;
  padding: 10px 18px 10px 10px; border-radius: 16px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  color: var(--plum); font-size: 13px; font-weight: 600; line-height: 1.35; text-align: left;
}
.qr-code img { width: 104px; height: 104px; flex: none; }
@media (max-width: 360px) {
  .qr-code { gap: 10px; padding-right: 12px; font-size: 12px; }
  .qr-code img { width: 84px; height: 84px; }
}
.modal__note { margin-top: 18px; font-size: 13px; color: var(--muted); }

/* ================= legal pages (shell) ================= */
.legal-main { background: linear-gradient(180deg, #FFF7FB 0%, #fff 280px); }
.legal-note {
  margin: 18px auto 0; max-width: 1080px; padding: 10px 16px; border-radius: 14px;
  background: var(--lilac); color: var(--purple-deep); font-size: 14px; font-weight: 500;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* home page: visible support contact (app stores use the home page as the support address) */
.hero__help { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 18px; font-size: 14px; color: var(--muted); }
.hero__help svg { width: 18px; height: 18px; flex: none; color: var(--pink); }
.hero__help a { color: var(--pink-ink); font-weight: 600; text-underline-offset: 3px; }
.hero__help a:hover { color: var(--pink-deep); }
