:root {
  color-scheme: light;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --ink: #172026;
  --muted: #63707a;
  --line: #dbe3e8;
  --paper: #fbfcfd;
  --soft: #eef5f3;
  --brand: #106a70;
  --brand-strong: #0b4d55;
  --accent: #ffb340;
  --accent-dark: #b36600;
  --sky: #edf7ff;
  --mint: #edf8f2;
  --lemon: #fff8df;
  --white: #ffffff;
  --shadow: 0 16px 44px rgba(15, 43, 54, 0.1);
}

html[lang="th"] {
  --font-body: "Noto Sans Thai", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(237, 248, 242, 0.92), rgba(251, 252, 253, 0) 420px),
    linear-gradient(180deg, rgba(237, 247, 255, 0.72), rgba(251, 252, 253, 0) 520px),
    var(--paper);
  font-family: var(--font-body);
  line-height: 1.65;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

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

strong {
  color: var(--brand-strong);
  font-weight: 500;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  border-bottom: 1px solid rgba(219, 227, 232, 0.82);
  background: rgba(251, 252, 253, 0.92);
  backdrop-filter: blur(18px);
}

.site-header {
  min-height: 62px;
  padding: 0 max(16px, calc((100% - 1160px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 142px;
}

.brand img {
  width: 100%;
  height: auto;
}

.language-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 28px rgba(15, 43, 54, 0.06);
}

.language-nav a {
  min-height: 34px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.language-nav a:hover,
.language-nav a:focus-visible,
.language-nav .is-active {
  color: var(--white);
  background: var(--brand-strong);
  outline: none;
}

.language-nav .is-active {
  border: 0;
}

main {
  display: block;
}

.hero,
.vision,
.ecosystem,
footer {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100svh - 62px);
  padding: 54px 0 40px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
  align-items: center;
  gap: 44px;
}

.hero-copy {
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-dark);
  font-size: 0.79rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  line-height: 1.2;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(1.95rem, 3.9vw, 3.35rem);
  font-weight: 500;
}

h2 {
  font-size: clamp(1.42rem, 2.45vw, 2.12rem);
  font-weight: 500;
}

p {
  margin: 0;
}

.hero-copy p:not(.eyebrow) {
  max-width: 620px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-mark {
  display: grid;
  place-items: center;
  min-height: 270px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 248, 223, 0.84), rgba(255, 255, 255, 0) 42%),
    var(--white);
  box-shadow: var(--shadow);
}

.hero-mark img {
  width: min(100%, 330px);
  height: auto;
}

.vision {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 44px;
  margin-top: 34px;
  padding: 42px;
  border: 1px solid #d5e6df;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--mint), #ffffff 64%);
}

.section-copy {
  align-self: end;
}

.section-copy p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.18rem;
}

.section-copy p + p {
  margin-top: 16px;
}

.ecosystem {
  padding: 72px 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 30px;
  text-align: center;
}

.product-card {
  width: min(100%, 620px);
  min-height: 158px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(15, 43, 54, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.product-card:hover,
.product-card:focus-visible {
  border-color: #cfe6e8;
  box-shadow: 0 16px 34px rgba(15, 43, 54, 0.12);
  transform: translateY(-2px);
  outline: none;
}

.product-logo {
  display: grid;
  place-items: center;
  width: 118px;
  height: 96px;
  border: 1px solid #cfe6e8;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--sky), var(--white) 58%);
}

.product-logo img {
  width: 86px;
  max-height: 72px;
  object-fit: contain;
}

.product-info {
  display: grid;
  gap: 3px;
}

.product-info strong {
  color: var(--brand-strong);
  font-size: 1.34rem;
  line-height: 1.2;
  font-weight: 500;
}

.product-info span {
  color: var(--muted);
  font-size: 0.98rem;
}

.product-info .product-url {
  color: var(--brand-strong);
  font-size: 0.94rem;
  font-weight: 500;
}

.product-action {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  border-radius: 8px;
  background: var(--brand);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
}

footer {
  min-height: 64px;
  display: flex;
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
}

@media (max-width: 900px) {
  .hero,
  .vision {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .hero-mark {
    order: -1;
    width: min(100%, 430px);
    justify-self: center;
  }

  .vision {
    padding: 30px;
  }

  .section-copy {
    align-self: start;
  }
}

@media (max-width: 620px) {
  .site-header,
  .hero,
  .vision,
  .ecosystem,
  footer {
    width: min(100% - 24px, 1160px);
  }

  .site-header {
    width: 100%;
    padding-inline: 12px;
  }

  .brand {
    width: 122px;
  }

  .hero {
    padding: 36px 0 28px;
  }

  .hero-copy p:not(.eyebrow),
  .section-copy p {
    font-size: 1.04rem;
  }

  .hero-mark {
    min-height: 220px;
    padding: 24px;
  }

  .vision {
    padding: 24px;
  }

  .ecosystem {
    padding: 56px 0;
  }

  .product-card {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 16px;
    min-height: 136px;
    padding: 16px;
  }

  .product-logo {
    width: 88px;
    height: 76px;
  }

  .product-logo img {
    width: 66px;
    max-height: 58px;
  }

  .product-action {
    grid-column: 1 / -1;
    justify-self: start;
  }
}
