:root {
  color-scheme: light;
  --ink: #16201f;
  --muted: #596562;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --soft: #eef4f1;
  --teal: #006c67;
  --teal-dark: #00534f;
  --amber: #b96b16;
  --coral: #b94b42;
  --line: #dce4df;
  --shadow: 0 20px 60px rgba(22, 32, 31, 0.12);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--teal);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--teal-dark);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 20;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(220, 228, 223, 0.85);
  background: rgba(251, 250, 247, 0.94);
  backdrop-filter: blur(14px);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: block;
  object-fit: cover;
  background: var(--teal);
  box-shadow: 0 3px 8px rgba(22, 32, 31, 0.14);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--teal);
}

.nav-guide {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.72);
  font-weight: 760;
  white-space: nowrap;
}

.nav-guide[aria-current="page"] {
  color: var(--teal-dark);
  background: var(--soft);
}

.nav-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff !important;
  font-weight: 750;
  text-decoration: none;
}

.top-install-cta {
  position: sticky;
  top: 64px;
  z-index: 9;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  padding: 12px 24px;
}

.top-install-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.top-install-copy {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-install-copy strong,
.top-install-copy span {
  display: block;
}

.top-install-copy strong {
  font-size: 1.03rem;
  line-height: 1.2;
}

.top-install-copy span {
  max-width: 560px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.top-install-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.top-install-actions .store-button {
  min-height: 48px;
  padding: 10px 14px;
  box-shadow: none;
  white-space: nowrap;
}

.locale-suggestion {
  position: fixed;
  top: 76px;
  right: 24px;
  z-index: 40;
  max-width: 360px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  padding: 10px;
  box-shadow: 0 18px 44px rgba(22, 32, 31, 0.16);
}

.locale-suggestion span {
  min-width: 0;
  flex: 1 1 auto;
  font-size: 0.92rem;
  line-height: 1.35;
}

.locale-suggestion a,
.locale-suggestion button {
  min-height: 36px;
  flex: 0 0 auto;
  border-radius: var(--radius);
  padding: 7px 10px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 780;
}

.locale-suggestion a {
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}

.locale-suggestion button {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
}

.section {
  padding: 76px 24px;
}

.section.tight {
  padding-top: 52px;
  padding-bottom: 52px;
}

.section.surface {
  background: var(--surface);
}

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

.container {
  max-width: var(--max);
  margin: 0 auto;
}

.narrow {
  max-width: 820px;
}

.hero {
  padding: 72px 24px 48px;
  overflow: hidden;
}

.hero-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(360px, 1.06fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal-dark);
  font-size: 0.86rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.55rem, 6vw, 5.7rem);
}

.page-title {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.45rem);
}

h3 {
  margin: 0 0 10px;
  font-size: 1.22rem;
}

.lead {
  max-width: 680px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.body-copy {
  color: var(--muted);
}

.hero-actions,
.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.store-button,
.button {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius);
  border: 1px solid var(--ink);
  padding: 11px 18px;
  color: #fff;
  background: var(--ink);
  font-weight: 780;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(22, 32, 31, 0.12);
}

.hero .store-button,
.hero .button {
  min-height: 66px;
  padding: 15px 22px;
  font-size: 1.04rem;
}

.store-button.secondary,
.button.secondary {
  background: var(--surface);
  color: var(--ink);
  box-shadow: none;
}

.store-button svg,
.button svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.store-glyph {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.16);
  color: currentColor;
  font-size: 0.82rem;
  font-weight: 900;
}

.store-button.secondary .store-glyph,
.button.secondary .store-glyph {
  background: #edf4f1;
}

.store-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.94rem;
}

.hero-media {
  position: relative;
}

.app-screenshot-stage {
  min-height: 620px;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
}

.app-screenshot-stage::before {
  content: "";
  position: absolute;
  inset: 6% 2% 10%;
  z-index: -1;
  border-radius: 8px;
  background: linear-gradient(145deg, #dff3ef, #f7ead7 52%, #e7eef5);
  border: 1px solid rgba(220, 228, 223, 0.72);
}

.app-store-screenshot {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: top center;
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.app-store-screenshot.primary {
  z-index: 2;
  max-width: min(82%, 440px);
  max-height: 650px;
}

.app-store-screenshot.secondary {
  position: absolute;
  right: 0;
  bottom: 8%;
  z-index: 1;
  max-width: min(44%, 260px);
  max-height: 430px;
  opacity: 0.72;
  transform: rotate(4deg);
}

.hero-image {
  display: block;
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: #fff;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
}

.trust-row li {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 11px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 0.9rem;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
  gap: 44px;
  align-items: start;
}

.grid-3,
.grid-2,
.use-case-grid {
  display: grid;
  gap: 18px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.use-case-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 22px;
}

.card p,
.step p,
.faq p {
  margin: 0;
  color: var(--muted);
}

.step-number {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: var(--radius);
  background: var(--amber);
  color: #fff;
  font-weight: 850;
}

.feature-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: var(--radius);
  background: #f3e7d8;
  color: var(--amber);
}

.comparison {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.comparison th,
.comparison td {
  padding: 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.comparison th {
  background: #f2f7f4;
}

.comparison tr:last-child td {
  border-bottom: 0;
}

.check-list {
  padding-left: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin: 12px 0;
  padding-left: 30px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: var(--teal);
  box-shadow: inset 0 0 0 3px #d7efea;
}

.content-flow h2 {
  margin-top: 46px;
}

.content-flow h2:first-child {
  margin-top: 0;
}

.content-flow p {
  color: var(--muted);
}

.content-flow li {
  margin: 8px 0;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.68);
}

.guide-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.guide-card p {
  margin: 0;
}

.guide-card a {
  font-weight: 780;
}

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

.callout {
  border-left: 5px solid var(--teal);
  padding: 18px 20px;
  background: var(--surface);
  color: var(--muted);
}

.cta-band {
  background: var(--ink);
  color: #fff;
}

.cta-band .lead,
.cta-band .body-copy {
  color: rgba(255, 255, 255, 0.78);
}

.cta-band .store-button.secondary {
  border-color: rgba(255, 255, 255, 0.28);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 20px;
}

.breadcrumbs {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.94rem;
}

.breadcrumbs a {
  color: var(--muted);
}

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
  gap: 36px;
  align-items: center;
}

.device-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--surface);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 42px 24px 92px;
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(120px, 0.5fr));
  gap: 26px;
}

.footer-grid h2,
.footer-grid h3 {
  font-size: 1rem;
}

.footer-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-grid li {
  margin: 8px 0;
}

.footer-grid a {
  color: var(--muted);
  text-decoration: none;
}

.footer-grid a:hover {
  color: var(--teal);
}

.fine-print {
  color: var(--muted);
  font-size: 0.9rem;
}

.sticky-install {
  display: none;
}

.sticky-install span {
  min-width: 0;
  font-size: 0.92rem;
  font-weight: 720;
}

.sticky-install a {
  min-height: 42px;
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .hero-grid,
  .two-col,
  .download-panel {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .use-case-grid,
  .related-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .top-install-inner {
    grid-template-columns: 1fr;
  }

  .top-install-actions {
    justify-content: stretch;
  }

  .top-install-actions .store-button {
    flex: 1 1 0;
  }

}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .nav {
    padding: 12px 16px;
    gap: 10px;
  }

  .top-install-cta {
    top: 64px;
    padding: 10px 12px;
  }

  .top-install-copy {
    gap: 9px;
  }

  .top-install-copy span {
    display: none;
  }

  .brand span:last-child {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-links {
    gap: 8px;
    font-size: 0.88rem;
  }

  .nav-guide,
  .nav-cta {
    min-height: 40px;
    padding: 8px 10px;
  }

  .nav-guide {
    max-width: 132px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .locale-suggestion {
    top: 68px;
    left: 12px;
    right: 12px;
    max-width: none;
  }

  .section {
    padding: 56px 18px;
  }

  .hero {
    padding: 46px 18px 34px;
  }

  h1 {
    font-size: 2.75rem;
  }

  .grid-3,
  .grid-2,
  .use-case-grid,
  .related-links,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .store-actions,
  .hero-actions {
    flex-direction: column;
  }

  .store-button,
  .button {
    width: 100%;
  }

  .top-install-actions {
    flex-direction: column;
    gap: 8px;
  }

  .hero .store-button,
  .hero .button {
    min-height: 62px;
  }

  .app-screenshot-stage {
    min-height: auto;
    padding: 8px 0 0;
  }

  .app-screenshot-stage::before {
    inset: 2% 0 8%;
  }

  .app-store-screenshot.primary {
    max-width: min(100%, 360px);
    max-height: 570px;
  }

  .app-store-screenshot.secondary {
    display: none;
  }

  .comparison {
    display: block;
    overflow-x: auto;
    white-space: normal;
  }

  .sticky-install {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
