/* Be Vietnam Pro: self-hosted, only weights used by this page. */
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/be-vietnam-pro-vietnamese-400-normal.woff2?v=1') format('woff2');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/be-vietnam-pro-latin-ext-400-normal.woff2?v=1') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/be-vietnam-pro-latin-400-normal.woff2?v=1') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/be-vietnam-pro-vietnamese-700-normal.woff2?v=1') format('woff2');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/be-vietnam-pro-latin-ext-700-normal.woff2?v=1') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/be-vietnam-pro-latin-700-normal.woff2?v=1') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/be-vietnam-pro-vietnamese-800-normal.woff2?v=1') format('woff2');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/be-vietnam-pro-latin-ext-800-normal.woff2?v=1') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Be Vietnam Pro';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/be-vietnam-pro-latin-800-normal.woff2?v=1') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* Font dự phòng chỉnh số đo khớp Be Vietnam Pro: khi font web tải xong, chữ không đổi kích thước (giảm CLS). */
@font-face { font-family: 'BVP Fallback'; src: local('Arial'), local('ArialMT'), local('Liberation Sans'), local('Helvetica'); font-weight: 100 600; size-adjust: 108.18%; ascent-override: 92.44%; descent-override: 24.96%; line-gap-override: 0%; }
@font-face { font-family: 'BVP Fallback'; src: local('Arial Bold'), local('Arial-BoldMT'), local('Liberation Sans Bold'), local('Helvetica Bold'); font-weight: 700 900; size-adjust: 104.88%; ascent-override: 95.34%; descent-override: 25.74%; line-gap-override: 0%; }
:root {
  color-scheme: light;
  --blue: #0b6fc1;
  --blue-dark: #07569a;
  --ink: #172d47;
  --body: #322e2e;
  --muted: #536379;
  --line: #dce6f0;
  --navy: #061b36;
  --writer: #2f5bd3;
  --sheets: #1e8e3e;
  --slides: #e8590c;
  --yellow: #ffd84d;
  font-family: 'Be Vietnam Pro', 'BVP Fallback', sans-serif;
  font-synthesis: none;
  color: var(--body);
  background: #fff;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; font-size: 15px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--blue-dark); text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
button { cursor: pointer; }
img, svg { vertical-align: middle; }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
figure, p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { color: var(--ink); }
h1, h2 { font-weight: 800; letter-spacing: -.045em; line-height: 1.24; }
h2 { font-size: clamp(30px, 3.1vw, 44px); }
h3 { font-size: 21px; font-weight: 700; line-height: 1.4; letter-spacing: -.025em; }
button, summary, a { touch-action: manipulation; }
:focus-visible { outline: 3px solid #e8590c; outline-offset: 5px; border-radius: 4px; }
[hidden] { display: none !important; }
::selection { background: #ffd84d; color: #092d52; }
.container { width: min(1240px, calc(100% - 80px)); margin-inline: auto; }
.section { padding-block: 104px; }
.text-blue { color: var(--blue); }
.icon { display: inline-block; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.svg-library { width: 0; height: 0; position: absolute; overflow: hidden; }
.eyebrow { font-weight: 700; font-size: 11px; letter-spacing: .15em; color: var(--blue-dark); margin-bottom: 20px; line-height: 1.7; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 22px; background: linear-gradient(125deg, #0875c9, #065cac); color: white; border: 1px solid transparent; border-radius: 10px; font-weight: 700; font-size: 14px; text-decoration: none; line-height: 1.5; box-shadow: 0 5px 14px #0b6fc119; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { background: #07569a; box-shadow: 0 8px 22px #0b6fc135; transform: translateY(-2px); }
.button:active { transform: translateY(0); box-shadow: none; }
.button-small { min-height: 44px; padding: 9px 18px; font-size: 13px; }
.button-small .icon { width: 19px; height: 19px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; font-size: 13px; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.inline-link { font-weight: 700; text-decoration: underline; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.skip-link { position: fixed; z-index: 100; top: -100px; left: 20px; padding: 12px 20px; border-radius: 8px; background: var(--yellow); color: var(--ink); font-weight: 700; }
.skip-link:focus { top: 12px; }

/* Navigation remains visible without JavaScript. */
.site-header { position: sticky; z-index: 30; top: 0; background: #ffffffef; border-bottom: 1px solid #e2eef5; backdrop-filter: blur(18px); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; width: 191px; flex: 0 0 auto; }
.brand img { width: 191px; height: auto; }
.main-nav { display: flex; gap: 30px; align-items: center; }
.main-nav > a:not(.button) { display: inline-flex; align-items: center; min-height: 44px; color: #40546b; font-size: 12px; font-weight: 700; text-decoration: none; }
.main-nav > a:not(.button):hover { color: var(--blue); }
.menu-toggle { display: none; background: white; color: var(--ink); border: 1px solid var(--line); border-radius: 8px; min-height: 44px; padding: 9px 12px; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; }
.menu-lines { width: 16px; height: 12px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.menu-lines::after { content: ''; display: block; height: 2px; background: currentColor; margin-top: 3px; }

/* The hero uses the approved glass illustration and a real application window. */
.hero { position: relative; isolation: isolate; overflow: clip; background: linear-gradient(115deg, #fff 4%, #f4faff 38%, #c5e9ff 75%, #8bc8f4 100%); }
.hero::after { content: ''; position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse at 20% 92%, #e3f6ff, transparent 55%); }
.hero-orbit { width: 780px; height: 780px; position: absolute; right: -260px; top: -390px; border: 1px solid #ffffff90; border-radius: 50%; box-shadow: 0 0 0 50px #ffffff20, 0 0 0 100px #ffffff16; z-index: -1; }
.hero-layout { display: grid; grid-template-columns: 1fr 1.08fr; gap: 0; min-height: 700px; align-items: center; }
.hero-copy { position: relative; z-index: 2; padding-block: 52px 48px; }
.hero-copy .eyebrow { display: flex; align-items: center; gap: 10px; font-size: 10px; letter-spacing: .12em; margin-bottom: 23px; }
.status-dot, .live-dot { height: 7px; width: 7px; background: #1e8e3e; border-radius: 50%; display: inline-block; flex-shrink: 0; box-shadow: 0 0 0 4px #1e8e3e13; }
.hero h1 { font-size: clamp(39px, 4.15vw, 59px); line-height: 1.17; letter-spacing: -.055em; max-width: 620px; }
.hero h1 > span { color: var(--blue); display: block; }
.free-badge { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; margin-top: 26px; background: #0e7a36; color: #fff; border: 1px solid #0b6a2e; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; font-weight: 800; border-radius: 9px; box-shadow: 0 5px 0 #0e7a3633, 0 8px 24px #0e7a362e; }
.free-badge > span { font-size: 23px; }
.lifetime { margin-top: 13px; font-size: 13px; color: #40546b; }
.hero-description { margin-top: 22px; max-width: 490px; font-size: 14px; line-height: 1.85; color: #465c74; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; margin-top: 28px; }
.button-hero { min-height: 57px; font-size: 14px; padding-inline: 20px; box-shadow: 0 5px 0 #0b6fc126, 0 10px 24px #0b6fc122; }
.button-hero .arrow { width: 20px; margin-left: 8px; }
.release-note { margin-top: 14px; display: flex; gap: 7px; flex-wrap: wrap; color: #52647a; font-size: 11px; }
.hero-art { align-self: stretch; position: relative; min-width: 0; min-height: 660px; }
.hero-illustration { position: absolute; width: calc(100% + max(40px, (100vw - 1240px) / 2)); left: 0; top: -5%; mask-image: linear-gradient(to right, transparent 0%, black 16%, black 100%); }
.hero-illustration img { width: 100%; mix-blend-mode: multiply; }
.glass-window { position: relative; padding: 7px; border: 1px solid #fff; border-radius: 15px; background: linear-gradient(135deg, #ffffffad, #d2eaff88); box-shadow: 0 22px 55px #0a4c8b28, inset 0 0 0 1px #ffffff80; }
.glass-window > picture { overflow: hidden; border-radius: 5px; background: #f8fafc; }
.glass-window img { width: 100%; }
.window-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 30px; padding: 1px 8px 7px; color: #334f6d; font-size: 9px; font-weight: 700; }
.window-bar .icon { width: 14px; height: 14px; }
.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 6px; height: 6px; border-radius: 50%; background: #8ba5bf; }
.window-dots i:first-child { background: #ff9f8e; }
.window-dots i:nth-child(2) { background: #f8ce6c; }
.window-dots i:last-child { background: #74c9a0; }
.glass-window figcaption { padding: 9px 6px 3px; font-size: 9px; color: #3c5369; line-height: 1.6; display: flex; align-items: center; gap: 7px; }
.live-dot { width: 5px; height: 5px; box-shadow: none; }
.hero-window { position: absolute; width: 101%; left: -3%; top: 37%; transform: perspective(1200px) rotateY(-8deg) rotateX(3deg) rotateZ(-2deg); box-shadow: 0 30px 60px #045db242, 8px 8px 0 #80bdf250; }
.floating-label { display: flex; align-items: center; gap: 10px; position: absolute; z-index: 3; border: 1px solid #ffffffdc; background: #ffffffeb; border-radius: 12px; padding: 12px 16px; box-shadow: 0 12px 30px #1161a622; font-size: 10px; line-height: 1.6; color: #506579; }
.floating-label strong { color: var(--ink); font-size: 11px; }
.label-vietnamese { top: 18%; left: 7%; transform: rotate(-5deg); }
.flag-vn { display: block; flex-shrink: 0; width: 36px; height: 24px; border-radius: 2px; box-shadow: 0 1px 3px #0003; }
.label-offline { right: -1%; bottom: 5%; transform: rotate(3deg); }
.label-offline > .icon { color: #147d42; width: 30px; height: 30px; }
.hero-trust { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid #85b5d54a; padding-block: 23px; }
.hero-trust > span { display: flex; align-items: center; gap: 9px; font-size: 12px; color: #365574; }
.hero-trust .icon { background: #ffffffb3; color: #0b6fc1; border-radius: 50%; padding: 4px; }

.section-heading { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 44px; }
.section-heading .eyebrow { margin-bottom: 13px; }
.section-heading > p { color: var(--muted); line-height: 1.85; font-size: 14px; padding-bottom: 5px; }
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 23px; }
.app-card { --accent: var(--writer); --deep: #284cae; --tint: #edf2ff; position: relative; border-radius: 18px; padding: 30px 29px 0; background: linear-gradient(135deg, #f4f7ff, var(--tint)); border: 1px solid #dce4fb; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.app-card::after { content: ''; position: absolute; right: -35px; top: -45px; width: 170px; height: 170px; border: 23px solid #ffffff70; border-radius: 50%; pointer-events: none; }
.app-sheets { --accent: var(--sheets); --deep: #196e33; --tint: #e8f6ed; border-color: #d5ecde; background: linear-gradient(135deg, #f1fbf5, var(--tint)); }
.app-slides { --accent: var(--slides); --deep: #a33c08; --tint: #fff0e4; border-color: #ffe1cd; background: linear-gradient(135deg, #fff8f2, var(--tint)); }
.app-card:hover { transform: translateY(-5px); box-shadow: 0 18px 36px #102e4b10; }
.app-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; position: relative; z-index: 1; }
.app-top img { width: 63px; height: 63px; filter: drop-shadow(0 8px 7px #1839561b); }
.app-format { color: var(--deep); font-size: 9px; font-weight: 700; letter-spacing: .03em; }
.app-name { font-size: 9px; font-weight: 800; color: var(--deep); letter-spacing: .13em; margin-top: 26px; }
.app-card h3 { color: var(--accent); font-size: 29px; margin-block: 3px 12px; }
.app-card > p:last-of-type { color: #435268; font-size: 13px; line-height: 1.85; min-height: 74px; }
.app-bottom { margin-top: 25px; display: flex; align-items: center; justify-content: space-between; min-height: 64px; border-top: 1px solid #34476215; color: var(--deep); }
.app-bottom > span:first-child { font-size: 10px; font-weight: 700; }
.app-number { font-size: 39px; font-weight: 800; line-height: 1; color: var(--accent); opacity: .26; letter-spacing: -.06em; }

.features-section { padding-top: 26px; background: linear-gradient(#fff 0%, #f6fbff 100%); }
.nd30-feature { background: linear-gradient(110deg, #e8f4ff, #c7e5ff); border: 1px solid #d2e6f8; border-radius: 23px; display: grid; grid-template-columns: .85fr 1.3fr; align-items: center; gap: 34px; padding: 42px 0 42px 39px; overflow: hidden; }
.feature-tag { color: #07569a; background: #ffffffb8; border-radius: 5px; display: inline-block; padding: 6px 10px; font-size: 8px; font-weight: 800; letter-spacing: .08em; margin-bottom: 20px; }
.feature-copy h3 { font-size: 31px; line-height: 1.3; letter-spacing: -.045em; }
.feature-copy > p { margin-top: 17px; font-size: 13px; color: #38536e; }
.check-list { list-style: none; padding: 0; margin: 19px 0 0; }
.check-list li { display: flex; align-items: start; gap: 9px; margin-block: 9px; font-size: 11px; color: #304f6f; }
.check-list li::before { content: '✓'; color: var(--blue); font-weight: 800; }
.feature-copy p.small-note, .small-note { font-size: 11px; color: #52647a; line-height: 1.8; }
.feature-window { margin-right: -28px; transform: perspective(1400px) rotateY(-5deg) rotateZ(1.5deg); border-radius: 12px; }
.feature-window figcaption { font-size: 8px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 33px; margin-top: 44px; }
.mini-feature { padding: 6px 0; }
.feature-icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: #e4eeff; color: #2f5bd3; }
.letter-icon { font-size: 24px; font-weight: 800; }
.green-icon { background: #e4f5e9; color: #196e33; font-size: 19px; }
.orange-icon { background: #fff0df; color: #b84408; }
.purple-icon { background: #f0eaff; color: #7052b3; }
.mini-feature h3 { font-size: 16px; margin-block: 18px 10px; }
.mini-feature p { font-size: 12px; color: #536379; }
.mini-feature a { font-size: 11px; margin-top: 3px; }

.workflow-section { position: relative; isolation: isolate; background: var(--navy); color: #c3d4e5; overflow: clip; }
.night-backdrop { position: absolute; z-index: -1; inset: 0; opacity: .48; }
.night-backdrop img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.workflow-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px 60px; padding-block: 94px 42px; align-items: center; }
.workflow-copy .eyebrow { color: #85caff; font-size: 10px; }
.workflow-copy h2 { font-size: clamp(32px, 3vw, 43px); color: #fff; line-height: 1.3; }
.workflow-copy h2 > span { color: #8bd0ff; }
.workflow-copy > p:not(.eyebrow) { margin-top: 24px; color: #c3d4e5; font-size: 13px; line-height: 1.9; max-width: 390px; }
.workflow-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.workflow-points span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid #4b80ae; background: #0b3157a3; border-radius: 6px; font-size: 10px; color: #d4eaff; }
.workflow-points .icon { width: 17px; height: 17px; color: #8bd0ff; }
.workflow-gallery { position: relative; min-width: 0; min-height: 480px; }
.workflow-gallery .glass-window { border-color: #a9d8ffa0; background: linear-gradient(135deg, #89c4ff66, #4376a342); box-shadow: 0 25px 50px #0006, 0 0 32px #0b6fc13b; }
.workflow-gallery .window-bar { color: #e9f4ff; }
.slides-window { width: 83%; position: absolute; top: 0; right: -4%; transform: rotate(5deg); opacity: .9; }
.tabs-window { width: 94%; position: absolute; top: 125px; left: -3%; transform: rotate(-3deg); }
.offline-note { grid-column: 1 / -1; display: flex; gap: 17px; align-items: center; padding-top: 30px; margin-top: 3px; border-top: 1px solid #a8d5ff26; }
.offline-note > .icon { height: 41px; width: 41px; color: #8bd0ff; padding: 6px; background: #0b6fc130; border: 1px solid #4b80ae; border-radius: 10px; }
.offline-note h3 { font-size: 14px; color: #eff8ff; margin-bottom: 5px; }
.offline-note p { font-size: 11px; color: #b9cce0; }

.downloads-section { background: radial-gradient(ellipse at 50% 20%, #e9f5ff, #fff 65%); }
.centered { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0; }
.centered > p:not(.eyebrow) { margin-top: 17px; }
.release-pill { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; justify-content: center; background: #fff; border: 1px solid #c9dced; color: #42617e; font-size: 10px; border-radius: 24px; padding: 8px 14px; margin-top: 19px; }
.release-pill .status-dot { width: 5px; height: 5px; }
.download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.download-card { padding: 29px; border: 1px solid #d8e5f1; border-radius: 17px; background: #fff; position: relative; box-shadow: 0 8px 30px #0b4e7a06; }
.download-card.is-recommended { border-color: #0b6fc1; box-shadow: 0 0 0 1px #0b6fc1, 0 12px 38px #0b6fc114; }
.download-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 24px; }
.os-icon { color: var(--blue); width: 35px; height: 35px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.mac-card .os-icon { color: #263c55; }
.platform-status { background: #e9f6ed; color: #216436; border-radius: 5px; padding: 4px 8px; font-size: 9px; font-weight: 700; }
.status-soon { background: #fff3cf; color: #79540d; }
.download-card h3 { font-size: 24px; margin-bottom: 8px; }
.download-card > p:not(.download-hint) { color: #536379; font-size: 12px; }
.file-type { display: block; color: #5c6c80; font-size: 11px; margin-block: 8px 25px; }
.download-link { width: 100%; font-size: 12px; min-height: 49px; padding-inline: 10px; }
.download-link .icon { width: 19px; height: 19px; }
.mac-downloads { display: grid; gap: 8px; }
.mac-downloads .button { min-height: 44px; }
.is-unavailable, .is-unavailable:hover, .is-unavailable:active { background: #edf1f6; color: #54637a; border-color: #dce4ed; box-shadow: none; cursor: not-allowed; transform: none; }
.download-hint { font-size: 10px; color: #5c6c80; margin-top: 12px; min-height: 44px; display: flex; align-items: center; }
.download-card .download-hint.inline-link { color: var(--blue-dark); margin-top: 8px; }
.download-support { max-width: 1040px; margin: 29px auto 0; }
.beta-note { display: flex; gap: 12px; align-items: start; padding: 17px 20px; background: #fff8e8; border: 1px solid #efe1bc; border-radius: 11px; }
.note-mark { flex-shrink: 0; width: 21px; height: 21px; border: 1px solid #a67615; color: #8c5e08; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; margin-top: 2px; }
.beta-note p { font-size: 11px; line-height: 1.9; color: #695121; }
.beta-note strong { color: #5c4216; }
.install-details { margin-top: 20px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.install-details details + details { border-top: 1px solid var(--line); }
summary { list-style: none; min-height: 64px; padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; color: var(--ink); font-size: 13px; font-weight: 700; line-height: 1.6; }
summary::-webkit-details-marker { display: none; }
summary:hover { color: var(--blue); background: #eaf4ff66; }
.summary-plus { font-size: 22px; color: var(--blue); font-weight: 400; line-height: 1; flex: 0 0 18px; text-align: center; transition: transform .2s ease; }
details[open] > summary .summary-plus { transform: rotate(45deg); }
.details-body { padding: 0 22px 22px; color: #536379; font-size: 12px; line-height: 1.85; }
.details-body p + p { margin-top: 12px; }
.details-body a { display: inline-block; padding-block: 10px; }
.details-body code { font-size: 11px; overflow-wrap: anywhere; }
.details-body pre { white-space: pre-wrap; overflow-wrap: anywhere; background: #f0f5fa; color: #243e58; padding: 15px; border: 1px solid #dde7f0; border-radius: 7px; margin-block: 12px 17px; }
.code-block { display: flex; align-items: center; gap: 15px; justify-content: space-between; background: #0b203b; color: #e3f2ff; padding: 13px 15px; margin-block: 12px 18px; border-radius: 8px; }
.code-block code { min-width: 0; }
.copy-button { display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; min-height: 44px; border: 1px solid #6080a1; border-radius: 5px; padding: 8px 10px; background: #1e3d5f; color: #fff; font-size: 10px; }
.copy-button:hover { background: #2b5178; }
.copy-button .icon { width: 16px; height: 16px; }
.copy-status:empty { display: none; }
.checksum-link { display: flex; justify-content: center; align-items: center; gap: 8px; width: fit-content; min-height: 44px; margin: 17px auto 0; font-size: 11px; font-weight: 700; text-decoration: none; }
.checksum-link:hover { text-decoration: underline; }
.checksum-link .icon { width: 18px; height: 18px; }

.faq-section { background: #f4f8fc; border-block: 1px solid #e8f0f6; }
.faq-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; }
.faq-intro .eyebrow { margin-bottom: 16px; }
.faq-intro h2 { font-size: 37px; }
.faq-intro > p:not(.eyebrow) { color: #536379; font-size: 12px; margin-block: 22px 14px; max-width: 300px; }
.faq-intro .text-link { font-size: 12px; }
.faq-intro .text-link .icon { width: 18px; height: 18px; }
.faq-stamp { display: flex; align-items: center; gap: 16px; color: #0b6fc1; font-size: 98px; line-height: 1; font-weight: 800; margin-top: 35px; letter-spacing: -.08em; }
.faq-stamp span { font-size: 12px; line-height: 1.8; letter-spacing: 0; font-weight: 700; color: #526f8c; }
.faq-list details { border-bottom: 1px solid #d8e3ee; }
.faq-list details:first-child { border-top: 1px solid #d8e3ee; }
.faq-list summary { padding: 20px 3px; min-height: 72px; font-size: 12px; }
.faq-list .details-body { padding: 0 28px 23px 3px; font-size: 12px; }

.site-footer { background: #fff; border-top: 5px solid var(--blue); padding-top: 53px; }
.footer-main { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding-bottom: 38px; }
.footer-brand > p { color: #536379; margin-block: 19px 20px; font-size: 12px; }
.product-by { font-size: 11px; color: #536379; }
.product-by strong { color: var(--blue); }
.footer-contact { display: flex; align-items: flex-start; gap: 24px; }
.company-logo { flex-shrink: 0; display: block; margin-top: 5px; border-radius: 4px; }
/* Logo cao bằng khối chữ bên phải (từ dòng tên công ty tới dòng liên hệ). */
.company-logo img { display: block; height: 95px; width: auto; }
.company-info { min-width: 0; }
.footer-contact h2 { font-size: 14px; font-weight: 700; line-height: 1.7; letter-spacing: 0; }
.footer-contact h2 span { display: block; font-size: 11px; color: #536379; }
address { font-style: normal; font-size: 12px; color: #536379; margin-top: 12px; }
.contact-links { display: flex; flex-wrap: wrap; gap: 0 20px; margin-top: 4px; }
.contact-links a { display: flex; align-items: center; gap: 6px; min-height: 30px; color: #365574; font-size: 11px; text-decoration: none; }
.contact-links a:hover { color: var(--blue); text-decoration: underline; }
.ecosystem { padding: 25px 0; border-block: 1px solid var(--line); }
.ecosystem > p { font-size: 9px; letter-spacing: .1em; font-weight: 700; color: #536379; margin-bottom: 13px; }
.ecosystem nav { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.ecosystem a { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 44px; padding: 8px 13px; border: 1px solid #e0eaf2; background: #f7fafd; border-radius: 6px; font-size: 10px; font-weight: 700; color: #365574; text-decoration: none; }
.ecosystem a:hover { background: #e8f3ff; border-color: #bddaf2; color: var(--blue-dark); }
.ecosystem a span { color: #6a849e; }
.footer-legal { padding-block: 24px; color: #5b6d80; font-size: 9px; line-height: 1.9; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; }

/* Animate only as an element enters; never hide content while waiting for JS. */
@keyframes reveal-rise { from { opacity: .15; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: no-preference) {
  .is-revealed { animation: reveal-rise .65s cubic-bezier(.2,.65,.3,1) both; }
}
@media (min-width: 1600px) { .hero-layout { min-height: 745px; } .hero-art { min-height: 700px; } .hero h1 { font-size: 61px; } }
@media (min-width: 901px) {
  /* Reserve the foreground window's height, including its rotated edge. */
  .workflow-gallery { padding-bottom: 18px; }
  .tabs-window { position: relative; top: auto; margin-top: 125px; }
}
@media (max-width: 1150px) {
  .container { width: calc(100% - 56px); }
  .main-nav { gap: 20px; }
  .hero h1 { font-size: 45px; }
  .hero-layout { min-height: 650px; grid-template-columns: 1fr 1fr; }
  .hero-art { min-height: 620px; }
  .hero-illustration { top: 7%; width: calc(100% + 28px); }
  .hero-window { top: 40%; }
  .label-vietnamese { top: 23%; left: 4%; }
  .label-offline { bottom: 10%; }
  .hero-trust > span { font-size: 10px; }
  .app-card { padding-inline: 22px; }
  .app-top { flex-wrap: wrap; }
  .app-format { font-size: 8px; }
  .app-bottom > span:first-child { font-size: 9px; }
  .nd30-feature { padding-left: 29px; gap: 25px; }
  .feature-copy h3 { font-size: 27px; }
  .workflow-inner { gap: 28px 35px; }
  .workflow-gallery { min-height: 420px; }
  .download-card { padding: 23px; }
  .faq-layout { gap: 55px; }
  .ecosystem a { padding-inline: 10px; font-size: 9px; }
}
@media (max-width: 900px) {
  .header-inner { min-height: 72px; gap: 20px; }
  .brand, .brand img { width: 160px; }
  .main-nav { gap: 17px; }
  .main-nav > a:not(.button) { font-size: 10px; }
  .button-small { padding-inline: 12px; font-size: 11px; }
  .hero h1 { font-size: 40px; }
  .hero-copy .eyebrow { font-size: 8px; }
  .hero-description { font-size: 12px; }
  .hero-description br { display: none; }
  .free-badge { padding: 8px 12px; font-size: 16px; }
  .lifetime { font-size: 11px; }
  .hero-art { min-height: 590px; }
  .hero-illustration { top: 12%; }
  .hero-window { top: 43%; width: 105%; }
  .floating-label { padding: 9px 11px; }
  .floating-label strong { font-size: 9px; }
  .label-vietnamese { top: 27%; }
  .label-offline { bottom: 14%; right: -2%; }
  .label-offline .icon { width: 23px; }
  .section { padding-block: 76px; }
  .section-heading { gap: 20px; }
  .section-heading > p { font-size: 12px; max-width: 250px; }
  .section-heading h2 { font-size: 34px; }
  .app-grid { gap: 14px; }
  .app-card { padding: 22px 17px 0; }
  .app-top img { width: 52px; height: 52px; }
  .app-top { display: block; }
  .app-format { display: block; margin-top: 13px; }
  .app-name { margin-top: 20px; font-size: 8px; }
  .app-card h3 { font-size: 25px; }
  .app-card > p:last-of-type { font-size: 12px; min-height: 100px; }
  .app-bottom { min-height: 67px; }
  .app-number { display: none; }
  .features-section { padding-top: 0; }
  .nd30-feature { grid-template-columns: 1fr; padding: 34px; gap: 30px; }
  .feature-copy h3 br { display: none; }
  .feature-copy { max-width: 600px; }
  .feature-window { transform: none; margin-right: 0; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .workflow-inner { grid-template-columns: 1fr; padding-top: 68px; }
  .workflow-copy > p:not(.eyebrow) { max-width: 620px; }
  .workflow-gallery { min-height: 530px; width: 90%; margin: 20px auto 0; }
  .slides-window { width: 77%; right: 0; }
  .tabs-window { width: 85%; left: 0; top: 120px; }
  .offline-note { margin-top: 0; }
  .download-grid { gap: 14px; }
  .download-card { padding: 20px 16px; }
  .download-heading { flex-wrap: wrap; }
  .platform-status { font-size: 8px; }
  .download-link { font-size: 10px; gap: 7px; }
  .download-card > p:not(.download-hint) { font-size: 11px; }
  .file-type { font-size: 10px; }
  .download-card .download-hint { font-size: 9px; }
  .faq-layout { grid-template-columns: 1fr 1.35fr; gap: 40px; }
  .faq-intro h2 { font-size: 30px; }
  .faq-list summary { font-size: 11px; gap: 14px; }
  .ecosystem nav { grid-template-columns: repeat(3, 1fr); }
  .footer-main { gap: 40px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 87px; }
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 70px; flex-wrap: wrap; padding-block: 10px; gap: 8px; }
  .brand, .brand img { width: 166px; }
  .menu-toggle:not([hidden]) { display: inline-flex; }
  .main-nav { width: 100%; flex-wrap: wrap; gap: 4px 18px; justify-content: space-between; padding-block: 8px 4px; }
  .main-nav > a:not(.button) { font-size: 11px; }
  .nav-enhanced .main-nav { display: none; }
  .nav-enhanced .main-nav.is-open { display: flex; }
  .hero-layout { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding-block: 40px 12px; }
  .hero-copy .eyebrow { font-size: 9px; margin-bottom: 20px; letter-spacing: .09em; }
  .hero h1 { font-size: clamp(38px, 7.2vw, 54px); max-width: 600px; }
  .hero h1 > br:nth-of-type(1) { display: none; }
  .hero h1 > span { max-width: 610px; }
  .free-badge { margin-top: 23px; font-size: 19px; padding: 9px 16px; }
  .lifetime { font-size: 11px; }
  .hero-description { font-size: 13px; margin-top: 19px; max-width: 450px; }
  .hero-actions { margin-top: 23px; gap: 7px 20px; }
  .button-hero { font-size: 13px; min-height: 56px; }
  .release-note { font-size: 10px; margin-top: 10px; }
  .hero-art { min-height: 0; height: auto; aspect-ratio: 1.2; margin-top: 0; width: 100%; max-width: 600px; justify-self: center; }
  .hero-illustration { width: 90%; left: 14%; top: -12%; mask-image: linear-gradient(90deg, transparent, #000 22%); }
  .hero-window { width: 91%; left: 1%; top: 27%; padding: 5px; transform: perspective(1200px) rotateY(-5deg) rotateZ(-2deg); }
  .window-bar { font-size: 8px; min-height: 26px; padding: 1px 6px 5px; }
  .hero-window figcaption { font-size: 7px; padding-block: 6px 2px; }
  .label-vietnamese { top: 5%; left: 3%; padding: 8px 11px; font-size: 8px; }
  .label-vietnamese strong { font-size: 9px; }
  .flag-vn { width: 30px; height: 20px; }
  .label-offline { bottom: 2%; right: 0; font-size: 8px; padding: 9px 12px; }
  .hero-trust { padding-block: 20px; flex-wrap: wrap; gap: 10px 22px; justify-content: start; }
  .hero-trust > span { font-size: 10px; }
  .hero-trust .icon { width: 20px; height: 20px; padding: 3px; }
  .section { padding-block: 64px; }
  .section-heading { display: block; margin-bottom: 30px; }
  .section-heading h2 { font-size: 33px; }
  .section-heading > p { margin-top: 18px; font-size: 13px; max-width: none; }
  .section-heading > p br { display: none; }
  .eyebrow { font-size: 9px; letter-spacing: .1em; }
  .app-grid { grid-template-columns: 1fr; gap: 16px; }
  .app-card { padding: 25px 26px 0; }
  .app-top { display: flex; }
  .app-top img { height: 63px; width: 63px; }
  .app-format { font-size: 10px; margin: 0; }
  .app-name { margin-top: 20px; font-size: 9px; }
  .app-card h3 { font-size: 29px; margin-bottom: 10px; }
  .app-card > p:last-of-type { font-size: 13px; min-height: 0; max-width: 480px; }
  .app-bottom { margin-top: 20px; min-height: 60px; }
  .app-bottom > span:first-child { font-size: 11px; }
  .app-number { display: block; font-size: 38px; }
  .features-section { padding-top: 0; }
  .nd30-feature { padding: 27px 23px; border-radius: 17px; gap: 24px; }
  .feature-copy h3 { font-size: 28px; }
  .feature-copy > p { font-size: 12px; }
  .check-list li { font-size: 11px; }
  .feature-copy p.small-note { font-size: 10px; }
  .feature-window { margin-inline: -10px; padding: 4px; border-radius: 9px; }
  .feature-window .window-bar { font-size: 6px; }
  .feature-window figcaption { font-size: 7px; }
  .feature-grid { gap: 28px 23px; margin-top: 30px; }
  .mini-feature h3 { font-size: 14px; }
  .mini-feature p { font-size: 11px; }
  .mini-feature a { font-size: 10px; }
  .workflow-inner { padding-block: 57px 30px; gap: 20px; }
  .workflow-copy h2 { font-size: 33px; }
  .workflow-copy .eyebrow { font-size: 9px; }
  .workflow-copy > p:not(.eyebrow) { font-size: 12px; margin-top: 19px; }
  .workflow-gallery { width: 100%; min-height: 0; aspect-ratio: 1.12; margin-top: 12px; }
  .tabs-window { width: 93%; top: 28%; left: 0; }
  .slides-window { width: 84%; right: 0; }
  .workflow-gallery .glass-window { padding: 4px; border-radius: 9px; }
  .workflow-gallery .window-bar { font-size: 7px; min-height: 24px; }
  .offline-note { gap: 12px; padding-top: 22px; align-items: start; }
  .offline-note h3 { font-size: 12px; }
  .offline-note p { font-size: 10px; }
  .offline-note > .icon { width: 33px; height: 33px; }
  .centered { display: flex; }
  .centered h2 { font-size: 34px; }
  .centered h2 span { display: block; }
  .centered > p:not(.eyebrow) { font-size: 12px; margin-top: 13px; }
  .release-pill { font-size: 9px; padding-inline: 10px; gap: 7px; }
  .download-grid { grid-template-columns: 1fr; gap: 17px; }
  .download-card { padding: 26px; }
  .download-heading { margin-bottom: 18px; }
  .platform-status { font-size: 10px; }
  .download-card > p:not(.download-hint) { font-size: 12px; }
  .file-type { font-size: 11px; margin-bottom: 20px; }
  .download-link { font-size: 13px; min-height: 51px; }
  .mac-downloads { grid-template-columns: 1fr 1fr; gap: 8px; }
  .mac-downloads .button { font-size: 10px; padding: 10px 8px; min-height: 49px; }
  .download-card .download-hint { font-size: 11px; min-height: 44px; margin-top: 8px; }
  .beta-note { padding: 16px 14px; gap: 10px; }
  .beta-note p { font-size: 10px; }
  summary { padding: 17px 14px; font-size: 11px; gap: 10px; }
  .details-body { padding: 0 14px 18px; font-size: 11px; }
  .code-block { flex-wrap: wrap; padding: 12px; }
  .code-block code { width: 100%; }
  .details-body code { font-size: 10px; }
  .checksum-link { font-size: 10px; gap: 6px; }
  .faq-layout { grid-template-columns: 1fr; gap: 25px; }
  .faq-intro h2 { font-size: 33px; }
  .faq-intro > p:not(.eyebrow) { max-width: 420px; }
  .faq-stamp { display: none; }
  .faq-list summary { font-size: 12px; min-height: 70px; }
  .faq-list .details-body { font-size: 12px; padding-right: 15px; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; }
  .site-footer { padding-top: 38px; }
  .footer-contact h2 { font-size: 13px; }
  .ecosystem nav { grid-template-columns: repeat(2, 1fr); }
  .ecosystem a { font-size: 10px; padding-inline: 13px; }
  .footer-legal { font-size: 9px; padding-block: 20px; }
}
@media (max-width: 390px) {
  .container { width: calc(100% - 32px); }
  .hero h1 { font-size: 37px; }
  .hero-copy .eyebrow { font-size: 8px; }
  .free-badge { font-size: 17px; padding-inline: 12px; }
  .button-hero { width: 100%; padding-inline: 12px; font-size: 12px; }
  .hero-actions > .text-link { font-size: 11px; }
  .label-offline { bottom: -3%; }
  .hero-trust { margin-top: 10px; }
  .hero-trust > span { font-size: 9px; }
  .app-format { font-size: 9px; }
  .mac-downloads { grid-template-columns: 1fr; }
  .release-pill { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* The 404 document reuses the local stylesheet without loading page scripts. */
.error-page { min-height: 100svh; background: radial-gradient(ellipse at 80% 20%, #9cd7ff, transparent 50%), linear-gradient(135deg, #fff, #e7f5ff); display: flex; flex-direction: column; }
.error-header { padding-block: 25px; }
.error-main { flex: 1; display: grid; place-content: center; text-align: center; padding-block: 50px; }
.error-number { font-size: clamp(110px, 20vw, 200px); line-height: 1; font-weight: 800; color: #0b6fc1; text-shadow: 0 5px 0 #fff, 0 15px 35px #0b6fc12b; letter-spacing: -.08em; }
.error-main h1 { font-size: clamp(27px, 4vw, 42px); margin-top: 28px; }
.error-main > p:not(.error-number) { color: #536379; max-width: 470px; margin: 20px auto 28px; font-size: 14px; }
.error-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; }
.error-footer { text-align: center; padding: 25px 20px; font-size: 11px; color: #536379; }
@media (max-width: 480px) { .footer-contact { gap: 16px; } .company-logo img { width: 76px; height: auto; } }
.nowrap { white-space: nowrap; }
