@font-face {
  font-family: "Prapa Plex";
  src: url("/assets/fonts/IBMPlexSansThai-Regular.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Prapa Plex";
  src: url("/assets/fonts/IBMPlexSansThai-Medium.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}

@font-face {
  font-family: "Prapa Plex";
  src: url("/assets/fonts/IBMPlexSansThai-SemiBold.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}

@font-face {
  font-family: "Prapa Plex";
  src: url("/assets/fonts/IBMPlexSansThai-Bold.woff2") format("woff2");
  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 Plex", "Noto Sans Thai", "Leelawadee UI", Tahoma, Arial, sans-serif;
  font-size: 16px;
  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: 20px;
  font-weight: 700;
}

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

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

.site-nav > a:not(.button) {
  position: relative;
  color: #334d67;
  font-size: 14px;
  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: 12px;
  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: 18px;
  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: 13px;
}

.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: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.hero-workflow dd {
  margin: 3px 0 0;
  color: rgba(224, 243, 246, 0.76);
  font-size: 12px;
  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: 19px;
  font-weight: 600;
}

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

.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: 17px;
}

.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: 11px;
  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: 20px;
}

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

.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: 11px;
}

.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: 12px;
  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: 21px;
}

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

.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: 13px;
  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: 24px;
}

.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: 14px;
}

.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: 13px;
  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: 11px;
  font-weight: 600;
}

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

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

.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: 13px;
}

.price-saving {
  min-height: 24px;
  color: var(--green);
  font-size: 12px;
  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: 14px;
}

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

.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: 13px;
}

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

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

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

.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: 24px;
  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: 12px;
}

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

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

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

/* 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: 17px;
}

.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: 13px;
}

.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: 14px;
}

.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: 13px;
  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: 13px;
  font-weight: 600;
}

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

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

.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: 13px;
  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: 16px;
}

.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: 15px;
}

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

.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: 13px;
  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: 13px;
}

.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: 13px;
}

.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: 22px;
}

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

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

.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: 27px;
  font-weight: 900;
}

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

.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;
}

@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: 17px;
  }

  .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: 15px;
  }

  .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: 17px;
  }

  .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;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-inline: auto;
  }

  .price-card {
    min-height: 0;
  }

  .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: 16px;
  }

  .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: 30px;
  }

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

  .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;
  }
}
