:root {
  color-scheme: light;
  --page: #ffffff;
  --page-soft: #f6f8fb;
  --page-blue: #eef5ff;
  --ink: #111419;
  --ink-soft: #555d69;
  --ink-faint: #7e8794;
  --line: #e5e9ef;
  --line-strong: #d9dfe8;
  --blue: #2877f0;
  --blue-dark: #145fcd;
  --blue-light: #dcecff;
  --night: #111823;
  --white: #ffffff;
  --shadow-sm: 0 8px 24px rgba(27, 39, 60, 0.08);
  --shadow-md: 0 26px 70px rgba(31, 43, 64, 0.14);
  --shadow-lg: 0 36px 110px rgba(31, 43, 64, 0.2);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --content: 1180px;
  --header-height: 78px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
summary {
  font: inherit;
}

button {
  color: inherit;
}

:focus-visible {
  outline: 3px solid rgba(40, 119, 240, 0.42);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 9px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell {
  width: min(calc(100% - 48px), var(--content));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(150%) blur(18px);
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(221, 226, 234, 0.9);
  box-shadow: 0 6px 24px rgba(24, 34, 52, 0.04);
}

.site-header.compact {
  position: relative;
}

.nav-shell {
  width: min(calc(100% - 48px), var(--content));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

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

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #edf0f4;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 4px 11px rgba(23, 31, 48, 0.08);
}

.brand-mark img {
  width: 43px;
  height: 43px;
  object-fit: contain;
}

.brand-name {
  display: flex;
  align-items: center;
  gap: 7px;
  letter-spacing: -0.035em;
}

.brand-name strong {
  font-size: 26px;
  font-weight: 720;
  line-height: 1;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-left: auto;
}

.desktop-nav a {
  position: relative;
  color: #434a55;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.18s ease;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  content: "";
  opacity: 0;
  transform: scaleX(0.6);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  color: var(--ink);
}

.desktop-nav a:hover::after,
.desktop-nav a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-switch {
  min-width: 47px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.language-switch:hover {
  border-color: #bdc6d2;
  background: var(--page-soft);
  transform: translateY(-1px);
}

.menu-button {
  width: 38px;
  height: 38px;
  display: none;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  position: absolute;
  width: 20px;
  height: 2px;
  border-radius: 3px;
  background: var(--ink);
  transition: transform 0.2s ease;
}

.menu-button span:first-child {
  transform: translateY(-4px);
}

.menu-button span:last-child {
  transform: translateY(4px);
}

.menu-button[aria-expanded="true"] span:first-child {
  transform: rotate(45deg);
}

.menu-button[aria-expanded="true"] span:last-child {
  transform: rotate(-45deg);
}

.mobile-nav {
  display: none;
}

.hero {
  padding-top: 96px;
  text-align: center;
}

.hero-copy {
  width: min(850px, 100%);
  margin-inline: auto;
}

.hero h1 {
  margin: 0;
  font-size: clamp(52px, 7.1vw, 86px);
  font-weight: 760;
  letter-spacing: -0.062em;
  line-height: 0.99;
}

.hero-copy > p:not(.system-note) {
  width: min(730px, 100%);
  margin: 30px auto 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 2.1vw, 21px);
  line-height: 1.75;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

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

.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.button-primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 13px 30px rgba(40, 119, 240, 0.25);
}

.button-primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 16px 34px rgba(40, 119, 240, 0.3);
}

.button-app-store {
  min-height: 48px;
  padding: 5px 17px 5px 13px;
  gap: 11px;
  color: var(--white);
  border-color: #0b0d10;
  background: #0b0d10;
  cursor: not-allowed;
  opacity: 1;
}

.button-app-store:hover {
  transform: none;
}

.button-app-store:disabled {
  color: var(--white);
  opacity: 1;
}

.app-store-icon {
  width: 24px !important;
  height: 24px !important;
  fill: currentColor !important;
  stroke: none !important;
}

.app-store-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.02;
}

.app-store-copy small {
  font-size: 8px;
  font-weight: 560;
  letter-spacing: 0;
}

.app-store-copy strong {
  margin-top: 2px;
  font-size: 15px;
  font-weight: 680;
  letter-spacing: -0.02em;
}

.button-secondary {
  border-color: var(--line-strong);
  background: var(--white);
}

.button-secondary:hover {
  border-color: #c6ced9;
  box-shadow: var(--shadow-sm);
}

.system-note {
  margin: 17px 0 0;
  color: var(--ink-faint);
  font-size: 13px;
  font-weight: 560;
}

.product-stage {
  position: relative;
  margin: 76px auto 0;
  padding: 0 20px 72px;
}

.stage-glow {
  position: absolute;
  right: 4%;
  bottom: 0;
  left: 4%;
  height: 55%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(68, 139, 245, 0.18), rgba(68, 139, 245, 0) 70%);
  filter: blur(16px);
}

.app-window {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid #dfe4eb;
  border-radius: 18px;
  background: #f9fafc;
  box-shadow: var(--shadow-lg);
  text-align: left;
  transform: perspective(1500px) rotateX(1deg);
}

.window-bar {
  height: 48px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 15px;
  border-bottom: 1px solid #e6e9ee;
  background: rgba(252, 252, 253, 0.96);
}

.traffic-lights {
  display: flex;
  gap: 7px;
}

.traffic-lights i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ff5d57;
}

.traffic-lights i:nth-child(2) { background: #ffbd2f; }
.traffic-lights i:nth-child(3) { background: #28c840; }

.window-title {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #343a44;
  font-size: 11px;
  font-weight: 680;
}

.mini-mark {
  width: 19px;
  height: 19px;
  overflow: hidden;
  border-radius: 5px;
  background: #fff;
}

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

.window-tools {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
}

.window-tools span,
.browser-actions i {
  width: 25px;
  height: 25px;
  border: 1px solid #e2e6eb;
  border-radius: 7px;
  background: #fff;
}

.app-layout {
  height: 570px;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) 190px;
}

.app-sidebar {
  padding: 20px 12px;
  border-right: 1px solid #e6e9ee;
  background: #f1f3f7;
}

.sidebar-label {
  margin: 0 7px 8px;
  color: #8a919b;
  font-size: 9px;
  font-weight: 700;
}

.sidebar-label.second {
  margin-top: 24px;
}

.sidebar-item {
  height: 31px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
  border-radius: 7px;
  color: #454b55;
  font-size: 10px;
  font-weight: 600;
}

.sidebar-item.active {
  color: #fff;
  background: var(--blue);
}

.sidebar-item small {
  margin-left: auto;
  font-size: 8px;
  font-weight: 600;
  opacity: 0.72;
}

.sidebar-glyph {
  width: 13px;
  text-align: center;
  font-size: 10px;
}

.sidebar-folder {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 6px;
}

.sidebar-folder > span {
  width: 26px;
  height: 22px;
  border-radius: 5px;
  background: linear-gradient(145deg, #9bc8fa, #65a9f4);
  box-shadow: inset 0 0 0 1px rgba(39, 114, 207, 0.16);
}

.sidebar-folder p {
  margin: 0;
  display: flex;
  flex-direction: column;
  color: #525964;
  font-size: 9px;
  line-height: 1.3;
}

.sidebar-folder b { font-weight: 650; }
.sidebar-folder small { color: #969ca5; font-size: 7px; }

.app-browser {
  min-width: 0;
  padding: 19px 18px 20px;
  background: #fff;
}

.browser-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.browser-head > div:first-child {
  display: flex;
  flex-direction: column;
}

.browser-head strong {
  font-size: 17px;
  line-height: 1.2;
}

.browser-head span {
  margin-top: 4px;
  color: #9298a1;
  font-size: 8px;
}

.browser-actions {
  display: flex;
  gap: 5px;
}

.filter-row {
  margin-top: 17px;
  display: flex;
  gap: 8px;
  border-bottom: 1px solid #edf0f3;
  color: #777f89;
  font-size: 8px;
  font-weight: 650;
}

.filter-row span {
  position: relative;
  padding: 0 4px 8px;
}

.filter-row .filter-active {
  color: var(--blue);
}

.filter-row .filter-active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  border-radius: 3px;
  background: var(--blue);
  content: "";
}

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

.photo-card {
  position: relative;
  height: 178px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #edf0f4;
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.app-window:hover .photo-card:nth-child(2n) img {
  transform: scale(1.025);
}

.photo-card figcaption {
  position: absolute;
  right: 7px;
  bottom: 6px;
  left: 7px;
  overflow: hidden;
  color: #fff;
  font-size: 7px;
  font-weight: 700;
  text-overflow: ellipsis;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.7);
  white-space: nowrap;
}

.app-inspector {
  padding: 14px 13px;
  border-left: 1px solid #e6e9ee;
  background: #f8f9fb;
}

.inspector-preview {
  width: 100%;
  height: 112px;
  object-fit: cover;
  border-radius: 8px;
}

.rating-stars {
  margin: 10px 0 7px;
  color: #f0b51c;
  font-size: 11px;
  letter-spacing: 2px;
}

.app-inspector dl,
.metadata-sheet dl {
  margin: 0;
}

.app-inspector dl div,
.metadata-sheet dl div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid #e8ebef;
  font-size: 8px;
}

.app-inspector dt,
.metadata-sheet dt {
  color: #8b929c;
}

.app-inspector dd,
.metadata-sheet dd {
  margin: 0;
  color: #444b55;
  font-weight: 650;
  text-align: right;
}

.mini-map {
  position: relative;
  height: 100px;
  margin-top: 13px;
  overflow: hidden;
  border: 1px solid #dce2e8;
  border-radius: 8px;
  background: #eaf1ea;
}

.mini-map::before,
.mini-map::after,
.map-lines::before,
.map-lines::after {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(112, 155, 192, 0.34);
  content: "";
}

.mini-map::before { width: 120px; height: 55px; top: 10px; left: -25px; transform: rotate(18deg); }
.mini-map::after { width: 100px; height: 45px; right: -22px; bottom: -3px; transform: rotate(-23deg); }
.mini-map span { position: absolute; top: 0; bottom: 0; left: 48%; width: 2px; background: rgba(255, 255, 255, 0.85); transform: rotate(24deg); }
.mini-map i { position: absolute; top: 46px; left: 51%; width: 11px; height: 11px; border: 3px solid #fff; border-radius: 50% 50% 50% 0; background: var(--blue); box-shadow: 0 2px 5px rgba(0,0,0,.2); transform: rotate(-45deg); }

.trust-strip {
  margin-top: 28px;
  padding: 28px 0 54px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-bottom: 1px solid var(--line);
}

.trust-strip div {
  padding: 0 42px;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.trust-strip div + div {
  border-left: 1px solid var(--line);
}

.trust-strip strong {
  font-size: 15px;
  font-weight: 720;
}

.trust-strip span {
  margin-top: 4px;
  color: var(--ink-faint);
  font-size: 12px;
}

.features {
  padding-top: 138px;
}

.section-heading {
  width: min(780px, 100%);
}

.section-heading h2,
.showcase-copy h2,
.privacy-copy h2,
.detail-card h2 {
  margin: 0;
  font-size: clamp(37px, 5vw, 58px);
  font-weight: 740;
  letter-spacing: -0.052em;
  line-height: 1.06;
}

.section-heading p {
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.75;
}
