/* Home, privacy and guide pages. Logical properties throughout: Hebrew and Arabic mirror the layout. */
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/nunito-700-cyrillic-ext.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/nunito-700-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/nunito-700-vietnamese.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/nunito-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: 'Nunito'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/nunito-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: 'Nunito'; font-style: normal; font-weight: 900; font-display: swap; src: url(/assets/fonts/nunito-900-cyrillic-ext.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 900; font-display: swap; src: url(/assets/fonts/nunito-900-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 900; font-display: swap; src: url(/assets/fonts/nunito-900-vietnamese.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 900; font-display: swap; src: url(/assets/fonts/nunito-900-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: 'Nunito'; font-style: normal; font-weight: 900; font-display: swap; src: url(/assets/fonts/nunito-900-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; }
:root {
  --red: #b3141b;
  --yellow: #ffd54a;
  --yellow-ink: #3a2200;
  --ink: #231a1a;
  --muted: #655a5a;
  --paper: #fbf6ef;
  --paper-2: #f2ebe2;
  --night: #1f2035;
  --heading: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 400 1.0625rem/1.6 system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--heading);
  font-weight: 900;
  line-height: 1.18;
  overflow-wrap: anywhere;
  hyphens: auto;
  text-wrap: balance;
}
h1 { font-size: clamp(1.8rem, 9vw, 2.75rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: 1.5rem; }

.wrap { max-width: 1100px; margin-inline: auto; padding-inline: 24px; }
.wrap-narrow { max-width: 760px; }
.small { font-size: .875rem; }

/* The highlighted word of a headline, as in the store screenshots. */
.hl {
  display: inline-block;
  padding: .02em .28em .06em;
  border-radius: .24em;
  color: var(--yellow-ink);
  background: var(--yellow);
  box-shadow: 0 3px 10px rgba(60, 20, 0, .18);
  transform: rotate(-1.5deg);
}

/* Phone frame around an app screen: neutral, neither an iPhone nor a Pixel. */
.phone {
  overflow: hidden;
  border: 9px solid #16161d;
  border-radius: 38px;
  background: #16161d;
  box-shadow: 0 26px 50px rgba(50, 10, 10, .28);
}
.phone img { width: 100%; border-radius: 29px; }

/* iPhone frame: the captures hold the status bar and the Dynamic Island. */
.iphone {
  position: relative;
  overflow: visible;
  border: 9px solid #0d0d10;
  border-radius: 15.5% / 7.2%;
  background: #0d0d10;
  box-shadow: 0 0 0 2px #5d5d64, 0 0 0 3px #2b2b30, 0 26px 50px rgba(30, 5, 5, .4);
}
.iphone img { border-radius: 13% / 6%; }
.iphone::before, .iphone::after {
  content: '';
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: #4a4a50;
}
.iphone::before { inset-inline-end: -14px; inset-block-start: 24%; height: 12%; }
.iphone::after { inset-inline-start: -14px; inset-block-start: 20%; height: 15%; }

/* Screens fade in on scroll. .js is set by the page, so they stay visible without scripts. */
.js .fade { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .fade.in { opacity: 1; transform: none; }

/* Top of the page */
.top {
  overflow: hidden;
  color: #fff;
  background: radial-gradient(110% 90% at 28% 0%, #cf2a22 0%, #b3141b 55%, #94100f 100%);
}
.site-header { display: flex; align-items: center; gap: 24px; padding-block: 20px; }
.logo img { border-radius: 12px; }
.site-nav { display: none; gap: 24px; margin-inline-start: auto; }
.site-header a { text-decoration: none; font-weight: 600; }
.site-header a:hover { text-decoration: underline; }
.lang-link { display: inline-flex; align-items: center; gap: 8px; margin-inline-start: auto; }

.hero { display: grid; gap: 40px; padding-block-start: 24px; }
.lead { margin-block-start: 20px; font-size: 1.25rem; font-weight: 500; }
#download { margin-block-start: 28px; scroll-margin-block-start: 24px; }
.cta { font-weight: 700; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-block-start: 12px; }
.stores img { width: auto; height: 52px; }
.rating { margin-block-start: 14px; font-size: .95rem; font-weight: 600; }
.stars { color: var(--yellow); letter-spacing: 1px; }
/* The capture ends by 68.4% of its height in every language: cut just below that. */
.hero-media { --phone: min(68vw, 320px); width: var(--phone); height: calc(var(--phone) * 1.54); margin-inline: auto; }

/* Three main features */
.feature { padding-block: 72px; }
.feature-grid { display: grid; gap: 40px; align-items: center; }
.feature-grid p { margin-block-start: 16px; font-size: 1.2rem; color: var(--muted); }
.feature-media { width: min(68vw, 300px); margin-inline: auto; }
.feature-alt { background: var(--paper-2); }
.feature-red { color: #fff; background: radial-gradient(110% 90% at 70% 0%, #cf2a22 0%, #b3141b 55%, #94100f 100%); }
.feature-red .feature-grid p { color: #fff; }
.feature-red .hl { color: var(--red); background: #fff; }

/* Phones cut by the section's bottom edge, below the last text on the screen:
   in every language, the groups screen ends by 66% and the wishlist by 94%. */
.feature-crop { --phone: min(68vw, 300px); overflow: hidden; padding-block-end: 0; }
.feature-crop .feature-media { width: var(--phone); align-self: end; }
.feature-crop .crop-groups { height: calc(var(--phone) * 1.48); }
.feature-crop .crop-wishlist { height: calc(var(--phone) * 1.98); }

/* Smaller features */
.more { padding-block: 72px; }
.more h2 { text-align: center; }
.cards { display: grid; gap: 24px; margin-block-start: 40px; }
.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 28px 24px 0;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 6px 24px rgba(60, 30, 20, .08);
}
.card h3 .hl { transform: rotate(-1deg); }
.card p { margin-block: 12px 24px; color: var(--muted); }
.card .phone {
  flex: none;
  width: 220px;
  height: 300px;
  margin-inline: auto;
  border-block-end: 0;
  border-end-start-radius: 0;
  border-end-end-radius: 0;
  box-shadow: none;
}

/* Proof */
.proof { padding-block: 72px; text-align: center; background: var(--paper-2); }
.stat {
  display: inline-block;
  margin-block-end: 28px;
  padding: 10px 28px;
  border-radius: 999px;
  color: var(--yellow-ink);
  background: var(--yellow);
  font: 900 clamp(1.15rem, 3vw, 1.6rem)/1.3 var(--heading);
}
.proof h2 + p { margin-block-start: 12px; color: var(--muted); }
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 32px 48px; margin-block-start: 36px; }
.logos img { width: auto; max-width: 150px; height: 40px; object-fit: contain; filter: grayscale(1); }

/* Questions and answers */
.faq { padding-block: 72px; }
.faq h2 { margin-block-end: 28px; text-align: center; }
details { margin-block-start: 12px; padding: 18px 22px; border-radius: 16px; background: #fff; box-shadow: 0 3px 12px rgba(60, 30, 20, .06); }
summary { font: 800 1.15rem/1.4 var(--heading); cursor: pointer; }
details p { margin-block-start: 10px; color: var(--muted); }

/* Gift guide */
.guide { padding-block: 64px; text-align: center; color: #fff; background: #193031; }
.guide p { margin-block-start: 16px; }
.button {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  color: var(--yellow-ink);
  background: var(--yellow);
  font-weight: 800;
  text-decoration: none;
}

/* Footer */
.site-footer { padding-block: 56px; color: #e7e6ef; background: var(--night); }
.site-footer .stores { margin-block-end: 28px; }
.footer-cta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
.platforms { color: #c9c8d6; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-block-end: 24px; }

/* Language panel: the script below it toggles .is-open; :target covers no scripts. */
.lang-switcher {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  color: var(--ink);
  background: rgba(10, 15, 20, .55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: opacity .25s ease, visibility .25s;
}
.lang-switcher.is-open, .lang-switcher:target { visibility: visible; opacity: 1; }
body.lang-open { overflow: hidden; }
.lang-panel {
  width: min(760px, 100%);
  max-height: min(78vh, 720px);
  overflow-y: auto;
  padding: 28px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(10, 15, 20, .35);
  transform: translateY(14px) scale(.98);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
.lang-switcher.is-open .lang-panel, .lang-switcher:target .lang-panel { transform: none; }
.lang-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-block-end: 20px; }
.lang-head h2 { font-size: 1.5rem; }
.lang-close { flex: none; padding: 4px 10px; font-size: 1.25rem; font-weight: 700; text-decoration: none; }
.lang-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 4px; }
.lang-grid a { padding: 9px 12px; border-radius: 10px; font-size: .95rem; text-decoration: none; }
.lang-grid a:hover { background: var(--paper-2); }
.lang-grid a[aria-current="page"] { font-weight: 700; background: var(--paper-2); }
.lang-suggested { margin-block-end: 16px; padding: 14px; border-radius: 16px; background: var(--paper); }
.lang-suggested h3 { margin-block-end: 10px; font-size: .95rem; color: var(--muted); }

/* Privacy policy */
.top-compact { padding-block-end: 48px; }
.page-title { padding-block-start: 24px; }
.legal { padding-block: 56px 72px; }
.legal h2 { margin-block: 40px 12px; font-size: 1.5rem; }
.legal h3 { margin-block: 24px 8px; font-size: 1.15rem; }
.legal p { margin-block-end: 12px; }
.legal ul, .legal ol { padding-inline-start: 22px; }
.legal li { margin-block-end: 8px; }
.legal a { color: var(--red); }

/* Guide */
.article { padding-block: 16px 72px; }
.article section { padding-block-start: 40px; }
.article h2 { margin-block-end: 14px; font-size: clamp(1.6rem, 4vw, 2.1rem); }
.article h3 { margin-block: 24px 6px; font-size: 1.25rem; }
.article p { margin-block-end: 12px; }
.article ul, .article ol { padding-inline-start: 22px; }
.article li { margin-block-end: 8px; }
.article .steps li::marker { font: 900 1.25rem var(--heading); color: var(--red); }
.article .steps h3 { margin-block-start: 0; }
.article .button { color: var(--yellow-ink); }
.article .stores { margin-block-end: 12px; }
.article .stars { color: #d99a00; }
.article-screen { width: 240px; margin: 24px auto; }
.faq-more { margin-block-start: 24px; text-align: center; font-weight: 700; }
.faq-more a { color: var(--red); }

@media (min-width: 800px) {
  h1 { font-size: clamp(2.75rem, 5.5vw, 4.25rem); }
  .site-nav { display: flex; }
  .lang-link { margin-inline-start: 0; }
  .hero { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: center; padding-block-start: 40px; }
  .hero-media { --phone: 320px; align-self: end; margin-block-start: 8px; }
  .hero-text { padding-block-end: 96px; }
  .feature { padding-block: 96px; }
  .feature-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 72px; }
  .feature-grid.flip { grid-template-columns: 300px minmax(0, 1fr); }
  .feature-grid.flip .feature-media { order: -1; }
  .feature-media { width: 300px; }
  .feature-crop { --phone: 300px; padding-block-end: 0; }
  /* Each card's title, text and screen share their rows, so the screens line up. */
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(3, auto); }
  .card { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; }
  .card .phone { justify-self: center; }
}

@media print {
  .js .fade { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .js .fade { opacity: 1; transform: none; transition: none; }
  .lang-switcher, .lang-panel { transition: none; }
}
