/* The app landings (/czech/app/, /german/app/, /english/app/), which send visitors to the app stores. They load
   landing.css first, the stylesheet of the start landings, and this file adds their own parts. */
.hero-app { text-align: left; padding-block: 72px 64px; }
.hero-app .hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
.hero-app .hero-copy { align-items: flex-start; max-width: none; }
.hero-app h1 { max-width: 12.5em; font-size: clamp(36px, 4.6vw, 58px); }
.hero-app .lead { max-width: 32em; }
.hero-app .hero-visual { position: relative; display: flex; justify-content: center; }
.hero-app .hero-visual .phone { position: relative; z-index: 1; width: 290px; }
.hero-app .micro-row { margin-top: 14px; justify-content: flex-start; }
.get-label { margin-top: 30px; font-weight: 600; color: var(--ink); font-size: 16.5px; }
.stores { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
/* The stores' official badges, drawn to their own height. */
.store { display: block; flex: none; border-radius: 10px; transition: transform .15s ease; }
.store:hover { transform: translateY(-1px); }
.store img { display: block; height: 56px; width: auto; }
.qr-box { display: inline-flex; align-items: center; gap: 12px; padding: 8px 14px 8px 8px; background: var(--card); border-radius: 16px; box-shadow: var(--shadow); }
.qr-box .qr { width: 64px; height: 64px; border-radius: 8px; overflow: hidden; background: #fff; display: grid; place-items: center; }
.qr-box .qr img { width: 56px; height: 56px; }
.qr-box small { font-size: 12.5px; color: var(--muted); max-width: 11em; line-height: 1.3; text-align: left; }
/* On a computer every download button brings the visitor here, and the QR code lights up briefly. */
@media (prefers-reduced-motion: no-preference) {
  .qr-box.ring { animation: qr-ring 1.2s ease; }
  @keyframes qr-ring { 25%, 60% { box-shadow: 0 0 0 4px rgba(255,106,19,.45), var(--shadow); } }
}
.qr-box-final { margin: 18px auto 0; position: relative; z-index: 1; }
.center-stores { justify-content: center; margin-top: 30px; position: relative; z-index: 1; }
.proof-line { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; color: var(--muted); }
.proof-line b { color: var(--ink); font-weight: 700; font-size: 17px; }
.app-card { margin-top: 22px; display: inline-flex; align-items: center; gap: 12px; background: var(--card); border-radius: 18px; padding: 10px 12px 10px 10px; box-shadow: var(--shadow); border: 0; font: inherit; color: inherit; text-align: left; text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
.app-card:hover { transform: translateY(-1px); box-shadow: 0 1px 2px rgba(17,17,20,.04), 0 14px 30px rgba(17,17,20,.1); }
.app-card img { width: 52px; height: 52px; border-radius: 13px; flex: none; }
.app-card-text { flex: 1 1 auto; min-width: 0; }
.app-card b { display: block; font-size: 15.5px; font-weight: 600; }
.app-card small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.app-card-cta { flex: none; margin-left: 6px; background: var(--ink); color: #fff; border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 500; }
.final-icon { width: 72px; height: 72px; border-radius: 18px; margin: 0 auto 16px; position: relative; z-index: 1; box-shadow: 0 12px 30px -10px rgba(17,17,20,.4); }
/* script.js marks the platform: the visitor's own store comes first and the QR code only shows on a computer. */
html.os-ios .store[data-store="android"], html.os-android .store[data-store="ios"] { order: 2; }
html.os-ios .qr-box, html.os-android .qr-box { display: none; }
html.os-desktop .sticky-cta .btn { min-height: 48px; }

/* Phone: the dark lesson screen */
.phone.dark { background: #121214; border-color: #2A2A2E; color: #fff; }
.phone.dark .status { color: #fff; }
.phone.dark .island { background: #000; border: 1px solid #2A2A2E; }
.home-ind.light { background: #fff; opacity: .9; }
/* As in the app's lesson bar: the clock stands on the screen's axis however wide «Завершить» is,
   and the three controls share one height and one glass. */
.ls-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 6px; }
.ls-top > :first-child { justify-self: start; }
.ls-top > :last-child { justify-self: end; }
.ls-round { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); display: grid; place-items: center; color: #fff; }
.ls-round.light { background: var(--card); color: var(--ink); box-shadow: 0 2px 8px rgba(17,17,20,.06); }
.ls-round svg { width: 15px; height: 15px; }
.ls-pill { display: inline-flex; align-items: center; height: 32px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); color: #fff; border-radius: 999px; padding: 0 9px; font-size: 11px; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ls-pill i { font-style: normal; color: #55555C; margin: 0 3px; }
/* «Завершить» is a size smaller than the clock, as in the app, which leaves the app's gap between them. */
.ls-top .ls-pill:last-child { font-size: 10px; }
.ls-title { text-align: center; font-size: 15px; font-weight: 500; margin-top: 4px; }
/* Words to reuse in this lesson, under the app's «Повторим» label, in its glass pills. */
.ls-label { text-align: center; font-size: 9.5px; color: #8E8E96; margin-top: 6px; }
.ls-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin-top: 4px; }
.ls-chips span { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); color: #E4E4EA; border-radius: 999px; padding: 4px 9px; font-size: 10.5px; white-space: nowrap; }
.ls-orb { margin: 18px auto 0; width: 150px; height: 150px; display: grid; place-items: center; filter: drop-shadow(0 0 28px rgba(255,140,60,.45)); }
.ls-orb img { width: 150px; }
.ls-hint { text-align: center; font-size: 9.5px; color: #8E8E96; margin-top: 10px; }
.ls-subs { text-align: center; font-size: 14px; line-height: 1.4; color: #fff; padding: 0 4px; margin-top: 8px; }
.ls-bottom { margin-top: auto; display: flex; justify-content: center; align-items: center; gap: 10px; }
.ls-sm { width: 34px; height: 34px; border-radius: 50%; background: #1F1F23; color: #fff; display: grid; place-items: center; font-size: 13px; }
.ls-sm svg { width: 15px; height: 15px; }
.ls-sm.yellow { background: #FFC85C; color: #111114; }
.ls-mic { width: 58px; height: 58px; border-radius: 50%; background: #fff; color: #111114; display: grid; place-items: center; box-shadow: 0 0 0 4px rgba(255,200,92,.25), 0 0 24px rgba(255,170,80,.45); margin: 0 6px; }
.ls-mic svg { width: 22px; height: 22px; }

/* Phone: the lesson review */
.screen.rv { gap: 6px; }
.rv-top { display: flex; align-items: center; justify-content: space-between; }
/* The praise pill of the app's lesson review is nearly as tall as the close button next to it. */
.rv-ok { display: inline-flex; align-items: center; height: 27px; background: var(--green); color: #fff; border-radius: 999px; padding: 0 11px; font-size: 11px; font-weight: 600; }
.rv-title { text-align: center; font-size: 12.5px; font-weight: 500; }
.rv-bubble { background: var(--card); border-radius: 12px; padding: 6px 10px; font-size: 10.5px; max-width: 86%; }
.rv-bubble.me { align-self: flex-end; background: var(--ink); color: #fff; }
.rv-h { text-align: center; font-size: 13px; font-weight: 600; margin-top: 4px; }
.rv-card { background: var(--card); border-radius: 12px; padding: 8px 10px; font-size: 10px; line-height: 1.4; }
.rv-card b { display: block; font-size: 11px; font-weight: 600; margin-bottom: 2px; }
.rv-card b.g { color: #0E8A5A; }
.rv-card p { color: var(--muted); }
.rv-card small { display: block; color: var(--muted); font-size: 9.5px; }
.rv-card strong { display: block; font-size: 18px; font-weight: 700; letter-spacing: -0.03em; margin-top: 2px; }
.rv-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
/* The fix is what sells the review, so it is set large and green, as on the start landings. */
.rv-x { color: #E04848; font-size: 10.5px; margin-top: 2px; }
.rv-x s { color: var(--muted); }
.rv-v { color: #0E8A5A; font-size: 15px; line-height: 1.25; margin: 2px 0 3px; }
.rv-v em { font-style: normal; color: #0E8A5A; font-weight: 600; letter-spacing: -0.01em; }
.rv-tip { background: #FFF6D6; color: #6B4E00; border-radius: 12px; padding: 7px 10px; font-size: 10px; line-height: 1.4; }
.rv-btn { margin-top: auto; background: var(--ink); color: #fff; border-radius: 999px; padding: 10px; text-align: center; font-size: 11px; font-weight: 500; }

/* Three steps */
.steps3 { margin-top: 40px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; text-align: left; }
.step3 { background: var(--card); border-radius: var(--radius-l); padding: 26px 24px; }
.step3 .n { width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 700; }
.step3 h3 { margin-top: 16px; font-size: 20px; font-weight: 700; }
.step3 p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }

/* What is inside */
.feat-grid { margin-top: 44px; display: grid; grid-template-columns: 1fr 360px; gap: 56px; align-items: start; }
.feat-list { display: grid; gap: 12px; position: relative; z-index: 1; }
.feat { background: var(--card); border-radius: var(--radius-m); padding: 20px 22px; display: grid; grid-template-columns: 60px 1fr; gap: 14px; }
.feat .num { font-size: 13px; font-weight: 600; color: var(--orange); letter-spacing: .04em; padding-top: 5px; font-variant-numeric: tabular-nums; }
.feat h3 { font-size: 19px; font-weight: 700; }
.feat p { margin-top: 5px; color: var(--ink-2); font-size: 15.5px; }
.feat-visual { position: sticky; top: 24px; display: flex; justify-content: center; }
.feat-visual .phone { position: relative; z-index: 1; }

/* Comparison with a tutor */
.compare { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cmp { border-radius: var(--radius-l); padding: 28px; background: var(--card); }
.cmp.hot { background: var(--ink); color: #fff; }
.cmp .who { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.cmp.hot .who { color: rgba(255,255,255,.6); }
.cmp .price { font-size: clamp(32px, 4vw, 46px); font-weight: 800; letter-spacing: -0.04em; margin-top: 10px; line-height: 1.05; }
.cmp .price small { display: block; font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-top: 6px; }
.cmp.hot .price small { color: rgba(255,255,255,.65); }
.cmp ul { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 15.5px; }
.cmp.hot ul { color: rgba(255,255,255,.88); }
.cmp li::before { content: "·  "; color: var(--muted); }
.cmp.hot li::before { content: "✓  "; color: var(--green); font-weight: 700; }

.footer .stores-footer { margin-top: 16px; }
.footer .stores-footer .store img { height: 40px; }
.footer .tm { display: block; margin-top: 10px; font-size: 12px; color: #A3A6AE; }

/* Floating button: a light pulse on phones */
@keyframes cta-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 10px 24px -8px rgba(17,17,20,.45), 0 0 0 0 rgba(255,106,19,.35); }
  50% { transform: scale(1.025); box-shadow: 0 14px 30px -8px rgba(17,17,20,.5), 0 0 0 10px rgba(255,106,19,0); }
}

@media (max-width: 1020px) {
  .hero-app .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-app .hero-visual { order: 2; }
  .feat-grid { grid-template-columns: 1fr; gap: 36px; }
  .feat-visual { position: relative; top: auto; }
  .steps3 { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .compare { grid-template-columns: 1fr; }
  .sticky-cta .btn { width: 100%; }
  @media (prefers-reduced-motion: no-preference) {
    .sticky-cta.show .btn { animation: cta-pulse 2.2s ease-in-out infinite; }
  }
}
@media (max-width: 640px) {
  .hero-app { padding-block: 44px 40px; }
  .hero-app h1 { font-size: 34px; }
  .stores { gap: 10px; width: 100%; }
  .stores .store img { height: 48px; }
  .app-card { width: 100%; padding: 10px; gap: 10px; }
  .app-card small { font-size: 12px; }
  .app-card-cta { padding: 7px 12px; font-size: 13px; margin-left: 0; }
  .feat { grid-template-columns: 1fr; gap: 6px; padding: 18px; }
  .cmp { padding: 22px; }
}
/* Both badges stay on one row down to 320 px phones. */
@media (max-width: 374px) {
  .stores .store img { height: 42px; }
}
/* A word with a hyphen that must not break at it, such as «по-немецки» in a heading. */
.nowrap { white-space: nowrap; }
