/* ==========================================================================
   Redesign (local preview): layout and components. Colours, fonts and radii
   come from the tokens a theme file sets (theme-a.css, theme-d.css).
   ========================================================================== */

:root {
  --v2-max: 1180px;
  --v2-gap: clamp(1.25rem, 3vw, 2rem);
  --v2-section: clamp(4.5rem, 10vw, 7.5rem);
}

body { background: var(--v2-bg); color: var(--v2-ink); }
a { color: var(--v2-link, var(--v2-accent)); }

.v2-wrap { max-width: var(--v2-max); margin: 0 auto; padding: 0 1.25rem; }
.v2-section { padding: var(--v2-section) 0; }
.v2-h2 {
  font-family: var(--v2-font-display);
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: var(--v2-display-weight, 700);
  margin: 0 0 1rem;
}
.v2-sub { color: var(--v2-muted); font-size: 1.12rem; margin: 0; max-width: 46ch; }
.v2-head { margin: 0 0 2.5rem; }
.v2-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; }
.v2-lead { font-size: 1.2rem; color: var(--v2-ink); }
.v2-link { display: inline-flex; font-weight: 700; color: var(--v2-accent); margin-top: 0.5rem; }

/* Header, calmer */
.site-header {
  background: color-mix(in srgb, var(--v2-bg) 85%, transparent);
  backdrop-filter: saturate(1.3) blur(14px);
  -webkit-backdrop-filter: saturate(1.3) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--v2-line) 70%, transparent);
}
.site-header__name { font-family: var(--v2-font-display); font-weight: 700; color: var(--v2-ink); }
.site-header__link { color: var(--v2-ink); }
.site-header__cta { background: var(--v2-accent); color: var(--v2-accent-ink); border-radius: 999px; padding: 0.55rem 1.1rem; }
.site-header__cta:hover { background: var(--v2-accent-hover); box-shadow: none; }

/* Buttons */
.v2-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; margin: 0 0 1rem; }
.v2 .hero__cta, .v2-footer .hero__cta {
  margin: 0;
  background: var(--v2-ink);
  color: var(--v2-bg);
  border-radius: 14px;
  padding: 0.95rem 1.4rem;
}
.v2 .hero__cta--play, .v2-footer .hero__cta--play { background: #01875f; color: #fff; }
.v2-actions--small .hero__cta { padding: 0.65rem 1rem; font-size: 0.9rem; }

/* Small chip above the hero title */
.v2-chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 0.85rem; margin: 0 0 1.25rem;
  border-radius: 999px; background: var(--v2-surface); border: 1px solid var(--v2-line);
  font-size: 0.9rem; font-weight: 600; color: var(--v2-muted);
}
.v2-chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--v2-accent); box-shadow: 0 0 0 4px var(--v2-accent-soft); }

/* Hero */
.v2-hero { padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(3rem, 8vw, 6rem); overflow: hidden; }
.v2-hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--v2-gap); align-items: center; }
.v2-hero__title {
  font-family: var(--v2-font-display);
  font-size: clamp(2.9rem, 7vw, 5.4rem);
  line-height: 0.98; letter-spacing: -0.045em;
  font-weight: var(--v2-display-weight, 700);
  margin: 0 0 1rem; max-width: 11ch;
}
.v2-hero__tagline { font-size: clamp(1.25rem, 2.4vw, 1.6rem); color: var(--v2-muted); margin: 0 0 2rem; }
.v2-hero .store-ratings { justify-content: flex-start; margin: 0; }
.v2-hero__visual { position: relative; display: flex; justify-content: center; }
.v2-blob {
  position: absolute; inset: 8% 4% 4% 4%;
  border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%;
  background: var(--v2-blob);
  animation: v2-morph 14s ease-in-out infinite;
}
.v2-hero__phone { position: relative; width: min(300px, 70vw); transform: rotate(3deg); }
.v2-float {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 0.9rem;
  background: var(--v2-surface); color: var(--v2-ink);
  border-radius: 16px; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.13);
  font-weight: 700; font-size: 0.95rem; font-variant-numeric: tabular-nums;
  animation: v2-bob 6s ease-in-out infinite;
}
.v2-float img { border-radius: 8px; }
.v2-float__arrow { color: var(--v2-accent); font-weight: 700; margin: 0 -4px; }
.v2-float__icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--v2-accent-soft); }
.v2-float__icon--tick { background: var(--v2-accent); color: var(--v2-accent-ink); font-size: 0.85rem; }
.v2-float--timer { top: 14%; left: 2%; }
.v2-float--done { top: 46%; right: 0; animation-delay: -2s; }
.v2-float--level { bottom: 12%; left: 6%; animation-delay: -4s; }

/* Story */
.v2-story { background: var(--v2-surface); }
.v2-story__grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.v2-story__text p { color: var(--v2-muted); line-height: 1.75; margin: 0 0 1.1rem; }
.v2-story__text .v2-lead { color: var(--v2-ink); }
.v2-story__people { display: grid; gap: 1rem; position: sticky; top: 6rem; }
.v2-person {
  display: grid; grid-template-columns: 72px 1fr; gap: 0.25rem 1rem; align-items: center;
  padding: 1.1rem; border-radius: var(--v2-radius); background: var(--v2-bg); border: 1px solid var(--v2-line);
  color: var(--v2-ink); text-decoration: none; transition: transform 0.2s, box-shadow 0.2s;
}
.v2-person:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--v2-shadow); }
.v2-person img { grid-row: span 2; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.v2-person__name { font-weight: 800; font-size: 1.1rem; }
.v2-person__bio { color: var(--v2-muted); font-size: 0.9rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Feature tour */
.v2-tour__grid { display: grid; grid-template-columns: 1fr 360px; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.v2-tour__tabs { display: grid; gap: 0.75rem; }
.v2-tour__tab {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start;
  width: 100%; text-align: left; padding: 1.1rem 1.25rem;
  border: 1px solid var(--v2-line); border-radius: var(--v2-radius);
  background: var(--v2-surface); color: var(--v2-ink);
  font: inherit; cursor: pointer; transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.v2-tour__tab:hover { transform: translateX(4px); }
.v2-tour__tab.is-active { border-color: var(--v2-accent); background: var(--v2-accent-soft); }
.v2-tour__num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--v2-bg); font-weight: 800; color: var(--v2-accent);
}
.v2-tour__tab.is-active .v2-tour__num { background: var(--v2-accent); color: var(--v2-accent-ink); }
.v2-tour__body strong { display: block; font-size: 1.1rem; margin: 0 0 0.2rem; }
.v2-tour__body span { color: var(--v2-muted); font-size: 0.97rem; line-height: 1.5; }
.v2-tour__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--v2-accent); }
.v2-tour__tab.is-active .v2-tour__bar { animation: v2-progress var(--v2-tour-ms, 5500ms) linear forwards; }
.v2-tour.is-paused .v2-tour__tab.is-active .v2-tour__bar { animation-play-state: paused; }
.v2-tour__stage { display: flex; justify-content: center; }
.v2-tour__phone { width: 300px; transform: rotate(-2deg); }
.v2-tour__screen { position: relative; aspect-ratio: 440 / 954; background: #fcf8f2; }
.v2-tour__panel { position: absolute; inset: 0; opacity: 0; transform: scale(1.03); transition: opacity 0.45s, transform 0.45s; }
.v2-tour__panel.is-active { opacity: 1; transform: none; }
.v2-tour__panel img { width: 100%; height: 100%; object-fit: cover; }

/* Round arrow buttons (reviews, lightbox) */
.v2-arrow {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--v2-line);
  background: var(--v2-surface); color: var(--v2-ink); font-size: 1.2rem; cursor: pointer;
  display: inline-grid; place-items: center; transition: transform 0.2s, background 0.2s;
}
.v2-arrow:hover { transform: scale(1.06); background: var(--v2-accent-soft); }

/* Screenshots: the store's ten, two staggered rows of five; one opens large */
.v2-gallery { list-style: none; margin: 0; padding: 0 0 3rem; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4rem 1.25rem; }
.v2-gallery li:nth-child(5n+2), .v2-gallery li:nth-child(5n+4) { transform: translateY(2.5rem); }
.v2-gallery__item {
  display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; background: #fff;
  border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(22, 32, 27, 0.10);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.v2-gallery__item:hover, .v2-gallery__item:focus-visible { transform: translateY(-8px) scale(1.02); box-shadow: 0 24px 50px rgba(22, 32, 27, 0.18); }
.v2-gallery__item img { width: 100%; height: auto; display: block; }
.v2-lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; overflow: visible; }
.v2-lightbox::backdrop { background: rgba(10, 16, 13, 0.82); backdrop-filter: blur(4px); }
.v2-lightbox[open] { display: flex; align-items: center; gap: 1rem; }
.v2-lightbox img { width: auto; height: min(86vh, 900px); border-radius: 24px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.v2-lightbox__close { position: fixed; top: 1rem; right: 1rem; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; font-size: 1.1rem; cursor: pointer; }
.v2-lightbox__count { position: fixed; bottom: 1rem; left: 50%; transform: translateX(-50%); margin: 0; color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }

/* Reviews: the score, and one review at a time */
.v2-reviews { background: var(--v2-soft); }
.v2-reviews__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.v2-score { display: flex; align-items: center; gap: 1rem; margin: 2rem 0 1.25rem; }
.v2-score__num { font-family: var(--v2-font-display); font-size: clamp(4rem, 9vw, 6rem); font-weight: 800; line-height: 0.9; letter-spacing: -0.04em; }
.v2-score__side { display: flex; flex-direction: column; gap: 0.35rem; color: var(--v2-muted); font-weight: 600; }
.v2-score__side .stars { font-size: 1.5rem; }
.v2-reviews .store-ratings { justify-content: flex-start; }
.v2-quotes { position: relative; }
.v2-quotes__stage { display: grid; }
.v2-quote {
  grid-area: 1 / 1; margin: 0; padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: calc(var(--v2-radius) * 1.3); background: var(--v2-surface); box-shadow: var(--v2-shadow);
  display: flex; flex-direction: column; gap: 0.75rem;
  opacity: 0; transform: translateY(12px); transition: opacity 0.5s ease, transform 0.5s ease; pointer-events: none;
}
.v2-quote.is-active { opacity: 1; transform: none; pointer-events: auto; }
.v2-quote__mark { font-family: Georgia, serif; font-size: 5rem; line-height: 0.6; height: 2.2rem; color: var(--v2-accent); }
.v2-quote .stars { font-size: 1.1rem; }
.v2-quote__title { margin: 0; font-weight: 800; font-size: 1.2rem; }
.v2-quote blockquote { margin: 0; }
.v2-quote blockquote p { margin: 0; font-size: clamp(1.15rem, 2vw, 1.35rem); line-height: 1.55; color: var(--v2-ink); }
.v2-quote figcaption { color: var(--v2-muted); font-size: 0.95rem; margin-top: auto; }
.v2-quote__translated { display: block; margin-top: 0.25rem; font-size: 0.8rem; font-style: italic; opacity: 0.8; cursor: help; }
.v2-quotes__nav { display: flex; align-items: center; gap: 1rem; margin-top: 1.25rem; }
.v2-quotes__count { font-variant-numeric: tabular-nums; color: var(--v2-muted); font-weight: 600; min-width: 4ch; text-align: center; }

/* Learn + newest articles */
.v2-learn__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.v2-learn__text p { color: var(--v2-muted); line-height: 1.75; }
.v2-learn__posts { display: grid; gap: 0.85rem; }
.v2-postcard {
  display: grid; grid-template-columns: 112px 1fr; gap: 1rem; align-items: center; padding: 0.75rem;
  border-radius: var(--v2-radius); background: var(--v2-surface); border: 1px solid var(--v2-line);
  color: var(--v2-ink); text-decoration: none; transition: transform 0.2s, box-shadow 0.2s;
}
.v2-postcard:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--v2-shadow); }
.v2-postcard img { width: 112px; height: 76px; object-fit: cover; border-radius: 12px; }
.v2-postcard strong { display: block; line-height: 1.3; }
.v2-postcard__topic, .v2-card__topic { display: block; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--v2-accent); margin: 0 0 0.25rem; }

/* Final call to action */
.v2-final { padding-top: 0; }
.v2-final__card {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: calc(var(--v2-radius) * 2);
  background: linear-gradient(135deg, var(--v2-deep) 0%, var(--v2-deep-2) 100%);
  color: var(--v2-on-deep);
}
.v2-final__card::after { content: ""; position: absolute; width: 380px; height: 380px; right: -100px; top: -140px; border-radius: 50%; background: rgba(255, 255, 255, 0.07); }
.v2-final__copy { position: relative; z-index: 1; }
.v2-final__copy p { color: var(--v2-on-deep-muted); font-size: 1.1rem; margin: 0 0 1.5rem; }
.v2-final .hero__cta { background: #fff; color: #1a1a1a; }
.v2-final .hero__cta--play { background: #fff; color: #01875f; }
.v2-final__phone { position: relative; z-index: 1; flex: 0 0 auto; width: 150px; padding: 7px; background: #1c1c1e; border-radius: 1.6rem; transform: rotate(5deg); box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3); }
.v2-final__phone div { border-radius: 1.2rem; overflow: hidden; aspect-ratio: 360 / 780; background: #000; }
.v2-final__phone video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Blog index */
.v2-blog__head { padding: clamp(2rem, 6vw, 4rem) 0 1.5rem; }
.v2-blog__title { font-family: var(--v2-font-display); font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1; letter-spacing: -0.04em; margin: 0.75rem 0 1rem; font-weight: var(--v2-display-weight, 700); }
.v2-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.75rem 0 0; }
.v2-filter {
  padding: 0.55rem 1rem; border-radius: 999px; border: 1px solid var(--v2-line);
  background: var(--v2-surface); color: var(--v2-ink); font: inherit; font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: all 0.2s;
}
.v2-filter.is-active { background: var(--v2-ink); color: var(--v2-bg); border-color: var(--v2-ink); }
.v2-blog__list { padding-bottom: var(--v2-section); }
.v2-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin: 1.25rem 0 0; }
.v2-card {
  display: flex; flex-direction: column; border-radius: var(--v2-radius); overflow: hidden;
  background: var(--v2-surface); border: 1px solid var(--v2-line); transition: transform 0.25s, box-shadow 0.25s;
}
.v2-card:hover { transform: translateY(-4px); box-shadow: var(--v2-shadow); }
.v2-card[hidden] { display: none; }
.v2-card__img { display: block; overflow: hidden; aspect-ratio: 3 / 2; }
.v2-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.v2-card:hover .v2-card__img img { transform: scale(1.04); }
.v2-card__body { padding: 1.2rem 1.25rem 1.35rem; display: flex; flex-direction: column; flex: 1; }
.v2-card__title { font-family: var(--v2-font-display); font-size: 1.25rem; line-height: 1.25; margin: 0 0 0.5rem; letter-spacing: -0.01em; }
.v2-card__title a { color: var(--v2-ink); }
.v2-card__desc { color: var(--v2-muted); font-size: 0.95rem; line-height: 1.55; margin: 0 0 1rem; }
.v2-card__meta { margin: auto 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.45rem; font-size: 0.85rem; color: var(--v2-muted); }
.v2-card__meta > * { white-space: nowrap; }
.v2-card__avatar { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; flex: 0 0 26px; }
.v2-card--big { display: grid; grid-template-columns: 1.25fr 1fr; }
.v2-card--big .v2-card__img { aspect-ratio: auto; min-height: 340px; }
.v2-card--big .v2-card__body { padding: clamp(1.5rem, 4vw, 2.75rem); justify-content: center; }
.v2-card--big .v2-card__title { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.1; }
.v2-card--big .v2-card__desc { font-size: 1.05rem; }
.v2-blog .blog-cta { margin-top: 3rem; }

/* The article pages and the blog app block pick up the theme */
.blog-cta { background: linear-gradient(135deg, var(--v2-deep) 0%, var(--v2-deep-2) 100%); }
.post__answer { background: var(--v2-accent-soft); }
.post__title { font-family: var(--v2-font-display); letter-spacing: -0.03em; }
.post__body h2 { font-family: var(--v2-font-display); letter-spacing: -0.02em; }
.v2-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200; background: var(--v2-accent); }

/* Content pages in the new style */
.post__hero img { border-radius: var(--v2-radius); }
.post__answer { border-radius: var(--v2-radius); border: 1px solid color-mix(in srgb, var(--v2-accent) 20%, transparent); }
.post__toc { background: var(--v2-surface); border: 1px solid var(--v2-line); border-radius: var(--v2-radius); padding: 1.25rem 1.5rem; }
.post__cta { background: var(--v2-accent-soft); border: 1px solid color-mix(in srgb, var(--v2-accent) 18%, transparent); border-radius: var(--v2-radius); }
.post__cta .hero__cta { background: var(--v2-ink); color: var(--v2-bg); border-radius: 14px; }
.post__cta .hero__cta--play { background: #01875f; color: #fff; }
.post__faq dt { font-family: var(--v2-font-display); }
.about-person__head h2 a, .post__author-name a { color: var(--v2-ink); }
.contact-page__title { font-family: var(--v2-font-display); font-size: clamp(2.2rem, 5vw, 3.2rem); letter-spacing: -0.03em; }
.contact-form { background: var(--v2-surface); border: 1px solid var(--v2-line); border-radius: calc(var(--v2-radius) * 1.2); padding: clamp(1.25rem, 4vw, 2rem); box-shadow: var(--v2-shadow); }
.contact-form input, .contact-form textarea { border: 1px solid var(--v2-line); border-radius: 12px; background: var(--v2-bg); padding: 0.8rem 0.95rem; font: inherit; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--v2-accent); outline-offset: 1px; border-color: transparent; }
.contact-form__submit { background: var(--v2-accent); color: var(--v2-accent-ink); border-radius: 999px; padding: 0.85rem 1.6rem; border: 0; }

/* Footer */
.v2-footer { margin-top: auto; padding: clamp(3.5rem, 8vw, 5rem) 0 2rem; background: var(--v2-footer-bg); color: var(--v2-footer-ink); }
.v2-footer a { color: var(--v2-footer-ink); }
.v2-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.v2-footer__logo { display: inline-flex; align-items: center; gap: 0.7rem; font-family: var(--v2-font-display); font-weight: 800; font-size: 1.15rem; text-decoration: none; }
.v2-footer__logo img { border-radius: 12px; }
.v2-footer__brand p { color: var(--v2-footer-muted); margin: 1rem 0 1.25rem; max-width: 34ch; }
.v2-footer .store-ratings { justify-content: flex-start; }
.v2-footer .store-rating { background: transparent; border-color: var(--v2-footer-line); color: var(--v2-footer-ink); }
.v2-footer__col { display: flex; flex-direction: column; gap: 0.6rem; }
.v2-footer__col a { color: var(--v2-footer-muted); }
.v2-footer__col a:hover { color: var(--v2-footer-ink); }
.v2-footer__head { font-weight: 800; margin: 0 0 0.35rem; color: var(--v2-footer-ink); }
.v2-footer__bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--v2-footer-line); display: flex; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; font-size: 0.85rem; color: var(--v2-footer-muted); }
.v2-footer__bottom p { margin: 0; }
.v2-lang { position: relative; }
.v2-lang summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.5rem 0.9rem; border: 1px solid var(--v2-footer-line); border-radius: 999px; color: var(--v2-footer-ink); font-weight: 600;
}
.v2-lang summary::-webkit-details-marker { display: none; }
.v2-lang[open] .v2-lang__caret { transform: rotate(180deg); }
.v2-lang__caret { transition: transform 0.2s; font-size: 0.8em; }
.v2-lang__menu {
  position: absolute; right: 0; bottom: calc(100% + 0.5rem); z-index: 10;
  margin: 0; padding: 0.4rem; list-style: none; width: 230px; max-height: 320px; overflow-y: auto;
  background: var(--v2-surface); border-radius: 14px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}
.v2-lang__menu a { display: block; padding: 0.5rem 0.75rem; border-radius: 8px; color: var(--v2-ink); }
.v2-lang__menu a:hover { background: var(--v2-soft); text-decoration: none; }
.v2-lang__menu a[aria-current] { font-weight: 700; color: var(--v2-accent); }

/* Scroll reveal: only when the script is running, so nothing hides without it */
.js-reveal .v2-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js-reveal .v2-reveal.is-in { opacity: 1; transform: none; }

@keyframes v2-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes v2-morph { 0%, 100% { border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%; } 50% { border-radius: 58% 42% 45% 55% / 42% 58% 42% 58%; } }
@keyframes v2-progress { to { width: 100%; } }
@keyframes v2-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .v2-float, .v2-blob { animation: none; }
  .v2-quote { transition: none; }
  .js-reveal .v2-reveal { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .v2-hero__grid, .v2-story__grid, .v2-learn__grid, .v2-tour__grid, .v2-reviews__grid { grid-template-columns: 1fr; }
  .v2-hero__copy { text-align: center; }
  .v2-hero__title, .v2-hero__tagline { margin-left: auto; margin-right: auto; }
  .v2-actions, .v2-hero .store-ratings { justify-content: center; }
  .v2-story__people { position: static; }
  .v2-tour__stage { order: -1; }
  .v2-tour__phone { width: 240px; }
  .v2-grid { grid-template-columns: repeat(2, 1fr); }
  .v2-gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1.5rem; scrollbar-width: none; }
  .v2-gallery li { flex: 0 0 46%; scroll-snap-align: start; }
  .v2-gallery li:nth-child(5n+2), .v2-gallery li:nth-child(5n+4) { transform: none; }
  .v2-lightbox img { height: auto; width: min(80vw, 420px); }
  .v2-card--big { grid-template-columns: 1fr; }
  .v2-card--big .v2-card__img { min-height: 0; aspect-ratio: 3 / 2; }
  .v2-footer__grid { grid-template-columns: 1fr 1fr; }
  .v2-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .v2-float--timer { left: -2%; }
  .v2-float--done { right: -2%; }
  .v2-head--row { flex-direction: column; align-items: flex-start; }
  .v2-grid { grid-template-columns: 1fr; }
  .v2-final__card { flex-direction: column-reverse; align-items: flex-start; }
  .v2-final__phone { width: 110px; transform: rotate(3deg); }
}

/* ==========================================================================
   Article page
   ========================================================================== */
.v2-article__head { padding: clamp(2rem, 6vw, 4rem) 0 2rem; }
.v2-article__headwrap > * { max-width: 900px; }
.v2-article__title { font-family: var(--v2-font-display); font-size: clamp(2.3rem, 5.5vw, 3.9rem); line-height: 1.02; letter-spacing: -0.04em; margin: 0.25rem 0 1rem; font-weight: var(--v2-display-weight, 700); }
.v2-article__dek { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--v2-muted); line-height: 1.55; margin: 0 0 1.75rem; max-width: 60ch; }
.v2-article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; }
.v2-article__by { display: inline-flex; align-items: center; gap: 0.65rem; color: var(--v2-ink); text-decoration: none; }
.v2-article__by:hover { text-decoration: none; }
.v2-article__by strong { font-weight: 700; }
.v2-article__byline { color: var(--v2-muted); }
.v2-article__avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.v2-article__facts { color: var(--v2-muted); font-size: 0.95rem; display: inline-flex; flex-wrap: wrap; gap: 0.4rem; }
.v2-article__hero { margin: 0 auto 3rem; }
.v2-article__hero img { width: 100%; max-height: 560px; object-fit: cover; border-radius: calc(var(--v2-radius) * 1.3); }
.v2-article__hero figcaption { font-size: 0.85rem; color: var(--v2-muted); margin-top: 0.6rem; }
.v2-article__layout { display: grid; grid-template-columns: minmax(0, 720px) 260px; justify-content: space-between; gap: 4rem; }
.v2-article__main { min-width: 0; }
.v2-article__side { position: relative; }
.v2-article__sticky { position: sticky; top: 6rem; display: grid; gap: 1.5rem; }

.v2-answer { padding: 1.5rem 1.75rem; border-radius: var(--v2-radius); background: var(--v2-accent-soft); margin: 0 0 2.5rem; }
.v2-answer__label { margin: 0 0 0.5rem; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: var(--v2-accent); }
.v2-answer__text { margin: 0; font-size: 1.15rem; line-height: 1.65; }

.v2-toc__title { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: var(--v2-muted); margin: 0 0 0.75rem; }
.v2-toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--v2-line); }
.v2-toc a { display: block; padding: 0.4rem 0 0.4rem 1rem; margin-left: -2px; border-left: 2px solid transparent; color: var(--v2-muted); font-size: 0.93rem; line-height: 1.35; transition: color 0.2s, border-color 0.2s; }
.v2-toc a:hover { color: var(--v2-ink); text-decoration: none; }
.v2-toc a.is-current { color: var(--v2-ink); font-weight: 700; border-left-color: var(--v2-accent); }
.v2-toc-mobile { display: none; margin: 0 0 2rem; border: 1px solid var(--v2-line); border-radius: var(--v2-radius); background: var(--v2-surface); }
.v2-toc-mobile summary { cursor: pointer; padding: 1rem 1.25rem; font-weight: 700; }
.v2-toc-mobile ol { margin: 0; padding: 0 1.25rem 1rem 2.5rem; }
.v2-toc-mobile li { margin: 0.35rem 0; }

.v2-prose { font-size: 1.12rem; line-height: 1.8; }
.v2-prose > p:first-child::first-line { font-weight: 600; }
.v2-prose h2 { font-size: clamp(1.55rem, 3vw, 2rem); line-height: 1.2; margin: 3rem 0 1rem; scroll-margin-top: 6rem; position: relative; }
.v2-prose h2 .v2-anchor { position: absolute; left: -1.6rem; top: 0; opacity: 0; color: var(--v2-accent); text-decoration: none; font-weight: 400; transition: opacity 0.2s; }
.v2-prose h2:hover .v2-anchor { opacity: 1; }
.v2-prose h3 { font-size: 1.25rem; margin: 2rem 0 0.6rem; }
.v2-prose a { color: var(--v2-accent); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--v2-accent) 35%, transparent); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.v2-prose a:hover { text-decoration-color: var(--v2-accent); }
.v2-prose ul { padding-left: 0; list-style: none; }
.v2-prose ul li { position: relative; padding-left: 1.75rem; margin: 0.5rem 0; }
.v2-prose ul li::before { content: ""; position: absolute; left: 0.25rem; top: 0.72em; width: 8px; height: 8px; border-radius: 50%; background: var(--v2-accent); }
.v2-prose em:only-child { color: var(--v2-muted); }

.v2-faq { margin: 3.5rem 0 0; }
.v2-faq h2 { font-family: var(--v2-font-display); font-size: clamp(1.55rem, 3vw, 2rem); margin: 0 0 1rem; }
.v2-faq__item { border-top: 1px solid var(--v2-line); }
.v2-faq__item:last-child { border-bottom: 1px solid var(--v2-line); }
.v2-faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; padding: 1.15rem 0; font-weight: 700; font-size: 1.08rem; }
.v2-faq__item summary::-webkit-details-marker { display: none; }
.v2-faq__icon { flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--v2-accent-soft); position: relative; transition: transform 0.25s; }
.v2-faq__icon::before, .v2-faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--v2-accent); transform: translate(-50%, -50%); }
.v2-faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.25s; }
.v2-faq__item[open] .v2-faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.v2-faq__item p { margin: 0 0 1.25rem; color: var(--v2-muted); line-height: 1.7; }

.v2-share { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.v2-share--end { margin: 2.5rem 0 0; }
.v2-share__btn { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.55rem 0.95rem; border-radius: 999px; border: 1px solid var(--v2-line); background: var(--v2-surface); color: var(--v2-ink); font: inherit; font-size: 0.9rem; font-weight: 600; cursor: pointer; transition: background 0.2s, border-color 0.2s; }
.v2-share__btn:hover { background: var(--v2-accent-soft); border-color: transparent; }
.v2-share__btn.is-done { background: var(--v2-accent); color: var(--v2-accent-ink); }
.v2-article__langs summary { cursor: pointer; font-size: 0.9rem; font-weight: 600; color: var(--v2-muted); }
.v2-article__langs ul { list-style: none; margin: 0.5rem 0 0; padding: 0; display: grid; gap: 0.2rem; font-size: 0.9rem; }
.v2-article__related { padding: var(--v2-section) 1.25rem; }
.v2-article .post__author { margin-top: 2.5rem; }

/* Blog overview extras */
.v2-blog__tools { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin: 1.75rem 0 0; }
.v2-search { position: relative; flex: 1 1 260px; max-width: 360px; }
.v2-search input { width: 100%; padding: 0.7rem 1rem 0.7rem 2.5rem; border-radius: 999px; border: 1px solid var(--v2-line); background: var(--v2-surface); font: inherit; font-size: 0.95rem; }
.v2-search input:focus { outline: 2px solid var(--v2-accent); outline-offset: 1px; }
.v2-search svg { position: absolute; left: 0.9rem; top: 50%; transform: translateY(-50%); color: var(--v2-muted); }
.v2-blog__tools .v2-filters { margin: 0; }
.v2-blog__empty { display: none; color: var(--v2-muted); padding: 2rem 0; }
.v2-blog__empty.is-shown { display: block; }
.v2-freebies { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin: 3rem 0 0; }
.v2-freebie { display: grid; grid-template-columns: 56px 1fr; gap: 0.25rem 1rem; align-items: center; padding: 1.4rem; border-radius: var(--v2-radius); background: var(--v2-soft); color: var(--v2-ink); text-decoration: none; transition: transform 0.2s; }
.v2-freebie:hover { transform: translateY(-3px); text-decoration: none; }
.v2-freebie__icon { grid-row: span 2; width: 56px; height: 56px; border-radius: 16px; background: var(--v2-surface); display: grid; place-items: center; font-size: 1.6rem; }
.v2-freebie strong { font-size: 1.1rem; }
.v2-freebie span { color: var(--v2-muted); font-size: 0.95rem; }

@media (max-width: 1000px) {
  .v2-article__layout { grid-template-columns: minmax(0, 1fr); }
  .v2-article__side { display: none; }
  .v2-toc-mobile { display: block; }
  .v2-prose h2 .v2-anchor { display: none; }
}
@media (max-width: 640px) {
  .v2-freebies { grid-template-columns: 1fr; }
  .v2-prose { font-size: 1.05rem; }
}

/* The app block keeps its white buttons inside the new pages */
.v2 .blog-cta .hero__cta { background: #fff; color: #1a1a1a; }
.v2 .blog-cta .hero__cta--play { background: #fff; color: #01875f; }
.v2-footer .store-rating__count { color: var(--v2-footer-muted); }
@media (max-width: 900px) {
  .v2-lang__menu { left: 0; right: auto; }
  .v2-tour__phone { width: 210px; }
}

/* ==========================================================================
   Header: a floating bar that tightens as you scroll; a menu on phones
   ========================================================================== */
.v2-header { position: sticky; top: 0; z-index: 100; padding: 0.75rem 1rem 0; }
.v2-header__bar {
  max-width: var(--v2-max); margin: 0 auto;
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0.55rem 0.6rem 0.55rem 0.9rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--v2-surface) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border: 1px solid color-mix(in srgb, var(--v2-line) 80%, transparent);
  transition: box-shadow 0.3s, padding 0.3s, background 0.3s;
}
.v2-header.is-scrolled .v2-header__bar { box-shadow: 0 10px 30px rgba(22, 32, 27, 0.10); background: color-mix(in srgb, var(--v2-surface) 94%, transparent); padding-top: 0.4rem; padding-bottom: 0.4rem; }
.v2-header__brand { display: inline-flex; align-items: center; gap: 0.65rem; color: var(--v2-ink); text-decoration: none; font-family: var(--v2-font-display); font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em; white-space: nowrap; }
.v2-header__brand:hover { text-decoration: none; }
.v2-header__brand img { width: 38px; height: 38px; border-radius: 11px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); transition: transform 0.3s; }
.v2-header__brand:hover img { transform: rotate(-8deg) scale(1.05); }
.v2-header__nav { display: flex; gap: 0.25rem; margin: 0 auto; }
.v2-header__nav a { padding: 0.5rem 0.95rem; border-radius: 999px; color: var(--v2-muted); font-weight: 600; font-size: 0.97rem; transition: background 0.2s, color 0.2s; }
.v2-header__nav a:hover { background: var(--v2-soft); color: var(--v2-ink); text-decoration: none; }
.v2-header__nav a[aria-current] { background: var(--v2-accent-soft); color: var(--v2-accent); }
.v2-header__end { display: flex; align-items: center; gap: 0.5rem; }
.v2-header__cta { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1.15rem; border-radius: 999px; background: var(--v2-ink); color: var(--v2-bg); font-weight: 700; font-size: 0.93rem; transition: transform 0.2s, background 0.2s; }
.v2-header__cta:hover { text-decoration: none; transform: translateY(-1px); background: var(--v2-accent); }
.v2-header__cta svg { width: 17px; height: 17px; }
.v2-header__toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--v2-line); background: var(--v2-surface); cursor: pointer; padding: 0; position: relative; }
.v2-header__toggle span { position: absolute; left: 50%; width: 18px; height: 2px; margin-left: -9px; background: var(--v2-ink); border-radius: 2px; transition: transform 0.25s, opacity 0.2s, top 0.25s; }
.v2-header__toggle span:nth-child(1) { top: 15px; }
.v2-header__toggle span:nth-child(2) { top: 21px; }
.v2-header__toggle span:nth-child(3) { top: 27px; }
.v2-header__toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.v2-header__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.v2-header__toggle[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }
.v2-menu { position: absolute; left: 0.6rem; right: 0.6rem; top: calc(100% + 0.5rem); max-width: var(--v2-max); margin: 0 auto; padding: 0.75rem; border-radius: 26px; background: var(--v2-surface); border: 1px solid var(--v2-line); box-shadow: 0 20px 50px rgba(22, 32, 27, 0.14); }
.v2-menu nav { display: grid; }
.v2-menu nav a { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0.9rem; border-radius: 14px; color: var(--v2-ink); font-weight: 700; font-size: 1.15rem; }
.v2-menu nav a + a { border-top: 1px solid var(--v2-line); }
.v2-menu nav a[aria-current] { color: var(--v2-accent); }
.v2-menu nav a span { color: var(--v2-muted); }
.v2-menu .v2-actions { margin: 0.75rem 0 0.25rem; padding: 0 0.25rem; }
.v2-menu .hero__cta { width: 100%; justify-content: center; }
.v2-menu[hidden] { display: none; }
@media (min-width: 821px) { .v2-menu { display: none !important; } }
@media (max-width: 820px) {
  .v2-header { padding: 0.5rem 0.6rem 0; }
  .v2-header__bar { gap: 0.5rem; padding: 0.4rem 0.4rem 0.4rem 0.6rem; }
  .v2-header__nav { display: none; }
  .v2-header__end { margin-left: auto; }
  .v2-header__toggle { display: inline-block; }
  .v2-header__brand img { width: 34px; height: 34px; }
}
@media (max-width: 420px) {
  .v2-header__brand { font-size: 0.95rem; }
  .v2-header__cta span { display: none; }
  .v2-header__cta { padding: 0; width: 44px; height: 44px; justify-content: center; }
}
@media (max-width: 340px) { .v2-header__brand span { display: none; } }

/* Small app cards in and beside an article: quiet, one line, one button */
.blog-mini {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  margin: 2.5rem 0; padding: 1rem 1.1rem;
  border: 1px solid var(--v2-line); border-radius: var(--v2-radius); background: var(--v2-surface);
}
.blog-mini img { width: 44px; height: 44px; border-radius: 12px; flex: 0 0 44px; }
.v2-prose .blog-mini p { flex: 1 1 220px; margin: 0; font-size: 1rem; line-height: 1.45; color: var(--v2-ink); font-weight: 600; }
.blog-mini__btns { display: inline-flex; gap: 0.4rem; }
.blog-mini__btn {
  display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.55rem 1rem; border-radius: 999px;
  background: var(--v2-ink); color: var(--v2-bg) !important; text-decoration: none !important; font-weight: 700; font-size: 0.9rem; white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
}
.blog-mini__btn:hover { background: var(--v2-accent); transform: translateY(-1px); }
.blog-mini__btn svg { width: 16px; height: 16px; }
.blog-side { padding: 1.1rem; border: 1px solid var(--v2-line); border-radius: var(--v2-radius); background: var(--v2-surface); }
.blog-side__top { display: flex; align-items: center; gap: 0.65rem; margin: 0 0 0.6rem; }
.blog-side__top img { width: 40px; height: 40px; border-radius: 11px; }
.blog-side__top strong { font-size: 0.95rem; line-height: 1.2; }
.blog-side p { margin: 0 0 0.75rem; font-size: 0.9rem; line-height: 1.45; color: var(--v2-muted); }
.blog-side .store-ratings { justify-content: flex-start; margin: 0 0 0.75rem; }
.blog-side .store-rating { font-size: 0.8rem; padding: 0.3rem 0.6rem; }
.blog-side .blog-mini__btns, .blog-side .blog-mini__btn { width: 100%; justify-content: center; }
@media (max-width: 560px) {
  .blog-mini__btns { width: 100%; }
  .blog-mini__btn { flex: 1; justify-content: center; }
}

/* App icons in front of app names in comparison tables */
.app-name { display: inline-flex; align-items: center; gap: 0.55rem; white-space: nowrap; font-weight: 600; }
.app-name img { width: 28px; height: 28px; border-radius: 22.5%; flex: 0 0 28px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12); }
th .app-name { justify-content: center; }

/* App screenshots inside an article: one or two phone shots side by side */
.post__shots { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; margin: 1.75rem 0; }
.post__shot { margin: 0; width: min(240px, 46%); text-align: center; }
.post__shot img { display: block; width: 100%; height: auto; border-radius: 18px; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.10); }
.post__shot figcaption { margin-top: 0.6rem; font-size: 0.88rem; line-height: 1.4; color: var(--v2-muted); }
