:root {
  --ink: #172026;
  --muted: #64737c;
  --paper: #fbf8f3;
  --white: #ffffff;
  --teal: #008f8a;
  --teal-dark: #05605d;
  --coral: #ff6b57;
  --gold: #f4b63f;
  --line: rgba(23, 32, 38, 0.14);
  --shadow: 0 20px 60px rgba(18, 33, 39, 0.16);
  font-family: "Inter", "Noto Sans Thai", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(251, 248, 243, 0.92);
  box-shadow: 0 12px 30px rgba(23, 32, 38, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0;
}

.brand-logo {
  display: block;
  width: clamp(122px, 13vw, 168px);
  height: auto;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  font-size: 14px;
  font-weight: 700;
}

.language-toggle {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.site-header.is-scrolled .language-toggle {
  border-color: rgba(23, 32, 38, 0.14);
  background: rgba(23, 32, 38, 0.06);
}

.language-toggle button {
  min-width: 42px;
  min-height: 34px;
  border: 0;
  border-radius: 6px;
  color: inherit;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
}

.language-toggle button[aria-pressed="true"] {
  color: var(--ink);
  background: var(--white);
}

.site-header.is-scrolled .language-toggle button[aria-pressed="true"] {
  color: var(--white);
  background: var(--teal);
}

.header-cta,
.primary-button,
.secondary-button,
.join-form button,
.notice-band a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 800;
}

.header-cta {
  padding: 0 16px;
  color: var(--ink);
  background: var(--white);
}

.site-header.is-scrolled .header-cta,
.primary-button,
.join-form button {
  color: var(--white);
  background: var(--teal);
}

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 120px clamp(18px, 5vw, 72px) 64px;
  color: var(--white);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 18, 23, 0.88) 0%, rgba(5, 18, 23, 0.68) 36%, rgba(5, 18, 23, 0.16) 76%),
    linear-gradient(0deg, rgba(5, 18, 23, 0.56), rgba(5, 18, 23, 0.08));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(46px, 7vw, 92px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.hero-copy {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.primary-button,
.secondary-button {
  padding: 0 22px;
}

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.52);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.secondary-button.dark {
  border-color: rgba(23, 32, 38, 0.18);
  color: var(--ink);
  background: var(--white);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.hero-proof span {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 700;
}

.notice-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px clamp(18px, 5vw, 72px);
  background: var(--ink);
  color: var(--white);
}

.notice-band div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.notice-band span {
  color: rgba(255, 255, 255, 0.72);
}

.notice-band a {
  min-width: max-content;
  padding: 0 16px;
  color: var(--ink);
  background: var(--gold);
}

.section {
  padding: clamp(64px, 9vw, 116px) clamp(18px, 5vw, 72px);
}

.intro-grid,
.split-section,
.toolkit-section,
.join-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(32px, 7vw, 96px);
  align-items: start;
}

.section-lead p,
.split-section > div > p,
.toolkit-copy p,
.join-section > div > p {
  max-width: 590px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.benefit-card {
  min-height: 270px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(23, 32, 38, 0.07);
}

.benefit-card p,
.timeline p,
.faq-list p {
  color: var(--muted);
  line-height: 1.6;
}

.icon-dot,
.timeline span {
  display: inline-grid;
  width: 36px;
  height: 36px;
  margin-bottom: 28px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--teal);
  font-size: 14px;
  font-weight: 800;
}

.split-section {
  background: var(--white);
}

.timeline {
  border-left: 2px solid rgba(0, 143, 138, 0.24);
}

.timeline article {
  position: relative;
  padding: 0 0 34px 34px;
}

.timeline article:last-child {
  padding-bottom: 0;
}

.timeline span {
  position: absolute;
  top: 0;
  left: -19px;
  margin: 0;
  background: var(--coral);
}

.toolkit-section {
  align-items: center;
}

.checklist,
.join-form {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.checklist label {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  border-bottom: 1px solid rgba(23, 32, 38, 0.1);
  font-weight: 700;
}

.checklist input {
  width: 20px;
  height: 20px;
  accent-color: var(--teal);
}

.progress-wrap {
  margin-top: 22px;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14px;
}

.progress-track {
  height: 12px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(0, 143, 138, 0.14);
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  transition: width 180ms ease;
}

.quote-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  background: var(--teal-dark);
  color: var(--white);
}

blockquote {
  max-width: 900px;
  margin: 0;
  font-size: clamp(26px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.12;
}

.faq-section {
  background: var(--white);
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

summary {
  min-height: 64px;
  padding: 20px 22px;
  cursor: pointer;
  font-weight: 800;
}

details p {
  margin: 0;
  padding: 0 22px 22px;
}

.join-section {
  color: var(--white);
  background: var(--ink);
}

.join-section .eyebrow,
.join-section p {
  color: rgba(255, 255, 255, 0.72);
}

.join-form {
  color: var(--ink);
}

.join-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 800;
}

.join-form input,
.join-form select {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid rgba(23, 32, 38, 0.18);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.join-form button {
  width: 100%;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.form-note {
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(23, 32, 38, 0.12);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(23, 32, 38, 0.04);
  font-size: 13px;
  line-height: 1.5;
}

.form-note[data-status="sending"] {
  border-color: rgba(244, 182, 63, 0.4);
  color: #6d5417;
  background: rgba(244, 182, 63, 0.14);
}

.form-note[data-status="success"] {
  border-color: rgba(0, 143, 138, 0.32);
  color: var(--teal-dark);
  background: rgba(0, 143, 138, 0.12);
  font-weight: 800;
}

.form-note[data-status="error"] {
  border-color: rgba(255, 107, 87, 0.42);
  color: #9b2d20;
  background: rgba(255, 107, 87, 0.12);
  font-weight: 800;
}

footer {
  display: flex;
  justify-content: space-between;
  padding: 26px clamp(18px, 5vw, 72px);
  color: var(--muted);
  background: var(--white);
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .language-toggle {
    justify-self: end;
  }

  .header-cta {
    display: none;
  }

  .intro-grid,
  .split-section,
  .toolkit-section,
  .join-section {
    grid-template-columns: 1fr;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .benefit-card {
    min-height: auto;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 12px 16px;
    gap: 10px;
  }

  .brand {
    min-height: 40px;
  }

  .brand-logo {
    width: 108px;
  }

  .header-cta {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }

  .language-toggle button {
    min-width: 38px;
    min-height: 32px;
  }

  .hero {
    min-height: 88vh;
    padding: 96px 18px 42px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(5, 18, 23, 0.9), rgba(5, 18, 23, 0.55)),
      linear-gradient(0deg, rgba(5, 18, 23, 0.56), rgba(5, 18, 23, 0.18));
  }

  .hero-actions,
  .notice-band,
  .quote-section,
  footer {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-button,
  .secondary-button,
  .notice-band a {
    width: 100%;
  }

  .section {
    padding: 58px 18px;
  }

  .checklist,
  .join-form {
    padding: 18px;
  }
}
