/* ==========================================================================
   Visitor pages (about / terms / privacy / refunds / docs) — 2026-11-15
   Same visual language as the homepage showcase. Loaded after info.css.
   ========================================================================== */

/* ---------------- Information pages ---------------- */
.info-shell {
  background:
    radial-gradient(760px 380px at 84% -6%, rgba(139, 92, 246, .12), transparent 62%),
    #f7f6ff;
  padding: 62px 0 84px;
}
.info-eyebrow { color: #6b4bf5; font-weight: 700; letter-spacing: .16em; }
.info-hero { margin-bottom: 34px; }
.info-hero h1 {
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.08;
  color: #0f1020;
}
.info-lead { font-size: 15px; line-height: 1.85; color: #5d6072; max-width: 720px; }
.info-article {
  border: 1px solid #e8e6f6;
  border-radius: 22px;
  padding: 38px 40px;
  box-shadow: 0 34px 70px -58px rgba(38, 24, 110, .5);
}
.info-section h2 { font-size: 19px; font-weight: 700; letter-spacing: -.02em; color: #14152a; }
.info-section p, .info-section li { font-size: 13.5px; line-height: 1.95; color: #4e5165; }
.info-section a { color: #6b4bf5; }
.info-nav a { border-radius: 10px; }
.info-nav a.on, .info-nav a.on:hover { background: #6b4bf5; color: #fff; }
.info-nav a:hover { background: #f1edff; color: #5a3ae4; }
.info-flow li { background: #fbfaff; border-color: #ece9f8; border-radius: 12px; }
.info-flow b { color: #6b4bf5; }
.info-callout { background: #f6f3ff; border-color: #e3dcfb; border-radius: 12px; }
.info-example { background: #f6f3ff; border-color: #e4dfff; border-radius: 12px; }

/* ---------------- Documentation ---------------- */
.doc-shell { padding: 54px 0 90px; }
.doc-body h1 { font-size: clamp(32px, 3.6vw, 42px); font-weight: 800; letter-spacing: -.045em; }
.doc-body h2 { font-size: 22px; font-weight: 700; letter-spacing: -.03em; margin: 46px 0 12px; }
.doc-body h3 { font-size: 15.5px; font-weight: 700; }
.doc-body p, .doc-body ul li { font-size: 14.5px; line-height: 1.85; color: #4a4d60; }
.doc-body pre { border-radius: 14px; }
.doc-body code.inline { border-radius: 6px; }
.doc-nav .grp-t { color: #8b8da1; }

/* Long translations: let table cells break instead of pushing the table
   sideways, and keep a scroll container as the fallback. */
.doc-table-wrap { overflow-x: auto; }
table.models th, table.models td { overflow-wrap: anywhere; }

@media (max-width: 800px) {
  .info-nav { flex-wrap: wrap; overflow: visible; }
}
@media (max-width: 480px) {
  table.models th, table.models td { padding: 11px 12px; font-size: 12.5px; }
}
/* the third column is hidden on phones, so the two remaining columns can fit */
@media (max-width: 660px) {
  .doc-table-wrap .models { min-width: 0 !important; }
}

@media (max-width: 760px) {
  .info-article { padding: 26px 22px; border-radius: 18px; }
  .info-shell { padding: 40px 0 56px; }
}
html:lang(th) .info-hero h1,
html:lang(th) .doc-body h1,
html:lang(th) .doc-body h2,
html:lang(th) .info-section h2 { line-height: 1.32; }
