:root {
  color-scheme: dark;
  --bg: #0b1423;
  --surface: #101d30;
  --surface-raised: #142338;
  --ink: #f4f3ef;
  --muted: #b2bfd0;
  --line: #2a3a50;
  --brass: #d6b67a;
  --brass-bright: #e8c990;
  --thai: "Anuphan", sans-serif;
  --serif: "Manrope", "Anuphan", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  scrollbar-color: #516079 var(--bg);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--thai);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
::selection {
  background: var(--brass);
  color: var(--bg);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}
a,
summary {
  touch-action: manipulation;
}
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 5px;
}
img,
svg {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
p {
  max-width: 70ch;
}
.wrap {
  width: min(1200px, calc(100% - 96px));
  margin-inline: auto;
}
section[id] {
  scroll-margin-top: 110px;
}
.skip {
  position: fixed;
  top: 8px;
  left: 12px;
  z-index: 100;
  background: var(--brass);
  color: var(--bg);
  padding: 8px 20px;
  transform: translateY(-160%);
}
.skip:focus {
  transform: none;
}
.top {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.top-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 94px;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
}
.brand img {
  object-fit: contain;
}
.brand b {
  font: 800 16px/1.2 var(--serif);
  letter-spacing: 0.08em;
}
.brand small {
  display: block;
  color: var(--brass);
  font: 600 10px/1.8 var(--serif);
  letter-spacing: 0.33em;
}
.desktop-nav {
  display: flex;
  gap: 30px;
  font-size: 14px;
  color: var(--muted);
}
nav a:hover,
.text-link:hover {
  color: var(--brass-bright);
}
.member-link {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid #7d704f;
  border-radius: 8px;
  padding: 9px 18px;
  color: var(--brass-bright);
  font-size: 14px;
}
.member-link:hover {
  background: var(--surface);
}
.member-link svg,
.btn svg,
.text-link svg,
.back-top svg {
  width: 20px;
  height: 20px;
}
.mobile-menu {
  display: none;
}
.hero {
  overflow: clip;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 54px;
  align-items: center;
  min-height: 660px;
  padding-block: 80px;
}
.hero h1 {
  font-size: clamp(40px, 4.7vw, 66px);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.035em;
}
.hero h1 span {
  color: var(--brass-bright);
}
.lede {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.95;
  margin-top: 26px;
}
.hero-cta {
  display: flex;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  border-radius: 8px;
  padding: 14px 23px;
  background: var(--brass);
  color: #101b2a;
  font-size: 14px;
  font-weight: 600;
  transition:
    background 0.2s,
    transform 0.2s;
}
.btn:hover {
  background: var(--brass-bright);
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}
.text-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
}
.hero-note {
  margin-top: 22px;
  color: var(--muted);
  font-size: 12px;
}
.pass-stage {
  position: relative;
  padding: 45px 0 15px;
  isolation: isolate;
}
.pass-outline {
  position: absolute;
  inset: 15px 2px 90px 34px;
  border: 1px solid #506078;
  border-radius: 16px;
  transform: rotate(7deg);
  z-index: -1;
}
.member-pass {
  position: relative;
  aspect-ratio: 1.58;
  border-radius: 16px;
  padding: 30px 32px;
  background: linear-gradient(125deg, #223851, #15253b 60%, #203149);
  box-shadow: 0 30px 60px -25px #020813;
  transform: rotate(-6deg);
  overflow: hidden;
  animation: arrive 0.9s var(--ease) both;
}
.member-pass::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -190px;
  top: -35px;
  border: 1px solid #6b746e;
  border-radius: 50%;
  box-shadow:
    0 0 0 35px #b9a1710d,
    0 0 0 70px #b9a1710a;
  pointer-events: none;
}
.pass-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pass-top > span:first-child {
  font: 700 13px/1.6 var(--serif);
  letter-spacing: 0.15em;
  color: var(--brass-bright);
}
.pass-top small {
  font-size: 9px;
  letter-spacing: 0.32em;
}
.pass-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
}
.pass-title {
  font: 500 clamp(24px, 2.6vw, 35px) / 1.3 var(--serif);
  letter-spacing: -0.03em;
  margin-top: 22px;
  color: #f4ead6;
}
.pass-bottom {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-top: 16px;
  font: 600 10px/1.5 var(--serif);
  letter-spacing: 0.18em;
  color: var(--brass-bright);
}
.pass-bottom small {
  font: 400 11px/1.7 var(--thai);
  letter-spacing: 0;
  display: block;
  color: var(--muted);
  margin-top: 3px;
}
.pass-mark {
  width: 54px;
  height: 54px;
}
.pass-caption {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  margin-top: 48px;
  font-size: 12px;
  color: var(--muted);
}
.caption-rule {
  width: 34px;
  height: 1px;
  background: var(--brass);
}
.manifesto {
  border-block: 1px solid var(--line);
  padding: 24px 0;
}
.manifesto .wrap {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font: 600 clamp(11px, 1.3vw, 17px) / 1.5 var(--serif);
  letter-spacing: 0.1em;
  color: var(--muted);
}
.manifesto span:last-child {
  color: var(--brass-bright);
}
.vault {
  padding-block: 100px;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 40px;
}
h2 {
  font-size: clamp(30px, 3.2vw, 43px);
  line-height: 1.4;
  letter-spacing: -0.025em;
  font-weight: 500;
}
.section-head h2 span {
  color: var(--muted);
}
.section-head > p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 7px;
}
.catalog-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 24px;
}
.how {
  background: var(--surface);
  padding-block: 88px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  margin-top: 52px;
}
.step-number {
  display: block;
  color: var(--brass);
  font: 500 14px/1 var(--serif);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.step h3 {
  font-size: 21px;
  font-weight: 500;
}
.step p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 12px;
}
.faq {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 80px;
  padding-block: 100px;
}
.faq h2 {
  font-size: 32px;
}
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list details:first-child {
  border-top: 1px solid var(--line);
}
summary {
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
.faq-list summary {
  padding: 23px 30px 23px 0;
  position: relative;
  font-weight: 500;
}
.faq-list summary::after {
  content: "+";
  font: 400 23px/1 var(--serif);
  position: absolute;
  right: 0;
  top: 24px;
  color: var(--brass);
}
.faq-list details[open] summary::after {
  content: "−";
}
.faq-list p {
  font-size: 14px;
  color: var(--muted);
  padding: 0 30px 24px 0;
}
.close {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
  background: var(--surface-raised);
  padding: 48px 56px;
  border-radius: 16px;
  margin-bottom: 100px;
}
.close h2 {
  font-size: 34px;
}
.close p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 20px;
}
.close-action {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  flex-shrink: 0;
}
.status {
  font-size: 13px;
  color: var(--brass-bright);
}
footer {
  border-top: 1px solid var(--line);
  padding: 44px 0 30px;
}
.foot-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.foot-in nav {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: var(--muted);
}
.back-top {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}
.back-top svg {
  transform: rotate(-90deg);
}
.foot-values {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-block: 1px solid var(--line);
  margin-top: 36px;
  padding-block: 23px;
  color: var(--muted);
  font: 500 10px/1.8 var(--serif);
  letter-spacing: 0.1em;
}
.copy {
  font-size: 11px;
  color: var(--muted);
  line-height: 2;
  margin-top: 24px;
  max-width: none;
}
.no-script {
  padding-block: 20px;
}
.no-script a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
@keyframes arrive {
  from {
    transform: translateY(18px) rotate(-3deg);
  }
  to {
    transform: translateY(0) rotate(-6deg);
  }
}
@media (min-width: 1500px) {
  .hero-grid {
    min-height: 720px;
  }
}
@media (max-width: 1050px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .desktop-nav {
    gap: 18px;
    font-size: 13px;
  }
  .top-in {
    gap: 20px;
  }
  .hero-grid {
    gap: 34px;
    min-height: 620px;
  }
  .hero h1 {
    font-size: 50px;
  }
  .desktop-break {
    display: none;
  }
  .hero-cta {
    gap: 20px;
  }
  .pass-title {
    font-size: 28px;
  }
  .member-pass {
    padding: 25px;
  }
  .pass-mark {
    width: 45px;
    height: 45px;
  }
  .pass-bottom {
    margin-top: 10px;
  }
  .section-head {
    gap: 30px;
  }
  .faq {
    gap: 40px;
  }
  .foot-in {
    flex-wrap: wrap;
  }
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 90px;
  }
  .wrap {
    width: calc(100% - 40px);
  }
  .top-in {
    min-height: 76px;
    gap: 15px;
  }
  .brand b {
    font-size: 13px;
  }
  .brand small {
    font-size: 8px;
  }
  .brand img {
    width: 31px;
    height: 31px;
  }
  .desktop-nav,
  .member-link {
    display: none;
  }
  .mobile-menu {
    display: block;
    position: relative;
  }
  .mobile-menu > summary {
    font-size: 14px;
    color: var(--brass-bright);
    padding: 8px 13px;
    border: 1px solid var(--line);
    border-radius: 7px;
  }
  .mobile-menu > summary::after {
    content: " +";
    margin-left: 8px;
  }
  .mobile-menu[open] > summary::after {
    content: " −";
  }
  .mobile-menu nav {
    position: absolute;
    right: 0;
    top: 51px;
    min-width: 220px;
    background: var(--surface-raised);
    border: 1px solid var(--line);
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 16px 24px -12px #030915;
  }
  .mobile-menu nav a {
    display: block;
    font-size: 14px;
    padding: 12px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 48px 38px;
  }
  .hero h1 {
    font-size: clamp(36px, 8.6vw, 58px);
    line-height: 1.3;
  }
  .lede {
    font-size: 15px;
    margin-top: 22px;
  }
  .hero-cta {
    gap: 20px;
    margin-top: 26px;
  }
  .btn {
    font-size: 14px;
    padding: 13px 18px;
    gap: 14px;
  }
  .text-link {
    font-size: 13px;
  }
  .hero-note {
    margin-top: 16px;
  }
  .pass-stage {
    width: min(440px, 92%);
    margin-inline: auto;
    padding-top: 28px;
  }
  .member-pass {
    padding: 25px;
    aspect-ratio: 1.58;
  }
  .pass-title {
    font-size: 29px;
    margin-top: 18px;
  }
  .pass-bottom {
    margin-top: 18px;
  }
  .pass-mark {
    width: 45px;
    height: 45px;
  }
  .pass-outline {
    inset: 5px 0 82px 22px;
  }
  .pass-caption {
    margin-top: 38px;
  }
  .manifesto {
    padding: 20px 0;
  }
  .manifesto .wrap {
    gap: 14px;
    font-size: 9px;
    letter-spacing: 0.06em;
  }
  .vault {
    padding-block: 60px;
  }
  .section-head {
    display: block;
    margin-bottom: 28px;
  }
  h2 {
    font-size: 32px;
  }
  .section-head > p {
    margin-top: 20px;
    font-size: 14px;
  }
  .how {
    padding-block: 56px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 32px;
  }
  .step {
    display: grid;
    grid-template-columns: 40px 1fr;
    column-gap: 16px;
  }
  .step-number {
    grid-row: span 2;
    padding: 9px 0 0;
    border: 0;
    margin: 0;
  }
  .step h3 {
    font-size: 20px;
  }
  .step p {
    margin-top: 7px;
  }
  .faq {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 56px;
  }
  .faq h2 {
    font-size: 28px;
  }
  .faq-list summary {
    font-size: 15px;
  }
  .close {
    flex-direction: column;
    align-items: start;
    gap: 28px;
    padding: 30px 24px;
    margin-bottom: 56px;
  }
  .close h2 {
    font-size: 29px;
  }
  .close-action {
    align-items: start;
    gap: 14px;
  }
  .foot-in {
    gap: 28px;
  }
  .foot-in nav {
    gap: 20px;
    flex-wrap: wrap;
    order: 3;
    width: 100%;
    font-size: 12px;
  }
  .foot-values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    font-size: 9px;
  }
  .back-top {
    margin-left: auto;
  }
  .copy {
    font-size: 10px;
  }
  .pass-logo {
    width: 42px;
    height: 42px;
  }
}
@media (max-width: 370px) {
  .hero-cta {
    align-items: start;
    flex-direction: column;
    gap: 18px;
  }
  .member-pass {
    padding: 20px;
  }
  .pass-title {
    font-size: 25px;
    margin-top: 14px;
  }
  .pass-top > span:first-child {
    font-size: 11px;
  }
  .pass-bottom {
    margin-top: 10px;
  }
  .pass-mark {
    width: 36px;
    height: 36px;
  }
  .manifesto .wrap {
    font-size: 8px;
    gap: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 760px) {
  .member-pass {
    min-height: 260px;
    aspect-ratio: auto;
  }
}
@media (max-width: 370px) {
  .member-pass {
    min-height: 230px;
  }
}

/* Compact tier overview: one readable row, with details on demand. */
.ladder {
  border-top: 1px solid var(--line);
}
.tier-detail {
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 112px;
}
.tier-summary {
  display: grid;
  grid-template-columns: 150px 160px 1fr 86px;
  gap: 24px;
  align-items: center;
  padding: 26px 18px;
  border-radius: 8px;
}
.tier-summary:hover {
  background: var(--surface);
}
.tier-summary h3 {
  font: 600 24px/1.4 var(--serif);
  letter-spacing: -0.02em;
  color: var(--metal);
}
.tier-equity {
  font: 600 20px/1.5 var(--serif);
  font-variant-numeric: tabular-nums;
}
.tier-equity small {
  display: block;
  font: 400 11px/1.7 var(--thai);
  color: var(--muted);
}
.tier-preview {
  font-size: 14px;
  color: var(--muted);
}
.tier-expand {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: end;
  color: var(--brass-bright);
  font-size: 12px;
}
.tier-expand svg {
  width: 20px;
  height: 20px;
  flex: none;
}
.tier-detail[open] {
  background: var(--surface);
}
.tier-detail[open] .tier-expand svg {
  transform: rotate(180deg);
}
.tier-detail[open] .expand-label {
  font-size: 0;
}
.tier-detail[open] .expand-label::after {
  content: "ปิด";
  font-size: 12px;
}
.tier-body {
  padding: 0 28px 28px;
}
.loot {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 40px;
  list-style: none;
  margin: 0;
  padding: 26px 0 0;
  border-top: 1px solid var(--line);
}
.loot li {
  display: flex;
  align-items: start;
  gap: 16px;
}
.loot .ic {
  width: 30px;
  flex: none;
  color: var(--brass);
  padding-top: 3px;
}
.loot .ic svg {
  width: 26px;
  height: 26px;
}
.loot .n {
  display: block;
  font-size: 18px;
  font-weight: 500;
}
.loot .d {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  margin-top: 5px;
}
.tier-inherited {
  color: var(--brass-bright);
  font-size: 13px;
  margin-top: 26px;
}
@media (max-width: 1050px) {
  .tier-summary {
    grid-template-columns: 130px 140px 1fr 24px;
    gap: 20px;
  }
  .expand-label {
    display: none;
  }
}
@media (max-width: 760px) {
  .tier-summary {
    grid-template-columns: 1fr auto 20px;
    gap: 8px 14px;
    padding: 22px 12px;
  }
  .tier-summary h3 {
    font-size: 23px;
  }
  .tier-equity {
    font-size: 19px;
    text-align: right;
  }
  .tier-equity small {
    font-size: 10px;
  }
  .tier-expand {
    grid-column: 3;
    grid-row: 1 / span 2;
  }
  .tier-preview {
    grid-column: 1 / span 2;
    font-size: 12px;
    line-height: 1.7;
  }
  .tier-body {
    padding: 0 18px 24px;
  }
  .loot {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 22px;
  }
  .loot .n {
    font-size: 17px;
  }
  .loot .d {
    font-size: 14px;
  }
  .tier-inherited {
    font-size: 12px;
  }
}
