:root {
  --ink: #141715;
  --muted: #5b625e;
  --paper: #f5f7f4;
  --surface: #ffffff;
  --line: #dfe5df;
  --green: #009b78;
  --green-dark: #006f57;
  --coral: #ff654f;
  --gold: #f3b33d;
  --violet: #7357d8;
  --shadow: 0 24px 70px rgba(20, 23, 21, 0.12);
  --soft-shadow: 0 16px 44px rgba(20, 23, 21, 0.08);
  --panel-shadow: 0 28px 80px rgba(20, 23, 21, 0.14);
  --control-shadow: 0 16px 40px rgba(20, 23, 21, 0.14);
  --control-glow: 0 0 0 1px rgba(255, 255, 255, 0.16) inset, 0 18px 44px rgba(0, 155, 120, 0.22);
  --focus-ring: 0 0 0 4px rgba(0, 155, 120, 0.16);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

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

[id] {
  scroll-margin-top: 104px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), transparent 340px),
    linear-gradient(90deg, rgba(0, 155, 120, 0.06), transparent 34%, rgba(243, 179, 61, 0.06)),
    var(--paper);
  font-family: "Noto Sans Thai", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 40;
  width: min(1360px, calc(100% - 48px));
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px 0 18px;
  color: #fff;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transform: translateX(-50%);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.site-header.scrolled,
.site-header.menu-open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(20, 23, 21, 0.08);
  box-shadow: 0 18px 50px rgba(20, 23, 21, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--green);
  border-radius: var(--radius);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand strong {
  font-size: 15px;
}

.brand small {
  margin-top: 4px;
  font-size: 11px;
  color: currentColor;
  opacity: 0.72;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a,
.nav-cta,
.icon-button {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius);
}

.nav-links a {
  padding: 0 12px;
  font-size: 14px;
  font-weight: 700;
  opacity: 0.86;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.15);
  opacity: 1;
}

.site-header.scrolled .nav-links a:hover,
.site-header.menu-open .nav-links a:hover {
  background: #edf3ef;
}

.page-video .nav-links a[href="./video.html"],
.page-automation .nav-links a[href="./automation.html"],
.page-api .nav-links a[href="./api.html"],
.page-payment .nav-links a[href="./payment.html"],
.page-flow .nav-links a[href="./flow.html"] {
  background: rgba(0, 155, 120, 0.1);
  color: var(--green-dark);
  opacity: 1;
}

.nav-links .nav-cta {
  position: relative;
  overflow: hidden;
  padding: 0 14px;
  color: #fff;
  background: linear-gradient(135deg, #00a77f, #00d7a4);
  opacity: 1;
  box-shadow: 0 12px 30px rgba(0, 155, 120, 0.26);
}

.language-switch {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(5, 8, 12, 0.22);
  backdrop-filter: blur(14px);
}

.site-header.scrolled .language-switch,
.site-header.menu-open .language-switch {
  border-color: rgba(20, 23, 21, 0.08);
  background: rgba(237, 243, 239, 0.9);
}

.lang-button {
  min-width: 38px;
  min-height: 30px;
  padding: 0 9px;
  border: 0;
  border-radius: 999px;
  color: currentColor;
  background: transparent;
  font-family: Inter, "Noto Sans Thai", sans-serif;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  opacity: 0.78;
}

.lang-button.active {
  color: var(--ink);
  background: #fff;
  opacity: 1;
  box-shadow: 0 10px 22px rgba(20, 23, 21, 0.12);
}

.nav-links svg,
.composer-tab svg,
.mode-pill svg,
.creator-submit svg,
.button svg,
.signal svg,
.text-link svg,
.case-card svg,
.safety-grid svg,
.toggle-button svg,
.capability-dock svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  stroke-width: 2.2;
}

.icon-button {
  width: 42px;
  color: currentColor;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-button {
  display: none;
}

.vidu-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: #080b0f;
  isolation: isolate;
}

.hero-media-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -2;
}

.stage-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.92) contrast(1.02) brightness(0.72);
}

.hero-media-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 8, 12, 0.68) 0%, rgba(5, 8, 12, 0.42) 36%, rgba(5, 8, 12, 0.86) 100%),
    linear-gradient(90deg, rgba(5, 8, 12, 0.74) 0%, rgba(5, 8, 12, 0.36) 48%, rgba(5, 8, 12, 0.72) 100%);
}

.stage-screen {
  position: absolute;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px);
  opacity: 0.52;
  filter: saturate(0.9);
}

.stage-screen::before {
  content: "";
  display: block;
  min-height: 100%;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 46%),
    linear-gradient(160deg, rgba(0, 155, 120, 0.68), rgba(255, 101, 79, 0.68) 52%, rgba(115, 87, 216, 0.72));
}

.primary-screen {
  right: 13%;
  top: 24%;
  width: 188px;
  height: 262px;
  transform: rotate(5deg);
  opacity: 0.48;
}

.secondary-screen {
  left: 10%;
  top: 30%;
  width: 154px;
  height: 218px;
  transform: rotate(-6deg);
  opacity: 0.28;
}

.tertiary-screen {
  right: 28%;
  bottom: 24%;
  width: 164px;
  height: 112px;
  transform: rotate(-3deg);
  opacity: 0.42;
}

.screen-label,
.play-chip {
  position: absolute;
  left: 14px;
  right: 14px;
  z-index: 1;
}

.screen-label {
  top: 14px;
  font-size: 12px;
  font-weight: 800;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.play-chip {
  bottom: 14px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 900;
}

.play-chip svg {
  width: 14px;
  height: 14px;
}

.hero-center {
  position: relative;
  z-index: 2;
  width: min(1040px, calc(100% - 48px));
  padding: 150px 0 248px;
  text-align: center;
  text-shadow: 0 18px 54px rgba(0, 0, 0, 0.46);
  perspective: 1100px;
}

.hero-kicker {
  width: fit-content;
  margin: 0 auto 18px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.1);
  font-family: Inter, "Noto Sans Thai", sans-serif;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  backdrop-filter: blur(18px);
}

.vidu-title {
  max-width: 1040px;
  margin: 0 auto;
  color: #fff;
  font-size: clamp(48px, 5.2vw, 78px);
  font-weight: 900;
  line-height: 1.02;
  transform: none;
  text-shadow: 0 18px 58px rgba(0, 0, 0, 0.58);
}

.vidu-creator {
  position: absolute;
  left: 50%;
  bottom: 104px;
  z-index: 3;
  width: min(820px, calc(100% - 44px));
  transform: translateX(-50%);
}

.mode-switch {
  width: fit-content;
  display: flex;
  gap: 6px;
  margin: 0 auto 10px;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(5, 8, 12, 0.28);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px);
}

.mode-pill {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  background: transparent;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.mode-pill.active {
  color: var(--ink);
  background: linear-gradient(180deg, #fff, #eef5f1);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

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

.creator-input-row {
  min-height: 74px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 8px 8px 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(24px);
}

.prompt-avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: radial-gradient(circle at 28% 20%, #77ffe2, #00a77f 58%, #006f57);
  box-shadow: 0 0 0 6px rgba(0, 155, 120, 0.12);
  font-family: Inter, "Noto Sans Thai", sans-serif;
  font-size: 12px;
  font-weight: 900;
}

.creator-input-row input {
  min-width: 0;
  width: 100%;
  height: 48px;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 17px;
  font-weight: 800;
}

.creator-input-row input::placeholder {
  color: rgba(20, 23, 21, 0.74);
  opacity: 1;
}

.creator-submit {
  position: relative;
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 30px;
  border-radius: 999px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 40%),
    linear-gradient(135deg, #050608, #1d2321);
  font-size: 17px;
  font-weight: 900;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.creator-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

.case-rail {
  position: absolute;
  right: clamp(24px, 3.4vw, 52px);
  top: 50%;
  z-index: 4;
  display: grid;
  justify-items: center;
  gap: 12px;
  width: 126px;
  transform: translateY(-50%);
  perspective: 760px;
  transform-style: preserve-3d;
}

.case-thumb {
  position: relative;
  width: 112px;
  min-height: 92px;
  display: grid;
  align-content: end;
  gap: 5px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
  color: #fff;
  text-align: left;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(5, 8, 12, 0.62)),
    rgba(255, 255, 255, 0.12);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.18) inset;
  transform: rotateY(-9deg) translateZ(0);
  transform-origin: center right;
  transform-style: preserve-3d;
  backdrop-filter: blur(14px);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, filter 180ms ease;
}

.case-thumb:nth-child(n + 4) {
  display: none;
}

.case-thumb::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 21px;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 42%),
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.18), transparent 36%);
  opacity: 0.68;
}

.case-thumb:nth-child(2) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(5, 8, 12, 0.6)),
    rgba(255, 101, 79, 0.34);
}

.case-thumb:nth-child(3) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(5, 8, 12, 0.6)),
    rgba(243, 179, 61, 0.34);
}

.case-thumb:nth-child(4) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(5, 8, 12, 0.6)),
    rgba(0, 155, 120, 0.34);
}

.case-thumb:nth-child(5) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(5, 8, 12, 0.6)),
    rgba(115, 87, 216, 0.34);
}

.case-thumb span,
.case-thumb strong {
  display: block;
  position: relative;
  z-index: 1;
  transform: translateZ(18px);
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 22px rgba(0, 0, 0, 0.46);
}

.case-thumb span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 900;
}

.case-thumb strong {
  font-size: 14px;
  line-height: 1.14;
}

.case-thumb.active {
  border-color: rgba(255, 255, 255, 0.84);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.16), 0 20px 44px rgba(0, 0, 0, 0.24);
  transform: rotateY(-9deg) translateZ(0);
}

.case-thumb:hover:not(.active) {
  filter: brightness(1.08);
  transform: rotateY(-5deg) scale(1.035) translateZ(16px);
}

.case-thumb:active,
.case-thumb.is-pressing {
  transform: rotateY(-7deg) scale(0.985) translateZ(8px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.capability-dock {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 3;
  width: min(860px, calc(100% - 44px));
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.2);
  transform: translateX(-50%);
  backdrop-filter: blur(20px);
}

.capability-dock a {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent),
    rgba(5, 8, 12, 0.26);
  font-size: 12px;
  font-weight: 900;
}

.capability-dock svg {
  color: #8bf5d4;
}

.hero {
  position: relative;
  min-height: 84svh;
  overflow: hidden;
  color: #fff;
  background: #101210;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(10, 12, 10, 0.86) 0%, rgba(10, 12, 10, 0.62) 34%, rgba(10, 12, 10, 0.08) 72%),
    linear-gradient(180deg, rgba(10, 12, 10, 0.22), rgba(10, 12, 10, 0.4));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding-top: 168px;
  padding-bottom: 84px;
}

.eyebrow {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0 0 14px;
  padding: 0 10px;
  border: 1px solid rgba(0, 155, 120, 0.14);
  border-radius: 999px;
  color: var(--green);
  background: rgba(0, 155, 120, 0.08);
  font-family: Inter, "Noto Sans Thai", sans-serif;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #74f0c9;
  border-color: rgba(116, 240, 201, 0.24);
  background: rgba(116, 240, 201, 0.12);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  max-width: 760px;
  font-size: 64px;
  font-weight: 800;
}

.hero-copy {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
  line-height: 1.7;
}

.hero-composer {
  width: min(720px, 100%);
  margin-top: 30px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.composer-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.composer-tab {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 13px;
  border: 0;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.84);
  background: transparent;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.composer-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.composer-tab.active {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
}

.composer-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
}

.composer-box textarea {
  width: 100%;
  min-width: 0;
  min-height: 66px;
  padding: 12px;
  resize: vertical;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 16px;
  line-height: 1.6;
}

.composer-box textarea::placeholder {
  color: #68706b;
  opacity: 1;
}

.composer-submit {
  align-self: stretch;
  min-width: 184px;
  white-space: nowrap;
}

.composer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 10px 4px 0;
}

.composer-links a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero-actions,
.api-actions,
.contact-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 30px;
}

.button {
  position: relative;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button::before,
.creator-submit::before,
.nav-links .nav-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.22) 42%, transparent 68%);
  opacity: 0;
  transform: translateX(-100%);
  transition: opacity 180ms ease, transform 360ms ease;
}

.button:hover,
.creator-submit:hover,
.nav-links .nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--control-shadow);
}

.button:active,
.button.is-pressing,
.creator-submit:active,
.creator-submit.is-pressing,
.nav-links .nav-cta:active,
.nav-links .nav-cta.is-pressing {
  transform: translateY(1px) scale(0.985);
  filter: saturate(0.96) brightness(0.96);
  box-shadow: 0 8px 18px rgba(20, 23, 21, 0.12), 0 2px 8px rgba(0, 0, 0, 0.18) inset;
}

.mode-pill:active,
.mode-pill.is-pressing,
.lang-button:active,
.lang-button.is-pressing,
.toggle-button:active,
.toggle-button.is-pressing,
.icon-button:active,
.icon-button.is-pressing {
  transform: translateY(1px) scale(0.97);
  filter: brightness(0.96);
}

.button:hover::before,
.creator-submit:hover::before,
.nav-links .nav-cta:hover::before {
  opacity: 1;
  transform: translateX(100%);
}

.button:focus-visible,
.creator-submit:focus-visible,
.mode-pill:focus-visible,
.case-thumb:focus-visible,
.icon-button:focus-visible,
.nav-links a:focus-visible {
  outline: 0;
  box-shadow: var(--focus-ring);
}

.button.primary {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 40%),
    linear-gradient(135deg, #00a77f, #00d7a4);
  box-shadow: var(--control-glow);
}

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

.button.dark {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 40%),
    linear-gradient(135deg, #050608, #222826);
}

.button.ghost {
  border-color: rgba(20, 23, 21, 0.06);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(237, 243, 239, 0.9));
  box-shadow: 0 10px 26px rgba(20, 23, 21, 0.06);
}

.button.full {
  width: 100%;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 680px;
  margin-top: 32px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 800;
}

.signal-band {
  width: min(1180px, calc(100% - 32px));
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin: -38px auto 0;
  position: relative;
  z-index: 5;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow);
}

.vidu-hero + .signal-band {
  margin-top: 0;
}

.signal {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 252, 250, 0.95));
  color: var(--ink);
  font-weight: 800;
}

.signal svg {
  width: 34px;
  height: 34px;
  padding: 8px;
  border-radius: 12px;
  color: #00a77f;
  background: rgba(0, 155, 120, 0.1);
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-art-band {
  position: relative;
  width: 100%;
  isolation: isolate;
  color: #fff;
  padding-top: 112px;
  padding-right: max(16px, calc((100% - 1180px) / 2));
  padding-bottom: 112px;
  padding-left: max(16px, calc((100% - 1180px) / 2));
}

.section-art-band::before,
.section-art-band::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: auto;
  pointer-events: none;
}

.section-art-band::before {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 8, 12, 0.88) 0%, rgba(5, 8, 12, 0.7) 42%, rgba(5, 8, 12, 0.28) 100%),
    linear-gradient(180deg, rgba(5, 8, 12, 0.24), rgba(5, 8, 12, 0.78)),
    var(--section-bg);
  background-size: cover;
  background-position: center;
}

.section-art-band::after {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 215, 164, 0.16), transparent 34%, rgba(243, 179, 61, 0.12)),
    linear-gradient(180deg, rgba(245, 247, 244, 0.08), transparent 22%, transparent 74%, rgba(245, 247, 244, 0.1));
}

.video-art-band {
  --section-bg: url("./assets/section-bg-video-v2.png");
}

.automation-art-band {
  --section-bg: url("./assets/section-bg-automation-v2.png");
}

.payment-art-band {
  --section-bg: url("./assets/section-bg-payment-v2.png");
}

.api-art-band {
  --section-bg: url("./assets/section-bg-api-v2.png");
}

.section-art-band .eyebrow,
.section-art-band h2,
.section-art-band .section-heading h2,
.section-art-band .showcase-copy h2,
.section-art-band .api-copy h2 {
  color: #fff;
  text-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.section-art-band .eyebrow {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
}

.section-art-band p,
.section-art-band .section-heading p,
.section-art-band .showcase-copy p,
.section-art-band .api-copy p {
  color: rgba(229, 250, 244, 0.88);
}

.section-art-band .step,
.section-art-band .case-card,
.section-art-band .path-card {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.section-art-band .step h3,
.section-art-band .case-card h3,
.section-art-band .path-card h3,
.section-art-band .step p,
.section-art-band .case-card p,
.section-art-band .path-card p {
  text-shadow: none;
}

.section-art-band .step h3,
.section-art-band .case-card h3,
.section-art-band .path-card h3 {
  color: var(--ink);
}

.section-art-band .step p,
.section-art-band .case-card p,
.section-art-band .path-card p {
  color: var(--muted);
}

.section-art-band .button.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
}

.home-lite .automation-section,
.home-lite .workflow,
.home-lite .use-cases,
.home-lite .api-section,
.home-lite .pricing,
.home-lite .payment-section,
.home-lite .safety {
  display: none;
}

.page-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 152px 0 86px;
}

.visual-page-hero {
  position: relative;
  width: min(1220px, calc(100% - 32px));
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  align-items: center;
  gap: 42px;
  min-height: 760px;
  isolation: isolate;
}

.visual-page-hero::before {
  content: "";
  position: absolute;
  top: 96px;
  bottom: 0;
  left: 50%;
  z-index: -1;
  width: 100vw;
  transform: translateX(-50%);
  border-bottom: 1px solid rgba(20, 23, 21, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 247, 244, 0.74)),
    linear-gradient(100deg, rgba(0, 155, 120, 0.08), transparent 42%, rgba(115, 87, 216, 0.06));
}

.visual-page-hero > .eyebrow,
.visual-page-hero > h1,
.visual-page-hero > p,
.visual-page-hero > .hero-actions {
  grid-column: 1;
}

.page-hero-media {
  grid-column: 2;
  grid-row: 1 / 5;
  overflow: hidden;
  min-height: 430px;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(20, 23, 21, 0.1);
  border-radius: var(--radius);
  background: #111514;
  box-shadow: var(--panel-shadow);
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.page-hero h1 {
  max-width: 820px;
  font-size: clamp(48px, 4.6vw, 64px);
  font-weight: 800;
}

.page-hero p {
  max-width: 700px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.video-materials-section {
  display: grid;
  grid-template-columns: minmax(360px, 0.78fr) minmax(0, 1.22fr);
  align-items: start;
  gap: 28px;
}

.video-materials-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(0, 155, 120, 0.08), rgba(247, 178, 68, 0.13)),
    #fff;
  box-shadow: 0 16px 44px rgba(20, 23, 21, 0.07);
}

.video-materials-copy h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.06;
}

.video-materials-copy > p:not(.eyebrow):not(.case-disclaimer) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.material-type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 4px;
}

.material-type-grid article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 12px;
  border: 1px solid rgba(24, 31, 27, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
}

.material-type-grid i {
  width: 22px;
  height: 22px;
  color: var(--green);
}

.material-type-grid span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
}

.video-materials-copy .button {
  width: fit-content;
  margin-top: 22px;
}

.stock-video-wall {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 176px;
  gap: 12px;
  overflow: hidden;
  min-height: 560px;
  padding: 14px;
  border: 1px solid rgba(20, 23, 21, 0.12);
  border-radius: var(--radius);
  background: #0d1211;
  box-shadow: var(--shadow);
}

.stock-video-card {
  position: relative;
  overflow: hidden;
  min-height: 170px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: #101614;
}

.stock-video-card.tall {
  grid-row: span 2;
}

.stock-video-card.wide {
  grid-column: span 2;
}

.stock-video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.stock-video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 44%, rgba(0, 0, 0, 0.72));
}

.stock-video-card > div {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  color: #fff;
}

.stock-video-card span {
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
}

.stock-video-card strong {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 999px;
  color: #dffff5;
  background: rgba(0, 155, 120, 0.72);
  font-size: 11px;
  font-weight: 900;
}

.materials-badge {
  position: relative;
  display: grid;
  align-content: center;
  align-self: stretch;
  gap: 4px;
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(8, 13, 12, 0.78);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
}

#video-materials-title {
  scroll-margin-top: 154px;
}

.materials-badge span {
  color: rgba(229, 250, 244, 0.78);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.materials-badge strong {
  font-size: 18px;
  line-height: 1.2;
}

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

.section-heading.compact {
  max-width: 720px;
}

.section-heading h2,
.api-copy h2,
.payment-card h2,
.final-cta h2 {
  font-size: 42px;
  font-weight: 800;
}

.section-heading p,
.api-copy p,
.payment-card p,
.final-cta p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

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

.path-card,
.case-card,
.price-card,
.safety-grid article,
.step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.path-card {
  min-height: 360px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.visual-path-card {
  min-height: 520px;
  overflow: hidden;
  padding: 0;
}

.visual-path-card > :not(.path-visual) {
  margin-left: 28px;
  margin-right: 28px;
}

.visual-path-card .card-icon {
  margin-top: 26px;
}

.visual-path-card .text-link {
  margin-bottom: 28px;
}

.path-visual {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.impact-cases {
  padding-top: 28px;
}

.service-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  align-items: stretch;
  gap: 28px;
}

.service-spotlight-media {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border-radius: var(--radius);
  background: #111614;
  box-shadow: var(--shadow);
}

.service-spotlight-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  opacity: 0.88;
}

.service-spotlight-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 13, 12, 0.08), rgba(10, 13, 12, 0.58));
}

.service-chat-stack {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 1;
  display: grid;
  gap: 10px;
  max-width: 460px;
}

.chat-bubble {
  width: fit-content;
  max-width: min(100%, 390px);
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.45;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
}

.chat-bubble.customer {
  color: #17201d;
  background: rgba(255, 255, 255, 0.94);
}

.chat-bubble.ai {
  justify-self: end;
  color: #fff;
  background: rgba(0, 155, 120, 0.92);
}

.chat-bubble.staff {
  color: #fff;
  background: rgba(82, 64, 132, 0.92);
}

.service-spotlight-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.service-spotlight-copy h2 {
  margin: 0;
  font-size: 44px;
  line-height: 1.04;
}

.service-spotlight-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.before-after-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 10px 0 18px;
}

.before-after-grid article {
  padding: 16px;
  border: 1px solid rgba(24, 31, 27, 0.1);
  border-radius: var(--radius);
  background: #f7f2eb;
}

.before-after-grid article:last-child {
  background: #eef8f4;
}

.before-after-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.before-after-grid strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.35;
}

.before-after-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.service-spotlight-copy .button {
  width: fit-content;
  margin-top: 22px;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.impact-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.impact-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.impact-card > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.impact-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.18;
}

.impact-card p:not(.label) {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.case-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.case-metrics span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--green-dark);
  background: rgba(0, 155, 120, 0.1);
  font-size: 12px;
  font-weight: 900;
}

.case-story-section {
  display: grid;
  gap: 28px;
}

.case-story {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: stretch;
  gap: 28px;
}

.case-story.reverse {
  grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1.08fr);
}

.case-story.reverse .case-story-media {
  order: 2;
}

.case-story.reverse .case-story-copy {
  order: 1;
}

.case-story-media {
  overflow: hidden;
  min-height: 420px;
  border-radius: var(--radius);
  background: #0f1412;
  box-shadow: var(--shadow);
}

.case-story-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.case-story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.case-story-copy h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.02;
}

.case-story-copy p:not(.eyebrow):not(.label):not(.case-disclaimer) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.case-metrics.large {
  margin-top: 18px;
}

.case-metrics.large span {
  min-height: 42px;
  padding: 8px 13px;
  font-size: 13px;
}

.case-disclaimer {
  margin-top: 18px;
  color: #7b6255;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.6;
}

.service-blueprint {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 22px;
  align-items: stretch;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(0, 155, 120, 0.11), rgba(247, 178, 68, 0.16)),
    #fff;
  box-shadow: var(--soft-shadow);
}

.service-blueprint-copy {
  align-self: center;
}

.service-blueprint-copy h3 {
  margin: 0;
  font-size: 30px;
  line-height: 1.12;
}

.service-blueprint-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.service-blueprint-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.service-blueprint-steps article,
.service-boundary-grid article {
  padding: 18px;
  border: 1px solid rgba(24, 31, 27, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
}

.service-blueprint-steps i,
.service-boundary-grid i {
  width: 26px;
  height: 26px;
  color: var(--green);
}

.service-blueprint-steps span {
  display: block;
  margin: 14px 0 8px;
  color: #a06f24;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.service-blueprint-steps h4,
.service-boundary-grid h4 {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.3;
}

.service-blueprint-steps p,
.service-boundary-grid p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.service-boundary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-boundary-grid article:nth-child(2) i {
  color: #8f5fff;
}

.service-boundary-grid article:nth-child(3) i {
  color: var(--gold);
}

.business-path {
  border-top: 5px solid var(--green);
}

.api-path {
  border-top: 5px solid var(--violet);
}

.automation-path {
  border-top: 5px solid var(--gold);
}

.card-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.32), transparent 34%),
    linear-gradient(135deg, #141715, #26302c);
  border-radius: var(--radius);
  box-shadow: 0 14px 32px rgba(20, 23, 21, 0.18);
}

.card-icon svg {
  width: 25px;
  height: 25px;
}

.label {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.path-card h3,
.case-card h3,
.price-card h3,
.safety-grid h3,
.step h3 {
  font-size: 24px;
}

.path-card p,
.case-card p,
.price-card p,
.safety-grid p,
.step p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-dark);
  font-weight: 900;
}

.text-link svg {
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
}

.showcase-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1.22fr);
  align-items: center;
  gap: 38px;
  padding-top: 34px;
}

.showcase-copy {
  max-width: 520px;
}

.showcase-copy h2 {
  margin: 0;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.08;
}

.showcase-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.showcase-media {
  overflow: hidden;
  border-radius: var(--radius);
  background: #111514;
  box-shadow: var(--shadow);
}

.showcase-media img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.step {
  min-height: 210px;
  padding: 26px;
}

.step-number {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  border: 1px solid rgba(255, 101, 79, 0.16);
  border-radius: var(--radius);
  color: var(--coral);
  background: rgba(255, 101, 79, 0.08);
  font-family: Inter, "Noto Sans Thai", sans-serif;
  font-size: 20px;
  font-weight: 800;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.safety-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.case-card,
.safety-grid article {
  min-height: 218px;
  padding: 24px;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.case-card:hover,
.safety-grid article:hover,
.path-card:hover,
.price-card:hover,
.step:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 155, 120, 0.24);
  box-shadow: 0 18px 46px rgba(20, 23, 21, 0.1);
}

.case-card svg,
.safety-grid svg {
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  padding: 11px;
  border-radius: var(--radius);
  color: #00a77f;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(235, 247, 242, 0.92));
  box-shadow: 0 12px 28px rgba(0, 155, 120, 0.12);
}

.api-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 34px;
}

.api-copy {
  max-width: 520px;
}

.api-actions {
  margin-top: 28px;
}

.code-panel {
  overflow: hidden;
  border-radius: var(--radius);
  background: #121514;
  box-shadow: var(--shadow);
}

.code-tabs {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.code-tabs span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--coral);
}

.code-tabs span:nth-child(2) {
  background: var(--gold);
}

.code-tabs span:nth-child(3) {
  background: var(--green);
}

pre {
  margin: 0;
  padding: 28px;
  overflow: auto;
  color: #e7fff8;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 14px;
  line-height: 1.8;
}

.model-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 24px 24px;
}

.model-list span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: #bff7e6;
  background: rgba(0, 155, 120, 0.14);
  font-size: 12px;
  font-weight: 800;
}

.toggle {
  width: fit-content;
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.toggle-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

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

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

.pricing-panel.active {
  display: grid;
}

.price-card {
  padding: 26px;
}

.price-card.featured {
  border-color: rgba(0, 155, 120, 0.46);
  box-shadow: var(--shadow);
}

.price-card h3 {
  margin: 8px 0 12px;
  color: var(--ink);
  font-family: Inter, "Noto Sans Thai", sans-serif;
  font-size: 34px;
}

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

.price-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
}

.price-card li svg {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--green);
  flex: 0 0 auto;
}

.payment-section {
  padding-top: 30px;
}

.payment-card {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 32px;
  padding: 34px;
  color: #fff;
  border-radius: var(--radius);
  background: var(--ink);
}

.payment-card .eyebrow,
.payment-card p {
  color: #bff7e6;
}

.payment-card h2 {
  color: #fff;
}

.payment-steps {
  display: grid;
  gap: 10px;
}

.payment-steps div {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 800;
}

.payment-steps span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--gold);
  border-radius: 999px;
  font-family: Inter, "Noto Sans Thai", sans-serif;
}

.flow-hero {
  position: relative;
  width: 100%;
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.6fr);
  align-items: end;
  gap: 34px;
  margin: 0 auto;
  padding: 160px max(16px, calc((100% - 1220px) / 2)) 74px;
  color: #fff;
  isolation: isolate;
}

.flow-hero::before {
  content: "";
  position: absolute;
  inset: 96px 0 0;
  width: auto;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 8, 12, 0.88), rgba(5, 8, 12, 0.56)),
    linear-gradient(180deg, rgba(5, 8, 12, 0.16), rgba(5, 8, 12, 0.84)),
    url("./assets/section-bg-api-v2.png");
  background-size: cover;
  background-position: center;
}

.flow-hero::after {
  content: "";
  position: absolute;
  inset: 96px 0 0;
  width: auto;
  z-index: -1;
  background:
    radial-gradient(circle at 16% 34%, rgba(0, 215, 164, 0.32), transparent 26%),
    radial-gradient(circle at 74% 36%, rgba(115, 87, 216, 0.3), transparent 24%),
    linear-gradient(90deg, rgba(0, 215, 164, 0.1) 1px, transparent 1px),
    linear-gradient(180deg, rgba(0, 215, 164, 0.08) 1px, transparent 1px);
  background-size: auto, auto, 56px 56px, 56px 56px;
}

.flow-hero h1 {
  max-width: 860px;
  margin-top: 12px;
  color: #fff;
  font-size: clamp(48px, 6vw, 86px);
  font-weight: 900;
  line-height: 0.98;
  text-shadow: 0 28px 70px rgba(0, 0, 0, 0.5);
}

.staff-only-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin-top: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(243, 179, 61, 0.48);
  border-radius: 999px;
  color: #ffe6a9;
  background: rgba(45, 30, 10, 0.52);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.flow-hero p:not(.eyebrow) {
  max-width: 740px;
  color: rgba(229, 250, 244, 0.9);
  font-size: 18px;
  line-height: 1.75;
}

.flow-hero .internal-note {
  max-width: 680px;
  margin-top: 14px;
  padding-left: 14px;
  border-left: 3px solid var(--gold);
  color: rgba(255, 236, 190, 0.92);
  font-size: 15px;
  line-height: 1.65;
}

.flow-legend {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(5, 8, 12, 0.42);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(20px);
}

.flow-legend span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 900;
}

.flow-legend i {
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: #74f0c9;
  box-shadow: 0 0 0 6px rgba(116, 240, 201, 0.12), 0 0 22px rgba(116, 240, 201, 0.7);
}

.flow-legend span:nth-child(2) i {
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(243, 179, 61, 0.12), 0 0 22px rgba(243, 179, 61, 0.7);
}

.flow-legend span:nth-child(3) i {
  background: var(--violet);
  box-shadow: 0 0 0 6px rgba(115, 87, 216, 0.12), 0 0 22px rgba(115, 87, 216, 0.7);
}

.flow-legend span:nth-child(4) i {
  background: var(--coral);
  box-shadow: 0 0 0 6px rgba(255, 101, 79, 0.12), 0 0 22px rgba(255, 101, 79, 0.7);
}

.flow-section {
  width: min(1320px, calc(100% - 32px));
}

.network-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(156px, 1fr));
  gap: 14px;
  overflow-x: auto;
  padding: 26px;
  border: 1px solid rgba(20, 23, 21, 0.08);
  border-radius: var(--radius);
  background:
    linear-gradient(115deg, rgba(0, 155, 120, 0.08), transparent 38%, rgba(115, 87, 216, 0.08)),
    #fff;
  box-shadow: var(--shadow);
}

.network-map::before,
.network-map::after {
  content: "";
  position: absolute;
  left: 36px;
  right: 36px;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(0, 155, 120, 0.52), rgba(115, 87, 216, 0.52), transparent);
}

.network-map::before {
  top: 43%;
}

.network-map::after {
  top: 67%;
  opacity: 0.55;
}

.network-layer {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 12px;
  min-width: 156px;
}

.network-layer > p {
  min-height: 26px;
  margin: 0;
  color: var(--green-dark);
  font-family: Inter, "Noto Sans Thai", sans-serif;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.network-node {
  position: relative;
  min-height: 142px;
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 18px;
  border: 1px solid rgba(20, 23, 21, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 46px rgba(20, 23, 21, 0.08);
  backdrop-filter: blur(14px);
}

.network-node::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -22px;
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 155, 120, 0.7), transparent);
}

.network-layer:last-child .network-node::before {
  display: none;
}

.network-node::after {
  content: "";
  position: absolute;
  top: calc(50% - 5px);
  right: -6px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #74f0c9;
  box-shadow: 0 0 0 7px rgba(0, 155, 120, 0.1), 0 0 22px rgba(0, 155, 120, 0.48);
}

.network-layer:last-child .network-node::after {
  display: none;
}

.network-node svg {
  width: 34px;
  height: 34px;
  padding: 8px;
  border-radius: var(--radius);
  color: #00a77f;
  background: rgba(0, 155, 120, 0.1);
}

.network-node h3 {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.12;
}

.network-node span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.money-node svg {
  color: #b77800;
  background: rgba(243, 179, 61, 0.16);
}

.core-node {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 42%),
    linear-gradient(135deg, #0b1513, #12372f);
  box-shadow: 0 22px 54px rgba(0, 80, 64, 0.22);
}

.core-node svg {
  color: #fff;
  background: rgba(116, 240, 201, 0.16);
}

.core-node span {
  color: rgba(229, 250, 244, 0.8);
}

.ai-node svg,
.upstream-node svg {
  color: #7357d8;
  background: rgba(115, 87, 216, 0.13);
}

.control-node svg {
  color: #ff654f;
  background: rgba(255, 101, 79, 0.12);
}

.loop-section {
  padding-top: 36px;
}

.loop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.loop-grid article {
  min-height: 216px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 14px 36px rgba(20, 23, 21, 0.06);
}

.loop-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  font-family: Inter, "Noto Sans Thai", sans-serif;
  font-weight: 900;
}

.loop-grid h3 {
  font-size: 23px;
}

.loop-grid p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.safety {
  padding-top: 48px;
}

.final-cta {
  width: min(1180px, calc(100% - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto 34px;
  padding: 42px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.final-cta > div:first-child {
  max-width: 710px;
}

.contact-actions {
  justify-content: flex-end;
}

.footer {
  width: min(1180px, calc(100% - 32px));
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin: 0 auto;
  padding: 24px 0 36px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  padding: 12px 14px;
  color: #fff;
  background: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    color: var(--ink);
    background: rgba(255, 255, 255, 0.94);
    border-color: rgba(20, 23, 21, 0.08);
    box-shadow: 0 18px 50px rgba(20, 23, 21, 0.12);
    backdrop-filter: blur(16px);
  }

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

  .nav-links {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid rgba(20, 23, 21, 0.08);
    border-radius: var(--radius);
    color: var(--ink);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
  }

  .site-header.menu-open .nav-links {
    display: flex;
  }

  .nav-links a {
    justify-content: flex-start;
    min-height: 46px;
  }

  .language-switch {
    width: 100%;
    justify-content: center;
    border-color: rgba(20, 23, 21, 0.08);
    background: #edf3ef;
  }

  .lang-button {
    flex: 1;
  }

  .nav-links .nav-cta {
    justify-content: center;
  }

  .vidu-hero {
    min-height: 100svh;
    place-items: start center;
  }

  .stage-photo {
    object-position: 58% center;
  }

  .stage-screen {
    display: none;
  }

  .hero-center {
    width: calc(100% - 30px);
    padding: 144px 0 238px;
  }

  .vidu-title {
    font-size: clamp(38px, 8.4vw, 60px);
    line-height: 1.04;
  }

  .vidu-creator {
    bottom: 84px;
    width: min(720px, calc(100% - 28px));
  }

  .creator-input-row {
    grid-template-columns: auto minmax(0, 1fr);
    border-radius: 28px;
    padding: 10px;
  }

  .creator-submit {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 52px;
  }

  .case-rail {
    display: none;
  }

  .capability-dock {
    width: 100%;
    bottom: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    transform: translateX(-50%);
    scrollbar-width: none;
  }

  .capability-dock::-webkit-scrollbar {
    display: none;
  }

  .capability-dock a:nth-child(n + 4) {
    display: none;
  }

  .hero {
    min-height: 78svh;
  }

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

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(10, 12, 10, 0.88), rgba(10, 12, 10, 0.52)),
      linear-gradient(180deg, rgba(10, 12, 10, 0.18), rgba(10, 12, 10, 0.54));
  }

  .hero-content {
    width: min(720px, calc(100% - 28px));
    padding-top: 128px;
    padding-bottom: 62px;
  }

  h1 {
    font-size: 44px;
  }

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

  .signal-band,
  .steps,
  .case-grid,
  .impact-grid,
  .safety-grid,
  .pricing-panel.active,
  .visual-page-hero,
  .showcase-section,
  .api-section,
  .payment-card,
  .video-materials-section,
  .case-story,
  .case-story.reverse,
  .service-spotlight,
  .service-blueprint,
  .service-blueprint-steps,
  .service-boundary-grid,
  .flow-hero,
  .path-grid {
    grid-template-columns: 1fr;
  }

  .case-story.reverse .case-story-media,
  .case-story.reverse .case-story-copy {
    order: initial;
  }

  .case-story-copy {
    padding: 30px;
  }

  .service-spotlight-copy,
  .service-blueprint {
    padding: 30px;
  }

  .service-spotlight-media,
  .service-spotlight-media img {
    min-height: 380px;
  }

  .service-spotlight-copy h2 {
    font-size: 34px;
  }

  .before-after-grid {
    grid-template-columns: 1fr;
  }

  .video-materials-copy {
    padding: 30px;
  }

  .stock-video-wall {
    grid-auto-rows: 170px;
    min-height: auto;
  }

  .stock-video-card {
    min-height: 0;
  }

  .case-story-media,
  .case-story-media img {
    min-height: 330px;
  }

  .flow-hero {
    min-height: auto;
    padding-top: 142px;
    padding-bottom: 58px;
  }

  .flow-hero h1 {
    font-size: clamp(42px, 9vw, 64px);
  }

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

  .network-map {
    grid-template-columns: repeat(7, minmax(168px, 168px));
    overflow-x: auto;
    padding: 18px;
    scroll-snap-type: x proximity;
  }

  .network-layer {
    scroll-snap-align: start;
  }

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

  .signal-band {
    margin-top: 0;
    width: 100%;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    box-shadow: none;
  }

  .section {
    padding: 70px 0;
  }

  .visual-page-hero > .eyebrow,
  .visual-page-hero > h1,
  .visual-page-hero > p,
  .visual-page-hero > .hero-actions,
  .page-hero-media {
    grid-column: 1;
  }

  .visual-page-hero {
    min-height: auto;
    gap: 28px;
  }

  .visual-page-hero::before {
    top: 76px;
    bottom: -20px;
  }

  .page-hero-media {
    grid-row: auto;
    min-height: 320px;
  }

  .page-hero-media img {
    min-height: 320px;
  }

  .showcase-section {
    gap: 24px;
  }

  .showcase-copy {
    max-width: none;
  }

  .showcase-copy h2 {
    font-size: 34px;
  }

  .showcase-media img {
    min-height: 300px;
  }

  .page-hero {
    padding: 122px 0 62px;
  }

  .page-hero h1 {
    font-size: 42px;
  }

  .page-hero p {
    font-size: 17px;
  }

  .page-hero .hero-actions,
  .api-actions {
    width: 100%;
  }

  .section-heading h2,
  .api-copy h2,
  .payment-card h2,
  .final-cta h2 {
    font-size: 34px;
  }

  .api-copy {
    max-width: none;
  }

  .final-cta {
    align-items: flex-start;
    flex-direction: column;
    padding: 30px;
  }

  .contact-actions {
    justify-content: flex-start;
  }

  .footer {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .brand strong {
    font-size: 13px;
  }

  .brand small {
    display: none;
  }

  .vidu-hero {
    min-height: 100svh;
  }

  .stage-photo {
    object-position: 62% center;
  }

  .hero-center {
    width: calc(100% - 26px);
    padding: 138px 0 238px;
  }

  .hero-kicker {
    font-size: 11px;
  }

  .vidu-title {
    font-size: clamp(34px, 9vw, 44px);
    line-height: 1.04;
  }

  .vidu-creator {
    bottom: 28px;
    width: calc(100% - 24px);
  }

  .capability-dock {
    display: none;
  }

  .mode-switch {
    width: 100%;
    justify-content: center;
    gap: 4px;
  }

  .mode-pill {
    flex: 1;
    min-height: 36px;
    padding: 0 8px;
    font-size: 12px;
  }

  .creator-input-row {
    gap: 8px;
  }

  .prompt-avatar {
    width: 34px;
    height: 34px;
  }

  .creator-input-row input {
    height: 42px;
    font-size: 14px;
  }

  .creator-submit {
    min-height: 50px;
    font-size: 15px;
  }

  .flow-hero {
    width: 100%;
    padding-inline: 12px;
    padding-top: 132px;
  }

  .flow-hero h1 {
    font-size: clamp(36px, 10vw, 46px);
  }

  .flow-hero p:not(.eyebrow) {
    font-size: 16px;
  }

  .flow-legend,
  .loop-grid {
    grid-template-columns: 1fr;
  }

  .impact-card > div,
  .case-story-copy {
    padding: 20px;
  }

  .service-spotlight-copy,
  .video-materials-copy,
  .service-blueprint {
    padding: 20px;
  }

  .service-spotlight-media,
  .service-spotlight-media img {
    min-height: 360px;
  }

  .service-chat-stack {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }

  .chat-bubble {
    max-width: 100%;
    font-size: 13px;
  }

  .service-spotlight-copy h2 {
    font-size: 28px;
  }

  .service-spotlight-copy > p:not(.eyebrow),
  .service-blueprint-copy p:not(.eyebrow) {
    font-size: 15px;
  }

  .service-blueprint-copy h3 {
    font-size: 24px;
  }

  .service-spotlight-copy .button {
    width: 100%;
  }

  .page-hero {
    width: calc(100% - 28px);
    padding-top: 112px;
  }

  .visual-page-hero {
    gap: 24px;
  }

  .visual-page-hero::before {
    top: 70px;
    bottom: -14px;
  }

  .page-hero h1 {
    font-size: clamp(34px, 10vw, 42px);
  }

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

  .video-materials-copy h2 {
    font-size: 28px;
  }

  .video-materials-copy > p:not(.eyebrow):not(.case-disclaimer) {
    font-size: 15px;
  }

  .material-type-grid {
    grid-template-columns: 1fr;
  }

  .video-materials-copy .button {
    width: 100%;
  }

  .stock-video-wall {
    grid-template-columns: 1fr;
    grid-auto-rows: 210px;
    min-height: auto;
    padding: 10px;
  }

  .stock-video-card,
  .stock-video-card.tall,
  .stock-video-card.wide {
    grid-row: auto;
    grid-column: auto;
    min-height: 210px;
  }

  .materials-badge {
    position: static;
    min-width: 0;
    max-width: 100%;
    padding: 12px 14px;
  }

  .materials-badge strong {
    font-size: 15px;
  }

  .impact-card h3 {
    font-size: 19px;
  }

  .case-story-copy h2 {
    font-size: 30px;
  }

  .case-story-copy p:not(.eyebrow):not(.label):not(.case-disclaimer) {
    font-size: 15px;
  }

  .case-story-media,
  .case-story-media img {
    min-height: 240px;
  }

  .case-metrics.large span {
    width: 100%;
    justify-content: center;
  }

  .network-map {
    width: calc(100vw - 24px);
    margin-left: calc(50% - 50vw + 12px);
    margin-right: calc(50% - 50vw + 12px);
    border-radius: 14px;
  }

  .capability-dock a {
    min-height: 52px;
    font-size: 12px;
  }

  .hero {
    min-height: 82svh;
  }

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

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(10, 12, 10, 0.92), rgba(10, 12, 10, 0.56)),
      linear-gradient(180deg, rgba(10, 12, 10, 0.12), rgba(10, 12, 10, 0.62));
  }

  .hero-content {
    width: calc(100% - 28px);
    padding-top: 118px;
    padding-bottom: 48px;
  }

  h1 {
    font-size: 34px;
  }

  .hero-copy,
  .page-hero p,
  .section-heading p,
  .api-copy p,
  .payment-card p,
  .final-cta p {
    font-size: 16px;
  }

  .hero-actions,
  .api-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
    min-height: 50px;
  }

  .composer-box {
    grid-template-columns: 1fr;
  }

  .composer-submit {
    width: 100%;
    min-width: 0;
  }

  .section {
    width: calc(100% - 28px);
    padding: 58px 0;
  }

  .page-hero {
    width: calc(100% - 28px);
    padding: 118px 0 52px;
  }

  .page-hero h1 {
    font-size: 34px;
  }

  .section-heading h2,
  .api-copy h2,
  .payment-card h2,
  .final-cta h2 {
    font-size: 28px;
  }

  .path-card,
  .case-card,
  .price-card,
  .safety-grid article,
  .step {
    padding: 22px;
  }

  .visual-path-card {
    padding: 0;
    min-height: auto;
  }

  .visual-path-card > :not(.path-visual) {
    margin-left: 22px;
    margin-right: 22px;
  }

  .visual-path-card .text-link {
    margin-bottom: 22px;
  }

  .path-visual {
    height: 170px;
  }

  .page-hero-media,
  .page-hero-media img {
    min-height: 240px;
  }

  .showcase-copy h2 {
    font-size: 28px;
  }

  .showcase-media img {
    min-height: 220px;
  }

  .price-card h3 {
    font-size: 28px;
  }

  pre {
    font-size: 12px;
    padding: 20px;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }

  .payment-card,
  .final-cta {
    padding: 24px;
  }
}
