@font-face {
  font-family: "Noto Sans Thai";
  src: url("noto-sans-thai.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}

@font-face {
  font-family: "Noto Sans Thai";
  src: url("noto-sans-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --paper: #f8f9f4;
  --white: #fff;
  --ink: #132820;
  --muted: #4c5e56;
  --green: #17654e;
  --mint: #9af1ce;
  --line: #dce5dc;
  --radius: 1.25rem;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 "Noto Sans Thai", "Leelawadee UI", Tahoma, sans-serif; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #287b61; outline-offset: 4px; }
#main:focus { outline: none; }
.wrap { width: min(100% - 3rem, 73.5rem); margin-inline: auto; }
.arrow { font-family: system-ui, sans-serif; line-height: 1; }
.skip-link {
  position: absolute;
  top: .5rem;
  left: .5rem;
  z-index: 2;
  transform: translateY(-150%);
  background: var(--white);
  padding: .5rem 1rem;
  border-radius: .5rem;
}
.skip-link:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }
.header-row { min-height: 4.85rem; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; }
.wordmark { display: inline-flex; align-items: center; gap: .62rem; width: fit-content; font-size: 1.42rem; font-weight: 800; letter-spacing: -.055em; line-height: 1; }
.wordmark img { display: block; }
.header-row nav { display: flex; gap: clamp(1.3rem, 3.2vw, 3.25rem); font-size: .93rem; font-weight: 600; }
.header-row nav a { color: var(--muted); padding-block: .65rem; }
.header-row nav a:hover, .text-link:hover { color: var(--green); text-decoration: underline; text-underline-offset: .3rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  min-height: 3.15rem;
  padding: .56rem 1.17rem;
  border: 1px solid transparent;
  border-radius: .68rem;
  font-size: .95rem;
  font-weight: 750;
  white-space: nowrap;
}
.button-outline { border-color: #ccd9cd; min-height: 2.62rem; }
.button-outline:hover { background: #e9f2e8; }
.button-primary { background: var(--ink); color: var(--white); }
.button-primary:hover { background: #224235; }
.button-mint { background: var(--mint); color: var(--ink); }
.button-mint:hover { background: #bcf9df; }
.button-mint:focus-visible { outline-color: var(--mint); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr);
  gap: clamp(1.75rem, 4.25vw, 4.5rem);
  align-items: center;
  padding-block: clamp(3rem, 6vw, 6rem);
}
.eyebrow { display: flex; align-items: center; gap: .55rem; color: var(--green); font-size: .95rem; font-weight: 750; }
.eyebrow span, .availability span, .stock-note span { flex: none; width: .49rem; height: .49rem; border-radius: 50%; background: #298763; }
.eyebrow span { box-shadow: 0 0 0 .22rem #d9efe3; margin-inline: .22rem .12rem; }
.hero h1 { margin-block: 1rem 1.17rem; font-size: clamp(2.45rem, 4.25vw, 4rem); line-height: 1.22; font-weight: 800; letter-spacing: -.055em; }
.hero h1 span { display: block; }
.hero h1 span + span { color: var(--green); }
.hero-text { max-width: 28rem; color: var(--muted); font-size: clamp(1.03rem, 1.45vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.25rem; margin-top: 1.75rem; }
.text-link { display: inline-flex; align-items: center; gap: .43rem; min-height: 2.75rem; font-size: .92rem; font-weight: 700; }
.availability { display: flex; gap: .52rem; align-items: center; margin-top: 1.04rem; color: var(--muted); font-size: .86rem; }
.availability span { width: .36rem; height: .36rem; }

.showcase {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: clamp(1.15rem, 3.4vw, 3.1rem);
  border: 1px solid #d1e8d9;
  border-radius: 1.75rem;
  background:
    radial-gradient(circle, #50877338 1px, transparent 1.5px) 0 0 / 17px 17px,
    linear-gradient(140deg, #e5f3e6 10%, #cbece0 100%);
}
.stock-card { min-width: 0; width: 100%; padding: clamp(.75rem, 1.6vw, 1.28rem); border: 1px solid #fff; border-radius: var(--radius); background: var(--white); box-shadow: 0 1.15rem 2.5rem #1b513325; }
.stock-top, .stock-title { display: flex; align-items: center; }
.stock-top { justify-content: space-between; gap: .45rem; margin-bottom: .94rem; }
.stock-title { gap: .52rem; }
.stock-title img { width: clamp(1.8rem, 3.2vw, 2.6rem); height: auto; }
.stock-title h2 { font-size: clamp(.82rem, 1.4vw, 1.16rem); line-height: 1.35; white-space: nowrap; }
.stock-title p { font-size: clamp(.64rem, .89vw, .78rem); color: var(--muted); }
.demo-tag { flex: none; padding: .22rem .48rem; border-radius: .35rem; background: #edf4ed; color: #395e50; font-size: clamp(.63rem, .85vw, .75rem); font-weight: 700; }
.stock-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: clamp(.67rem, 1.1vw, .92rem); font-variant-numeric: tabular-nums; }
.stock-table th, .stock-table td { padding: .65rem .3rem; }
.stock-table thead th { background: #f0f4ef; color: #354c42; font-size: .86em; font-weight: 700; white-space: nowrap; }
.stock-table thead th:first-child { border-radius: .46rem 0 0 .46rem; text-align: left; padding-left: .55rem; }
.stock-table thead th:last-child { border-radius: 0 .46rem .46rem 0; }
.stock-table tbody th { display: flex; align-items: center; gap: .5rem; text-align: left; font-weight: 700; }
.stock-table tbody th, .stock-table td { border-bottom: 1px solid #edf0ec; }
.stock-table td { text-align: center; font-weight: 700; }
.stock-table small { display: block; color: var(--muted); font-size: .78em; line-height: 1.3; }
.channel-dot { display: inline-block; width: .55rem; height: .55rem; border-radius: 50%; background: #233230; }
.channel-dot.shopee { background: #ee5a37; }
.channel-dot.lazada { background: #7758d8; }
.channel-dot.tiktok { background: #172733; box-shadow: inset .12rem 0 #51cfcd; }
.stock-table .channel-dot { width: .38rem; height: .38rem; margin-right: .28rem; vertical-align: .09em; }
.swatch { flex: none; width: clamp(.55rem, 2.3vw, 1.75rem); aspect-ratio: 1; border-radius: .36rem; background: #f0ddc8; }
.swatch-mint { background: #d1eadb; }
.swatch-blue { background: #dce5f4; }
.quantity-zero { display: inline-grid; place-items: center; min-width: 1.55rem; border-radius: .3rem; background: #f9e9d1; color: #7b4b15; }
.stock-note { display: flex; align-items: center; gap: .42rem; padding-top: .78rem; color: var(--muted); font-size: clamp(.69rem, .95vw, .83rem); }
.stock-note span { width: .34rem; height: .34rem; }

.channels { background: #edf3ea; border-block: 1px solid #e3eadf; }
.channel-row { display: flex; align-items: center; justify-content: space-between; gap: .8rem 2rem; padding-block: 1.15rem; }
.channel-row h2 { font-size: .92rem; font-weight: 750; color: var(--muted); }
.channel-row ul { margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .55rem clamp(1.1rem, 5vw, 4.6rem); list-style: none; }
.channel-row li { display: flex; align-items: center; gap: .5rem; font-size: clamp(.88rem, 1.55vw, 1.18rem); font-weight: 800; letter-spacing: -.025em; }

.features { padding-block: clamp(2.75rem, 5.9vw, 5.25rem) clamp(2.25rem, 4.5vw, 4.25rem); }
.features h2, .start h2 { font-size: clamp(1.7rem, 3.2vw, 2.75rem); line-height: 1.32; font-weight: 800; letter-spacing: -.04em; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.4rem; }
.feature { padding: clamp(1.2rem, 2.3vw, 1.8rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.feature h3 { margin-top: .75rem; font-size: 1.16rem; font-weight: 800; }
.feature p { margin-top: .32rem; color: var(--muted); font-size: .96rem; }
.feature-icon { display: grid; place-items: center; width: 2.55rem; height: 2.55rem; border-radius: .68rem; background: #e2f2e9; color: var(--green); }
.icon-grid::before { content: ""; width: .38rem; height: .38rem; margin: -.47rem .47rem 0 0; border-radius: .07rem; background: currentColor; box-shadow: .47rem 0, 0 .47rem, .47rem .47rem; }
.icon-bars::before { content: ""; width: 1.05rem; height: .95rem; background: linear-gradient(currentColor, currentColor) left bottom/.23rem 45% no-repeat, linear-gradient(currentColor, currentColor) center bottom/.23rem 72% no-repeat, linear-gradient(currentColor, currentColor) right bottom/.23rem 100% no-repeat; }
.icon-refresh::before { content: "⟳"; font: 800 1.52rem/1 system-ui, sans-serif; }

.start { padding-bottom: clamp(2.4rem, 5.6vw, 5rem); }
.start-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.35rem 1.5rem; padding: clamp(1.35rem, 3.3vw, 2.85rem); border-radius: 1.45rem; color: var(--white); background: radial-gradient(ellipse at top right, #265945, transparent 70%), var(--ink); }
.start-card p { margin-top: .38rem; color: #d0e4da; }
.site-footer { border-top: 1px solid var(--line); }
.footer-row { display: flex; min-height: 4.8rem; justify-content: space-between; align-items: center; gap: .75rem; }
.footer-row .wordmark { font-size: 1.18rem; }

@media (max-width: 53rem) {
  .hero { grid-template-columns: 1fr; gap: 2rem; }
  .hero h1 { font-size: clamp(2.6rem, 7vw, 3.75rem); }
  .showcase { padding: clamp(1rem, 5vw, 2.25rem); }
  .stock-card { padding: 1.05rem; max-width: 32rem; }
  .stock-table th, .stock-table td { padding-block: .72rem; }
}
@media (max-width: 40rem) {
  .wrap { width: calc(100% - 2rem); }
  .header-row { min-height: 4.25rem; }
  .header-row nav { display: none; }
  .header-row .wordmark img { width: 36px; height: 36px; }
  .header-row .wordmark { font-size: 1.25rem; }
  .feature-grid { grid-template-columns: 1fr; gap: .75rem; }
  .channel-row { flex-wrap: wrap; }
}
@media (max-width: 24rem) {
  .showcase { padding: .65rem; }
  .stock-card { padding: .62rem; }
  .stock-title { gap: .32rem; }
  .stock-table .channel-dot { display: none; }
  .stock-table tbody th { gap: .28rem; }
  .hero h1 { font-size: clamp(2.05rem, 10.8vw, 2.55rem); }
}
