/* Khaoyu Note landing page. Layout on top of the existing ky.css design tokens. */

:root {
  --lp-max: 1180px;
  --lp-gutter: clamp(20px, 4.2vw, 48px);
  --lp-section: clamp(72px, 9vw, 118px);
  --lp-radius: var(--ky-radius-card, 12px);
  --lp-control: var(--ky-radius-control, 7px);
  --lp-line: var(--ky-border, color-mix(in srgb, var(--ky-text) 10%, transparent));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

html[data-ky-theme="dark"] {
  color-scheme: dark;
}

html[data-ky-theme="light"] {
  color-scheme: light;
}

body.lp {
  margin: 0;
  background-color: var(--ky-bg);
  background-image: radial-gradient(
    circle,
    color-mix(in srgb, var(--ky-text) 7%, transparent) 0.9px,
    transparent 1.2px
  );
  background-size: 26px 26px;
  background-attachment: fixed;
  color: var(--ky-text);
  font-family: "Plus Jakarta Sans", var(--ky-font, Inter, "Segoe UI", system-ui, sans-serif);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.lp a {
  color: inherit;
}

.lp .lp-button {
  color: var(--ky-bg);
}

.lp .lp-button-quiet {
  color: var(--ky-text);
}

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

.lp-skip {
  position: absolute;
  z-index: 60;
  top: 12px;
  left: 12px;
  padding: 8px 12px;
  border-radius: var(--lp-control);
  background: var(--ky-text);
  color: var(--ky-bg);
  font-size: 12px;
  transform: translateY(-160%);
}

.lp-skip:focus {
  transform: none;
}

/* ------------------------------------------------------------------ nav */

.lp-nav {
  position: sticky;
  z-index: 40;
  top: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--ky-border) 72%, transparent);
  background: color-mix(in srgb, var(--ky-bg) 84%, transparent);
  backdrop-filter: blur(20px) saturate(150%);
  transition: box-shadow 180ms ease;
}

.lp-nav.is-scrolled {
  box-shadow: 0 10px 30px color-mix(in srgb, var(--ky-text) 5%, transparent);
}

.lp-nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  width: min(100%, var(--lp-max) + (var(--lp-gutter) * 2));
  margin: 0 auto;
  padding: 12px var(--lp-gutter);
}

.lp-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ky-text);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.lp-mark {
  display: block;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  object-fit: cover;
}

.lp-links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: 18px;
  color: var(--ky-muted);
}

.lp-links a {
  font-size: 12px;
  text-decoration: none;
  transition: color 160ms ease;
}

.lp-links a:hover {
  color: var(--ky-text);
}

.lp-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.lp-icon-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 30px;
  padding: 0 10px;
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-control);
  background: var(--ky-raise), transparent;
  box-shadow: var(--ky-hairline);
  color: var(--ky-muted);
  font: inherit;
  font-size: 11px;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.lp-icon-button:hover {
  background: var(--ky-raise), var(--ky-control);
  color: var(--ky-text);
}

.lp-theme-button {
  justify-content: center;
  width: 30px;
  padding: 0;
}

.lp-theme-icon {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html[data-ky-theme="dark"] .lp-theme-moon,
html[data-ky-theme="light"] .lp-theme-sun {
  display: none;
}

.lp-menu-button {
  display: none;
  width: 30px;
  height: 30px;
  padding: 8px;
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-control);
  background: var(--ky-raise), transparent;
  box-shadow: var(--ky-hairline);
  cursor: pointer;
}

.lp-menu-button span {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--ky-text);
  transition: transform 180ms ease;
}

.lp-menu-button span + span {
  margin-top: 5px;
}

/* --------------------------------------------------------------- buttons */

.lp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--lp-control);
  background: var(--ky-raise), var(--ky-text);
  box-shadow: var(--ky-hairline);
  color: var(--ky-bg);
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, opacity 160ms ease, background 160ms ease;
}

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

.lp-button-small {
  min-height: 30px;
  padding: 0 12px;
  font-size: 11px;
}

.lp-button-quiet {
  border-color: var(--lp-line);
  background: var(--ky-raise), transparent;
  box-shadow: var(--ky-hairline);
  color: var(--ky-text);
}

.lp-button-quiet:hover {
  background: var(--ky-raise), var(--ky-control);
  opacity: 1;
}

/* ---------------------------------------------------------------- hero */

.lp-hero {
  position: relative;
  width: min(100%, var(--lp-max) + (var(--lp-gutter) * 2));
  margin: 0 auto;
  padding: clamp(70px, 10vw, 118px) var(--lp-gutter) 0;
  text-align: center;
}

.lp-hero-glow {
  position: absolute;
  z-index: -1;
  top: -120px;
  left: 50%;
  width: min(920px, 110vw);
  height: 640px;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse at 50% 30%, color-mix(in srgb, var(--ky-text) 9%, transparent), transparent 62%),
    radial-gradient(ellipse at 50% 55%, color-mix(in srgb, var(--ky-text) 4%, transparent), transparent 70%);
  pointer-events: none;
}

.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  padding: 5px 10px;
  border: 1px solid var(--lp-line);
  border-radius: 999px;
  background: var(--ky-control);
  color: var(--ky-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lp-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ky-text);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ky-text) 8%, transparent);
}

.lp-hero h1 {
  max-width: 900px;
  margin: 0 auto;
  color: var(--ky-text);
  font-size: clamp(46px, 8.2vw, 88px);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.lp-hero h1 span {
  color: var(--ky-soft);
}

.lp-lede {
  max-width: 560px;
  margin: 24px auto 0;
  color: var(--ky-muted);
  font-size: clamp(13px, 1.5vw, 15px);
  line-height: 1.7;
}

.lp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.lp-hero-meta {
  margin: 14px 0 0;
  color: var(--ky-soft);
  font-size: 10px;
}

/* -------------------------------------------------------------- window */

.lp-window {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  background: var(--ky-surface);
  box-shadow:
    0 1px 0 color-mix(in srgb, var(--ky-text) 5%, transparent) inset,
    0 30px 80px color-mix(in srgb, var(--ky-text) 22%, transparent);
}

.lp-hero-window {
  margin-top: clamp(44px, 6vw, 72px);
  text-align: left;
  animation: lp-rise 900ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.lp-window-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 32px;
  padding: 0 12px;
  border-bottom: 1px solid var(--lp-line);
  background: color-mix(in srgb, var(--ky-surface) 86%, var(--ky-control));
  color: var(--ky-muted);
  font-size: 10px;
}

.lp-window-bar > span:nth-child(2) {
  flex: 1;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lp-window-dots {
  display: inline-flex;
  gap: 5px;
}

.lp-window-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ky-soft);
  opacity: 0.65;
}

.lp-window-status {
  color: var(--ky-soft);
  font-size: 9px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.lp-window img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center top;
  background: var(--ky-bg);
}

/* --------------------------------------------------------------- stats */

.lp-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: min(100%, var(--lp-max) + (var(--lp-gutter) * 2));
  margin: 0 auto;
  padding: 30px var(--lp-gutter) 0;
}

.lp-stats div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 16px;
  border-left: 1px solid var(--lp-line);
}

.lp-stats div:first-child {
  border-left: 0;
  padding-left: 0;
}

.lp-stats strong {
  color: var(--ky-text);
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.lp-stats span {
  color: var(--ky-soft);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ------------------------------------------------------------- sections */

.lp-section {
  width: min(100%, var(--lp-max) + (var(--lp-gutter) * 2));
  margin: 0 auto;
  padding: var(--lp-section) var(--lp-gutter) 0;
}

.lp-section-tight {
  padding-top: clamp(64px, 8vw, 96px);
}

.lp-section-head {
  max-width: 640px;
  margin-bottom: 34px;
}

.lp-section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}

.lp-kicker {
  margin: 0 0 10px;
  color: var(--ky-soft);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.lp-section h2 {
  margin: 0;
  color: var(--ky-text);
  font-size: clamp(28px, 4.2vw, 46px);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.06;
}

.lp-section-head > p:last-child,
.lp-local-copy > p,
.lp-download-card > p {
  margin: 14px 0 0;
  color: var(--ky-muted);
  font-size: 13px;
  line-height: 1.7;
}

/* ------------------------------------------------------------- features */

.lp-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  background: var(--lp-line);
}

.lp-feature-card {
  min-height: 190px;
  padding: 22px;
  background: var(--ky-surface);
  transition: background 180ms ease;
}

.lp-feature-card:hover {
  background: color-mix(in srgb, var(--ky-surface) 76%, var(--ky-control));
}

.lp-feature-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 18px;
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-control);
  color: var(--ky-text);
}

.lp-feature-icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lp-feature-card h3 {
  margin: 0 0 6px;
  color: var(--ky-text);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.lp-feature-card p {
  margin: 0;
  color: var(--ky-muted);
  font-size: 11.5px;
  line-height: 1.65;
}

/* ---------------------------------------------------------------- tabs */

.lp-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-control);
  background: var(--ky-control);
}

.lp-tabs button {
  height: 26px;
  padding: 0 10px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--ky-muted);
  font: inherit;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
}

.lp-tabs button:hover {
  color: var(--ky-text);
}

.lp-tabs button.is-active {
  background: var(--ky-raise), var(--ky-control-active);
  box-shadow: var(--ky-hairline);
  color: var(--ky-text);
}

.lp-showcase {
  margin-top: 10px;
}

.lp-showcase img {
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: var(--ky-surface);
}

.lp-license-dialog {
  width: min(640px, calc(100vw - 32px));
  max-height: min(86vh, 720px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  background: var(--ky-surface);
  color: var(--ky-text);
  box-shadow: 0 30px 90px color-mix(in srgb, var(--ky-text) 22%, transparent);
}

.lp-license-dialog::backdrop {
  background: color-mix(in srgb, var(--ky-bg) 62%, transparent);
  backdrop-filter: blur(10px);
}

.lp-license-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px 14px;
  border-bottom: 1px solid var(--lp-line);
}

.lp-license-head h2 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.lp-license-head .lp-kicker {
  margin-bottom: 5px;
}

.lp-license-body {
  padding: 18px 22px 16px;
}

.lp-license-body > p {
  margin: 0;
  color: var(--ky-muted);
  font-size: 12px;
  line-height: 1.65;
}

.lp-license-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 16px 0 14px;
  overflow: hidden;
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-control);
  background: var(--lp-line);
}

.lp-license-grid section {
  padding: 12px 14px 14px;
  background: var(--ky-bg);
}

.lp-license-grid h3 {
  margin: 0 0 7px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.4;
  text-transform: uppercase;
}

.lp-license-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.lp-license-grid li {
  color: var(--ky-muted);
  font-size: 10.5px;
  line-height: 1.5;
}

.lp-license-grid li::before {
  content: "·";
  margin-right: 5px;
  color: var(--ky-soft);
}

.lp-license-note {
  padding-top: 12px;
  border-top: 1px solid var(--lp-line);
  color: var(--ky-soft) !important;
  font-size: 10px !important;
  line-height: 1.6 !important;
}

.lp-license-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 14px 22px 16px;
  border-top: 1px solid var(--lp-line);
}

@media (max-width: 620px) {
  .lp-license-head,
  .lp-license-body,
  .lp-license-actions {
    padding-left: 16px;
    padding-right: 16px;
  }
  .lp-license-grid {
    grid-template-columns: 1fr;
  }
  .lp-license-actions {
    flex-direction: column-reverse;
  }
  .lp-license-actions .lp-button {
    width: 100%;
  }
}

/* --------------------------------------------------------------- local */

.lp-local {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.lp-check-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lp-check-list li {
  display: flex;
  gap: 9px;
  color: var(--ky-muted);
  font-size: 12px;
  line-height: 1.55;
}

.lp-check-list li span {
  color: var(--ky-text);
  font-size: 10px;
  line-height: 1.9;
}

.lp-text-link {
  display: inline-block;
  margin-top: 22px;
  color: var(--ky-text);
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--lp-line);
  padding-bottom: 2px;
}

.lp-local-visual {
  overflow: hidden;
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  background: var(--ky-surface);
}

.lp-local-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}

/* ------------------------------------------------------------ roadmap */

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

.lp-roadmap-card {
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 2.5vw, 26px);
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  background: var(--ky-surface);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--ky-text) 4%, transparent) inset;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.lp-roadmap-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--ky-text) 24%, transparent);
  box-shadow:
    0 1px 0 color-mix(in srgb, var(--ky-text) 8%, transparent) inset,
    0 16px 36px color-mix(in srgb, var(--ky-text) 6%, transparent);
}

.lp-roadmap-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--lp-line);
}

.lp-roadmap-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--lp-line);
  background: var(--ky-control);
  color: var(--ky-text);
}

.lp-roadmap-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex: none;
}

.lp-roadmap-status-progress .lp-roadmap-dot {
  background: #10b981;
  box-shadow: 0 0 0 3px color-mix(in srgb, #10b981 22%, transparent);
}

.lp-roadmap-status-next .lp-roadmap-dot {
  background: #3b82f6;
  box-shadow: 0 0 0 3px color-mix(in srgb, #3b82f6 22%, transparent);
}

.lp-roadmap-status-done .lp-roadmap-dot {
  background: #10b981;
  box-shadow: 0 0 0 3px color-mix(in srgb, #10b981 22%, transparent);
}

.lp-roadmap-status-planned .lp-roadmap-dot {
  background: var(--ky-soft);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ky-text) 10%, transparent);
}

.lp-roadmap-milestone {
  color: var(--ky-soft);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.lp-roadmap-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.lp-roadmap-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 16px;
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-control);
  background: var(--ky-control);
  color: var(--ky-text);
}

.lp-roadmap-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lp-roadmap-card h3 {
  margin: 0 0 8px;
  color: var(--ky-text);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

.lp-roadmap-card p {
  margin: 0 0 18px;
  color: var(--ky-muted);
  font-size: 12px;
  line-height: 1.65;
  flex: 1;
}

.lp-roadmap-list {
  margin: 0;
  padding: 14px 0 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px dashed var(--lp-line);
}

.lp-roadmap-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--ky-muted);
  font-size: 11px;
  line-height: 1.5;
}

.lp-roadmap-list li span {
  color: var(--ky-text);
  font-size: 10px;
  line-height: 1.6;
  flex: none;
}

/* ------------------------------------------------------------ download */

.lp-download {
  padding-bottom: 0;
}

.lp-download-card {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 5vw, 58px);
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  background:
    radial-gradient(ellipse at 80% 20%, color-mix(in srgb, var(--ky-text) 9%, transparent), transparent 55%),
    var(--ky-surface);
  text-align: center;
}

.lp-download-card h2 {
  font-size: clamp(30px, 4.5vw, 48px);
}

.lp-download-card > p {
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.lp-download-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.lp-download-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 24px;
  color: var(--ky-soft);
  font-size: 9px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ------------------------------------------------------------- footer */

.lp-footer {
  width: min(100%, var(--lp-max) + (var(--lp-gutter) * 2));
  margin: var(--lp-section) auto 0;
  padding: 28px var(--lp-gutter) 24px;
  border-top: 1px solid var(--lp-line);
}

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

.lp-footer-brand {
  display: flex;
  gap: 10px;
}

.lp-footer-brand strong {
  display: block;
  font-size: 12px;
  font-weight: 650;
}

.lp-footer-brand p {
  margin: 2px 0 0;
  color: var(--ky-soft);
  font-size: 10px;
}

.lp-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--ky-muted);
}

.lp-footer-links a {
  font-size: 10px;
  text-decoration: none;
}

.lp-footer-links a:hover {
  color: var(--ky-text);
}

.lp-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 28px;
  color: var(--ky-soft);
  font-size: 9px;
}

/* ------------------------------------------------------------- motion */

@keyframes lp-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.lp-js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 520ms cubic-bezier(0.2, 0.7, 0.2, 1), transform 520ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.lp-js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .lp-hero-window {
    animation: none;
  }
  .lp-js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------------------------------------------------------- responsive */

@media (max-width: 900px) {
  .lp-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .lp-roadmap-grid {
    grid-template-columns: 1fr;
  }
  .lp-local {
    grid-template-columns: 1fr;
  }
  .lp-local-visual {
    order: -1;
  }
  .lp-section-head-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .lp-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin: 0;
    padding: 10px var(--lp-gutter) 14px;
    border-bottom: 1px solid var(--lp-line);
    background: var(--ky-bg);
  }
  .lp-links.is-open {
    display: flex;
  }
  .lp-links a {
    width: 100%;
    padding: 9px 0;
    font-size: 13px;
  }
  .lp-menu-button {
    display: block;
  }
  .lp-github {
    display: none;
  }
  .lp-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 0;
  }
  .lp-stats div:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }
  .lp-hero h1 {
    font-size: clamp(42px, 12vw, 64px);
  }
  .lp-feature-grid {
    grid-template-columns: 1fr;
  }
  .lp-feature-card {
    min-height: 0;
  }
  .lp-footer-inner {
    flex-direction: column;
  }
  .lp-window-bar > span:nth-child(2) {
    text-align: left;
  }
}

@media (max-width: 460px) {
  .lp-button-small {
    display: none;
  }
  .lp-hero-actions .lp-button {
    width: 100%;
  }
  .lp-tabs {
    width: 100%;
  }
  .lp-tabs button {
    flex: 1 1 auto;
  }
}
