:root {
  --forest: #174936;
  --forest-2: #0d3326;
  --orange: #f39a2f;
  --gold: #f7c56d;
  --cream: #fff7e8;
  --paper: #fffdf8;
  --ink: #10221a;
  --muted: #62736b;
  --line: rgba(23, 73, 54, 0.16);
  --shadow: 0 22px 70px rgba(13, 51, 38, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans Thai", system-ui, sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

.page-header {
  padding: clamp(16px, 3vw, 36px) clamp(16px, 4vw, 56px) 0;
  background: var(--paper);
}

.page-header__image {
  display: block;
  width: min(100%, 1180px);
  max-height: min(74vh, 760px);
  margin: 0 auto;
  object-fit: contain;
  border-radius: 8px;
}

.hero {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 470px);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  padding: clamp(28px, 5vw, 72px) clamp(22px, 4vw, 56px) clamp(48px, 7vw, 92px);
  position: relative;
  overflow: hidden;
}

.hero__content,
.signup {
  position: relative;
  z-index: 1;
}

.hero__main {
  margin-top: 0;
}

.hero__text {
  min-width: 0;
}

.hero__copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--orange);
  font-weight: 800;
  letter-spacing: 0;
}

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

h1 {
  margin-bottom: 22px;
  color: var(--forest);
  font-size: clamp(2.7rem, 5.4vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: 0;
  max-width: 900px;
}

.lead {
  max-width: 650px;
  color: #314840;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.75;
}

.credit-strip {
  width: min(100%, 650px);
  margin: 34px 0 18px;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(243, 154, 47, 0.34);
  background: linear-gradient(90deg, #fff2d7, #fffaf0);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(243, 154, 47, 0.14);
}

.credit-strip__label {
  color: #6c5a38;
  font-weight: 700;
}

.credit-strip strong {
  color: var(--forest);
  font-size: clamp(1.35rem, 3vw, 2rem);
  white-space: nowrap;
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero__points span {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--forest-2);
  font-weight: 700;
}

.signup {
  width: 100%;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.signup__header h2 {
  margin-bottom: 8px;
  color: var(--forest);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.1;
}

.signup__logo {
  display: block;
  width: 108px;
  height: auto;
  margin: -8px 0 18px;
}

.signup__header p:last-child {
  color: var(--muted);
  line-height: 1.6;
}

.form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--forest-2);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(243, 154, 47, 0.16);
}

.check {
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.5;
}

.check input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.submit {
  min-height: 50px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
}

.submit {
  margin-top: 4px;
  background: var(--forest);
  color: #fff7e8;
  box-shadow: 0 14px 28px rgba(23, 73, 54, 0.24);
}

.submit:hover {
  background: var(--forest-2);
}

.form__status {
  min-height: 24px;
  margin: 0;
  color: var(--forest);
  font-weight: 800;
}

.proof {
  padding: clamp(52px, 8vw, 96px) clamp(22px, 4vw, 56px);
  background: var(--forest);
  color: #fff7e8;
}

.proof > div:first-child {
  max-width: 900px;
}

.proof h2 {
  margin-bottom: 28px;
  font-size: clamp(2rem, 5vw, 4.8rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.proof__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 247, 232, 0.18);
  border: 1px solid rgba(255, 247, 232, 0.18);
}

.proof article {
  min-height: 230px;
  padding: clamp(20px, 3vw, 32px);
  background: var(--forest);
}

.proof article span {
  color: var(--gold);
  font-weight: 900;
}

.proof h3 {
  margin: 20px 0 10px;
  font-size: 1.45rem;
}

.proof p {
  margin-bottom: 0;
  color: rgba(255, 247, 232, 0.78);
  line-height: 1.7;
}

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

  .hero__main {
    margin-top: 0;
  }

  .signup {
    max-width: 680px;
  }

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

@media (max-width: 560px) {
  .hero {
    padding: 18px;
  }

  h1 {
    font-size: clamp(2.65rem, 15vw, 4rem);
  }

  .credit-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .credit-strip strong {
    white-space: normal;
  }

  .hero__points span {
    width: 100%;
  }
}
