:root {
  color-scheme: light;
  --ink: #152133;
  --muted: #5e6b7e;
  --line: #dce3eb;
  --surface: #ffffff;
  --canvas: #f7f9fc;
  --blue: #064b98;
  --blue-deep: #063b78;
  --green: #078b60;
  --red: #ee3f22;
  --gold: #c78b19;
  --shadow: 0 18px 50px rgba(22, 43, 72, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: Tahoma, Arial, sans-serif;
  line-height: 1.75;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; inset-inline-start: 16px; top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 249, 252, .95);
  border-bottom: 1px solid rgba(220, 227, 235, .86);
  backdrop-filter: blur(14px);
}
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; }
.brand img { border-radius: 10px; }
nav { display: flex; align-items: center; gap: 25px; }
.language-select {
  min-width: 96px;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  padding-inline: 10px 28px;
  font: 700 12px/1.2 inherit;
  cursor: pointer;
}
.language-select-floating { position: fixed; inset-block-start: 14px; inset-inline-end: 14px; z-index: 100; }
nav a { color: var(--muted); font-size: 14px; font-weight: 700; text-decoration: none; }
nav a:hover { color: var(--blue); }
.nav-action { border: 1px solid var(--line); padding: 8px 14px; background: #fff; }

.hero { min-height: calc(100svh - 76px); display: grid; align-items: center; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, .85fr); gap: 52px; align-items: center; padding-block: 58px 70px; }
.eyebrow { margin: 0 0 8px; color: var(--green); font-weight: 800; font-size: 14px; }
h1, h2, h3, p { letter-spacing: 0; }
h1 { margin: 0; font-size: clamp(48px, 7vw, 86px); line-height: 1.08; color: var(--blue-deep); }
.lead { max-width: 680px; margin: 22px 0 28px; color: var(--muted); font-size: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 20px; border: 1px solid transparent; text-decoration: none; font-weight: 800; }
.button.primary { color: #fff; background: var(--blue); }
.button.primary:hover { background: var(--blue-deep); }
.button.secondary { color: var(--blue); background: #fff; border-color: var(--line); }
.release-line { margin-top: 28px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 13px; }
.release-line strong { color: var(--ink); }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #a9b7b3; box-shadow: 0 0 0 5px rgba(169,183,179,.12); }
.live-dot.is-online { background: var(--green); box-shadow: 0 0 0 5px rgba(7,139,96,.12), 0 0 12px rgba(7,139,96,.42); }

.hero-visual { position: relative; isolation: isolate; min-height: 520px; display: grid; place-items: center; }
.hero-visual::before { content: ""; position: absolute; inset: 6% 0; z-index: -1; border: 1px solid #ccd8e4; background: #eef4f6; transform: rotate(-4deg); }
.hero-visual > img { width: min(88%, 480px); border-radius: 22%; box-shadow: var(--shadow); }
.visual-note { position: absolute; min-width: 170px; padding: 12px 15px; background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 34px rgba(16,42,72,.14); }
.visual-note strong, .visual-note span { display: block; }
.visual-note strong { font-size: 14px; color: var(--blue); }
.visual-note span { color: var(--muted); font-size: 12px; }
.note-one { inset-inline-start: -12px; top: 15%; }
.note-two { inset-inline-end: -12px; bottom: 12%; }

.feature-band { padding: 90px 0; background: #fff; }
.section-heading { max-width: 700px; margin-bottom: 34px; }
.section-heading h2, .security-inner h2 { margin: 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.25; }
.section-heading > p:last-child, .security-inner > div > p:last-child { color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.feature-card { min-height: 220px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: 7px; }
.feature-card h3 { margin: 26px 0 8px; font-size: 19px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14px; }
.feature-index { color: var(--blue); font: 800 13px/1 Arial, sans-serif; }
.accent-green { border-top-color: var(--green); }
.accent-green .feature-index { color: var(--green); }
.accent-red { border-top-color: var(--red); }
.accent-red .feature-index { color: var(--red); }
.accent-gold { border-top-color: var(--gold); }
.accent-gold .feature-index { color: var(--gold); }

.showcase-band { padding: 64px 0; background: #edf2f6; border-top: 1px solid var(--line); }
.showcase-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.showcase-item { min-width: 0; min-height: 214px; display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 18px; align-items: center; padding: 14px 18px; background: #fff; border: 1px solid #ccd7e2; border-radius: 7px; }
.showcase-item img { width: 84px; height: 182px; object-fit: cover; object-position: top; border: 1px solid #d5dde6; border-radius: 5px; box-shadow: 0 8px 18px rgba(22, 43, 72, .1); }
.showcase-item h3 { margin: 15px 0 7px; font-size: 18px; line-height: 1.45; }
.showcase-item p { margin: 0; color: var(--muted); font-size: 14px; }
.store-callout { margin-top: 38px; padding-top: 26px; border-top: 1px solid #cad5e0; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.store-callout strong, .store-callout span { display: block; }
.store-callout strong { font-size: 18px; }
.store-callout span { margin-top: 3px; color: var(--muted); font-size: 14px; }

.workflow-band { padding: 86px 0; border-block: 1px solid var(--line); }
.workflow-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: start; gap: 80px; }
.section-heading.compact { position: sticky; top: 116px; }
.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.steps li > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--blue); font: 800 15px/1 Arial, sans-serif; }
.steps strong { font-size: 18px; }
.steps p { margin: 3px 0 0; color: var(--muted); }

.security-band { padding: 86px 0; background: var(--ink); color: #fff; }
.security-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: center; }
.security-inner .eyebrow { color: #69d6ab; }
.security-inner > div > p:last-child { color: #bdc9d8; max-width: 660px; }
.policy-links { border-top: 1px solid rgba(255,255,255,.18); }
.policy-links a { display: flex; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.18); text-decoration: none; font-weight: 700; }
.policy-links a:hover { color: #69d6ab; }

footer { background: #fff; border-top: 1px solid var(--line); }
.footer-inner { min-height: 110px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 13px; }
.footer-links { display: flex; gap: 16px; }
.footer-links a { text-decoration: none; }
.developer-more { padding-block: 0 28px; }
.developer-more summary { min-height: 46px; display: flex; align-items: center; justify-content: center; gap: 9px; width: fit-content; margin-inline: auto; padding: 8px 18px; color: var(--blue); background: #f5f8fb; border: 1px solid var(--line); border-radius: 6px; font-size: 14px; font-weight: 800; cursor: pointer; list-style: none; }
.developer-more summary::-webkit-details-marker { display: none; }
.developer-more summary span { font: 800 18px/1 Arial, sans-serif; transition: transform .2s ease; }
.developer-more[open] summary span { transform: rotate(180deg); }
.developer-destinations { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: 14px; background: var(--line); border: 1px solid var(--line); }
.developer-destinations a { min-height: 94px; padding: 16px; background: #fff; text-decoration: none; }
.developer-destinations a:hover { background: #f4f8fb; }
.developer-destinations strong, .developer-destinations span { display: block; }
.developer-destinations strong { color: var(--ink); font-size: 14px; }
.developer-destinations span { margin-top: 4px; color: var(--muted); font-size: 12px; }

.legal-main { min-height: calc(100vh - 187px); padding: 54px 0 80px; }
.legal-layout { display: grid; grid-template-columns: minmax(0, 760px) minmax(220px, 1fr); gap: 60px; align-items: start; }
.legal-copy h1 { margin: 0 0 12px; font-size: clamp(34px, 5vw, 56px); }
.legal-copy h2 { margin-top: 36px; font-size: 22px; }
.legal-copy p, .legal-copy li { color: var(--muted); }
.legal-copy a { color: var(--blue); }
.legal-aside { position: sticky; top: 112px; padding: 18px; border-inline-start: 3px solid var(--green); background: #fff; }
.legal-aside strong, .legal-aside a { display: block; }
.legal-aside a { margin-top: 10px; color: var(--blue); text-decoration: none; }

@media (max-width: 900px) {
  nav a:not(.nav-action) { display: none; }
  .hero { min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 40px; }
  .hero-copy { max-width: 720px; }
  .hero-visual { min-height: 430px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-item { min-height: 194px; grid-template-columns: 76px minmax(0, 1fr); }
  .showcase-item img { width: 76px; height: 165px; }
  .workflow-grid, .security-inner, .legal-layout { grid-template-columns: 1fr; gap: 32px; }
  .section-heading.compact, .legal-aside { position: static; }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 28px, 1160px); }
  .nav-wrap { min-height: 66px; }
  .brand { font-size: 14px; }
  .brand img { width: 38px; height: 38px; }
  .nav-action { padding: 7px 11px; }
  nav { gap: 8px; }
  .language-select { min-width: 82px; min-height: 36px; padding-inline: 7px 22px; font-size: 10px; }
  .hero-inner { gap: 26px; padding-block: 32px 46px; }
  h1 { font-size: 44px; }
  .lead { font-size: 17px; }
  .hero-actions .button { width: 100%; }
  .hero-visual { min-height: 330px; }
  .hero-visual > img { width: 78%; }
  .visual-note { min-width: 140px; padding: 9px 11px; }
  .note-one { inset-inline-start: 0; top: 6%; }
  .note-two { inset-inline-end: 0; bottom: 5%; }
  .feature-band, .workflow-band, .security-band { padding: 58px 0; }
  .showcase-band { padding: 44px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 184px; }
  .showcase-item { min-height: 169px; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 12px; }
  .showcase-item img { width: 64px; height: 139px; }
  .showcase-item h3 { margin-top: 10px; font-size: 16px; }
  .showcase-item p { font-size: 13px; line-height: 1.65; }
  .store-callout { align-items: stretch; flex-direction: column; }
  .store-callout .button { width: 100%; }
  .footer-inner { padding-block: 24px; flex-direction: column; justify-content: center; }
  .developer-more summary { width: 100%; }
  .developer-destinations { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
  .showcase-item { min-height: 148px; grid-template-columns: 56px minmax(0, 1fr); gap: 10px; padding: 10px; }
  .showcase-item img { width: 56px; height: 121px; }
  .showcase-item p { font-size: 12px; }
}

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