/* AiVendOS marketing — Apple-like calm + teal/amber identity */

:root {
  --teal-deep: #0b3d3a;
  --teal-mid: #145c57;
  --teal-soft: #1a6b65;
  --amber: #e8a317;
  --amber-hover: #f0b53a;
  --ink: #1d1d1f;
  --ink-muted: #5c5c62;
  --paper: #f5f5f7;
  --paper-2: #fbfbfd;
  --surface: #ffffff;
  --white: #ffffff;
  --line: rgba(0, 0, 0, 0.08);
  --font-display: "Fraunces", "Noto Serif SC", "Songti SC", Georgia, serif;
  --font-body: "Source Sans 3", "Noto Sans SC", "PingFang SC", "Segoe UI", sans-serif;
  --shell: min(980px, calc(100% - 3rem));
  --shell-wide: min(1120px, calc(100% - 3rem));
  --header-h: 3.15rem;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --section-y: clamp(4.75rem, 9.5vw, 7.75rem);
  --media-well: 13.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

  .reveal,
  .reveal-on-scroll,
  .product-figure,
  .hero-photo {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.47059;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--teal-mid);
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  padding: 0.5rem 0.85rem;
  background: var(--amber);
  color: var(--ink);
  font-weight: 600;
  border-radius: 980px;
}

.skip-link:focus {
  top: 0.75rem;
}

/* ——— Header ——— */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 245, 247, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(245, 245, 247, 0.86);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.55) inset;
}

.header-inner {
  width: var(--shell-wide);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand:hover {
  color: inherit;
}

.brand-mark {
  border-radius: 6px;
  width: 22px;
  height: 22px;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--teal-deep);
}

.nav {
  display: flex;
  gap: 1.5rem;
  margin-left: 0.75rem;
}

.nav a {
  text-decoration: none;
  font-weight: 400;
  font-size: 0.8125rem;
  color: var(--ink);
  opacity: 0.88;
}

.nav a:hover {
  opacity: 1;
  color: var(--ink);
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
}

.lang-switch button {
  appearance: none;
  border: 0;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-muted);
  padding: 0.28rem 0.5rem;
  border-radius: 980px;
  cursor: pointer;
  line-height: 1.2;
  min-height: 1.7rem;
}

.lang-switch button.is-active,
.lang-switch button[aria-pressed="true"] {
  background: rgba(11, 61, 58, 0.08);
  color: var(--teal-deep);
}

.menu-toggle {
  display: none;
  appearance: none;
  border: 0;
  background: transparent;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.55rem;
  cursor: pointer;
  margin-left: auto;
}

.menu-toggle span {
  display: block;
  height: 1.5px;
  background: var(--teal-deep);
  border-radius: 1px;
  transition: transform 0.35s var(--ease-out), opacity 0.2s;
}

.menu-toggle span + span {
  margin-top: 0.4rem;
}

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

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

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.35rem 1.5rem 1.25rem;
  background: rgba(245, 245, 247, 0.96);
}

.mobile-nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.7rem 0.15rem;
  color: var(--ink);
}

/* ——— Buttons ——— */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.4rem;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-decoration: none;
  border-radius: 980px;
  border: 1px solid transparent;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease), transform 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease);
}

.btn:hover {
  transform: scale(1.02);
}

.btn:active {
  transform: scale(0.98);
}

.btn-sm {
  padding: 0.4rem 0.9rem;
  font-size: 0.8125rem;
}

.btn-primary {
  background: var(--amber);
  color: var(--ink);
  border-color: var(--amber);
}

.btn-primary:hover {
  background: var(--amber-hover);
  border-color: var(--amber-hover);
  color: var(--ink);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--teal-deep);
  border-color: transparent;
}

.btn-ghost:hover {
  background: rgba(11, 61, 58, 0.06);
  color: var(--teal-deep);
}

.contact .btn-secondary {
  color: var(--teal-deep);
  border-color: rgba(11, 61, 58, 0.28);
}

.contact .btn-secondary:hover {
  background: rgba(11, 61, 58, 0.05);
  color: var(--teal-deep);
  border-color: var(--teal-deep);
}

/* ——— Hero ——— */

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-photo {
  width: 100%;
  height: 115%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
  transform: translate3d(0, 0, 0) scale(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(5, 28, 26, 0.88) 0%,
      rgba(8, 42, 40, 0.55) 42%,
      rgba(11, 61, 58, 0.2) 72%,
      rgba(11, 61, 58, 0.12) 100%
    );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: var(--shell-wide);
  margin-inline: auto;
  padding: 0 0 clamp(4.5rem, 10vh, 7rem);
  max-width: 44rem;
}

.hero-brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(3.25rem, 10vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.95;
  color: var(--white);
}

.hero-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
  max-width: none;
}

.hero-lead {
  margin: 0 0 1.85rem;
  font-size: 1.1875rem;
  font-weight: 400;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.72);
  max-width: 34ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.85s var(--ease-out) forwards;
}

.hero-brand.reveal {
  animation-delay: 0.06s;
}
.hero-title.reveal {
  animation-delay: 0.16s;
}
.hero-lead.reveal {
  animation-delay: 0.28s;
}
.hero-cta.reveal {
  animation-delay: 0.4s;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ——— Trust / proof line ——— */

.trust-strip {
  background: var(--paper);
  padding: 1.65rem 0 1.85rem;
}

.trust-inner {
  display: flex;
  justify-content: center;
  align-items: center;
}

.proof-line {
  margin: 0;
  max-width: 42rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.55;
  color: var(--ink-muted);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.proof-line.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ——— Sections ——— */

.section {
  padding: var(--section-y) 0;
}

.section-head {
  max-width: 30rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head-center {
  margin-inline: auto;
  text-align: center;
  max-width: 34rem;
}

.section-head h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2.05rem, 4.8vw, 3.15rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--teal-deep);
}

.section-head p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1.125rem;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.steps-grid .step-card:nth-child(2).reveal-on-scroll {
  transition-delay: 0.1s;
}
.steps-grid .step-card:nth-child(3).reveal-on-scroll {
  transition-delay: 0.2s;
}

.markets-grid .market-item:nth-child(2).reveal-on-scroll {
  transition-delay: 0.1s;
}
.markets-grid .market-item:nth-child(3).reveal-on-scroll {
  transition-delay: 0.2s;
}

/* ——— Product proof (sticky scale) ——— */

.product-proof {
  background: var(--paper-2);
  padding-bottom: 0;
}

.product-proof > .shell {
  padding-bottom: 0.5rem;
}

.product-stage {
  position: relative;
  height: 145vh;
  margin-top: 0.5rem;
}

.product-sticky {
  position: sticky;
  top: calc(var(--header-h) + 1.25rem);
  height: calc(100vh - var(--header-h) - 2.5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
  overflow: hidden;
}

.product-figure {
  margin: 0 auto;
  width: min(880px, 100%);
  transform: scale(0.9);
  opacity: 0.78;
  will-change: transform, opacity;
  transition: none;
}

.browser-frame {
  border-radius: 14px;
  overflow: hidden;
  background: #111;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 12px 36px rgba(11, 61, 58, 0.1),
    0 28px 64px rgba(11, 61, 58, 0.08);
}

.browser-chrome {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.9rem;
  background: #1c1c1e;
}

.browser-chrome span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.browser-chrome span:nth-child(1) {
  background: #ff5f57;
}
.browser-chrome span:nth-child(2) {
  background: #febc2e;
}
.browser-chrome span:nth-child(3) {
  background: #28c840;
}

.browser-frame img {
  width: 100%;
  height: auto;
  background: var(--surface);
}

.product-caption {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--ink-muted);
  letter-spacing: 0.01em;
}

/* ——— How it works ——— */

.how-it-works {
  background: var(--surface);
}

.steps-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 2.5rem;
}

.step-card {
  padding: 0;
  background: transparent;
  border: 0;
}

.step-num {
  display: block;
  margin-bottom: 0.85rem;
  font-family: var(--font-display);
  font-size: 2.65rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--teal-deep);
  opacity: 0.32;
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
}

.step-card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.step-card p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1.02rem;
  line-height: 1.5;
}

.step-aside {
  margin-top: 0.7rem !important;
  padding-top: 0;
  border-top: 0;
  font-size: 0.9rem !important;
  color: var(--teal-mid) !important;
  line-height: 1.45;
}

/* ——— Audience ——— */

.audiences-band {
  background: var(--paper);
}

.audience {
  border-bottom: 0;
}

.audience-ops {
  background: var(--paper);
  padding-bottom: calc(var(--section-y) * 0.55);
}

.audience-partners {
  background: var(--surface);
  padding-top: calc(var(--section-y) * 0.55);
}

.audience-row {
  display: grid;
  grid-template-columns: 1.2fr auto;
  align-items: center;
  column-gap: 3.5rem;
}

.audience-row-flip {
  grid-template-columns: auto 1.2fr;
}

.audience-row-flip .audience-media {
  order: -1;
  justify-self: start;
}

.audience-copy .vert-label {
  color: var(--teal-mid);
}

.audience-copy h2 {
  margin: 0.35rem 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.6vw, 2.55rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--teal-deep);
}

.audience-copy > p {
  margin: 0 0 1.65rem;
  color: var(--ink-muted);
  max-width: 34rem;
  font-size: 1.0625rem;
  line-height: 1.55;
}

.audience-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.audience-list h3 {
  margin: 0 0 0.2rem;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.audience-list p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.98rem;
  line-height: 1.5;
}

.audience-media,
.vert-media {
  justify-self: end;
  display: grid;
  place-items: center;
  width: var(--media-well);
  height: var(--media-well);
  max-width: var(--media-well);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(160deg, #eef3f1 0%, #dfe8e5 100%);
  border: 0;
  flex-shrink: 0;
}

.audience-media img,
.vert-media img {
  width: 52%;
  height: auto;
  max-height: 52%;
  object-fit: contain;
  filter: none;
  opacity: 0.95;
}

/* ——— Capabilities ——— */

.capabilities {
  background: var(--paper-2);
  padding: calc(var(--section-y) * 0.7) 0;
}

.capabilities .section-head {
  margin-bottom: 2rem;
}

.cap-tags {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 2rem;
  max-width: 40rem;
}

.cap-tags li {
  position: relative;
  padding-left: 0;
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.cap-tags li::before {
  display: none;
}

/* ——— Verticals ——— */

.verticals {
  background: var(--paper);
}

.vert-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.vert-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 3.25rem;
  padding: 2.65rem 0;
  border-top: 1px solid var(--line);
}

.vert-row:last-of-type {
  border-bottom: 1px solid var(--line);
}

.vert-row:nth-child(2).reveal-on-scroll {
  transition-delay: 0.06s;
}
.vert-row:nth-child(3).reveal-on-scroll {
  transition-delay: 0.12s;
}

.vert-copy {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.vert-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--amber);
}

.vert-row h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.6vw, 1.95rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--teal-deep);
}

.vert-row p {
  margin: 0;
  color: var(--ink-muted);
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.5;
}

.vert-coming {
  margin-top: 3.25rem;
  padding: 2rem 0 0;
  border-top: 1px solid var(--line);
  opacity: 0.88;
}

.vert-coming-head {
  max-width: 28rem;
  margin-bottom: 1.65rem;
}

.vert-coming-eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.vert-coming-head h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--teal-mid);
}

.vert-coming-head p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink-muted);
}

.vert-coming-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 2rem;
}

.vert-coming-list li {
  padding: 0;
  border: 0;
  background: transparent;
}

.vert-coming-list h4 {
  margin: 0 0 0.3rem;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-muted);
}

.vert-coming-list p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink-muted);
  opacity: 0.92;
}

.vert-media {
  justify-self: end;
}

/* ——— Markets ——— */

.markets {
  background: var(--teal-deep);
  color: var(--white);
  padding: var(--section-y) 0;
}

.markets .section-head {
  margin-bottom: 2.5rem;
  max-width: 30rem;
}

.markets .section-head h2 {
  color: var(--white);
  letter-spacing: -0.02em;
}

.markets .section-head p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.0625rem;
  line-height: 1.5;
}

.markets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 2.75rem;
  margin-bottom: 2.25rem;
  align-items: start;
}

.market-item {
  padding: 0;
  background: transparent;
  border: 0;
}

.market-item h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--amber);
}

.market-item p {
  margin: 0;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.55;
}

.markets-cloud {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.48);
  letter-spacing: 0.01em;
}

/* ——— FAQ ——— */

.faq {
  background: var(--paper);
}

.faq-list {
  max-width: 36rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 0;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 0;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.4;
}

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

.faq-item summary::after {
  content: "+";
  float: right;
  font-weight: 400;
  color: var(--ink-muted);
  opacity: 0.7;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item summary:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
  border-radius: 4px;
}

.faq-item p {
  margin: 0 0 1.15rem;
  color: var(--ink-muted);
  font-size: 1rem;
  line-height: 1.55;
  max-width: 36rem;
}

/* ——— Contact ——— */

.contact {
  background: var(--surface);
  text-align: center;
  padding: calc(var(--section-y) * 1.05) 0;
}

.contact-inner {
  max-width: 38rem;
  margin-inline: auto;
}

.contact h2 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(2.05rem, 4.5vw, 2.85rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: var(--teal-deep);
}

.contact-inner > p {
  margin: 0 0 1.25rem;
  color: var(--ink-muted);
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.5;
  white-space: nowrap;
}

.contact-who {
  margin: 0 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.contact-who p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--ink-muted);
  opacity: 0.92;
}

.contact-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* ——— Footer ——— */

.site-footer {
  background: var(--paper);
  border-top: 0;
  padding: 2.75rem 0 2.25rem;
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

.footer-inner {
  width: var(--shell-wide);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.75rem 3rem;
}

.footer-brand .brand-name {
  display: inline-block;
  margin-bottom: 0.3rem;
  font-size: 1rem;
}

.footer-brand p,
.footer-meta p {
  margin: 0 0 0.35rem;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.footer-links a {
  color: var(--teal-deep);
  font-weight: 500;
  text-decoration: none;
  opacity: 0.9;
}

.footer-links a:hover {
  text-decoration: underline;
  opacity: 1;
}

.copyright {
  font-size: 0.75rem;
  opacity: 0.75;
  margin-top: 0.15rem !important;
}

/* ——— Responsive ——— */

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

  .menu-toggle {
    display: block;
  }

  .header-actions .btn-ghost {
    display: none;
  }

  .header-actions {
    margin-left: 0;
    margin-right: 0.25rem;
  }

  .mobile-nav:not([hidden]) {
    display: flex;
  }

  .product-stage {
    height: auto;
  }

  .product-sticky {
    position: relative;
    top: auto;
    height: auto;
    padding: 0 1.25rem 3rem;
  }

  .product-figure {
    transform: none;
    opacity: 1;
  }
}

@media (max-width: 820px) {
  :root {
    --shell: calc(100% - 2rem);
    --shell-wide: calc(100% - 2rem);
  }

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

  .audience-row,
  .audience-row-flip {
    grid-template-columns: 1fr;
    row-gap: 2rem;
  }

  .audience-row-flip .audience-media,
  .audience-media,
  .vert-media {
    order: -1;
    justify-self: start;
    --media-well: 11rem;
    width: var(--media-well);
    height: var(--media-well);
    max-width: var(--media-well);
  }

  .markets-grid,
  .vert-coming-list {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .vert-row {
    grid-template-columns: 1fr;
    row-gap: 1.5rem;
    padding: 2.5rem 0;
  }

  .vert-media {
    order: -1;
  }

  .hero {
    align-items: flex-end;
  }

  .hero-inner {
    padding-bottom: 3.5rem;
  }

  .hero-title {
    font-size: clamp(1.2rem, 4.8vw, 1.55rem);
  }
}

@media (max-width: 480px) {
  .lang-switch button {
    padding: 0.3rem 0.4rem;
    font-size: 0.7rem;
  }

  .hero-cta .btn,
  .contact-cta .btn {
    width: 100%;
  }

  /* Prefer single line; if still tight, scale down further before wrapping */
  .hero-title {
    font-size: clamp(1.05rem, 5.2vw, 1.35rem);
    white-space: nowrap;
  }

  .contact-inner > p {
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: anywhere;
    font-size: 1rem;
    padding-inline: 0.25rem;
  }
}

@media (max-width: 360px) {
  .hero-title {
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: anywhere;
    line-height: 1.35;
  }
}

/* ——— CJK / Chinese rhythm ——— */

html[lang="zh-CN"] body,
html[lang="zh-CN"] {
  letter-spacing: 0;
}

html[lang="zh-CN"] {
  --font-display: "Noto Serif SC", "Fraunces", "Songti SC", serif;
  --font-body: "Noto Sans SC", "Source Sans 3", "PingFang SC", sans-serif;
}

html[lang="zh-CN"] .section-head h2,
html[lang="zh-CN"] .audience-copy h2,
html[lang="zh-CN"] .vert-row h3,
html[lang="zh-CN"] .contact h2,
html[lang="zh-CN"] .hero-title {
  letter-spacing: 0.01em;
  line-height: 1.28;
  font-weight: 600;
}

html[lang="zh-CN"] .hero-brand {
  letter-spacing: -0.02em;
}

html[lang="zh-CN"] .section-head p,
html[lang="zh-CN"] .audience-copy > p,
html[lang="zh-CN"] .vert-row p,
html[lang="zh-CN"] .hero-lead,
html[lang="zh-CN"] .contact-inner > p {
  line-height: 1.65;
  letter-spacing: 0.01em;
  word-break: keep-all;
}

html[lang="zh-CN"] .nav a,
html[lang="zh-CN"] .btn {
  letter-spacing: 0.02em;
}

html[lang="ms-MY"] .section-head h2,
html[lang="ms-MY"] .audience-copy h2 {
  line-height: 1.18;
  letter-spacing: -0.02em;
}
