@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("/fonts/inter-vietnamese.woff2") 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: "Newsreader";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("/fonts/newsreader-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("/fonts/newsreader-vietnamese.woff2") 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: "Newsreader";
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
  src: url("/fonts/newsreader-italic-latin.woff2") format("woff2");
}

:root {
  --paper: #fbf8f2;
  --cream: #f4eee3;
  --sand: #e4d8c4;
  --line: #e6ddcd;
  --ink: #111f19;
  --forest: #143a2b;
  --pine: #1c5140;
  --sage: #a8b8aa;
  --gold: #b98a45;
  --clay: #c8582f;
  --mist: #6a6f66;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

::selection {
  background: #d9c39a;
  color: var(--ink);
}

:where(a, button, summary):focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 22px;
}

.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -60px;
  z-index: 20;
  background: var(--forest);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: 0 0 8px 8px;
}

.skip-link:focus {
  top: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(17, 31, 25, 0.08);
  background: rgba(251, 248, 242, 0.9);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  width: 36px;
  height: 36px;
  color: var(--forest);
}

.brand-word {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.brand-word strong {
  color: var(--gold);
  font-weight: 500;
}

.langs {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  min-width: 0;
}

.langs::-webkit-scrollbar {
  display: none;
}

.langs a {
  flex-shrink: 0;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 0.69rem;
  color: var(--mist);
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.langs a:hover {
  color: var(--forest);
  background: var(--cream);
}

.langs a[aria-current="page"] {
  background: var(--forest);
  color: var(--paper);
}

.header-cta {
  flex-shrink: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--forest);
  color: var(--paper);
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  box-shadow: 0 8px 24px -14px rgba(20, 58, 43, 0.6);
  transition: transform 0.2s, background 0.2s;
}

.btn:hover {
  background: var(--pine);
  transform: translateY(-1px);
}

.btn-sm {
  min-height: 38px;
  padding: 9px 16px;
  font-size: 0.76rem;
}

.btn-light {
  background: var(--paper);
  color: var(--forest);
}

.btn-light:hover {
  background: #fff;
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  overflow: clip;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 64px;
  align-items: center;
  padding-block: 78px 84px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: #946527;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}

h1 {
  margin: 18px 0 0;
  font-family: var(--serif);
  font-size: clamp(2.55rem, 5.2vw, 4.05rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--ink);
}

[dir="rtl"] h1 {
  line-height: 1.25;
  letter-spacing: 0;
}

.hero-intro {
  max-width: 34rem;
  margin: 22px 0 0;
  color: var(--mist);
  font-size: 1rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.hero-actions .btn {
  min-height: 52px;
  padding-inline: 26px;
  font-size: 0.92rem;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: var(--mist);
  font-size: 0.76rem;
}

.trust li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trust svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  color: var(--forest);
}

/* ---------- Aria card ---------- */
.aria-wrap {
  position: relative;
}

.aria-wrap::before {
  content: "";
  position: absolute;
  inset-inline-end: -22px;
  top: -26px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(185, 138, 69, 0.28);
  border-radius: 50%;
}

.aria-card {
  position: relative;
  z-index: 1;
  background: var(--forest);
  border-radius: 26px;
  padding: 22px;
  color: var(--paper);
  box-shadow: 0 30px 65px -35px rgba(20, 58, 43, 0.65);
}

.aria-head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(251, 248, 242, 0.1);
}

.avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(251, 248, 242, 0.12);
  border: 1px solid rgba(251, 248, 242, 0.16);
  font-family: var(--serif);
  font-size: 1.1rem;
}

.aria-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1;
}

.aria-role {
  margin-top: 4px;
  font-size: 0.6rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(251, 248, 242, 0.45);
}

.aria-dot {
  width: 8px;
  height: 8px;
  margin-inline-start: auto;
  border-radius: 50%;
  background: #7fae8a;
  box-shadow: 0 0 0 4px rgba(127, 174, 138, 0.14);
}

.aria-body {
  padding-top: 18px;
}

.aria-bubble {
  max-width: 92%;
  background: var(--paper);
  color: var(--ink);
  border-radius: 16px 16px 16px 5px;
  padding: 14px 16px;
  font-size: 0.86rem;
  line-height: 1.6;
}

[dir="rtl"] .aria-bubble {
  border-radius: 16px 16px 5px 16px;
}

.aria-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.aria-chips span {
  border: 1px solid rgba(251, 248, 242, 0.16);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.62rem;
  color: rgba(251, 248, 242, 0.68);
}

.aria-chips span.gold {
  color: var(--gold);
  border-color: rgba(185, 138, 69, 0.32);
  background: rgba(185, 138, 69, 0.08);
}

.aria-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(251, 248, 242, 0.1);
  color: rgba(251, 248, 242, 0.42);
  font-size: 0.63rem;
}

.aria-note svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--gold);
}

/* ---------- Sections ---------- */
.section {
  padding-block: 72px;
  border-top: 1px solid var(--line);
}

.section-cream {
  background: rgba(244, 238, 227, 0.45);
}

.section-head {
  max-width: 42rem;
}

h2 {
  margin: 14px 0 0;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.section-intro {
  max-width: 38rem;
  margin: 14px 0 0;
  color: var(--mist);
  font-size: 0.94rem;
  line-height: 1.8;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 36px;
}

.step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(20, 58, 43, 0.07);
  color: var(--forest);
  font-family: var(--serif);
  font-size: 0.95rem;
}

.step h3 {
  margin: 18px 0 0;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.step p {
  margin: 8px 0 0;
  color: var(--mist);
  font-size: 0.83rem;
  line-height: 1.7;
}

/* ---------- Services ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
}

.service {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 72px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.7);
  font-size: 0.84rem;
  font-weight: 550;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.service:hover {
  border-color: rgba(20, 58, 43, 0.28);
  background: #fffdf8;
  transform: translateY(-1px);
}

.service .arrow {
  flex-shrink: 0;
  color: var(--gold);
  font-size: 1rem;
  line-height: 1;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 48rem;
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  cursor: pointer;
  font-size: 0.93rem;
  font-weight: 600;
  list-style: none;
}

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

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid var(--sand);
  border-radius: 50%;
  color: var(--forest);
  font-weight: 400;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  max-width: 44rem;
  margin: -6px 0 22px;
  color: var(--mist);
  font-size: 0.86rem;
  line-height: 1.75;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: var(--forest);
  color: var(--paper);
  padding: 62px 38px;
  text-align: center;
  margin-block: 12px 72px;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset-inline-end: -110px;
  top: -130px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(251, 248, 242, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 50px rgba(251, 248, 242, 0.025);
  pointer-events: none;
}

.cta-band h2 {
  position: relative;
  max-width: 44rem;
  margin-inline: auto;
  color: var(--paper);
}

.cta-band p {
  position: relative;
  max-width: 34rem;
  margin: 16px auto 0;
  color: rgba(251, 248, 242, 0.62);
  font-size: 0.9rem;
  line-height: 1.75;
}

.cta-band .btn {
  position: relative;
  margin-top: 26px;
  min-height: 52px;
  padding-inline: 28px;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(244, 238, 227, 0.55);
  padding-block: 44px 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-brand p {
  max-width: 24rem;
  margin: 14px 0 0;
  color: var(--mist);
  font-size: 0.8rem;
  line-height: 1.7;
}

.footer-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.footer-langs a {
  color: var(--ink);
  font-size: 0.74rem;
  opacity: 0.72;
}

.footer-langs a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: flex-end;
  color: var(--mist);
  font-size: 0.74rem;
}

.disclaimer {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--mist);
  font-size: 0.66rem;
  line-height: 1.75;
}

.tech-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-top: 14px;
  color: var(--mist);
  font-size: 0.64rem;
  opacity: 0.9;
}

.tech-line a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .header-inner {
    flex-wrap: wrap;
    padding-block: 12px;
    row-gap: 8px;
  }

  .langs {
    order: 3;
    width: 100%;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-block: 54px 64px;
  }

  .aria-wrap {
    max-width: 540px;
  }

  .steps,
  .services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .wrap {
    padding-inline: 18px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding-block: 42px 54px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .trust {
    gap: 7px 14px;
    font-size: 0.7rem;
  }

  .steps,
  .services {
    grid-template-columns: 1fr;
  }

  .section {
    padding-block: 52px;
  }

  .cta-band {
    padding: 46px 22px;
    border-radius: 22px;
    margin-bottom: 52px;
  }

  .cta-band .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
