@font-face {
  font-family: Inter;
  src: url('/fonts/inter-wght-400-900-latin.woff2') format('woff2');
  font-weight: 400 900;
  font-display: swap;
}

@font-face {
  font-family: Be Vietnam;
  src: url('/fonts/be-vietnam-pro-700-latin.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url('/fonts/inter-wght-400-900-vietnamese.woff2') format('woff2');
  font-weight: 400 900;
  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-display: swap;
}

@font-face {
  font-family: Be Vietnam;
  src: url('/fonts/be-vietnam-pro-700-vietnamese.woff2') format('woff2');
  font-weight: 700;
  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-display: swap;
}

:root {
  --ink: #1c2f4f;
  --red: #d81e39;
  --mist: #edf3f5;
  --line: #d9e1e4;
  --muted: #485b69;
  --serif: Georgia,serif;
  --title: 'Be Vietnam',Inter,Arial,sans-serif;
  color: var(--ink);
  font: 16px/1.6 Inter,Arial,sans-serif;
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

a {
  color: inherit;
  text-underline-offset: .22em;
}

button,input,select {
  font: inherit;
}

a,button,input,select,summary {
  touch-action: manipulation;
}

a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible {
  outline: 3px solid #ad6e00;
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.skip {
  position: fixed;
  top: -60px;
  background: white;
  z-index: 15;
  padding: 8px;
}

.skip:focus {
  top: 0;
}

.wrap {
  width: min(1220px,90%);
  margin: auto;
}

header {
  background: white;
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid var(--line);
}

.nav,footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav {
  height: 72px;
}

.logo {
  width: 112px;
  height: 45px;
  object-fit: contain;
  display: block;
}

.nav nav {
  display: flex;
  gap: 26px;
}

.nav a {
  text-decoration: none;
}

.nav nav a {
  font-size: .88rem;
  font-weight: 600;
}

.nav nav a:hover,.partners a:hover,.pick:hover {
  color: var(--red);
}

.nav-cta,.button,.mobile-cta {
  border: 0;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
  font-weight: 700;
}

.nav-cta {
  background: var(--ink);
  color: white;
  padding: 10px 17px;
  font-size: .87rem;
}

.hero {
  background: #18344a;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: white;
}

.hero>img,.hero:after {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero:after {
  content: '';
  z-index: -1;
  background: linear-gradient(90deg,rgba(10,30,46,.88),rgba(10,30,46,.62) 51%,rgba(12,42,55,.28)),linear-gradient(0deg,rgba(10,25,43,.36),transparent 55%);
}

.hero-grid {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0,1.4fr) minmax(325px,.8fr);
  gap: clamp(32px,8vw,120px);
  align-items: center;
  padding-block: 50px;
}

.intro {
  max-width: 730px;
}

.intro h1 {
  font: 700 clamp(3.15rem,5.1vw,5.1rem)/1.04 var(--title);
  letter-spacing: -.065em;
  margin: 0;
  text-wrap: balance;
}

.intro em {
  display: block;
  font: italic 1.03em/1.07 var(--serif);
  color: #fcdfad;
  letter-spacing: -.055em;
  margin-top: 8px;
}

.intro>p,.closegrid>div>p {
  font-size: 1.08rem;
  max-width: 51ch;
  line-height: 1.6;
}

.intro ul {
  list-style: none;
  padding: 0;
  margin: 22px 0;
}

.intro li {
  margin: 5px 0;
}

.intro li:before {
  content: '✓';
  margin-right: 12px;
  color: #ffe0aa;
}

.under,.contact,.pick,.cards a {
  font-weight: 650;
}

.mobile-cta {
  display: none;
}

.formcard {
  background: #fff;
  color: var(--ink);
  border-radius: 12px;
  padding: clamp(20px,2.2vw,33px);
  box-shadow: 0 8px 35px #09243220;
}

.formcard h2 {
  font-size: 1.6rem;
  margin: 0 0 15px;
  letter-spacing: -.06em;
}

.budget-form {
  display: grid;
  gap: 9px;
}

.budget-form label {
  font-size: .8rem;
  font-weight: 650;
  display: grid;
  gap: 3px;
}

.budget-form :is(input,select) {
  border: 1px solid #bdc9ce;
  background: #f9fbfc;
  color: var(--ink);
  border-radius: 5px;
  width: 100%;
  padding: 9px 11px;
  height: 43px;
  font-size: .94rem;
}

.budget-form small {
  font-size: .72rem;
  color: #53636f;
  line-height: 1.45;
}

.primary {
  background: var(--red);
  color: white;
  min-height: 46px;
  font-size: .92rem;
  margin: 5px 0;
  padding: 9px 13px;
}

.primary:hover {
  background: #b5152d;
}

.primary:disabled {
  opacity: .7;
}

.status:empty {
  display: none;
}

.status {
  font-size: .88rem;
  font-weight: 600;
  margin: 2px 0;
}

.selection {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #edf3f5;
  padding: 6px 10px;
  border-radius: 5px;
  font-size: .87rem;
}

.selection button {
  border: 0;
  background: transparent;
  font-size: 1.2rem;
  cursor: pointer;
}

.contact {
  display: inline-flex;
  font-size: .82rem;
  margin-top: 12px;
}

.section {
  padding-block: clamp(48px,6vw,84px);
}

h2,h3,strong {
  color: inherit;
}

h2,h3 {
  font-family: var(--title);
  line-height: 1.17;
}

h2 {
  font-size: clamp(2rem,3.65vw,3.45rem);
  letter-spacing: -.065em;
  text-wrap: balance;
  margin: 0 0 21px;
}

h3 {
  font-size: 1.22rem;
  letter-spacing: -.04em;
  margin: 0 0 10px;
}

p {
  margin: 0 0 12px;
}

.intro>p {
  margin-top: 19px;
}

.lede {
  max-width: 71ch;
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 24px;
}

.tablewrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 9px;
}

table {
  border-spacing: 0;
  width: 100%;
  font-size: .9rem;
}

caption {
  text-align: left;
  background: var(--ink);
  color: white;
  padding: 12px 17px;
  font-weight: 650;
}

th,td {
  text-align: left;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}

thead {
  background: #edf3f5;
}

tbody tr:last-child {
  background: #f1f5ef;
  font-weight: 700;
}

.method,.footnote {
  font-size: .87rem;
  color: var(--muted);
}

.method {
  margin: 16px 0;
}

.method summary,.faq summary {
  cursor: pointer;
  font-weight: 650;
}

.sources {
  display: flex;
  gap: 8px 17px;
  flex-wrap: wrap;
}

.reasons {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 16px;
}

.reasons article {
  border-top: 2px solid #b5c7ce;
  padding-top: 18px;
}

.reasons h3 {
  font-size: 1.08rem;
}

.reasons p,.cards p,.timeline p,.country p,.checklist p {
  color: var(--muted);
  font-size: .94rem;
}

.band {
  background: var(--mist);
}

.timeline ol,.checklist ol {
  list-style: none;
  counter-reset: steps;
  padding: 0;
}

.timeline ol {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 22px;
  margin: 30px 0 18px;
}

.timeline li,.checklist li {
  counter-increment: steps;
  position: relative;
}

.timeline li:before,.checklist li:before {
  content: counter(steps,decimal-leading-zero);
  display: block;
  font: italic 1.7rem var(--serif);
  color: var(--red);
  margin-bottom: 12px;
}

.timeline li:after {
  content: '';
  position: absolute;
  top: 18px;
  left: 42px;
  right: 0;
  border-top: 1px solid #b3c4ca;
}

.tabbar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 24px 0 14px;
}

.tabbar a {
  padding: 9px 15px;
  text-decoration: none;
  border-radius: 5px;
  font-size: .92rem;
  font-weight: 650;
}

.tabbar a[aria-selected=true] {
  background: var(--ink);
  color: white;
}

.country {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: #f3f6f4;
  border: 1px solid #dbe5e0;
  border-radius: 10px;
  padding: clamp(22px,3.6vw,52px);
}

.country h3 {
  font-size: clamp(1.6rem,3vw,2.5rem);
  max-width: 19ch;
}

.place {
  font-size: .77rem;
  font-weight: 700;
  letter-spacing: .025em;
}

.country a {
  font-size: .87rem;
}

.pick {
  display: block;
  color: var(--red);
  margin-top: 16px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 15px;
}

.cards article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cards article>a {
  margin-top: auto;
  font-size: .85rem;
  color: #a81932;
}

.partners strong {
  font-size: .93rem;
}

.school-logo {
  height: 40px;
  max-width: 160px;
  object-fit: contain;
}

.programs h3 {
  min-height: 1.5em;
}

.programs p {
  margin-bottom: 20px;
}

.life-band {
  background: #faf6ee;
}

.life {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 42px;
}

.photos {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 16px;
}

figure {
  margin: 0;
}

figure img {
  display: block;
  width: 100%;
  height: 145px;
  object-fit: cover;
  border-radius: 7px;
  background: #dbe3df;
}

.photos figure:first-child {
  grid-column: span 2;
}

.photos figure:first-child img {
  height: 220px;
}

figcaption {
  line-height: 1.4;
  margin-top: 6px;
}

figcaption strong,figcaption span {
  display: block;
}

figcaption span {
  font-size: .78rem;
  color: var(--muted);
}

.checklist {
  padding: 26px;
  border: 1px solid #dfd6c6;
  border-radius: 10px;
  align-self: start;
}

.checklist>h3 {
  font-size: 1.7rem;
}

.checklist li {
  padding: 8px 0 12px 42px;
}

.checklist li:before {
  position: absolute;
  left: 0;
  top: 6px;
  font-size: 1.4rem;
}

.checklist li h3 {
  font-size: 1.02rem;
}

.faq {
  display: grid;
  grid-template-columns: .85fr 1.2fr;
  gap: 42px;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 15px 0;
}

.faq details p,.method[open] p {
  margin-top: 8px;
}

.close {
  background: var(--ink);
  color: white;
}

.closegrid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: center;
  gap: 60px;
}

.closegrid h2 {
  max-width: 14ch;
}

.closegrid>div>p {
  margin: 20px 0;
}

footer .wrap {
  padding-block: 22px;
  font-size: .8rem;
  color: var(--muted);
}

.float {
  position: fixed;
  z-index: 4;
  bottom: 18px;
  right: 20px;
  background: var(--ink);
  border: 1px solid #ffffff80;
  color: white;
  text-decoration: none;
  font-size: .85rem;
  padding: 10px 15px;
  border-radius: 24px;
  box-shadow: 0 3px 15px #10263c20;
}

.float.quiet {
  display: none;
}

@media (max-width:850px) {
  .nav nav {
    gap: 12px;
  }
  .reasons {
    grid-template-columns: repeat(3,1fr);
  }
  .cards {
    grid-template-columns: repeat(2,1fr);
  }
  .hero-grid {
    gap: 25px;
  }
  .life {
    gap: 20px;
  }
  .timeline ol {
    gap: 12px;
  }
}

@media (max-width:690px) {
  :root {
    scroll-padding-top: 68px;
  }
  .wrap {
    width: 91%;
  }
  .nav {
    height: 58px;
  }
  .nav nav {
    display: none;
  }
  .nav-cta {
    padding: 8px 12px;
  }
  .logo {
    width: 96px;
    height: 40px;
  }
  .hero-grid,.country,.life,.faq,.closegrid {
    grid-template-columns: 1fr;
  }
  .hero-grid {
    padding-block: 32px;
    gap: 28px;
  }
  .intro h1 {
    font-size: clamp(2.65rem,10.4vw,4rem);
  }
  .intro>p {
    font-size: .95rem;
  }
  .intro ul {
    margin: 14px 0;
    font-size: .9rem;
  }
  .under {
    font-size: .85rem;
  }
  .mobile-cta {
    display: inline-flex;
    margin-left: 13px;
  }
  .hero img {
    object-position: 45% center;
  }
  .intro {
    max-width: 100%;
  }
  .formcard {
    padding: 20px;
  }
  .budget-form :is(input,select) {
    font-size: 16px;
  }
  .reasons,.cards {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .partners {
    grid-template-columns: 1fr;
  }
  .timeline ol {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .timeline li {
    padding-left: 45px;
  }
  .timeline li:before {
    position: absolute;
    left: 0;
  }
  .timeline li:after {
    display: none;
  }
  .country,.faq,.closegrid {
    gap: 12px;
  }
  .tabbar {
    gap: 3px;
  }
  .tabbar a {
    padding: 8px 10px;
  }
  .cards article {
    padding: 16px;
  }
  .cards h3 {
    font-size: 1.04rem;
  }
  .tablewrap table {
    min-width: 640px;
  }
  .checklist {
    margin-top: 14px;
  }
  .reasons article:last-child {
    grid-column: span 2;
  }
  .closegrid .formcard {
    margin-top: 18px;
  }
  footer .wrap {
    flex-wrap: wrap;
  }
  .float {
    bottom: 10px;
    right: 10px;
  }
  figure img {
    height: 118px;
  }
  .photos figure:first-child img {
    height: 177px;
  }
}

@media (prefers-reduced-motion:reduce) {
  :root {
    scroll-behavior: auto;
  }
}

.mobile-menu {
  display: none;
}

#privacy-toggle {
  border: 0;
  background: transparent;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
  font-size: .8rem;
}

@media (max-width:690px) {
  .mobile-menu {
    display: block;
    margin-left: auto;
    position: relative;
    font-size: .88rem;
  }
  .mobile-menu summary {
    cursor: pointer;
  }
  .mobile-menu nav {
    display: grid;
    position: absolute;
    top: 35px;
    right: 0;
    background: white;
    border: 1px solid var(--line);
    box-shadow: 0 8px 22px #1c2f4f20;
    padding: 14px;
    min-width: 145px;
    border-radius: 7px;
  }
  .mobile-menu:not([open]) nav {
    display: none;
  }
  .nav {
    gap: 12px;
  }
}

.country {
  grid-template-columns: minmax(130px,.8fr) 1fr 1.1fr;
  align-items: center;
  gap: clamp(16px, 2.5vw, 36px);
}
.country-photo, .learning-art, .advising-photo {grid-column:auto}
.country-photo img, .learning-art img, .advising-photo img {width:100%;border-radius:8px;object-fit:cover}
.country .country-photo img {height:clamp(170px,15vw,230px)}
.learning-art {margin: 0 0 28px}
.learning-art img {height:auto;aspect-ratio:3/1}
.learning-art figcaption,.country-photo figcaption,.advising-photo figcaption {font-size:.78rem;color:var(--muted);line-height:1.45;margin-top:8px}
.advising-photo {margin:0 0 22px}
.advising-photo img {height:170px}
@media(max-width:850px){
  .country{grid-template-columns: .85fr 1.15fr}
  .country>div:last-child{grid-column:1/-1}
}
@media(max-width:690px){
  .country{grid-template-columns:1fr}
  .country .country-photo img{height:152px}
  .learning-art img{aspect-ratio:2/1;object-position:center}
}

@media(min-width:851px){
  .partners:has(> article:nth-child(5):last-child){grid-template-columns:repeat(6,minmax(0,1fr))}
  .partners:has(> article:nth-child(5):last-child)>article{grid-column:span 2}
  .partners:has(> article:nth-child(5):last-child)>article:nth-last-child(-n+2){grid-column:span 3}
}

.figo-language { display:inline-flex; align-items:center; justify-content:center; min-width:40px; min-height:40px; border:1px solid #c6cdd6; border-radius:24px; color:var(--ink); font-weight:600; font-size:.85rem }
