:root {
  color-scheme: light dark;
  --bg: #f3f6f8;
  --surface: #ffffff;
  --surface-soft: #e9eff3;
  --ink: #15212a;
  --muted: #61717d;
  --line: #d5dfe5;
  --accent: #65c9ec;
  --accent-strong: #067ea9;
  --mint: #72c8ad;
  --hero: #0d151b;
  --hero-soft: #17232b;
  --hero-ink: #f3f8fa;
  --hero-muted: #aab8c1;
  --header-height: 72px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  min-width: 280px;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

button, select, input { font: inherit; }
a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { letter-spacing: 0; }

.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;
}

.app-icon {
  display: block;
  clip-path: inset(0 round 23%);
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 max(22px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid #27333b;
  background: color-mix(in srgb, var(--hero) 94%, transparent);
  color: var(--hero-ink);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--hero-ink);
  text-decoration: none;
}

.brand strong { font-size: 17px; }

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

.header-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: #ced9df;
  text-decoration: none;
  font-size: 13px;
  font-weight: 750;
}

.header-link:hover { color: var(--accent); }

.language-switch select {
  width: min(190px, 31vw);
  height: 40px;
  padding: 0 32px 0 11px;
  border: 1px solid #34434c;
  border-radius: 7px;
  background: #1b272f;
  color: var(--hero-ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.language-switch select:focus-visible,
a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 72%, white);
  outline-offset: 3px;
}

main { overflow: hidden; }

.hero {
  min-height: min(680px, calc(100svh - 96px));
  overflow: hidden;
  border-bottom: 1px solid #29363e;
  background: var(--hero);
  color: var(--hero-ink);
}

.hero-inner {
  position: relative;
  width: min(1180px, calc(100% - 44px));
  min-height: inherit;
  display: flex;
  align-items: center;
  margin: 0 auto;
  padding: 72px 0;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(660px, 63%);
}

.hero-icon {
  position: absolute;
  right: -20px;
  top: 50%;
  width: clamp(310px, 39vw, 500px);
  height: auto;
  transform: translateY(-50%);
  filter: drop-shadow(0 32px 48px rgba(0, 0, 0, 0.34));
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.hero .eyebrow { color: var(--accent); }

.hero h1 {
  margin: 0;
  font-size: clamp(64px, 8vw, 108px);
  line-height: 0.96;
  font-weight: 820;
}

.hero-lead {
  max-width: 620px;
  margin: 26px 0 0;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.18;
  font-weight: 720;
}

.hero-body {
  max-width: 570px;
  margin: 18px 0 0;
  color: var(--hero-muted);
  font-size: 16px;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.play-store-badge {
  position: relative;
  width: 202px;
  height: 60px;
  overflow: hidden;
  border-radius: 10px;
  background: #000000;
  box-shadow: 0 0 0 1px #687177;
}

.play-store-badge img {
  position: absolute;
  left: -15px;
  top: -14px;
  width: 232px;
  max-width: none;
  height: auto;
}

.ios-status {
  width: 202px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 17px;
  border: 1px solid #53616a;
  border-radius: 10px;
  background: #151d23;
  color: var(--hero-ink);
}

.ios-device-mark {
  position: relative;
  width: 28px;
  height: 40px;
  flex: 0 0 28px;
  border: 2px solid #f3f8fa;
  border-radius: 7px;
}

.ios-device-mark::before {
  position: absolute;
  top: 3px;
  left: 50%;
  width: 10px;
  height: 2px;
  border-radius: 2px;
  background: #f3f8fa;
  content: "";
  transform: translateX(-50%);
}

.ios-device-mark span {
  position: absolute;
  right: 3px;
  bottom: 3px;
  left: 3px;
  height: 24px;
  border-radius: 3px;
  background: #27343c;
}

.ios-copy {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.ios-copy strong {
  font-size: 17px;
  line-height: 1.1;
}

.ios-copy span {
  color: #b9c5cc;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.25;
  text-transform: uppercase;
}

.manual-cta,
.manual-button {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

.manual-cta { margin-top: 20px; }
.manual-cta span:last-child,
.manual-button span:last-child { font-size: 20px; }

.trust-strip {
  width: min(1180px, calc(100% - 44px));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.trust-strip div {
  min-height: 104px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 20px 28px;
  border-right: 1px solid var(--line);
}

.trust-strip div:first-child { border-left: 1px solid var(--line); }
.trust-strip strong { color: var(--accent-strong); font-size: 11px; }
.trust-strip span { font-size: 14px; font-weight: 720; }

.product-band,
.security-band,
.manual-band,
.site-footer {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.product-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(360px, 1.18fr);
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
  padding: 96px 0;
}

.product-preview { display: flex; justify-content: center; }

.phone-frame {
  width: min(328px, 82vw);
  aspect-ratio: 9 / 18;
  padding: 11px;
  border: 1px solid #3a4851;
  border-radius: 28px;
  background: var(--hero);
  color: #eef6fa;
  box-shadow: 0 28px 56px rgba(25, 49, 65, 0.18);
}

.phone-status {
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  color: #aebbc4;
  font-size: 10px;
}

.app-bar {
  height: 62px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 9px;
  border-bottom: 1px solid #2a3740;
}

.app-bar div { min-width: 0; display: grid; flex: 1; }
.app-bar strong { font-size: 14px; }
.app-bar small { color: #6fd0b2; font-size: 10px; }
.app-action { color: #8dd9f3; font-size: 22px; }

.chat-surface {
  position: relative;
  height: calc(100% - 90px);
  padding: 24px 10px 66px;
  overflow: hidden;
  background: #141d24;
}

.day-marker {
  width: max-content;
  margin: 0 auto 24px;
  padding: 4px 9px;
  border-radius: 7px;
  background: #26343e;
  color: #a9bac6;
  font-size: 9px;
}

.bubble {
  width: max-content;
  max-width: 78%;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 11px 12px;
  border-radius: 8px;
  font-size: 12px;
}

.bubble-in { background: #25323b; }
.bubble-out { margin-left: auto; background: #b7e5f4; color: #12303d; }
.bubble small { display: block; font-size: 8px; opacity: 0.74; }
.file-mark { color: #8fdaf4; }
.waveform { font-size: 16px; }

.call-row {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  padding: 15px;
  border: 1px solid #33434e;
  border-radius: 8px;
  background: #1c2830;
}

.call-row > span { grid-row: 1 / 3; color: var(--mint); font-size: 24px; }
.call-row strong { font-size: 15px; }
.call-row small { color: #7bcfb7; font-size: 9px; }

.composer {
  position: absolute;
  right: 8px;
  bottom: 10px;
  left: 8px;
  height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border: 1px solid #34444f;
  border-radius: 8px;
  background: #202d35;
  color: #8fdaf4;
}

.composer-line { height: 7px; flex: 1; border-radius: 4px; background: #52626d; }

.feature-copy h2,
.security-copy h2,
.manual-band h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.1;
}

.feature-list { margin-top: 38px; border-top: 1px solid var(--line); }

.feature-list article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}

.feature-index { color: var(--accent-strong); font-size: 12px; font-weight: 850; }
.feature-list h3 { margin: 0; font-size: 19px; }
.feature-list p { margin: 7px 0 0; color: var(--muted); }

.security-section { width: 100%; background: var(--hero); color: var(--hero-ink); }

.security-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 100px);
  padding: 88px 0;
}

.security-copy > p:last-child { margin: 18px 0 0; color: var(--hero-muted); }
.security-section .section-label { color: var(--accent); }
.security-points { list-style: none; margin: 0; padding: 0; }
.security-points li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid #33424c; }
.security-points li:first-child { border-top: 1px solid #33424c; }
.security-points span { color: #74d2f1; font-size: 12px; font-weight: 850; }
.security-points p { margin: 0; }

.manual-band {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
  padding: 92px 0;
}

.manual-band > div > p:last-child { max-width: 700px; margin: 16px 0 0; color: var(--muted); }
.manual-button { min-height: 48px; padding: 0 18px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); }
.manual-button:hover { border-color: var(--accent-strong); color: var(--accent-strong); }

.site-footer {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
}

.footer-brand { display: flex; align-items: center; gap: 11px; }
.footer-brand > div { display: grid; }
.site-footer small { margin-top: 3px; color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer a { color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 700; }
.site-footer a:hover { color: var(--accent-strong); }

html[dir="rtl"] .hero-icon { right: auto; left: -20px; }
html[dir="rtl"] .bubble-out { margin-right: auto; margin-left: 0; }
html[dir="rtl"] .play-store-badge img { right: -15px; left: auto; }

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121a20;
    --surface: #172129;
    --surface-soft: #202c34;
    --ink: #edf5f8;
    --muted: #a9b8c1;
    --line: #34434d;
    --accent-strong: #89dbf5;
  }
}

@media (max-width: 840px) {
  .header-link[href="#features"] { display: none; }
  .hero-inner { min-height: 670px; align-items: flex-start; padding-top: 64px; }
  .hero-copy { width: 100%; }
  .hero-body { max-width: 76%; }
  .hero-icon { right: -82px; top: auto; bottom: -78px; width: 350px; transform: none; opacity: 0.62; }
  html[dir="rtl"] .hero-icon { right: auto; left: -82px; }
  .product-band { grid-template-columns: 1fr; }
  .product-preview { order: 2; }
  .security-band { grid-template-columns: 1fr; }
  .manual-band { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 620px) {
  :root { --header-height: 64px; }
  .site-header { padding: 0 14px; }
  .brand strong { display: none; }
  .brand img { width: 38px; height: 38px; }
  .header-link { padding: 0 7px; font-size: 12px; }
  .language-switch select { width: 128px; padding-left: 8px; font-size: 12px; }
  .hero-inner { width: calc(100% - 36px); min-height: 700px; padding-top: 44px; }
  .hero h1 { font-size: 60px; }
  .hero-lead { margin-top: 20px; font-size: 24px; }
  .hero-body { max-width: 100%; font-size: 14px; }
  .hero-icon { right: -112px; bottom: -76px; width: 300px; opacity: 0.34; }
  html[dir="rtl"] .hero-icon { right: auto; left: -112px; }
  .store-row { max-width: 202px; gap: 10px; }
  .manual-cta { margin-top: 17px; }
  .trust-strip { width: 100%; grid-template-columns: 1fr; }
  .trust-strip div { min-height: 76px; padding: 15px 18px; border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-strip div:first-child { border-left: 0; }
  .product-band, .security-band, .manual-band, .site-footer { width: min(100% - 30px, 1180px); }
  .product-band { padding: 68px 0; gap: 52px; }
  .feature-copy h2, .security-copy h2, .manual-band h2 { font-size: 31px; }
  .security-band { padding: 64px 0; }
  .manual-band { padding: 68px 0; }
  .manual-button { width: 100%; justify-content: space-between; }
  .site-footer { align-items: flex-start; flex-direction: column; padding: 30px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
