:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #5f6b7a;
  --line: #dbe3ec;
  --panel: #f7f9fc;
  --white: #ffffff;
  --accent: #0f766e;
  --accent-strong: #0b5f59;
  --gold: #b7791f;
  --blue: #2563eb;
  --shadow: 0 18px 55px rgba(17, 24, 39, 0.12);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}

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

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: var(--white);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(219, 227, 236, 0.78);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
}

.brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 6px 14px rgba(17, 24, 39, 0.16);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  color: #334155;
  font-size: 0.95rem;
}

.site-nav a {
  padding: 0.35rem 0;
}

.site-nav a:hover {
  color: var(--accent-strong);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(22rem, 1.08fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding: clamp(3rem, 7vw, 7rem) clamp(1rem, 4vw, 3rem) clamp(2rem, 5vw, 4rem);
  min-height: calc(100vh - 5rem);
}

.hero-copy,
.page-hero > div,
.section-heading,
.split-section,
.content-section,
.blog-preview,
.faq-section,
.article-page,
.legal-page,
.article-grid.wide {
  max-width: 1120px;
  margin-inline: auto;
}

.hero-copy {
  margin: 0;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 15ch;
  font-size: clamp(3rem, 7vw, 5.45rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.15rem);
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0;
}

.hero-lede,
.page-hero p,
.section-heading p,
.split-section p,
.legal-page p,
.article-page header p {
  color: var(--muted);
  font-size: 1.1rem;
}

.hero-lede {
  max-width: 41rem;
  margin-top: 1.3rem;
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.app-showcase {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(8rem, 1fr));
  align-items: end;
  gap: clamp(0.7rem, 2vw, 1.2rem);
  min-height: 34rem;
  padding: 2rem;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(15, 118, 110, 0.1), rgba(37, 99, 235, 0.08)),
    var(--panel);
  overflow: hidden;
}

.app-showcase::before {
  content: "";
  position: absolute;
  inset: auto 8% 8% 8%;
  height: 26%;
  border-radius: 50%;
  background: rgba(17, 24, 39, 0.1);
  filter: blur(24px);
}

.app-showcase.compact {
  grid-template-columns: repeat(2, minmax(8rem, 1fr));
  min-height: 28rem;
}

.phone-shot {
  position: relative;
  z-index: 1;
  margin: 0;
  border: 10px solid #111827;
  border-radius: 2rem;
  background: #111827;
  box-shadow: 0 24px 48px rgba(17, 24, 39, 0.24);
  transform: translateY(0) rotate(-2deg);
}

.phone-shot.shot-2 {
  transform: translateY(-2.5rem) rotate(2deg);
}

.phone-shot.shot-3 {
  transform: translateY(1.2rem) rotate(4deg);
}

.app-showcase.compact .phone-shot.shot-2 {
  transform: translateY(1.1rem) rotate(3deg);
}

.phone-shot span {
  position: absolute;
  left: 50%;
  top: -1rem;
  z-index: 2;
  transform: translateX(-50%);
  border-radius: 999px;
  padding: 0.35rem 0.6rem;
  color: var(--white);
  background: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 800;
}

.phone-shot img {
  width: 100%;
  aspect-ratio: 1179 / 2556;
  object-fit: cover;
  border-radius: 1.35rem;
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  margin-top: 1.7rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  padding: 0.65rem 1.05rem;
  font-weight: 750;
}

.button:hover {
  background: var(--accent-strong);
}

.app-store-badge {
  display: inline-flex;
  width: 10.5rem;
  line-height: 0;
  transition: transform 160ms ease, filter 160ms ease;
}

.app-store-badge:hover {
  transform: translateY(-1px);
  filter: drop-shadow(0 10px 20px rgba(17, 24, 39, 0.18));
}

.app-store-badge img {
  width: 100%;
  height: auto;
}

.trust-row,
.keyword-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.trust-row {
  margin-top: 1.2rem;
}

.trust-row span,
.keyword-strip span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
  color: #334155;
  background: var(--white);
  font-size: 0.9rem;
}

.intent-grid,
.content-section,
.blog-preview,
.faq-section,
.product-tour,
.language-band,
.split-section,
.article-grid.wide,
.legal-page,
.article-page {
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 3rem);
}

.product-tour {
  background: #101827;
  color: var(--white);
}

.product-tour .section-heading p:not(.eyebrow) {
  color: #cbd5e1;
}

.tour-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1120px;
  margin-inline: auto;
}

.tour-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(7rem, 0.72fr);
  gap: 1rem;
  align-items: end;
  min-height: 24rem;
  padding: 1.2rem 1.2rem 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(15, 118, 110, 0.2), rgba(37, 99, 235, 0.08)),
    #121c2e;
}

.step-number {
  color: #5eead4;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.tour-card h3 {
  margin-top: 0.55rem;
  color: var(--white);
  font-size: 1.45rem;
}

.tour-card p:not(.step-number) {
  margin-top: 0.75rem;
  color: #cbd5e1;
}

.tour-phone {
  margin: 0;
  overflow: hidden;
  border: 8px solid #030712;
  border-bottom: 0;
  border-radius: 1.5rem 1.5rem 0 0;
  background: #030712;
  box-shadow: 0 22px 38px rgba(0, 0, 0, 0.25);
}

.tour-phone img {
  width: 100%;
  aspect-ratio: 1179 / 2556;
  object-fit: cover;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 0.8fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section-heading p:not(.eyebrow) {
  max-width: 42rem;
}

.feature-grid,
.content-grid,
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1120px;
  margin-inline: auto;
}

.feature-card,
.content-grid article,
.article-card,
.check-list p,
.article-cta {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.feature-card,
.content-grid article,
.article-card {
  padding: 1.35rem;
}

.feature-card span,
.meta {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.feature-card h3,
.article-card h3,
.article-card h2,
.content-grid h3 {
  margin-top: 0.65rem;
}

.feature-card p,
.article-card p,
.content-grid p,
.check-list span,
.article-page section p,
.article-cta p {
  margin-top: 0.75rem;
  color: var(--muted);
}

.feature-card:hover,
.article-card:hover {
  border-color: rgba(15, 118, 110, 0.5);
  box-shadow: 0 14px 38px rgba(15, 118, 110, 0.11);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(18rem, 0.74fr);
  gap: 2rem;
  align-items: start;
  background: var(--panel);
  max-width: none;
}

.split-section > div {
  max-width: 1120px;
}

.split-section > div:first-child {
  justify-self: end;
  max-width: 34rem;
}

.split-section h2 + p {
  margin-top: 1rem;
}

.check-list {
  display: grid;
  gap: 0.8rem;
  width: min(100%, 34rem);
}

.check-list p {
  padding: 1rem;
}

.check-list strong,
.check-list span {
  display: block;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(20rem, 0.75fr);
  gap: 2rem;
  align-items: center;
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 3rem);
  background: var(--panel);
}

.page-hero.compact {
  display: block;
}

.page-hero > div {
  margin: 0;
}

.page-hero h1 {
  max-width: 14ch;
}

.page-hero p:not(.eyebrow) {
  max-width: 44rem;
  margin-top: 1rem;
}

.keyword-strip {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem) clamp(3rem, 5vw, 4rem);
}

.language-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 0.85fr);
  gap: 2rem;
  align-items: center;
  max-width: none;
  background: #f1f6f5;
}

.language-band > div:first-child {
  justify-self: end;
  width: min(100%, 34rem);
}

.language-band h2 + p {
  margin-top: 1rem;
  color: var(--muted);
}

.language-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  width: min(100%, 38rem);
}

.language-links a {
  border: 1px solid rgba(15, 118, 110, 0.25);
  border-radius: 999px;
  padding: 0.7rem 0.9rem;
  background: var(--white);
  color: var(--accent-strong);
  font-weight: 800;
}

.language-links a:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(15, 118, 110, 0.12);
}

.faq-list {
  max-width: 860px;
  margin-inline: auto;
  display: grid;
  gap: 0.7rem;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  background: var(--white);
}

summary {
  cursor: pointer;
  font-weight: 800;
}

details p {
  margin-top: 0.75rem;
  color: var(--muted);
}

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

.article-card a:hover,
.text-link:hover {
  color: var(--accent-strong);
}

.text-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--accent-strong);
  font-weight: 800;
}

.article-page {
  max-width: 850px;
}

.article-page header {
  margin-bottom: 2.5rem;
}

.article-page h1 {
  max-width: 16ch;
}

.article-page header p {
  margin-top: 1rem;
}

.article-page section {
  margin-top: 2rem;
}

.article-page section h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.article-cta {
  margin-top: 3rem;
  padding: 1.5rem;
  background: var(--panel);
}

.article-cta h2 {
  font-size: 1.6rem;
}

.article-cta .button {
  margin-top: 1.1rem;
}

.legal-page {
  max-width: 760px;
}

.legal-page h1 {
  max-width: none;
}

.legal-page p {
  margin-top: 1.1rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem clamp(1rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-brand {
  color: var(--ink);
}

.site-footer p {
  margin-top: 0.6rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a:hover {
  color: var(--accent-strong);
}

@media (max-width: 900px) {
  .hero,
  .page-hero,
  .section-heading,
  .split-section,
  .language-band {
    grid-template-columns: 1fr;
  }

  .split-section > div:first-child {
    justify-self: start;
    max-width: 44rem;
  }

  .feature-grid,
  .content-grid,
  .article-grid,
  .article-grid.wide {
    grid-template-columns: 1fr;
  }

  .tour-grid {
    grid-template-columns: 1fr;
  }

  .language-band > div:first-child {
    justify-self: start;
    width: min(100%, 44rem);
  }

  h1 {
    font-size: clamp(2.6rem, 13vw, 4.4rem);
  }
}

@media (max-width: 760px) {
  .site-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.5rem);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.8rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 0.65rem;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    min-height: auto;
    padding-top: 2.5rem;
  }

  .app-showcase,
  .app-showcase.compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: auto;
    padding: 1.2rem;
  }

  .app-showcase .phone-shot.shot-3 {
    display: none;
  }

  .phone-shot,
  .phone-shot.shot-2,
  .phone-shot.shot-3,
  .app-showcase.compact .phone-shot.shot-2 {
    transform: none;
  }

  .store-actions,
  .app-store-badge {
    width: 100%;
  }

  .app-store-badge {
    max-width: 11rem;
  }

  .tour-card {
    grid-template-columns: minmax(0, 1fr) minmax(7rem, 0.78fr);
    min-height: 21rem;
  }

  .site-footer {
    flex-direction: column;
  }
}
