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

@font-face {
  font-family: "Font Awesome 5 Brands";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../webfonts/fa-brands-400.woff2") format("woff2");
}

* { 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; position: relative; z-index: 50; border-bottom: 1px solid rgba(10,14,23,.08); background: rgba(255,255,255,.92); backdrop-filter: blur(18px); }
.site-header-inner { width: min(1220px, calc(100% - 48px)); min-height: 78px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 36px; }
.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: 0; border-radius: 9px; background: #101827; box-shadow: none; }
.brand-icon img { width: 100%; height: 100%; border: 0; object-fit: cover; transform: scale(1.06); }
.site-nav { display: flex; justify-content: center; align-items: center; }
.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 { position: relative; color: #4e5868; }
.language-picker summary { min-width: 158px; height: 40px; display: flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 10px; padding: 0 10px; background: var(--white); cursor: pointer; list-style: none; }
.language-picker summary::-webkit-details-marker { display: none; }
.language-picker svg { fill: none; stroke: currentColor; stroke-width: 1.5; }
.language-picker summary::after { content: "⌄"; margin-left: auto; color: #7a8494; font-size: 12px; }
.language-menu { width: 200px; max-height: min(70vh, 440px); position: absolute; z-index: 100; top: calc(100% + 8px); right: 0; overflow-y: auto; display: grid; gap: 2px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); box-shadow: 0 18px 44px rgba(11,31,61,.16); }
.language-menu a { padding: 9px 10px; border-radius: 8px; color: #4e5868; font-size: 13px; }
.language-menu a:hover, .language-menu a[aria-current="page"] { color: var(--ink); background: #f0f5ff; }

.hero { position: relative; min-height: 820px; overflow: hidden; padding: 92px clamp(24px, 6vw, 100px) 96px; 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(1220px, 100%); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr); gap: clamp(52px, 7vw, 104px); align-items: center; }
.hero-copy { max-width: 680px; }
.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: 720px; 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: 610px; 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; }
.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); }
.apple-mark { width: 18px; height: 20px; display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; color: currentColor; font-family: "Font Awesome 5 Brands"; font-size: 20px; font-weight: 400; line-height: 1; }
.apple-mark::before { content: "\f179"; }
.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; flex: 0 0 auto; color: #16865a; background: #e3f7ef; border-radius: 50%; font-size: 10px; }
.hero-product { width: 100%; min-width: 0; display: flex; justify-content: center; }
.hero-product img { width: auto; max-height: 660px; 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: 640px; 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; }
.showcase-image img { width: 100%; height: auto; object-fit: contain; object-position: center; filter: drop-shadow(0 26px 42px rgba(11,31,61,.16)); }
.showcase-image-frameless { overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }

.video-section { padding: 18px 0 128px; background: var(--white); }
.video-grid { width: min(960px, calc(100% - 48px)); margin: 0 auto; }
.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-download .requirement { justify-content: center; }
.footer-cta { min-height: 60px; padding: 0 28px; border-radius: 14px; font-size: 16px; }
.footer-meta { width: min(1220px, 100%); padding-top: 28px; border-top: 1px solid #dfe6f0; text-align: center; }

.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(33.333% - 16px); display: inline-block; margin: 12px 20px 18px 0; border: 0; border-radius: 0; vertical-align: top; }
.changelog-content img:nth-of-type(3n) { 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-inner { grid-template-columns: 1fr auto auto; gap: 22px; }
  .hero { min-height: 0; padding: 82px 24px 72px; text-align: center; }
  .hero-layout { grid-template-columns: 1fr; gap: 48px; }
  .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 img { max-height: 620px; }
  .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; }
  .site-header-inner { width: calc(100% - 36px); min-height: 66px; grid-template-columns: 1fr auto auto; gap: 10px; }
  .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 summary { min-width: 112px; height: 36px; padding: 0 7px; font-size: 12px; }
  .language-picker svg { display: none; }
  .language-menu { width: 180px; }
  .hero { padding: 68px 20px 62px; }
  .hero-layout { gap: 42px; }
  .hero h1 { font-size: clamp(47px, 14vw, 68px); }
  .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 img { max-height: 470px; }
  .showcase-section { padding: 88px 0 94px; }
  .section-heading { width: calc(100% - 36px); margin-bottom: 34px; }
  .section-heading h2 { font-size: 44px; }
  .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); }
  .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; }
  .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-inner { 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; }
}
