:root {
  color: #172237;
  background: #ffffff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --blue: #126fe8;
  --blue-dark: #0755bd;
  --blue-soft: #eaf3ff;
  --ink: #172237;
  --muted: #66758b;
  --line: #d9e1ec;
  --surface: #ffffff;
  --soft: #f4f7fb;
  --red: #e54848;
  --green: #187b59;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

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

body {
  min-width: 320px;
  margin: 0;
  background: #ffffff;
  color: var(--ink);
}

body:has(dialog[open]) {
  overflow: hidden;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:not(:disabled),
a {
  cursor: pointer;
}

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

img {
  max-width: 100%;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(18, 111, 232, 0.3);
  outline-offset: 3px;
}

.section-inner,
.header-inner,
.hero-inner {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.section-space {
  padding: 96px 0;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(213, 223, 235, 0.9);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  min-width: 190px;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 900;
}

.brand img {
  width: 72px;
  height: 40px;
  object-fit: contain;
}

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

.desktop-nav a,
.footer-links a,
.footer-links button {
  border: 0;
  background: transparent;
  color: #4e5e73;
  font-size: 0.92rem;
  font-weight: 750;
}

.desktop-nav a:hover,
.footer-links a:hover,
.footer-links button:hover {
  color: var(--blue);
}

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

.header-contact,
.header-download,
.icon-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 6px;
  font-weight: 850;
}

.header-contact {
  border: 1px solid #cbd7e8;
  padding: 0 13px;
  background: #ffffff;
  color: #35475f;
}

.header-download {
  border: 1px solid var(--blue);
  padding: 0 15px;
  background: var(--blue);
  color: #ffffff;
}

.header-contact:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.header-download:hover,
.button-primary:hover,
.button-download:hover {
  background: var(--blue-dark);
}

.icon-button {
  width: 42px;
  border: 1px solid #cbd7e8;
  background: #ffffff;
  color: #40536b;
}

.menu-button,
.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  height: calc(100svh - 128px);
  min-height: 590px;
  max-height: 760px;
  overflow: hidden;
  background: #10233f;
  color: #ffffff;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  object-position: top center;
}

.hero-overlay {
  background: rgba(8, 24, 46, 0.76);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  height: 100%;
  align-items: center;
}

.hero-copy {
  width: min(720px, 100%);
  padding: 36px 0 48px;
}

.release-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(190, 218, 255, 0.48);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(11, 49, 93, 0.62);
  color: #d9eaff;
  font-size: 0.86rem;
  font-weight: 800;
}

.hero h1 {
  margin-top: 22px;
  font-size: 4.7rem;
  line-height: 1;
}

.hero-copy > p {
  max-width: 680px;
  margin-top: 22px;
  color: #e1e9f4;
  font-size: 1.18rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 20px;
  font-weight: 900;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
}

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

.button-primary {
  background: var(--blue);
  color: #ffffff;
}

.button-quiet {
  border-color: rgba(218, 232, 249, 0.5);
  background: rgba(9, 28, 52, 0.54);
  color: #ffffff;
}

.button-quiet:hover {
  border-color: #ffffff;
  background: rgba(9, 28, 52, 0.78);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  margin-top: 28px;
  color: #c7d4e6;
  font-size: 0.86rem;
  font-weight: 700;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.trust-strip {
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 112px;
  align-items: center;
}

.trust-grid div {
  display: grid;
  gap: 4px;
  border-left: 1px solid var(--line);
  padding: 4px 28px;
}

.trust-grid div:last-child {
  border-right: 1px solid var(--line);
}

.trust-grid strong {
  color: var(--ink);
  font-size: 1.35rem;
}

.trust-grid span {
  color: var(--muted);
  font-size: 0.86rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.eyebrow {
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.section-heading h2,
.security-copy h2,
.download-layout h2 {
  color: var(--ink);
  font-size: 2.5rem;
  line-height: 1.2;
}

.section-heading p,
.download-layout > div > p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.app-frame {
  overflow: hidden;
  border: 1px solid #ced8e5;
  border-radius: 8px;
  background: #edf2f8;
  box-shadow: 0 24px 70px rgba(33, 57, 88, 0.16);
}

.window-bar {
  display: flex;
  height: 44px;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid #d5deea;
  padding: 0 14px;
  background: #ffffff;
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d4dbe5;
}

.window-bar span:first-child {
  background: #e65353;
}

.window-bar span:nth-child(2) {
  background: #dfa536;
}

.window-bar span:nth-child(3) {
  background: #3aa678;
}

.window-bar strong {
  margin-left: 8px;
  color: #68768a;
  font-size: 0.78rem;
}

.app-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.workflow-row {
  display: grid;
  grid-template-columns: 1fr 32px 1fr 32px 1fr;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 34px 0 0;
}

.workflow-row > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 12px;
  min-height: 88px;
  align-content: start;
}

.workflow-row > div > span {
  grid-row: 1 / 3;
  color: var(--blue);
  font-size: 1.55rem;
  font-weight: 950;
}

.workflow-row strong {
  color: var(--ink);
}

.workflow-row small {
  color: var(--muted);
  line-height: 1.5;
}

.workflow-row > svg {
  color: #b4c0d0;
}

.features-section {
  border-top: 1px solid #e1e7ef;
  border-bottom: 1px solid #e1e7ef;
  background: var(--soft);
}

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

.feature-card {
  min-height: 228px;
  border: 1px solid #dbe3ed;
  border-radius: 8px;
  padding: 25px;
  background: #ffffff;
  transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: #a9c7ef;
  box-shadow: 0 14px 32px rgba(31, 61, 98, 0.09);
}

.feature-card > svg {
  width: 28px;
  height: 28px;
  color: var(--blue);
}

.feature-card:nth-child(2) > svg,
.feature-card:nth-child(6) > svg {
  color: #138273;
}

.feature-card:nth-child(4) > svg {
  color: #d14f4f;
}

.feature-card h3 {
  margin-top: 24px;
  color: var(--ink);
  font-size: 1.1rem;
}

.feature-card p {
  margin-top: 11px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

.security-section {
  background: #17263a;
  color: #ffffff;
}

.security-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  align-items: center;
  gap: 64px;
}

.eyebrow.light {
  color: #87b9ff;
}

.security-copy h2 {
  color: #ffffff;
}

.security-copy > p {
  margin-top: 18px;
  color: #c3cfdd;
  line-height: 1.85;
}

.security-list {
  display: grid;
  gap: 0;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.security-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 13px;
  border-top: 1px solid rgba(216, 228, 242, 0.16);
  padding: 17px 0;
  color: #b9c6d6;
  line-height: 1.55;
}

.security-list svg {
  color: #68a7ff;
}

.security-list strong {
  display: block;
  color: #ffffff;
}

.contact-preview {
  overflow: hidden;
  border: 1px solid rgba(210, 226, 245, 0.24);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
}

.contact-preview img {
  display: block;
  width: 100%;
}

.formats-section {
  background: #ffffff;
}

.format-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.format-card {
  display: grid;
  min-height: 176px;
  align-content: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: #ffffff;
}

.format-card strong {
  color: var(--blue);
  font-size: 1.6rem;
}

.format-card:nth-child(2) strong {
  color: #16816f;
}

.format-card:nth-child(3) strong {
  color: #b26a17;
}

.format-card span {
  margin-top: 16px;
  color: var(--ink);
  font-weight: 800;
}

.format-card small {
  margin-top: 8px;
  color: var(--muted);
}

.download-section {
  border-top: 1px solid #cdddf1;
  border-bottom: 1px solid #cdddf1;
  background: var(--blue-soft);
}

.download-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 48px;
}

.download-layout > div:first-child {
  max-width: 720px;
}

.checksum {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: #50647e;
  font-size: 0.82rem;
}

.checksum svg {
  color: var(--green);
}

.checksum code {
  font-family: "Cascadia Code", Consolas, monospace;
}

.download-actions {
  display: grid;
  justify-items: stretch;
  gap: 8px;
  min-width: 250px;
  text-align: center;
}

.button-download {
  background: var(--blue);
  color: #ffffff;
}

.download-actions small {
  color: #62748d;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  align-items: start;
  gap: 72px;
}

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

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--ink);
  font-weight: 850;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary svg {
  flex: 0 0 auto;
  color: var(--blue);
  transition: transform 150ms ease;
}

.faq-list details[open] summary svg {
  transform: rotate(45deg);
}

.faq-list details p {
  padding: 0 46px 20px 0;
  color: var(--muted);
  line-height: 1.75;
}

.site-footer {
  border-top: 1px solid #d8e1ec;
  background: #f8fafc;
  color: #5c6c80;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px 48px;
  padding-top: 38px;
  padding-bottom: 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  width: 118px;
  height: 64px;
  object-fit: contain;
}

.footer-brand div {
  display: grid;
  gap: 4px;
}

.footer-brand strong {
  color: var(--ink);
}

.footer-brand span {
  font-size: 0.82rem;
}

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

.footer-links a,
.footer-links button {
  color: #56677d;
}

.footer-legal-wrap {
  border-top: 1px solid #d8e1ec;
  background: #eef3f8;
}

.footer {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
  color: #66758a;
  font-size: 0.82rem;
}

.footer a {
  color: #315b91;
  font-weight: 800;
}

.footer a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.contact-dialog {
  width: min(540px, calc(100% - 32px));
  border: 1px solid #ccd9e9;
  border-radius: 8px;
  padding: 0;
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 28px 80px rgba(15, 36, 65, 0.3);
}

.contact-dialog::backdrop {
  background: rgba(15, 29, 50, 0.58);
  backdrop-filter: blur(3px);
}

.dialog-header {
  display: grid;
  grid-template-columns: 108px 1fr 42px;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding: 18px 20px;
}

.dialog-header > img {
  width: 108px;
  height: 58px;
  object-fit: contain;
}

.dialog-header > div {
  display: grid;
  gap: 3px;
}

.dialog-header span {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
}

.dialog-header h2 {
  font-size: 1.4rem;
}

.contact-dialog > p {
  padding: 18px 20px 6px;
  color: var(--muted);
  line-height: 1.7;
}

.dialog-contact-list {
  margin: 0 20px 20px;
}

.dialog-contact-list > div {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
}

.dialog-contact-list > div > svg {
  color: var(--blue);
}

.dialog-contact-list span {
  display: grid;
  gap: 2px;
}

.dialog-contact-list small {
  color: var(--muted);
}

.dialog-contact-list strong {
  font-variant-numeric: tabular-nums;
}

.dialog-contact-list button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 7px;
  border: 1px solid #c8d5e6;
  border-radius: 6px;
  padding: 0 11px;
  background: #f7f9fc;
  color: #40536a;
  font-weight: 800;
}

.dialog-contact-list button:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.toast {
  position: fixed;
  z-index: 200;
  right: 24px;
  bottom: 24px;
  transform: translateY(18px);
  border-radius: 6px;
  padding: 12px 16px;
  background: #13243a;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 750;
  opacity: 0;
  pointer-events: none;
  transition: opacity 150ms ease, transform 150ms ease;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.js .reveal {
  transform: translateY(18px);
  opacity: 0;
  transition: opacity 500ms ease, transform 500ms ease;
}

.js .reveal.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 1040px) {
  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .mobile-nav {
    position: absolute;
    top: 72px;
    right: 0;
    left: 0;
    display: none;
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 18px;
    background: #ffffff;
    box-shadow: 0 14px 28px rgba(27, 48, 76, 0.12);
  }

  .mobile-nav.is-open {
    display: grid;
  }

  .mobile-nav a,
  .mobile-nav button {
    min-height: 46px;
    border: 0;
    border-bottom: 1px solid #e3e8ef;
    background: transparent;
    color: #34455c;
    font-weight: 800;
    text-align: left;
  }

  .security-layout {
    grid-template-columns: 1fr;
  }

  .contact-preview {
    width: min(760px, 100%);
  }
}

@media (max-width: 800px) {
  .section-inner,
  .header-inner,
  .hero-inner {
    width: min(100% - 32px, 1200px);
  }

  .section-space {
    padding: 72px 0;
  }

  .header-contact {
    display: none;
  }

  .hero {
    height: calc(100svh - 112px);
    min-height: 560px;
    max-height: 700px;
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .hero-copy > p {
    font-size: 1rem;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
    padding: 16px 0;
  }

  .trust-grid div,
  .trust-grid div:last-child {
    min-height: 74px;
    border: 0;
    padding: 12px 18px;
  }

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

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

  .download-layout,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .download-actions {
    min-width: 0;
    justify-items: start;
    text-align: left;
  }

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

  .footer-links {
    flex-wrap: wrap;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-top: 15px;
    padding-bottom: 15px;
  }
}

@media (max-width: 560px) {
  .header-inner {
    height: 64px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 62px;
    height: 35px;
  }

  .brand span {
    font-size: 0.92rem;
  }

  .header-download span {
    display: none;
  }

  .header-download {
    width: 42px;
    padding: 0;
  }

  .mobile-nav {
    top: 64px;
  }

  .hero {
    height: calc(100svh - 96px);
    min-height: 540px;
    max-height: 660px;
  }

  .hero-media {
    object-position: 38% top;
  }

  .hero-overlay {
    background: rgba(8, 24, 46, 0.82);
  }

  .hero h1 {
    font-size: 2.65rem;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-meta {
    display: grid;
    gap: 10px;
  }

  .section-heading h2,
  .security-copy h2,
  .download-layout h2 {
    font-size: 2rem;
  }

  .workflow-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .workflow-row > svg {
    display: none;
  }

  .workflow-row > div {
    min-height: 76px;
  }

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

  .feature-card {
    min-height: 0;
  }

  .security-layout {
    gap: 42px;
  }

  .dialog-header {
    grid-template-columns: 78px 1fr 42px;
    gap: 10px;
    padding: 14px;
  }

  .dialog-header > img {
    width: 78px;
    height: 44px;
  }

  .contact-dialog > p {
    padding-right: 14px;
    padding-left: 14px;
  }

  .dialog-contact-list {
    margin-right: 14px;
    margin-left: 14px;
  }

  .dialog-contact-list > div {
    grid-template-columns: 22px minmax(0, 1fr) auto;
    gap: 8px;
  }

  .dialog-contact-list button span {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
