:root {
  --obsidian: #061116;
  --obsidian-deep: #030a0d;
  --material: #0b1d23;
  --material-raised: #10262d;
  --material-soft: #142a31;
  --text: #e9f2ef;
  --text-soft: #9bb0ad;
  --text-faint: #6f8583;
  --jade: #72d7c3;
  --jade-deep: #3ba792;
  --trust: #5b84ff;
  --risk: #e77b5b;
  --line: rgba(144, 178, 175, .2);
  --line-strong: rgba(114, 215, 195, .38);
  --content: 1180px;
  color: var(--text);
  background: var(--obsidian);
  font: 400 16px/1.7 -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--obsidian); }
body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 76% 4%, rgba(91, 132, 255, .11), transparent 29rem),
    linear-gradient(rgba(114, 215, 195, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(114, 215, 195, .025) 1px, transparent 1px),
    var(--obsidian);
  background-size: auto, 48px 48px, 48px 48px, auto;
}
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
svg { display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
#features, #download { scroll-margin-top: 92px; }

:focus-visible { outline: 2px solid var(--jade); outline-offset: 4px; }

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  min-height: 74px;
  padding: 13px max(24px, calc((100vw - var(--content)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(114, 215, 195, .14);
  background: rgba(6, 17, 22, .88);
  backdrop-filter: blur(18px) saturate(130%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font: 650 18px/1 "Avenir Next", "SF Pro Display", "PingFang SC", sans-serif;
  letter-spacing: .015em;
}
.brand-mark {
  position: relative;
  width: 38px;
  height: 38px;
  padding: 8px;
  display: grid;
  place-items: center;
  color: var(--text);
  border: 1px solid rgba(114, 215, 195, .62);
  background: linear-gradient(145deg, rgba(114, 215, 195, .11), rgba(91, 132, 255, .08));
  clip-path: polygon(0 0, 75% 0, 100% 25%, 100% 100%, 25% 100%, 0 75%);
}
.brand-mark::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  inset: 5px 5px auto auto;
  background: var(--trust);
  box-shadow: 0 0 10px rgba(91, 132, 255, .7);
}
.brand-mark svg { width: 100%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.site-header nav { display: flex; align-items: center; gap: 26px; color: var(--text-soft); font-size: 13px; font-weight: 580; }
.site-header nav > a { position: relative; transition: color .18s ease; }
.site-header nav > a::after {
  content: "";
  position: absolute;
  inset: auto 0 -9px;
  height: 1px;
  background: var(--jade);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}
.site-header nav > a:hover { color: var(--text); }
.site-header nav > a:hover::after { transform: scaleX(1); }
.language-control select {
  max-width: 132px;
  min-height: 38px;
  padding: 7px 31px 7px 11px;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--material);
  cursor: pointer;
  color-scheme: dark;
}

main { position: relative; overflow: hidden; }
main::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 68px;
  bottom: 78px;
  left: max(22px, calc((100vw - var(--content)) / 2 + 18px));
  width: 1px;
  background:
    linear-gradient(180deg, transparent, var(--jade) 7%, var(--jade) 24%, var(--trust) 44%, var(--jade) 70%, transparent),
    repeating-linear-gradient(180deg, transparent 0 8px, rgba(114, 215, 195, .72) 8px 10px, transparent 10px 19px);
  opacity: .48;
  background-size: 100% 100%, 100% 38px;
  animation: cipherRail 11s linear infinite;
}

.hero,
.features,
.download,
.capability-index,
.security-flow,
.usage-note {
  position: relative;
  z-index: 1;
  width: min(var(--content), calc(100% - 48px));
  margin-inline: auto;
  padding-inline-start: 74px;
}
.hero::before,
.features::before,
.download::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 116px;
  left: 13px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--jade);
  background: var(--obsidian);
  transform: rotate(45deg);
  box-shadow: 0 0 0 5px rgba(114, 215, 195, .055);
}
.hero::after,
.features::after,
.download::after {
  content: "";
  position: absolute;
  top: 120px;
  left: 22px;
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--jade), transparent);
  opacity: .52;
}

.hero {
  min-height: 650px;
  padding-block: 104px 92px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, .82fr);
  align-items: center;
  gap: clamp(50px, 7vw, 92px);
}
.hero-copy { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--jade);
  font: 650 11px/1.2 "SFMono-Regular", "SF Mono", Menlo, monospace;
  letter-spacing: .15em;
}
.hero-badge::before { content: ""; width: 27px; height: 1px; background: var(--jade); box-shadow: 9px 0 0 rgba(114, 215, 195, .28); }
.hero h1 {
  max-width: 720px;
  margin: 27px 0 24px;
  color: var(--text);
  font: 600 clamp(52px, 5.9vw, 78px)/1.04 "Avenir Next", "SF Pro Display", "PingFang SC", sans-serif;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.hero-copy > p { max-width: 660px; margin: 0; color: var(--text-soft); font-size: clamp(16px, 1.7vw, 19px); line-height: 1.86; text-wrap: pretty; }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  position: relative;
  min-height: 52px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 700;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.button::before { content: ""; position: absolute; top: -1px; right: -1px; width: 12px; height: 12px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; }
.button i { font-size: 17px; font-style: normal; }
.button:hover { transform: translateY(-2px); }
.button.primary { min-width: 196px; color: #04120f; background: var(--jade); border: 1px solid var(--jade); }
.button.primary:hover { background: #8ce6d4; border-color: #8ce6d4; }
.button.secondary { min-width: 218px; color: var(--text); border: 1px solid rgba(91, 132, 255, .62); background: rgba(91, 132, 255, .07); }
.button.secondary:hover { border-color: var(--trust); background: rgba(91, 132, 255, .13); }

.chat-preview {
  position: relative;
  min-height: 480px;
  padding: 17px 23px 24px;
  overflow: hidden;
  border: 1px solid rgba(114, 215, 195, .32);
  border-radius: 12px 12px 12px 2px;
  background:
    linear-gradient(rgba(114, 215, 195, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(114, 215, 195, .035) 1px, transparent 1px),
    linear-gradient(160deg, rgba(20, 42, 49, .96), rgba(6, 17, 22, .98));
  background-size: 28px 28px, 28px 28px, auto;
  box-shadow: 0 34px 80px rgba(0, 0, 0, .42), 0 0 0 1px rgba(91, 132, 255, .06) inset;
}
.chat-preview::before { content: ""; position: absolute; top: 0; right: 0; width: 88px; height: 1px; background: linear-gradient(90deg, transparent, var(--trust)); }
.chat-preview::after { content: ""; position: absolute; right: 14px; bottom: 14px; width: 8px; height: 8px; border-right: 1px solid var(--jade); border-bottom: 1px solid var(--jade); }
.instrument-line {
  position: relative;
  z-index: 1;
  padding-bottom: 14px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  color: var(--text-faint);
  font: 550 8px/1 "SFMono-Regular", "SF Mono", Menlo, monospace;
  letter-spacing: .13em;
}
.instrument-line i { height: 1px; background: repeating-linear-gradient(90deg, rgba(114, 215, 195, .45) 0 6px, transparent 6px 12px); }
.instrument-line span:last-child { color: var(--jade); }
.preview-head { position: relative; z-index: 1; padding: 17px 0 19px; display: flex; align-items: center; gap: 13px; border-block: 1px solid var(--line); }
.preview-avatar { width: 43px; height: 43px; display: grid; place-items: center; color: var(--jade); border: 1px solid rgba(114, 215, 195, .48); border-radius: 5px; background: rgba(114, 215, 195, .07); font-weight: 750; }
.preview-head p { min-width: 0; margin: 0; display: grid; gap: 1px; flex: 1; }
.preview-head strong { color: var(--text); font-size: 14px; font-weight: 650; }
.preview-head small { color: var(--jade); font-size: 10px; }
.preview-lock { width: 29px; height: 29px; display: grid; place-items: center; color: var(--jade); border: 1px solid rgba(114, 215, 195, .55); border-radius: 50%; background: rgba(114, 215, 195, .08); font-size: 12px; font-weight: 900; }
.preview-note { position: relative; z-index: 1; width: fit-content; margin: 18px auto 22px; padding: 5px 9px; color: var(--text-faint); border: 1px solid rgba(144, 178, 175, .12); border-radius: 3px; background: rgba(6, 17, 22, .56); font: 500 9px/1.4 "SFMono-Regular", "SF Mono", Menlo, monospace; }
.message { position: relative; z-index: 1; width: fit-content; max-width: 82%; margin: 10px 0; padding: 11px 13px; border-radius: 8px; font-size: 12px; line-height: 1.55; }
.message.incoming { color: #c8d7d3; border: 1px solid rgba(144, 178, 175, .18); border-bottom-left-radius: 2px; background: rgba(20, 42, 49, .76); }
.message.outgoing { margin-left: auto; color: #dffbf4; border: 1px solid rgba(114, 215, 195, .36); border-bottom-right-radius: 2px; background: rgba(59, 167, 146, .18); }
.message.attachment { display: flex; align-items: center; gap: 8px; }
.message.attachment span { color: var(--jade); font-size: 16px; }
.preview-compose { position: absolute; z-index: 1; left: 23px; right: 23px; bottom: 24px; height: 49px; padding: 0 9px 0 14px; display: flex; align-items: center; justify-content: space-between; color: var(--text-faint); border: 1px solid var(--line); border-radius: 5px; background: rgba(6, 17, 22, .72); font-size: 11px; }
.preview-compose b { width: 31px; height: 31px; display: grid; place-items: center; color: #04120f; border-radius: 3px; background: var(--jade); }

.capability-index {
  min-height: 92px;
  padding-block: 18px;
  display: grid;
  grid-template-columns: 128px repeat(4, minmax(0, 1fr));
  align-items: stretch;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(114, 215, 195, .035), transparent 50%, rgba(91, 132, 255, .035));
}
.capability-kicker { padding-right: 22px; display: flex; align-items: center; color: var(--text-faint); font: 550 8px/1.5 "SFMono-Regular", "SF Mono", Menlo, monospace; letter-spacing: .12em; }
.capability-item { min-width: 0; padding: 7px 18px; display: flex; align-items: center; gap: 10px; color: var(--text-soft); border-left: 1px solid var(--line); font-size: 11px; line-height: 1.55; }
.capability-item i { width: 5px; height: 5px; flex: 0 0 auto; border: 1px solid var(--jade); transform: rotate(45deg); }
.capability-item.is-future i { border-color: var(--trust); }

.security-flow { padding-block: 94px 18px; }
.flow-head { margin-bottom: 30px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.flow-head > span { order: 2; color: var(--text-faint); font: 550 9px/1.4 "SFMono-Regular", "SF Mono", Menlo, monospace; letter-spacing: .14em; }
.flow-head h2 { margin: 0; color: var(--text); font: 600 clamp(28px, 3.2vw, 40px)/1.15 "Avenir Next", "SF Pro Display", "PingFang SC", sans-serif; letter-spacing: -.035em; }
.flow-track { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr) 44px minmax(0, 1fr) 44px minmax(0, 1fr); align-items: center; }
.flow-track::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: 50%; height: 1px; background: linear-gradient(90deg, var(--jade), rgba(114, 215, 195, .24) 55%, var(--trust)); }
.flow-step { min-height: 92px; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; border: 1px solid var(--line); background: rgba(11, 29, 35, .94); box-shadow: 0 18px 32px rgba(0, 0, 0, .15); }
.flow-step small { color: var(--jade); font: 550 8px/1.2 "SFMono-Regular", "SF Mono", Menlo, monospace; letter-spacing: .12em; }
.flow-step strong { color: var(--text); font-size: 12px; font-weight: 620; line-height: 1.55; }
.flow-connector { position: relative; height: 1px; background: rgba(114, 215, 195, .38); }
.flow-connector::after { content: ""; position: absolute; right: 0; top: -3px; width: 6px; height: 6px; border-top: 1px solid var(--jade); border-right: 1px solid var(--jade); transform: rotate(45deg); }
.flow-boundary { margin: 18px 0 0; padding: 13px 15px; color: #c2aaa2; border-left: 2px solid var(--risk); background: rgba(231, 123, 91, .055); font-size: 11px; line-height: 1.7; }

.features,
.download { padding-block: 108px; }
.section-head { max-width: 720px; margin-bottom: 42px; }
.section-head h2 { margin: 0; color: var(--text); font: 600 clamp(35px, 4vw, 50px)/1.16 "Avenir Next", "SF Pro Display", "PingFang SC", sans-serif; letter-spacing: -.045em; }
.section-head p { margin: 11px 0 0; color: var(--text-soft); font-size: 15px; }
.feature-grid,
.platform-grid { display: grid; }
.feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.feature-grid article { position: relative; min-height: 330px; padding: 30px 30px 32px; overflow: hidden; border-left: 1px solid var(--line); background: transparent; }
.feature-grid article:first-child { border-left: 0; }
.feature-grid article::after { content: ""; position: absolute; top: 0; left: 30px; width: 56px; height: 1px; background: var(--jade); opacity: .7; }
.feature-grid article.future::after { background: var(--trust); }
.feature-icon { width: 40px; height: 40px; display: grid; place-items: center; color: var(--jade); border: 1px solid rgba(114, 215, 195, .36); background: rgba(114, 215, 195, .055); clip-path: polygon(0 0, 74% 0, 100% 26%, 100% 100%, 26% 100%, 0 74%); font-size: 17px; }
.feature-card.future .feature-icon { color: var(--trust); border-color: rgba(91, 132, 255, .38); background: rgba(91, 132, 255, .06); }
.feature-state { width: fit-content; margin-top: 27px; display: block; color: var(--jade); font: 600 9px/1.45 "SFMono-Regular", "SF Mono", Menlo, monospace; letter-spacing: .055em; }
.future .feature-state { color: #8faaff; }
.feature-grid h3 { margin: 13px 0 10px; color: var(--text); font-size: 22px; font-weight: 620; letter-spacing: -.025em; }
.feature-grid p { margin: 0; color: var(--text-soft); font-size: 13px; line-height: 1.86; }

.download { padding-top: 90px; }
.device-route {
  position: relative;
  margin-bottom: 34px;
  padding: 18px 19px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  overflow: hidden;
  border: 1px solid rgba(91, 132, 255, .34);
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(91, 132, 255, .09), rgba(11, 29, 35, .78) 36%, rgba(114, 215, 195, .045));
}
.device-route::before { content: ""; position: absolute; top: 0; left: 0; width: 26%; height: 1px; background: linear-gradient(90deg, var(--trust), transparent); }
.device-glyph { width: 46px; height: 46px; display: grid; place-items: center; color: #dce6ff; border: 1px solid rgba(91, 132, 255, .6); border-radius: 4px; background: rgba(91, 132, 255, .12); font: 650 14px/1 "SFMono-Regular", "SF Mono", Menlo, monospace; }
.device-route > div { min-width: 0; display: grid; gap: 1px; }
.device-route small { color: #8faaff; font: 600 9px/1.4 "SFMono-Regular", "SF Mono", Menlo, monospace; letter-spacing: .08em; }
.device-route strong { color: var(--text); font-size: 15px; font-weight: 650; }
.device-route p { margin: 0; color: var(--text-soft); font-size: 12px; }
.device-action { min-width: 180px; min-height: 43px; padding: 9px 13px; display: flex; align-items: center; justify-content: space-between; gap: 15px; color: #04120f; border-radius: 4px; background: var(--jade); font-size: 12px; font-weight: 750; transition: background .18s ease, transform .18s ease; }
.device-action:hover { background: #8ce6d4; transform: translateY(-1px); }
.device-action i { font-size: 15px; font-style: normal; }
.device-action.is-manual { color: var(--text); border: 1px solid rgba(91, 132, 255, .48); background: rgba(91, 132, 255, .09); }

.platform-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 38px; border-bottom: 1px solid var(--line); }
.platform-card { position: relative; min-height: 258px; padding: 28px 18px 27px; display: flex; flex-direction: column; border-top: 1px solid var(--line); background: transparent; transition: border-color .18s ease, background .18s ease; }
.platform-card:hover { border-color: rgba(114, 215, 195, .48); background: rgba(114, 215, 195, .025); }
.platform-card.is-device-match { border-color: var(--jade); background: linear-gradient(90deg, rgba(114, 215, 195, .075), transparent 72%); box-shadow: inset 2px 0 0 var(--jade); }
.platform-card.is-device-match::after { content: ""; position: absolute; top: -1px; right: 0; width: 28px; height: 1px; background: var(--jade); }
.platform-title { display: flex; align-items: center; gap: 13px; }
.platform-icon { width: 42px; height: 42px; display: grid; place-items: center; color: #afc2ff; border: 1px solid rgba(91, 132, 255, .38); border-radius: 4px; background: rgba(91, 132, 255, .065); font: 650 13px/1 "SFMono-Regular", "SF Mono", Menlo, monospace; }
.platform-icon.android,
.platform-icon.apple { color: var(--jade); border-color: rgba(114, 215, 195, .38); background: rgba(114, 215, 195, .06); }
.platform-title h3 { margin: 0; color: var(--text); font-size: 18px; font-weight: 640; letter-spacing: -.015em; }
.platform-title small { color: var(--jade); font: 600 9px/1.5 "SFMono-Regular", "SF Mono", Menlo, monospace; letter-spacing: .04em; }
.platform-card > p { margin: 19px 0 22px; color: var(--text-soft); font-size: 12px; line-height: 1.78; }
.platform-card > a { width: fit-content; min-height: 39px; margin-top: auto; padding: 9px 24px 7px 0; position: relative; color: var(--jade); border-bottom: 1px solid rgba(114, 215, 195, .42); font-size: 12px; font-weight: 700; transition: color .18s ease, border-color .18s ease; }
.platform-card > a::after { content: "↗"; position: absolute; right: 2px; top: 8px; font-size: 13px; }
.platform-card > a:hover { color: var(--text); border-color: var(--text); }
.platform-card > a.web-fallback { margin-top: 7px; color: var(--text-soft); border-color: var(--line); }
.platform-card > a.web-fallback:hover { color: var(--jade); border-color: var(--jade); }
.platform-card > .link-fallback { width: 100%; margin: 13px 0 0; padding-top: 12px; color: var(--text-faint); border-top: 1px solid var(--line); font-size: 10px; line-height: 1.6; overflow-wrap: anywhere; }
.link-fallback a { color: var(--jade); text-decoration: underline; text-underline-offset: 3px; }

.usage-note { margin-bottom: 96px; padding-block: 18px; padding-right: 18px; display: flex; align-items: flex-start; gap: 14px; color: #b8a7a1; border-block: 1px solid rgba(231, 123, 91, .22); background: linear-gradient(90deg, rgba(231, 123, 91, .055), transparent 75%); }
.usage-note > span { width: 26px; height: 26px; display: grid; place-items: center; flex: 0 0 auto; color: var(--risk); border: 1px solid rgba(231, 123, 91, .55); border-radius: 50%; font: 700 12px/1 "SFMono-Regular", "SF Mono", Menlo, monospace; }
.usage-note strong { color: #e5c7bd; font-size: 12px; }
.usage-note p { margin: 3px 0 0; font-size: 11px; line-height: 1.75; }

.site-footer { min-height: 126px; padding: 30px max(24px, calc((100vw - var(--content)) / 2)); display: flex; align-items: center; gap: 24px; color: var(--text-faint); border-top: 1px solid var(--line); background: var(--obsidian-deep); font-size: 11px; }
.site-footer .brand { margin-right: 5px; color: var(--text); font-size: 15px; }
.site-footer .brand-mark { width: 32px; height: 32px; }
.site-footer p { margin: 0 auto 0 0; }
.site-footer > a:last-child { color: var(--jade); font-weight: 650; }

.web-launch { min-height: 100vh; align-items: center; grid-template-columns: minmax(0, 760px); }
.web-launch .hero-copy { padding-block: 70px; }
.web-launch .link-fallback,
.web-launch .launch-boundary { margin-top: 19px; color: var(--text-soft); line-height: 1.75; overflow-wrap: anywhere; }
.web-launch .link-fallback { padding: 14px 16px; border-left: 2px solid var(--jade); background: rgba(114, 215, 195, .045); font-size: 12px; }
.web-launch .launch-boundary { color: #b8a7a1; font-size: 12px; }

@keyframes cipherRail {
  from { background-position: 0 0, 0 0; }
  to { background-position: 0 0, 0 228px; }
}

@media (max-width: 1040px) {
  .hero { grid-template-columns: 1fr; gap: 58px; padding-top: 86px; }
  .hero-copy { max-width: 820px; }
  .chat-preview { width: min(560px, 88%); margin-inline: auto 0; }
  .capability-index { grid-template-columns: 110px repeat(2, minmax(0, 1fr)); }
  .capability-kicker { grid-row: 1 / span 2; }
  .capability-item { min-height: 48px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { min-height: 0; border-left: 0; border-top: 1px solid var(--line); }
  .feature-grid article:first-child { border-top: 0; }
}

@media (max-width: 760px) {
  .site-header { min-height: 66px; padding: 11px 16px; }
  .site-header nav { gap: 12px; }
  .site-header nav > a { display: none; }
  .language-control select { max-width: 114px; min-height: 36px; padding-top: 6px; padding-bottom: 6px; }
  .brand { gap: 9px; font-size: 16px; }
  .brand-mark { width: 34px; height: 34px; }

  main::before { left: 14px; top: 44px; bottom: 46px; }
  .hero,
  .features,
  .download,
  .capability-index,
  .security-flow,
  .usage-note { width: calc(100% - 28px); padding-inline-start: 25px; }
  .hero::before,
  .features::before,
  .download::before { left: -4px; top: 74px; width: 8px; height: 8px; }
  .hero::after,
  .features::after,
  .download::after { left: 5px; top: 78px; width: 14px; }

  .hero { min-height: 0; padding-block: 66px 68px; gap: 42px; }
  .hero h1 { margin: 22px 0 21px; font-size: clamp(42px, 12.2vw, 58px); line-height: 1.08; }
  .hero-copy > p { font-size: 15px; line-height: 1.82; }
  .hero-actions { display: grid; margin-top: 30px; }
  .button { width: 100%; }
  .chat-preview { width: 100%; min-height: 425px; margin: 0; padding: 15px 17px 19px; }
  .instrument-line { gap: 8px; letter-spacing: .08em; }
  .preview-compose { left: 17px; right: 17px; bottom: 19px; }

  .capability-index { padding-block: 15px; grid-template-columns: 1fr; }
  .capability-kicker { min-height: 32px; grid-row: auto; border-bottom: 1px solid var(--line); }
  .capability-item { min-height: 43px; padding: 6px 0; border-left: 0; border-bottom: 1px solid rgba(144, 178, 175, .1); }
  .capability-item:last-child { border-bottom: 0; }

  .security-flow { padding-block: 72px 0; }
  .flow-head { margin-bottom: 24px; align-items: flex-start; flex-direction: column; gap: 8px; }
  .flow-head > span { order: 0; }
  .flow-track { grid-template-columns: 1fr; }
  .flow-track::before { top: 0; bottom: 0; left: 17px; right: auto; width: 1px; height: auto; background: linear-gradient(var(--jade), rgba(114, 215, 195, .25), var(--trust)); }
  .flow-step { grid-column: 1; min-height: 78px; margin-top: 0; margin-left: 34px; padding: 15px; gap: 12px; }
  .flow-connector { grid-column: 1; width: 35px; height: 25px; margin-top: 0; background: transparent; }
  .flow-connector::after { right: auto; left: 14px; top: 8px; transform: rotate(135deg); }
  .flow-boundary { margin-top: 17px; }

  .features,
  .download { padding-block: 78px; }
  .download { padding-top: 72px; }
  .section-head { margin-bottom: 30px; }
  .section-head h2 { font-size: 36px; }
  .feature-grid article { padding: 25px 0 27px; }
  .feature-grid article::after { left: 0; }

  .device-route { grid-template-columns: auto 1fr; margin-bottom: 26px; padding: 15px; }
  .device-action { grid-column: 1 / -1; width: 100%; min-width: 0; }
  .platform-grid { grid-template-columns: 1fr; gap: 0; }
  .platform-card { min-height: 0; padding: 25px 0; }
  .platform-card.is-device-match { padding-inline: 14px; margin-inline: -14px; }
  .usage-note { margin-bottom: 70px; padding-right: 0; }

  .site-footer { padding: 27px 18px; flex-wrap: wrap; gap: 12px 18px; }
  .site-footer p { width: calc(100% - 50px); margin-right: 0; }
  .web-launch .hero-copy { padding-block: 30px; }
}

@media (max-width: 390px) {
  .site-header { padding-inline: 12px; }
  .brand { font-size: 15px; }
  .language-control select { max-width: 105px; }
  .hero h1 { font-size: 41px; }
  .instrument-line span:first-child { max-width: 122px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .message { max-width: 88%; }
  .flow-step strong { font-size: 11px; }
}

[dir="rtl"] main::before { left: auto; right: max(22px, calc((100vw - var(--content)) / 2 + 18px)); }
[dir="rtl"] .hero::before,
[dir="rtl"] .features::before,
[dir="rtl"] .download::before { left: auto; right: 13px; }
[dir="rtl"] .hero::after,
[dir="rtl"] .features::after,
[dir="rtl"] .download::after { left: auto; right: 22px; background: linear-gradient(270deg, var(--jade), transparent); }
[dir="rtl"] .site-header nav > a::after { transform-origin: right; }
[dir="rtl"] .message.outgoing { margin-left: 0; margin-right: auto; }
[dir="rtl"] .capability-item,
[dir="rtl"] .feature-grid article { border-left: 0; border-right: 1px solid var(--line); }
[dir="rtl"] .capability-item:first-of-type,
[dir="rtl"] .feature-grid article:first-child { border-right: 0; }
[dir="rtl"] .flow-connector::after { right: auto; left: 0; transform: rotate(225deg); }
[dir="rtl"] .platform-card > a { padding-right: 0; padding-left: 24px; }
[dir="rtl"] .platform-card > a::after { right: auto; left: 2px; }
[dir="rtl"] .flow-boundary,
[dir="rtl"] .web-launch .link-fallback { border-left: 0; border-right: 2px solid var(--risk); }

@media (max-width: 760px) {
  [dir="rtl"] main::before { left: auto; right: 14px; }
  [dir="rtl"] .hero::before,
  [dir="rtl"] .features::before,
  [dir="rtl"] .download::before { left: auto; right: -4px; }
  [dir="rtl"] .hero::after,
  [dir="rtl"] .features::after,
  [dir="rtl"] .download::after { left: auto; right: 5px; }
  [dir="rtl"] .flow-track::before { left: auto; right: 17px; }
  [dir="rtl"] .flow-step { margin-left: 0; margin-right: 34px; }
  [dir="rtl"] .flow-connector::after { left: auto; right: 14px; transform: rotate(225deg); }
  [dir="rtl"] .capability-item,
  [dir="rtl"] .feature-grid article { border-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
