:root {
  --bg: #f6f1e8;
  --bg-2: #efe7d9;
  --card: #fffdf8;
  --card-2: #faf6ee;
  --ink: #1f1b17;
  --ink-2: #57504a;
  --ink-3: #8a8177;
  --accent: #1d6fe8;
  --accent-2: #3b88f5;
  --accent-soft: rgba(29, 111, 232, 0.08);
  --accent-line: rgba(29, 111, 232, 0.22);
  --green: #1f8a4c;
  --green-soft: rgba(31, 138, 76, 0.10);
  --amber: #c77800;
  --line: rgba(70, 50, 30, 0.13);
  --line-2: rgba(70, 50, 30, 0.22);
  --shadow: 0 10px 30px rgba(45, 34, 22, 0.06);
  --radius: 22px;
  --sans: "Be Vietnam Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --serif: "Literata", "Noto Serif", Georgia, serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121212;
    --bg-2: #181818;
    --card: #1e1e1e;
    --card-2: #242424;
    --ink: #f5f5f5;
    --ink-2: #b5b5b5;
    --ink-3: #848484;
    --accent: #4aa3ff;
    --accent-2: #76baff;
    --accent-soft: rgba(33, 150, 243, 0.14);
    --accent-line: rgba(33, 150, 243, 0.34);
    --green: #4caf50;
    --green-soft: rgba(76, 175, 80, 0.14);
    --amber: #ffa000;
    --line: rgba(255, 255, 255, 0.10);
    --line-2: rgba(255, 255, 255, 0.18);
    --shadow: 0 12px 34px rgba(0, 0, 0, 0.38);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.15s ease, color 0.15s ease;
}

a:hover {
  text-decoration: underline;
}

code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: var(--accent-soft);
  border: 1px solid var(--line);
  padding: 2px 6px;
  border-radius: 6px;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ─────────────────────────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 64px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.6) blur(18px);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid var(--line);
}

.headerInner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.logo:hover {
  text-decoration: none;
}

.logoMark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, #2196f3, #0d47a1);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.28);
}

.logoImg {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.22);
}

.ctaLogo {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: cover;
  display: block;
  margin: 0 auto 18px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

.logoSub {
  color: var(--ink-3);
  font-weight: 500;
  font-size: 13px;
}

.headerNav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 500;
}

.headerNav a {
  color: var(--ink-2);
  white-space: nowrap;
}

.headerNav a:hover,
.headerNav a.active {
  color: var(--ink);
  text-decoration: none;
}

.headerNav a.active {
  color: var(--accent);
  font-weight: 600;
}

/* ── Buttons & Pills ────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btnSm {
  padding: 7px 14px;
  font-size: 13px;
}

.btnLg {
  padding: 13px 22px;
  font-size: 15px;
}

.btnFill {
  background: var(--accent);
  color: #fff !important;
}

.btnGhost {
  background: transparent;
  color: var(--ink) !important;
  border-color: var(--line-2);
}

.btnGhost:hover {
  background: var(--card);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
  box-shadow: var(--shadow);
}

.pillDot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

/* ── Hero ───────────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 56px 0 40px;
  overflow: hidden;
}

.heroGlow {
  position: absolute;
  top: -140px;
  right: -120px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.heroInner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
}

.heroTitle {
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 18px 0 16px;
}

.heroTitle em {
  font-style: italic;
  color: var(--accent);
}

.heroLead {
  font-size: 17px;
  color: var(--ink-2);
  margin: 0 0 26px;
  max-width: 540px;
}

.heroDl {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.heroNote {
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--ink-3);
}

/* ── CSS Phone Mockup ───────────────────────────────────────────────────────── */
.heroArt {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 12px 0;
}

.phone {
  width: 300px;
  max-width: 100%;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 34px;
  padding: 14px;
  box-shadow: var(--shadow);
  position: relative;
}

.phoneScreen {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  padding: 14px;
}

.phoneTop {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--ink-3);
  margin-bottom: 12px;
}

.phonePill {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 3px 8px;
  border-radius: 999px;
}

.videoFrame {
  background: linear-gradient(155deg, #1a2433, #0f1622);
  color: #fff;
  border-radius: 14px;
  padding: 20px 12px 14px;
  text-align: center;
  margin-bottom: 12px;
}

.subOrig {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 6px;
}

.subTrans {
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  background: rgba(33, 150, 243, 0.25);
  border: 1px solid rgba(74, 163, 255, 0.45);
  border-radius: 8px;
  padding: 6px 8px;
}

.miniRow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 9px 11px;
  font-size: 11.5px;
  margin-bottom: 8px;
}

.miniRow strong {
  color: var(--ink);
}

.miniBadge {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--green);
  background: var(--green-soft);
  padding: 2px 7px;
  border-radius: 999px;
}

.floatCard {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 10px 13px;
  box-shadow: var(--shadow);
  font-size: 12px;
}

.floatCard small {
  display: block;
  color: var(--ink-3);
  font-size: 10.5px;
}

.floatCard strong {
  color: var(--ink);
  font-weight: 700;
}

.fc1 {
  left: -10px;
  top: 48px;
}

.fc2 {
  right: -10px;
  bottom: 54px;
}

/* ── Stats ──────────────────────────────────────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 24px 0 56px;
}

.stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
}

.statNum {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.15;
}

.statLabel {
  margin-top: 6px;
  font-size: 13px;
  color: var(--ink-2);
}

/* ── Sections ───────────────────────────────────────────────────────────────── */
section.sec {
  padding: 46px 0;
}

.sectionHead {
  max-width: 680px;
  margin-bottom: 28px;
}

.kicker {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.sectionTitle {
  font-family: var(--serif);
  font-size: clamp(26px, 3.6vw, 38px);
  line-height: 1.2;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.sectionLead {
  margin: 0;
  color: var(--ink-2);
  font-size: 16px;
}

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

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

.feat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.featIco {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
}

.feat h3 {
  margin: 0 0 8px;
  font-size: 16.5px;
  font-weight: 700;
}

.feat p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.checks {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 12px;
}

.checks li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-2);
  font-size: 15px;
}

.checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

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

.chip {
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--ink-2);
}

.band {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  counter-reset: step;
}

.step {
  background: var(--card-2);
  border: 1px dashed var(--line-2);
  border-radius: 20px;
  padding: 22px;
  counter-increment: step;
}

.step::before {
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 12px;
}

.step h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.step p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
}

/* ── FAQ Details ────────────────────────────────────────────────────────────── */
.faqList {
  display: grid;
  gap: 10px;
}

.faq {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 20px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15.5px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

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

.faq summary::after {
  content: "+";
  font-size: 20px;
  color: var(--accent);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq[open] summary::after {
  transform: rotate(45deg);
}

.faq p {
  margin: 12px 0 0;
  font-size: 14.5px;
  color: var(--ink-2);
}

/* ── CTA Banner ─────────────────────────────────────────────────────────────── */
.cta {
  background: linear-gradient(150deg, #1e73e8, #0f469e);
  color: #fff;
  border-radius: 30px;
  padding: 46px 32px;
  text-align: center;
  margin: 28px 0 48px;
}

.cta h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 4vw, 36px);
  margin: 0 0 10px;
}

.cta p {
  margin: 0 auto 24px;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.88);
}

.ctaBtns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.cta .btnWhite {
  background: #fff;
  color: #0f469e !important;
}

.cta .btnOutlineWhite {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff !important;
}

/* ── Policy & Credits Pages ─────────────────────────────────────────────────── */
.policy {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 24px 72px;
}

.policy h1 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.2;
  margin: 0 0 10px;
}

.policyMeta {
  font-size: 13.5px;
  color: var(--ink-3);
  margin: 0 0 24px;
}

.policyBox {
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 18px;
  padding: 18px 20px;
  font-size: 14.5px;
  color: var(--ink);
  margin-bottom: 32px;
}

.policyBox p {
  margin: 0;
}

.policyBox p + p {
  margin-top: 8px;
}

.policy h2 {
  font-family: var(--serif);
  font-size: 22px;
  margin: 36px 0 14px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.policy h3 {
  font-size: 16.5px;
  margin: 22px 0 8px;
}

.policy ul {
  padding-left: 20px;
  margin: 10px 0;
}

.policy li {
  margin: 8px 0;
  color: var(--ink-2);
}

.policy li::marker {
  color: var(--accent);
}

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
}

.toc a {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 500;
}

.toc a:hover {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}

.tableScroll {
  overflow-x: auto;
  margin: 14px 0 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.creditTable {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.creditTable th,
.creditTable td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.creditTable tr:last-child td {
  border-bottom: none;
}

.creditTable th {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: var(--card-2);
}

.creditTable td:first-child {
  width: 30%;
  font-weight: 600;
}

.creditTable small {
  color: var(--ink-3);
  font-weight: 400;
}

.licenseTag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 3px 9px;
  border-radius: 999px;
}

/* ── Footer ─────────────────────────────────────────────────────────────────── */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 40px 0 28px;
  font-size: 13.5px;
  color: var(--ink-2);
}

.footerGrid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.footer h4 {
  margin: 0 0 12px;
  font-size: 11.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer a {
  color: var(--ink-2);
}

.footer a:hover {
  color: var(--ink);
}

.footerBottom {
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--ink-3);
}

.footerLinks {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ── Responsive Breakpoints (Tablet & Mobile) ───────────────────────────────── */
@media (max-width: 920px) {
  .heroInner,
  .split {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .footerGrid {
    grid-template-columns: 1fr 1fr;
  }

  .navWide {
    display: none;
  }
}

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

  .header {
    height: auto;
    min-height: 58px;
    padding: 8px 0;
  }

  .headerInner {
    flex-wrap: wrap;
    gap: 8px;
  }

  .headerNav {
    gap: 12px;
    font-size: 13px;
    overflow-x: auto;
    max-width: 100%;
    padding-bottom: 2px;
  }

  .hero {
    padding: 32px 0 24px;
  }

  .stats,
  .grid3,
  .grid2,
  .steps,
  .footerGrid {
    grid-template-columns: 1fr;
  }

  .band {
    padding: 24px 18px;
    border-radius: 22px;
  }

  .cta {
    padding: 32px 18px;
    border-radius: 22px;
  }

  .fc1,
  .fc2 {
    display: none;
  }

  .policy {
    padding: 32px 16px 56px;
  }

  /* Responsive table to vertical cards on mobile */
  .creditTable thead {
    display: none;
  }

  .creditTable,
  .creditTable tbody,
  .creditTable tr,
  .creditTable td {
    display: block;
    width: 100%;
  }

  .creditTable tr {
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
  }

  .creditTable tr:last-child {
    border-bottom: none;
  }

  .creditTable td {
    padding: 4px 0;
    border: none;
  }

  .creditTable td:first-child {
    width: 100%;
    font-size: 15px;
    margin-bottom: 4px;
  }
}

