/* Shared structural primitives for the long-form localized homepages. */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap");

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; text-decoration: none; }

button, select { font: inherit; }

p, h1, h2, h3, ul, figure { margin: 0; }

img { display: block; max-width: 100%; height: auto; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  border-radius: 12px;
  background: var(--charcoal, #1c1c19);
  color: white;
  padding: .8rem 1rem;
}

.skip-link:focus { top: 1rem; }

.page {
  width: min(var(--max), calc(100% - 3.5rem));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-mark {
  display: block;
  overflow: hidden;
}

.brand-mark img { width: 100%; height: 100%; }

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .4rem;
}

.site-nav a { white-space: nowrap; }

.hero,
.section,
.spotlight,
.how,
.faq,
.final-cta { position: relative; }

.hero { overflow: clip; }

.hero-layout,
.import-compact,
.seo-split,
.faq-grid,
.footer-wrap,
.footer-nav-grid { display: grid; }

.hero-layout,
.seo-split { align-items: center; }

.hero-stage,
.seo-media { position: relative; }

.hero-stage { isolation: isolate; }

.phone-rail {
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
  margin-inline: auto;
}

.phone {
  position: relative;
  margin: 0;
}

.phone img { width: 100%; }

.source-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.source-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
}

.import-compact { align-items: start; }

.import-source-links,
.import-methods { display: grid; }

.import-source-links { align-content: start; }

.import-preview { margin: 0; }

.seo-split { grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); }

.seo-split.reverse { grid-template-columns: minmax(0, .92fr) minmax(0, 1fr); }

.seo-split.reverse .seo-copy { order: 2; }
.seo-split.reverse .seo-media { order: 1; }

.seo-media { justify-self: center; }

.seo-media::before {
  content: "";
  position: absolute;
}

.seo-media img {
  position: relative;
  z-index: 1;
  object-fit: cover;
  object-position: top center;
}

.seo-media.duo {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}

.seo-media.duo img { grid-area: 1 / 1; }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  cursor: pointer;
}

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

.final-inner { position: relative; z-index: 1; margin-inline: auto; }

.final-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.button,
.nav-cta,
.app-store-badge-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-wrap { align-items: start; }
.footer-nav-grid { align-items: start; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; }

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }

  .site-nav {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + .55rem);
    flex-direction: column;
    align-items: stretch;
    min-width: min(18rem, calc(100vw - 2rem));
  }

  .site-nav.open { display: flex; }

  .site-nav .language-picker { align-self: flex-start; }

  .hero-layout,
  .import-compact,
  .seo-split,
  .seo-split.reverse,
  .faq-grid,
  .footer-wrap,
  .footer-nav-grid { grid-template-columns: 1fr; }

  .seo-split .seo-copy,
  .seo-split.reverse .seo-copy { order: 1; }

  .seo-split .seo-media,
  .seo-split.reverse .seo-media { order: 2; }
}

@media (max-width: 600px) {
  .page { width: calc(100% - 1.5rem); }
  .final-actions { align-items: stretch; flex-direction: column; }
  .final-actions .button { width: 100%; }
}
