:root {
      color-scheme: light;
      --bg: #fbfaf7;
      --surface: #ffffff;
      --surface-2: #f5f1e8;
      --ink: #141412;
      --ink-soft: #373530;
      --muted: #746f66;
      --muted-2: #9b948a;
      --line: #e9e1d5;
      --line-strong: #d9cebf;
      --accent: #176ff2;
      --accent-soft: #edf5ff;
      --gold: #caa85a;
      --gold-soft: #fff7df;
      --green: #2a8068;
      --green-soft: #e9f6f1;
      --shadow: 0 18px 44px rgba(37, 31, 24, 0.09);
      --shadow-soft: 0 10px 26px rgba(37, 31, 24, 0.06);
      --radius-xl: 8px;
      --radius-lg: 8px;
      --radius-md: 8px;
      --radius-sm: 8px;
      --max: 1180px;
      --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Arial, sans-serif;
    }

    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      background: var(--bg);
      color: var(--ink);
      font-family: var(--font);
      font-weight: 400;
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
    }

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

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

    .page-shell {
      overflow: hidden;
    }

    .nav {
      position: sticky;
      top: 0;
      z-index: 20;
      backdrop-filter: saturate(160%) blur(22px);
      background: rgba(251, 250, 247, 0.78);
      border-bottom: 1px solid rgba(233, 225, 213, 0.78);
    }

    .nav-inner {
      width: min(var(--max), calc(100% - 40px));
      margin: 0 auto;
      min-height: 64px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      min-width: 0;
    }

    .brand-text {
      display: grid;
      line-height: 1.05;
      letter-spacing: 0;
      font-weight: 560;
    }

    .brand-text small {
      margin-top: 3px;
      font-size: 12px;
      color: var(--muted);
      font-weight: 360;
      letter-spacing: 0;
    }

    .brand-icon {
      width: 36px;
      height: 36px;
      border-radius: 8px;
      box-shadow: 0 8px 20px rgba(37,31,24,0.09);
    }

    .nav-actions {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      flex-shrink: 0;
    }

    .hero {
      width: min(var(--max), calc(100% - 40px));
      margin: 0 auto;
      padding: 28px 0 24px;
      display: grid;
      grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
      gap: 24px;
      align-items: center;
    }

    h1 {
      margin: 0 0 14px;
      font-size: clamp(2rem, 4.4vw, 3.6rem);
      line-height: 0.98;
      letter-spacing: 0;
      font-weight: 620;
      max-width: 720px;
    }

    .hero-lede {
      max-width: 560px;
      font-size: clamp(1rem, 1.35vw, 1.15rem);
      line-height: 1.5;
      color: var(--muted);
      margin: 0;
    }

    .button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 9px;
      min-height: 42px;
      padding: 0 16px;
      border-radius: 999px;
      font-size: 15px;
      font-weight: 540;
      border: 1px solid transparent;
      transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
    }

    .button:hover {
      transform: translateY(-1px);
    }

    .button.primary {
      background: rgba(255,255,255,0.78);
      color: var(--ink);
      border-color: rgba(217, 206, 191, 0.88);
      box-shadow: 0 10px 24px rgba(37,31,24,0.08);
    }

    .hero-visual {
      position: relative;
      min-height: 380px;
    }

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

    .desktop-card {
      position: absolute;
      left: 0;
      right: auto;
      width: min(490px, calc(100% - 96px));
      top: 18px;
      border-radius: var(--radius-xl);
      background: rgba(255,255,255,0.72);
      border: 1px solid rgba(217, 206, 191, 0.82);
      box-shadow: var(--shadow);
      padding: 16px;
      transform: rotate(-1.2deg);
    }

    .window-bar {
      height: 34px;
      display: flex;
      align-items: center;
      gap: 7px;
      padding: 0 10px;
      border-radius: 8px 8px 6px 6px;
      background: rgba(246,241,233,0.78);
      border-bottom: 1px solid rgba(233,225,213,0.8);
    }

    .traffic {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: #e9ded0;
      border: 1px solid rgba(0,0,0,0.04);
    }

    .window-title {
      margin-left: 8px;
      color: var(--muted);
      font-size: 12px;
      font-weight: 420;
    }

    .phone-card {
      position: absolute;
      width: min(160px, 26vw);
      right: -12px;
      top: 0;
      border-radius: 8px;
      padding: 6px;
      background: rgba(255,255,255,0.9);
      border: 1px solid rgba(217, 206, 191, 0.82);
      box-shadow: 0 18px 42px rgba(37,31,24,0.14);
      transform: rotate(5deg);
      z-index: 4;
    }

    .phone-card .shot {
      border-radius: 6px;
      overflow: hidden;
      background: #fff;
    }

    .tablet-card {
      position: absolute;
      left: auto;
      right: 92px;
      width: min(260px, 40vw);
      bottom: 8px;
      border-radius: 18px;
      padding: 8px;
      background: rgba(255,255,255,0.78);
      border: 1px solid rgba(217, 206, 191, 0.82);
      box-shadow: var(--shadow-soft);
      transform: rotate(1.4deg);
      z-index: 2;
    }

    .tablet-card .shot {
      border-radius: 14px;
    }

    .shot {
      position: relative;
      margin: 0;
      overflow: hidden;
      border-radius: 22px;
      background: #f4eee4;
      border: 1px solid rgba(217, 206, 191, 0.78);
    }

    .shot img {
      width: 100%;
      height: auto;
      background: #f6f0e8;
    }

    .shot-fallback {
      display: none;
      min-height: 220px;
      place-items: center;
      padding: 22px;
      text-align: center;
      background: #f8f4ed;
      color: var(--muted);
    }

    .shot-fallback strong {
      display: block;
      color: var(--ink-soft);
      margin-bottom: 7px;
      font-weight: 560;
    }

    .shot-fallback code {
      display: block;
      margin-top: 8px;
      font: 12px/1.45 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
      color: var(--muted);
      word-break: break-word;
    }

    .shot.is-missing img {
      display: none;
    }

    .shot.is-missing .shot-fallback {
      display: grid;
    }

    .section {
      width: min(var(--max), calc(100% - 40px));
      margin: 0 auto;
      padding: 32px 0;
    }

    .section-heading {
      display: grid;
      gap: 10px;
      max-width: 780px;
      margin-bottom: 16px;
    }

    .section-heading.center {
      margin-left: auto;
      margin-right: auto;
      text-align: center;
    }

    h2 {
      margin: 0;
      font-size: clamp(1.2rem, 1.75vw, 1.7rem);
      line-height: 1.12;
      letter-spacing: 0;
      font-weight: 540;
    }

    .section-heading p {
      margin: 0;
      color: var(--muted);
      font-size: 15.5px;
      line-height: 1.5;
    }

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

    .feature-card {
      min-height: 108px;
      padding: 14px;
      border-radius: var(--radius-lg);
      background: rgba(255,255,255,0.72);
      border: 1px solid rgba(233, 225, 213, 0.9);
      box-shadow: 0 12px 34px rgba(37,31,24,0.045);
    }

    .feature-card h3,
    .platform-copy h3 {
      margin: 0 0 8px;
      font-size: 16.5px;
      letter-spacing: 0;
      font-weight: 560;
    }

    .feature-card p,
    .platform-copy p {
      margin: 0;
      color: var(--muted);
      line-height: 1.45;
      font-size: 14px;
    }

    .platform {
      display: grid;
      grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
      align-items: center;
      gap: 20px;
      padding: 18px;
      border-radius: var(--radius-xl);
      background: rgba(255,255,255,0.66);
      border: 1px solid rgba(233,225,213,0.92);
      box-shadow: var(--shadow-soft);
      margin-bottom: 14px;
    }

    .platform.reverse {
      grid-template-columns: minmax(420px, 1.05fr) minmax(0, 0.95fr);
    }

    .platform-copy {
      display: grid;
      gap: 10px;
    }

    .platform-copy h2 {
      max-width: 520px;
    }

    .platform-list {
      display: grid;
      gap: 8px;
      margin-top: 2px;
    }

    .platform-item {
      display: grid;
      grid-template-columns: 22px minmax(0, 1fr);
      gap: 10px;
      color: var(--muted);
      line-height: 1.45;
      font-size: 14px;
    }

    .check {
      width: 22px;
      height: 22px;
      display: block;
      color: var(--green);
      font-size: 13px;
      font-weight: 700;
      margin-top: 1px;
    }

    .shot-stack {
      display: grid;
      gap: 14px;
    }

    .shot-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
    }

    .phone-showcase {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 12px;
      align-items: start;
    }

    .phone-screen {
      border-radius: 8px;
      padding: 6px;
      background: rgba(255,255,255,0.9);
      border: 1px solid rgba(217, 206, 191, 0.82);
      box-shadow: 0 16px 34px rgba(37,31,24,0.11);
    }

    .phone-showcase .shot {
      aspect-ratio: 736 / 1600;
      border-radius: 6px;
    }

    .phone-showcase .shot img {
      height: 100%;
      object-fit: cover;
      object-position: top center;
    }

    .account-panel {
      display: grid;
      grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
      gap: 28px;
      align-items: start;
      padding: 24px 0;
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
    }

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

    .account-panel p {
      margin: 0;
      color: var(--muted);
      line-height: 1.5;
      font-size: 15px;
    }

    .account-list {
      display: grid;
      gap: 0;
      border-top: 1px solid rgba(233,225,213,0.92);
    }

    .account-row {
      display: grid;
      grid-template-columns: minmax(130px, 0.36fr) minmax(0, 0.64fr);
      gap: 18px;
      padding: 13px 0;
      border-bottom: 1px solid rgba(233,225,213,0.92);
    }

    .account-row strong {
      font-size: 15px;
      font-weight: 560;
      color: var(--ink);
    }

    .account-row span {
      color: var(--muted);
      line-height: 1.45;
      font-size: 14px;
    }

    footer {
      width: min(var(--max), calc(100% - 40px));
      margin: 0 auto;
      padding: 24px 0 36px;
      border-top: 1px solid var(--line);
      color: var(--muted);
      font-size: 13px;
      display: flex;
      justify-content: space-between;
      gap: 24px;
      flex-wrap: wrap;
    }

    footer a {
      color: var(--ink-soft);
    }

    .footer-links {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }

    @media (max-width: 980px) {
      .hero,
      .platform,
      .platform.reverse {
        grid-template-columns: 1fr;
      }

      .hero-visual,
      .device-stage {
        min-height: 460px;
      }

      .desktop-card {
        top: 28px;
      }

      .phone-card {
        right: 6px;
      }

      .tablet-card {
        right: 72px;
        width: min(300px, 48vw);
      }

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

      .platform.reverse .shot-stack,
      .platform.reverse .phone-showcase {
        order: 2;
      }

    }

    @media (max-width: 680px) {
      .nav-inner,
      .hero,
      .section,
      footer {
        width: min(100% - 28px, var(--max));
      }

      .hero {
        padding: 24px 0 20px;
        gap: 16px;
      }

      .hero-visual,
      .device-stage {
        min-height: 300px;
      }

      .phone-card {
        width: 124px;
        border-radius: 8px;
        padding: 5px;
      }

      .phone-card .shot,
      .phone-showcase .shot {
        border-radius: 6px;
      }

      .tablet-card {
        display: none;
      }

      .section {
        padding: 24px 0;
      }

      .feature-grid,
      .shot-row,
      .account-panel,
      .account-row {
        grid-template-columns: 1fr;
      }

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

      .platform {
        padding: 16px;
        border-radius: 8px;
      }

      h1 {
        font-size: clamp(1.85rem, 10vw, 2.4rem);
      }

      .brand-text small {
        display: none;
      }

      .button {
        min-height: 40px;
        padding: 0 13px;
        font-size: 14px;
      }
    }

.nav-actions {
  gap: 10px;
}

.language-menu {
  position: relative;
  flex: 0 0 auto;
}

.language-menu summary {
  max-width: min(18rem, 46vw);
  min-width: 3.9rem;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0 0.7rem;
  border: 1px solid rgba(217, 206, 191, 0.88);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 24px rgba(37,31,24,0.08);
  cursor: pointer;
  font-size: 14px;
  font-weight: 540;
  list-style: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.language-menu summary::-webkit-details-marker {
  display: none;
}

.language-menu summary::after {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  margin-top: -0.12rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.75;
}

.language-menu[open] summary,
.language-menu summary:hover,
.language-menu summary:focus-visible {
  background: #ffffff;
}

.language-menu-list {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  z-index: 40;
  width: min(21rem, calc(100vw - 2rem));
  max-height: min(38rem, calc(100svh - 5rem));
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.18rem;
  overflow: auto;
  padding: 0.35rem;
  border: 1px solid rgba(217, 206, 191, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
}

.language-menu-list a {
  min-height: 2.15rem;
  display: flex;
  align-items: center;
  padding: 0 0.62rem;
  border-radius: 7px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 420;
  white-space: nowrap;
}

.language-menu-list a:hover,
.language-menu-list a:focus-visible,
.language-menu-list a[aria-current="page"] {
  color: var(--ink);
  background: var(--accent-soft);
}

html[dir="rtl"] .nav-inner,
html[dir="rtl"] .language-menu-list {
  direction: ltr;
}

html[dir="rtl"] main,
html[dir="rtl"] footer {
  direction: rtl;
}

@media (max-width: 720px) {
  .nav-inner {
    flex-wrap: wrap;
    padding: 10px 0;
  }

  .nav-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .language-menu-list {
    left: 0;
    right: auto;
    grid-template-columns: 1fr;
  }
}
