:root {
  color-scheme: light;
  --navy: #101b25;
  --navy-soft: #203440;
  --ink: #182b34;
  --muted: #52616b;
  --paper: #f3f6f3;
  --white: #ffffff;
  --line: #d9e2dd;
  --lime: #c8ed80;
  --lime-dark: #9ac849;
  --orange: #e7a06a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Noto Sans Thai", sans-serif;
  line-height: 1.7;
}
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
p { max-width: 64ch; }
.wrap { width: min(100% - 48px, 1200px); margin-inline: auto; }
.skip {
  position: absolute;
  top: -80px;
  left: 12px;
  z-index: 20;
  padding: 8px 16px;
  background: var(--lime);
}
.skip:focus { top: 12px; }

.mast { background: var(--navy); color: var(--white); }
.topbar {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #ffffff27;
}
.wordmark {
  font-size: 1.15rem;
  font-weight: 850;
  letter-spacing: .02em;
  white-space: nowrap;
  text-decoration: none;
}
.wordmark span { color: var(--lime); }
nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 36px); }
nav a { font-size: .96rem; text-decoration: none; }
nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.nav-cta { padding: 8px 17px; border: 1px solid #ffffff80; border-radius: 999px; }

.hero {
  display: grid;
  position: relative;
}
.hero-slides, .hero-content { grid-area: 1 / 1; }
.hero-slides { position: relative; min-width: 0; aspect-ratio: 3 / 2; background: var(--navy); }
.hero-slides::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, #101b25ef 0%, #101b25d9 26%, #101b2591 46%, transparent 76%);
  pointer-events: none;
}
.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .55s ease, visibility .55s ease;
}
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-slide img { width: 100%; height: 100%; object-fit: contain; }
.hero-content { position: relative; z-index: 2; align-self: center; padding-block: 72px; pointer-events: none; }
.hero-content a { pointer-events: auto; }
.hero-copy { max-width: 570px; }
.hero-controls {
  position: absolute;
  z-index: 3;
  right: max(24px, calc((100vw - 1200px) / 2));
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid #ffffff54;
  border-radius: 999px;
  background: #101b25db;
  color: var(--white);
}
.hero-controls[hidden] { display: none; }
.hero-controls button { min-width: 40px; min-height: 40px; border: 0; border-radius: 999px; color: inherit; background: transparent; cursor: pointer; }
.hero-controls button:hover { background: #ffffff26; }
.hero-controls button:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
.slide-arrow { font-size: 1.8rem; line-height: 1; }
.slide-count { min-width: 62px; text-align: center; font-size: .9rem; font-variant-numeric: tabular-nums; font-weight: 750; }
.hero-controls .slide-toggle { padding-inline: 12px; font-size: .88rem; font-weight: 700; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.eyebrow, .kicker {
  display: inline-block;
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.eyebrow { color: var(--lime); }
.kicker { color: #567a36; }
h1 {
  margin: 24px 0 25px;
  font-size: clamp(3.2rem, 5vw, 5.5rem);
  font-weight: 850;
  line-height: 1.13;
  letter-spacing: -.055em;
}
h1 em { font-style: normal; color: var(--lime); white-space: nowrap; }
.hero-lead { color: #d3dfdd; font-size: clamp(1.05rem, 1.45vw, 1.2rem); max-width: 41ch; }
.hero-actions { display: flex; align-items: center; gap: 23px; flex-wrap: wrap; margin-top: 33px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 13px 23px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s, background .2s;
}
.button:hover { transform: translateY(-2px); background: #ddf6ac; }
.text-link { font-weight: 700; text-underline-offset: 5px; }
section { padding-block: 100px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 35px; }
.section-head h2, .method-head h2 {
  margin: 10px 0 0;
  font-size: clamp(2.2rem, 4vw, 3.9rem);
  line-height: 1.23;
  letter-spacing: -.05em;
}
.section-head p { max-width: 34ch; margin-bottom: 5px; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card {
  display: flex;
  flex-direction: column;
  min-height: 395px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
}
.card:nth-child(2) { background: #e8f1d6; }
.card:nth-child(3) { background: #f5e8da; }
.card-num { color: #4d625b; font-size: .9rem; font-weight: 850; letter-spacing: .05em; }
.card h3 { margin: 28px 0 10px; font-size: 1.7rem; line-height: 1.3; letter-spacing: -.025em; }
.card p { margin-bottom: 23px; color: var(--muted); }
.card ul { margin: auto 0 0; padding: 18px 0 0 20px; border-top: 1px solid #8ea0985c; }
.card li { padding-block: 3px; font-size: .96rem; }

.method { background: #e7eeea; }
.method-head { display: flex; justify-content: space-between; align-items: end; gap: 45px; margin-bottom: 40px; }
.method-head p { max-width: 35ch; margin-bottom: 4px; color: var(--muted); }
.method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.method-visual { margin: 0; }
.method-visual img { width: 100%; height: 470px; object-fit: cover; border-radius: 22px; }
.method-visual figcaption { margin-top: 12px; color: var(--muted); font-size: .88rem; }
.steps { border-top: 1px solid #a8b9b0; }
.step { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 25px 0; border-bottom: 1px solid #a8b9b0; }
.step span { color: #506c59; font-size: .9rem; font-weight: 850; }
.step h3 { margin: 0 0 4px; font-size: 1.28rem; }
.step p { margin: 0; color: var(--muted); }

.invite { background: var(--navy); color: var(--white); }
.invite-box { display: flex; align-items: end; justify-content: space-between; gap: 45px; }
.invite h2 { max-width: 16ch; margin: 12px 0 20px; font-size: clamp(2.5rem, 5vw, 5rem); line-height: 1.16; letter-spacing: -.05em; }
.invite p { color: #d3dfdd; }
.invite .button { flex-shrink: 0; }
.footer { padding: 32px 0; background: #0b141c; color: #d4dfdc; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .95rem; }
.footer a { text-underline-offset: 4px; }

@media (max-width: 850px) {
  .hero { grid-template-areas: "copy" "slides" "controls"; }
  .hero-content { grid-area: copy; }
  .hero-slides { grid-area: slides; }
  .hero-controls { grid-area: controls; position: static; justify-self: center; margin: 14px 0 20px; }
  .hero-content { align-self: stretch; padding-block: 70px; }
  .hero-copy { max-width: 680px; }
  .hero-slides::after { display: none; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .method-head { display: block; }
  .method-head p { margin: 18px 0 0; }
  .method-grid { grid-template-columns: 1fr; gap: 35px; }
  .method-visual img { height: min(65vw, 500px); min-height: 300px; }
  .invite-box { flex-direction: column; align-items: start; }
  .section-head { display: block; }
  .section-head p { margin: 18px 0 0; }
}
@media (max-width: 560px) {
  .wrap { width: min(100% - 32px, 1200px); }
  .topbar { min-height: 70px; }
  .wordmark { font-size: 1rem; }
  nav { gap: 12px; }
  nav a:not(.nav-cta) { display: none; }
  .nav-cta { padding: 7px 12px; font-size: .87rem; }
  .hero-content { padding-block: 65px; }
  h1 { font-size: clamp(3rem, 13vw, 4rem); }
  h1 em { white-space: normal; }
  section { padding-block: 72px; }
  .card { padding: 27px; }
  .card h3 { margin-top: 20px; }
  .step { grid-template-columns: 42px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
  .button:hover { transform: none; }
  .hero-slide { transition: none; }
}
