:root {
  --bg: #f6f7f8;
  --surface: #ffffff;
  --text: #101316;
  --muted: #5b646e;
  --accent: #c81e1e;
  --accent-dark: #a51313;
  --line: #e1e5e9;
  --shadow: 0 14px 35px rgba(16, 19, 22, 0.08);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Anuphan", sans-serif;
  font-size: 18px;
  color: var(--text);
  background: var(--bg);
  scroll-behavior: smooth;
}

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

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}

.brand img {
  height: 42px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 500;
}

.nav a {
  color: #2a3138;
}

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 10px 14px;
  border-radius: 999px;
}

.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 8px 12px;
  font: inherit;
}

.section {
  padding: 76px 0;
}

.hero {
  position: relative;
  background:
    radial-gradient(circle at 20% 10%, rgba(200, 30, 30, 0.2), transparent 38%),
    linear-gradient(140deg, #0f1114 0%, #22272d 60%, #0f1114 100%);
  color: #fff;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), transparent 80%);
}

.hero-content {
  position: relative;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 700;
  color: #ff9e9e;
}

h1,
h2,
h3,
h4 {
  margin: 0;
}

h1 {
  margin-top: 14px;
  max-width: 760px;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.18;
}

.lead {
  margin-top: 16px;
  max-width: 760px;
  color: #d2d8df;
  font-size: 1.18rem;
  line-height: 1.75;
}

.important-box {
  margin-top: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 12px;
  padding: 18px;
}

.important-box h2 {
  font-size: 1.1rem;
}

.important-box ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: #ebf0f5;
  line-height: 1.7;
}

.founder-quote,
.inline-quote {
  margin: 18px 0 0;
  border-left: 4px solid var(--accent);
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-weight: 700;
  padding: 12px 16px;
  transition: transform 0.2s ease, background-color 0.2s ease;
  border: 0;
  cursor: pointer;
  font: inherit;
}

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

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-note {
  margin-top: 14px;
  color: #d2d8df;
}

.section-alt {
  background: #eef1f4;
}

.section-head {
  max-width: 860px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.65rem);
}

.section-head p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.75;
}

.grid-2 {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.card p,
.card li,
.value-list p,
.steps p,
.faq-grid p,
.contact-list li {
  color: #2b343d;
  font-size: 1.03rem;
  line-height: 1.75;
}

.card ul,
.contact-list {
  margin: 10px 0 0;
  padding-left: 18px;
}

.privacy {
  margin-top: 14px;
  background: #fff7f7;
  border: 1px solid #f4c1c1;
  border-radius: 10px;
  padding: 12px;
}

.en-line {
  color: #5b646e;
  margin-top: 12px;
}

.value-list {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}

.value-list article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
}

.pillars {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.pillars div {
  background: #f9fbfd;
  border: 1px solid #dde4ec;
  border-radius: 10px;
  padding: 12px;
}

.pillars h4 {
  font-size: 1rem;
}

.pillars p {
  margin: 6px 0 0;
}

.value-list h3 {
  font-size: 1.16rem;
}

.steps {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.steps article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
}

.steps span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-weight: 800;
  background: #13171b;
  color: #fff;
  margin-bottom: 12px;
}

.section-note {
  margin-top: 14px;
  color: var(--muted);
}

.faq-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.faq-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
}

.cta-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.contact-form {
  margin-top: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 1.02rem;
}

.contact-form input {
  border: 1px solid #cdd5de;
  border-radius: 10px;
  padding: 12px 14px;
  font: inherit;
}

.form-msg {
  margin: 0;
  color: #0f7a39;
  font-weight: 600;
}

.form-note {
  margin: 0;
  color: #4f5b67;
}

.hidden-field {
  display: none !important;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  padding-bottom: 76px;
}

.footer-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  color: #66707a;
}

.footer-title {
  margin: 0 0 8px;
  color: #11161b;
  font-weight: 700;
}

.footer-actions {
  display: grid;
  justify-items: end;
  gap: 12px;
  flex-shrink: 0;
}

.footer-logo {
  width: 180px;
  max-width: 48vw;
  height: auto;
}

.back-top {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid #ccd4dd;
  background: #fff;
  display: inline-grid;
  place-items: center;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.back-top:hover {
  transform: translateY(-1px);
  border-color: #b2bcc8;
  background: #f7f9fb;
}

.back-top:focus-visible {
  outline: 2px solid #9ab2d6;
  outline-offset: 2px;
}

.back-top svg {
  width: 20px;
  height: 20px;
  fill: #1f2730;
}

.mobile-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: none;
  grid-template-columns: 1fr 1fr;
  background: #101316;
  border-top: 1px solid #242b32;
}

.mobile-sticky-cta a {
  text-align: center;
  color: #fff;
  padding: 12px;
  font-weight: 700;
}

.mobile-sticky-cta a:first-child {
  background: var(--accent);
}

@media (max-width: 980px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-2,
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  html,
  body {
    font-size: 16px;
  }

  .menu-btn {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: 71px;
    left: 4vw;
    right: 4vw;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 14px;
    gap: 12px;
  }

  .nav.open {
    display: flex;
  }

  .section {
    padding: 62px 0;
  }

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

  .mobile-sticky-cta {
    display: grid;
  }

  .footer-actions {
    justify-items: start;
  }
}
