/* Inner pages. Header, footer and tokens come from the homepage styles. */

.page-main {
  padding: 72px 24px 120px;
  background: #0E0E0E;
}

.home-dhank .header-nav a[aria-current="page"],
.home-dhank .menu-links a[aria-current="page"],
.home-dhank .site-footer a[aria-current="page"] { color: #fff; }

/* ---------- Legal sheet ---------- */
.doc {
  max-width: 880px;
  margin: 0 auto;
  isolation: isolate;
}
.home-dhank .doc-sheet {
  padding: 64px 72px;
  color: #0E0E0E;
}
.doc-kicker {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  color: #5C5C5C;
}
.home-dhank .doc-sheet h1 {
  margin: 8px 0 0;
  max-width: none;
  font-size: 48px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0;
  color: #0E0E0E;
}
.doc-date {
  display: inline-block;
  margin: 20px 0 0;
  padding: 6px 14px;
  border-radius: 999px;
  background: #F4F4F4;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: #5C5C5C;
}
.doc-lead {
  margin: 0;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
  color: #5C5C5C;
}
.doc-rule {
  margin: 40px 0;
  border: 0;
  border-top: 1px solid #E6E6E6;
}
.doc-prose p,
.doc-prose li {
  max-width: 42rem;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
  color: #2B2B2B;
}
.doc-prose p { margin: 0 0 16px; }
.home-dhank .doc-prose h2 {
  margin: 48px 0 12px;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
  color: #0E0E0E;
  scroll-margin-top: 100px;
}
.doc-prose h2:first-child { margin-top: 0; }
.doc-prose ul {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}
.doc-prose li {
  position: relative;
  margin: 0 0 10px;
  padding-left: 22px;
}
.doc-prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00AAAE;
}
.doc-prose strong { font-weight: 500; color: #0E0E0E; }
.home-dhank .doc-prose a,
.home-dhank .page-faq .menu-item a,
.home-dhank .form-done a,
.home-dhank .contact-card a,
.home-dhank .write-another {
  color: #007A7D;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.home-dhank .doc-prose a:hover,
.home-dhank .page-faq .menu-item a:hover,
.home-dhank .form-done a:hover,
.home-dhank .contact-card a:hover,
.home-dhank .write-another:hover { color: #0E0E0E; }
.doc-shout {
  margin: 0 0 16px;
  padding: 20px 24px;
  border-radius: 20px;
  background: #F4F4F4;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .01em;
  color: #0E0E0E;
}
.contact-card {
  margin-top: 8px;
  padding: 24px 28px;
  border-radius: 24px;
  background: #F4F4F4;
  font-style: normal;
}
.contact-card p {
  display: grid;
  gap: 4px;
  margin: 0 0 16px;
  max-width: none;
}
.contact-card p:last-child { margin-bottom: 0; }
.contact-card span {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  color: #5C5C5C;
}
.contact-card b,
.home-dhank .contact-card a {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
  font-style: normal;
  color: #0E0E0E;
}
.doc-more { margin: 0 0 14px; }
.doc-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.home-dhank .doc-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 52px;
  padding: 0 8px 0 20px;
  border-radius: 999px;
  background: #F4F4F4;
  color: #0E0E0E;
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
}
.home-dhank .doc-link .go {
  width: 36px;
  height: 36px;
}
.home-dhank .doc-link:hover { color: #0E0E0E; }

/* ---------- FAQ page ---------- */
.home-dhank .faq-group {
  margin: 32px 0 12px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
  color: #5C5C5C;
}
.home-dhank .faq-group:first-of-type { margin-top: 0; }
.page-faq .faq-list { margin-top: 0; }
.home-dhank .page-faq .menu-item p {
  font-size: 16px;
  line-height: 1.6;
  color: #5C5C5C;
}
.ask-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 40px;
  padding: 32px 36px;
  border-radius: 28px;
  background: #0E0E0E;
  color: #fff;
}
.home-dhank .ask-card h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
  color: #fff;
}
.ask-card p {
  margin: 8px 0 0;
  max-width: 28rem;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.5;
  color: #A3A3A3;
}
.ask-card .btn-primary { flex: none; }

/* ---------- Support ---------- */
.support-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  grid-template-areas:
    "intro form"
    "card form";
  gap: 28px 48px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}
.support-intro { grid-area: intro; }
.side-card { grid-area: card; }
.support-form-sheet { grid-area: form; }
.support-kicker {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  color: #A3A3A3;
}
.home-dhank .support-intro h1 {
  margin: 12px 0 0;
  font-size: 56px;
  font-weight: 500;
  line-height: 1.05;
  color: #fff;
}
.support-intro .lead {
  margin: 16px 0 0;
  max-width: 28rem;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
  color: #A3A3A3;
}
.help-stamp {
  display: block;
  width: 132px;
  height: 132px;
  margin: 28px 0 0;
  object-fit: contain;
  transform: rotate(-8deg);
}
.side-card {
  margin-top: 8px;
  padding: 24px 28px;
  border-radius: 28px;
  background: #232323;
}
.side-card p {
  display: grid;
  gap: 4px;
  margin: 0 0 18px;
}
.side-card p:last-child { margin-bottom: 0; }
.side-card span {
  font-size: 13px;
  font-weight: 400;
  color: #A3A3A3;
}
.side-card b { font-size: 16px; font-weight: 400; color: #fff; }
.home-dhank .side-card a {
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.home-dhank .support-form-sheet { padding: 48px 44px; color: #0E0E0E; }
.home-dhank .support-form-sheet h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.15;
  color: #0E0E0E;
}
.form-note {
  margin: 10px 0 0;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.5;
  color: #5C5C5C;
}
.field { display: grid; gap: 8px; margin-top: 18px; }
.field-label {
  font-size: 15px;
  font-weight: 400;
  color: #0E0E0E;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 2px solid transparent;
  background: #F4F4F4;
  color: #0E0E0E;
  font: 400 16px/1.4 "Kanit", sans-serif;
}
.field input,
.field select {
  height: 56px;
  padding: 0 22px;
  border-radius: 999px;
}
.field select {
  appearance: none;
  padding-right: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%230E0E0E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
}
.field textarea {
  min-height: 160px;
  padding: 18px 22px;
  border-radius: 24px;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder { color: #8A8A8A; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: #00AAAE;
}
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea { border-color: #EF233C; }
.field-error { display: none; font-size: 14px; font-weight: 400; color: #EF233C; }
.field.is-invalid .field-error { display: block; }
.support-form .btn-primary { width: 100%; margin-top: 22px; }
.form-done { padding-top: 8px; }
.home-dhank .form-done h3 {
  margin: 0;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
  color: #0E0E0E;
}
.form-done p {
  margin: 12px 0 0;
  max-width: 36rem;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.6;
  color: #2B2B2B;
}
.write-another {
  margin-top: 20px;
  padding: 0;
  border: 0;
  background: none;
  font: 400 16px/1.4 "Kanit", sans-serif;
  cursor: pointer;
}
.support-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 72px auto 0;
}
.support-card {
  padding: 28px;
  border-radius: 28px;
  background: #232323;
  color: #fff;
}
.home-dhank .support-card h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  color: #fff;
}
.support-card p {
  margin: 10px 0 0;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.55;
  color: #A3A3A3;
}
.home-dhank .card-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: #00AAAE;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.home-dhank .card-action:hover { color: #fff; }

@media (max-width: 960px) {
  .page-main { padding: 40px 16px 80px; }
  .home-dhank .doc-sheet { padding: 32px 24px; }
  .home-dhank .doc-sheet h1 { font-size: 34px; }
  .doc-prose p,
  .doc-prose li { font-size: 16px; }
  .doc-links { grid-template-columns: 1fr; }
  .ask-card { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .support-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }
  .support-intro { display: contents; }
  .home-dhank .support-intro h1 { font-size: 40px; }
  .help-stamp { width: 96px; height: 96px; order: 2; }
  .support-form-sheet { order: 3; }
  .side-card { order: 4; margin-top: 0; }
  .support-kicker, .support-intro h1, .support-intro .lead { order: 1; }
  .home-dhank .support-form-sheet { padding: 32px 24px; }
  .support-cards { grid-template-columns: 1fr; margin-top: 40px; }
}

@media print {
  .site-header,
  .nav-menu,
  .site-footer,
  .doc-links,
  .doc-more,
  .sheet::before,
  .sheet::after { display: none !important; }
  body,
  .home-dhank,
  .page-main {
    background: #fff !important;
    color: #000 !important;
    padding: 0 !important;
  }
  .doc-sheet,
  .sheet {
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
}
