/* Formavion. Palette sampled from the approved logo; see README, Design notes. */
@font-face { font-family: Archivo; src: url(../fonts/archivo-latin-wdth-normal.woff2) format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Archivo; src: url(../fonts/archivo-latin-ext-wdth-normal.woff2) format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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: Archivo; src: url(../fonts/archivo-vietnamese-wdth-normal.woff2) format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; 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'; src: url(../fonts/be-vietnam-pro-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Be Vietnam Pro'; src: url(../fonts/be-vietnam-pro-latin-ext-400-normal.woff2) format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0100-02BA, U+1E00-1E9F, U+2020, U+20A0-20AB, U+2113; }
@font-face { font-family: 'Be Vietnam Pro'; src: url(../fonts/be-vietnam-pro-vietnamese-400-normal.woff2) format('woff2'); font-weight: 400; font-display: swap; 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'; src: url(../fonts/be-vietnam-pro-latin-600-normal.woff2) format('woff2'); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Be Vietnam Pro'; src: url(../fonts/be-vietnam-pro-latin-ext-600-normal.woff2) format('woff2'); font-weight: 600; font-display: swap; unicode-range: U+0100-02BA, U+1E00-1E9F, U+2020, U+20A0-20AB, U+2113; }
@font-face { font-family: 'Be Vietnam Pro'; src: url(../fonts/be-vietnam-pro-vietnamese-600-normal.woff2) format('woff2'); font-weight: 600; font-display: swap; 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; }

:root {
  --navy: #021b33; --ink: #0b2a4d; --text: #24405f; --blue: #0a55bf; --azure: #0a8dff; --cyan: #19d3f5; --lamp: #f2a63d; --lamp-d: #8a5200;
  --paper: #eef4fa; --white: #fff; --line: #c9d8e8; --on-navy: #c6d8ec;
  --disp: Archivo, Arial, sans-serif; --body: 'Be Vietnam Pro', 'Segoe UI', sans-serif;
  --pad: clamp(1.1rem, 4vw, 3.5rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--white); color: var(--text); font: 400 1.0625rem/1.65 var(--body); overflow-wrap: break-word; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--disp); font-stretch: 118%; font-weight: 640; color: var(--ink); line-height: 1.12; margin: 0; letter-spacing: -0.012em; text-wrap: balance; }
:lang(vi) h1, :lang(vi) h2, :lang(vi) h3 { line-height: 1.22; }
h1 { font-size: clamp(1.65rem, 0.85rem + 4.2vw, 4.35rem); }
h2 { font-size: clamp(1.55rem, 1.15rem + 1.7vw, 2.6rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; max-width: 66ch; }
ul, ol, dl { margin: 0; padding: 0; list-style: none; }
dd { margin: 0; }
a { color: var(--blue); text-underline-offset: 0.18em; }
:focus-visible { outline: 3px solid var(--azure); outline-offset: 3px; border-radius: 2px; }
.sec-navy :focus-visible, .hero :focus-visible, .top :focus-visible, .page-h :focus-visible, .foot :focus-visible, .cta :focus-visible { outline-color: var(--cyan); }
#main:focus { outline: none; }
.wrap { width: 100%; max-width: 82rem; margin-inline: auto; padding-inline: var(--pad); }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -5rem; background: var(--white); color: var(--ink); padding: 0.6rem 1rem; z-index: 60; }
.skip:focus { top: 0.6rem; }
.lead { font-size: clamp(1.1rem, 1rem + 0.45vw, 1.3rem); line-height: 1.6; max-width: 56ch; }
.cap { font-size: 0.925rem; color: #48637f; }
.sec-navy .cap, .hero .cap { color: var(--on-navy); }

/* buttons, links, chips */
.btns { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0.55rem 1.35rem; border: 2px solid transparent; border-radius: 3px; font: 600 1rem/1.25 var(--body); text-decoration: none; text-align: center; cursor: pointer; }
.btn-s { min-height: 2.6rem; padding-inline: 1rem; font-size: 0.95rem; }
.btn-lamp { background: var(--lamp); color: #1d1300; }
.btn-lamp:hover { background: #ffbd5e; }
.btn-ghost { border-color: #6f93b8; color: var(--white); }
.btn-ghost:hover { border-color: var(--white); }
.more { font-weight: 600; }
.sec-navy a { color: #7fd8ff; }
.chip { display: inline-block; font-size: 0.875rem; line-height: 1.4; font-weight: 600; padding: 0.15rem 0.6rem; border-radius: 2px; background: #dcebfb; color: #0a3f8c; }
.chip-soon { background: transparent; border: 1px solid #6c86a1; color: #3d5873; }
.chip-decide { background: transparent; border: 2px dashed #a96a10; color: var(--lamp-d); }
.page-h .chip-decide { color: #ffd08a; border-color: #ffd08a; }
.chip-aid { background: #fff0d9; color: var(--lamp-d); }
.chip-preview { background: #d3f5fd; color: #04485a; }

/* header */
.top { background: var(--navy); color: var(--white); position: sticky; top: 0; z-index: 40; }
.top-in { display: flex; align-items: center; gap: 1.4rem; min-height: 4.6rem; }
.logo { display: flex; align-items: center; gap: 0.75rem; flex: none; }
.logo-e { width: 76px; height: auto; }
.logo-w { width: 148px; height: auto; }
.nav { display: flex; align-items: center; gap: 1.5rem; margin-left: auto; }
.nav-l { display: flex; gap: 0.35rem; }
.nav-l a, .langs a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 0.65rem; color: #dbe8f6; text-decoration: none; font-size: 0.975rem; white-space: nowrap; }
.nav-l a:hover, .langs a:hover { color: var(--white); text-decoration: underline; }
.nav-l a[aria-current], .langs a[aria-current] { color: var(--white); box-shadow: inset 0 -3px 0 var(--lamp); }
.langs { display: flex; }
.langs a { padding-inline: 0.5rem; min-width: 2.75rem; justify-content: center; font-size: 0.9rem; }
.menu-b { margin-left: auto; align-items: center; gap: 0.6rem; min-height: 2.75rem; padding: 0 0.9rem; background: none; border: 2px solid #6f93b8; border-radius: 3px; color: var(--white); font: 600 1rem var(--body); cursor: pointer; display: none; }
.menu-i { width: 18px; height: 12px; border-block: 2px solid currentColor; position: relative; }
.menu-i::after { content: ''; position: absolute; inset: 3px 0 auto; border-top: 2px solid currentColor; }
@media (max-width: 74rem) {
  .menu-b:not([hidden]) { display: inline-flex; }
  .top-in { flex-wrap: wrap; }
  .nav { width: 100%; flex-direction: column; align-items: stretch; gap: 0.75rem; padding-bottom: 1.2rem; }
  .nav-l { flex-direction: column; }
  .nav-l a { width: 100%; font-size: 1.1rem; padding-left: 0; border-bottom: 1px solid #18385a; }
  .nav .btn { align-self: flex-start; }
  .js .nav:not(.open) { display: none; }
  .logo-e { width: 60px; }
  .logo-w { width: 124px; }
}

/* home hero: the model is the headline act */
.hero { background: var(--navy); color: var(--on-navy); }
.hero-t { display: grid; gap: 1.4rem 4rem; padding-block: clamp(1.8rem, 4vw, 3.4rem) clamp(1.6rem, 3vw, 2.6rem); }
.hero h1 { color: var(--white); max-width: 17ch; }
.hero-s { align-self: end; }
.status { margin: 0.9rem 0 0; font-size: 0.95rem; }
@media (min-width: 62rem) { .hero-t { grid-template-columns: 1.45fr 1fr; } }
.look { padding-bottom: 2.2rem; }
.look-v { position: relative; overflow: hidden; aspect-ratio: 16 / 9; max-height: max(24rem, 54vh); width: 100%; background: #1c2128; touch-action: pan-y; }
.look-i { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; }
.look-edge { position: absolute; inset-block: 0; left: 0; width: 2px; background: var(--lamp); opacity: 0; pointer-events: none; }
.look-edge.on { opacity: 1; }
.look-c { padding-top: 1.1rem; }
.look-c[hidden] { display: none; }
/* the slider is drawn as a dimension string: a line, ticks at each view, a lamp-coloured handle */
.look-r { -webkit-appearance: none; appearance: none; display: block; width: calc(75% + 28px); margin: 0 0 0 calc(12.5% - 14px); height: 44px; background: transparent; cursor: ew-resize; }
.look-r::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, #7fa9d3, #7fa9d3); }
.look-r::-moz-range-track { height: 2px; background: #7fa9d3; }
.look-r::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -13px; border-radius: 50%; background: var(--lamp); border: 4px solid var(--navy); box-shadow: 0 0 0 2px var(--lamp); }
.look-r::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--lamp); border: 4px solid var(--navy); box-shadow: 0 0 0 2px var(--lamp); }
.look-k { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.look-k button { position: relative; background: none; border: 0; min-height: 2.75rem; padding: 0.35rem 0; color: var(--on-navy); font: 600 clamp(0.8rem, 0.7rem + 0.5vw, 1.05rem)/1.2 var(--body); cursor: pointer; }
.look-k button::before { content: ''; position: absolute; left: 50%; top: -30px; width: 2px; height: 18px; background: #7fa9d3; transform: rotate(35deg); pointer-events: none; }
.look-k button[aria-pressed='true'] { color: var(--white); text-decoration: underline; text-decoration-color: var(--lamp); text-decoration-thickness: 3px; text-underline-offset: 0.35em; }
.look-cap { margin-top: 0.9rem; max-width: 82rem; }

/* sections */
.sec { padding-block: clamp(3.2rem, 7vw, 6.5rem); }
.sec-paper { background: var(--paper); }
.sec-navy { background: var(--navy); color: var(--on-navy); }
.sec-navy h2, .sec-navy h3 { color: var(--white); }
.sec-tight { padding-bottom: 0; }
.head { max-width: 40rem; }
.head h2 { margin-bottom: 1rem; }
.head-w { max-width: 52rem; }
.split { display: grid; gap: 2rem clamp(2rem, 5vw, 4.5rem); align-items: start; }
@media (min-width: 60rem) {
  .split { grid-template-columns: minmax(17rem, 1fr) 1.75fr; }
  .split-r { grid-template-columns: 1.75fr minmax(17rem, 1fr); }
  .split-r > .head { order: 2; }
  .split-n { grid-template-columns: 1fr 1.75fr; }
  .split-n.split-r { grid-template-columns: 1fr 1.75fr; }
  .split-n.split-r > .head { order: 0; }
}
.screen { border-radius: 4px; outline: 1px solid #0d2238; width: 100%; background: #1c2128; }
.ticks li { position: relative; padding: 0.35rem 0 0.35rem 1.7rem; max-width: 64ch; }
.ticks li::before { content: ''; position: absolute; left: 0.25rem; top: 0.72em; width: 2px; height: 1.05em; background: var(--azure); transform: rotate(35deg); }
.t-half li::before { background: linear-gradient(var(--cyan) 50%, #35587c 50%); }
.t-open li::before { background: #6f93b8; }
.feat-b > .ticks { margin-top: 1.3rem; }

/* steps from an empty project */
.steps { display: grid; gap: 2.2rem 2rem; margin-top: 2.4rem; }
@media (min-width: 46rem) { .steps { grid-template-columns: 1fr 1fr; } }
.steps .crop { width: 100%; border-radius: 4px; background: #1c2128; }
.steps h3 { margin: 0.9rem 0 0.3rem; }
.steps p { margin: 0; }

/* numbers on a dimension string */
.dims { display: grid; margin: 2.6rem 0 1.6rem; border-top: 2px solid #5d8ab8; }
.dims div { position: relative; display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 1.3rem 1.2rem 1rem 0; }
.dims div::before { content: ''; position: absolute; left: 0; top: -13px; width: 2px; height: 24px; background: var(--lamp); transform: rotate(35deg); }
.dims dd { font: 640 clamp(1.9rem, 1.2rem + 2.2vw, 3rem)/1.1 var(--disp); font-stretch: 112%; color: var(--white); white-space: nowrap; }
.dims dt { margin-top: 0.35rem; }
@media (min-width: 40rem) { .dims { grid-template-columns: repeat(2, 1fr); row-gap: 1rem; } }
@media (min-width: 68rem) { .dims { grid-template-columns: 1fr 1fr 1fr 1.5fr; } }

.sheets { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.sheets img { background: var(--white); box-shadow: 0 1px 0 #b8cadd, 0 10px 24px -12px rgb(2 27 51 / 0.35); width: 100%; }
.strip { display: grid; gap: 4px; margin-top: 2.2rem; }
.strip img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (min-width: 50rem) { .strip { grid-template-columns: repeat(3, 1fr); } }

/* inner pages */
.page-h { background: var(--navy); color: var(--on-navy); padding-block: clamp(2.6rem, 6vw, 5rem) clamp(2.2rem, 5vw, 4rem); }
.page-h h1 { color: var(--white); max-width: 20ch; margin-bottom: 1.2rem; font-size: clamp(1.65rem, 0.9rem + 3.4vw, 3.6rem); }
.page-h-s { padding-bottom: 1.5rem; }
.page-h-i { padding-bottom: clamp(6rem, 14vw, 13rem); }
.page-h-t { min-height: 62vh; display: grid; align-items: center; }
.page-shot { margin-top: calc(-1 * clamp(4.5rem, 11vw, 10.5rem)); }
.page-shot img { max-height: 46rem; object-fit: cover; object-position: 50% 0; }
.jump ul { display: flex; flex-wrap: wrap; gap: 0.1rem 1.4rem; margin-top: 1.6rem; }
.jump a { display: inline-block; padding: 0.45rem 0; color: #cfe6ff; }
.three, .road { display: grid; gap: 2.4rem 3rem; }
.three h2, .road h2 { font-size: 1.4rem; margin-bottom: 0.6rem; }
.road > div { border-top: 2px solid var(--line); padding-top: 1.2rem; }
.road > div > p:first-child { margin-bottom: 0.6rem; }
@media (min-width: 52rem) { .three { grid-template-columns: repeat(3, 1fr); } .road { grid-template-columns: 1fr 1fr; } }
.status3 { display: grid; gap: 2.2rem 3rem; margin-top: 2.2rem; }
.status3 h3 { padding-bottom: 0.7rem; border-bottom: 2px solid #35587c; margin-bottom: 0.6rem; }
@media (min-width: 60rem) { .status3 { grid-template-columns: 1.5fr 1fr 1fr; } }
.disc { margin-top: 2.2rem; padding-left: 1.1rem; border-left: 4px solid var(--lamp); max-width: 74ch; }
.eds { display: grid; margin-bottom: 2rem; }
.ed { padding: 1.8rem 0; border-top: 2px solid var(--ink); }
.ed h2 { margin-bottom: 0.6rem; }
@media (min-width: 60rem) { .eds { grid-template-columns: repeat(3, 1fr); } .ed { padding-right: 2.2rem; } .ed + .ed { padding-left: 2.2rem; border-left: 1px solid var(--line); } }
.faq { max-width: 60rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 11px; height: 11px; border: solid var(--blue); border-width: 0 3px 3px 0; transform: rotate(45deg); margin-right: 0.4rem; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq summary h2 { font-size: 1.2rem; }
.legal h2 { font-size: 1.25rem; margin: 1.4rem 0 0.5rem; }

/* walkthrough player */
.sec-player { background: var(--navy); color: var(--on-navy); padding-top: 0.5rem; }
.tabs { display: none; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }
.js .tabs { display: flex; }
.tabs button { min-height: 2.9rem; padding: 0.4rem 1.1rem; background: none; border: 0; border-bottom: 3px solid #24476c; color: #dbe8f6; font: 600 1rem var(--body); cursor: pointer; }
.tabs button[aria-selected='true'] { color: var(--white); border-color: var(--lamp); }
.flow-h { color: var(--white); margin: 2rem 0 1rem; }
.js .flow-h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); margin: -1px; }
.fstep { margin-bottom: 2rem; }
.js .fstep { margin: 0; }
.js .flow:not(.on), .js .fstep:not(.on) { display: none; }
.fimg { position: relative; background: #1c2128; border-radius: 4px; overflow: hidden; }
.fimg img { width: 100%; }
.hl { position: absolute; border: 3px solid var(--lamp); border-radius: 3px; opacity: 0; box-shadow: 0 0 0 100vmax rgb(2 12 24 / 0.22); pointer-events: none; }
.hl.on { opacity: 1; }
.fcap { color: var(--white); font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem); line-height: 1.5; margin: 1rem 0 0.4rem; min-height: 3em; max-width: 74ch; }
.ctrl { display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem; margin-top: 0.6rem; }
.ctrl[hidden] { display: none; }
.c-b { width: 3rem; height: 3rem; flex: none; display: grid; place-items: center; background: none; border: 2px solid #6f93b8; border-radius: 3px; color: var(--white); cursor: pointer; }
.c-b:hover { border-color: var(--white); }
.c-play { background: var(--lamp); border-color: var(--lamp); color: #1d1300; }
.i-play, .i-next, .i-prev { display: block; width: 0; height: 0; border-block: 9px solid transparent; border-left: 14px solid currentColor; }
.i-prev { border-left: 0; border-right: 14px solid currentColor; }
.i-pause { display: block; width: 14px; height: 16px; border-inline: 5px solid currentColor; }
.i-replay { display: block; width: 17px; height: 17px; border: 3px solid currentColor; border-right-color: transparent; border-radius: 50%; }
.segs { display: flex; flex: 1 1 6rem; gap: 5px; }
.seg { flex: 1; height: 5px; background: #24476c; }
.seg.done { background: var(--lamp); }
.count { margin: 0; white-space: nowrap; font-size: 0.95rem; }

/* form */
.form { max-width: 38rem; display: grid; gap: 1.2rem; justify-items: start; }
.f { width: 100%; }
.f label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 0.35rem; }
.f input, .f select, .f textarea { width: 100%; min-height: 3rem; padding: 0.6rem 0.8rem; font: inherit; color: var(--ink); background: var(--white); border: 2px solid #6c86a1; border-radius: 3px; }
.f-err { color: #8c1d18; background: #fdecea; padding: 0.8rem 1rem; border-left: 4px solid #8c1d18; }
.hp { position: absolute; left: -9999px; }

/* closing band and footer */
.cta { background: linear-gradient(100deg, #063a86, #0a55bf 60%, #0b6fd0); color: #eaf4ff; padding-block: clamp(2.8rem, 6vw, 4.6rem); }
.cta h2 { color: var(--white); margin-bottom: 0.5rem; }
.cta p { margin: 0; }
.cta .btn-ghost { border-color: #cfe3fb; }
.cta-in { display: flex; flex-wrap: wrap; gap: 1.6rem 3rem; align-items: center; justify-content: space-between; }
.foot { background: var(--navy); color: var(--on-navy); padding-block: 3.4rem 2.4rem; }
.foot-g { display: grid; gap: 2rem; margin-bottom: 2.4rem; }
@media (min-width: 48rem) { .foot-g { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.foot h2 { font-size: 1rem; font-stretch: 105%; color: var(--white); margin-bottom: 0.5rem; letter-spacing: 0; }
.foot a { display: inline-block; padding: 0.35rem 0; color: #cfe6ff; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot-b .logo-w { width: 190px; margin-bottom: 0.9rem; }
.fine { font-size: 0.9rem; max-width: 90ch; margin-bottom: 0.7rem; }

@media (max-width: 40rem) {
  .look-v { aspect-ratio: 4 / 3; }
  .look-k button::before { top: -30px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
@media (forced-colors: active) { .hl { border-color: Highlight; } .btn { border-color: ButtonText; } }
