:root {
  color-scheme: dark;
  --bg: #090c12;
  --bg-soft: #10151f;
  --surface: rgba(255, 255, 255, 0.055);
  --surface-strong: rgba(21, 28, 40, 0.88);
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f7f5f2;
  --muted: #a8afbc;
  --coral: #ff6e61;
  --amber: #f4ad45;
  --teal: #55d7cd;
  --max: 1180px;
}

@font-face {
  font-family: "Murecho BiBimba";
  src: url("assets/fonts/Murecho-BiBimba.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

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

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 2%, rgba(255, 110, 97, 0.10), transparent 32rem),
    radial-gradient(circle at 92% 10%, rgba(85, 215, 205, 0.08), transparent 36rem),
    var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic UI", "Segoe UI", sans-serif;
  font-kerning: normal;
  font-feature-settings: "kern" 1;
  letter-spacing: 0.025em;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

html:lang(en) body,
html:lang(es) body,
html:lang(fr) body,
html:lang(de) body,
html:lang(pt-BR) body {
  font-feature-settings: "kern" 1;
  letter-spacing: 0.01em;
}

html:lang(ar) body {
  font-family: "Geeza Pro", "Noto Naskh Arabic", "Noto Sans Arabic", Tahoma, Arial, sans-serif;
  letter-spacing: normal;
  line-height: 1.9;
}

html:lang(ar) .brand,
html:lang(ar) .button,
html:lang(ar) h1,
html:lang(ar) .section h2,
html:lang(ar) .card h3,
html:lang(ar) .legal h2 {
  font-family: "Geeza Pro", "Noto Naskh Arabic", "Noto Sans Arabic", Tahoma, Arial, sans-serif;
  letter-spacing: normal;
}

html:lang(ar) .eyebrow,
html:lang(ar) .card-index { letter-spacing: normal; }

a { color: inherit; }

:where(a, button, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 4px;
}

.keyboard-target {
  animation: keyboard-target-pulse 700ms ease-out;
}

@keyframes keyboard-target-pulse {
  0% { box-shadow: 0 0 0 0 rgba(85, 215, 205, 0.55); }
  100% { box-shadow: 0 0 0 10px rgba(85, 215, 205, 0); }
}

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

.site-header {
  position: sticky;
  z-index: 30;
  top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  margin-top: 14px;
  padding: 8px 10px 8px 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(13, 17, 25, 0.72);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.24), inset 0 1px rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(28px) saturate(145%);
  backdrop-filter: blur(28px) saturate(145%);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 9px;
  text-decoration: none;
  font-family: "Murecho BiBimba", sans-serif;
  font-size: 1.05rem;
  font-weight: 640;
  letter-spacing: 0.005em;
}

.site-key {
  min-width: 20px;
  padding: 2px 5px;
  border-color: rgba(255, 255, 255, 0.16);
  border-bottom-color: rgba(255, 255, 255, 0.25);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.065);
  color: #b9c0ca;
  font-size: 0.58rem;
  line-height: 1.2;
}

.brand .site-key { margin-left: 2px; color: var(--teal); }

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

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

.nav > a:not(.button) {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.83rem;
  font-weight: 560;
  letter-spacing: 0.015em;
}

.nav > a:not(.button):hover { color: var(--text); }

.language-menu { position: relative; }

.language-menu > summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  gap: 8px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.35;
  list-style: none;
  text-align: center;
}

.language-menu > summary::-webkit-details-marker { display: none; }
.language-menu > summary::after { content: "⌄"; margin-left: 1px; color: var(--teal); }
.language-menu[open] > summary { color: var(--text); background: rgba(255, 255, 255, 0.06); }

.language-icon {
  position: relative;
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}

.language-icon::before {
  position: absolute;
  inset: 2px 4px;
  border-right: 1px solid currentColor;
  border-left: 1px solid currentColor;
  border-radius: 50%;
  content: "";
}

.language-icon::after {
  position: absolute;
  top: 50%;
  right: 1px;
  left: 1px;
  border-top: 1px solid currentColor;
  content: "";
}

.language-code {
  font: 650 0.68rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.04em;
}

.language-options {
  position: absolute;
  z-index: 40;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  width: 220px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(12, 16, 24, 0.97);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.46);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}

.language-options a {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 5px;
  padding: 7px 10px;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
}

.language-options a:hover { color: var(--text); background: rgba(255, 255, 255, 0.07); }
.language-options a[aria-current="page"] { color: var(--text); background: rgba(85, 215, 205, 0.09); }
.language-options .language-code { color: var(--teal); font-size: 0.61rem; }
.language-options .site-key { justify-self: end; }

.keyboard-menu-hint,
.faq-keyboard-hint {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.keyboard-menu-hint {
  margin-top: 6px;
  padding: 9px 9px 2px;
  border-top: 1px solid var(--line);
}

.keyboard-menu-hint kbd,
.faq-keyboard-hint kbd {
  min-width: 25px;
  padding: 2px 5px;
  color: #969eaa;
  font-size: 0.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 13px;
  background: linear-gradient(135deg, var(--amber), var(--coral));
  color: #14171d;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic UI", "Segoe UI", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(255, 110, 97, 0.18);
}

.button .site-key {
  border-color: rgba(20, 23, 29, 0.22);
  border-bottom-color: rgba(20, 23, 29, 0.38);
  background: rgba(20, 23, 29, 0.08);
  color: #282b31;
}

.button[aria-disabled="true"] .site-key {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.055);
  color: #aeb4be;
}

.site-header .button {
  min-height: 38px;
  padding-inline: 14px;
  border-radius: 11px;
  font-size: 0.78rem;
}

.button[aria-disabled="true"] {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.075);
  color: #dedfe3;
  box-shadow: none;
  cursor: default;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(540px, 1.1fr);
  align-items: center;
  gap: 56px;
  min-height: 690px;
  padding-block: 72px 92px;
}

.hero-copy-block { position: relative; z-index: 2; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 720;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 18px currentColor;
  content: "";
}

h1,
.section h2,
.card h3,
.legal h2 {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic UI", "Segoe UI", sans-serif;
}

h1 {
  margin: 19px 0 20px;
  font-size: clamp(3.25rem, 5vw, 3.8rem);
  font-weight: 680;
  line-height: 1.18;
  letter-spacing: 0.005em;
  text-wrap: balance;
}

h1 span { display: block; white-space: normal; }

.hero-copy-block { min-width: 0; }

html:lang(ja) h1 {
  font-size: clamp(3rem, 4.2vw, 3.25rem);
  text-wrap: auto;
}

html:lang(ja) h1 span { white-space: nowrap; }

html:lang(en) h1,
html:lang(es) h1,
html:lang(fr) h1,
html:lang(de) h1,
html:lang(pt-BR) h1 {
  font-size: clamp(3.1rem, 4.7vw, 3.75rem);
  font-weight: 680;
  line-height: 1.07;
  letter-spacing: -0.018em;
}

html:lang(ar) h1 {
  font-size: clamp(2.75rem, 4.1vw, 3.2rem);
  line-height: 1.24;
}

.hero-copy {
  max-width: 33rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.01rem;
  letter-spacing: 0.02em;
  line-height: 1.9;
  text-wrap: pretty;
}

html:lang(en) .hero-copy,
html:lang(es) .hero-copy,
html:lang(fr) .hero-copy,
html:lang(de) .hero-copy,
html:lang(pt-BR) .hero-copy { line-height: 1.72; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.fine {
  max-width: 21rem;
  color: #828b99;
  font-size: 0.76rem;
  line-height: 1.55;
}

.compatibility {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  max-width: 620px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.compatibility-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  margin-top: 0.42em;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(244, 173, 69, 0.1);
}

.compatibility[data-state="supported"] { color: #bfe8e3; }
.compatibility[data-state="supported"] .compatibility-dot { background: var(--teal); box-shadow: 0 0 0 4px rgba(85, 215, 205, 0.1); }
.compatibility[data-state="unsupported"] { color: #efaaa3; }
.compatibility[data-state="unsupported"] .compatibility-dot { background: var(--coral); box-shadow: 0 0 0 4px rgba(255, 110, 97, 0.1); }

.shortcut-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 25px;
}

.shortcut-pair {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #929aa7;
  font-size: 0.74rem;
}

kbd {
  min-width: 31px;
  padding: 4px 7px;
  border: 1px solid var(--line-strong);
  border-bottom-color: rgba(255, 255, 255, 0.28);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.055);
  color: #e7e5e2;
  font: 620 0.72rem ui-monospace, SFMono-Regular, monospace;
  line-height: 1.35;
  text-align: center;
}

.product-visual {
  position: relative;
  min-width: 0;
  padding: 26px 0 24px 18px;
  padding-inline-start: 18px;
}

.product-visual::before {
  position: absolute;
  inset: 7% 3% 0 10%;
  border-radius: 50%;
  background: conic-gradient(from 130deg, rgba(255, 110, 97, 0.7), rgba(244, 173, 69, 0.5), rgba(85, 215, 205, 0.7), rgba(255, 110, 97, 0.7));
  filter: blur(90px);
  opacity: 0.19;
  content: "";
}

.hero-app-icon {
  position: absolute;
  z-index: 3;
  top: -8px;
  right: 22px;
  inset-inline-end: 22px;
  width: 78px;
  height: 78px;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.4));
  transform: rotate(3deg);
}

.app-window {
  position: relative;
  z-index: 2;
  overflow: hidden;
  min-height: 410px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 23px;
  background:
    radial-gradient(circle at 15% 8%, rgba(85, 215, 205, 0.09), transparent 38%),
    radial-gradient(circle at 88% 92%, rgba(255, 110, 97, 0.08), transparent 38%),
    rgba(24, 29, 39, 0.88);
  box-shadow: 0 38px 90px rgba(0, 0, 0, 0.43), inset 0 1px rgba(255, 255, 255, 0.08);
  transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
  -webkit-backdrop-filter: blur(30px) saturate(130%);
  backdrop-filter: blur(30px) saturate(130%);
}

.window-bar {
  display: grid;
  grid-template-columns: auto minmax(160px, 1fr) auto;
  align-items: center;
  gap: 15px;
  height: 58px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.traffic-lights { display: flex; gap: 6px; }
.traffic-lights i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }

.mock-search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 11px;
  background: rgba(7, 10, 15, 0.43);
  color: #8e97a5;
  font-size: 0.7rem;
  white-space: nowrap;
}

.mock-search::before { color: #c2c7d0; content: "⌕"; font-size: 1rem; }
.mock-shortcut { color: #89919e; font: 600 0.66rem ui-monospace, monospace; }

.window-body {
  display: grid;
  grid-template-columns: 43% 57%;
  gap: 9px;
  min-height: 352px;
  padding: 9px;
}

.mock-list,
.mock-detail {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 15px;
  background: rgba(5, 8, 13, 0.23);
}

.mock-list { padding: 8px; }

.mock-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 9px;
  min-height: 68px;
  padding: 8px;
  border-radius: 11px;
}

.mock-row + .mock-row { margin-top: 4px; }
.mock-row.is-active { background: rgba(85, 215, 205, 0.13); box-shadow: inset 0 0 0 1px rgba(85, 215, 205, 0.2); }

.mock-thumb {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.065);
  color: var(--teal);
  font-size: 0.78rem;
}

.mock-row:nth-child(2) .mock-thumb { color: var(--amber); }
.mock-row:nth-child(3) .mock-thumb { color: var(--coral); }
.mock-row strong, .mock-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock-row strong { color: #e8e7e4; font-size: 0.68rem; font-weight: 610; }
.mock-row small { margin-top: 4px; color: #78818f; font-size: 0.58rem; }

.mock-detail {
  display: flex;
  flex-direction: column;
  padding: 16px;
}

.mock-detail-head {
  display: flex;
  justify-content: space-between;
  color: #858e9b;
  font-size: 0.59rem;
}

.mock-document {
  flex: 1;
  margin: 13px 0 10px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}

.mock-document strong { display: block; color: #eceae7; font-size: 0.86rem; font-weight: 610; }
.mock-document p { margin: 9px 0 0; color: #929aa6; font-size: 0.66rem; line-height: 1.65; }
.mock-actions { display: flex; flex-wrap: wrap; gap: 6px; }

.mock-actions span {
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.045);
  color: #aeb4bd;
  font-size: 0.58rem;
}

.mock-actions span:first-child { background: rgba(85, 215, 205, 0.16); color: #dffbf7; }

.section {
  padding-block: 112px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.65fr);
  align-items: end;
  gap: 80px;
  margin-bottom: 48px;
}

.section h2 {
  margin: 15px 0 0;
  font-size: clamp(2.35rem, 4vw, 3.35rem);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: 0.004em;
  text-wrap: balance;
}

.section-lead {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.85;
}

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

.card {
  position: relative;
  overflow: hidden;
  min-height: 310px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.065), 0 28px 70px rgba(0, 0, 0, 0.13);
}

.card::after {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: currentColor;
  filter: blur(90px);
  opacity: 0.08;
  content: "";
  right: -70px;
  inset-inline-end: -70px;
  bottom: -80px;
}

.card:nth-child(1) { grid-column: span 7; color: var(--amber); }
.card:nth-child(2) { grid-column: span 5; color: var(--teal); }
.card:nth-child(3) {
  display: grid;
  grid-column: span 12;
  grid-template-columns: minmax(250px, 0.8fr) minmax(340px, 1.2fr);
  align-items: center;
  gap: 60px;
  min-height: 240px;
  color: var(--coral);
}

.card-index {
  display: block;
  margin-bottom: 54px;
  color: currentColor;
  font: 650 0.72rem ui-monospace, SFMono-Regular, monospace;
  letter-spacing: 0.09em;
}

.card:nth-child(3) .card-index { margin-bottom: 28px; }
.card h3 { margin: 0 0 12px; color: var(--text); font-size: 1.42rem; font-weight: 650; letter-spacing: 0.005em; }
.card p { max-width: 33rem; margin: 0; color: var(--muted); font-size: 0.9rem; line-height: 1.8; }

.search-demo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  background: rgba(5, 8, 13, 0.28);
  color: #9ba3af;
  font-size: 0.72rem;
}

.search-demo::before { color: var(--amber); content: "⌕"; }
.search-demo b { margin-inline-start: auto; color: #737d8a; font: 600 0.63rem ui-monospace, monospace; }

.ocr-frame {
  position: relative;
  display: grid;
  min-height: 105px;
  margin-top: 27px;
  padding: 19px;
  place-items: center;
  border: 1px dashed rgba(85, 215, 205, 0.33);
  border-radius: 14px;
  background: rgba(85, 215, 205, 0.035);
}

.ocr-frame::before,
.ocr-frame::after {
  position: absolute;
  width: 16px;
  height: 16px;
  content: "";
}

.ocr-frame::before { top: 8px; left: 8px; border-top: 2px solid var(--teal); border-left: 2px solid var(--teal); }
.ocr-frame::after { right: 8px; bottom: 8px; border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal); }
.ocr-frame span { color: #d8f5f2; font: 600 0.72rem ui-monospace, monospace; }

.action-cloud { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; }
.action-cloud span {
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.045);
  color: #c4c7ce;
  font-size: 0.78rem;
}
.action-cloud span:nth-child(2) { color: #ffd3cd; border-color: rgba(255, 110, 97, 0.24); background: rgba(255, 110, 97, 0.08); }

.privacy-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(340px, 1.2fr);
  gap: 80px;
  overflow: hidden;
  padding: 64px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(circle at 0 0, rgba(85, 215, 205, 0.11), transparent 42%),
    var(--surface-strong);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.07);
}

.privacy-panel::after {
  position: absolute;
  right: -90px;
  inset-inline-end: -90px;
  bottom: -150px;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(85, 215, 205, 0.13);
  border-radius: 50%;
  box-shadow: 0 0 0 35px rgba(85, 215, 205, 0.025), 0 0 0 70px rgba(85, 215, 205, 0.018);
  content: "";
}

.privacy-panel h2 { margin-top: 15px; }
.privacy-panel p { position: relative; z-index: 1; margin-top: 0; color: var(--muted); }
.check-list { position: relative; z-index: 1; display: grid; gap: 13px; margin: 24px 0 0; padding: 0; list-style: none; }
.check-list li { color: #d5d7dc; font-size: 0.9rem; }
.check-list li::before { display: inline-grid; width: 1.75em; color: var(--teal); font-weight: 800; content: "✓"; }

.faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(420px, 1.3fr);
  align-items: start;
  gap: 80px;
}

.faq { display: grid; gap: 10px; }
.faq-keyboard-hint { margin-top: 24px; }
.faq details,
.legal details { padding: 18px 20px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.faq summary,
.legal summary { cursor: pointer; font-size: 0.92rem; font-weight: 650; }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq summary .site-key { flex: 0 0 auto; }
.faq details:focus-within {
  border-color: rgba(85, 215, 205, 0.42);
  background: rgba(85, 215, 205, 0.055);
}
.faq details p,
.legal details p { margin: 12px 0 0; color: var(--muted); font-size: 0.88rem; line-height: 1.75; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-block: 42px 58px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: #7f8793;
  font-size: 0.78rem;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.footer-links a:hover { color: var(--text); }

.legal { max-width: 800px; padding-block: 74px 120px; }
.legal h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
.legal h2 { margin-top: 48px; font-size: 1.35rem; font-weight: 650; letter-spacing: 0.005em; }
.legal p, .legal li { color: var(--muted); }
.legal code { color: var(--text); }

.purchase-result {
  max-width: 800px;
  padding-block: 110px 150px;
}

.purchase-result h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
.purchase-status { max-width: 620px; color: var(--muted); font-size: 1.05rem; }
.purchase-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.purchase-actions .button { border: 0; cursor: pointer; }
.purchase-actions .button[hidden] { display: none; }
.button-secondary {
  border: 1px solid var(--line-strong) !important;
  background: var(--surface-strong);
  color: var(--text);
  box-shadow: none;
}
.button-secondary .site-key { color: var(--teal); }
.button-secondary:disabled { cursor: wait; opacity: 0.58; }
.purchase-note { max-width: 620px; margin-top: 28px; color: var(--muted); font-size: 0.88rem; }

[dir="rtl"] .language-options {
  right: auto;
  left: 0;
  inset-inline-end: 0;
}

[dir="rtl"] .hero-app-icon { right: auto; }
[dir="rtl"] .card::after { right: auto; }
[dir="rtl"] .privacy-panel::after { right: auto; }
[dir="rtl"] .product-visual { padding-left: 0; }
[dir="rtl"] .app-window { transform: perspective(1200px) rotateY(2deg) rotateX(1deg); }
[dir="rtl"] .mock-search,
[dir="rtl"] .mock-row strong,
[dir="rtl"] .mock-row small,
[dir="rtl"] .mock-document,
[dir="rtl"] .mock-actions,
[dir="rtl"] .legal { text-align: start; }
[dir="rtl"] .mock-search::before { order: 2; }

@media (max-width: 980px) {
  .nav > a:not(.button) { display: none; }
  .hero { grid-template-columns: 1fr; gap: 30px; padding-top: 80px; }
  .hero-copy-block { max-width: 670px; }
  .product-visual { width: min(100%, 720px); margin-inline: auto; padding-left: 0; }
  .section-header { grid-template-columns: 1fr; gap: 18px; }
  .privacy-panel { gap: 45px; padding: 48px; }
}

@media (min-width: 981px) {
  html:lang(ja) .hero { grid-template-columns: minmax(0, 1.05fr) minmax(500px, 0.95fr); }
}

@media (max-width: 760px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .site-header { top: 8px; min-height: 56px; margin-top: 8px; padding: 6px 7px 6px 9px; border-radius: 17px; }
  .brand { gap: 6px; font-size: 0.92rem; }
  .brand img { width: 33px; height: 33px; border-radius: 8px; }
  .nav { gap: 5px; }
  .nav > a:not(.button) { display: none; }
  .language-menu > summary { min-width: 70px; gap: 6px; padding: 6px 7px; font-size: 0.7rem; }
  .site-header .button { min-height: 34px; max-width: 92px; padding-inline: 9px; font-size: 0.68rem; white-space: nowrap; }

  .hero { min-height: auto; padding-block: 65px 78px; }
  h1 { margin-top: 16px; font-size: clamp(2.25rem, 10.5vw, 2.65rem); line-height: 1.22; letter-spacing: 0; }
  html:lang(ja) h1 { font-size: clamp(2.15rem, 9vw, 2.3rem); line-height: 1.18; }
  html:lang(ja) h1 span { white-space: normal; }
  html:lang(en) h1,
  html:lang(es) h1,
  html:lang(fr) h1,
  html:lang(de) h1,
  html:lang(pt-BR) h1 { font-size: clamp(2.35rem, 11.2vw, 2.9rem); line-height: 1.06; }
  html:lang(ar) h1 { max-inline-size: 100%; overflow-wrap: anywhere; text-align: start; text-wrap: wrap; }
  .hero-copy { font-size: 0.94rem; line-height: 1.8; }
  .cta-row { align-items: flex-start; flex-direction: column; margin-top: 24px; }
  .fine { max-width: 100%; }
  .shortcut-row { margin-top: 20px; }

  .product-visual { padding-top: 20px; }
  .hero-app-icon { top: -8px; right: 10px; width: 60px; height: 60px; }
  [dir="rtl"] .hero-app-icon { right: auto; inset-inline-end: 10px; }
  .app-window { min-height: 290px; border-radius: 18px; transform: none; }
  .window-bar { grid-template-columns: auto minmax(110px, 1fr) auto; gap: 8px; height: 47px; padding-inline: 10px; }
  .mock-search { height: 29px; padding-inline: 9px; font-size: 0.58rem; }
  .mock-shortcut { font-size: 0.55rem; }
  .window-body { grid-template-columns: 42% 58%; min-height: 243px; padding: 6px; gap: 6px; }
  .mock-list { padding: 5px; }
  .mock-row { grid-template-columns: 25px minmax(0, 1fr); gap: 6px; min-height: 52px; padding: 6px; }
  .mock-thumb { width: 25px; height: 25px; border-radius: 7px; font-size: 0.62rem; }
  .mock-row strong { font-size: 0.55rem; }
  .mock-row small { font-size: 0.48rem; }
  .mock-detail { padding: 9px; }
  .mock-document { margin-block: 8px 6px; padding: 10px; }
  .mock-document strong { font-size: 0.67rem; }
  .mock-document p { font-size: 0.51rem; }
  .mock-actions span { padding: 4px 6px; font-size: 0.48rem; }

  .section { padding-block: 82px; }
  .section-header { margin-bottom: 32px; }
  .section h2 { font-size: clamp(2.05rem, 10vw, 2.65rem); }
  .feature-grid { grid-template-columns: 1fr; }
  .card,
  .card:nth-child(1),
  .card:nth-child(2),
  .card:nth-child(3) { display: block; grid-column: auto; min-height: 0; padding: 25px; }
  .card-index, .card:nth-child(3) .card-index { margin-bottom: 38px; }
  .card:nth-child(3) .card-index { margin-bottom: 26px; }
  .action-cloud { justify-content: flex-start; margin-top: 28px; }
  .privacy-panel { grid-template-columns: 1fr; gap: 26px; padding: 32px 25px; border-radius: 24px; }
  .faq-layout { grid-template-columns: 1fr; gap: 30px; }
  .site-footer { flex-direction: column; }
}

@media (max-width: 380px) {
  .site-header .button { display: none; }
  h1 { font-size: 2.15rem; }
  html:lang(ja) h1 { font-size: clamp(1.75rem, 9vw, 2rem); }
  .shortcut-pair span { display: none; }
  .window-body { grid-template-columns: 45% 55%; }
}

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