@charset "UTF-8";
:root {
  color-scheme: dark;
  --bg: #0b0c14;
  --panel: #141521;
  --panel2: #191b2a;
  --ink: #f3f3fc;
  --muted: #a3a7be;
  --line: #2b2d41;
  --violet: #b49aff;
  --cyan: #5fe1d5;
  --red: #ff7d99;
  --lime: #c4f581;
  --font: "Leelawadee UI", "Noto Sans Thai", Tahoma, system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--cyan);
  text-underline-offset: 4px;
}
a:hover {
  color: #fff;
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 5px;
}
img {
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 1.4;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(36px, 5.8vw, 70px);
  font-weight: 750;
}
h2 {
  font-size: clamp(25px, 3vw, 36px);
}
h3 {
  font-size: 21px;
}
p {
  margin-bottom: 1.2em;
}
button,
input {
  font: inherit;
}
.shell {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 12, 20, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 91px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--ink);
  text-decoration: none;
  font-family: system-ui, var(--font);
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
}
.brand img {
  width: 89px;
  display: block;
}
.brand .amp {
  color: var(--violet);
}
.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-top: 5px;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 25px;
}
.site-header nav a {
  color: #c2c5d5;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}
.site-header nav a:hover,
.site-header nav a[aria-current] {
  color: #fff;
}
.site-header .nav-contact {
  border: 1px solid #50436d;
  background: #201c30;
  border-radius: 9px;
  padding: 8px 14px;
}
.skip {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 99;
  background: var(--cyan);
  color: var(--bg);
  padding: 10px 18px;
}
.skip:focus {
  top: 12px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-family: system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow:before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 2px;
  background: currentColor;
}
.hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 56px;
  padding-block: 80px 72px;
}
.hero h1 {
  margin-bottom: 22px;
}
.gradient {
  color: var(--violet);
}
.lead {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
  max-width: 640px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}
.button {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  padding: 12px 21px;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
  background: var(--panel);
  font-weight: 600;
  font-size: 15px;
}
.button:hover {
  background: #262337;
  color: #fff;
}
.button.primary {
  background: #c6afff;
  border-color: #c6afff;
  color: #160c2c;
}
.button.primary:hover {
  background: #d8caff;
}
.tiny {
  font-size: 12px;
  color: var(--muted);
}
.hero-note {
  margin-top: 19px;
  font-size: 12px;
  color: var(--muted);
}
.example-board {
  position: relative;
  border: 1px solid #45405e;
  border-radius: 20px;
  background:
    radial-gradient(
      ellipse at 100% 0,
      rgba(139, 92, 246, 0.17),
      transparent 70%
    ),
    var(--panel);
  padding: 28px;
  box-shadow: 0 28px 90px #0004;
}
.board-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: system-ui, sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.board-status {
  color: var(--cyan);
  letter-spacing: 0;
}
.board-status:before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  margin-right: 7px;
}
.board-label {
  font-size: 14px;
  color: var(--muted);
  margin: 24px 0 10px;
}
.damage-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-top: 12px;
  background: #0e0f19;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 15px 17px;
}
.damage-row b {
  font:
    650 25px/1.3 system-ui,
    sans-serif;
  letter-spacing: -0.03em;
}
.damage-row span {
  font:
    12px system-ui,
    sans-serif;
  color: var(--muted);
}
.damage-row.after {
  border-color: #4d6570;
}
.damage-row.after b {
  color: var(--cyan);
}
.board-bottom {
  display: flex;
  gap: 14px;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 23px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}
.board-bottom a {
  white-space: nowrap;
}
.section {
  padding-block: 62px;
  border-top: 1px solid var(--line);
}
.section-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}
.section-top h2 {
  margin-bottom: 9px;
}
.section-top p {
  color: var(--muted);
  margin: 0;
  max-width: 650px;
}
.section-index {
  font:
    12px system-ui,
    sans-serif;
  letter-spacing: 0.13em;
  color: var(--muted);
  white-space: nowrap;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.tool-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 27px;
  min-width: 0;
}
.tool-card .number {
  font:
    600 12px system-ui,
    sans-serif;
  letter-spacing: 0.1em;
  color: var(--accent, var(--violet));
  margin-bottom: 30px;
}
.tool-card h3 {
  font-family: system-ui, var(--font);
  font-size: 27px;
  margin-bottom: 10px;
}
.tool-card p {
  color: var(--muted);
  font-size: 14px;
}
.tool-card .use-case {
  color: #dedfec;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  font-size: 13px;
}
.card-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  width: 100%;
  margin-top: auto;
  padding-top: 12px;
  font-size: 14px;
}
.card-links a {
  font-weight: 600;
}
.guide-list {
  display: grid;
  gap: 13px;
}
.guide-link {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 20px;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 12px;
  padding: 23px 26px;
  text-decoration: none;
  color: var(--ink);
}
.guide-link:hover {
  border-color: #6c5b90;
  background: #1b1a2a;
}
.guide-link .guide-no {
  font:
    500 24px system-ui,
    sans-serif;
  color: var(--violet);
}
.guide-link h3 {
  font-size: 19px;
  margin: 0 0 5px;
}
.guide-link p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.guide-link .arrow {
  font-size: 24px;
  color: var(--cyan);
}
.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}
.principles h3 {
  font-size: 18px;
  margin-bottom: 12px;
}
.principles p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 0;
}
.principles .mini {
  display: inline-block;
  font:
    12px system-ui,
    sans-serif;
  color: var(--violet);
  border-bottom: 1px solid #61507e;
  padding-bottom: 9px;
  margin-bottom: 17px;
}
.creator-strip {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 31px;
  background: linear-gradient(110deg, #1d2430, #171822);
  border: 1px solid #343c48;
  border-radius: 16px;
}
.creator-strip img {
  width: 110px;
}
.creator-strip h2 {
  font-size: 25px;
  margin-bottom: 8px;
}
.creator-strip p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.faq summary {
  font-weight: 600;
  cursor: pointer;
}
.faq details p {
  color: var(--muted);
  font-size: 15px;
  margin: 14px 0 0;
  max-width: 850px;
}
.site-footer {
  background: #080910;
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding-block: 42px 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 45px;
}
.footer-brand {
  font:
    700 20px system-ui,
    sans-serif;
  color: var(--ink);
  text-decoration: none;
}
.footer-brand span {
  color: var(--violet);
}
.site-footer p {
  font-size: 13px;
  color: var(--muted);
  margin: 13px 0 0;
}
.site-footer nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}
.site-footer nav a,
.footer-social a {
  color: #b6bacd;
  text-decoration: none;
}
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}
.footer-social small {
  color: var(--muted);
  margin-top: 10px;
}
.footer-note {
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding-top: 18px;
  font-size: 11px;
  color: #8e93ac;
}
.page-head {
  padding-block: 48px 35px;
  border-bottom: 1px solid var(--line);
}
.breadcrumb {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 25px;
}
.breadcrumb a {
  color: var(--muted);
}
.page-head h1 {
  font-size: clamp(32px, 4vw, 51px);
  max-width: 900px;
  margin-bottom: 17px;
}
.page-head .lead {
  font-size: 17px;
  max-width: 820px;
  margin-bottom: 20px;
}
.meta {
  font-size: 12px;
  color: var(--muted);
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 235px;
  gap: 65px;
  padding-top: 40px;
  align-items: start;
}
.article {
  min-width: 0;
}
.article section {
  padding-bottom: 32px;
  margin-bottom: 34px;
  border-bottom: 1px solid var(--line);
}
.article h2 {
  font-size: 27px;
  margin-bottom: 20px;
}
.article h3 {
  font-size: 20px;
  margin: 27px 0 13px;
}
.article p,
.article li {
  font-size: 16px;
  color: #c6c9dc;
}
.article ul,
.article ol {
  padding-left: 25px;
}
.article li + li {
  margin-top: 10px;
}
.article strong {
  color: var(--ink);
}
.article .callout {
  background: #181e29;
  border-left: 3px solid var(--cyan);
  padding: 19px 23px;
  border-radius: 0 10px 10px 0;
  margin: 25px 0;
}
.article .callout p:last-child {
  margin-bottom: 0;
}
.article .callout.note {
  border-left-color: var(--violet);
  background: #1e1a2b;
}
.table-wrap {
  max-width: 100%;
  overflow-x: auto;
  margin: 22px 0;
  border: 1px solid var(--line);
  border-radius: 10px;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
  background: var(--panel);
}
th,
td {
  text-align: left;
  padding: 12px 15px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
thead {
  background: #202132;
}
th {
  font-weight: 600;
  color: var(--ink);
}
td {
  color: #c7cada;
}
tbody tr:last-child td {
  border-bottom: 0;
}
.num {
  font-family: ui-monospace, Consolas, monospace;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.toc {
  position: sticky;
  top: 125px;
  border-left: 1px solid var(--line);
  padding-left: 22px;
}
.toc h2 {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 17px;
}
.toc a {
  display: block;
  color: #b9bdd2;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.6;
  padding-block: 7px;
}
.toc a:hover {
  color: var(--cyan);
}
.toc .button {
  display: flex;
  font-size: 12px;
  margin-top: 24px;
  padding: 10px;
}
.source-list {
  font-size: 13px;
  color: var(--muted);
}
.source-list li {
  font-size: 13px;
}
.article-end {
  padding: 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 40px;
}
.article-end h2 {
  font-size: 22px;
  margin-bottom: 10px;
}
.article-end p {
  font-size: 14px;
}
.simple-layout {
  max-width: 860px;
  margin-inline: auto;
  padding-top: 40px;
}
.profile-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 35px;
  align-items: center;
  margin-bottom: 40px;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 30px;
  border-radius: 15px;
}
.profile-card h2 {
  margin-bottom: 10px;
}
.profile-card p {
  margin-bottom: 0;
}
.contact-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
  margin: 25px 0;
}
.contact-option {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 25px;
  min-width: 0;
}
.contact-option h2 {
  font-size: 21px;
  margin-bottom: 13px;
}
.contact-option p {
  font-size: 14px;
  color: var(--muted);
}
.contact-option a {
  overflow-wrap: anywhere;
}
.reading-note {
  font-size: 13px;
  color: var(--muted);
}
.hub-body {
  padding-top: 36px;
}
.hub-intro {
  max-width: 800px;
  color: var(--muted);
  margin-bottom: 30px;
}
.not-found {
  padding-block: 100px;
  text-align: center;
}
.not-found h1 {
  font-size: 70px;
  color: var(--violet);
}
.not-found p {
  color: var(--muted);
}
code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.88em;
  color: var(--cyan);
  overflow-wrap: anywhere;
}
pre {
  overflow: auto;
  background: #070811;
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.7;
}
.checklist {
  list-style: none;
  padding-left: 0 !important;
}
.checklist li {
  position: relative;
  padding-left: 27px;
}
.checklist li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--cyan);
}
.recipe {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}
.recipe span {
  padding: 8px 12px;
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: 8px;
  font:
    13px ui-monospace,
    monospace;
  color: var(--cyan);
}
@media (max-width: 960px) {
  .nav-shell {
    gap: 15px;
    flex-wrap: wrap;
    padding-block: 15px;
  }
  .site-header nav {
    gap: 23px;
  }
  .brand img {
    width: 70px;
  }
  .brand > span {
    font-size: 14px;
  }
  .hero {
    gap: 27px;
    padding-block: 55px;
    grid-template-columns: 1.1fr 1fr;
  }
  .hero h1 {
    font-size: 47px;
  }
  .tool-card {
    padding: 20px;
  }
  .article-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .toc {
    position: static;
    grid-row: 1;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 10px;
    margin-bottom: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
  }
  .toc h2 {
    width: 100%;
    margin-bottom: 4px;
  }
  .toc .button {
    margin: 0;
  }
  .toc a {
    font-size: 12px;
  }
  .creator-strip {
    grid-template-columns: 90px 1fr;
  }
  .creator-strip .button {
    grid-column: 2;
  }
  .footer-grid {
    gap: 25px;
  }
}
@media (max-width: 700px) {
  html {
    scroll-padding-top: 145px;
  }
  .shell {
    width: calc(100% - 32px);
  }
  .nav-shell {
    display: block;
    min-height: 0;
    padding-block: 13px;
  }
  .brand img {
    width: 69px;
  }
  .brand > span {
    font-size: 15px;
  }
  .site-header nav {
    margin-top: 13px;
    gap: 0;
    justify-content: space-between;
    overflow-x: auto;
    padding-block: 3px;
  }
  .site-header nav a {
    font-size: 12px;
  }
  .site-header .nav-contact {
    padding: 5px 9px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-block: 42px;
    gap: 30px;
  }
  .hero h1 {
    font-size: clamp(39px, 9vw, 60px);
    line-height: 1.4;
  }
  .lead {
    font-size: 16px;
  }
  .eyebrow {
    font-size: 10px;
  }
  .example-board {
    padding: 21px;
    max-width: 500px;
    width: 100%;
  }
  .damage-row b {
    font-size: 23px;
  }
  .section {
    padding-block: 40px;
  }
  .section-top {
    align-items: flex-start;
    gap: 12px;
  }
  .section-index {
    display: none;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .tool-card .number {
    margin-bottom: 18px;
  }
  .tool-card h3 {
    font-size: 26px;
  }
  .tool-card .use-case {
    width: 100%;
  }
  .principles {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .principles .mini {
    margin-bottom: 10px;
  }
  .guide-link {
    padding: 20px 17px;
    grid-template-columns: 30px 1fr 16px;
    gap: 12px;
  }
  .guide-link h3 {
    font-size: 17px;
  }
  .guide-link p {
    font-size: 13px;
  }
  .guide-link .guide-no {
    font-size: 19px;
  }
  .creator-strip {
    padding: 23px;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .creator-strip img {
    width: 110px;
  }
  .creator-strip .button {
    grid-column: auto;
    justify-self: start;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 27px;
  }
  .footer-social {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }
  .footer-social small {
    width: 100%;
    margin-top: 0;
  }
  .page-head {
    padding-block: 30px;
  }
  .page-head h1 {
    font-size: 33px;
  }
  .page-head .lead {
    font-size: 16px;
  }
  .article h2 {
    font-size: 24px;
  }
  .article p,
  .article li {
    font-size: 15px;
  }
  .article-layout {
    padding-top: 26px;
  }
  .toc {
    padding: 16px;
  }
  .table-wrap th,
  .table-wrap td {
    padding: 10px 12px;
    font-size: 13px;
    min-width: 110px;
  }
  .profile-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 23px;
  }
  .profile-card img {
    max-width: 160px;
  }
  .contact-options {
    grid-template-columns: 1fr;
  }
  .button {
    font-size: 14px;
    padding: 11px 17px;
  }
  .actions {
    gap: 10px;
  }
  .article section {
    margin-bottom: 26px;
    padding-bottom: 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
