:root {
  --cmp-orange: #ff7a1a;
  --cmp-orange-dark: #df5b00;
  --cmp-yellow: #ffbf2f;
  --cmp-ink: #111827;
  --cmp-text: #374151;
  --cmp-muted: #6b7280;
  --cmp-line: #e5e7eb;
  --cmp-bg: #f8fafc;
  --cmp-soft: #fff7ed;
  --cmp-teal: #0f766e;
  --cmp-red: #b91c1c;
  --cmp-card: #ffffff;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-card: 0 18px 48px rgba(17, 24, 39, 0.08);
  --shadow-soft: 0 12px 32px rgba(255, 122, 26, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: Inter, Arial, "Noto Sans Thai", Tahoma, sans-serif;
  color: var(--cmp-text);
  background: #ffffff;
  line-height: 1.7;
  overflow-x: clip;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.page {
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff 0%, #ffffff 42%, var(--cmp-bg) 100%);
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(229, 231, 235, 0.82);
  backdrop-filter: blur(12px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--cmp-ink);
  font-weight: 900;
}

.brand-logo {
  display: block;
  width: 150px;
  height: auto;
}

.brand small {
  display: block;
  color: var(--cmp-muted);
  font-size: 12px;
  font-weight: 700;
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #4b5563;
  font-size: 14px;
}

.navlinks a:hover {
  color: var(--cmp-orange-dark);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 900;
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-align: center;
  white-space: normal;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(255, 122, 26, 0.22);
  outline-offset: 2px;
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--cmp-orange), var(--cmp-yellow));
  box-shadow: var(--shadow-soft);
}

.btn-secondary {
  color: var(--cmp-ink);
  background: #ffffff;
  border-color: var(--cmp-line);
}

.btn-dark {
  color: #ffffff;
  background: var(--cmp-ink);
}

.btn-wide {
  width: 100%;
  min-height: 52px;
  font-size: 15px;
}

.hero {
  padding: 56px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: start;
  gap: 40px;
}

.hero-grid > * {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  color: #9a3d00;
  background: var(--cmp-soft);
  font-size: 13px;
  font-weight: 900;
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

h1 {
  margin: 18px 0 18px;
  max-width: 100%;
  color: var(--cmp-ink);
  font-size: 52px;
  line-height: 1.1;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 700px;
  color: #4b5563;
  font-size: 18px;
  line-height: 1.82;
  margin-bottom: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 26px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}

.trust-item {
  min-height: 100%;
  padding: 14px 15px;
  border: 1px solid var(--cmp-line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.78);
}

.trust-item strong {
  display: block;
  color: var(--cmp-ink);
  font-size: 17px;
  line-height: 1.35;
}

.trust-item span {
  display: block;
  margin-top: 4px;
  color: var(--cmp-muted);
  font-size: 13px;
  line-height: 1.45;
}

.hero-bullets {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-bullets li,
.check-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.tick {
  display: grid;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 8px;
  color: var(--cmp-orange-dark);
  background: var(--cmp-soft);
  font-weight: 900;
  line-height: 1;
}

.lead-panel {
  position: sticky;
  top: 96px;
  min-width: 0;
}

.form-card {
  max-width: 100%;
  padding: 26px;
  border: 1px solid #fed7aa;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #ffffff 0%, #fff7ed 100%);
  box-shadow: var(--shadow-card);
}

.form-card h2 {
  margin-bottom: 8px;
  color: var(--cmp-ink);
  font-size: 28px;
  line-height: 1.18;
}

.form-card p {
  margin-bottom: 20px;
  color: #4b5563;
  font-size: 14px;
}

.form-grid {
  display: grid;
  gap: 13px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  color: var(--cmp-ink);
  font-size: 13px;
  font-weight: 900;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: var(--radius-sm);
  padding: 12px 13px;
  color: var(--cmp-ink);
  background: #ffffff;
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.field textarea {
  min-height: 112px;
  resize: vertical;
}

.field small {
  color: var(--cmp-muted);
  font-size: 12px;
  line-height: 1.45;
}

.form-benefits {
  display: grid;
  gap: 8px;
  margin: -4px 0 18px;
  padding: 14px;
  border: 1px solid #fed7aa;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.72);
  color: #7c2d12;
  font-size: 13px;
  line-height: 1.5;
}

.form-benefits div {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.consent {
  color: var(--cmp-muted);
  font-size: 12px;
  line-height: 1.55;
}

.form-status {
  display: none;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  color: #065f46;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}

.form-status.is-error {
  color: #7f1d1d;
  background: #fff1f2;
  border: 1px solid #fecdd3;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.micro-note {
  margin-top: 14px;
  color: var(--cmp-muted);
  font-size: 12px;
}

.section {
  padding: 64px 0;
}

.section-soft {
  background: var(--cmp-bg);
}

.section-title {
  max-width: 790px;
  margin-bottom: 30px;
}

.section-title.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--cmp-orange-dark);
  font-size: 13px;
  font-weight: 900;
}

.section-title h2 {
  color: var(--cmp-ink);
  font-size: 38px;
  line-height: 1.16;
  letter-spacing: 0;
}

.section-title p {
  color: var(--cmp-muted);
  font-size: 17px;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 18px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  min-height: 100%;
  padding: 22px;
  border: 1px solid var(--cmp-line);
  border-radius: var(--radius-sm);
  background: var(--cmp-card);
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.04);
}

.card h3 {
  margin-bottom: 10px;
  color: var(--cmp-ink);
  font-size: 20px;
  line-height: 1.28;
}

.card p {
  margin-bottom: 0;
  color: #4b5563;
}

.number {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  place-items: center;
  border-radius: 10px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--cmp-orange), var(--cmp-yellow));
  font-weight: 900;
}

.checklist {
  display: grid;
  gap: 12px;
}

.check-row {
  padding: 14px 16px;
  border: 1px solid var(--cmp-line);
  border-radius: var(--radius-sm);
  background: #ffffff;
}

.proof-split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 30px;
}

.proof-image {
  overflow: hidden;
  border: 1px solid var(--cmp-line);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.proof-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.caption {
  padding: 10px 14px;
  border-top: 1px solid var(--cmp-line);
  color: var(--cmp-muted);
  font-size: 12px;
}

.fit-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--cmp-line);
  border-radius: var(--radius-lg);
  background: #ffffff;
}

.fit-col {
  padding: 28px;
}

.fit-col:first-child {
  border-right: 1px solid var(--cmp-line);
}

.fit-col h3 {
  color: var(--cmp-ink);
  font-size: 24px;
}

.fit-col ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.fit-col.is-not {
  background: #fff7ed;
}

.process {
  counter-reset: process;
}

.process .card {
  position: relative;
}

.faq {
  display: grid;
  gap: 12px;
  max-width: 920px;
  margin: 0 auto;
}

.faq details {
  padding: 18px 20px;
  border: 1px solid var(--cmp-line);
  border-radius: var(--radius-sm);
  background: #ffffff;
}

.faq summary {
  color: var(--cmp-ink);
  cursor: pointer;
  font-weight: 900;
}

.faq p {
  margin: 12px 0 0;
  color: #4b5563;
}

.bottom-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 36px;
  border-radius: var(--radius-lg);
  color: #ffffff;
  background: linear-gradient(135deg, #111827, #27272a);
}

.bottom-cta h2 {
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 32px;
  line-height: 1.18;
}

.bottom-cta p {
  margin-bottom: 0;
  color: #d1d5db;
}

.footer {
  padding: 34px 0;
  color: var(--cmp-muted);
  font-size: 13px;
  text-align: center;
}

.footer a {
  color: var(--cmp-orange-dark);
  font-weight: 800;
}

.gateway {
  padding: 64px 0;
}

.gateway-list {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin-top: 24px;
}

.gateway-list a {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid var(--cmp-line);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--cmp-ink);
  font-weight: 900;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.gateway-list a:hover {
  border-color: #fed7aa;
  box-shadow: var(--shadow-soft);
}

@media (max-width: 980px) {
  .navlinks {
    display: none;
  }

  .nav {
    gap: 12px;
  }

  .nav-actions {
    flex: 0 0 auto;
  }

  .hero-grid,
  .proof-split,
  .fit-panel,
  .bottom-cta {
    grid-template-columns: 1fr;
  }

  .lead-panel {
    position: static;
  }

  .trust-row,
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .fit-col:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--cmp-line);
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 24px, 1160px);
  }

  .nav {
    min-height: 66px;
  }

  .brand small,
  .nav-actions {
    display: none;
  }

  .brand-logo {
    width: 112px;
  }

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

  h1 {
    font-size: 34px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .section {
    padding: 46px 0;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .form-card,
  .fit-col,
  .bottom-cta {
    padding: 22px;
  }

  .bottom-cta h2 {
    font-size: 25px;
  }

  .hero-actions .btn,
  .btn-wide,
  .bottom-cta .btn {
    width: 100%;
  }

  .hero-actions {
    display: grid;
  }

  .gateway-list a {
    display: grid;
  }
}
