:root {
  --bg: #f5f7ff;
  --surface: #ffffff;
  --surface-2: #fbfcff;
  --text: #101828;
  --muted: #667085;
  --line: rgba(36, 101, 237, 0.1);
  --line-strong: rgba(36, 101, 237, 0.18);

  --dark: #06184a;
  --dark-2: #020817;
  --dark-line: rgba(255, 255, 255, 0.14);

  --brand: #2465ed;
  --brand-dark: #06184a;
  --brand-soft: #eaf1ff;
  --brand-green: #0fa7d8;
  --button: #2465ed;
  --button-hover: #0f56d9;
  --button-text: #ffffff;

  --kitva-blue: #2465ed;
  --kitva-cyan: #0fa7d8;
  --kitva-violet: #6b39e4;
  --kitva-pink: #c543b3;
  --kitva-navy: #06184a;

  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-pill: 999px;

  --max-width: 1280px;
  --content-width: 840px;
  --ease: 220ms ease;

  --shadow-soft: 0 20px 70px rgba(36, 101, 237, 0.08);
  --shadow-card: 0 18px 48px rgba(36, 101, 237, 0.1);
  --shadow-device:
    0 30px 80px rgba(16, 24, 40, 0.16),
    0 0 0 1px rgba(36, 101, 237, 0.05);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html.nav-open,
body.nav-open {
  overflow: hidden;
  height: 100%;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Noto Sans TC",
    "Helvetica Neue",
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.lang-zh {
  letter-spacing: 0.01em;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.narrow {
  max-width: 840px;
}

.center {
  text-align: center;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 252, 255, 0.78);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: background var(--ease), border-color var(--ease);
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(251, 252, 255, 0.94);
}

.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 1.38rem;
  font-weight: 620;
  letter-spacing: -0.035em;
}

.brand-mark {
  width: 50px;
  height: 50px;
  display: inline-grid;
  place-items: center;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
  flex-shrink: 0;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  display: inline-block;
  line-height: 1;
  font-size: clamp(2.15rem, 1.85vw, 2.4rem);
  font-weight: 620;
  letter-spacing: -0.045em;
  background: linear-gradient(
    135deg,
    var(--kitva-blue) 0%,
    var(--kitva-cyan) 52%,
    var(--kitva-violet) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

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

.nav-link,
.nav-trigger {
  font-size: 1.02rem;
  color: var(--muted);
  transition: color var(--ease);
}

.nav-link:hover,
.nav-trigger:hover {
  color: var(--kitva-blue);
}

.nav-item {
  position: relative;
}

.nav-item.has-dropdown {
  display: flex;
  align-items: center;
  height: 76px;
}

.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.chevron {
  width: 8px;
  height: 8px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform var(--ease);
}

.has-dropdown:hover .chevron,
.has-dropdown:focus-within .chevron,
.has-dropdown.is-open .chevron {
  transform: rotate(225deg) translateY(-1px);
}

.has-dropdown::after {
  content: "";
  position: absolute;
  left: -16px;
  right: -16px;
  top: 100%;
  height: 18px;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 278px;
  max-height: min(70vh, 620px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 14px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 22px 70px rgba(16, 24, 40, 0.13);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease), transform var(--ease);
  z-index: 120;
}

.has-dropdown:hover .dropdown-panel,
.has-dropdown:focus-within .dropdown-panel,
.has-dropdown.is-open .dropdown-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-label {
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 620;
  color: var(--muted);
}

.dropdown-link {
  display: block;
  padding: 12px;
  border-radius: 15px;
  transition: background var(--ease), transform var(--ease);
}

.dropdown-link:hover {
  background: #f2f6ff;
  transform: translateY(-1px);
}

.dropdown-link span {
  display: block;
  font-size: 0.95rem;
  font-weight: 620;
  color: var(--text);
}

.dropdown-link small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.66);
}

.lang-button {
  min-width: 38px;
  height: 34px;
  padding: 0 11px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 720;
  cursor: pointer;
  transition: background var(--ease), color var(--ease);
}

.lang-button.active {
  background: var(--dark);
  color: #ffffff;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  margin: 4px auto;
  transition: transform var(--ease), opacity var(--ease);
}

.menu-toggle.active span:first-child {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.active span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

/* Hero */

.hero-home {
  padding: 48px 0 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f7ff 100%);
}

.hero-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-logo-card {
  position: relative;
  width: 100%;
  min-height: clamp(420px, 56vh, 620px);
  border-radius: 44px;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  place-items: center;
  border: 1px solid rgba(36, 101, 237, 0.18);
  background:
    radial-gradient(circle at 50% 46%, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0.58) 16%, rgba(245, 248, 255, 0.20) 31%, transparent 44%),
    linear-gradient(135deg, rgba(232, 240, 255, 0.72) 0%, rgba(229, 247, 255, 0.66) 34%, rgba(238, 231, 255, 0.68) 67%, rgba(255, 235, 250, 0.52) 100%);
  box-shadow:
    0 30px 90px rgba(36, 101, 237, 0.14),
    0 12px 40px rgba(107, 57, 228, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.hero-logo-card::before {
  content: "";
  position: absolute;
  inset: -42%;
  z-index: -2;
  background:
    radial-gradient(circle at 14% 24%, rgba(36, 101, 237, 0.95), transparent 20%),
    radial-gradient(circle at 86% 18%, rgba(15, 167, 216, 0.92), transparent 22%),
    radial-gradient(circle at 76% 82%, rgba(107, 57, 228, 0.88), transparent 24%),
    radial-gradient(circle at 18% 84%, rgba(197, 67, 179, 0.72), transparent 22%),
    radial-gradient(circle at 44% 70%, rgba(36, 101, 237, 0.46), transparent 20%),
    radial-gradient(circle at 62% 38%, rgba(255, 255, 255, 0.62), transparent 23%);
  filter: blur(54px) saturate(1.45);
  opacity: 1;
  animation: kitvaLumenFlow 4.6s ease-in-out infinite alternate;
}

.hero-logo-card::after {
  content: "";
  position: absolute;
  inset: -22%;
  z-index: -1;
  background:
    linear-gradient(
      112deg,
      transparent 12%,
      rgba(255, 255, 255, 0.06) 24%,
      rgba(255, 255, 255, 0.68) 38%,
      rgba(255, 255, 255, 0.24) 52%,
      transparent 68%
    ),
    radial-gradient(circle at 48% 46%, rgba(255, 255, 255, 0.34), transparent 25%);
  opacity: 0.95;
  mix-blend-mode: screen;
  animation: kitvaLumenSweep 2.9s linear infinite;
}

.hero-logo-card-content {
  position: relative;
  z-index: 2;
  width: min(100%, 1040px);
  min-height: clamp(420px, 56vh, 620px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 52px 34px;
}

.hero-center-logo {
  width: clamp(68px, 6vw, 100px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 30px rgba(36, 101, 237, 0.16));
}

@keyframes kitvaLumenFlow {
  0% {
    transform: translate3d(-7%, -5%, 0) scale(1.02) rotate(0deg);
  }

  20% {
    transform: translate3d(6%, -3%, 0) scale(1.16) rotate(5deg);
  }

  45% {
    transform: translate3d(5%, 6%, 0) scale(1.24) rotate(-4deg);
  }

  70% {
    transform: translate3d(-5%, 5%, 0) scale(1.16) rotate(4deg);
  }

  100% {
    transform: translate3d(6%, -6%, 0) scale(1.26) rotate(-5deg);
  }
}

@keyframes kitvaLumenSweep {
  0% {
    transform: translateX(-62%) skewX(-12deg);
    opacity: 0;
  }

  16% {
    opacity: 0.82;
  }

  48% {
    opacity: 1;
  }

  76% {
    opacity: 0.62;
  }

  100% {
    transform: translateX(62%) skewX(-12deg);
    opacity: 0;
  }
}


.hero-title,
.page-title,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.045em;
}

.hero-title,
.page-title {
  line-height: 1.02;
  font-weight: 780;
}

.hero-title {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(3.4rem, 6.2vw, 6.4rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.page-title {
  font-size: clamp(2.55rem, 6vw, 4.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.08;
  font-weight: 720;
}

h3 {
  font-size: clamp(1.24rem, 2vw, 1.62rem);
  line-height: 1.16;
  font-weight: 650;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 1.05rem;
}

.section-dark p {
  color: rgba(255, 250, 243, 0.74);
}

.eyebrow,
.mini-label {
  display: inline-block;
  margin: 0 0 12px;
  font-size: 0.94rem;
  font-weight: 620;
  letter-spacing: -0.01em;
  color: var(--brand);
}

.section-dark .eyebrow,
.section-dark .mini-label,
.premium-eyebrow {
  color: rgba(165, 220, 255, 0.86);
}

.hero-subtitle,
.page-intro,
.section-copy,
.legal-lead {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle {
  max-width: 980px;
  margin-top: 0;
  font-size: clamp(1.24rem, 1.65vw, 1.55rem);
  line-height: 1.58;
  color: rgba(79, 93, 121, 0.96);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.18);
}

.page-intro {
  margin-top: 18px;
  font-size: 1.12rem;
}

.left-copy {
  margin-left: 0;
  margin-right: 0;
}

/* Buttons */

.hero-actions,
.card-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-logo-card .hero-actions {
  margin-top: 0;
}

.hero-actions.left,
.card-actions {
  justify-content: flex-start;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: var(--radius-pill);
  font-size: 0.98rem;
  font-weight: 680;
  transition:
    transform var(--ease),
    background var(--ease),
    color var(--ease),
    border-color var(--ease),
    box-shadow var(--ease);
}

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

.button-primary {
  background: linear-gradient(135deg, var(--kitva-blue) 0%, var(--kitva-cyan) 100%);
  color: var(--button-text);
  box-shadow: 0 12px 30px rgba(36, 101, 237, 0.24);
}

.button-primary:hover {
  background: linear-gradient(135deg, #1c57db 0%, #0b99c8 100%);
}

.button-secondary {
  color: var(--button);
  border: 1px solid rgba(36, 101, 237, 0.18);
  background: rgba(255, 255, 255, 0.52);
}

.button-secondary:hover {
  border-color: rgba(36, 101, 237, 0.28);
  background: rgba(255, 255, 255, 0.92);
}

.text-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--button);
  font-weight: 640;
}

.text-link:hover {
  text-decoration: underline;
}

/* Sections */

.section {
  padding: 96px 0;
}

.section-home-cards {
  padding-top: 34px;
}

.section-light {
  background: var(--surface);
}

.section-dark {
  background:
    radial-gradient(circle at 18% 0%, rgba(36, 101, 237, 0.42), transparent 34%),
    radial-gradient(circle at 84% 20%, rgba(15, 167, 216, 0.32), transparent 34%),
    radial-gradient(circle at 50% 110%, rgba(197, 67, 179, 0.2), transparent 36%),
    linear-gradient(180deg, var(--dark) 0%, #020817 100%);
  color: #ffffff;
}

.slim-band {
  padding: 42px 0;
}

.band-copy {
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 620;
  letter-spacing: -0.035em;
  color: #ffffff !important;
}

.home-card-stack,
.card-grid {
  display: grid;
  gap: 24px;
}

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

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

/* Cards */

.feature-card,
.support-card,
.info-card,
.legal-shell,
.cta-box,
.notice,
.info-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.feature-card {
  padding: 34px;
}

.feature-card-product {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
}

.feature-card-copy h2,
.support-card h2,
.info-card h3 {
  margin-bottom: 12px;
}

.feature-card-visual {
  display: flex;
  justify-content: center;
}

.product-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.support-card,
.info-card {
  padding: 28px;
}

/* Homepage product titles */

.home-product-title {
  margin: 0 0 10px;
  font-size: clamp(2.45rem, 4.7vw, 4.45rem);
  line-height: 1;
  font-weight: 640;
  letter-spacing: -0.045em;
  color: var(--text);
}

.home-product-tagline {
  margin: 0 0 14px;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.28;
  font-weight: 620;
  letter-spacing: -0.025em;
  color: var(--kitva-blue);
}

.product-row .home-product-title {
  font-size: clamp(2.2rem, 3.9vw, 3.65rem);
}

/* Device / images */

.device-frame {
  max-width: 300px;
  margin: 0 auto;
}

.device-frame-large {
  max-width: 360px;
}

.story-device {
  max-width: 360px;
}

.device-frame img {
  width: 100%;
  height: auto;
  border-radius: 34px;
  box-shadow: var(--shadow-device);
}

.app-showcase {
  position: relative;
  min-height: 460px;
  display: grid;
  place-items: center;
  padding: 34px;
  border-radius: 38px;
  background:
    linear-gradient(145deg, rgba(251, 252, 255, 0.92), rgba(234, 241, 255, 0.72)),
    radial-gradient(circle at 30% 20%, rgba(36, 101, 237, 0.12), transparent 42%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.app-showcase img {
  position: relative;
  z-index: 2;
  max-width: 330px;
  width: 100%;
  border-radius: 30px;
  box-shadow: var(--shadow-device);
}

.app-showcase.image-missing img {
  display: none;
}

.image-fallback {
  position: absolute;
  inset: 34px;
  z-index: 1;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px dashed rgba(36, 101, 237, 0.26);
  border-radius: 28px;
  color: var(--muted);
}

.image-fallback span {
  display: block;
  color: var(--text);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 620;
  letter-spacing: -0.045em;
}

.image-fallback small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Product pages */

.page-hero {
  padding: 94px 0 76px;
  background:
    radial-gradient(circle at 18% 0%, rgba(36, 101, 237, 0.12), transparent 36%),
    radial-gradient(circle at 88% 12%, rgba(15, 167, 216, 0.12), transparent 34%),
    radial-gradient(circle at 58% 105%, rgba(107, 57, 228, 0.08), transparent 38%),
    linear-gradient(180deg, #ffffff 0%, #f6f8ff 100%);
}

.page-hero-compact {
  padding-bottom: 48px;
}

.arrival-hero {
  padding-bottom: 86px;
}

.product-hero-bookmay {
  background:
    radial-gradient(circle at 18% 0%, rgba(36, 101, 237, 0.12), transparent 36%),
    radial-gradient(circle at 88% 12%, rgba(15, 167, 216, 0.12), transparent 34%),
    radial-gradient(circle at 55% 105%, rgba(197, 67, 179, 0.06), transparent 36%),
    linear-gradient(180deg, #ffffff 0%, #f6f8ff 100%);
}

.product-hero-food {
  background:
    radial-gradient(circle at 18% 0%, rgba(36, 101, 237, 0.1), transparent 36%),
    radial-gradient(circle at 88% 12%, rgba(15, 167, 216, 0.12), transparent 34%),
    radial-gradient(circle at 55% 105%, rgba(107, 57, 228, 0.08), transparent 36%),
    linear-gradient(180deg, #ffffff 0%, #f6f8ff 100%);
}

.product-hero-grid,
.split-layout,
.story-block {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.story-block-reverse .story-copy {
  order: 2;
}

.story-block-reverse .story-visual {
  order: 1;
}

.section-heading {
  margin: 0 auto 42px;
  max-width: 860px;
}

.section-copy {
  margin-top: 16px;
}

.arrival-story-section {
  overflow: hidden;
}

.info-panel {
  padding: 34px;
}

.brand-panel {
  background:
    radial-gradient(circle at 20% 0%, rgba(36, 101, 237, 0.12), transparent 42%),
    var(--surface);
}

/* About section side buffer */

#about .split-layout {
  width: min(calc(100% - 96px), var(--max-width));
  margin-left: auto;
  margin-right: auto;
}

/* Lists */

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

.bullet-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  line-height: 1.55;
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}

.bullet-list-light li {
  color: rgba(255, 250, 243, 0.74);
}

.bullet-list-light li::before {
  background: rgba(165, 220, 255, 0.86);
}

.premium-highlight {
  color: #ffffff;
}

.premium-copy {
  color: rgba(255, 250, 243, 0.76);
}

/* CTA / contact */

.cta-section {
  padding-top: 70px;
}

.cta-box {
  padding: 58px 36px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(36, 101, 237, 0.11), transparent 42%),
    var(--surface);
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.contact-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
  transition: transform var(--ease), border-color var(--ease), background var(--ease);
}

.contact-row:hover {
  transform: translateY(-1px);
  border-color: rgba(36, 101, 237, 0.24);
  background: var(--surface);
}

.contact-label {
  color: var(--muted);
  font-weight: 620;
}

/* Legal pages */

.legal-section-wrap {
  padding-top: 28px;
}

.legal-shell {
  padding: 38px;
}

.legal-header {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.legal-header h2 {
  margin-bottom: 12px;
}

.legal-lead {
  max-width: none;
  margin-top: 0;
}

.legal-sections {
  display: grid;
  gap: 30px;
  margin-top: 30px;
}

.legal-block h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.legal-block p + p {
  margin-top: 12px;
}

.legal-block ul {
  margin: 12px 0 0;
  padding-left: 22px;
  color: var(--muted);
}

.legal-block li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.legal-block a {
  color: var(--kitva-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Footer */

.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner p,
.footer-links a {
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: var(--muted);
  transition: color var(--ease);
}

.footer-links a:hover {
  color: var(--kitva-blue);
}

/* Animation */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

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

/* Reduced motion */

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

  .button,
  .dropdown-panel,
  .reveal,
  .menu-toggle span,
  .chevron,
  .hero-logo-card::before,
  .hero-logo-card::after {
    transition: none;
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Responsive */

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

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

  .product-hero-grid,
  .split-layout,
  .story-block,
  .feature-card-product {
    gap: 42px;
  }

  #about .split-layout {
    width: min(calc(100% - 64px), var(--max-width));
  }
}

@media (max-width: 860px) {
  .product-hero-grid,
  .split-layout,
  .story-block,
  .feature-card-product {
    grid-template-columns: 1fr;
  }

  .story-block-reverse .story-copy,
  .story-block-reverse .story-visual {
    order: initial;
  }

  .hero-actions.left,
  .card-actions {
    justify-content: center;
  }

  .product-hero-copy,
  .split-copy,
  .story-copy {
    text-align: center;
  }

  .left-copy {
    margin-left: auto;
    margin-right: auto;
  }

  .product-row {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .product-row .button {
    justify-self: center;
  }

  .card-grid-3 {
    grid-template-columns: 1fr;
  }

  .app-showcase {
    min-height: 380px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .nav {
    height: 68px;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .brand-text {
    font-size: clamp(1.38rem, 5.8vw, 1.6rem);
    font-weight: 640;
    letter-spacing: -0.04em;
  }

  .menu-toggle {
    display: inline-block;
  }

  .nav-links {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 78px;
    display: block;
    max-height: calc(100dvh - 94px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 14px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: 0 22px 70px rgba(16, 24, 40, 0.14);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity var(--ease), transform var(--ease);
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-link,
  .nav-trigger {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 13px 12px;
    border-radius: 14px;
    color: var(--text);
  }

  .nav-link:hover,
  .nav-trigger:hover {
    background: #f2f6ff;
  }

  .nav-item.has-dropdown {
    display: block;
    height: auto;
  }

  .has-dropdown::after {
    display: none;
  }

  .dropdown-panel {
    position: static;
    width: 100%;
    max-height: none;
    overflow: visible;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    display: none;
    margin-top: 4px;
    box-shadow: none;
    background: #f2f6ff;
  }

  .has-dropdown:hover .dropdown-panel,
  .has-dropdown:focus-within .dropdown-panel {
    display: none;
    transform: none;
  }

  .has-dropdown.is-open .dropdown-panel {
    display: block;
  }

  .language-switcher {
    margin: 12px 12px 4px;
  }

  .hero-home,
  .page-hero {
    padding-top: 40px;
  }

  .hero-logo-card {
    min-height: clamp(360px, 58vh, 500px);
    border-radius: 30px;
  }

  .hero-logo-card-content {
    min-height: clamp(360px, 58vh, 500px);
    padding: 36px 20px;
    gap: 22px;
  }

  .hero-center-logo {
    width: clamp(58px, 15vw, 82px);
  }

  .hero-subtitle {
    font-size: 1.08rem;
    line-height: 1.58;
    max-width: 100%;
  }

  .section {
    padding: 72px 0;
  }

  .home-product-title,
  .product-row .home-product-title {
    font-size: clamp(2.25rem, 11vw, 3.4rem);
    font-weight: 620;
    letter-spacing: -0.04em;
  }

  .home-product-tagline {
    font-size: 1.2rem;
    font-weight: 620;
  }

  .feature-card,
  .support-card,
  .info-card,
  .info-panel {
    padding: 24px;
  }

  .legal-shell {
    padding: 26px;
  }

  .legal-card-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 42px 24px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  #about .split-layout {
    width: min(calc(100% - 36px), var(--max-width));
  }
}

@media (max-width: 520px) {
  .container {
    width: min(calc(100% - 24px), var(--max-width));
  }

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

  .button {
    width: 100%;
  }

  .card-grid-5 {
    grid-template-columns: 1fr;
  }

  .contact-row {
    flex-direction: column;
    gap: 6px;
  }

  .device-frame img {
    border-radius: 28px;
  }

  .app-showcase {
    min-height: 320px;
    padding: 22px;
  }

  .image-fallback {
    inset: 22px;
  }

  #about .split-layout {
    width: min(calc(100% - 28px), var(--max-width));
  }
}