:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #172033;
  background: #f7f9fc;
  line-height: 1.6;
  --blue: #1769e0;
  --blue-dark: #0b367d;
  --ink: #101828;
  --muted: #667085;
  --line: #dfe6ef;
  --surface: #fff;
  --soft: #edf5ff;
  --shadow: 0 14px 38px rgba(15, 23, 42, .07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; }
img, iframe { max-width: 100%; }
a { color: #175cd3; }
a:focus-visible, button:focus-visible { outline: 3px solid #f5b942; outline-offset: 3px; }
.wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.content-narrow { max-width: 820px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }

.site-header { background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(12px); }
.header-inner { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; text-decoration: none; white-space: nowrap; }
.brand-logo { width: 34px; height: 34px; display: block; border-radius: 8px; object-fit: cover; }
.nav-toggle { display: none; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font: inherit; font-size: .9rem; font-weight: 760; cursor: pointer; }
.nav-toggle-icon, .nav-toggle-icon::before, .nav-toggle-icon::after { width: 18px; height: 2px; display: block; border-radius: 2px; background: currentColor; transition: transform .18s ease, opacity .18s ease; }
.nav-toggle-icon { position: relative; }
.nav-toggle-icon::before, .nav-toggle-icon::after { content: ""; position: absolute; left: 0; }
.nav-toggle-icon::before { top: -6px; }
.nav-toggle-icon::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after { top: 0; transform: rotate(-45deg); }
.site-nav { display: flex; align-items: center; gap: 3px; }
.site-nav a { color: #344054; text-decoration: none; font-size: .92rem; font-weight: 680; padding: 9px 10px; border-radius: 9px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--soft); color: #124fae; }
.site-nav .nav-download { background: var(--blue); color: #fff; margin-left: 4px; }
.site-nav .nav-download:hover, .site-nav .nav-download[aria-current="page"] { background: #1258bd; color: #fff; }

.page-hero { background: linear-gradient(135deg, #071426, #123b7a); color: #fff; padding: 62px 0; }
.eyebrow { color: #b9d8ff; font-size: .76rem; font-weight: 820; letter-spacing: .14em; text-transform: uppercase; }
.page-hero h1 { font-size: clamp(2.15rem, 5.5vw, 3.7rem); line-height: 1.06; letter-spacing: -.04em; margin: .55rem 0 1rem; }
.page-hero p { max-width: 700px; color: #d7e7ff; font-size: clamp(1rem, 2vw, 1.18rem); margin: 0; }
.home-hero { padding: 72px 0; }
.home-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 56px; align-items: center; }
.home-hero-copy { max-width: 760px; }
.home-hero .hero-lead { font-size: clamp(1.05rem, 2vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-logo-shell { width: 200px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 38px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); box-shadow: 0 28px 70px rgba(0,0,0,.26); }
.hero-logo { width: 148px; height: 148px; border-radius: 28px; object-fit: cover; }
.hero-platform { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: #b9d8ff; font-size: .9rem; font-weight: 700; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 12px; padding: 11px 18px; font-weight: 760; text-decoration: none; background: var(--blue); color: #fff; }
.button:hover { background: #1258bd; }
.button-light { background: #fff; color: #124fae; }
.button-light:hover { background: #eaf3ff; }
.button-outline { color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.45); }
.button-outline:hover { background: rgba(255,255,255,.1); }
.button-secondary { background: var(--soft); color: #124fae; }
.button-secondary:hover { background: #dbeaff; }

.content { padding: 46px 0 76px; }
.section { padding: 66px 0; }
.section-white { background: #fff; }
.section-heading { max-width: 690px; margin: 0 0 26px; }
.section-heading h2 { font-size: clamp(1.6rem, 4vw, 2.25rem); line-height: 1.18; letter-spacing: -.025em; margin: 0 0 8px; color: var(--ink); }
.section-heading p { margin: 0; }
.section-cta { margin-top: 24px; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; margin: 16px 0; box-shadow: 0 8px 30px rgba(15,23,42,.045); }
.card h2, .card h3 { color: var(--ink); line-height: 1.25; margin-top: 0; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.grid .card { margin: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.feature-card { margin: 0; transition: transform .18s ease, box-shadow .18s ease; }
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature-icon { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 16px; border-radius: 12px; background: var(--soft); color: #175cd3; font-size: 1.2rem; font-weight: 850; }
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.ecosystem-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ecosystem-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 15px; background: #fff; color: var(--ink); text-decoration: none; font-weight: 760; }
.ecosystem-link:hover { border-color: #9bc4fb; background: #f7fbff; }
.ecosystem-link span { color: var(--blue); }

.tutorial-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-bottom: 52px; }
.tutorial-card { display: flex; flex-direction: column; min-height: 100%; margin: 0; padding: 0; overflow: hidden; }
.tutorial-card-body { display: flex; flex: 1; flex-direction: column; padding: 20px; }
.tutorial-card .button { margin-top: auto; align-self: flex-start; }
.tutorial-thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #071426; }
.tutorial-thumb img { width: 100%; height: 100%; display: block; object-fit: cover; }
.tutorial-number { display: inline-flex; align-items: center; gap: 8px; color: #175cd3; font-size: .76rem; font-weight: 820; letter-spacing: .09em; text-transform: uppercase; }
.tutorial-number::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #2885f3; }
.tutorial-card.is-upcoming { background: #fbfcfe; box-shadow: none; }
.tutorial-card.is-upcoming .tutorial-number { color: #667085; }
.tutorial-card.is-upcoming .tutorial-number::before { background: #98a2b3; }
.support-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-bottom: 52px; }
.support-card { margin: 0; }
.support-card p { margin-bottom: 0; }
.steps { padding-left: 1.25rem; }
.steps li { margin: .55rem 0; }

.tutorial-page { max-width: 1000px; }
.tutorial-layout { display: grid; grid-template-columns: minmax(260px, 380px) minmax(0,1fr); gap: 34px; align-items: start; }
.video-column { display: grid; justify-items: center; }
.video-frame { position: relative; width: min(100%, 360px); aspect-ratio: 9 / 16; background: #071426; border-radius: 22px; overflow: hidden; box-shadow: 0 18px 48px rgba(7,20,38,.2); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-direct { margin: 14px 0 0; text-align: center; }
.tutorial-summary { margin-top: 0; padding-left: 1.25rem; }
.tutorial-summary li { margin: .68rem 0; }
.back-link { display: inline-flex; margin-bottom: 22px; font-weight: 740; text-decoration: none; }
.tutorial-nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-top: 26px; }
.tutorial-nav-placeholder { color: var(--muted); font-size: .9rem; }
.tutorial-nav-link { display: grid; gap: 3px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 13px; background: #fff; color: var(--ink); text-decoration: none; }
.tutorial-nav-link:hover { border-color: #9bc4fb; background: #f7fbff; }
.tutorial-nav-link span { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.tutorial-nav-link strong { font-size: .9rem; }

.download-panel { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.status-note { display: inline-flex; gap: 8px; align-items: center; padding: 7px 11px; margin-bottom: 12px; background: #fff7e8; border: 1px solid #f4d49c; border-radius: 999px; color: #854d0e; font-size: .82rem; font-weight: 750; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.site-footer { background: #0b1424; color: #cbd5e1; padding: 30px 0 22px; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; align-items: flex-start; }
.footer-brand h2 { color: #fff; margin: 0 0 4px; font-size: 1rem; }
.footer-brand p { margin: 0; color: #8fa0b7; font-size: .88rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 18px; }
.site-footer a { color: #d7e7ff; text-decoration: none; font-size: .88rem; }
.site-footer a:hover { text-decoration: underline; }
.footer-bottom { border-top: 1px solid #27364c; margin-top: 20px; padding-top: 16px; color: #8492a7; font-size: .8rem; }
code { background: #eef2f6; border-radius: 5px; padding: 2px 5px; }

@media (max-width: 900px) {
  .header-inner { min-height: 64px; gap: 14px; padding-block: 8px; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .site-nav { position: absolute; top: calc(100% + 1px); right: 20px; left: 20px; display: none; padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 18px 42px rgba(15,23,42,.16); }
  .site-nav.is-open { display: grid; }
  .site-nav a { min-height: 44px; display: flex; align-items: center; padding: 10px 12px; text-align: left; }
  .site-nav .nav-download { margin: 4px 0 0; justify-content: center; }
  .feature-grid, .tutorial-grid, .support-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .home-hero-inner { grid-template-columns: minmax(0,1fr) 170px; gap: 34px; }
  .hero-logo-shell { width: 164px; border-radius: 30px; }
  .hero-logo { width: 120px; height: 120px; border-radius: 23px; }
  .tutorial-layout { grid-template-columns: 310px minmax(0,1fr); }
}

@media (max-width: 640px) {
  .wrap { width: min(100% - 28px,1120px); }
  .site-nav { right: 14px; left: 14px; }
  .page-hero, .home-hero { padding: 44px 0; }
  .home-hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero-logo-shell { grid-row: 1; width: 112px; border-radius: 23px; }
  .hero-logo { width: 82px; height: 82px; border-radius: 17px; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .content { padding: 28px 0 58px; }
  .section { padding: 48px 0; }
  .grid, .feature-grid, .tutorial-grid, .support-grid, .ecosystem-strip { grid-template-columns: 1fr; }
  .card { padding: 20px; }
  .tutorial-card { min-height: 0; }
  .tutorial-card .button { width: auto; }
  .tutorial-layout { grid-template-columns: 1fr; gap: 26px; }
  .video-frame { width: min(100%, 330px); }
  .tutorial-nav { grid-template-columns: 1fr; }
  .download-panel { grid-template-columns: 1fr; }
  .download-panel .button { width: 100%; }
  .footer-inner { flex-direction: column; gap: 18px; }
  .footer-links { justify-content: flex-start; gap: 8px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .feature-card { transition: none; }
}
