html.landing {
  font-size: 100%;
  scroll-padding-top: 72px;
  scrollbar-width: none;
}

html.landing *,
html.landing *::before {
  scrollbar-width: none;
}

html.landing::-webkit-scrollbar,
html.landing *::-webkit-scrollbar {
  display: none;
}

html.landing body {
  overflow-x: clip;
}

.lp {
  --lp-deep: #151515;
  --lp-deep-2: #222220;
  --lp-deep-line: #333331;
  --lp-deep-ink: #f4f4f1;
  --lp-deep-muted: #a9a9a3;
  --lp-ghost: rgb(21 21 21 / 0.07);
  --lp-ease: cubic-bezier(0.23, 1, 0.32, 1);
  --lp-spring: cubic-bezier(0.34, 1.8, 0.64, 1);
  --lp-display: "Oswald", "Arial Narrow", ui-sans-serif, system-ui, sans-serif;
  --lp-sans: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  --lp-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --lp-on-lemon: #151515;
  --lp-on-lemon-muted: #3f4a12;

  font: 400 16px/1.55 var(--lp-sans);
  color: var(--c-ink);
  background: var(--c-canvas);
}

.dark .lp {
  --lp-deep: #0c0c0c;
  --lp-deep-2: #161616;
  --lp-deep-line: #2a2a2a;
  --lp-deep-ink: #f5f5f2;
  --lp-deep-muted: #a2a29d;
  --lp-ghost: rgb(245 245 242 / 0.07);
}

.lp :focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
  border-radius: 6px;
}

.lp-wrap {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 16px;
}

@media (min-width: 640px) {
  .lp-wrap { padding-inline: 24px; }
}

@media (min-width: 1024px) {
  .lp-wrap { padding-inline: 32px; }
}

.lp-section { padding-block: 96px; }

@media (min-width: 980px) {
  .lp-section { padding-block: 136px; }
}

.lp-display {
  margin: 0;
  font-family: var(--lp-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.lp-h1 { font-size: clamp(3.1rem, 7.6vw, 6rem); line-height: 0.95; }
.lp-h2 { font-size: clamp(2.25rem, 4.6vw, 3.6rem); line-height: 1.02; }

.lp-lead {
  margin: 0;
  max-width: 34em;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  color: var(--c-muted);
  text-wrap: pretty;
}

.lp-text {
  margin: 0;
  max-width: 36em;
  color: var(--c-muted);
  text-wrap: pretty;
}

.lp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 0.8125rem/1 var(--lp-mono);
  letter-spacing: 0.02em;
  color: var(--c-muted);
}

.lp-stack { display: flex; flex-direction: column; gap: 20px; }

.lp-line-mask { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.lp-line-in { display: block; }
.lp-word-mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.lp-word-in { display: inline-block; }

.lp-mark {
  position: relative;
  z-index: 0;
  display: inline-block;
  padding-inline: 0.1em;
  color: var(--lp-on-lemon);
}

.lp-mark::before {
  content: "";
  position: absolute;
  inset: 0.04em 0 0.02em;
  z-index: -1;
  border-radius: 0.08em;
  background: var(--c-lemon);
  transform-origin: left center;
  transform: scaleX(var(--s, 1));
}

.lp-swipe {
  padding-inline: 0.08em;
  border-radius: 4px;
  color: var(--lp-on-lemon);
  background: linear-gradient(var(--c-lemon), var(--c-lemon)) no-repeat 0 55% / calc(var(--s, 1) * 100%) 86%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding-inline: 20px;
  border: 0;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.lp-btn svg { width: 18px; height: 18px; transition: transform 200ms var(--lp-ease); }
.lp-btn:hover svg { transform: translateX(3px); }
.lp-btn-sm { height: 38px; padding-inline: 14px; font-size: 0.9375rem; border-radius: 10px; }
.lp-btn-primary { background: var(--c-accent); color: var(--c-on-accent); }
.lp-btn-primary:hover { background: var(--c-accent-hover); }
.lp-btn-ghost { background: transparent; color: var(--c-ink); box-shadow: inset 0 0 0 1.5px var(--c-line); }
.lp-btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--c-ink); }
.lp-btn-lemon { background: var(--c-lemon); color: var(--lp-on-lemon); }
.lp-btn-lemon:hover { background: #e3f78a; }
.lp-btn-ink { background: #151515; color: #f4f4f1; }
.lp-btn-ink:hover { background: #333331; }

.lp-icon-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--c-muted);
  cursor: pointer;
}

.lp-icon-btn:hover { color: var(--c-ink); background: var(--c-sunken); }
.lp-icon-btn svg { width: 20px; height: 20px; }

.lp-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: 3px;
  background: var(--c-lemon);
  transform-origin: left;
  transform: scaleX(0);
}

.lp-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 40;
  border-bottom: 1px solid transparent;
  background: color-mix(in srgb, var(--c-canvas) 86%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color 200ms ease, transform 420ms var(--lp-ease);
}

.lp-header.is-scrolled { border-color: var(--c-line); }
.lp-header.is-hidden { transform: translateY(-100%); }
.lp-header nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 64px; }
.lp-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--c-ink); text-decoration: none; }
.lp-brand-name { font: 500 1.5rem/1 var(--lp-display); }
.lp-header-links { display: flex; align-items: center; gap: 4px; }

.lp-link {
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--c-muted);
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
}

.lp-link:hover { color: var(--c-ink); }

@media (max-width: 560px) {
  .lp-link.lp-hide-sm { display: none; }
}

.lp-hero-stage { position: relative; }
.lp-ghosts { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }

.lp-ghost {
  position: absolute;
  font: 500 var(--fs, 2rem)/1 var(--lp-display);
  color: var(--lp-ghost);
  white-space: nowrap;
  user-select: none;
}

.lp-ghost.is-lemon {
  color: transparent;
  -webkit-text-stroke: 1.5px color-mix(in srgb, var(--c-lemon) 85%, var(--c-ink));
  opacity: 0.55;
}

@media (max-width: 760px) {
  .lp-ghost.lp-hide-sm { display: none; }
}

.lp-hero { position: relative; display: grid; align-items: center; gap: 48px; padding-block: 40px 80px; }

@media (min-width: 980px) {
  .lp-hero { grid-template-columns: 1.05fr 1fr; gap: 56px; padding-block: 72px 128px; }
}

.lp-hero-copy { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.lp-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.lp-assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--c-muted);
  font-size: 0.9375rem;
}

.lp-assurances li { display: flex; align-items: center; gap: 8px; }
.lp-assurances svg { width: 16px; height: 16px; color: var(--c-ink); }

.lp-live-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-success);
  box-shadow: 0 0 0 4px var(--c-success-soft);
}

.lp-live-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 2px solid var(--c-success);
  border-radius: 50%;
  opacity: 0;
  animation: lp-ping 2.4s var(--lp-ease) infinite;
}

.lp-console-stage { min-width: 0; perspective: 1400px; }

.lp-console {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: 24px;
  background: var(--c-surface);
  box-shadow: var(--c-shadow-lg);
  transform-origin: 50% 0%;
}

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

.lp-console-who { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.9375rem; }
.lp-console-who small { color: var(--c-muted); font-weight: 500; font-size: 0.8125rem; }

.lp-avatar {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--c-sunken);
  color: var(--c-muted);
  font: 600 0.8125rem/1 var(--lp-display);
}

.lp-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--c-accent-soft);
  color: var(--c-ink);
  font: 500 0.75rem/1 var(--lp-mono);
  white-space: nowrap;
}

.lp-chat {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  height: 460px;
  padding: 18px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(transparent, #000 56px);
  mask-image: linear-gradient(transparent, #000 56px);
}

.lp-chat > * { flex-shrink: 0; }

@media (max-width: 560px) {
  .lp-chat { height: 400px; padding: 14px; }
}

.lp-msg {
  max-width: 88%;
  padding: 11px 14px;
  border-radius: 16px;
  line-height: 1.45;
  text-wrap: pretty;
  transform-origin: bottom right;
  animation: lp-pop 460ms var(--lp-ease) both;
}

.lp-msg-user { align-self: flex-end; border-bottom-right-radius: 6px; background: var(--c-lemon); color: var(--lp-on-lemon); }
.lp-msg-ai { align-self: flex-start; border-bottom-left-radius: 6px; background: var(--c-sunken); transform-origin: bottom left; }
.lp-msg-ai a { color: inherit; font-weight: 600; text-underline-offset: 3px; }

.lp-tool {
  position: relative;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  align-self: flex-start;
  gap: 10px;
  max-width: 100%;
  overflow: hidden;
  padding: 7px 12px 7px 10px;
  border: 1px dashed var(--c-line);
  border-radius: 10px;
  color: var(--c-muted);
  font: 400 0.78rem/1.3 var(--lp-mono);
  animation: lp-rise 300ms var(--lp-ease) both;
}

.lp-tool.is-running::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--c-accent-soft), transparent);
  animation: lp-sweep 900ms linear infinite;
}

.lp-tool code { position: relative; color: var(--c-ink); font: inherit; font-weight: 500; }
.lp-tool > span { position: relative; }
.lp-tool-state { display: grid; place-items: center; width: 16px; height: 16px; }
.lp-tool-state.is-ok { color: var(--c-success); }
.lp-tool-state svg { width: 14px; height: 14px; }

.lp-spin {
  width: 12px;
  height: 12px;
  border: 2px solid var(--c-line);
  border-top-color: var(--c-ink);
  border-radius: 50%;
  animation: lp-spin 700ms linear infinite;
}

.lp-typing {
  display: inline-flex;
  align-self: flex-start;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--c-sunken);
  animation: lp-rise 240ms var(--lp-ease) both;
}

.lp-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--c-faint); animation: lp-blink 1s infinite; }
.lp-typing i:nth-child(2) { animation-delay: 0.15s; }
.lp-typing i:nth-child(3) { animation-delay: 0.3s; }

.lp-mini-card {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--c-surface);
  box-shadow: var(--c-shadow);
  transform-origin: top center;
  animation: lp-flip-in 700ms var(--lp-ease) 160ms both;
}

.lp-mini-card .lp-mini-word { font: 500 1.5rem/1 var(--lp-display); }
.lp-mini-card .lp-mini-meaning { margin-top: 4px; font-weight: 600; }
.lp-mini-card .lp-mini-chunk { margin-top: 8px; color: var(--c-muted); font-size: 0.875rem; }
.lp-mini-card .lp-mini-chunk span { color: var(--c-ink); font-weight: 500; }

.lp-mini-list { display: grid; gap: 4px; margin: 8px 0 0; padding: 0; list-style: none; }
.lp-mini-list li { display: flex; justify-content: space-between; gap: 12px; font-size: 0.9rem; animation: lp-rise 360ms var(--lp-ease) both; }
.lp-mini-list li:nth-child(2) { animation-delay: 90ms; }
.lp-mini-list li:nth-child(3) { animation-delay: 180ms; }
.lp-mini-list li span:last-child { color: var(--c-muted); font: 400 0.8125rem/1.6 var(--lp-mono); }

.lp-stat-row { display: flex; gap: 18px; margin-top: 10px; }
.lp-stat-row div { display: flex; flex-direction: column; }
.lp-stat-row b { font: 500 1.75rem/1 var(--lp-display); font-variant-numeric: tabular-nums; }
.lp-stat-row small { color: var(--c-muted); font-size: 0.8125rem; }
.lp-follow-up { margin: 10px 0 0; }

.lp-prompts { display: flex; flex-direction: column; gap: 10px; padding: 12px 14px 14px; border-top: 1px solid var(--c-line); }
.lp-prompts-label { color: var(--c-muted); font-size: 0.8125rem; font-weight: 500; }
.lp-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.lp-chip {
  padding: 9px 13px;
  border: 0;
  border-radius: 999px;
  background: var(--c-canvas);
  box-shadow: inset 0 0 0 1px var(--c-line);
  color: var(--c-ink);
  font-size: 0.875rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: box-shadow 160ms ease, transform 200ms var(--lp-ease);
}

.lp-chip:hover { box-shadow: inset 0 0 0 1.5px var(--c-ink); transform: translateY(-2px); }
.lp-chip:active { transform: scale(0.96); }

.lp-chip:disabled {
  opacity: 0.45;
  cursor: default;
  box-shadow: inset 0 0 0 1px var(--c-line);
  text-decoration: line-through;
  text-decoration-color: var(--c-faint);
  transform: none;
}

.lp-band { position: relative; overflow: hidden; background: var(--c-lemon); color: var(--lp-on-lemon); }
.lp-band .lp-text,
.lp-band .lp-kicker { color: var(--lp-on-lemon-muted); }

.lp-band-ghost {
  position: absolute;
  top: 50%;
  left: 0;
  color: rgb(21 21 21 / 0.06);
  font: 600 clamp(8rem, 22vw, 20rem)/1 var(--lp-display);
  letter-spacing: -0.02em;
  white-space: nowrap;
  pointer-events: none;
  transform: translateY(-50%);
}

.lp-try { position: relative; display: grid; align-items: center; gap: 40px; padding-block: 88px; }

@media (min-width: 980px) {
  .lp-try { grid-template-columns: 1fr 1.05fr; gap: 64px; padding-block: 136px; }
}

.lp-study-stage { min-width: 0; perspective: 1200px; }

.lp-study {
  min-width: 0;
  padding: 22px;
  border-radius: 24px;
  background: #f4f4f1;
  color: #151515;
  box-shadow: 0 40px 80px rgb(40 52 0 / 0.22), 0 0 0 1px rgb(21 21 21 / 0.06);
  transform-style: preserve-3d;
}

@media (min-width: 640px) {
  .lp-study { padding: 28px; }
}

.lp-study-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.lp-seg { display: inline-flex; padding: 3px; border-radius: 12px; background: #e6e6e1; }

.lp-seg button {
  padding: 8px 14px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #5d5d57;
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: color 200ms ease, background-color 200ms ease, box-shadow 200ms ease;
}

.lp-seg button[aria-pressed="true"] { background: #fff; color: #151515; box-shadow: 0 1px 2px rgb(0 0 0 / 0.08), 0 0 0 1px rgb(0 0 0 / 0.04); }
.lp-study-progress { color: #5d5d57; font: 500 0.8125rem/1 var(--lp-mono); }
.lp-question { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 28px; text-align: center; }
.lp-q-word { display: inline-flex; font: 500 clamp(3rem, 8vw, 4.25rem)/1 var(--lp-display); letter-spacing: -0.01em; }
.lp-q-word span { display: inline-block; }
.lp-q-hint { color: #5d5d57; font-size: 0.9375rem; }
.lp-options { display: grid; gap: 10px; margin-top: 24px; }

@media (min-width: 520px) {
  .lp-options { grid-template-columns: 1fr 1fr; }
}

.lp-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  box-shadow: inset 0 0 0 1.5px #e2e2dd;
  color: #151515;
  font-weight: 600;
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  transition: box-shadow 160ms ease, background-color 200ms ease, transform 200ms var(--lp-ease), opacity 200ms ease;
}

.lp-opt:hover:not(:disabled) { box-shadow: inset 0 0 0 1.5px #151515; transform: translateY(-2px); }
.lp-opt:active:not(:disabled) { transform: scale(0.98); }
.lp-opt:disabled { cursor: default; }

.lp-opt kbd {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #ebebe7;
  color: #5d5d57;
  font: 500 0.75rem/1 var(--lp-mono);
}

.lp-opt.is-right { background: #e5f4ec; box-shadow: inset 0 0 0 1.5px #167a51; }
.lp-opt.is-right kbd { background: #167a51; color: #fff; }
.lp-opt.is-wrong { background: #fcebe9; box-shadow: inset 0 0 0 1.5px #c0362d; animation: lp-shake 420ms var(--lp-ease); }
.lp-opt.is-wrong kbd { background: #c0362d; color: #fff; }
.lp-opt.is-dim { opacity: 0.5; }

.lp-reveal { width: 100%; margin-top: 24px; }
.lp-answer { margin-top: 20px; text-align: center; animation: lp-flip-in 520ms var(--lp-ease) both; }
.lp-answer-meaning { font-size: 1.375rem; font-weight: 600; }
.lp-answer-chunk { margin-top: 4px; color: #5d5d57; font-size: 0.9375rem; }
.lp-ratings { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 18px; }

.lp-rate {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 12px 6px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: inset 0 0 0 1.5px #e2e2dd;
  color: #151515;
  cursor: pointer;
  transition: box-shadow 160ms ease, transform 200ms var(--lp-ease), opacity 200ms ease;
  animation: lp-rise 360ms var(--lp-ease) both;
}

.lp-rate:nth-child(2) { animation-delay: 50ms; }
.lp-rate:nth-child(3) { animation-delay: 100ms; }
.lp-rate:nth-child(4) { animation-delay: 150ms; }
.lp-rate:hover:not(:disabled) { box-shadow: inset 0 0 0 1.5px #151515; transform: translateY(-2px); }
.lp-rate b { font-size: 0.9375rem; }
.lp-rate small { color: #5d5d57; font: 500 0.75rem/1 var(--lp-mono); }
.lp-rate.is-chosen { background: #151515; color: #f4f4f1; box-shadow: none; }
.lp-rate.is-chosen small { color: #d7f25a; }
.lp-rate:disabled:not(.is-chosen) { opacity: 0.5; cursor: default; }

.lp-verdict {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #151515;
  color: #f4f4f1;
  transform-origin: top center;
  animation: lp-pop 480ms var(--lp-ease) both;
}

.lp-verdict-icon {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #d7f25a;
  color: #151515;
}

.lp-verdict-icon svg { width: 16px; height: 16px; }
.lp-verdict p { margin: 0; }
.lp-verdict-title { font-weight: 600; }
.lp-verdict-text { margin-top: 2px; color: #b0b0aa; font-size: 0.9375rem; }

.lp-verdict a,
.lp-verdict button {
  padding: 0;
  border: 0;
  background: none;
  color: #d7f25a;
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.lp-burst {
  position: fixed;
  z-index: 70;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  pointer-events: none;
}

.lp-memory { position: relative; overflow: hidden; padding-block: 88px; }

@media (min-width: 768px) {
  .lp-memory { display: flex; align-items: center; min-height: 100vh; padding-block: 56px; }
}

.lp-memory > .lp-wrap { position: relative; }

.lp-bigday {
  position: absolute;
  top: -8px;
  right: 8px;
  z-index: 0;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--c-line);
  font: 600 clamp(8rem, 20vw, 17rem)/0.8 var(--lp-display);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  pointer-events: none;
}

.lp-bigday small { margin-left: 0.15em; color: var(--c-faint); -webkit-text-stroke: 0; font-size: 0.28em; font-weight: 500; letter-spacing: 0; }
.lp-memory-head { position: relative; z-index: 1; display: grid; gap: 20px; }

@media (min-width: 980px) {
  .lp-memory-head { grid-template-columns: 1fr 1fr; align-items: end; gap: 64px; }
}

.lp-yours {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--c-surface);
  box-shadow: var(--c-shadow);
  font-size: 0.9375rem;
  font-weight: 500;
}

.lp-yours b { font-weight: 700; }
.lp-yours-dot { flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--c-faint); }
.lp-yours.is-good .lp-yours-dot { background: var(--c-success); }
.lp-yours.is-bad .lp-yours-dot { background: var(--c-danger); }

.lp-memo {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 36px 0 0;
  padding: 22px 18px;
  border-radius: 24px;
  background: var(--c-surface);
  box-shadow: var(--c-shadow);
}

@media (min-width: 640px) {
  .lp-memo { padding: 28px 32px; }
}

.lp-memo-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.lp-memo-day { display: flex; align-items: baseline; gap: 2px; color: var(--c-muted); font: 500 1rem/1 var(--lp-mono); }
.lp-memo-day b { min-width: 1.25em; color: var(--c-ink); font: 500 clamp(2.5rem, 5vw, 3.5rem)/1 var(--lp-display); font-variant-numeric: tabular-nums; text-align: right; }
.lp-memo-status { display: flex; flex: 1 1 280px; align-items: center; min-height: 2.9em; margin: 0; font-size: 1.0625rem; font-weight: 600; text-wrap: pretty; }
.lp-meters { display: grid; gap: 14px; }

@media (min-width: 760px) {
  .lp-meters { grid-template-columns: 1fr 1fr; gap: 18px; }
}

.lp-meter { padding: 16px 18px 18px; border-radius: 16px; background: var(--c-canvas); }
.lp-meter-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.lp-meter-head span { font-weight: 600; }
.lp-meter-head b { font: 500 clamp(2.25rem, 4vw, 3rem)/1 var(--lp-display); font-variant-numeric: tabular-nums; }
.lp-meter.is-raw .lp-meter-head b { color: var(--c-faint); }
.lp-meter-track { position: relative; height: 16px; margin-top: 26px; border-radius: 999px; background: var(--c-sunken); }
.lp-meter-fill { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: var(--c-faint); }
.lp-meter.is-reviewed .lp-meter-fill { background: var(--c-ink); }
.lp-meter.is-refill .lp-meter-fill { animation: lp-refill 900ms var(--lp-ease); }
.lp-meter-line { position: absolute; top: -6px; bottom: -6px; border-left: 2px dashed var(--c-ink); }

.lp-meter-line::before {
  content: attr(data-label);
  position: absolute;
  bottom: calc(100% + 4px);
  left: -1px;
  color: var(--c-ink);
  font: 500 0.6875rem/1 var(--lp-mono);
  transform: translateX(-50%);
}

.lp-meter-note { margin: 12px 0 0; color: var(--c-muted); font-size: 0.875rem; text-wrap: pretty; }
.lp-tl-title { margin: 0 0 4px; color: var(--c-muted); font-size: 0.875rem; font-weight: 600; }
.lp-tl { display: flex; align-items: center; padding: 28px 7px 30px; }
.lp-tl-node { position: relative; flex-shrink: 0; width: 14px; height: 14px; }

.lp-tl-node::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--c-surface);
  box-shadow: inset 0 0 0 2px var(--c-line);
  transition: background-color 300ms ease, box-shadow 300ms ease, transform 420ms var(--lp-spring);
}

.lp-tl-node.is-on::before { background: var(--c-lemon); box-shadow: inset 0 0 0 2px var(--c-ink); transform: scale(1.3); }

.lp-tl-node em {
  position: absolute;
  top: 24px;
  left: 50%;
  color: var(--c-faint);
  font: 500 0.75rem/1 var(--lp-mono);
  font-style: normal;
  white-space: nowrap;
  transform: translateX(-50%);
  transition: color 300ms ease;
}

.lp-tl-node:first-child em { left: -7px; transform: none; }
.lp-tl-node:last-child em { right: -7px; left: auto; transform: none; }
.lp-tl-node.is-on em { color: var(--c-ink); }
.lp-tl-seg { position: relative; flex: var(--g) 1 56px; min-width: 56px; height: 4px; margin-inline: 6px; border-radius: 99px; background: var(--c-sunken); }
.lp-tl-seg i { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: var(--c-ink); }
.lp-tl-seg span { position: absolute; bottom: 12px; left: 50%; color: var(--c-muted); font: 500 0.75rem/1 var(--lp-mono); white-space: nowrap; transform: translateX(-50%); }
.lp-memo-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; padding-top: 16px; border-top: 1px solid var(--c-line); }
.lp-scrub { display: flex; flex: 1 1 240px; align-items: center; gap: 12px; }
.lp-scrub label { color: var(--c-muted); font-size: 0.875rem; white-space: nowrap; }
.lp-scrub input { flex: 1; min-width: 0; accent-color: var(--c-ink); }
.lp-method { flex: 1 1 340px; margin: 0; color: var(--c-muted); font-size: 0.8125rem; }

.lp-plan { display: grid; align-items: center; gap: 40px; }
.lp-plan > * { min-width: 0; }

@media (min-width: 980px) {
  .lp-plan { grid-template-columns: 1fr 1.1fr; gap: 64px; }
}

.lp-plan-stage { min-width: 0; perspective: 1200px; }
.lp-plan-card { max-width: 100%; min-width: 0; overflow: hidden; padding: 18px; border-radius: 24px; background: var(--c-surface); box-shadow: var(--c-shadow-lg); }

@media (min-width: 640px) {
  .lp-plan-card { padding: 24px; }
}

.lp-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }

.lp-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 0;
  padding: 8px 0 10px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--c-muted);
  cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease, transform 200ms var(--lp-ease);
}

.lp-day:hover { background: var(--c-sunken); transform: translateY(-2px); }
.lp-day-name { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.lp-day-date { color: var(--c-ink); font: 500 1.375rem/1 var(--lp-display); }
.lp-day-dots { display: flex; gap: 3px; height: 5px; }
.lp-day-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--c-ink); }
.lp-day.is-today .lp-day-name { color: var(--c-ink); }
.lp-day[aria-pressed="true"] { background: var(--c-ink); color: var(--c-canvas); transform: none; }
.lp-day[aria-pressed="true"] .lp-day-date { color: var(--c-canvas); }
.lp-day[aria-pressed="true"] .lp-day-dots i { background: var(--c-lemon); }
.lp-day-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 22px 4px 8px; }
.lp-day-head h3 { margin: 0; font: 500 1.5rem/1.1 var(--lp-display); }
.lp-day-head span { color: var(--c-muted); font-size: 0.875rem; }
.lp-todos { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.lp-todos.is-swapping .lp-todo { animation: lp-rise 320ms var(--lp-ease) both; }
.lp-todos.is-swapping .lp-todo:nth-child(2) { animation-delay: 50ms; }
.lp-todos.is-swapping .lp-todo:nth-child(3) { animation-delay: 100ms; }
.lp-todo { display: flex; align-items: flex-start; gap: 12px; padding: 12px 4px; border-top: 1px solid var(--c-line); background: var(--c-surface); }
.lp-todo:first-child { border-top: 0; }
.lp-todo.is-flash { animation: lp-flash 1600ms var(--lp-ease); }

.lp-check {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  padding: 0;
  border: 1.5px solid var(--c-line);
  border-radius: 7px;
  background: transparent;
  color: var(--c-canvas);
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, transform 240ms var(--lp-spring);
}

.lp-check:hover { border-color: var(--c-ink); }
.lp-check:active { transform: scale(0.85); }
.lp-check svg { width: 13px; height: 13px; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset 320ms var(--lp-ease); }
.lp-check[aria-checked="true"] { border-color: var(--c-ink); background: var(--c-ink); }
.lp-check[aria-checked="true"] svg { stroke-dashoffset: 0; }
.lp-check.is-small { width: 18px; height: 18px; margin-top: 1px; border-radius: 5px; }
.lp-check.is-small svg { width: 11px; height: 11px; }
.lp-todo-body { flex: 1; min-width: 0; }
.lp-todo-title { position: relative; display: inline-block; max-width: 100%; font-weight: 600; overflow-wrap: anywhere; transition: color 200ms ease; }

.lp-todo-title::after {
  content: "";
  position: absolute;
  top: 55%;
  right: 0;
  left: 0;
  height: 1.5px;
  background: var(--c-muted);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms var(--lp-ease);
}

.lp-todo.is-done > .lp-todo-body > .lp-todo-title { color: var(--c-muted); }
.lp-todo.is-done > .lp-todo-body > .lp-todo-title::after { transform: scaleX(1); }
.lp-todo-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 2px; color: var(--c-muted); font-size: 0.875rem; }
.lp-todo-meta svg { width: 14px; height: 14px; vertical-align: -2px; }
.lp-by-ai { padding: 4px 7px; border-radius: 6px; background: var(--c-lemon); color: var(--lp-on-lemon); font: 500 0.72rem/1 var(--lp-mono); }
.lp-subtasks { display: flex; flex-direction: column; gap: 6px; margin: 8px 0 0; padding: 0; list-style: none; }
.lp-subtasks li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9375rem; }
.lp-subtasks li.is-done span { color: var(--c-muted); text-decoration: line-through; }
.lp-empty-day { padding: 18px 4px; color: var(--c-muted); }
.lp-plan-note { display: flex; align-items: flex-start; gap: 10px; margin: 14px 4px 0; padding-top: 14px; border-top: 1px solid var(--c-line); color: var(--c-muted); font-size: 0.875rem; }
.lp-plan-note svg { flex-shrink: 0; width: 16px; height: 16px; margin-top: 2px; color: var(--c-ink); transform-origin: 50% 10%; }
.lp-plan-note.is-ringing svg { animation: lp-ring 900ms var(--lp-ease); }

.lp-deep { background: var(--lp-deep); color: var(--lp-deep-ink); }
.lp-deep .lp-text,
.lp-deep .lp-kicker { color: var(--lp-deep-muted); }
.lp-connect { display: grid; gap: 48px; }

@media (min-width: 980px) {
  .lp-connect { grid-template-columns: 1fr 1.15fr; gap: 64px; }
}

.lp-privacy { display: flex; flex-direction: column; gap: 14px; margin: 8px 0 0; padding: 0; list-style: none; }
.lp-privacy li { display: flex; gap: 12px; color: var(--lp-deep-muted); }
.lp-privacy svg { flex-shrink: 0; width: 18px; height: 18px; margin-top: 3px; color: var(--c-lemon); }
.lp-privacy b { color: var(--lp-deep-ink); font-weight: 600; }
.lp-setup { min-width: 0; padding: 20px; border-radius: 24px; background: var(--lp-deep-2); box-shadow: 0 0 0 1px var(--lp-deep-line); }

@media (min-width: 640px) {
  .lp-setup { padding: 28px; }
}

.lp-wire { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; margin-bottom: 18px; padding: 4px 0 22px; border-bottom: 1px solid var(--lp-deep-line); }
.lp-node { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--lp-deep-muted); font: 500 0.75rem/1 var(--lp-mono); }

.lp-node-box {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--lp-deep);
  box-shadow: 0 0 0 1px var(--lp-deep-line);
  color: var(--lp-deep-ink);
  font: 600 1.25rem/1 var(--lp-display);
  transition: box-shadow 400ms ease;
}

.lp-node-box svg { width: 26px; height: 26px; }
.lp-node.is-live .lp-node-box { box-shadow: 0 0 0 1.5px var(--c-lemon), 0 0 32px rgb(215 242 90 / 0.35); }
.lp-wire-line { position: relative; height: 26px; }
.lp-wire-line svg { display: block; width: 100%; height: 26px; overflow: visible; }
.lp-wire-path { fill: none; stroke: var(--c-lemon); stroke-width: 2; stroke-linecap: round; }
.lp-wire-base { fill: none; stroke: var(--lp-deep-line); stroke-width: 2; stroke-dasharray: 2 6; stroke-linecap: round; }
.lp-wire-status { position: absolute; top: -14px; left: 50%; color: var(--c-lemon); font: 500 0.72rem/1 var(--lp-mono); white-space: nowrap; transform: translateX(-50%); }
.lp-pulse { position: absolute; top: 50%; left: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--c-lemon); box-shadow: 0 0 12px var(--c-lemon); opacity: 0; }
.lp-tabs { display: flex; gap: 4px; width: fit-content; max-width: 100%; padding: 3px; overflow-x: auto; border-radius: 12px; background: var(--lp-deep); }

.lp-tabs button {
  padding: 8px 14px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--lp-deep-muted);
  font-weight: 600;
  font-size: 0.875rem;
  white-space: nowrap;
  cursor: pointer;
  transition: color 200ms ease, background-color 200ms ease;
}

.lp-tabs button[aria-selected="true"] { background: var(--lp-deep-ink); color: #151515; }
.lp-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.lp-tag { padding: 6px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--lp-deep-line); color: var(--lp-deep-muted); font-size: 0.8125rem; font-weight: 500; }
.lp-tag.is-good { color: var(--c-lemon); box-shadow: inset 0 0 0 1px rgb(215 242 90 / 0.35); }
.lp-steps { display: flex; flex-direction: column; margin: 20px 0 0; padding: 0; list-style: none; counter-reset: lp-step; }
.lp-steps li { display: grid; grid-template-columns: 32px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--lp-deep-line); counter-increment: lp-step; }
.lp-steps li:first-child { border-top: 0; }

.lp-steps li::before {
  content: counter(lp-step);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--lp-deep);
  box-shadow: inset 0 0 0 1px var(--lp-deep-line);
  color: var(--c-lemon);
  font: 500 0.875rem/1 var(--lp-mono);
}

.lp-steps p { margin: 3px 0 0; color: var(--lp-deep-muted); }
.lp-steps b { color: var(--lp-deep-ink); font-weight: 600; }
.lp-step-title { font-weight: 500; }
[role="tabpanel"]:not([hidden]) .lp-steps li { animation: lp-rise 380ms var(--lp-ease) both; }
[role="tabpanel"]:not([hidden]) .lp-steps li:nth-child(2) { animation-delay: 60ms; }
[role="tabpanel"]:not([hidden]) .lp-steps li:nth-child(3) { animation-delay: 120ms; }
.lp-url { display: flex; gap: 8px; margin-top: 10px; }

.lp-url input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding-inline: 12px;
  border: 0;
  border-radius: 10px;
  background: var(--lp-deep);
  box-shadow: inset 0 0 0 1px var(--lp-deep-line);
  color: var(--lp-deep-ink);
  font: 400 0.875rem var(--lp-mono);
}

.lp-url button { height: 44px; }
.lp-url-plain { margin: 3px 0 0; color: var(--lp-deep-muted); font: 400 0.875rem/1.5 var(--lp-mono); overflow-wrap: anywhere; }
.lp-setup-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--lp-deep-line); }
.lp-setup-foot a { display: inline-flex; align-items: center; gap: 6px; color: var(--c-lemon); font-weight: 600; text-decoration: none; }
.lp-setup-foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
.lp-setup-foot a svg { width: 18px; height: 18px; }
.lp-setup-foot small { color: var(--lp-deep-muted); }

.lp-marquee { display: flex; flex-direction: column; gap: 4px; padding-block: 72px 0; overflow: hidden; }
.lp-marquee-row { display: flex; width: max-content; }

.lp-marquee-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding-right: 0.4em;
  font: 600 clamp(3.5rem, 10vw, 8rem)/1 var(--lp-display);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.lp-marquee-row span::after { content: ""; width: 0.28em; height: 0.28em; border-radius: 50%; background: var(--c-lemon); box-shadow: inset 0 0 0 0.04em var(--c-ink); }
.lp-marquee-row.is-outline span { color: transparent; -webkit-text-stroke: 1.5px var(--c-ink); }
.lp-solo-head { display: flex; flex-direction: column; gap: 16px; max-width: 40em; }
.lp-solo { display: grid; gap: 32px; margin-top: 48px; }

@media (min-width: 760px) {
  .lp-solo { grid-template-columns: repeat(3, 1fr); gap: 40px; }
}

.lp-solo article { position: relative; padding-top: 18px; }
.lp-solo article::before { content: ""; position: absolute; top: 0; right: 0; left: 0; height: 2px; background: var(--c-ink); transform: scaleX(var(--s, 1)); transform-origin: left; }
.lp-solo h3 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 1.125rem; font-weight: 600; }
.lp-solo h3 svg { width: 20px; height: 20px; }
.lp-solo p { margin: 8px 0 0; color: var(--c-muted); text-wrap: pretty; }
.lp-paste { margin-top: 14px; padding: 10px 12px; border-radius: 12px; background: var(--c-surface); box-shadow: var(--c-shadow); font: 400 0.8125rem/1.7 var(--lp-mono); }
.lp-paste div { display: flex; justify-content: space-between; gap: 10px; }
.lp-paste div span:last-child { color: var(--c-muted); font-family: var(--lp-sans); }
.lp-push { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; padding: 12px; border-radius: 14px; background: var(--c-surface); box-shadow: var(--c-shadow-lg); font-size: 0.875rem; }
.lp-push svg { flex-shrink: 0; width: 32px; height: 32px; }
.lp-push b { display: block; font-weight: 600; }
.lp-push span { color: var(--c-muted); }
.lp-install { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.lp-install span { padding: 8px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--c-line); color: var(--c-muted); font: 500 0.78rem/1 var(--lp-mono); }

.lp-cta { padding-block: 24px 96px; }

.lp-cta-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 28px;
  overflow: hidden;
  padding: 40px 24px;
  border-radius: 28px;
  background: var(--c-lemon);
  color: var(--lp-on-lemon);
}

.lp-cta-card > div { position: relative; z-index: 1; }
.lp-cta-card > div:first-of-type { padding-right: 60px; }
.lp-cta-card .lp-text { margin-top: 14px; color: var(--lp-on-lemon-muted); }
.lp-cta-card .lp-btn-ghost { color: #151515; box-shadow: inset 0 0 0 1.5px rgb(21 21 21 / 0.25); }
.lp-cta-card .lp-btn-ghost:hover { box-shadow: inset 0 0 0 1.5px #151515; }
.lp-bookmark { position: absolute; top: -6px; right: 24px; z-index: 2; width: 46px; pointer-events: none; transform-origin: 50% 0; }

@media (min-width: 760px) {
  .lp-cta-card { flex-direction: row; align-items: flex-end; justify-content: space-between; min-height: 300px; padding: 64px 56px; }
  .lp-cta-card > div:first-of-type { padding-right: 0; }
  .lp-bookmark { right: 64px; width: 60px; }
}

.lp-footer { border-top: 1px solid var(--c-line); }
.lp-footer .lp-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-block: 28px; }
.lp-footer nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.lp-footer nav a { padding-block: 8px; color: var(--c-muted); text-decoration: none; }
.lp-footer nav a:hover { color: var(--c-ink); }
.lp-footer small { color: var(--c-muted); font-size: 0.875rem; }

@keyframes lp-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes lp-pop { from { opacity: 0; transform: translateY(12px) scale(0.92); } to { opacity: 1; transform: none; } }
@keyframes lp-flip-in { from { opacity: 0; transform: perspective(600px) rotateX(-70deg); } to { opacity: 1; transform: none; } }
@keyframes lp-spin { to { transform: rotate(360deg); } }
@keyframes lp-sweep { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@keyframes lp-blink { 0%, 80%, 100% { opacity: 0.3; } 40% { opacity: 1; } }
@keyframes lp-ping { 0% { opacity: 0.7; transform: scale(0.6); } 100% { opacity: 0; transform: scale(1.8); } }
@keyframes lp-shake { 0%, 100% { transform: none; } 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }
@keyframes lp-ring { 0%, 100% { transform: rotate(0); } 15% { transform: rotate(18deg); } 30% { transform: rotate(-14deg); } 45% { transform: rotate(10deg); } 60% { transform: rotate(-6deg); } }
@keyframes lp-refill { 0% { background: var(--c-lemon); box-shadow: 0 0 0 6px var(--c-accent-soft); } 100% { box-shadow: 0 0 0 6px transparent; } }
@keyframes lp-flash { 0% { background: var(--c-accent-soft); box-shadow: 0 0 0 6px var(--c-accent-soft); border-radius: 10px; } 100% { background: var(--c-surface); box-shadow: 0 0 0 6px transparent; } }

@media (prefers-reduced-motion: reduce) {
  .lp *,
  .lp *::before,
  .lp *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}
