:root {
  color-scheme: light;
  --ink: #0b1622;
  --ink-2: #132332;
  --muted: #607084;
  --paper: #f5f8fa;
  --surface: #ffffff;
  --line: rgba(11, 22, 34, 0.12);
  --teal: #2a9d8f;
  --blue: #2563eb;
  --coral: #e76f51;
  --green: #45b871;
  --gold: #f0b84f;
  --shadow: 0 28px 80px rgba(11, 22, 34, 0.18);
}

* {
  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;
  line-height: 1.5;
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 248, 250, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1200px, calc(100% - 32px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(42, 157, 143, 0.22);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #435267;
  font-size: 0.94rem;
}

.nav-links a {
  text-decoration: none;
}

.language-select {
  min-width: 148px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  padding: 9px 12px;
  font: inherit;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 900;
  white-space: nowrap;
}

.button-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 18px 42px rgba(11, 22, 34, 0.26);
}

.button-secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  text-decoration: none;
}

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

.app-store-badge-nav img {
  height: 44px;
}

.app-store-badge-hero img {
  height: 52px;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.26));
}

.app-store-badge-cta {
  justify-self: end;
}

.app-store-badge-cta img {
  height: 54px;
}

.hero {
  position: relative;
  min-height: 0;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(11, 22, 34, 0.96) 0%, rgba(13, 37, 50, 0.96) 48%, rgba(28, 83, 88, 0.92) 100%),
    linear-gradient(90deg, rgba(42, 157, 143, 0.12), rgba(231, 111, 81, 0.08));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 140px;
  background: linear-gradient(180deg, rgba(245, 248, 250, 0), var(--paper));
  pointer-events: none;
}

.hero-inner,
.section-inner,
.footer-inner {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 1.06fr);
  gap: 34px;
  align-items: center;
  padding: 44px 0 34px;
}

.hero-copy {
  max-width: 650px;
}

.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.app-badge img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.app-badge strong {
  display: block;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.94rem;
}

.eyebrow {
  margin: 0 0 5px;
  color: #79e1d1;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(2.75rem, 5vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 610px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.05rem, 1.65vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.hero .button-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.proof {
  min-height: 0;
  min-width: 124px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.proof strong {
  display: block;
  font-size: 1.22rem;
  line-height: 1;
}

.proof span {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.86rem;
}

.device-stage {
  position: relative;
  min-height: 532px;
}

.phone-frame {
  margin: 0;
  overflow: hidden;
  border: 10px solid #09121c;
  border-radius: 36px;
  background: #09121c;
  box-shadow: var(--shadow);
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-main {
  position: absolute;
  right: 170px;
  top: 0;
  width: 258px;
  height: 559px;
  z-index: 3;
}

.phone-side {
  position: absolute;
  width: 196px;
  height: 425px;
  opacity: 0.78;
  z-index: 1;
}

.phone-side-left {
  left: 10px;
  top: 86px;
  transform: rotate(-7deg);
}

.phone-side-right {
  right: 0;
  top: 104px;
  transform: rotate(7deg);
}

.screenshot-strip {
  position: relative;
  z-index: 2;
  margin-top: -34px;
  padding: 0 0 56px;
}

.strip-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 16px;
  color: var(--ink);
  font-weight: 900;
}

.strip-heading a {
  color: var(--teal);
  text-decoration: none;
}

.screenshot-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(190px, 1fr);
  gap: 14px;
  overflow-x: auto;
  padding: 4px 0 14px;
  scrollbar-width: thin;
}

.screenshot-card {
  min-width: 190px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 14px 42px rgba(11, 22, 34, 0.08);
}

.screenshot-card img {
  width: 100%;
  aspect-ratio: 6 / 13;
  object-fit: cover;
}

figcaption {
  padding: 12px 14px 14px;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--line);
}

.section {
  padding: 86px 0;
}

.section-muted {
  background: #eaf2f3;
}

.section-dark {
  background:
    linear-gradient(120deg, #08131d, #12323a 58%, #173b43);
  color: #fff;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-kicker {
  color: var(--coral);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.section h2 {
  margin: 7px 0 14px;
  font-size: clamp(2rem, 4.1vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.section-heading p,
.feature-card p,
.deck-card p,
.faq-item p,
.support-card p {
  color: var(--muted);
}

.section-dark .section-heading p,
.section-dark .step p {
  color: rgba(255, 255, 255, 0.72);
}

.feature-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 24px;
  align-items: start;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.feature-card,
.deck-card,
.faq-item,
.support-card,
.language-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.feature-card {
  min-height: 202px;
  padding: 22px;
}

.feature-index {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  border-radius: 8px;
  background: #e7f7f4;
  color: var(--teal);
  font-weight: 900;
}

.feature-card:nth-child(2) .feature-index,
.feature-card:nth-child(5) .feature-index {
  background: #eef3ff;
  color: var(--blue);
}

.feature-card:nth-child(3) .feature-index,
.feature-card:nth-child(6) .feature-index {
  background: #fff0eb;
  color: var(--coral);
}

.feature-card h3,
.deck-card h3,
.support-card h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.feature-image,
.large-phone {
  margin: 0;
  overflow: hidden;
  border: 10px solid #09121c;
  border-radius: 34px;
  background: #09121c;
  box-shadow: var(--shadow);
}

.feature-image img,
.large-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.workflow {
  display: grid;
  grid-template-columns: minmax(250px, 360px) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.large-phone {
  width: min(360px, 100%);
}

.steps {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.step-number {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: var(--coral);
  color: #fff;
  font-weight: 900;
}

.step h3 {
  margin-bottom: 6px;
}

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

.deck-card {
  min-height: 154px;
  padding: 20px;
  border-top: 4px solid var(--teal);
}

.deck-card:nth-child(2n) {
  border-top-color: var(--blue);
}

.deck-card:nth-child(3n) {
  border-top-color: var(--coral);
}

.atlas-grid {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}

.atlas-main,
.atlas-side {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 54px rgba(11, 22, 34, 0.08);
}

.atlas-main figure,
.atlas-side figure {
  margin: 0;
}

.atlas-main img {
  width: 100%;
  aspect-ratio: 6 / 13;
  object-fit: cover;
}

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

.atlas-side img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  padding: 28px;
  background: #fff;
}

.audience-table,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

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

.support-card,
.faq-item {
  padding: 22px;
}

.faq-item h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.cta-band {
  padding: 78px 0;
  background:
    linear-gradient(90deg, rgba(42, 157, 143, 0.15), rgba(37, 99, 235, 0.1)),
    #f8fbfc;
  border-top: 1px solid var(--line);
}

.cta-panel {
  display: grid;
  grid-template-columns: 1.25fr auto;
  gap: 22px;
  align-items: center;
}

.cta-panel h2 {
  margin-bottom: 10px;
}

.site-footer {
  background: #08131d;
  color: rgba(255, 255, 255, 0.76);
  padding: 44px 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
}

.site-footer .brand {
  color: #fff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: flex-end;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
}

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

.language-card {
  padding: 14px;
  color: var(--ink);
  text-decoration: none;
}

.legal-page {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0;
}

.legal-page h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.legal-section {
  margin-top: 34px;
}

.legal-section h2 {
  font-size: 1.45rem;
}

.code-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 8px;
  background: #eef4f7;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.88rem;
}

.sitemap-copy {
  margin-top: 16px;
}

[dir="rtl"] .nav,
[dir="rtl"] .hero-grid,
[dir="rtl"] .cta-panel,
[dir="rtl"] .footer-inner,
[dir="rtl"] .workflow,
[dir="rtl"] .step {
  direction: rtl;
}

@media (max-width: 1060px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 780px;
  }

  .device-stage {
    min-height: 560px;
  }

  .phone-main {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .phone-side-left {
    left: 4%;
  }

  .phone-side-right {
    right: 4%;
  }

  .feature-showcase,
  .workflow,
  .atlas-grid,
  .cta-panel,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .feature-image,
  .large-phone {
    width: min(360px, 100%);
    margin-inline: auto;
  }

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

@media (max-width: 760px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
  }

  .nav-links a[href="#systems"],
  .nav-links a[href="#atlas"],
  .nav-links a[href="#faq"],
  .nav-links .app-store-badge {
    display: none;
  }

  .language-select {
    min-width: min(180px, 100%);
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    padding: 34px 0 30px;
    gap: 22px;
    overflow: hidden;
  }

  .app-badge img {
    width: 50px;
    height: 50px;
  }

  h1 {
    max-width: 330px;
    font-size: clamp(2.25rem, 10.8vw, 3.2rem);
  }

  .hero-lede {
    max-width: 318px;
    margin-bottom: 18px;
    font-size: 1rem;
  }

  .hero-actions .app-store-badge-hero img {
    height: 48px;
  }

  .hero-actions .button-secondary,
  .proof-row {
    display: none;
  }

  .device-stage {
    position: absolute;
    right: -78px;
    bottom: 2px;
    width: 230px;
    height: 390px;
    min-height: 0;
    opacity: 0.42;
    pointer-events: none;
  }

  .phone-main {
    left: auto;
    right: 0;
    width: 190px;
    height: 412px;
    top: 0;
    transform: none;
  }

  .phone-side {
    display: none;
  }

  .screenshot-strip {
    margin-top: 0;
    padding-bottom: 38px;
  }

  .strip-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .screenshot-row {
    grid-auto-columns: minmax(176px, 70vw);
  }

  .section {
    padding: 58px 0;
  }

  .feature-grid,
  .deck-grid,
  .audience-table,
  .faq-grid,
  .language-grid,
  .atlas-side {
    grid-template-columns: 1fr;
  }

  .step {
    grid-template-columns: 42px 1fr;
    gap: 14px;
    padding: 18px;
  }

  .step-number {
    width: 42px;
    height: 42px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
