/* SyncFlow landing page. Brand values follow DESIGN.md (primary #0084D4, tint #C6DCEA, dark tint #004670). */
body {
  --gold: #f5a400;
  --review-star: #b26b00;
  --media-h: 200px;
  --cta-bg: #004670;
  --cta-text: #ffffff;
  --cta-body: #d9ecf8;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 88px;
}

h1,
h2,
h3 {
  margin: 0;
  font-feature-settings: 'palt';
  text-wrap: balance;
  word-break: auto-phrase;
}

h2 {
  font-size: var(--fs-42);
  font-weight: var(--weight-bold);
  line-height: var(--lh-heading);
}

p {
  margin: 0;
}

img {
  max-width: 100%;
}

.ib {
  display: inline-block;
  max-width: 100%;
}

/* Header */

.header-cta {
  display: inline-flex;
}

.header-cta .store-badge img {
  width: auto;
  height: 40px;
}

/* Hero */
.hero {
  padding-block: 40px var(--sp-48);
  background: var(--hero-bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 540px;
  gap: 40px;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

/* Weights and sizes follow established app sites (Flighty, Cal AI): 700 headings, larger section titles. */
.hero h1 {
  font-size: var(--fs-50);
  font-weight: var(--weight-bold);
  line-height: var(--lh-heading);
}

.lead {
  max-width: 600px;
  color: var(--body);
  font-size: 19px;
  line-height: var(--lh-body);
}

.store-badge {
  display: inline-block;
  line-height: 0;
}

.store-badge img {
  display: block;
  width: auto;
  height: 56px;
}

.works-with {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: -4px;
  padding: 8px 18px 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--body);
  font-size: 17px;
  text-decoration: none;
  box-shadow: 0 1px 3px rgb(0 0 0 / 6%);
}

.works-with > * {
  flex: none;
  white-space: nowrap;
}

.works-with img {
  width: 30px;
  height: 30px;
}

.works-with strong {
  color: var(--ink);
  font-weight: var(--weight-bold);
}

.works-with small {
  margin-left: -6px;
  color: var(--muted);
  font-size: 0.85em;
}

[lang='en'] .works-with small {
  margin-left: 0;
}



/* Rating: laurel branches around stars, score, and count, as on the paywall. */
.rating {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rating-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.laurel {
  width: 27px;
  height: 68px;
  background: url('/lp/laurel-wreath-cc0.png') no-repeat;
  background-size: auto 100%;
  filter: var(--laurel-filter, brightness(0));
  opacity: 0.78;
}

.laurel-left {
  background-position: left center;
}

.laurel-right {
  background-position: right center;
}

.rating-core {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  /* Grows with longer translations so the count never runs under the laurels. */
  min-width: 110px;
}

.stars {
  color: var(--gold);
  font-size: 15px;
  letter-spacing: 1px;
  line-height: 1;
}

.star-partial {
  background: linear-gradient(90deg, var(--gold) 45%, #cfd6dd 45%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rating-value {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.15;
}

.rating-count {
  color: var(--body);
  font-size: 12px;
  font-weight: var(--weight-bold);
  white-space: nowrap;
}

.phones {
  display: flex;
  justify-content: space-between;
  gap: 28px;
}

.phones-single {
  justify-content: center;
}

.phones-single .phone {
  width: 290px;
  margin-inline: auto;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-24);
}

.phone {
  width: 256px;
  aspect-ratio: 256 / 531;
  overflow: hidden;
  border: 10px solid var(--ink);
  border-radius: 44px;
  background: var(--surface);
}

.phone img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* Reviews strip overlapping the hero */
.reviews {
  /* The hero background continues behind the reviews so the white review cards stand out. */
  padding-bottom: 72px;
  background: var(--hero-bg);
}

.reviews-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.reviews-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-16);
}

.reviews-label {
  font-size: var(--fs-16);
  font-weight: var(--weight-bold);
}

.reviews-note {
  color: var(--muted);
  font-size: 13px;
}

.reviews-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.review {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 14px var(--sp-16);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.review-stars {
  color: var(--review-star);
  font-size: 15px;
  letter-spacing: 2px;
}

.review blockquote {
  margin: 0;
  font-size: 15px;
  font-weight: var(--weight-bold);
  line-height: var(--lh-body);
}

/* Sections */
.section {
  padding-block: var(--sp-96);
}

.section.tinted {
  background: var(--soft-bg);
}

.section > .shell > h2 {
  margin-bottom: var(--sp-24);
}

.card h3 {
  font-size: var(--fs-22);
  font-weight: var(--weight-bold);
  line-height: 1.45;
}

.card p {
  color: var(--muted);
  font-size: var(--fs-16);
  line-height: var(--lh-body);
}

.footnote {
  color: var(--muted);
  font-size: 13px;
  line-height: var(--lh-body);
}

.card .footnote {
  font-size: 13px;
}

/* What SyncFlow does */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-24);
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
}

.media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--media-h);
  flex-shrink: 0;
  margin-bottom: var(--sp-8);
  overflow: hidden;
  border-radius: 14px;
}

.crop {
  width: min(100%, calc(var(--media-h) * var(--a)));
  aspect-ratio: var(--a);
  overflow: hidden;
  flex-shrink: 0;
  border-radius: 12px;
}

.crop img {
  display: block;
  width: calc(100% / var(--cw));
  height: auto;
  max-width: none;
  margin-top: calc(-100% * var(--ct) / var(--cw));
  margin-left: calc(-100% * var(--cl) / var(--cw));
}

.crop-outlined {
  border: 1px solid var(--line);
}

.crop-widget {
  border-radius: 30px;
}

.data-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  grid-column: 1 / -1;
  padding: 28px;
}

.data-label {
  margin-top: 6px;
}

.data-card .data-label {
  color: var(--ink);
  font-weight: var(--weight-bold);
}

.data-label span {
  margin-inline-start: var(--sp-8);
  color: var(--muted);
  font-size: var(--fs-14);
  font-weight: var(--weight-normal);
}

.groups {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 20px 40px;
}

.group-pack {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 18px var(--sp-32);
}

.group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
}

.group-label {
  display: flex;
  align-items: center;
  gap: 6px;
}

.data-card .group-label {
  color: var(--body);
  font-size: var(--fs-14);
  font-weight: var(--weight-bold);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-8);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-8);
  /* Long category names in some languages wrap inside the pill instead of widening the card. */
  max-width: 100%;
  min-height: 40px;
  padding-block: 6px;
  padding-inline: 12px var(--sp-16);
  box-sizing: border-box;
  border-radius: 999px;
  background: var(--tint);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-24);
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: var(--sp-24);
}

.step h3 {
  margin-top: 6px;
  font-size: 19px;
}

.step p {
  font-size: 15px;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-dark);
  color: var(--surface);
  font-size: 20px;
  font-weight: 800;
}

/* Stacked section headings */
.section-head {
  display: flex;
  flex-direction: column;
  gap: var(--sp-16);
  margin-bottom: var(--sp-32);
}

.section-head h2 {
  margin-bottom: 0;
}

.section-head > p {
  color: var(--muted);
  font-size: var(--fs-16);
  line-height: var(--lh-body);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-24);
}

.trust-grid h3 {
  margin-bottom: 4px;
  font-size: var(--fs-18);
  font-weight: var(--weight-bold);
}

.trust-grid p {
  color: var(--muted);
  font-size: var(--fs-16);
  line-height: var(--lh-body);
}

.limited-use {
  margin-top: var(--sp-24);
  padding: var(--sp-24);
  border: 1px solid var(--line);
  border-radius: var(--space-5);
  background: var(--soft-bg);
  color: var(--muted);
  font-size: var(--fs-14);
  line-height: var(--lh-body);
}

/* Pricing */
.section-head .now-free {
  padding: var(--sp-16) 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  font-size: var(--fs-16);
  line-height: var(--lh-body);
}

.pricing {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: var(--site-width);
}

.pricing-caption {
  color: var(--body);
  font-size: var(--fs-14);
  font-weight: var(--weight-bold);
}

.price-table {
  width: 100%;
  /* Fixed layout: the label column has a set width and Free and Premium share the rest equally. */
  table-layout: fixed;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  border-spacing: 0;
  border-collapse: separate;
  background: var(--table-cell-bg);
  font-size: var(--fs-16);
}

.price-table th,
.price-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  line-height: var(--lh-body);
  text-align: start;
  vertical-align: top;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.price-table tbody tr:last-child > * {
  border-bottom: 0;
}

.price-table thead th {
  background: var(--table-head-bg);
  font-weight: var(--weight-bold);
}

.price-table thead th:first-child {
  width: 180px;
}

.price-table thead th.premium {
  background: var(--primary-dark);
  color: var(--surface);
}

.price-table tbody th {
  background: var(--table-head-bg);
  font-weight: var(--weight-bold);
}

.price-table td.premium {
  border-inline: 2px solid var(--primary);
  background: var(--accent-soft);
  color: var(--primary-dark);
  font-weight: var(--weight-bold);
}

.price-table tbody tr:last-child td.premium {
  border-bottom: 2px solid var(--primary);
}

/* FAQ */
.faq-grid {
  max-width: var(--reading-width);
  margin-inline: auto;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  scroll-margin-top: var(--sp-96);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-16);
  min-height: 44px;
  padding-block: var(--sp-16);
  font-size: var(--fs-18);
  font-weight: var(--weight-bold);
  line-height: var(--lh-body);
  list-style: none;
  cursor: pointer;
}

/* The phrase spans must stay one text block; only the chevron sits apart. */
.faq-question {
  flex: 1;
  min-width: 0;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '';
  width: var(--sp-8);
  height: var(--sp-8);
  flex-shrink: 0;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
}

.faq-item[open] summary::after {
  transform: rotate(225deg);
}

.faq-item p {
  padding-bottom: var(--sp-24);
}

/* Final call to action */
.final-cta {
  padding-block: var(--sp-8) var(--sp-48);
}

.cta-panel {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 40px var(--sp-48);
  border-radius: 20px;
  background: var(--cta-bg);
}

.cta-panel > img {
  flex-shrink: 0;
  border-radius: 18px;
}

.cta-copy {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 10px;
}

.cta-copy h2 {
  color: var(--cta-text);
}

.cta-copy p {
  color: var(--cta-body);
  font-size: 17px;
}

.cta-panel .store-badge {
  flex-shrink: 0;
}

/* Footer */

/* Sticky App Store bar on phones */
.sticky-cta {
  display: none;
}

/* Between the phone layout and full desktop the text column is narrow; phrases never break, so the title shrinks. */
@media (min-width: 900px) and (max-width: 1099px) {
  .hero h1 {
    font-size: var(--fs-34);
  }
}

@media (max-width: 899px) {
  body {
    --media-h: 140px;
  }

  h2 {
    font-size: 24px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding-block: var(--sp-16) 40px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--sp-24);
  }

  .hero-copy {
    gap: var(--sp-16);
  }

  .hero h1 {
    font-size: 28px;
    line-height: 1.35;
  }

  .lead {
    font-size: var(--fs-16);
  }

  .store-badge img {
    height: 52px;
  }

  .laurel {
    width: 24px;
    height: 60px;
  }

  .rating-core {
    min-width: 104px;
  }

  .rating-value {
    font-size: var(--fs-22);
  }

  .phones {
    gap: 14px;
  }

  .phones-single .phone {
    width: 62%;
  }

  /* Phone layout centers the hero, as most app sites do. */
  .hero-centered {
    align-items: center;
    text-align: center;
  }

  .hero-centered .hero-cta {
    justify-content: center;
  }

  .works-with {
    gap: 6px;
    padding-inline: 10px 14px;
    font-size: 15px;
  }

  .phone {
    width: calc(50% - 7px);
    border-width: 8px;
    border-radius: 32px;
  }

  .reviews {
    padding-bottom: var(--sp-32);
  }

  .reviews .shell {
    width: 100%;
  }

  .reviews-head {
    order: 2;
    padding-inline: var(--sp-16);
  }

  .reviews-label {
    display: none;
  }

  .reviews-note {
    font-size: 12px;
  }

  .reviews-list {
    display: flex;
    gap: 10px;
    padding: 0 var(--sp-16) 10px;
    overflow-x: auto;
    scroll-padding-inline: var(--sp-16);
    scroll-snap-type: x mandatory;
  }

  .review {
    flex: 0 0 250px;
    scroll-snap-align: start;
  }

  .review blockquote {
    font-size: var(--fs-14);
  }

  .section {
    padding-block: 40px;
  }

  .section > .shell > h2 {
    margin-bottom: var(--sp-16);
  }

  .card h3 {
    font-size: 19px;
  }

  .card p {
    font-size: 15px;
  }

  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--sp-16);
  }

  .feature,
  .data-card {
    padding: 20px;
  }

  .crop-widget {
    border-radius: 22px;
  }

  .groups {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .group-pack {
    gap: var(--sp-16) 22px;
  }

  .tag {
    font-size: var(--fs-14);
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .step {
    padding: 18px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-16);
  }

  .limited-use {
    margin-top: var(--sp-16);
    font-size: 13px;
  }

  .price-table {
    font-size: var(--fs-14);
  }

  .price-table th,
  .price-table td {
    padding: 12px 10px;
  }

  .price-table thead th:first-child {
    width: 30%;
  }

  .faq-item summary {
    font-size: var(--fs-16);
  }

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 28px 22px;
  }

  .cta-panel > img {
    width: 72px;
    height: 72px;
    border-radius: 16px;
  }

  .cta-copy p {
    font-size: 15px;
  }

  .site-footer {
    padding-block: 20px 88px;
  }

  .sticky-cta:not([hidden]) {
    position: fixed;
    inset-inline: 12px;
    bottom: 12px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    box-shadow: 0 4px 16px rgba(16, 32, 46, 0.12);
  }

  .sticky-cta > img {
    flex-shrink: 0;
    border-radius: 9px;
  }

  .sticky-text {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-width: 0;
    font-size: 13px;
    line-height: 1.4;
  }

  .sticky-text span {
    color: var(--muted);
  }

  .sticky-get {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-inline: var(--sp-16);
    border-radius: 10px;
    background: var(--primary-dark);
    color: var(--surface);
    font-size: var(--fs-14);
    font-weight: var(--weight-bold);
    text-decoration: none;
  }

  .sticky-get:hover {
    color: var(--surface);
  }

  .sticky-close {
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 20px;
  }
}

/* Long single words (Russian, Ukrainian, Indic languages) break inside narrow cards instead of overflowing. */
.hero-copy,
.step,
.faq-item {
  overflow-wrap: anywhere;
}

:lang(ru) :is(.hero-copy, .step),
:lang(uk) :is(.hero-copy, .step) {
  hyphens: auto;
}

/* Theme-aware artwork; the campaign link remains single. */
.header-cta .badge-dark {
  display: none;
}
:root[data-theme='dark'] .header-cta .badge-light {
  display: none;
}
:root[data-theme='dark'] .header-cta .badge-dark {
  display: block;
}
:root[data-theme='dark'] body {
  --laurel-filter: brightness(0) invert(1);
  --review-star: var(--gold);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .header-cta .badge-light {
    display: none;
  }
  :root:not([data-theme='light']) .header-cta .badge-dark {
    display: block;
  }
  :root:not([data-theme='light']) body {
    --laurel-filter: brightness(0) invert(1);
    --review-star: var(--gold);
  }
}
.guide-entry p {
  margin-bottom: var(--sp-16);
  color: var(--body);
}

.crop-0cec7e7c51{--a:3.0767;--cw:1;--cl:0;--ct:0.4410}
.crop-41a93b1891{--a:4.2106;--cw:0.94;--cl:0.03;--ct:1.5649}
.crop-b0cbb8c84c{--a:2.1386;--cw:0.874;--cl:0.063;--ct:0.1941}
.crop-2cdbe8fcc3{--a:4.4292;--cw:0.96;--cl:0.02;--ct:0.0217}
.crop-340e718d33{--a:3.5229;--cw:1;--cl:0;--ct:0.4410}
.crop-ff054df0ca{--a:5.0000;--cw:1;--cl:0;--ct:0.0000}
.crop-c9eb7d1bba{--a:2.3243;--cw:1;--cl:0;--ct:0.0000}
.crop-b2d8e566c1{--a:3.9938;--cw:1;--cl:0;--ct:0.0000}
.tint-ff5a1f{--tint:#ff5a1f1a}
.tint-5e5ce6{--tint:#5e5ce61a}
.tint-ff2d55{--tint:#ff2d551a}
.tint-bf5af2{--tint:#bf5af21a}
.tint-22d0f2{--tint:#22d0f21a}
.tint-62c96b{--tint:#62c96b1a}
