:root {
  --ink: #0a0e17;
  --muted: #626b7c;
  --line: #dfe3ea;
  --blue: #0a6cff;
  --blue-dark: #0758d5;
  --cyan: #20a8bd;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
img { display: block; max-width: 100%; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header {
  min-height: 78px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 36px;
  padding: 0 max(24px, calc(50% - 660px));
  position: relative;
  z-index: 50;
  border-bottom: 1px solid rgba(10,14,23,.08);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(18px);
}
.brand { display: inline-flex; align-items: center; gap: 11px; width: max-content; font-size: 17px; font-weight: 700; letter-spacing: -.03em; }
.brand-icon { width: 36px; height: 36px; flex: 0 0 auto; display: block; overflow: hidden; border-radius: 9px; box-shadow: 0 4px 14px rgba(3,36,90,.18); }
.brand-icon img { width: 100%; height: 100%; object-fit: cover; }
.site-nav { display: flex; justify-content: center; align-items: center; gap: 8px; }
.site-nav-link { position: relative; padding: 28px 8px 26px; color: #4e5868; font-size: 13px; font-weight: 600; }
.site-nav-link::after { content: ""; position: absolute; right: 8px; bottom: 19px; left: 8px; height: 2px; border-radius: 2px; background: var(--blue); transform: scaleX(0); transition: transform .2s ease; }
.site-nav-link:hover, .site-nav-link.is-active { color: var(--ink); }
.site-nav-link:hover::after, .site-nav-link.is-active::after { transform: scaleX(1); }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.language-picker { height: 40px; display: flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 10px; padding: 0 10px; color: #4e5868; background: var(--white); }
.language-picker svg { fill: none; stroke: currentColor; stroke-width: 1.5; }
.language-picker select { width: 132px; max-width: 132px; border: 0; outline: 0; background: transparent; color: inherit; cursor: pointer; }

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  padding: 96px clamp(24px, 6vw, 100px) 104px;
  text-align: left;
  background: linear-gradient(180deg, #fff 0%, #f7f9fd 72%, #edf3ff 100%);
}
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(8,74,178,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(8,74,178,.045) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom, transparent, #000 30%, transparent 88%); }
.hero-glow { position: absolute; border-radius: 50%; opacity: .7; }
.hero-glow-one { width: 480px; height: 480px; top: 80px; left: -180px; background: radial-gradient(circle, rgba(40,132,255,.18), transparent 68%); }
.hero-glow-two { width: 540px; height: 540px; top: 20px; right: -220px; background: radial-gradient(circle, rgba(62,215,201,.13), transparent 68%); }
.hero-layout { position: relative; z-index: 2; width: min(1320px, 100%); margin: 0 auto; display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(44px, 5vw, 76px); align-items: center; }
.hero-copy { max-width: 620px; margin: 0; }
.eyebrow { display: inline-block; color: var(--blue); font-size: 11px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.hero h1 { margin: 0 0 24px; max-width: 620px; font-size: clamp(54px, 5.6vw, 82px); line-height: .94; letter-spacing: -.07em; font-weight: 720; }
.hero h1 em { font-style: normal; color: transparent; background: linear-gradient(100deg, #086bff 18%, #1686f7 56%, #23a9c4 100%); -webkit-background-clip: text; background-clip: text; }
.hero-copy > p { max-width: 590px; margin: 0; color: #596274; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.6; letter-spacing: -.015em; }
.hero-actions { display: flex; justify-content: flex-start; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; padding: 0 20px; border: 1px solid transparent; border-radius: 12px; font-size: 14px; font-weight: 650; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: linear-gradient(135deg, var(--blue), #0557dc); box-shadow: 0 12px 30px rgba(10,108,255,.24); }
.button-primary:hover { box-shadow: 0 16px 36px rgba(10,108,255,.32); }
.button-secondary { color: #354052; border-color: #d7dde7; background: rgba(255,255,255,.82); box-shadow: 0 8px 22px rgba(26,42,70,.08); }
.button-secondary:hover { border-color: #b9c5d8; background: var(--white); }
.apple-mark { width: 18px; height: 20px; display: block; flex: 0 0 auto; fill: currentColor; }
.requirement { margin-top: 18px; display: flex; justify-content: flex-start; align-items: center; gap: 7px; color: #6b7484; font-size: 12px; }
.requirement span { width: 17px; height: 17px; display: inline-grid; place-items: center; color: #16865a; background: #e3f7ef; border-radius: 50%; font-size: 10px; }
.hero-product { width: 100%; min-width: 0; margin: 0; }
.hero-product img { width: 100%; height: auto; margin: 0 auto; filter: drop-shadow(0 28px 38px rgba(4,19,49,.2)); }

.showcase-section { padding: 124px 0 140px; overflow: hidden; color: var(--ink); background: var(--white); }
.section-heading { width: min(820px, calc(100% - 48px)); margin: 0 auto 56px; text-align: center; }
.section-heading h2 { margin: 0 0 20px; font-size: clamp(46px, 6vw, 76px); line-height: .98; letter-spacing: -.06em; }
.section-heading p { max-width: 620px; margin: 0 auto; color: var(--muted); font-size: 18px; line-height: 1.65; }
.showcase-shell { width: min(1320px, calc(100% - 48px)); margin: 0 auto; }
.showcase-row { display: grid; grid-template-columns: minmax(260px, 360px) minmax(0, 1fr); gap: clamp(44px, 6vw, 96px); align-items: center; padding: 88px 0; border-top: 1px solid #dfe6f0; }
.showcase-row:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(260px, 360px); }
.showcase-row:nth-child(even) .showcase-copy { order: 2; }
.showcase-row:nth-child(even) .showcase-image { order: 1; }
.showcase-copy { max-width: 360px; }
.showcase-copy h3 { margin: 0 0 15px; font-size: 36px; line-height: 1.1; letter-spacing: -.045em; }
.showcase-copy p { margin: 0; color: var(--muted); line-height: 1.65; }
.showcase-copy ul { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 13px; color: #354052; font-size: 13px; }
.showcase-copy li { display: flex; align-items: center; gap: 10px; }
.showcase-copy li i { width: 18px; height: 18px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; font-style: normal; font-size: 9px; color: var(--white); background: var(--blue); box-shadow: 0 4px 10px rgba(10,108,255,.2); }
.showcase-image { min-width: 0; overflow: hidden; border: 1px solid rgba(13,37,73,.14); border-radius: 18px; background: #11151c; box-shadow: 0 30px 70px rgba(11,31,61,.16), 0 3px 10px rgba(11,31,61,.09); }
.showcase-image img { width: 100%; height: auto; object-fit: contain; object-position: center; }
.showcase-image-frameless { overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.showcase-image-frameless img { clip-path: polygon(17% 7.5%, 83% 7.5%, 85% 8.2%, 86.2% 10%, 86.8% 13%, 86.8% 87.2%, 95% 87.2%, 95% 90.5%, 93.5% 91.5%, 75% 92.5%, 50% 93%, 25% 92.5%, 6.5% 91.5%, 4.9% 90.5%, 4.9% 87.2%, 13.2% 87.2%, 13.2% 13%, 13.8% 10%, 15% 8.2%); }

.video-section { padding: 18px 0 128px; background: var(--white); }
.video-grid { width: min(1320px, calc(100% - 48px)); margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.video-frame { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid rgba(13,37,73,.14); border-radius: 18px; background: #11151c; box-shadow: 0 24px 60px rgba(11,31,61,.13), 0 3px 10px rgba(11,31,61,.08); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.site-footer { min-height: 300px; padding: 72px 24px 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 44px; text-align: center; color: #718096; background: #f8faff; font-size: 12px; }
.footer-download { display: flex; flex-direction: column; align-items: center; }
.footer-cta { min-height: 60px; padding: 0 28px; border-radius: 14px; font-size: 16px; }
.footer-meta { width: min(1220px, 100%); padding-top: 28px; display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid #dfe6f0; }
.footer-links { display: flex; gap: 20px; }
.footer-meta a { color: #4f5d72; }
.footer-meta a:hover { color: var(--blue); }

.page-hero { position: relative; overflow: hidden; padding: 116px 24px 88px; text-align: center; background: linear-gradient(180deg, #fff 0%, #f5f8ff 100%); }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(8,74,178,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(8,74,178,.04) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom, transparent, #000 48%, transparent); }
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 { margin: 16px auto 0; font-size: clamp(52px, 7vw, 84px); line-height: 1; letter-spacing: -.06em; }
.page-hero p { max-width: 680px; margin: 22px auto 0; color: var(--muted); font-size: 19px; line-height: 1.65; }
.legal-hero { padding-bottom: 72px; }
.legal-page { width: min(820px, calc(100% - 48px)); margin: 0 auto; padding: 64px 0 120px; }
.legal-card { color: #354052; font-size: 17px; line-height: 1.75; }
.legal-card ul { display: grid; gap: 20px; margin: 0; padding-left: 1.25em; }
.text-link { display: inline-flex; gap: 8px; margin-top: 42px; color: var(--blue); font-size: 13px; font-weight: 700; }
.text-link:hover { color: var(--blue-dark); }
.changelog-page { width: min(880px, calc(100% - 48px)); margin: 0 auto; padding: 72px 0 128px; }
.changelog-content { color: #435064; font-size: 16px; line-height: 1.75; }
.changelog-content h2 { margin: 0; padding: 52px 0 14px; border-top: 1px solid #dfe6f0; color: var(--ink); font-size: 34px; letter-spacing: -.045em; }
.changelog-content h2:first-child { padding-top: 0; border-top: 0; }
.changelog-content p { margin: 0 0 30px; }
.changelog-content ul, .changelog-content ol { margin: 0 0 46px; padding-left: 1.3em; }
.changelog-content li { margin: 9px 0; }
.changelog-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.changelog-content img { width: calc(50% - 12px); display: inline-block; margin: 12px 20px 18px 0; border: 1px solid rgba(13,37,73,.12); border-radius: 14px; vertical-align: top; }
.changelog-content img + img { margin-right: 0; }
.error-page { min-height: 600px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.error-page .button { margin-top: 30px; }

@media (max-width: 1000px) {
  .site-header { grid-template-columns: 1fr auto auto; gap: 22px; }
  .hero { min-height: 800px; padding: 82px 24px 0; text-align: center; }
  .hero-layout { grid-template-columns: 1fr; gap: 52px; }
  .hero-copy { max-width: 940px; margin: 0 auto; }
  .hero h1 { max-width: 920px; margin-left: auto; margin-right: auto; font-size: clamp(58px, 9vw, 88px); }
  .hero-copy > p { max-width: 690px; margin-left: auto; margin-right: auto; }
  .hero-actions, .requirement { justify-content: center; }
  .hero-product { width: min(1120px, 95vw); margin: 0 auto -32px; }
  .showcase-row, .showcase-row:nth-child(even) { grid-template-columns: 1fr; gap: 38px; padding: 72px 0; }
  .showcase-row:nth-child(even) .showcase-copy, .showcase-row:nth-child(even) .showcase-image { order: initial; }
  .showcase-copy { max-width: 620px; }
}

@media (max-width: 720px) {
  .site-header { min-height: 66px; grid-template-columns: 1fr auto auto; gap: 10px; padding: 0 18px; }
  .brand { gap: 8px; font-size: 14px; }
  .brand-icon { width: 30px; height: 30px; }
  .site-nav-link { padding: 23px 3px 21px; font-size: 12px; }
  .site-nav-link::after { right: 3px; bottom: 14px; left: 3px; }
  .language-picker { height: 36px; padding: 0 6px; }
  .language-picker svg { display: none; }
  .language-picker select { width: 98px; max-width: 98px; font-size: 12px; }
  .hero { min-height: 0; padding: 68px 20px 0; }
  .hero-layout { gap: 44px; }
  .hero h1 { font-size: clamp(50px, 15vw, 72px); }
  .hero-copy > p { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; max-width: 380px; margin-left: auto; margin-right: auto; }
  .hero-product { width: 116%; margin: 0 0 -24px -8%; }
  .showcase-section { padding: 88px 0 94px; }
  .section-heading { width: calc(100% - 36px); margin-bottom: 34px; }
  .section-heading h2 { font-size: 46px; }
  .section-heading p { font-size: 16px; }
  .showcase-shell { width: calc(100% - 32px); }
  .showcase-row, .showcase-row:nth-child(even) { gap: 28px; padding: 52px 0; }
  .showcase-copy h3 { font-size: 30px; }
  .video-section { padding: 4px 0 86px; }
  .video-grid { width: calc(100% - 32px); grid-template-columns: 1fr; gap: 18px; }
  .video-frame { border-radius: 13px; }
  .site-footer { padding: 64px 18px 26px; }
  .footer-download, .footer-cta { width: 100%; }
  .footer-cta { max-width: 380px; padding: 0 18px; font-size: 14px; }
  .footer-meta { flex-direction: column; align-items: center; }
  .footer-links { justify-content: center; }
  .page-hero { padding: 84px 20px 66px; }
  .page-hero p { font-size: 16px; }
  .legal-page { width: calc(100% - 36px); padding: 46px 0 94px; }
  .changelog-page { width: calc(100% - 36px); padding: 52px 0 94px; }
  .changelog-content h2 { padding-top: 42px; font-size: 30px; }
  .changelog-content img { width: 100%; margin: 12px 0 16px; }
}

@media (max-width: 480px) {
  .brand > span:last-child { display: none; }
  .site-nav { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
}

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