:root {
  --blue-950: #072f58;
  --blue-900: #084577;
  --blue-800: #075ea8;
  --blue-700: #0a73c5;
  --blue-600: #118bd4;
  --blue-500: #24a5e4;
  --blue-100: #dff2fc;
  --blue-50: #f2f9fe;
  --ink: #122439;
  --muted: #5f7184;
  --line: #dbe8f2;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(7, 74, 127, 0.13);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Vazirmatn, IRANSans, Tahoma, Arial, sans-serif;
  line-height: 1.8;
  overflow-x: hidden;
}
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 104px 0; }
.scroll-progress { position: fixed; inset: 0 0 auto; z-index: 1000; height: 3px; background: transparent; }
.scroll-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--blue-500), var(--blue-800)); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(202, 223, 239, 0.76);
  background: rgba(255,255,255,.91);
  backdrop-filter: blur(18px);
}
.header-inner { min-height: 82px; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; }
.brand-logo { display: block; width: 142px; height: auto; max-height: 54px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 28px; margin-inline: auto; }
.main-nav a { position: relative; font-size: 14px; font-weight: 700; color: #3e5367; padding: 29px 0 26px; }
.main-nav a::after { content: ""; position: absolute; inset: auto 50% 18px; width: 0; height: 2px; background: var(--blue-700); transition: .25s; }
.main-nav a:hover { color: var(--blue-800); }
.main-nav a:hover::after { width: 100%; inset-inline-start: 0; }
.version-pill { display: inline-flex; align-items: center; gap: 9px; padding: 10px 14px; border: 1px solid var(--blue-700); border-radius: 9px; color: var(--blue-800); font-size: 12px; font-weight: 800; }
.version-pill span { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-600); box-shadow: 0 0 0 5px rgba(17,139,212,.11); }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--blue-900); margin: 5px 0; }

.hero { position: relative; min-height: 700px; overflow: hidden; background: linear-gradient(122deg, #fff 0%, #f6fbff 55%, #edf8fe 100%); border-bottom: 1px solid var(--line); }
.hero-grid { position: absolute; inset: 0; opacity: .25; background-image: linear-gradient(rgba(7,94,168,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(7,94,168,.08) 1px, transparent 1px); background-size: 78px 78px; mask-image: linear-gradient(to bottom, black, transparent 90%); }
.hero::before, .hero::after { content: ""; position: absolute; border: 1px dashed rgba(7,94,168,.18); border-radius: 50%; }
.hero::before { width: 520px; height: 520px; top: -240px; left: -180px; }
.hero::after { width: 260px; height: 260px; right: -130px; bottom: 110px; }
.version-watermark { position: absolute; top: 44px; left: 50%; transform: translateX(-50%); font: 800 clamp(120px, 18vw, 280px)/1 Tahoma, Arial, sans-serif; color: rgba(7,94,168,.045); letter-spacing: -10px; white-space: nowrap; direction: rtl; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1fr 1.02fr; gap: 72px; align-items: center; padding-top: 82px; padding-bottom: 66px; }
.eyebrow, .section-label { display: inline-flex; align-items: center; gap: 10px; color: var(--blue-700); font-size: 13px; font-weight: 900; letter-spacing: .1px; }
.eyebrow span { width: 28px; height: 1px; background: var(--blue-600); }
.hero h1 { margin: 20px 0; font-size: clamp(40px, 4.6vw, 66px); line-height: 1.35; letter-spacing: -2.3px; color: #112235; }
.hero h1 em { font-style: normal; color: var(--blue-800); }
.hero-copy > p { margin: 0; max-width: 630px; color: var(--muted); font-size: 17px; line-height: 2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.button { min-height: 50px; padding: 11px 22px; border-radius: 10px; display: inline-flex; justify-content: center; align-items: center; gap: 10px; border: 1px solid transparent; cursor: pointer; font-size: 14px; font-weight: 900; transition: transform .22s, box-shadow .22s, background .22s, border-color .22s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: linear-gradient(135deg, var(--blue-700), var(--blue-900)); box-shadow: 0 12px 28px rgba(7,94,168,.22); }
.button-primary:hover { box-shadow: 0 16px 34px rgba(7,94,168,.3); }
.button-outline { color: var(--blue-800); border-color: var(--blue-700); background: rgba(255,255,255,.7); }
.button-outline:hover { background: var(--blue-50); }
.play-mini { font-size: 10px; }
.availability { margin-top: 22px; display: flex; align-items: center; gap: 9px; color: #557084; font-size: 12px; font-weight: 700; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #25b46b; box-shadow: 0 0 0 6px rgba(37,180,107,.12); }
.hero-video { position: relative; padding: 0; aspect-ratio: 1.12/1; border: 0; border-radius: 26px; overflow: hidden; cursor: pointer; background: var(--blue-950); box-shadow: 0 34px 70px rgba(5,53,91,.24); text-align: right; }
.hero-video img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.hero-video:hover img { transform: scale(1.035); }
.video-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(2,36,66,.92), rgba(2,36,66,.1) 62%, rgba(2,36,66,.42)); }
.video-kicker { position: absolute; top: 22px; right: 24px; display: flex; align-items: center; gap: 9px; color: white; font-size: 12px; font-weight: 800; }
.video-kicker i { width: 8px; height: 8px; border-radius: 50%; background: #42c4ff; box-shadow: 0 0 0 6px rgba(66,196,255,.14); }
.play-button { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%,-50%); width: 92px; height: 92px; display: grid; place-items: center; border-radius: 50%; border: 2px solid rgba(255,255,255,.95); color: white; background: rgba(6,77,126,.32); backdrop-filter: blur(8px); font-size: 25px; padding-left: 5px; transition: .25s; }
.hero-video:hover .play-button, .webinar-cover:hover .play-button { transform: translate(-50%,-50%) scale(1.08); background: rgba(10,115,197,.82); }
.video-footer { position: absolute; inset: auto 24px 21px; display: flex; align-items: end; justify-content: space-between; color: white; }
.video-footer strong { font-size: 16px; }
.video-footer small { direction: ltr; padding: 4px 8px; border-radius: 6px; background: rgba(0,0,0,.4); }
.stats-strip { position: relative; z-index: 2; margin-bottom: 42px; display: grid; grid-template-columns: repeat(4,1fr); background: white; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.stats-strip div { padding: 22px 26px; display: flex; align-items: center; gap: 11px; border-left: 1px solid var(--line); }
.stats-strip div:last-child { border-left: 0; }
.stats-strip strong { color: var(--blue-800); font-size: 24px; white-space: nowrap; }
.stats-strip span { color: var(--muted); font-size: 12px; font-weight: 700; }

.intro-section { padding-top: 104px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 60px; margin-bottom: 42px; }
.section-heading > div { flex: 1; }
.section-heading.centered { display: block; max-width: 760px; text-align: center; }
.section-heading h2, .spotlight-copy h2, .update-copy h2 { margin: 8px 0 0; font-size: clamp(30px, 3.3vw, 46px); line-height: 1.45; letter-spacing: -1.4px; }
.section-heading p { max-width: 520px; margin: 0; color: var(--muted); font-size: 15px; }
.section-heading.centered p { margin: 15px auto 0; }
.pillars { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.pillar { position: relative; min-height: 395px; padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: white; overflow: hidden; transition: .28s; }
.pillar::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--blue-500), var(--blue-800)); transform: scaleX(0); transform-origin: right; transition: .28s; }
.pillar:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #bfdceb; }
.pillar:hover::before { transform: scaleX(1); }
.pillar-featured { color: white; background: linear-gradient(155deg, var(--blue-700), var(--blue-950)); border-color: transparent; }
.pillar-featured h3, .pillar-featured p, .pillar-featured li { color: #ffffff; }
.pillar-featured p { opacity: .93; }
.pillar-featured li { opacity: .96; }
.pillar-featured .pillar-number { color: rgba(255,255,255,.15); }
.pillar-featured .pillar-icon { border-color: rgba(255,255,255,.26); color: white; background: rgba(255,255,255,.08); }
.pillar-number { position: absolute; top: 10px; left: 18px; color: rgba(7,94,168,.07); font: 800 64px/1 Arial; }
.pillar-icon { width: 52px; height: 52px; border: 1px solid var(--blue-100); border-radius: 14px; display: grid; place-items: center; color: var(--blue-800); background: var(--blue-50); font: 800 23px/1 Arial; }
.chart-icon { grid-template-columns: repeat(4,5px); gap: 4px; align-items: end; justify-content: center; }
.chart-icon i { width: 5px; border-radius: 4px 4px 0 0; background: currentColor; }
.chart-icon i:nth-child(1) { height: 13px; }.chart-icon i:nth-child(2) { height: 22px; }.chart-icon i:nth-child(3) { height: 17px; }.chart-icon i:nth-child(4) { height: 29px; }
.pillar h3 { margin: 22px 0 10px; font-size: 21px; }
.pillar p { min-height: 84px; margin: 0 0 17px; color: var(--muted); font-size: 13px; }
.pillar ul { list-style: none; padding: 0; margin: 0; }
.pillar li { position: relative; padding-right: 18px; color: #516579; font-size: 12px; margin: 7px 0; }
.pillar-featured h3, .pillar-featured p, .pillar-featured li { color: #ffffff; }
.pillar li::before { content: ""; position: absolute; right: 0; top: 10px; width: 7px; height: 7px; border: 2px solid var(--blue-500); border-radius: 50%; }
.pillar-featured li::before { border-color: #6bd1ff; }
.pillar a { display: inline-flex; gap: 8px; margin-top: 18px; color: white; font-size: 12px; font-weight: 900; }

.spotlight-section { background: var(--blue-50); border-block: 1px solid var(--line); }
.spotlight-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 78px; }
.chart-card { padding: 24px; border-radius: 22px; background: white; border: 1px solid #d5e7f2; box-shadow: var(--shadow); }
.chart-top { display: flex; justify-content: space-between; align-items: center; }
.chart-top span { direction: ltr; color: var(--blue-900); font: 800 17px Arial; }
.chart-top b { color: #25815a; background: #e5f7ed; border-radius: 20px; padding: 4px 10px; font-size: 10px; }
.chart-card svg { width: 100%; height: auto; overflow: visible; }
.chart-zone.zone-green { fill: rgba(50, 184, 105, .14); }
.chart-zone.zone-yellow { fill: rgba(248, 186, 46, .16); }
.chart-zone.zone-red { fill: rgba(224, 75, 75, .14); }
.grid-line { stroke: rgba(73, 102, 123, .18); stroke-width: 1; stroke-dasharray: 4 5; fill: none; }
.grid-line.strong { stroke: rgba(73, 102, 123, .26); stroke-dasharray: none; }
.grid-line.vertical { stroke: rgba(73, 102, 123, .11); }
.sd-labels { fill: #60798d; font: 700 9px Arial, sans-serif; direction: ltr; }
.area-line { fill: url(#areaGradient); }
.data-line { fill: none; stroke: var(--blue-600); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.data-dots circle { fill: white; stroke: var(--blue-700); stroke-width: 3; }
.data-dots .warning-dot { fill: #fff6cf; stroke: #e5a516; }
.data-dots .violation-dot { fill: #fff0f0; stroke: #d94848; }
.chart-y { position: absolute; opacity: 0; }
.chart-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.chart-badges span { padding: 5px 10px; border: 1px solid var(--line); border-radius: 20px; color: #5c7286; font-size: 10px; }
.spotlight-copy > p { color: var(--muted); font-size: 15px; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin: 27px 0; }
.check-grid span { position: relative; padding: 10px 36px 10px 12px; border-bottom: 1px solid #d6e5ef; font-size: 12px; font-weight: 800; }
.check-grid span::before { content: "✓"; position: absolute; right: 8px; color: var(--blue-700); }
.inline-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.text-button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 9px 17px; border: 1px solid var(--blue-700); border-radius: 10px; background: var(--blue-700); color: white; cursor: pointer; font-size: 12px; font-weight: 900; box-shadow: 0 9px 22px rgba(7,94,168,.16); transition: .22s; }
.text-button:hover { transform: translateY(-2px); background: var(--blue-900); border-color: var(--blue-900); }
.text-button.muted { color: var(--blue-800); background: white; box-shadow: none; }
.text-button.muted:hover { color: white; background: var(--blue-800); }

.learning-section { background: white; }
.webinar-card { display: grid; grid-template-columns: 1.15fr .85fr; background: var(--blue-950); border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.webinar-cover { position: relative; aspect-ratio: 16/9; border: 0; padding: 0; background: #031f39; cursor: pointer; overflow: hidden; }
.webinar-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,47,88,.15), rgba(7,47,88,.65)); }
.webinar-cover img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.webinar-cover:hover img { transform: scale(1.035); }
.webinar-cover .play-button { z-index: 2; }
.webinar-copy { padding: 38px 38px 34px; color: white; }
.webinar-badge { display: inline-block; padding: 5px 11px; border-radius: 20px; color: #dff5ff; background: rgba(31,166,226,.2); border: 1px solid rgba(107,209,255,.32); font-size: 10px; font-weight: 900; }
.webinar-copy h3 { margin: 15px 0 10px; font-size: 25px; line-height: 1.55; }
.webinar-copy p { color: #bed8e8; font-size: 13px; }
.webinar-meta { display: flex; flex-wrap: wrap; gap: 18px; margin: 20px 0; color: #d8edf8; font-size: 11px; }
.video-library { margin-top: 48px; }
.library-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.filter-tabs { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-tabs button { padding: 8px 14px; border: 1px solid var(--line); border-radius: 22px; color: #5e7184; background: white; cursor: pointer; font-size: 11px; font-weight: 800; transition: .2s; }
.filter-tabs button.active, .filter-tabs button:hover { color: white; border-color: var(--blue-700); background: var(--blue-700); }
.video-search { min-width: 270px; height: 42px; display: flex; align-items: center; gap: 8px; padding: 0 13px; border: 1px solid var(--line); border-radius: 10px; color: #6d8395; background: white; }
.video-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 12px; }
.video-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px 16px; }
.video-card { min-width: 0; }
.video-thumb { position: relative; width: 100%; aspect-ratio: 16/9; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: var(--blue-950); cursor: pointer; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.video-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(4,36,63,.76), transparent 62%); }
.video-card:hover img { transform: scale(1.05); }
.video-card-play { position: absolute; z-index: 2; inset: 50% auto auto 50%; transform: translate(-50%,-50%); width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: white; background: rgba(7,94,168,.84); border: 1px solid rgba(255,255,255,.75); font-size: 11px; }
.video-duration { position: absolute; z-index: 2; left: 9px; bottom: 8px; padding: 2px 6px; border-radius: 5px; color: white; background: rgba(0,0,0,.62); direction: ltr; font-size: 9px; }
.video-card h3 { margin: 10px 2px 2px; font-size: 13px; line-height: 1.65; }
.video-card small { color: var(--blue-700); font-size: 9px; font-weight: 800; }
.load-more-wrap { display: flex; justify-content: center; margin-top: 36px; }
.button-soft { color: var(--blue-800); border-color: #c5e1f2; background: var(--blue-50); }
.empty-state { grid-column: 1/-1; padding: 45px; text-align: center; color: var(--muted); border: 1px dashed #c9dfea; border-radius: 14px; }

.guides-section { background: #f8fbfd; border-block: 1px solid var(--line); }
.guide-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.guide-card { min-height: 145px; display: flex; flex-direction: column; justify-content: space-between; padding: 20px; border: 1px solid var(--line); border-radius: 15px; background: white; transition: .25s; }
.guide-card:hover { transform: translateY(-3px); border-color: #a8d1e9; box-shadow: 0 12px 30px rgba(7,74,127,.09); }
.guide-card small { color: var(--blue-700); font-size: 9px; font-weight: 900; }
.guide-card h3 { margin: 7px 0 18px; font-size: 14px; line-height: 1.7; }
.guide-card span { color: #6c8194; font-size: 10px; font-weight: 800; }

.changelog-section { background: white; }
.changelog-list { max-width: 920px; }
.change-group { border-bottom: 1px solid var(--line); }
.change-group summary { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none; font-size: 16px; font-weight: 900; }
.change-group summary::-webkit-details-marker { display: none; }
.change-group summary span { display: flex; align-items: center; gap: 16px; }
.change-group summary b { color: var(--blue-600); font: 800 12px Arial; }
.change-group summary i { width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--blue-700); font-style: normal; transition: .25s; }
.change-group[open] summary i { transform: rotate(45deg); background: var(--blue-50); }
.change-content { padding: 0 46px 25px 0; }
.change-content ul { columns: 2; column-gap: 42px; margin: 0; padding: 0; list-style: none; }
.change-content li { position: relative; break-inside: avoid; padding: 7px 20px 7px 0; color: var(--muted); font-size: 12px; }
.change-content li::before { content: ""; position: absolute; right: 0; top: 17px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-500); }

.update-section { padding: 30px 0 104px; }
.update-card { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; padding: 56px 62px; color: white; background: linear-gradient(135deg, var(--blue-700), var(--blue-950)); border-radius: 30px; box-shadow: 0 30px 70px rgba(7,74,127,.24); }
.update-card::before { content: "۳.۳.۱۷.۰"; position: absolute; left: -30px; bottom: -40px; color: rgba(255,255,255,.05); direction: rtl; font: 800 120px/1 Tahoma, Arial; }
.section-label.light { color: #9edcff; }
.update-copy { position: relative; z-index: 1; }
.update-copy p { color: #d3e9f6; font-size: 14px; }
.update-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 28px; }
.button-white { color: var(--blue-900); background: white; }
.support-link { display: inline-flex; flex-direction: row; align-items: center; gap: 6px; color: white; font-size: 12px; font-weight: 800; text-align: right; white-space: nowrap; }
.support-link bdi { direction: ltr; unicode-bidi: isolate; font-variant-numeric: tabular-nums; }
.update-steps { position: relative; z-index: 1; display: flex; flex-direction: column; }
.update-steps > div { display: flex; align-items: center; gap: 15px; }
.update-steps b { width: 45px; height: 45px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: var(--blue-900); background: white; }
.update-steps span { display: flex; flex-direction: column; }
.update-steps strong { font-size: 13px; }
.update-steps small { color: #b9d8e9; font-size: 10px; }
.update-steps > i { width: 1px; height: 22px; margin: 5px 22px 5px 0; background: rgba(255,255,255,.35); }

.site-footer { color: #cadce8; background: #062c51; }
.footer-main { min-height: 125px; display: flex; align-items: center; gap: 34px; }
.footer-brand { padding: 8px 12px; border-radius: 10px; background: white; }
.footer-brand .brand-logo { width: 126px; }
.footer-main > p { margin-inline: auto; font-size: 11px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; font-size: 10px; }
.footer-links a:hover { color: white; }
.footer-bottom { min-height: 48px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,.1); color: #86a5b9; font-size: 9px; }

.video-modal[hidden] { display: none; }
.video-modal { position: fixed; inset: 0; z-index: 1001; display: grid; place-items: center; padding: 24px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(2,18,31,.82); backdrop-filter: blur(7px); }
.modal-panel { position: relative; z-index: 1; width: min(920px, 100%); padding: 18px; border-radius: 18px; background: white; box-shadow: 0 30px 90px rgba(0,0,0,.34); animation: modal-in .25s ease both; }
.modal-head { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.modal-head h2 { margin: 0; font-size: 15px; }
.modal-close { width: 34px; height: 34px; border: 0; border-radius: 50%; color: var(--blue-900); background: var(--blue-50); cursor: pointer; font-size: 24px; line-height: 1; }
.modal-video { aspect-ratio: 16/9; overflow: hidden; border-radius: 12px; background: #031c31; }
.modal-video iframe { width: 100%; height: 100%; border: 0; }
.aparat-link { display: inline-block; margin-top: 12px; color: var(--blue-700); font-size: 11px; font-weight: 900; }
.noscript { padding: 14px; color: white; text-align: center; background: #a32f2f; }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .main-nav { gap: 16px; }
  .main-nav a { font-size: 12px; }
  .hero-inner { gap: 42px; }
  .pillars { grid-template-columns: repeat(2,1fr); }
  .video-grid, .guide-grid { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 820px) {
  .container { width: min(100% - 32px, 680px); }
  .section { padding: 76px 0; }
  .header-inner { min-height: 70px; }
  .menu-toggle { display: block; margin-right: auto; }
  .version-pill { display: none; }
  .main-nav { position: absolute; top: calc(100% + 1px); right: 16px; left: 16px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 11px 13px; border-bottom: 1px solid #edf3f7; }
  .main-nav a::after { display: none; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 58px; }
  .hero-video { aspect-ratio: 16/10; }
  .version-watermark { top: 120px; font-size: 120px; }
  .stats-strip { grid-template-columns: 1fr 1fr; margin-bottom: 30px; }
  .stats-strip div:nth-child(2) { border-left: 0; }.stats-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .intro-section { padding-top: 76px; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 12px; }
  .spotlight-grid { grid-template-columns: 1fr; gap: 50px; }
  .webinar-card { grid-template-columns: 1fr; }
  .library-toolbar { align-items: stretch; flex-direction: column; }
  .video-search { width: 100%; }
  .video-grid, .guide-grid { grid-template-columns: repeat(2,1fr); }
  .update-card { grid-template-columns: 1fr; padding: 42px; }
  .footer-main { flex-wrap: wrap; padding-block: 30px; }.footer-main > p { margin-inline: 0; width: 100%; }.footer-links { margin-right: auto; }
}
@media (max-width: 560px) {
  .container { width: min(100% - 24px, 480px); }
  .brand-logo { width: 122px; max-height: 46px; }
  .hero h1 { font-size: 37px; letter-spacing: -1.5px; }
  .hero-copy > p { font-size: 14px; }
  .hero-actions { flex-direction: column; }.hero-actions .button { width: 100%; }
  .hero-video { border-radius: 18px; }.play-button { width: 70px; height: 70px; }
  .stats-strip { grid-template-columns: 1fr; }.stats-strip div { border-left: 0; border-bottom: 1px solid var(--line); }.stats-strip div:last-child { border-bottom: 0; }
  .pillars, .video-grid, .guide-grid { grid-template-columns: 1fr; }
  .pillar { min-height: auto; }
  .section-heading h2, .spotlight-copy h2, .update-copy h2 { font-size: 30px; }
  .check-grid { grid-template-columns: 1fr; }
  .webinar-copy { padding: 26px 22px; }
  .filter-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 7px; }.filter-tabs button { white-space: nowrap; }
  .change-content { padding-right: 12px; }.change-content ul { columns: 1; }
  .update-card { padding: 32px 24px; border-radius: 22px; }.update-card::before { font-size: 70px; }
  .footer-main { display: block; }.footer-brand { margin-bottom: 24px; }.footer-links { margin-top: 20px; }.footer-bottom { flex-direction: column; justify-content: center; gap: 3px; }
  .modal-panel { padding: 12px; }.modal-head h2 { font-size: 12px; max-width: 80%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
