:root {
  color-scheme: dark;
  --bg: #08111a;
  --text: #eef8fc;
  --muted: #a8b9c5;
  --border: rgba(142, 201, 229, 0.2);
  --surface: rgba(17, 29, 41, 0.72);
  --surface-soft: rgba(11, 20, 30, 0.78);
  --menu-surface: rgba(10, 24, 37, 0.88);
  --accent: #8ee8ff;
  --accent-strong: #b9f3ff;
  --blue: #7aa8ff;
  --hover-accent: #b9f3ff;
  --hover-text: #041019;
  --glass-line: rgba(255, 255, 255, 0.12);
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.26);
  --shadow-glow: 0 22px 64px rgba(142, 232, 255, 0.18);
  --kv-ink: var(--bg);
  --kv-ink-2: #0c1722;
  --kv-paper: #f2eadc;
  --kv-paper-2: #d9cbb2;
  --kv-text: var(--text);
  --kv-muted: var(--muted);
  --kv-soft: rgba(142, 232, 255, 0.08);
  --kv-soft-2: rgba(142, 232, 255, 0.13);
  --kv-line: var(--border);
  --kv-blue: var(--blue);
  --kv-blue-2: #23455e;
  --kv-gold: #ff9447;
  --kv-coral: var(--accent);
  --kv-green: #74d8aa;
  --kv-shadow: var(--shadow);
  --kv-radius-lg: 34px;
  --kv-radius-md: 22px;
  --kv-radius-sm: 14px;
  --font-sans: var(--ds-font-sans, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif);
  --font-display: var(--font-sans);
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: var(--bg);
  color: var(--text);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  background:
    radial-gradient(circle at 74% 16%, rgba(142, 232, 255, 0.1), transparent 29rem),
    radial-gradient(circle at 18% 34%, rgba(255, 148, 71, 0.09), transparent 25rem),
    linear-gradient(180deg, rgba(8, 17, 26, 0), rgba(8, 17, 26, 0.94) 74%),
    repeating-linear-gradient(90deg, rgba(142, 201, 229, 0.045) 0 1px, transparent 1px 92px),
    repeating-linear-gradient(180deg, rgba(142, 201, 229, 0.03) 0 1px, transparent 1px 92px),
    var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.is-menu-open {
  overflow: hidden;
}

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

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

main,
.kv-footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

main {
  position: relative;
  isolation: isolate;
}

.kimivault-page-bg {
  --page-bg-y: 0px;
  position: absolute;
  top: clamp(-170px, -11vw, -95px);
  left: 50%;
  z-index: 0;
  display: block;
  width: 100vw;
  height: clamp(960px, 118vh, 1460px);
  overflow: hidden;
  background: url("/images/apps/kimivault-web-graphics/hero/kimivault-hero-encrypted-vault-wide-v1.webp") 64% top / cover no-repeat;
  pointer-events: none;
  transform: translateX(-50%) translate3d(0, var(--page-bg-y), 0);
  will-change: transform;
  -webkit-mask-image: linear-gradient(180deg, black 0%, black 58%, rgba(0, 0, 0, 0.82) 72%, rgba(0, 0, 0, 0.3) 91%, transparent 100%);
  mask-image: linear-gradient(180deg, black 0%, black 58%, rgba(0, 0, 0, 0.82) 72%, rgba(0, 0, 0, 0.3) 91%, transparent 100%);
}

.kimivault-page-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% top;
}

.kimivault-page-bg::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 13, 21, 0.96) 0%, rgba(5, 13, 21, 0.78) 36%, rgba(5, 13, 21, 0.24) 72%, rgba(5, 13, 21, 0.08) 100%),
    linear-gradient(180deg, rgba(5, 13, 21, 0.24) 0%, rgba(5, 13, 21, 0.02) 30%, rgba(5, 13, 21, 0.44) 62%, rgba(5, 13, 21, 0.78) 100%);
  content: "";
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding-block: 22px;
  padding-inline: max(20px, calc((100% - 1120px) / 2));
  backdrop-filter: blur(18px) saturate(1.14);
  isolation: isolate;
  transition:
    opacity 240ms ease,
    transform 240ms ease,
    backdrop-filter 420ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 62%, transparent);
  background: color-mix(in srgb, var(--bg) 68%, transparent);
  content: "";
  pointer-events: none;
  transition:
    background 420ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 760;
  text-decoration: none;
}

.brand-mark {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3);
}

.brand-copy {
  display: grid;
  gap: 0;
}

.brand-name {
  font-size: 1rem;
  font-weight: 820;
  line-height: 1.05;
}

.brand-meta {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.top-actions {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.top-nav-links {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  overflow: visible;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--menu-surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px) saturate(1.25);
}

body[data-brand="kimivault"] [data-nav-context="product"] {
  display: none;
}

body[data-brand="kimivault"][data-kimivault-host-context="product"] [data-nav-context="kimikon"] {
  display: none !important;
}

body[data-brand="kimivault"][data-kimivault-host-context="product"] .top-nav-links[data-nav-context="product"] {
  display: inline-flex;
}

body[data-brand="kimivault"][data-kimivault-host-context="product"] .top-mobile-menu-section[data-nav-context="product"] {
  display: grid;
}

.top-nav-links a,
.top-nav-link {
  padding: 7px 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 700;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.top-nav-links a:hover,
.top-nav-links a:focus-visible,
.top-nav-links a[aria-current="page"],
.top-nav-group.is-active > .top-nav-link {
  background: var(--accent);
  color: var(--hover-text);
  outline: none;
  transform: translateY(-1px);
}

.top-nav-group {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.top-nav-group::before {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  height: 14px;
  content: "";
}

.top-nav-link {
  display: inline-flex;
  align-items: center;
}

.top-subnav {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 900;
  display: grid;
  gap: 3px;
  min-width: 190px;
  padding: 7px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--menu-surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px) saturate(1.25);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateY(-4px) scale(0.98);
  transform-origin: top left;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.top-nav-group:hover .top-subnav,
.top-nav-group:focus-within .top-subnav,
.top-nav-group.is-open .top-subnav {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.top-subnav a {
  display: grid;
  gap: 1px;
  padding: 9px 11px;
  border-radius: 12px;
  color: var(--text);
  white-space: nowrap;
}

.top-subnav small {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 650;
  line-height: 1.25;
}

.top-subnav a:hover small,
.top-subnav a:focus-visible small,
.top-subnav a[aria-current="page"] small {
  color: rgba(4, 16, 25, 0.76);
}

.top-lang-switch {
  position: relative;
}

.top-lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  min-width: 36px;
  padding: 0 7px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.top-lang-chevron {
  display: none;
}

.top-lang-options {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: none;
  min-width: 112px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--menu-surface);
  box-shadow: var(--kv-shadow);
  backdrop-filter: blur(24px) saturate(1.25);
}

.top-lang-switch.is-open .top-lang-options {
  display: grid;
}

.top-lang-options a {
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--muted);
  text-decoration: none;
}

.top-lang-options a:hover,
.top-lang-options a[aria-current="page"] {
  background: var(--accent);
  color: var(--hover-text);
}

.top-nav-toggle {
  display: none;
  width: 42px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
  cursor: pointer;
  backdrop-filter: blur(24px) saturate(1.25);
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.top-nav-toggle span {
  display: block;
  grid-area: 1 / 1;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: opacity 0.18s ease, transform 0.22s ease;
}

.top-nav-toggle span:nth-child(1) {
  transform: translateY(-6px);
}

.top-nav-toggle span:nth-child(3) {
  transform: translateY(6px);
}

.top-nav-toggle:hover,
.top-nav-toggle:focus-visible,
.top-nav-toggle[aria-expanded="true"] {
  background: var(--accent);
  color: var(--hover-text);
  box-shadow: var(--shadow-glow);
  outline: none;
  transform: translateY(-1px);
}

.top-nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg);
}

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

.top-nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg);
}

.top-mobile-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 50;
  display: none;
  gap: 10px;
  width: min(340px, calc(100vw - 32px));
  max-height: calc(100vh - 96px);
  overflow-y: auto;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px) saturate(1.25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top right;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.top-actions.is-menu-open .top-mobile-menu {
  display: grid;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.top-mobile-menu-section {
  display: grid;
  gap: 5px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface-soft) 38%, transparent);
}

.top-mobile-menu-label {
  padding: 0 4px 2px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 780;
  text-transform: uppercase;
}

.top-mobile-menu-item {
  display: grid;
  gap: 1px;
  min-height: 40px;
  align-content: center;
  padding: 9px 12px;
  border-radius: 12px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 760;
  text-decoration: none;
}

.top-mobile-menu-item small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.25;
}

.top-mobile-menu-item:hover,
.top-mobile-menu-item:focus-visible,
.top-mobile-menu-item[aria-current="page"] {
  background: var(--accent);
  color: var(--hover-text);
  outline: none;
}

.top-mobile-menu-item:hover small,
.top-mobile-menu-item:focus-visible small,
.top-mobile-menu-item[aria-current="page"] small {
  color: rgba(4, 16, 25, 0.76);
}

body[data-brand="kimivault"][data-kimivault-host-context="product"] .top-nav-links--product {
  align-items: center;
  gap: 24px;
  overflow: visible;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

body[data-brand="kimivault"][data-kimivault-host-context="product"] .top-nav-links--product > a,
body[data-brand="kimivault"][data-kimivault-host-context="product"] .top-nav-links--product .top-nav-link {
  position: relative;
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 4px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: color-mix(in srgb, var(--text) 68%, transparent);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 820;
  letter-spacing: 0.04em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transform-origin: center;
  transition: color 180ms ease, transform 180ms ease, text-shadow 180ms ease;
}

body[data-brand="kimivault"][data-kimivault-host-context="product"] .top-nav-links--product > a::after,
body[data-brand="kimivault"][data-kimivault-host-context="product"] .top-nav-links--product .top-nav-link::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--blue));
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

body[data-brand="kimivault"][data-kimivault-host-context="product"] .top-nav-links--product > a:hover,
body[data-brand="kimivault"][data-kimivault-host-context="product"] .top-nav-links--product > a:focus-visible,
body[data-brand="kimivault"][data-kimivault-host-context="product"] .top-nav-links--product > a[aria-current="page"],
body[data-brand="kimivault"][data-kimivault-host-context="product"] .top-nav-links--product .top-nav-link:hover,
body[data-brand="kimivault"][data-kimivault-host-context="product"] .top-nav-links--product .top-nav-link:focus-visible,
body[data-brand="kimivault"][data-kimivault-host-context="product"] .top-nav-group--product.is-open > .top-nav-link {
  background: transparent;
  color: var(--text);
  outline: none;
  text-shadow: 0 0 18px color-mix(in srgb, var(--accent) 28%, transparent);
  transform: translateY(-1px) scale(1.035);
}

body[data-brand="kimivault"][data-kimivault-host-context="product"] .top-nav-links--product > a:hover::after,
body[data-brand="kimivault"][data-kimivault-host-context="product"] .top-nav-links--product > a:focus-visible::after,
body[data-brand="kimivault"][data-kimivault-host-context="product"] .top-nav-links--product > a[aria-current="page"]::after,
body[data-brand="kimivault"][data-kimivault-host-context="product"] .top-nav-links--product .top-nav-link:hover::after,
body[data-brand="kimivault"][data-kimivault-host-context="product"] .top-nav-links--product .top-nav-link:focus-visible::after,
body[data-brand="kimivault"][data-kimivault-host-context="product"] .top-nav-group--product.is-open > .top-nav-link::after {
  transform: scaleX(1);
}

body[data-brand="kimivault"][data-kimivault-host-context="product"] .top-nav-group--product::before {
  top: 100%;
  right: -16px;
  left: -16px;
  height: 20px;
}

body[data-brand="kimivault"][data-kimivault-host-context="product"] .top-subnav--product {
  top: calc(100% + 14px);
  left: -18px;
  min-width: 320px;
  gap: 4px;
  padding: 10px;
  border-color: color-mix(in srgb, var(--accent) 26%, var(--border));
  border-radius: 8px;
  background:
    radial-gradient(circle at 14% 0%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 17rem),
    linear-gradient(140deg, rgba(10, 24, 37, 0.98), rgba(4, 11, 18, 0.98));
  box-shadow:
    0 28px 78px rgba(0, 0, 0, 0.46),
    inset 0 1px 0 color-mix(in srgb, var(--glass-line) 68%, transparent);
  backdrop-filter: blur(18px) saturate(1.18);
  transform: translateY(8px);
  transition:
    opacity 200ms ease,
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 200ms ease;
}

body[data-brand="kimivault"][data-kimivault-host-context="product"] .top-subnav--product a {
  gap: 3px;
  padding: 12px 13px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

body[data-brand="kimivault"][data-kimivault-host-context="product"] .top-subnav--product a span {
  font-size: 0.95rem;
  font-weight: 820;
}

body[data-brand="kimivault"][data-kimivault-host-context="product"] .top-subnav--product a small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
}

body[data-brand="kimivault"][data-kimivault-host-context="product"] .top-subnav--product a:hover,
body[data-brand="kimivault"][data-kimivault-host-context="product"] .top-subnav--product a:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 34%, transparent);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--accent) 18%, transparent), color-mix(in srgb, var(--accent-strong) 8%, transparent)),
    rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent-strong) 13%, transparent);
  color: var(--text);
  outline: none;
  transform: translateX(3px);
}

body[data-brand="kimivault"][data-kimivault-host-context="product"] .top-subnav--product a:hover small,
body[data-brand="kimivault"][data-kimivault-host-context="product"] .top-subnav--product a:focus-visible small {
  color: color-mix(in srgb, var(--text) 76%, transparent);
}

body[data-brand="kimivault"][data-kimivault-host-context="product"] .top-lang-switch {
  margin-left: 2px;
}

.kv-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: center;
  min-height: calc(100vh - 172px);
  padding: 46px 0 58px;
  color: var(--text);
  isolation: isolate;
}

.kv-hero::before {
  position: absolute;
  top: clamp(-230px, -16vw, -150px);
  bottom: clamp(-320px, -20vw, -210px);
  left: 50%;
  z-index: -1;
  width: 100vw;
  background:
    radial-gradient(circle at 74% 38%, rgba(142, 232, 255, 0.14), transparent 28rem),
    radial-gradient(circle at 18% 72%, rgba(255, 148, 71, 0.08), transparent 26rem),
    linear-gradient(180deg, rgba(6, 17, 27, 0) 0%, rgba(6, 17, 27, 0.42) 100%);
  content: "";
  opacity: 0.62;
  pointer-events: none;
  transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 10%, black 82%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, black 10%, black 82%, transparent 100%);
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.kv-kicker {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font: 800 0.78rem/1.2 var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kv-hero h1,
.section-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 820;
  letter-spacing: 0;
}

.kv-hero h1 {
  max-width: 760px;
  font-size: clamp(3.1rem, 9vw, 7.4rem);
  line-height: 0.96;
}

.kv-hero h1 span {
  display: block;
}

.kv-hero h1 .paper {
  color: var(--accent);
}

.kv-subheadline {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--text);
  font-size: clamp(1.2rem, 2.4vw, 1.9rem);
  line-height: 1.24;
  font-weight: 720;
}

.kv-subheadline strong {
  color: var(--kv-gold);
}

.hero-actions,
.pricing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

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

.button.primary {
  background: var(--accent);
  color: var(--hover-text);
  box-shadow: 0 14px 34px rgba(94, 197, 255, 0.2);
}

.button.secondary {
  border-color: var(--border);
  background: color-mix(in srgb, var(--surface) 56%, transparent);
  color: var(--text);
  backdrop-filter: blur(18px) saturate(1.25);
}

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

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--accent-strong);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 42%, var(--border));
  color: var(--accent-strong);
}

.button.disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

a:focus-visible,
button:focus-visible,
.button:focus-visible,
.top-mobile-menu-item:focus-visible,
.top-lang-options a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 88%, transparent);
  outline-offset: 4px;
  box-shadow: 0 0 0 7px color-mix(in srgb, var(--accent) 18%, transparent);
}

.hero-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  line-height: 1.65;
}

body.kv-coming-soon .top-nav-group--product,
body.kv-coming-soon .top-nav-links--product > a[href^="#"],
body.kv-coming-soon [data-kimivault-prelaunch-hide],
body.kv-coming-soon main > .section:not(.prelaunch-waitlist):not(.coming-soon-section) {
  display: none !important;
}

body:not(.kv-coming-soon) .prelaunch-waitlist {
  display: none;
}

body.kv-coming-soon .kv-hero {
  min-height: auto;
  padding-top: clamp(28px, 4vw, 42px);
  padding-bottom: clamp(24px, 4vw, 42px);
}

body.kv-coming-soon .kv-hero h1 {
  font-size: clamp(3rem, 7.2vw, 6.15rem);
}

body.kv-coming-soon .kv-subheadline {
  max-width: 680px;
  font-size: clamp(1.12rem, 2vw, 1.55rem);
}

.coming-soon-section {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 0 clamp(16px, 3vw, 32px);
  padding-top: clamp(24px, 4vw, 38px);
  border-top: 1px solid color-mix(in srgb, var(--accent) 36%, transparent);
}

body.kv-coming-soon .kv-footer {
  position: relative;
  z-index: 1;
  padding-top: clamp(14px, 2.5vw, 28px);
}

.coming-soon-section h2 {
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.8vw, 4.7rem);
  font-weight: 820;
  letter-spacing: 0;
  line-height: 0.95;
}

.coming-soon-section p:not(.eyebrow) {
  max-width: 58ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.8vw, 1.22rem);
  line-height: 1.65;
}

.waitlist-section {
  --waitlist-grid-y: 0px;
  position: relative;
  isolation: isolate;
  z-index: 1;
  padding-top: clamp(28px, 5vw, 58px);
  padding-bottom: clamp(18px, 3vw, 34px);
  color: var(--text);
}

.waitlist-section::before {
  position: absolute;
  top: clamp(-340px, -24vw, -230px);
  left: 50%;
  z-index: -1;
  width: 100vw;
  height: clamp(620px, 46vw, 860px);
  background: linear-gradient(180deg, transparent 0%, rgba(5, 13, 21, 0.08) 18%, rgba(5, 13, 21, 0.36) 42%, rgba(5, 13, 21, 0.48) 58%, rgba(5, 13, 21, 0.18) 84%, transparent 100%);
  content: "";
  pointer-events: none;
  transform: translateX(-50%);
}

.waitlist-panel {
  --waitlist-tilt-x: 0deg;
  --waitlist-tilt-y: 0deg;
  --waitlist-glow-x: 50%;
  --waitlist-glow-y: 50%;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.78fr);
  gap: clamp(24px, 5vw, 62px);
  overflow: hidden;
  padding: clamp(24px, 4.4vw, 46px);
  border: 1px solid rgba(142, 232, 255, 0.2);
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 0%, rgba(142, 232, 255, 0.12), transparent 22rem),
    radial-gradient(circle at 92% 100%, rgba(122, 168, 255, 0.09), transparent 20rem),
    linear-gradient(135deg, rgba(12, 23, 34, 0.54), rgba(5, 12, 20, 0.64));
  box-shadow:
    0 34px 110px rgba(0, 0, 0, 0.38),
    0 26px 80px rgba(94, 197, 255, 0.12),
    inset 0 1px 0 color-mix(in srgb, var(--glass-line) 62%, transparent);
  backdrop-filter: blur(26px) saturate(1.22);
  transform: perspective(1300px) rotateX(var(--waitlist-tilt-x)) rotateY(var(--waitlist-tilt-y)) translateZ(0);
  transform-style: preserve-3d;
  transform-origin: center;
  transition:
    transform 160ms var(--ds-ease-out),
    background 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
  will-change: transform;
}

.waitlist-panel::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(142, 232, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(122, 168, 255, 0.06) 1px, transparent 1px);
  background-position:
    center var(--waitlist-grid-y),
    center var(--waitlist-grid-y);
  background-size: 46px 46px;
  content: "";
  mask-image: linear-gradient(110deg, black, transparent 72%);
  opacity: 0.42;
  pointer-events: none;
}

.waitlist-panel::after {
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(circle at var(--waitlist-glow-x) var(--waitlist-glow-y), rgba(142, 232, 255, 0.13), transparent 18rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.052), transparent 36%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms var(--ds-ease-out);
}

.waitlist-panel.is-tilting {
  border-color: rgba(142, 232, 255, 0.34);
  box-shadow:
    0 42px 130px rgba(0, 0, 0, 0.42),
    0 32px 92px rgba(94, 197, 255, 0.16),
    inset 0 1px 0 color-mix(in srgb, var(--glass-line) 76%, transparent);
}

.waitlist-panel.is-tilting::after {
  opacity: 0.66;
}

.waitlist-copy,
.waitlist-form {
  position: relative;
  z-index: 2;
  transform-style: preserve-3d;
  transition: transform 160ms var(--ds-ease-out);
}

.waitlist-copy {
  display: grid;
  align-content: center;
  gap: 18px;
  transform: translateZ(28px);
}

.waitlist-copy > * {
  transform: translateZ(10px);
}

.waitlist-copy h2 {
  max-width: 12ch;
  margin: 0;
  color: var(--text);
  font-size: clamp(2.25rem, 4.7vw, 4.15rem);
  font-weight: 860;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.waitlist-title-lines {
  max-width: 100%;
}

.waitlist-title-lines span {
  display: block;
  white-space: nowrap;
}

.waitlist-copy p:not(.eyebrow) {
  max-width: 50ch;
  margin: 0;
  color: color-mix(in srgb, var(--muted) 88%, var(--text));
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  font-weight: 620;
  line-height: 1.55;
}

.waitlist-points {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.waitlist-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--border));
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 58%, transparent);
  color: color-mix(in srgb, var(--text) 82%, var(--muted));
  font-size: 0.82rem;
  font-weight: 760;
  transform: translateZ(12px);
}

.waitlist-points li::before {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--blue));
  content: "";
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent);
}

.waitlist-form {
  display: grid;
  gap: 20px;
  align-content: start;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--border));
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(142, 232, 255, 0.07), transparent 58%),
    rgba(4, 12, 20, 0.58);
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--glass-line) 64%, transparent);
  backdrop-filter: blur(22px) saturate(1.2);
  transform: translateZ(46px);
}

.waitlist-form label {
  display: grid;
  gap: 11px;
  margin: 0;
  color: color-mix(in srgb, var(--text) 78%, var(--muted));
  font-size: 0.82rem;
  font-weight: 780;
  letter-spacing: 0.02em;
}

.waitlist-form label small {
  color: color-mix(in srgb, var(--muted) 80%, transparent);
  font-size: 0.75em;
  font-weight: 720;
  letter-spacing: 0;
}

.waitlist-form input[type="email"],
.waitlist-form input[type="text"],
.waitlist-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--border));
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 68%, transparent);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 640;
  letter-spacing: 0;
  line-height: 1.35;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.waitlist-form input::placeholder,
.waitlist-form textarea::placeholder {
  color: color-mix(in srgb, var(--muted) 48%, transparent);
  font-weight: 500;
  opacity: 0.42;
}

.waitlist-form input[type="email"],
.waitlist-form input[type="text"] {
  min-height: 48px;
  padding: 0 14px;
}

.waitlist-form textarea {
  min-height: 92px;
  resize: vertical;
  padding: 12px 14px;
}

.waitlist-form input:focus,
.waitlist-form textarea:focus {
  border-color: color-mix(in srgb, var(--accent) 62%, var(--border));
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent);
}

.waitlist-consent {
  grid-template-columns: 24px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  color: color-mix(in srgb, var(--muted) 88%, var(--text));
  font-size: 0.82rem;
  font-weight: 620;
  letter-spacing: 0;
  line-height: 1.45;
}

.waitlist-consent input {
  display: grid;
  width: 22px;
  height: 22px;
  margin: 0;
  border: 1px solid color-mix(in srgb, var(--accent) 38%, var(--border));
  border-radius: 6px;
  appearance: none;
  background: rgba(255, 255, 255, 0.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 3px rgba(142, 232, 255, 0.04);
  cursor: pointer;
  place-content: center;
  transition:
    transform 120ms cubic-bezier(0.23, 1, 0.32, 1),
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.waitlist-consent input::before {
  width: 10px;
  height: 6px;
  border-bottom: 2px solid #041019;
  border-left: 2px solid #041019;
  content: "";
  opacity: 0;
  transform: rotate(-45deg) scale(0.72);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.waitlist-consent input:checked {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--accent), var(--blue));
  box-shadow: 0 0 0 4px rgba(142, 232, 255, 0.12);
}

.waitlist-consent input:active {
  transform: scale(0.94);
}

.waitlist-consent input:checked::before {
  opacity: 1;
  transform: rotate(-45deg) scale(1);
}

.waitlist-consent a {
  color: var(--accent-strong);
  font-weight: 780;
  text-decoration: none;
}

.waitlist-consent a:hover,
.waitlist-consent a:focus-visible {
  text-decoration: underline;
}

.waitlist-turnstile {
  min-height: 65px;
  margin-top: -2px;
}

.waitlist-turnstile:empty {
  display: none;
  min-height: 0;
  margin: 0;
}

.waitlist-form .button {
  width: 100%;
  justify-content: center;
  border: 0;
  cursor: pointer;
}

.waitlist-form .button.primary {
  color: #041019;
  box-shadow: 0 14px 34px rgba(94, 197, 255, 0.2);
}

.waitlist-form .button.primary:active:not(:disabled) {
  transform: scale(0.985) translateY(0);
  box-shadow: 0 8px 20px rgba(94, 197, 255, 0.16);
}

.waitlist-form .button:disabled {
  cursor: progress;
  opacity: 0.68;
}

.waitlist-status {
  min-height: 1.45em;
  margin: 0;
  color: color-mix(in srgb, var(--muted) 86%, var(--text));
  font-size: 0.86rem;
  font-weight: 680;
  line-height: 1.45;
}

.waitlist-status[data-state="success"] {
  color: color-mix(in srgb, var(--accent-strong) 86%, var(--text));
}

.waitlist-status[data-state="error"] {
  color: #b83b16;
}

.waitlist-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .waitlist-panel,
  .waitlist-panel::after,
  .waitlist-copy,
  .waitlist-copy > *,
  .waitlist-points li,
  .waitlist-form,
  .waitlist-form input,
  .waitlist-form textarea,
  .waitlist-consent input,
  .waitlist-consent input::before,
  .waitlist-form .button {
    transition: none !important;
  }

  .waitlist-panel,
  .waitlist-copy,
  .waitlist-copy > *,
  .waitlist-points li,
  .waitlist-form {
    transform: none !important;
  }
}

.section {
  position: relative;
  padding: clamp(62px, 9vw, 112px) 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(26px, 4vw, 42px);
}

.section-heading h2 {
  max-width: 880px;
  font-size: clamp(2.5rem, 5.4vw, 5.1rem);
  line-height: 0.92;
}

.section-heading p:not(.eyebrow) {
  margin: 18px 0 0;
  color: var(--kv-muted);
  font-size: 1.08rem;
}

.section-heading .privacy-footnote {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.section-heading sup {
  color: var(--accent-strong);
  font-size: 0.72em;
  font-weight: 860;
  line-height: 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

.trust-panel,
.records-tab-card,
.pricing-card,
.faq-panel {
  border: 1px solid rgba(242, 234, 220, 0.16);
  border-radius: var(--kv-radius-md);
  background:
    linear-gradient(145deg, rgba(242, 234, 220, 0.095), rgba(242, 234, 220, 0.035)),
    rgba(8, 13, 19, 0.38);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.23);
}

.trust-panel {
  padding: clamp(26px, 4vw, 44px);
}

.trust-panel h3 {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.04;
}

.trust-panel p {
  max-width: 680px;
  margin: 0;
  color: var(--kv-muted);
}

.trust-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.trust-list span {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--kv-paper);
}

.trust-list span::before {
  width: 8px;
  height: 8px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--kv-green);
  box-shadow: 0 0 0 7px rgba(116, 216, 170, 0.12);
  content: "";
  flex: 0 0 auto;
}

.privacy-flow {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.privacy-step {
  padding: 18px;
  border-radius: 19px;
  background: rgba(242, 234, 220, 0.06);
}

.privacy-step span {
  color: var(--kv-gold);
  font: 800 0.72rem/1 var(--font-mono);
  letter-spacing: 0.11em;
}

.privacy-step strong {
  display: block;
  margin-top: 8px;
  color: var(--kv-text);
}

.privacy-step p {
  margin: 4px 0 0;
  color: var(--kv-muted);
  font-size: 0.93rem;
}

.records-tab-card {
  display: grid;
  gap: clamp(22px, 3vw, 34px);
  padding: clamp(18px, 3vw, 28px);
}

.records-tab-buttons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.records-tab-buttons button {
  min-height: 56px;
  padding: 12px 14px;
  border: 1px solid rgba(142, 201, 229, 0.22);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(142, 232, 255, 0.06), rgba(142, 232, 255, 0.015)),
    rgba(8, 17, 26, 0.44);
  color: color-mix(in srgb, var(--kv-text) 70%, transparent);
  cursor: pointer;
  font: 820 0.94rem/1.1 var(--font-sans);
  transition:
    background 220ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 220ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1),
    color 220ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.records-tab-buttons button:hover,
.records-tab-buttons button:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 62%, transparent);
  color: var(--kv-text);
  outline: none;
  transform: translateY(-1px);
}

.records-tab-buttons button.is-active {
  border-color: transparent;
  background: var(--accent);
  color: var(--hover-text);
  box-shadow: var(--shadow-glow);
}

.records-tab-panel {
  min-height: 190px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(142, 201, 229, 0.18);
  border-radius: 24px;
  background:
    radial-gradient(circle at 16% 10%, rgba(142, 232, 255, 0.11), transparent 22rem),
    rgba(8, 17, 26, 0.34);
  transition:
    opacity 180ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.records-tab-card.is-swapping .records-tab-panel {
  opacity: 0.45;
  transform: translateY(4px);
}

.records-tab-panel .eyebrow {
  margin-bottom: 12px;
}

.records-tab-panel h3 {
  margin: 0;
  color: var(--kv-paper);
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 0.98;
  text-wrap: balance;
}

.records-tab-panel p:not(.eyebrow) {
  max-width: 780px;
  margin: 18px 0 0;
  color: var(--kv-muted);
  font-size: clamp(1.05rem, 1.8vw, 1.34rem);
  font-weight: 720;
  line-height: 1.5;
}

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

.security-item {
  padding: 24px;
  border-top: 1px solid rgba(242, 234, 220, 0.18);
  background: linear-gradient(180deg, rgba(242, 234, 220, 0.06), transparent);
}

.security-item strong {
  display: block;
  color: var(--kv-text);
  font-size: 1.04rem;
}

.security-item span {
  display: block;
  margin-top: 8px;
  color: var(--kv-muted);
}

.sync-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: 22px;
  align-items: stretch;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(242, 234, 220, 0.16);
  border-radius: var(--kv-radius-lg);
  background:
    radial-gradient(circle at 88% 14%, rgba(116, 216, 170, 0.15), transparent 28rem),
    linear-gradient(145deg, rgba(242, 234, 220, 0.09), rgba(242, 234, 220, 0.025));
}

.sync-map {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 330px;
  border-radius: 28px;
  background: rgba(8, 13, 19, 0.44);
  overflow: hidden;
}

.sync-map::before {
  position: absolute;
  inset: 24px;
  border: 1px dashed rgba(242, 234, 220, 0.24);
  border-radius: 50%;
  content: "";
}

.sync-node {
  position: absolute;
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  border: 1px solid rgba(242, 234, 220, 0.2);
  border-radius: 28px;
  background: rgba(242, 234, 220, 0.08);
  color: var(--kv-paper);
  font-weight: 850;
  text-align: center;
}

.sync-node.local {
  left: 28px;
  bottom: 34px;
}

.sync-node.cloud {
  right: 34px;
  top: 34px;
}

.sync-node.vault {
  position: relative;
  width: 130px;
  height: 130px;
  background: rgba(215, 184, 113, 0.12);
}

.sync-node.vault img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
}

.sync-lines {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(34deg, transparent 0 47%, rgba(116, 216, 170, 0.42) 47.4% 48.2%, transparent 48.6%),
    linear-gradient(144deg, transparent 0 47%, rgba(255, 92, 138, 0.38) 47.4% 48.2%, transparent 48.6%);
  opacity: 0.8;
}

.sync-copy h3 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 0.96;
}

.sync-copy p {
  color: var(--kv-muted);
}

.sync-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.sync-list span {
  padding: 13px 15px;
  border-radius: 15px;
  background: rgba(242, 234, 220, 0.07);
  color: var(--kv-paper);
}

.tier-comparison {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.tier-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.tier-summary article {
  position: relative;
  display: grid;
  min-height: 230px;
  align-content: space-between;
  gap: 16px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.tier-summary article::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, var(--glass-line), transparent 38%),
    radial-gradient(circle at 16% 14%, color-mix(in srgb, var(--accent) 13%, transparent), transparent 16rem);
  content: "";
  opacity: 0.72;
  pointer-events: none;
}

.tier-summary article > * {
  position: relative;
  z-index: 1;
}

.tier-summary article.featured {
  border-color: color-mix(in srgb, var(--accent) 54%, var(--border));
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 14%, var(--surface)), var(--surface) 56%),
    var(--surface);
  box-shadow: var(--shadow-glow);
}

.tier-summary article:hover,
.tier-summary article:focus-within {
  border-color: color-mix(in srgb, var(--accent) 46%, var(--border));
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.tier-label {
  margin: 0;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tier-summary h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  line-height: 1.05;
  font-weight: 820;
}

.tier-summary p:not(.tier-label) {
  margin: 0;
  color: var(--muted);
}

.tier-summary strong {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 800;
}

.tier-matrix {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px) saturate(1.2);
}

.tier-row {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(120px, 0.55fr) minmax(120px, 0.55fr);
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 16px 20px;
  border-top: 1px solid color-mix(in srgb, var(--border) 78%, transparent);
}

.tier-row:first-child {
  border-top: 0;
}

.tier-group {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 14px 20px 10px;
  border-top: 1px solid color-mix(in srgb, var(--border) 78%, transparent);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--accent) 11%, transparent), transparent 68%),
    color-mix(in srgb, var(--surface) 42%, transparent);
}

.tier-head + .tier-group {
  border-top: 0;
}

.tier-group span {
  color: var(--accent-strong);
  font-size: 0.74rem;
  font-weight: 840;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tier-head {
  min-height: 52px;
  background: color-mix(in srgb, var(--accent) 9%, transparent);
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tier-row > span:first-child {
  color: var(--text);
  font-weight: 720;
}

.tier-row:not(.tier-head) > span:not(:first-child) {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  min-width: 38px;
  padding: 6px 11px;
  border: 1px solid color-mix(in srgb, var(--border) 86%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 76%, transparent);
  color: var(--muted);
  font-size: 0;
  font-weight: 760;
  line-height: 1.1;
}

.tier-row [data-state]::after {
  font-size: 1rem;
  font-weight: 820;
  line-height: 1;
}

.tier-row [data-state="yes"] {
  border-color: color-mix(in srgb, #35d08a 54%, var(--border));
  background: color-mix(in srgb, #35d08a 14%, transparent);
  color: #35d08a;
}

.tier-row [data-state="yes"]::after {
  content: "✓";
}

.tier-row [data-state="no"] {
  color: color-mix(in srgb, var(--muted) 82%, var(--bg));
}

.tier-row [data-state="no"]::after {
  content: "–";
}

.tier-footnote {
  max-width: 920px;
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.tier-footnote span {
  color: var(--accent-strong);
  font-weight: 860;
}

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

.pricing-card {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 26px;
}

.pricing-card.featured {
  border-color: rgba(255, 92, 138, 0.48);
  background:
    radial-gradient(circle at 80% 0%, rgba(255, 92, 138, 0.2), transparent 22rem),
    linear-gradient(145deg, rgba(242, 234, 220, 0.13), rgba(242, 234, 220, 0.04));
}

.pricing-badge {
  justify-self: start;
  padding: 5px 10px;
  border: 1px solid rgba(255, 92, 138, 0.42);
  border-radius: 999px;
  color: var(--kv-coral);
  font: 800 0.72rem/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-card h3 {
  margin: 0;
  color: var(--kv-paper);
  font-size: 1.36rem;
}

.price {
  display: grid;
  gap: 2px;
}

.price strong {
  color: var(--kv-text);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 0.92;
}

.price span {
  color: var(--kv-muted);
}

.launch-price {
  color: var(--kv-green);
  font-weight: 820;
}

.pricing-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  color: var(--kv-muted);
  list-style: none;
}

.pricing-card li::before {
  color: var(--kv-gold);
  content: "• ";
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.faq-panel {
  padding: 22px;
}

.faq-panel h3 {
  margin: 0 0 10px;
  color: var(--kv-paper);
}

.faq-panel p {
  margin: 0;
  color: var(--kv-muted);
}

.kv-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 46px 0 64px;
  border-top: 1px solid rgba(242, 234, 220, 0.14);
  color: var(--kv-muted);
}

.kv-footer a {
  color: var(--kv-muted);
}

@media (max-width: 980px) {
  .kv-hero,
  .trust-grid,
  .sync-panel,
  .waitlist-panel {
    grid-template-columns: 1fr;
  }

  .waitlist-copy,
  .waitlist-copy > *,
  .waitlist-points li,
  .waitlist-form {
    transform: none;
  }

  .security-grid,
  .tier-summary,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 920px) {
  .site-header {
    align-items: center;
    flex-direction: row;
    gap: 12px;
    z-index: 90;
    padding: 14px;
    backdrop-filter: blur(22px) saturate(1.25);
  }

  .brand {
    position: relative;
    z-index: 110;
  }

  .top-actions {
    width: auto;
    justify-content: flex-end;
    margin-left: auto;
  }

  .top-actions::before {
    position: fixed;
    inset: 0;
    z-index: 95;
    display: none;
    background: var(--bg);
    content: "";
  }

  .top-actions.is-menu-open::before {
    display: block;
  }

  body.kimivault-menu-open {
    background: var(--bg);
  }

  body.kimivault-menu-open main,
  body.kimivault-menu-open footer {
    visibility: hidden;
  }

  .top-nav-links,
  .top-lang-switch {
    display: none !important;
  }

  .top-nav-group {
    display: none;
  }

  .top-nav-toggle {
    position: relative;
    z-index: 110;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .top-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    width: auto;
    max-height: none;
    padding: 92px max(24px, env(safe-area-inset-right)) 40px max(24px, env(safe-area-inset-left));
    overflow-y: auto;
    border: 0;
    border-radius: 0;
    background: var(--bg);
    box-shadow: none;
    backdrop-filter: none;
    transform: translateY(-20px);
    transform-origin: top center;
    transition: opacity 400ms ease, transform 400ms ease;
  }

  .top-actions.is-menu-open .top-mobile-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .top-mobile-menu-section {
    width: min(760px, 100%);
    margin: 0 auto;
    gap: 6px;
    padding: 18px 0;
    border: 0;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    background: transparent;
    justify-items: stretch !important;
    text-align: left !important;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 300ms ease, transform 300ms ease;
  }

  .top-mobile-menu-section:last-child {
    border-bottom: 0;
  }

  .top-actions.is-menu-open .top-mobile-menu-section {
    opacity: 1;
    transform: translateY(0);
  }

  .top-actions.is-menu-open .top-mobile-menu-section:nth-child(1) {
    transition-delay: 50ms;
  }

  .top-actions.is-menu-open .top-mobile-menu-section:nth-child(2) {
    transition-delay: 100ms;
  }

  .top-mobile-menu-label {
    padding: 0 0 4px;
    font-size: 0.76rem;
  }

  .top-mobile-menu-item {
    width: 100%;
    justify-self: stretch !important;
    min-height: auto;
    padding: 9px 0;
    border: 0;
    border-radius: 0;
    color: var(--text);
    font-size: clamp(1.7rem, 7vw, 2.25rem);
    line-height: 1.08;
    justify-content: start !important;
    justify-items: start !important;
    text-align: left !important;
  }

  .top-mobile-menu-item > span,
  .top-mobile-menu-item > small {
    justify-self: start !important;
    text-align: left !important;
  }

  .top-mobile-menu-item small {
    font-size: 1rem;
    font-weight: 560;
    line-height: 1.35;
  }

  .top-mobile-menu-item:hover,
  .top-mobile-menu-item:focus-visible,
  .top-mobile-menu-item[aria-current="page"] {
    background: transparent;
    color: var(--accent);
  }
}

@media (max-width: 760px) {
  main,
  .kv-footer {
    width: min(100% - 28px, 1120px);
  }

  .kimivault-page-bg {
    top: clamp(-112px, -9vw, -72px);
    height: clamp(900px, 112vh, 1200px);
  }

  .kimivault-page-bg img {
    object-position: 42% top;
  }

  .kimivault-page-bg::after {
    background:
      linear-gradient(90deg, rgba(5, 13, 21, 0.88) 0%, rgba(5, 13, 21, 0.68) 54%, rgba(5, 13, 21, 0.34) 100%),
      linear-gradient(180deg, rgba(5, 13, 21, 0.18) 0%, rgba(5, 13, 21, 0.2) 34%, rgba(5, 13, 21, 0.58) 70%, rgba(5, 13, 21, 0.86) 100%);
  }

  .kv-hero {
    min-height: auto;
    padding-top: 58px;
  }

  .kv-hero h1 {
    font-size: clamp(3rem, 15vw, 5.15rem);
    line-height: 0.9;
    text-wrap: balance;
  }

  .waitlist-panel {
    padding: 22px;
    border-radius: 20px;
  }

  .waitlist-title-lines {
    max-width: none;
    font-size: clamp(2.3rem, 10.6vw, 3.05rem);
  }

  .waitlist-points {
    display: grid;
  }

  .security-grid,
  .tier-summary,
  .pricing-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .tier-summary article {
    min-height: auto;
    padding: 22px;
  }

  .tier-matrix {
    border-radius: 16px;
  }

  .tier-head {
    display: none;
  }

  .tier-row {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 16px;
  }

  .tier-row > span:first-child {
    grid-column: 1 / -1;
  }

  .tier-row:not(.tier-head) > span:not(:first-child) {
    justify-self: stretch;
    justify-content: space-between;
    width: 100%;
    min-width: 0;
  }

  .tier-row:not(.tier-head) > span:not(:first-child)::before {
    margin-right: 8px;
    color: color-mix(in srgb, var(--muted) 78%, var(--bg));
    font-size: 0.72rem;
    font-weight: 820;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    content: "Basic";
  }

  .tier-row:not(.tier-head) > span:nth-child(3)::before {
    content: "Pro";
  }

  .tier-footnote {
    font-size: 0.82rem;
  }

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

  .records-tab-card {
    padding: 14px;
  }

  .records-tab-panel {
    min-height: 230px;
    padding: 22px;
  }

  .sync-map {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px;
  }

  .sync-map::before,
  .sync-lines {
    display: none;
  }

  .sync-node,
  .sync-node.local,
  .sync-node.cloud,
  .sync-node.vault {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    min-height: 74px;
    border-radius: 20px;
  }

  .sync-node.vault img {
    width: 56px;
    height: 56px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .kv-hero,
  .section {
    animation: kv-rise 680ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .section {
    animation-timeline: view();
    animation-range: entry 0% cover 22%;
  }

  @keyframes kv-rise {
    from {
      opacity: 0;
      transform: translateY(24px);
    }

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