/* Pinora developer site: one stylesheet for the home page and the legal pages. Fonts are the app's own
   (Baloo 2, Nunito; SIL OFL), served from this site: nothing loads from elsewhere. */
@font-face { font-family: "Baloo 2"; font-weight: 800; font-display: swap; src: url(fonts/baloo-2-latin-800-normal.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: "Baloo 2"; font-weight: 800; font-display: swap; src: url(fonts/baloo-2-latin-ext-800-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Nunito"; font-weight: 400; font-display: swap; src: url(fonts/nunito-latin-400-normal.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-weight: 400; font-display: swap; src: url(fonts/nunito-latin-ext-400-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Nunito"; font-weight: 700; font-display: swap; src: url(fonts/nunito-latin-700-normal.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-weight: 700; font-display: swap; src: url(fonts/nunito-latin-ext-700-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Nunito"; font-weight: 800; font-display: swap; src: url(fonts/nunito-latin-800-normal.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-weight: 800; font-display: swap; src: url(fonts/nunito-latin-ext-800-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

@font-face { font-family: "Nunito"; font-weight: 400; font-display: swap; src: url(fonts/nunito-cyrillic-400-normal.woff2) format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Nunito"; font-weight: 700; font-display: swap; src: url(fonts/nunito-cyrillic-700-normal.woff2) format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Nunito"; font-weight: 800; font-display: swap; src: url(fonts/nunito-cyrillic-800-normal.woff2) format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }

:root {
  --bg: #fdf8ee; --paper: #fff; --ink: #142347; --muted: #5b6b94; --line: #ecdfc6;
  --night: #0b1e3f; --night-2: #1b2f63; --sun: #ffc83d; --sun-deep: #f5a400; --mint: #3ddc97; --grape: #8b6cf5; --sky: #4cc9f0;
  --radius: 22px; --display: "Baloo 2", "Nunito", system-ui, sans-serif; --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 17px/1.6 var(--body); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: #3b5bdb; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Header: logo left, store buttons right, stays on top. */
.top { position: sticky; top: 0; z-index: 10; background: rgba(253, 248, 238, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 800 24px/1 var(--display); }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.top__stores { display: flex; gap: 8px; }

/* Store buttons: dark pills (light on the dark band). */
.store { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: 999px;
  background: var(--night); color: #fff; text-decoration: none; font: 800 16px/1 var(--body); border: 2px solid var(--night); transition: transform .15s, box-shadow .15s; }
.store:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(11, 30, 63, .25); }
.store svg { width: 20px; height: 20px; flex: none; }
.store small { font-weight: 700; opacity: .7; font-size: 13px; }
.store--soon { opacity: .55; cursor: default; }
.store--soon:hover { transform: none; box-shadow: none; }
.store--sm { min-height: 36px; padding: 0 14px; font-size: 14px; background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.store--sm svg { width: 16px; height: 16px; }
.store--light { background: #fff; color: var(--night); border-color: #fff; }
.stores { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero */
.hero { padding: 64px 0 24px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { margin: 0; font: 800 clamp(44px, 7vw, 76px)/1.02 var(--display); letter-spacing: -.5px; }
.hero h1 span { color: var(--sun-deep); }
.hero__sub { margin: 14px 0 26px; font-size: clamp(19px, 2.4vw, 24px); color: var(--muted); font-weight: 700; }
.hero__lead { margin: 22px 0 0; max-width: 520px; color: var(--muted); }
.hero__art { position: relative; display: flex; justify-content: center; }
.hero__art::before { content: ""; position: absolute; width: 112%; aspect-ratio: 1; border-radius: 50%; top: 6%;
  background: radial-gradient(circle at 50% 45%, #ffe7a3 0, #ffd36b 35%, rgba(255, 200, 61, 0) 70%); z-index: 0; }

/* Phone mock-up around an app screenshot. */
.phone { position: relative; z-index: 1; width: min(300px, 78vw); border-radius: 46px; padding: 10px; background: #0d1222;
  box-shadow: 0 30px 60px rgba(11, 30, 63, .28), inset 0 0 0 2px #2b3352; }
.phone img { border-radius: 37px; width: 100%; height: auto; aspect-ratio: 1206 / 2622; object-fit: cover; }
.phone--sm { width: min(260px, 70vw); }

/* Sections */
section { padding: 72px 0; }
.center { text-align: center; }
h2 { margin: 0 0 12px; font: 800 clamp(32px, 4.4vw, 46px)/1.1 var(--display); }
.lead { margin: 0 auto 36px; max-width: 640px; color: var(--muted); font-size: 18px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: start; }
.card__ico { font-size: 30px; line-height: 1; margin-bottom: 12px; }
.card h3 { margin: 0 0 6px; font: 800 20px/1.2 var(--display); }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.punch { margin: 32px 0 0; font: 800 22px/1.3 var(--display); }

.feature .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature--flip .feature__art { order: 2; }
.feature__art { display: flex; justify-content: center; }
.ticks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; }
.ticks li::before { content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--mint); color: #fff; font-size: 14px; display: grid; place-items: center; margin-top: 2px; }
.feature p { color: var(--muted); }
.tile { border-radius: 28px; padding: 36px; width: 100%; min-height: 300px; display: grid; place-items: center; text-align: center;
  background: linear-gradient(160deg, var(--night) 0, var(--night-2) 100%); color: #fff; }
.tile__big { font-size: 72px; line-height: 1; }
.tile__langs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.tile__langs span { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); font-weight: 700; font-size: 14px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-align: start; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--sun); color: var(--ink); font: 800 20px/1 var(--display); margin-bottom: 14px; }
.step h3 { margin: 0 0 6px; font: 800 21px/1.2 var(--display); }
.step p { margin: 0; color: var(--muted); }

.safe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* Dark call-to-action band */
.cta { padding: 24px 0 80px; }
.cta__box { border-radius: 32px; padding: 64px 24px; text-align: center; color: #fff;
  background: radial-gradient(120% 140% at 50% 0, #2a4a8f 0, var(--night) 60%); }
.cta__box h2 { color: #fff; }
.cta__box p { margin: 0 auto 28px; max-width: 600px; opacity: .85; font-size: 18px; }
.cta__box .stores { justify-content: center; }

/* Footer: brand, Legal, Download; bottom line with copyright and language. */
.foot { border-top: 1px solid var(--line); padding: 48px 0 28px; font-size: 15px; }
.foot__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.foot__brand p { margin: 10px 0 0; color: var(--muted); max-width: 380px; }
.foot h4 { margin: 0 0 12px; font: 800 15px/1 var(--body); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot__dl a, .foot__dl span { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.foot__dl svg { width: 16px; height: 16px; }
.foot__bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
/* Language menu: a native <details> (no script); opens upward from the footer. */
.langs { position: relative; }
.langs summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; color: var(--ink); font-weight: 700; }
.langs summary::-webkit-details-marker { display: none; }
.langs summary svg { width: 16px; height: 16px; }
.langs__menu { position: absolute; bottom: calc(100% + 8px); inset-inline-end: 0; z-index: 5; display: grid; grid-template-columns: repeat(2, minmax(120px, 1fr)); gap: 2px; padding: 8px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(11, 30, 63, .15); }
.langs__menu a { padding: 8px 12px; border-radius: 10px; color: var(--ink); }
.langs__menu a:hover { background: var(--bg); text-decoration: none; }
.langs__menu a[aria-current] { background: var(--night); color: #fff; }
[dir="rtl"] .hero h1 { letter-spacing: 0; }

/* Legal pages: one readable column. */
.doc { max-width: 780px; margin: 0 auto; padding: 48px 20px 72px; }
.doc h1 { margin: 0 0 8px; font: 800 clamp(34px, 5vw, 46px)/1.1 var(--display); }
.doc .meta { margin: 0 0 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.doc .box { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; margin: 0 0 28px; font-size: 16px; }
.doc .box p { margin: 6px 0; }
.doc h2 { margin: 36px 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: 26px; }
.doc ul { padding-inline-start: 22px; }
.doc li { margin: 6px 0; }
code { font-size: .92em; background: #f3ead8; padding: 1px 6px; border-radius: 6px; color: #b23a6b; }
.contact-card { display: grid; gap: 14px; }
.contact-card a.store { justify-self: start; }

@media (max-width: 900px) {
  .hero .wrap, .feature .wrap { grid-template-columns: 1fr; gap: 36px; }
  .feature--flip .feature__art { order: 0; }
  .cards { grid-template-columns: 1fr 1fr; }
  .steps, .safe { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .top__stores .store small, .top__stores .store span { display: none; }
  .top__stores .store--sm { padding: 0 10px; }
  .hero { padding-top: 40px; }
  .cards { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .stores .store { flex: 1 1 100%; }
  .cta__box { padding: 48px 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .store { transition: none; } }
