@font-face {
  font-family: "Prapa Sans";
  src: url("/assets/fonts/NotoSansThai_400Regular.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Prapa Sans";
  src: url("/assets/fonts/NotoSansThai_500Medium.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "Prapa Sans";
  src: url("/assets/fonts/NotoSansThai_600SemiBold.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}

@font-face {
  font-family: "Prapa Sans";
  src: url("/assets/fonts/NotoSansThai_700Bold.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

:root {
  --ink: #0b2236;
  --muted: #526778;
  --faint: #778998;
  --line: #dce6eb;
  --paper: #ffffff;
  --wash: #f4f8f8;
  --blue: #0b62a3;
  --blue-dark: #073d67;
  --cyan: #009bad;
  --green: #2e7c5b;
  --green-soft: #e9f4ee;
  --yellow: #d9a535;
  --coral: #d76250;
  --shadow: 0 22px 54px rgba(18, 48, 68, 0.13);
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: "Prapa Sans", "Noto Sans Thai", "Leelawadee UI", Tahoma, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

button,
input,
textarea,
select {
  font: inherit;
  letter-spacing: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

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

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

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: 0;
}

.site-container {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: #fff;
  background: var(--blue-dark);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-height);
  border-bottom: 1px solid rgba(11, 34, 54, 0.09);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(18px);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 22px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 178px;
  color: var(--ink);
  text-decoration: none;
}

.site-brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.site-brand span {
  display: grid;
  line-height: 1.2;
}

.site-brand strong {
  font-size: 21px;
  font-weight: 700;
}

.site-brand small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav > a:not(.button) {
  position: relative;
  color: #334d67;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

.site-nav > a:not(.button):hover,
.site-nav > a.current {
  color: var(--blue);
}

.site-nav .nav-login {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 23px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-button[aria-expanded="true"] span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.menu-button[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-button[aria-expanded="true"] span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

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

.button-primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 10px 24px rgba(11, 98, 163, 0.2);
}

.button-primary:hover {
  background: var(--blue-dark);
}

.button-secondary {
  color: var(--blue-dark);
  border-color: #a8c5da;
  background: rgba(255, 255, 255, 0.88);
}

.button-secondary:hover {
  border-color: var(--blue);
  background: #fff;
}

.button-light {
  color: var(--blue-dark);
  background: #fff;
}

.button-outline-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
  background: transparent;
}

.compact-button {
  min-height: 42px;
  padding: 8px 18px;
}

.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(630px, 82svh, 720px);
  padding-top: var(--header-height);
  overflow: hidden;
  background: #0a3453;
}

.hero-section::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 32, 54, 0.96) 0%, rgba(3, 42, 68, 0.88) 38%, rgba(6, 65, 95, 0.52) 60%, rgba(6, 65, 95, 0.09) 82%, rgba(6, 65, 95, 0.14) 100%);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-block: 88px 66px;
}

.hero-content::before {
  display: none;
}

.section-kicker {
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 600;
}

.hero-content .section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 18px;
  padding: 5px 11px;
  border: 1px solid rgba(141, 223, 237, 0.45);
  border-radius: 4px;
  color: #a9eff5;
  background: rgba(4, 44, 70, 0.35);
}

.hero-content h1 {
  max-width: 680px;
  margin-bottom: 20px;
  color: #fff;
  font-size: 56px;
  font-weight: 700;
  line-height: 1.14;
  text-wrap: balance;
}

.hero-lead {
  max-width: 580px;
  margin-bottom: 28px;
  color: rgba(242, 251, 252, 0.9);
  font-size: 19px;
  line-height: 1.7;
}

.hero-actions,
.final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-note {
  margin: 17px 0 0;
  color: rgba(224, 243, 246, 0.74);
  font-size: 16px;
}

.hero-actions .button-secondary {
  color: #fff;
  border-color: rgba(218, 243, 247, 0.62);
  background: rgba(8, 48, 73, 0.18);
}

.hero-actions .button-secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.hero-workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(620px, 100%);
  margin: 42px 0 0;
  border-top: 1px solid rgba(216, 244, 247, 0.34);
  border-bottom: 1px solid rgba(216, 244, 247, 0.24);
}

.hero-workflow div {
  min-width: 0;
  padding: 14px 13px 15px 0;
}

.hero-workflow div + div {
  padding-left: 13px;
  border-left: 1px solid rgba(216, 244, 247, 0.24);
}

.hero-workflow dt {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.hero-workflow dd {
  margin: 3px 0 0;
  color: rgba(224, 243, 246, 0.76);
  font-size: 15px;
  line-height: 1.45;
}

.proof-band {
  position: relative;
  z-index: 3;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

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

.proof-grid > div {
  display: grid;
  min-height: 104px;
  align-content: center;
  padding: 20px 28px;
  border-right: 1px solid var(--line);
}

.proof-grid > div:first-child {
  border-left: 1px solid var(--line);
}

.proof-grid strong {
  color: var(--blue-dark);
  font-size: 20px;
  font-weight: 600;
}

.proof-grid span {
  color: var(--muted);
  font-size: 16px;
}

.page-section {
  padding: 108px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-heading h2 {
  margin-bottom: 14px;
  font-size: 42px;
  line-height: 1.28;
}

.section-heading > p:last-child {
  color: var(--muted);
  font-size: 18px;
}

.workflow-section {
  background: var(--wash);
}

.workflow-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: workflow;
}

.workflow-list li {
  position: relative;
  min-height: 190px;
  padding: 58px 18px 0 0;
  border-top: 1px solid #cbd8df;
}

.workflow-list li > span {
  position: absolute;
  top: -19px;
  left: 0;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: var(--blue);
  font-size: 15px;
  font-weight: 600;
}

.workflow-list li:nth-child(2) > span {
  background: var(--cyan);
}

.workflow-list li:nth-child(3) > span {
  color: var(--ink);
  background: var(--yellow);
}

.workflow-list li:nth-child(4) > span {
  background: var(--green);
}

.workflow-list h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.workflow-list p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.product-section {
  overflow: hidden;
  background: #fff;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(520px, 1.4fr);
  align-items: center;
  gap: 82px;
}

.product-copy {
  margin: 0;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #344e61;
  font-weight: 500;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 12px;
  height: 7px;
  border-bottom: 2px solid var(--green);
  border-left: 2px solid var(--green);
  transform: rotate(-45deg);
}

.product-media {
  position: relative;
  min-height: 540px;
}

.product-media figure {
  margin: 0;
}

.desktop-shot {
  position: absolute;
  inset: 0 18px 54px 0;
  overflow: hidden;
  border: 1px solid #c8d6de;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(18, 48, 68, 0.17);
}

.desktop-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

.desktop-shot figcaption,
.mobile-shot figcaption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 6px 10px;
  color: #fff;
  border-radius: 4px;
  background: rgba(16, 37, 63, 0.86);
  font-size: 15px;
}

.mobile-shot {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  width: 190px;
  height: 390px;
  overflow: hidden;
  border: 7px solid #102b40;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 24px 58px rgba(11, 34, 54, 0.28);
}

.mobile-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.feature-section {
  border-top: 1px solid var(--line);
  background: #f7faf9;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.feature-grid article {
  min-height: 236px;
  padding: 32px;
  background: #fff;
}

.feature-index {
  display: block;
  margin-bottom: 36px;
  color: var(--cyan);
  font-size: 15px;
  font-weight: 600;
}

.feature-grid article:nth-child(3n + 2) .feature-index {
  color: var(--green);
}

.feature-grid article:nth-child(3n) .feature-index {
  color: var(--coral);
}

.feature-grid h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.feature-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.role-section {
  color: #fff;
  background: #0b2e44;
}

.role-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 20px 70px;
}

.role-heading {
  grid-row: span 2;
  margin: 0;
  align-self: center;
}

.role-heading .section-kicker {
  color: #72d6e2;
}

.role-heading h2 {
  color: #fff;
}

.role-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.role-tabs button {
  min-height: 44px;
  padding: 8px;
  color: #d5e2eb;
  border: 0;
  border-radius: 5px;
  background: transparent;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
}

.role-tabs button.active {
  color: var(--ink);
  background: #fff;
}

.role-panel {
  min-height: 250px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.role-panel h3 {
  margin-bottom: 12px;
  color: #fff;
  font-size: 25px;
}

.role-panel p {
  color: #c6d5df;
}

.role-panel ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px 24px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.role-panel li {
  position: relative;
  padding-left: 20px;
  color: #e8f0f4;
  font-size: 16px;
}

.role-panel li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 7px;
  height: 7px;
  background: #72d6e2;
}

.pricing-preview,
.pricing-page-section {
  background: #f2f7f7;
}

.pricing-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  max-width: none;
  gap: 24px;
}

.pricing-heading h2 {
  margin: 0;
}

.billing-toggle {
  display: inline-grid;
  grid-template-columns: 1fr 1.45fr;
  padding: 4px;
  border: 1px solid #bed0dd;
  border-radius: 8px;
  background: #fff;
}

.billing-toggle button {
  min-height: 42px;
  padding: 8px 14px;
  color: var(--muted);
  border: 0;
  border-radius: 5px;
  background: transparent;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
}

.billing-toggle button.active {
  color: #fff;
  background: var(--blue);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 510px;
  padding: 32px;
  border: 1px solid #cbd9e2;
  border-radius: 8px;
  background: #fff;
}

.price-card.popular {
  border: 2px solid var(--blue);
  background: #fbfdff;
  box-shadow: 0 18px 46px rgba(11, 98, 163, 0.13);
}

.popular-label {
  position: absolute;
  top: 0;
  right: 18px;
  padding: 6px 12px;
  color: #fff;
  background: var(--blue);
  font-size: 15px;
  font-weight: 600;
}

.price-card h3 {
  margin: 4px 0 8px;
  font-size: 26px;
}

.price-card .plan-description {
  min-height: 72px;
  color: var(--muted);
  font-size: 16px;
}

.price-value {
  display: flex;
  align-items: baseline;
  gap: 4px;
  min-height: 64px;
  margin: 18px 0 4px;
  color: var(--blue-dark);
}

.price-value strong {
  font-size: 44px;
  font-weight: 600;
  line-height: 1;
}

.price-value span {
  color: var(--muted);
  font-size: 16px;
}

.price-saving {
  min-height: 24px;
  color: var(--green);
  font-size: 15px;
  font-weight: 600;
}

.plan-guide {
  margin: 20px 0;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.plan-guide strong,
.plan-guide span {
  display: block;
}

.plan-guide strong {
  font-size: 16px;
}

.plan-guide span {
  color: var(--muted);
  font-size: 15px;
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 22px;
  color: #334d67;
  font-size: 16px;
}

.price-card li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 900;
}

.price-card .button {
  width: 100%;
  margin-top: auto;
}

.swipe-hint {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.swipe-hint span::after {
  content: " ›››";
  letter-spacing: -2px;
}

.pricing-footer {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 16px;
}

.pricing-footer p {
  margin: 0;
}

.text-link {
  flex: 0 0 auto;
  color: var(--blue);
  font-weight: 600;
}

.faq-section,
.pricing-faq {
  border-top: 1px solid var(--line);
  background: #fff;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 70px;
}

.faq-layout .section-heading {
  margin: 0;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 22px 48px 22px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 8px;
  color: var(--blue);
  font-size: 25px;
  font-weight: 400;
  transition: transform 150ms ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list details p {
  padding: 0 42px 20px 0;
  color: var(--muted);
}

.final-cta {
  padding: 78px 0;
  color: #fff;
  background: var(--blue-dark);
}

.final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
}

.final-cta .section-kicker {
  color: #78d6e1;
}

.final-cta h2 {
  margin-bottom: 10px;
  color: #fff;
  font-size: 36px;
}

.final-cta p:last-child {
  max-width: 680px;
  margin-bottom: 0;
  color: #d4e3ec;
}

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

.site-footer {
  padding: 48px 0 28px;
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.footer-brand div {
  display: grid;
}

.footer-brand span {
  color: var(--muted);
  font-size: 15px;
}

.site-footer nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.site-footer nav a {
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
}

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 22px;
  color: var(--faint);
  border-top: 1px solid var(--line);
  font-size: 15px;
}

/* Pricing page */
.subpage-main {
  padding-top: var(--header-height);
}

.subpage-hero {
  padding: 104px 0 88px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  background: #eef6f5;
}

.narrow-copy {
  max-width: 790px;
}

.subpage-hero h1 {
  margin-bottom: 18px;
  font-size: 52px;
}

.subpage-hero p:not(.section-kicker) {
  max-width: 680px;
  margin: 0 auto 30px;
  color: var(--muted);
  font-size: 18px;
}

.large-toggle {
  margin-inline: auto;
}

.pricing-page-section {
  padding-top: 68px;
}

.pricing-disclaimer {
  margin: 28px auto 0;
  color: var(--muted);
  text-align: center;
  font-size: 16px;
}

.comparison-section {
  background: #fff;
}

.comparison-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.comparison-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 17px 20px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  font-size: 16px;
}

.comparison-table thead th {
  color: #fff;
  background: #0b2e44;
}

.comparison-table th:first-child {
  width: 42%;
  text-align: left;
}

.comparison-table tbody th {
  color: #334d67;
  font-weight: 700;
}

.comparison-table tbody tr:last-child th,
.comparison-table tbody tr:last-child td {
  border-bottom: 0;
}

/* Registration */
.register-main {
  padding-top: var(--header-height);
}

.register-intro {
  padding: 82px 0;
  border-bottom: 1px solid var(--line);
  background: #eef6f5;
}

.register-intro-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 60px;
}

.register-intro h1 {
  margin-bottom: 16px;
  font-size: 48px;
}

.register-intro p:last-child {
  max-width: 700px;
  margin-bottom: 0;
  color: var(--muted);
}

.register-intro ol {
  display: grid;
  gap: 10px;
  min-width: 280px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.register-intro li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #334d67;
  font-size: 16px;
  font-weight: 600;
}

.register-intro li span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: var(--blue);
}

.register-section {
  padding: 70px 0 100px;
  background: var(--wash);
}

.register-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: start;
  gap: 26px;
}

.register-layout.single-column {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}

.registration-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 46px rgba(18, 48, 68, 0.07);
}

.form-section {
  padding: 32px;
  border-bottom: 1px solid var(--line);
}

.form-section-heading {
  display: flex;
  gap: 16px;
  margin-bottom: 26px;
}

.form-section-heading > span {
  color: var(--cyan);
  font-size: 16px;
  font-weight: 600;
}

.form-section-heading h2 {
  margin-bottom: 3px;
  font-size: 22px;
}

.form-section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.marketing-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.marketing-field {
  display: grid;
  align-content: start;
  gap: 7px;
}

.marketing-field.wide {
  grid-column: 1 / -1;
}

.marketing-field > span {
  color: #334d67;
  font-size: 16px;
  font-weight: 600;
}

.marketing-field input,
.marketing-field select,
.marketing-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  color: var(--ink);
  border: 1px solid #b8cbd8;
  border-radius: 5px;
  outline: 0;
  background: #fff;
  font-size: 18px;
}

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

.marketing-field input:focus,
.marketing-field select:focus,
.marketing-field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(7, 94, 170, 0.12);
}

.marketing-field input[aria-invalid="true"] {
  border-color: var(--coral);
}

.plan-choice {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.plan-choice label {
  position: relative;
  cursor: pointer;
}

.plan-choice input {
  position: absolute;
  opacity: 0;
}

.plan-choice span {
  display: grid;
  min-height: 92px;
  align-content: center;
  gap: 4px;
  padding: 14px;
  border: 1px solid #b8cbd8;
  border-radius: 6px;
  background: #fff;
}

.plan-choice strong {
  font-size: 17px;
}

.plan-choice small {
  color: var(--muted);
  font-size: 15px;
}

.plan-choice input:checked + span {
  border: 2px solid var(--blue);
  background: #eef7fb;
}

.plan-choice input:focus-visible + span {
  outline: 3px solid rgba(7, 94, 170, 0.18);
}

.billing-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 22px;
}

.billing-choice label {
  cursor: pointer;
}

.billing-choice input {
  position: absolute;
  opacity: 0;
}

.billing-choice span {
  display: grid;
  min-height: 46px;
  place-items: center;
  padding: 8px;
  border: 1px solid #b8cbd8;
  border-radius: 6px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
}

.billing-choice input:checked + span {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}

.consent-field {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 26px 32px 0;
  color: var(--muted);
  font-size: 16px;
}

.consent-field input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--blue);
}

.registration-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 32px 32px;
}

.registration-actions p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.registration-actions p.error {
  color: #ad392a;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.register-summary {
  position: sticky;
  top: 94px;
  display: grid;
  padding: 28px;
  border: 1px solid #bcd0dc;
  border-top: 4px solid var(--blue);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(18, 48, 68, 0.1);
}

.register-summary h2 {
  margin-bottom: 6px;
  font-size: 23px;
}

.register-summary strong {
  margin-bottom: 10px;
  color: var(--blue-dark);
  font-size: 27px;
  font-weight: 600;
}

.register-summary > span {
  color: var(--muted);
  font-size: 16px;
}

.registration-success {
  padding: 54px 32px;
  text-align: center;
}

.registration-success .success-mark {
  display: grid;
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: var(--green);
  font-size: 28px;
  font-weight: 900;
}

.registration-success h2 {
  margin-bottom: 12px;
  font-size: 29px;
}

.registration-success .reference {
  display: inline-block;
  margin: 10px 0 22px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--wash);
  font-weight: 900;
}

/* =====================================================================
   ปรับโฉมให้ทันสมัย
   ---------------------------------------------------------------------
   ของเดิมเป็นสไตล์เอกสารองค์กร: เส้นขอบ 1px ทุกกล่อง มุมคม 4-8px
   พื้นแบนไม่มีมิติ อ่านง่ายแต่ดูเก่าและไม่ชวนกด
   ชั้นนี้ทับของเดิม (อยู่หลังกฎเดิมแต่ก่อน media query) เปลี่ยนแค่ "รูปลักษณ์"
   ไม่ยุ่งกับโครงหน้าและตัวหนังสือ — ขนาดตัวอักษรที่ขยายไว้ให้ผู้ใหญ่อ่านยังอยู่ครบ

   หลักที่ใช้: มุมมนขึ้น · เงานุ่มแทนเส้นขอบ · ไล่สีแบรนด์ · ขยับตอนโฮเวอร์
   และค่อยๆ ปรากฏตอนเลื่อนถึง (ปิดอัตโนมัติถ้าผู้ใช้ตั้งค่าลดการเคลื่อนไหว)
   ===================================================================== */

:root {
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-pill: 999px;
  --wash: #f4f8fc;
  --line: #e4ecf3;
  --brand-grad: linear-gradient(135deg, #0b62a3 0%, #0a86b8 52%, #009bad 100%);
  --shadow-sm: 0 1px 2px rgba(11, 34, 54, 0.05), 0 6px 18px rgba(11, 34, 54, 0.05);
  --shadow-md: 0 2px 4px rgba(11, 34, 54, 0.05), 0 14px 34px rgba(11, 34, 54, 0.08);
  --shadow-lg: 0 6px 12px rgba(11, 34, 54, 0.06), 0 30px 64px rgba(11, 34, 54, 0.13);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ---------- หัวเว็บกระจก ---------- */
.site-header {
  border-bottom-color: transparent;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  transition: background 200ms var(--ease), border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}

.site-header.scrolled {
  border-bottom-color: rgba(11, 34, 54, 0.07);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 30px rgba(11, 34, 54, 0.06);
}

.site-nav > a:not(.button)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease);
}

.site-nav > a:not(.button):hover::after,
.site-nav > a.current::after {
  transform: scaleX(1);
}

/* ---------- ปุ่มทรงแคปซูล ---------- */
.button {
  border-radius: var(--r-pill);
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), background 200ms var(--ease),
    border-color 200ms var(--ease), filter 200ms var(--ease);
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0) scale(0.985);
}

.button-primary {
  background: var(--brand-grad);
  box-shadow: 0 8px 22px rgba(11, 98, 163, 0.28);
}

.button-primary:hover {
  background: var(--brand-grad);
  filter: brightness(1.07);
  box-shadow: 0 14px 30px rgba(11, 98, 163, 0.34);
}

.button-secondary {
  border-color: rgba(11, 98, 163, 0.2);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
}

.button-light {
  box-shadow: 0 10px 26px rgba(3, 26, 45, 0.22);
}

/* ---------- หัวข้อคมขึ้น ---------- */
h1,
h2 {
  letter-spacing: -0.5px;
}

.hero-content h1 {
  letter-spacing: -1.4px;
}

/* ---------- ป้ายกำกับทรงแคปซูล ---------- */
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 15px 6px 12px;
  border-radius: var(--r-pill);
  background: rgba(11, 98, 163, 0.08);
}

.section-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.hero-content .section-kicker {
  padding: 7px 16px 7px 13px;
  border-color: rgba(141, 223, 237, 0.32);
  border-radius: var(--r-pill);
  background: rgba(6, 44, 70, 0.42);
  backdrop-filter: blur(10px);
}

.final-cta .section-kicker {
  background: rgba(255, 255, 255, 0.13);
}

/* ---------- ฮีโร่: เพิ่มแสงนวลให้มีมิติ ---------- */
.hero-section::after {
  content: "";
  position: absolute;
  z-index: 1;
  right: -12%;
  bottom: -34%;
  width: 70%;
  height: 78%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 155, 173, 0.34), rgba(0, 155, 173, 0) 62%);
  pointer-events: none;
}

/* แถบขั้นตอนใต้ฮีโร่ — จากเส้นคั่นบางๆ เป็นการ์ดกระจก */
.hero-workflow {
  gap: 10px;
  border: 0;
}

.hero-workflow div {
  padding: 14px 16px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(216, 244, 247, 0.16);
}

.hero-workflow div + div {
  padding-left: 16px;
  border-left: 0;
}

/* ---------- แถบตัวเลข: ลอยทับฮีโร่เล็กน้อย ---------- */
.proof-band {
  border: 0;
  background: transparent;
}

.proof-grid > div,
.proof-grid > div:first-child {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 861px) {
  .proof-band {
    margin-top: -62px;
    padding-bottom: 6px;
  }

  .proof-grid {
    gap: 16px;
  }

  .proof-grid > div {
    box-shadow: var(--shadow-md);
  }
}

.proof-grid strong {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

/* ---------- ขั้นตอนการทำงาน ---------- */
.workflow-list li {
  border-radius: var(--r-md);
  transition: background 200ms var(--ease);
}

.workflow-list li > span {
  border-radius: var(--r-sm);
}

/* ---------- ฟังก์ชัน: จากตารางเส้นบาง เป็นการ์ดแยกใบ ---------- */
.feature-section {
  border-top: 0;
  background: var(--wash);
}

.feature-grid {
  gap: 18px;
  border: 0;
  background: transparent;
}

.feature-grid article {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease), border-color 240ms var(--ease);
}

.feature-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(11, 98, 163, 0.22);
  box-shadow: var(--shadow-md);
}

.feature-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: var(--r-sm);
  background: rgba(0, 155, 173, 0.1);
}

.feature-grid article:nth-child(3n + 2) .feature-index {
  background: rgba(46, 124, 91, 0.1);
}

.feature-grid article:nth-child(3n) .feature-index {
  background: rgba(215, 98, 80, 0.1);
}

/* ---------- ภาพหน้าจอสินค้า ---------- */
.desktop-shot,
.mobile-shot {
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* ---------- บทบาท: พื้นเข้มไล่สี + แผงกระจก ---------- */
.role-section {
  background: radial-gradient(120% 120% at 12% 0%, #12496b 0%, #0b2e44 46%, #082336 100%);
}

.role-tabs {
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.07);
}

.role-tabs button {
  border-radius: var(--r-pill);
  transition: background 200ms var(--ease), color 200ms var(--ease);
}

.role-tabs button.active {
  box-shadow: 0 6px 18px rgba(2, 20, 34, 0.32);
}

.role-panel {
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

/* ---------- ราคา ---------- */
.pricing-preview,
.pricing-page-section {
  background: var(--wash);
}

.billing-toggle {
  border-radius: var(--r-pill);
}

.billing-toggle button {
  border-radius: var(--r-pill);
}

.price-card {
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease);
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.price-card.popular {
  box-shadow: var(--shadow-lg);
}

.popular-label {
  top: 18px;
  right: 18px;
  border-radius: var(--r-pill);
  background: var(--brand-grad);
}

.price-value strong {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.plan-guide {
  padding: 14px 16px;
  border-radius: var(--r-sm);
  background: rgba(11, 98, 163, 0.05);
}

/* ---------- คำถามพบบ่อย: จากรายการเส้นคั่น เป็นการ์ด ---------- */
.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 0 22px;
  border: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}

.faq-list details[open],
.faq-list details:hover {
  border-color: rgba(11, 98, 163, 0.22);
  box-shadow: var(--shadow-sm);
}

.faq-list summary {
  padding: 20px 34px 20px 0;
}

.faq-list summary::after {
  right: 2px;
}

.faq-list details p {
  padding: 0 34px 18px 0;
}

/* ---------- ปิดท้าย: พื้นไล่สี ---------- */
.final-cta {
  position: relative;
  background: radial-gradient(120% 140% at 0% 0%, #0a6ba8 0%, #073d67 55%, #052c4c 100%);
  overflow: hidden;
}

.final-cta::after {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -60%;
  width: 46%;
  height: 150%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 155, 173, 0.28), rgba(0, 155, 173, 0) 64%);
  pointer-events: none;
}

.final-cta-inner {
  position: relative;
  z-index: 1;
}

/* ---------- ท้ายเว็บ ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--wash);
}

.site-footer nav a {
  transition: color 180ms var(--ease);
}

/* ---------- ค่อยๆ ปรากฏตอนเลื่อนถึง ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms var(--ease), transform 520ms var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 1020px) {
  .site-nav {
    gap: 17px;
  }

  .hero-content h1 {
    font-size: 50px;
  }

  .product-layout {
    grid-template-columns: 1fr;
  }

  .product-copy {
    max-width: 720px;
  }

  .product-media {
    min-height: 600px;
  }

  .role-layout {
    grid-template-columns: 1fr;
  }

  .role-heading {
    grid-row: auto;
    margin-bottom: 24px;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 64px;
  }

  .site-container {
    width: min(100% - 32px, 720px);
  }

  .site-header {
    height: var(--header-height);
  }

  .site-brand img {
    width: 40px;
    height: 40px;
  }

  .site-brand strong {
    font-size: 18px;
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 0;
    display: grid;
    align-content: start;
    gap: 0;
    height: calc(100vh - var(--header-height));
    height: calc(100dvh - var(--header-height));
    padding: 8px 16px 20px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 20px 38px rgba(16, 37, 63, 0.14);
    overflow-y: auto;
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform 180ms ease, visibility 180ms ease;
  }

  .site-nav.open {
    transform: none;
    visibility: visible;
  }

  .site-nav > a:not(.button) {
    min-height: 48px;
    padding: 13px 8px;
    border-bottom: 1px solid var(--line);
    font-size: 17px;
  }

  .site-nav .nav-login {
    padding-left: 8px;
    border-left: 0;
  }

  .site-nav .nav-cta {
    margin-top: 12px;
  }

  .hero-section {
    min-height: min(720px, calc(100svh - 26px));
    align-items: flex-start;
  }

  .hero-section::before {
    inset: 0;
    width: auto;
    height: auto;
    border: 0;
    background: linear-gradient(180deg, rgba(3, 32, 54, 0.95) 0%, rgba(3, 42, 68, 0.88) 50%, rgba(3, 42, 68, 0.42) 100%);
  }

  .hero-image {
    object-position: 64% center;
  }

  .hero-content {
    padding-block: 76px 44px;
  }

  .hero-content h1 {
    max-width: 560px;
    font-size: 44px;
  }

  .hero-lead {
    max-width: 620px;
    font-size: 18px;
  }

  .hero-workflow {
    max-width: 560px;
    margin-top: 34px;
  }

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

  .proof-grid > div:nth-child(3) {
    border-left: 1px solid var(--line);
  }

  .proof-grid > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .page-section {
    padding: 74px 0;
  }

  .section-heading h2 {
    font-size: 34px;
  }

  .workflow-list {
    grid-template-columns: 1fr 1fr;
    gap: 44px 28px;
    background: transparent;
  }

  .workflow-list li {
    border-top: 1px solid #cbd8df;
  }

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

  /*
    จอมือถือ: การ์ดแพ็กเกจเรียงลงล่างทำให้ต้องเลื่อนยาวมากกว่าจะเห็นครบ 3 ใบ
    เปลี่ยนเป็นเลื่อนซ้าย-ขวาทีละใบแทน (scroll snap) เทียบราคาได้ง่ายกว่า
    ใช้ระยะขอบติดลบเพื่อให้เลื่อนได้เต็มความกว้างจอ แต่ใบแรกยังเริ่มตรงขอบเนื้อหา
  */
  .pricing-grid {
    display: flex;
    grid-template-columns: none;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 16px;
    padding: 4px 16px 14px;
    margin-inline: -16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .pricing-grid::-webkit-scrollbar {
    display: none;
  }

  .price-card {
    min-height: 0;
    flex: 0 0 82%;
    max-width: 340px;
    scroll-snap-align: start;
    padding: 24px;
  }

  /* การ์ดที่ยื่นออกมาโดนขอบตัดตอนเลื่อน — ดันเข้ามาให้กรอบยังเห็นครบ */
  .price-card.popular {
    box-shadow: 0 10px 26px rgba(11, 98, 163, 0.13);
  }

  .price-card .plan-description,
  .price-value {
    min-height: 0;
  }

  .swipe-hint {
    display: flex;
  }

  .pricing-heading,
  .final-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .pricing-heading {
    display: flex;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .register-intro-inner,
  .register-layout {
    grid-template-columns: 1fr;
  }

  .register-summary {
    position: static;
    grid-row: 1;
  }
}

@media (max-width: 560px) {
  .site-container {
    width: calc(100% - 28px);
  }

  .site-brand {
    min-width: 0;
  }

  .hero-section {
    min-height: min(700px, calc(100svh - 18px));
  }

  .hero-content {
    padding-block: 64px 34px;
  }

  .hero-content h1 {
    font-size: 37px;
  }

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

  .hero-workflow {
    grid-template-columns: 1fr 1fr;
    margin-top: 28px;
  }

  .hero-workflow div,
  .hero-workflow div + div {
    padding: 12px 12px 13px 0;
  }

  .hero-workflow div:nth-child(even) {
    padding-left: 12px;
    border-left: 1px solid rgba(216, 244, 247, 0.24);
  }

  .hero-workflow div:nth-child(3) {
    border-left: 0;
  }

  .hero-workflow div:nth-child(n + 3) {
    border-top: 1px solid rgba(216, 244, 247, 0.24);
  }

  .hero-actions,
  .hero-actions .button,
  .final-actions,
  .final-actions .button {
    width: 100%;
  }

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

  .proof-grid > div {
    min-height: 98px;
    padding: 16px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }

  .proof-grid > div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section-heading h2 {
    font-size: 31px;
  }

  .section-heading > p:last-child {
    font-size: 17px;
  }

  .workflow-list,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .workflow-list {
    gap: 0;
    padding-left: 18px;
  }

  .workflow-list li {
    min-height: 0;
    padding: 0 0 38px 50px;
    border-top: 0;
    border-left: 1px solid #cbd8df;
  }

  .workflow-list li:last-child {
    padding-bottom: 0;
    border-left-color: transparent;
  }

  .workflow-list li > span {
    top: 0;
    left: -19px;
    margin-bottom: 0;
  }

  .feature-grid article {
    min-height: 0;
  }

  .feature-index {
    margin-bottom: 20px;
  }

  .product-media {
    min-height: 420px;
  }

  .desktop-shot {
    inset: 0 0 90px;
  }

  .mobile-shot {
    right: 14px;
    width: 145px;
    height: 300px;
    border-width: 6px;
    border-radius: 21px;
  }

  .role-tabs {
    grid-template-columns: 1fr 1fr;
  }

  .role-panel {
    padding: 24px;
  }

  .role-panel ul {
    grid-template-columns: 1fr;
  }

  .pricing-heading {
    align-items: stretch;
  }

  .billing-toggle {
    width: 100%;
  }

  .pricing-footer,
  .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .copyright {
    grid-column: auto;
  }

  .subpage-hero {
    padding: 62px 0 54px;
  }

  .subpage-hero h1,
  .register-intro h1 {
    font-size: 36px;
  }

  .register-intro {
    padding: 52px 0;
  }

  .register-intro ol {
    min-width: 0;
  }

  .register-section {
    padding: 28px 0 70px;
  }

  .form-section {
    padding: 24px 20px;
  }

  .marketing-form-grid,
  .plan-choice,
  .billing-choice {
    grid-template-columns: 1fr;
  }

  .consent-field {
    padding: 24px 20px 0;
  }

  .registration-actions {
    align-items: stretch;
    flex-direction: column;
    padding: 20px;
  }

  .registration-actions .button {
    width: 100%;
  }

  .register-summary {
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* =====================================================================
   ปรับโฉมทันสมัย — ส่วนที่ต้องตามไปแก้ในจอเล็ก
   กฎเดิมของจอเล็กเติมเส้นขอบ 1px กลับเข้ามาเพื่อทำเป็นตาราง
   ซึ่งขัดกับการ์ดมุมมนที่เปลี่ยนไปแล้ว จึงต้องล้างทิ้งอีกที
   ===================================================================== */
@media (max-width: 860px) {
  .proof-grid {
    gap: 12px;
  }

  .proof-grid > div,
  .proof-grid > div:first-child,
  .proof-grid > div:nth-child(3),
  .proof-grid > div:nth-child(-n + 2) {
    border: 1px solid var(--line);
    border-radius: var(--r-md);
  }

  .hero-workflow div,
  .hero-workflow div + div,
  .hero-workflow div:nth-child(even),
  .hero-workflow div:nth-child(3),
  .hero-workflow div:nth-child(n + 3) {
    padding: 13px 14px;
    border: 0;
  }
}

@media (max-width: 560px) {
  .proof-grid > div,
  .proof-grid > div:nth-last-child(-n + 2) {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
  }
}

/* ==========================================================================
   ลิงก์ในเนื้อหา
   ทั้งเว็บตั้ง `a { color: inherit }` ไว้ เพราะลิงก์ส่วนใหญ่เป็นปุ่มหรือเมนู
   ที่มีสไตล์ของตัวเองอยู่แล้ว แต่ลิงก์ที่แทรกอยู่กลางย่อหน้าจะกลืนไปกับข้อความ
   จนไม่มีใครรู้ว่ากดได้ — จึงคืนสีให้เฉพาะจุดที่เป็นลิงก์ในเนื้อความจริงๆ
   ========================================================================== */
.page-section p > a,
.check-list a,
.faq-list details p a,
.workflow-list p a {
  color: #0b62a3;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.page-section p > a:hover,
.check-list a:hover,
.faq-list details p a:hover,
.workflow-list p a:hover {
  color: #085081;
}

/* การ์ด "อ่านเพิ่มเติม" — ทำให้ทั้งใบกดได้ ไม่ใช่โดนแค่ตัวหัวข้อ */
#guides .feature-grid article {
  position: relative;
}
#guides .feature-grid h3 a {
  color: #0b62a3;
}
#guides .feature-grid h3 a::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
#guides .feature-grid article:hover h3 a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =====================================================================
   Landing page 2026
   ใช้สีและจังหวะเส้นจากตราประปาพร้อม โดยแยก scope เพื่อไม่กระทบหน้าย่อย
   ===================================================================== */
.landing-page {
  --lp-navy: #073f77;
  --lp-blue: #0874d1;
  --lp-cyan: #08adc1;
  --lp-green: #45a91f;
  --lp-ink: #102c46;
  --lp-soft-blue: #edf6fc;
  --lp-soft-green: #f0f8ed;
  color: var(--lp-ink);
  background: #fff;
}

.landing-page :is(#workflow, #features, #roles, #pricing, #faq) {
  scroll-margin-top: 88px;
}

.landing-page h1,
.landing-page h2,
.landing-page h3,
.landing-page .hero-content h1 {
  letter-spacing: 0;
}

.landing-page .site-container {
  width: min(1220px, calc(100% - 56px));
}

.landing-page .site-header {
  height: 82px;
  border-bottom: 1px solid rgba(7, 63, 119, 0.09);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: none;
}

.landing-page .site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 10px 32px rgba(7, 63, 119, 0.08);
}

.landing-page .nav-row {
  min-height: 82px;
}

.landing-page .site-brand {
  gap: 11px;
  min-width: 220px;
}

.landing-page .site-brand img {
  width: 52px;
  height: 52px;
  transition: transform 320ms ease;
}

.landing-page .site-brand:hover img {
  transform: translateY(-2px) rotate(-2deg);
}

.landing-page .brand-lockup {
  display: grid;
  line-height: 1.05;
}

.landing-page .brand-lockup strong {
  display: flex;
  font-size: 25px;
  font-weight: 700;
}

.landing-page .brand-lockup em,
.landing-page .brand-lockup small em,
.landing-page .footer-wordmark em,
.landing-page .footer-brand small em {
  color: var(--lp-cyan);
  font-style: normal;
}

.landing-page .brand-lockup strong > span,
.landing-page .brand-lockup small > span {
  display: inline;
  color: var(--lp-navy);
  font-size: inherit;
  line-height: inherit;
}

.landing-page .brand-lockup small {
  display: flex;
  margin-top: 5px;
  font-size: 13px;
  font-weight: 600;
}

.landing-page .button {
  min-height: 50px;
  border-radius: 6px;
  font-weight: 700;
}

.landing-page .button-primary {
  background: var(--lp-blue);
  box-shadow: 0 12px 26px rgba(8, 116, 209, 0.24);
}

.landing-page .button-primary:hover {
  background: var(--lp-navy);
  filter: none;
}

.landing-page .site-nav > a:not(.button)::after {
  background: var(--lp-cyan);
}

.landing-page .hero-section {
  min-height: min(760px, calc(100svh - 28px));
  padding-top: 82px;
  background: #082f52;
}

.landing-page .hero-section::before {
  background: linear-gradient(90deg, rgba(4, 34, 63, 0.97) 0%, rgba(5, 44, 78, 0.91) 42%, rgba(5, 58, 88, 0.48) 66%, rgba(6, 67, 88, 0.08) 100%);
}

.landing-page .hero-section::after,
.landing-page .final-cta::after {
  display: none;
}

.landing-page .hero-image {
  object-position: center;
  animation: hero-image-breathe 15s ease-in-out infinite alternate;
}

.landing-page .hero-content {
  padding-block: 74px 72px;
}

.landing-page .hero-content .section-kicker {
  min-height: 32px;
  margin-bottom: 20px;
  padding: 5px 12px;
  border: 1px solid rgba(153, 237, 240, 0.46);
  border-radius: 4px;
  color: #bcf7f2;
  background: rgba(4, 42, 70, 0.48);
}

.landing-page .hero-content .section-kicker::before {
  width: 8px;
  height: 8px;
  background: var(--lp-green);
}

.landing-page .hero-content h1 {
  display: flex;
  max-width: 720px;
  margin-bottom: 2px;
  font-size: 84px;
  line-height: 1.06;
}

.landing-page .hero-content h1 span {
  color: #fff;
}

.landing-page .hero-content h1 em {
  color: #27d2d1;
  font-style: normal;
}

.landing-page .hero-title-support {
  max-width: 720px;
  margin: 0 0 22px;
  color: #fff;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.35;
}

.landing-page .hero-lead {
  max-width: 660px;
  margin-bottom: 28px;
  color: rgba(240, 250, 252, 0.88);
  font-size: 18px;
  line-height: 1.72;
}

.landing-page .hero-actions {
  gap: 14px;
}

.landing-page .hero-actions .button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(4, 42, 70, 0.36);
}

.landing-page .hero-workflow {
  width: min(670px, 100%);
  margin-top: 34px;
  gap: 0;
  border-top: 1px solid rgba(181, 235, 239, 0.28);
  border-bottom: 1px solid rgba(181, 235, 239, 0.2);
}

.landing-page .hero-workflow div,
.landing-page .hero-workflow div + div {
  padding: 14px 15px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.landing-page .hero-workflow div + div {
  border-left: 1px solid rgba(181, 235, 239, 0.22);
}

.landing-page .hero-workflow dt {
  color: #fff;
  font-size: 16px;
}

.landing-page .hero-workflow dd {
  color: #a9cbd7;
  font-size: 14px;
}

.landing-page .hero-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  color: #c4dde5;
  font-size: 14px;
}

.landing-page .hero-note span {
  width: 20px;
  height: 2px;
  background: var(--lp-green);
}

.landing-page .download-strip {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid #dce8ef;
  background: #fff;
}

.landing-page .download-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 126px;
  padding-block: 22px;
}

.landing-page .download-copy {
  display: flex;
  align-items: center;
  gap: 20px;
}

.landing-page .download-copy > span {
  flex: 0 0 auto;
  border-left: 3px solid var(--lp-green);
  padding-left: 12px;
  color: var(--lp-cyan);
  font-size: 14px;
  font-weight: 700;
}

.landing-page .download-copy h2 {
  margin: 0;
  color: var(--lp-navy);
  font-size: 25px;
  line-height: 1.25;
}

.landing-page .download-copy p {
  margin: 4px 0 0;
  color: #587184;
  font-size: 14px;
}

.landing-page .store-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(190px, 1fr));
  gap: 10px;
}

.landing-page .store-button {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 10px 18px;
  border: 1px solid var(--lp-blue);
  border-radius: 8px;
  color: #fff;
  background: var(--lp-blue);
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(7, 19, 28, 0.12);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.landing-page .store-button:hover {
  color: #fff;
  background: var(--lp-navy);
  box-shadow: 0 14px 28px rgba(7, 63, 119, 0.2);
  transform: translateY(-2px);
}

.app-download-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 72px;
  margin-top: var(--header-height);
  padding: 10px 24px;
  border-bottom: 1px solid rgba(8, 116, 209, 0.18);
  background: #fff;
}

.has-app-download-banner main > .page-section:first-child {
  padding-top: 64px;
}

.app-download-banner > strong {
  color: #073f77;
  font-size: 14px;
  white-space: nowrap;
}

.app-download-banner-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(122px, 1fr));
  gap: 8px;
}

.app-download-banner a {
  display: grid;
  place-items: center;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid #0874d1;
  border-radius: 6px;
  color: #fff;
  background: #0874d1;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.app-download-banner a:hover {
  color: #fff;
  border-color: #073f77;
  background: #073f77;
  transform: translateY(-1px);
}

.landing-page .store-button > span:last-child {
  display: grid;
  min-width: 0;
}

.landing-page .store-button small {
  color: #c8d3da;
  font-size: 10px;
  line-height: 1.1;
}

.landing-page .store-button strong {
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 19px;
  line-height: 1.25;
}

.landing-page .store-platform-mark {
  display: grid;
  place-items: center;
  width: 28px;
  min-width: 28px;
  color: #fff;
  font-size: 22px;
  line-height: 1;
}

.landing-page .store-platform-apple {
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 29px;
}

.landing-page .hero-water-lines {
  position: absolute;
  z-index: 2;
  right: -5%;
  bottom: -32px;
  left: -5%;
  height: 126px;
  overflow: hidden;
  pointer-events: none;
}

.landing-page .hero-water-lines span {
  position: absolute;
  left: -4%;
  width: 108%;
  height: 88px;
  border-top: 3px solid rgba(45, 213, 215, 0.5);
  border-radius: 50%;
  animation: water-line-drift 7s ease-in-out infinite alternate;
}

.landing-page .hero-water-lines span:nth-child(2) {
  top: 25px;
  border-color: rgba(82, 179, 35, 0.4);
  animation-duration: 9s;
  animation-direction: alternate-reverse;
}

.landing-page .hero-water-lines span:nth-child(3) {
  top: 51px;
  border-color: rgba(255, 255, 255, 0.25);
  animation-duration: 11s;
}

.landing-page .proof-band {
  margin-top: 0;
  padding: 0;
  border: 0;
  background: #fff;
}

.landing-page .proof-grid {
  gap: 0;
}

.landing-page .proof-grid > div,
.landing-page .proof-grid > div:first-child {
  min-height: 116px;
  padding: 22px 28px;
  border: 0;
  border-right: 1px solid #dfe9ef;
  border-radius: 0;
  box-shadow: none;
}

.landing-page .proof-grid > div:first-child {
  border-left: 1px solid #dfe9ef;
}

.landing-page .proof-grid strong {
  color: var(--lp-navy);
  background: none;
  font-size: 22px;
  -webkit-text-fill-color: currentColor;
}

.landing-page .proof-grid > div:nth-child(2) strong {
  color: var(--lp-cyan);
}

.landing-page .proof-grid > div:nth-child(3) strong {
  color: var(--lp-green);
}

.landing-page .proof-grid > div:nth-child(4) strong {
  color: #c26532;
}

.landing-page .page-section {
  padding: 96px 0;
}

.landing-page .section-kicker {
  padding: 0;
  border-radius: 0;
  color: var(--lp-blue);
  background: transparent;
}

.landing-page .section-kicker::before {
  width: 22px;
  height: 3px;
  border-radius: 0;
  background: var(--lp-cyan);
}

.landing-page .section-heading h2 {
  color: var(--lp-ink);
  font-size: 43px;
}

.landing-page .workflow-section {
  background: #fff;
}

.landing-page .workflow-list {
  gap: 24px;
}

.landing-page .workflow-list li {
  min-height: 215px;
  padding: 62px 22px 12px 0;
  border-top: 2px solid #dce8ef;
  border-radius: 0;
}

.landing-page .workflow-list li > span {
  top: -24px;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--lp-blue);
}

.landing-page .workflow-list li:nth-child(2) > span {
  background: var(--lp-cyan);
}

.landing-page .workflow-list li:nth-child(3) > span {
  color: #fff;
  background: #d08a2d;
}

.landing-page .workflow-list li:nth-child(4) > span {
  background: var(--lp-green);
}

.landing-page .product-section {
  background: var(--lp-soft-green);
}

.landing-page .product-layout {
  grid-template-columns: minmax(300px, 0.76fr) minmax(560px, 1.38fr);
  gap: 76px;
}

.landing-page .desktop-shot {
  border: 8px solid #fff;
  border-radius: 8px;
  box-shadow: 0 28px 68px rgba(7, 63, 119, 0.18);
}

.landing-page .mobile-shot {
  border-color: #0e2c46;
  box-shadow: 0 24px 54px rgba(7, 63, 119, 0.26);
  animation: product-float 6s ease-in-out infinite;
}

.landing-page .desktop-shot figcaption,
.landing-page .mobile-shot figcaption {
  border-radius: 4px;
  background: rgba(7, 63, 119, 0.9);
}

.landing-page .feature-section {
  border: 0;
  background: #f4f8fb;
}

.landing-page .feature-grid {
  gap: 18px;
  border: 0;
  background: transparent;
}

.landing-page .feature-grid article {
  min-height: 260px;
  padding: 30px;
  border: 1px solid #dde8ef;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(7, 63, 119, 0.06);
}

.landing-page .feature-grid article:hover {
  border-color: rgba(8, 116, 209, 0.3);
  box-shadow: 0 18px 38px rgba(7, 63, 119, 0.1);
}

.landing-page .feature-index {
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  border-radius: 8px;
  background: #e4f2ff;
}

.landing-page .role-section {
  background: #092f4e;
}

.landing-page .role-layout {
  grid-template-columns: 0.7fr 1.3fr;
  gap: 22px 64px;
}

.landing-page .role-heading .section-kicker,
.landing-page .final-cta .section-kicker {
  color: #62d7d3;
  background: transparent;
}

.landing-page .role-heading h2 {
  color: #fff;
}

.landing-page .role-tabs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.landing-page .role-tabs button {
  color: #dcebf1;
  border-radius: 5px;
}

.landing-page .role-tabs button.active {
  color: var(--lp-navy);
  background: #fff;
  box-shadow: none;
}

.landing-page .role-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.72fr);
  align-items: center;
  gap: 32px;
  min-height: 370px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.landing-page .role-panel-copy > span {
  display: block;
  margin-bottom: 10px;
  color: #63d5d5;
  font-size: 14px;
  font-weight: 700;
}

.landing-page .role-panel h3 {
  color: #fff;
  font-size: 28px;
}

.landing-page .role-panel p,
.landing-page .role-panel li {
  color: #c9dce5;
}

.landing-page .role-panel ul {
  grid-template-columns: 1fr;
  margin-top: 22px;
}

.landing-page .role-panel li::before {
  background: var(--lp-green);
}

.landing-page .role-panel-visual {
  position: relative;
  height: 286px;
  margin: 0;
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  background: #eaf4fa;
  box-shadow: 0 20px 42px rgba(2, 23, 39, 0.28);
}

.landing-page .role-panel-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.landing-page .pricing-preview {
  background: #f0f7f3;
}

.landing-page .pricing-heading {
  margin-bottom: 34px;
}

.landing-page .pricing-heading > div {
  max-width: 780px;
}

.landing-page .pricing-heading h2 {
  margin-bottom: 10px;
}

.landing-page .pricing-heading p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.landing-page .pricing-calculator {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.75fr);
  gap: 40px;
  margin-bottom: 48px;
  padding: 42px;
  border: 1px solid #d5e4dc;
  border-top: 6px solid var(--lp-green);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 54px rgba(7, 63, 119, 0.1);
}

.landing-page .calculator-controls {
  display: grid;
  align-content: center;
}

.landing-page .calculator-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.landing-page .calculator-label-row label {
  color: var(--lp-ink);
  font-size: 22px;
  font-weight: 700;
}

.landing-page .calculator-label-row output {
  color: var(--lp-navy);
  font-size: 18px;
}

.landing-page .calculator-label-row output strong {
  font-size: 34px;
}

.landing-page [data-meter-range] {
  width: 100%;
  height: 28px;
  margin: 0;
  appearance: none;
  background: transparent;
  cursor: pointer;
}

.landing-page [data-meter-range]::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 0;
  background: linear-gradient(90deg, var(--lp-blue) 0 var(--range-progress, 20%), #dbe7ed var(--range-progress, 20%) 100%);
}

.landing-page [data-meter-range]::-webkit-slider-thumb {
  width: 28px;
  height: 28px;
  margin-top: -10px;
  appearance: none;
  border: 5px solid #fff;
  border-radius: 50%;
  background: var(--lp-cyan);
  box-shadow: 0 2px 10px rgba(7, 63, 119, 0.3);
}

.landing-page [data-meter-range]::-moz-range-track {
  height: 8px;
  border: 0;
  border-radius: 0;
  background: #dbe7ed;
}

.landing-page [data-meter-range]::-moz-range-progress {
  height: 8px;
  background: var(--lp-blue);
}

.landing-page [data-meter-range]::-moz-range-thumb {
  width: 19px;
  height: 19px;
  border: 5px solid #fff;
  border-radius: 50%;
  background: var(--lp-cyan);
  box-shadow: 0 2px 10px rgba(7, 63, 119, 0.3);
}

.landing-page .range-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 7px;
  color: #718696;
  font-size: 13px;
}

.landing-page .calculator-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 30px;
  color: #416070;
  font-size: 15px;
}

.landing-page .calculator-benefits span::before {
  content: "✓";
  margin-right: 7px;
  color: var(--lp-green);
  font-weight: 700;
}

.landing-page .calculator-result {
  display: grid;
  grid-template-columns: 142px 1fr;
  align-items: center;
  gap: 24px;
  min-height: 220px;
  padding: 28px;
  color: #fff;
  border-radius: 8px;
  background: var(--lp-navy);
}

.landing-page .calculator-result p {
  margin-bottom: 4px;
  color: #acd4e1;
  font-size: 15px;
}

.landing-page .calculator-result small {
  color: #a9c9d4;
  font-size: 14px;
}

.landing-page .calculator-price {
  display: grid;
  margin-bottom: 4px;
  line-height: 1.15;
}

.landing-page .calculator-price strong {
  color: #fff;
  font-size: 48px;
}

.landing-page .calculator-price span {
  color: #70d9d4;
  font-size: 17px;
  font-weight: 700;
}

.landing-page .meter-gauge {
  position: relative;
  width: 132px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 7px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.landing-page .meter-gauge-water {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: var(--water-level, 24%);
  background: var(--lp-cyan);
  transition: height 260ms ease;
}

.landing-page .meter-gauge-water::before {
  position: absolute;
  top: -9px;
  left: -10%;
  width: 120%;
  height: 18px;
  content: "";
  border-radius: 50%;
  background: #4ad6d6;
  animation: gauge-wave 3s ease-in-out infinite alternate;
}

.landing-page .meter-gauge-mark {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(7, 63, 119, 0.42);
}

.landing-page .pricing-examples-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 20px;
}

.landing-page .pricing-examples-heading span {
  color: var(--lp-ink);
  font-size: 22px;
  font-weight: 700;
}

.landing-page .pricing-examples-heading small {
  color: var(--muted);
  font-size: 14px;
}

.landing-page .pricing-grid {
  gap: 18px;
}

.landing-page .price-card {
  min-height: 650px;
  padding: 26px;
  border: 1px solid #d8e4e9;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(7, 63, 119, 0.06);
}

.landing-page .price-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(7, 63, 119, 0.11);
}

.landing-page .price-card.popular {
  border: 2px solid var(--lp-blue);
  box-shadow: 0 20px 46px rgba(8, 116, 209, 0.13);
}

.landing-page .popular-label {
  top: 14px;
  right: 14px;
  padding: 5px 10px;
  border-radius: 4px;
  background: var(--lp-blue);
  font-size: 13px;
}

.landing-page .plan-visual {
  position: relative;
  display: grid;
  height: 158px;
  margin-bottom: 22px;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: #e8f4fb;
}

.landing-page .plan-visual-2 {
  background: #e4f7f5;
}

.landing-page .plan-visual-3 {
  background: #edf7e9;
}

.landing-page .plan-visual > div {
  position: relative;
  z-index: 2;
  display: grid;
  width: 108px;
  height: 108px;
  align-content: center;
  text-align: center;
  border: 5px solid #fff;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 8px 22px rgba(7, 63, 119, 0.13);
}

.landing-page .plan-visual strong {
  color: var(--lp-navy);
  font-size: 32px;
  line-height: 1.1;
}

.landing-page .plan-visual small {
  color: #5e7584;
  font-size: 13px;
}

.landing-page .plan-water {
  position: absolute;
  right: -10%;
  bottom: -35px;
  left: -10%;
  height: 96px;
  border-radius: 50% 50% 0 0;
  background: rgba(8, 116, 209, 0.18);
  animation: plan-water-move 5s ease-in-out infinite alternate;
}

.landing-page .plan-visual-2 .plan-water {
  background: rgba(8, 173, 193, 0.2);
}

.landing-page .plan-visual-3 .plan-water {
  background: rgba(69, 169, 31, 0.2);
}

.landing-page .price-card-heading {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.landing-page .price-card-heading > span {
  color: var(--lp-cyan);
  font-size: 13px;
  font-weight: 700;
}

.landing-page .price-card h3 {
  margin: 0;
}

.landing-page .price-card .plan-description {
  min-height: 56px;
  margin-top: 8px;
}

.landing-page .price-value {
  margin-top: 10px;
}

.landing-page .price-value strong {
  color: var(--lp-navy);
  background: none;
  -webkit-text-fill-color: currentColor;
}

.landing-page .plan-guide {
  border-radius: 6px;
  background: #f0f6f8;
}

.landing-page .price-card li::before {
  content: "✓";
}

.landing-page .pricing-footer {
  display: block;
  max-width: 920px;
  margin: 26px auto 0;
  text-align: center;
}

.landing-page .faq-list details {
  border-radius: 8px;
}

.landing-page .final-cta {
  background: #075782;
}

.landing-page .final-cta .button {
  border-radius: 6px;
}

.landing-page .site-footer {
  position: relative;
  overflow: hidden;
  padding: 82px 0 30px;
  border: 0;
  color: #fff;
  background: #082f4e;
}

.landing-page .footer-wave {
  position: absolute;
  top: -24px;
  right: -5%;
  left: -5%;
  height: 84px;
  pointer-events: none;
}

.landing-page .footer-wave span {
  position: absolute;
  width: 110%;
  height: 70px;
  border-top: 3px solid rgba(58, 214, 211, 0.52);
  border-radius: 50%;
  animation: water-line-drift 8s ease-in-out infinite alternate;
}

.landing-page .footer-wave span:nth-child(2) {
  top: 19px;
  border-color: rgba(83, 183, 36, 0.42);
  animation-direction: alternate-reverse;
}

.landing-page .footer-grid {
  grid-template-columns: minmax(280px, 0.8fr) minmax(520px, 1.2fr);
  gap: 54px 72px;
}

.landing-page .footer-brand {
  align-items: flex-start;
  gap: 20px;
}

.landing-page .footer-brand img {
  width: 104px;
  height: 104px;
}

.landing-page .footer-brand > div {
  display: block;
}

.landing-page .footer-wordmark {
  display: flex;
  align-items: baseline;
  color: #fff;
  font-size: 34px;
  line-height: 1.12;
}

.landing-page .footer-wordmark > span,
.landing-page .footer-wordmark > em {
  display: inline;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.landing-page .footer-wordmark > em {
  color: var(--lp-cyan);
}

.landing-page .footer-brand small {
  display: flex;
  margin-top: 5px;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
}

.landing-page .footer-brand small > span {
  display: inline;
  color: #fff;
  font-size: inherit;
  line-height: inherit;
}

.landing-page .footer-brand small > em {
  display: inline;
  font-size: inherit;
  line-height: inherit;
}

.landing-page .footer-brand p {
  margin: 16px 0 0;
  color: #a9c6d2;
  font-size: 15px;
  line-height: 1.65;
}

.landing-page .footer-nav {
  display: grid;
  grid-template-columns: 0.8fr 1.3fr 0.95fr 1fr;
  align-items: start;
  gap: 34px;
}

.landing-page .footer-nav > div {
  display: grid;
  align-content: start;
  gap: 10px;
}

.landing-page .footer-nav strong {
  margin-bottom: 4px;
  color: #fff;
  font-size: 15px;
}

.landing-page .footer-nav a {
  color: #aac5d1;
  font-size: 14px;
  text-decoration: none;
}

.landing-page .footer-nav a:hover {
  color: #61d7d5;
}

.landing-page .footer-contact {
  scroll-margin-top: 96px;
}

.landing-page .footer-contact a {
  width: fit-content;
  border-bottom: 1px solid rgba(97, 215, 213, 0.28);
  padding-bottom: 3px;
}

.landing-page .footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: #84a8b8;
  font-size: 13px;
}

.landing-page .footer-bottom .copyright {
  margin: 0;
  padding: 0;
  border: 0;
  color: inherit;
  font-size: inherit;
}

@keyframes hero-image-breathe {
  from { transform: scale(1.01); }
  to { transform: scale(1.065); }
}

@keyframes water-line-drift {
  from { transform: translateX(-1.5%) translateY(4px); }
  to { transform: translateX(1.5%) translateY(-4px); }
}

@keyframes product-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes gauge-wave {
  from { transform: translateX(-4%); }
  to { transform: translateX(4%); }
}

@keyframes plan-water-move {
  from { transform: translateX(-2%) rotate(-1deg); }
  to { transform: translateX(2%) rotate(1deg); }
}

@media (max-width: 1020px) {
  .landing-page .site-container {
    width: min(920px, calc(100% - 40px));
  }

  .landing-page .hero-content h1 {
    font-size: 72px;
  }

  .landing-page .hero-title-support {
    font-size: 31px;
  }

  .landing-page .product-layout,
  .landing-page .role-layout {
    grid-template-columns: 1fr;
  }

  .landing-page .role-heading {
    grid-row: auto;
    max-width: 720px;
    margin-bottom: 20px;
  }

  .landing-page .role-panel {
    min-height: 340px;
  }

  .landing-page .pricing-calculator {
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  }

  .landing-page .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .landing-page .site-header,
  .landing-page .nav-row {
    height: 74px;
    min-height: 74px;
  }

  .landing-page .site-brand img {
    width: 46px;
    height: 46px;
  }

  .landing-page .site-nav.open {
    top: 74px;
    border-radius: 0 0 8px 8px;
    background: rgba(255, 255, 255, 0.98);
  }

  .landing-page .hero-section {
    min-height: calc(100svh - 22px);
    padding-top: 74px;
  }

  .landing-page .hero-section::before {
    background: linear-gradient(90deg, rgba(4, 34, 63, 0.97) 0%, rgba(4, 39, 68, 0.9) 60%, rgba(5, 53, 80, 0.48) 100%);
  }

  .landing-page .hero-image {
    object-position: 62% center;
  }

  .landing-page .hero-content {
    padding-block: 58px 58px;
  }

  .landing-page .hero-content h1 {
    font-size: 64px;
  }

  .landing-page .hero-title-support {
    font-size: 29px;
  }

  .landing-page .proof-grid {
    grid-template-columns: 1fr 1fr;
  }

  .landing-page .download-strip-inner,
  .landing-page .download-copy {
    align-items: flex-start;
    flex-direction: column;
  }

  .landing-page .download-strip-inner {
    gap: 18px;
    padding-block: 28px;
  }

  .landing-page .store-buttons {
    width: 100%;
  }

  .landing-page .proof-grid > div,
  .landing-page .proof-grid > div:first-child,
  .landing-page .proof-grid > div:nth-child(3) {
    border: 0;
    border-right: 1px solid #dfe9ef;
    border-bottom: 1px solid #dfe9ef;
    border-radius: 0;
  }

  .landing-page .workflow-list {
    grid-template-columns: 1fr 1fr;
    row-gap: 48px;
  }

  .landing-page .product-layout {
    gap: 46px;
  }

  .landing-page .product-media {
    min-height: 500px;
  }

  .landing-page .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .landing-page .role-panel {
    grid-template-columns: 1fr;
  }

  .landing-page .role-panel-visual {
    height: 320px;
  }

  .landing-page .pricing-calculator {
    grid-template-columns: 1fr;
  }

  .landing-page .pricing-grid {
    grid-template-columns: repeat(3, minmax(310px, 1fr));
    overflow-x: auto;
    padding: 4px 2px 18px;
    scroll-snap-type: x mandatory;
  }

  .landing-page .price-card {
    scroll-snap-align: start;
  }

  .landing-page .swipe-hint {
    display: flex;
  }
}

@media (max-width: 600px) {
  .app-download-banner {
    min-height: 66px;
    padding: 8px 16px;
  }

  .app-download-banner > strong {
    display: none;
  }

  .app-download-banner-actions {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-download-banner a {
    min-height: 46px;
    padding-inline: 8px;
  }

  .landing-page .site-container {
    width: calc(100% - 32px);
  }

  .landing-page .site-brand {
    min-width: 0;
  }

  .landing-page .brand-lockup strong {
    font-size: 22px;
  }

  .landing-page .brand-lockup small {
    font-size: 11px;
  }

  .landing-page .hero-content {
    padding-block: 42px 42px;
  }

  .landing-page .hero-content .section-kicker {
    margin-bottom: 16px;
    font-size: 13px;
  }

  .landing-page .hero-content h1 {
    font-size: 49px;
  }

  .landing-page .hero-title-support {
    max-width: 360px;
    margin-bottom: 16px;
    font-size: 24px;
  }

  .landing-page .hero-lead {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.62;
  }

  .landing-page .hero-actions .button {
    flex: 1 1 145px;
    min-height: 46px;
    padding-inline: 14px;
    font-size: 15px;
  }

  .landing-page .hero-workflow {
    grid-template-columns: 1fr 1fr;
    margin-top: 24px;
  }

  .landing-page .hero-workflow div,
  .landing-page .hero-workflow div + div {
    padding: 10px 11px;
    border-left: 0;
    border-bottom: 1px solid rgba(181, 235, 239, 0.2);
  }

  .landing-page .hero-workflow div:nth-child(even) {
    border-left: 1px solid rgba(181, 235, 239, 0.22);
  }

  .landing-page .hero-note {
    font-size: 12px;
  }

  .landing-page .download-copy {
    gap: 10px;
  }

  .landing-page .download-copy h2 {
    font-size: 22px;
  }

  .landing-page .download-copy p {
    font-size: 13px;
  }

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

  .landing-page .store-button {
    gap: 8px;
    min-height: 58px;
    padding: 9px 11px;
  }

  .landing-page .store-button strong {
    font-size: 17px;
  }

  .landing-page .store-platform-mark {
    width: 22px;
    min-width: 22px;
    font-size: 18px;
  }

  .landing-page .store-platform-apple {
    font-size: 25px;
  }

  .landing-page .proof-grid > div,
  .landing-page .proof-grid > div:first-child,
  .landing-page .proof-grid > div:nth-child(3),
  .landing-page .proof-grid > div:nth-last-child(-n + 2) {
    min-height: 96px;
    padding: 15px;
    border: 0;
    border-right: 1px solid #dfe9ef;
    border-bottom: 1px solid #dfe9ef;
    border-radius: 0;
  }

  .landing-page .proof-grid strong {
    font-size: 18px;
  }

  .landing-page .proof-grid span {
    font-size: 13px;
    line-height: 1.45;
  }

  .landing-page .page-section {
    padding: 74px 0;
  }

  .landing-page .section-heading {
    margin-bottom: 36px;
  }

  .landing-page .section-heading h2 {
    font-size: 32px;
  }

  .landing-page .workflow-list {
    grid-template-columns: 1fr;
    row-gap: 44px;
  }

  .landing-page .workflow-list li {
    min-height: 0;
    padding-top: 44px;
  }

  .landing-page .product-media {
    min-height: 390px;
  }

  .landing-page .desktop-shot {
    inset: 0 8px 42px 0;
  }

  .landing-page .mobile-shot {
    width: 132px;
    height: 282px;
  }

  .landing-page .feature-grid {
    grid-template-columns: 1fr;
  }

  .landing-page .feature-grid article {
    min-height: 0;
  }

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

  .landing-page .role-panel {
    padding: 24px;
  }

  .landing-page .role-panel-visual {
    height: 240px;
  }

  .landing-page .pricing-calculator {
    gap: 28px;
    margin-bottom: 38px;
    padding: 24px;
  }

  .landing-page .calculator-label-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .landing-page .range-scale span:nth-child(even) {
    display: none;
  }

  .landing-page .calculator-result {
    grid-template-columns: 108px 1fr;
    gap: 18px;
    min-height: 178px;
    padding: 20px;
  }

  .landing-page .meter-gauge {
    width: 104px;
  }

  .landing-page .calculator-price strong {
    font-size: 38px;
  }

  .landing-page .pricing-examples-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .landing-page .pricing-grid {
    grid-template-columns: repeat(3, minmax(82vw, 1fr));
  }

  .landing-page .price-card {
    min-height: 620px;
  }

  .landing-page .final-cta-inner,
  .landing-page .footer-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .landing-page .footer-brand img {
    width: 84px;
    height: 84px;
  }

  .landing-page .footer-wordmark {
    font-size: 29px;
  }

  .landing-page .footer-nav {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 390px) {
  .landing-page .hero-content h1 {
    font-size: 45px;
  }

  .landing-page .hero-title-support {
    font-size: 22px;
  }

  .landing-page .hero-lead {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
  }

  .landing-page .footer-nav {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-page .hero-image,
  .landing-page .hero-water-lines span,
  .landing-page .mobile-shot,
  .landing-page .meter-gauge-water::before,
  .landing-page .plan-water,
  .landing-page .footer-wave span {
    animation: none !important;
  }
}

/* ---- เครื่องหมายจดทะเบียนพาณิชย์อิเล็กทรอนิกส์ (กรมพัฒนาธุรกิจการค้า) ----
   รูปมาจากเซิร์ฟเวอร์ของกรมฯ โดยตรง ห้ามก๊อปมาวางเอง — ตัวเครื่องหมายผูกกับ
   การตรวจสอบสถานะทะเบียนของร้าน ถ้าโฮสต์เองแล้ววันหนึ่งสถานะเปลี่ยน
   เว็บจะยังโชว์ของเก่าค้างอยู่ กลายเป็นแสดงข้อมูลที่ไม่ตรงกับทะเบียนจริง

   กำหนด width/height ในแท็ก img ไว้ตามขนาดจริง (324x154) เบราว์เซอร์จะได้
   จองพื้นที่ถูกสัดส่วนตั้งแต่ก่อนรูปโหลดเสร็จ ฟุตเตอร์จะไม่กระตุกตอนรูปมาถึง */
.dbd-badge {
  display: inline-flex;
  align-self: center;
  line-height: 0;
}

.dbd-badge img {
  height: 52px;
  width: auto;
  display: block;
}

@media (max-width: 640px) {
  .dbd-badge img { height: 44px; }
}
