body {
  margin: 0;
  background: #ffffff;
  font-family: 'Be Vietnam Pro', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #253858;
}

a {
  color: #0B70E5;
  text-decoration: none;
}

/* Các rule display: flex/grid/block bên dưới thắng rule [hidden] của trình duyệt,
   nên phải khẳng định lại — JS bật/tắt tab bằng thuộc tính hidden. */
[hidden] {
  display: none !important;
}

a:hover {
  color: #0857b3;
}

.page {
  width: 100%;
  background: #ffffff;
  overflow: hidden;
}

/* Header */

.site-header {
  border-bottom: 1px solid #e6ebf3;
  background: #ffffff;
  padding: 20px clamp(24px, 6vw, 80px);
}

.site-header-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  height: 30px;
  width: auto;
  display: block;
}

/* Footer (shared) */

.site-footer {
  border-top: 1px solid #e6ebf3;
  background: #f7fafd;
  padding: 48px clamp(24px, 6vw, 80px) 40px;
}

.site-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}

.footer-support {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-support-line {
  font-size: 15px;
  line-height: 1.7;
  color: #5a6a85;
}

.footer-support-line a {
  font-weight: 600;
}

.footer-copy {
  font-size: 13px;
  color: #6b7789;
}

.footer-links {
  display: flex;
  gap: 10px;
}

.footer-link {
  padding: 11px 20px;
  border: 1px solid #dbe3ee;
  border-radius: 10px;
  background: #ffffff;
  font-size: 14px;
  font-weight: 500;
  color: #46536b;
}

.footer-link:hover {
  border-color: #0B70E5;
  color: #0B70E5;
}

/* Home page hero */

.hero {
  background: linear-gradient(180deg, #f7fafd 0%, #ffffff 100%);
  padding: clamp(56px, 7vw, 104px) clamp(24px, 6vw, 80px) clamp(72px, 9vw, 120px);
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr));
  gap: clamp(48px, 6vw, 88px);
  align-items: center;
}

.hero-title {
  margin: 0;
  font-size: clamp(38px, 4.6vw, 58px);
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #253858;
  text-wrap: pretty;
}

.letter-card-frame {
  position: relative;
  padding: 34px 26px 26px 34px;
}

.letter-card-bg {
  position: absolute;
  inset: 0 0 24px 40px;
  border-radius: 24px;
  background: linear-gradient(122.61deg, #0B70E5 3.65%, #4E9BF2 100%);
  transform: rotate(6deg);
}

.letter-card {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  padding: clamp(32px, 4vw, 44px) clamp(28px, 4vw, 48px) clamp(30px, 3.6vw, 40px);
  box-shadow: 0 24px 60px rgba(37, 56, 88, 0.16);
}

.letter-card-eyebrow {
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #253858;
}

.letter-divider {
  height: 1px;
  background: #e6ebf3;
  margin: 22px 0 26px;
}

.letter-card-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 16px;
  line-height: 1.72;
  color: #5a6a85;
}

.letter-card-body p {
  margin: 0;
  text-wrap: pretty;
}

.letter-card-body p.lead {
  font-weight: 600;
  color: #253858;
}

.letter-card-footer-divider {
  height: 1px;
  background: #e6ebf3;
  margin: 28px 0 24px;
}

.letter-card-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}

.letter-card-signature {
  font-size: 16px;
  line-height: 1.7;
  color: #5a6a85;
}

.letter-card-signature strong {
  font-weight: 600;
  color: #253858;
}

.letter-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: #0B70E5;
}

.arrow {
  font-size: 18px;
  line-height: 1;
}

/* Home page sections */

.section {
  padding: clamp(56px, 7vw, 88px) clamp(24px, 6vw, 80px);
  background: #ffffff;
}

.section-alt {
  background: #f7fafd;
  border-top: 1px solid #eef2f8;
  border-bottom: 1px solid #eef2f8;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-inner-narrow {
  max-width: 820px;
}

.section-title {
  margin: 0 0 clamp(28px, 3.5vw, 44px);
  font-size: clamp(26px, 3.2vw, 34px);
  line-height: 1.24;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #253858;
  text-align: center;
  text-wrap: pretty;
}

.section-title .accent {
  color: #0B70E5;
}

.section-subhead {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #6b7789;
}

/* Investor */

.investor-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: center;
  background: #ffffff;
  border: 1px solid #e6ebf3;
  border-radius: 24px;
  padding: clamp(28px, 3.4vw, 44px);
  box-shadow: 0 40px 90px rgba(120, 120, 168, 0.14);
}

.investor-text {
  min-width: 0;
}

.investor-title {
  text-align: left;
  margin-bottom: 6px;
}

.investor-tabs {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}

.investor-tab {
  appearance: none;
  border: 0;
  background: none;
  padding: 4px 0;
  font: inherit;
  font-size: 17px;
  font-weight: 500;
  color: #8794a8;
  cursor: pointer;
  transition: color 0.15s ease;
}

.investor-tab:hover {
  color: #46536b;
}

.investor-tab.is-active {
  color: #0B70E5;
  font-weight: 600;
}

.investor-tabs-divider {
  width: 1.5px;
  height: 22px;
  background: #cdd7e5;
}

.investor-media {
  min-width: 0;
}

.investor-media img {
  display: block;
  width: 100%;
  height: auto;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
  line-height: 1.6;
  color: #46536b;
}

.check-icon {
  flex: none;
  width: 17px;
  height: 17px;
  margin-top: 4px;
  fill: #3FA931;
}

/* Guide */

.guide-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  background: #F7F7F9;
  border-radius: 24px;
  padding: clamp(28px, 3.4vw, 44px);
}

.guide-media {
  display: flex;
  justify-content: center;
  min-width: 0;
}

.guide-video {
  display: none;
  width: auto;
  max-width: 100%;
  max-height: 472px;
  border-radius: 12px;
}

.guide-video.is-active {
  display: block;
}

.guide-body {
  min-width: 0;
}

.guide-headline {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  font-weight: 600;
  color: #253858;
  margin-bottom: 28px;
}

.guide-headline-lead::first-letter {
  float: left;
  font-size: 2.6em;
  line-height: 0.78;
  font-style: italic;
  margin-right: 0.12em;
}

.guide-headline-accent {
  color: #0B70E5;
}

.guide-step-head {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  font: inherit;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.guide-step-index {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #e0e2e6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  color: #8794a8;
  background: #ffffff;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.guide-step-label {
  font-size: 18px;
  font-weight: 600;
  color: #253858;
  transition: color 0.15s ease;
}

.guide-step-head:hover .guide-step-label {
  color: #0B70E5;
}

.guide-step.is-active .guide-step-index {
  border-color: #0B70E5;
  color: #0B70E5;
}

.guide-step.is-active .guide-step-label {
  color: #0B70E5;
}

.guide-step-panel {
  margin-left: 20px;
  padding: 0 0 24px 40px;
  border-left: 2px solid #e0e2e6;
}

.guide-step:last-child .guide-step-panel {
  border-left-color: transparent;
  padding-bottom: 0;
}

.guide-step-panel p {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: #5a6a85;
  text-wrap: pretty;
}

.guide-step:not(.is-active) .guide-step-panel p {
  display: none;
}

.guide-step:not(.is-active) .guide-step-panel {
  padding-bottom: 18px;
}

/* Investment benefit */

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: clamp(28px, 3vw, 40px);
}

.benefit-item {
  text-align: center;
}

.benefit-item img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

.benefit-label {
  margin: 16px 0 6px;
  font-size: 18px;
  font-weight: 700;
  color: #1b263b;
}

.benefit-desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
  color: #5a6a85;
  text-wrap: pretty;
}

/* Top comments */

.comment-tabs {
  display: flex;
  width: fit-content;
  margin: 0 auto clamp(28px, 3.5vw, 40px);
  padding: 4px;
  background: #F5F5F7;
  border-radius: 999px;
}

.comment-tab {
  appearance: none;
  border: 0;
  background: none;
  min-width: 146px;
  padding: 8px 20px;
  border-radius: 999px;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  color: #253858;
  opacity: 0.6;
  cursor: pointer;
  transition: opacity 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.comment-tab:hover {
  opacity: 1;
}

.comment-tab.is-active {
  background: #ffffff;
  opacity: 1;
  box-shadow: 0 1px 3px rgba(37, 56, 88, 0.12);
}

.comment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(16px, 2vw, 24px);
  align-items: start;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.comment-grid:last-child {
  margin-bottom: 0;
}

.comment-card {
  background: #FAFBFC;
  border: 1px solid #eef2f8;
  border-radius: 16px;
  padding: clamp(20px, 2.2vw, 26px);
}

.comment-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  min-height: 44px;
}

.comment-logo {
  height: 26px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}

.comment-avatar {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e2ecfa;
  color: #0B70E5;
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.comment-name {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
  color: #253858;
}

.comment-content {
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
  color: #5a6a85;
  text-wrap: pretty;
}

.comment-content.is-clamped {
  max-height: 70px;
  overflow: hidden;
}

.comment-content.is-clamped.is-open {
  max-height: none;
}

.comment-more {
  appearance: none;
  border: 0;
  background: none;
  padding: 4px 0 0;
  margin: 0;
  font: inherit;
  font-size: 15px;
  color: #0B70E5;
  cursor: pointer;
}

.comment-more:hover {
  color: #0857b3;
}

.stars {
  position: relative;
  display: inline-block;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 1px;
  white-space: nowrap;
}

.stars-empty {
  color: #dbe3ee;
}

.stars-full {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--pct, 0%);
  overflow: hidden;
  color: #F5A623;
}

/* Download app */

.download-inner {
  background-image: url('assets/images/download/download-banner-bg.png');
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: contain;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.download-media img {
  display: block;
  width: 100%;
  max-width: 460px;
  height: auto;
  margin-left: auto;
}

.download-rating {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 8px;
}

.download-rating img {
  display: block;
}

.download-rating-score {
  font-size: 28px;
  font-weight: 600;
  color: #253858;
  margin-bottom: 6px;
}

.download-app-name {
  margin: 0 0 26px;
  font-size: 15px;
  color: #5a6a85;
}

.download-title {
  text-align: left;
  margin-bottom: 18px;
  font-size: clamp(28px, 3.6vw, 38px);
}

.download-sub {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.72;
  color: #5a6a85;
  text-wrap: pretty;
}

.download-note {
  margin: 0;
  font-size: 15px;
  color: #6b7789;
}

/* FAQ */

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid #e6ebf3;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  margin: 0;
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 700;
  color: #1b263b;
  cursor: pointer;
  list-style: none;
  transition: color 0.15s ease;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question:hover,
.faq-item[open] > .faq-question {
  color: #0B70E5;
}

.faq-icon {
  flex: none;
  position: relative;
  width: 20px;
  height: 20px;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  transition: opacity 0.15s ease;
}

.faq-icon::before {
  inset: 9px 0 auto 0;
  height: 2px;
}

.faq-icon::after {
  inset: 0 9px auto 9px;
  height: 20px;
  width: 2px;
}

.faq-item[open] .faq-icon::after {
  opacity: 0;
}

.faq-answer {
  padding-bottom: 22px;
  font-size: 16px;
  line-height: 1.78;
  color: #5a6a85;
}

.faq-answer p {
  margin: 0 0 10px;
  text-wrap: pretty;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer-lead {
  font-weight: 600;
  color: #253858;
}

.faq-answer ul {
  margin: 0;
  padding-left: 22px;
}

.faq-answer li {
  margin-bottom: 6px;
}

@media (max-width: 899px) {
  .investor-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .investor-media {
    order: -1;
  }
}

@media (max-width: 767px) {
  .download-inner {
    background-image: none;
  }

  .download-media img {
    margin: 0 auto;
  }

  .download-title,
  .download-rating {
    text-align: center;
  }

  .download-rating {
    justify-content: center;
  }

  .download-title {
    text-align: center;
  }
}

/* Letter page */

.letter-page {
  background: linear-gradient(180deg, #f7fafd 0%, #ffffff 55%);
  padding: clamp(40px, 5vw, 72px) clamp(24px, 6vw, 80px) clamp(64px, 8vw, 96px);
}

.letter-page-inner {
  max-width: 820px;
  margin: 0 auto;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: #5a6a85;
  margin-bottom: 28px;
}

.back-link:hover {
  color: #0B70E5;
}

.letter-doc {
  background: #ffffff;
  border: 1px solid #e6ebf3;
  border-radius: 20px;
  padding: clamp(32px, 5vw, 64px) clamp(28px, 5vw, 72px) clamp(36px, 5vw, 56px);
  box-shadow: 0 24px 60px rgba(37, 56, 88, 0.08);
}

.letter-doc-header {
  text-align: center;
}

.letter-doc-eyebrow {
  font-size: clamp(15px, 1.8vw, 17px);
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #253858;
}

.letter-doc-meta {
  font-size: 14px;
  color: #6b7789;
  margin-top: 10px;
}

.letter-doc-divider {
  height: 1px;
  background: #e6ebf3;
  margin: 28px 0 34px;
}

.letter-doc-body {
  display: flex;
  flex-direction: column;
  gap: 22px;
  font-size: 17px;
  line-height: 1.78;
  color: #5a6a85;
}

.letter-doc-body p {
  margin: 0;
  text-wrap: pretty;
}

.letter-doc-body p.lead {
  font-weight: 600;
  color: #253858;
}

.letter-doc-body a {
  font-weight: 600;
}

.letter-doc-footer-divider {
  height: 1px;
  background: #e6ebf3;
  margin: 34px 0 26px;
}

.letter-doc-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}

.letter-doc-signature {
  font-size: 17px;
  line-height: 1.72;
  color: #5a6a85;
}

.letter-doc-signature strong {
  font-weight: 600;
  color: #253858;
}

.letter-doc-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: #0B70E5;
}
