/* ============================================================
   Lystly marketing site — site.css
   One shared stylesheet for every page. Ports the Claude Design
   handoff onto Lystly's REAL Soft / neumorphism tokens.
   ONE warm-taupe ground for every surface; depth comes from dual
   soft shadows (light top-left + soft dark bottom-right), NEVER
   borders; inputs sit inset; generous radii; Inter type.
   ============================================================ */

/* ---------- TOKENS (the real Lystly Soft theme) ---------- */
:root {
  /* surface — one warm taupe family */
  --bg-app: #EFE9DC;          /* app ground — every card shares it */
  --bg-card: #EFE9DC;
  --sidebar: #EBE3D3;         /* a hair warmer than the ground */
  --sidebar-text: #3D372D;

  /* text — warm, never pure black */
  --text-primary: #2C2924;
  --text-secondary: #7A7064;

  /* module accents — small signals only (dots / icons / tags) */
  --accent-task: #5B8DEF;     /* Planner / Tasks — soft blue */
  --accent-reminder: #E8894A; /* Reminders — warm orange */
  --accent-event: #9B7FD4;    /* Events — muted purple */
  --accent-budget: #6BBF8E;   /* Budget / Finance — soft green */
  --accent-journal: #D4848A;  /* Journal — dusty rose */
  --accent-habit: #5BB8C1;    /* Habits — soft teal */

  /* module card hues — soft, alpha so the taupe warmth shows through */
  --hue-planner: #F5D867B3;   /* yellow @ 70% */
  --hue-habits: #F4B8DCCC;    /* pink   @ 80% */
  --hue-finance: #AAB682CC;   /* sage   @ 80% */
  --hue-vision: #B7CBEB;      /* powder blue */

  /* typography */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

  /* radius */
  --radius-card: 14px;
  --radius-tile: 18px;
  --radius-well: 12px;
  --radius-pill: 999px;

  /* neumorphic shadow recipes — dual soft (light + dark), NO borders */
  --neu-x:
    -7px -7px 16px rgba(255, 255, 255, .85),
     8px  8px 18px rgba(60, 40, 15, .10);
  --neu-x-sm:
    -3px -3px 8px rgba(255, 255, 255, .85),
     4px  4px 9px rgba(60, 40, 15, .11);
  --neu-x-xs:
    -2px -2px 5px rgba(255, 255, 255, .80),
     2px  2px 5px rgba(60, 40, 15, .12);
  --neu-in:
    inset 4px 4px 9px rgba(60, 40, 15, .14),
    inset -4px -4px 9px rgba(255, 255, 255, .85);
  --neu-in-sm:
    inset 2px 2px 5px rgba(60, 40, 15, .14),
    inset -2px -2px 5px rgba(255, 255, 255, .80);

  /* focus ring (WCAG-AA, >=3:1 on the taupe ground) */
  --focus-ring: #2F569C;

  /* section vertical rhythm */
  --ly-sec: 88px;
}

/* ---------- RESET / BASE ---------- */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg-app);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

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

a { color: inherit; }

h1, h2, h3, h4 { font-weight: 800; letter-spacing: -.02em; }

:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: 4px;
}

.ly-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--bg-app);
  box-shadow: var(--neu-x);
  font-weight: 700;
  text-decoration: none;
  color: var(--text-primary);
}
.ly-skip:focus { left: 16px; top: 16px; }

.ly-sr {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

/* ============================================================
   SHARED PRIMITIVES (.lny-*)
   ============================================================ */
.lny-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--bg-app);
  border: none;
  border-radius: 12px;
  padding: 12px 20px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: var(--neu-x-sm);
  transition: box-shadow .14s ease, transform .14s ease;
}
.lny-btn:hover { box-shadow: var(--neu-x); }
.lny-btn:active { box-shadow: var(--neu-in-sm); transform: translateY(.5px); }
.lny-btn--accent { color: #fff; background: var(--accent-task); }
.lny-btn--big { font-size: 15.5px; padding: 15px 28px; }

/* a card surface — extrudes from the ground, no border */
.lny-card {
  background: var(--bg-app);
  border-radius: var(--radius-card);
  box-shadow: var(--neu-x);
}

/* inset "well" — search fields, toggles, inputs */
.lny-well {
  background: var(--bg-app);
  border-radius: var(--radius-well);
  box-shadow: var(--neu-in);
}

/* pill chip / eyebrow */
.ly-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: 999px;
  box-shadow: var(--neu-x-xs);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--text-secondary);
}
.ly-eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-budget);
  flex: none;
}

/* tag pill (module-tinted) */
.ly-tag {
  display: inline-flex;
  align-items: center;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: var(--neu-x-xs);
  color: var(--accent-task);
  background: color-mix(in srgb, var(--accent-task) 16%, transparent);
}
.ly-tag--reminder { color: var(--accent-reminder); background: color-mix(in srgb, var(--accent-reminder) 16%, transparent); }
.ly-tag--event    { color: var(--accent-event);    background: color-mix(in srgb, var(--accent-event) 16%, transparent); }
.ly-tag--budget   { color: var(--accent-budget);   background: color-mix(in srgb, var(--accent-budget) 16%, transparent); }
.ly-tag--journal  { color: var(--accent-journal);  background: color-mix(in srgb, var(--accent-journal) 16%, transparent); }
.ly-tag--habit    { color: var(--accent-habit);    background: color-mix(in srgb, var(--accent-habit) 16%, transparent); }

/* circular checkbox (Lystly signature) */
.ly-check {
  width: 19px; height: 19px;
  flex: none;
  border-radius: 50%;
  background: var(--bg-app);
  box-shadow: var(--neu-x-xs);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.ly-check svg { width: 12px; height: 12px; opacity: 0; }
.ly-check.is-on { background: var(--accent-task); box-shadow: var(--neu-in-sm); }
.ly-check.is-on svg { opacity: 1; }

/* ============================================================
   LAYOUT SCAFFOLD
   ============================================================ */
.ly-page { background: var(--bg-app); min-height: 100vh; overflow-x: clip; }

.ly-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--ly-sec, 88px) 32px;
}
.ly-section--narrow { max-width: 920px; }

/* a tinted band (sidebar warmth) for inset sections */
.ly-band {
  background: var(--sidebar);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -1px 0 rgba(60, 40, 15, .05);
}

/* section heading block */
.ly-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 48px;
}
.ly-head--center { text-align: center; align-items: center; }
.ly-head h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -.03em;
  max-width: 640px;
}
.ly-head p {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 560px;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.ly-header {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background .25s, box-shadow .25s;
  background: transparent;
}
.ly-header.is-solid {
  background: rgba(239, 233, 220, .88);
  -webkit-backdrop-filter: saturate(1.1) blur(14px);
  backdrop-filter: saturate(1.1) blur(14px);
  box-shadow: 0 1px 0 rgba(60, 40, 15, .06);
}
.ly-nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ly-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
}
.ly-brand span { font-size: 19px; font-weight: 700; letter-spacing: -.02em; }

.ly-navlinks { display: flex; align-items: center; gap: 4px; }
.ly-navlinks a {
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-secondary);
}
.ly-navlinks a.is-active {
  font-weight: 700;
  color: var(--text-primary);
  box-shadow: var(--neu-in-sm);
}

.ly-navcta { display: flex; align-items: center; gap: 10px; }
.ly-loginlink {
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 8px 12px;
}
.ly-navcta .lny-btn--accent { font-size: 14.5px; padding: 11px 20px; border-radius: 11px; }

/* hamburger */
.ly-burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 13px;
  border: none;
  cursor: pointer;
  background: var(--bg-app);
  box-shadow: var(--neu-x-sm);
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
}
.ly-burger.is-open { box-shadow: var(--neu-in-sm); }
.ly-burger .ico-close { display: none; }
.ly-burger.is-open .ico-menu { display: none; }
.ly-burger.is-open .ico-close { display: inline-flex; }

/* mobile menu drawer */
.ly-mobilemenu {
  overflow: hidden;
  max-height: 0;
  transition: max-height .32s cubic-bezier(.22, .61, .36, 1);
}
.ly-mobilemenu.is-open { max-height: 480px; }
.ly-mobilemenu-inner {
  padding: 8px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ly-mobilemenu a {
  text-decoration: none;
  padding: 14px 16px;
  border-radius: 13px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
  box-shadow: var(--neu-x-xs);
}
.ly-mobilemenu a.is-active { font-weight: 700; color: var(--text-primary); box-shadow: var(--neu-in-sm); }
.ly-mobilemenu .ly-mobile-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.ly-mobilemenu .ly-mobile-actions a { text-align: center; box-shadow: var(--neu-x-sm); }
.ly-mobilemenu .ly-mobile-actions .lny-btn--accent { box-shadow: var(--neu-x-sm); }

/* ============================================================
   FOOTER
   ============================================================ */
.ly-footer { margin-top: 40px; }
.ly-footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 32px 40px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
}
.ly-footer-grid .ly-brand { margin-bottom: 14px; }
.ly-footer-blurb {
  margin: 0;
  max-width: 280px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-secondary);
}
.ly-footer-col h4 {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin: 0 0 14px;
}
.ly-footer-col .links { display: flex; flex-direction: column; gap: 11px; }
.ly-footer-col a { text-decoration: none; font-size: 14.5px; color: var(--text-primary); }
.ly-footer-col a:hover { color: var(--accent-task); }

.ly-footer-bar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 32px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: inset 0 1px 0 rgba(60, 40, 15, .06);
}
.ly-footer-bar span.copy { font-size: 13px; color: var(--text-secondary); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.ly-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.22, .61, .36, 1), transform .7s cubic-bezier(.22, .61, .36, 1);
}
.ly-reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   HERO (home)
   ============================================================ */
.ly-hero {
  position: relative;
  padding: 60px 32px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.ly-hero-intro {
  max-width: 860px;
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
}
.ly-hero-intro h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -.035em;
  max-width: 820px;
}
.ly-hero-intro h1 span { display: block; }
.ly-hero-sub {
  margin: 0;
  font-size: 18.5px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 540px;
}
.ly-hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.ly-hero-stats {
  display: flex;
  gap: 26px;
  margin-top: 6px;
  flex-wrap: wrap;
  justify-content: center;
}
.ly-hero-stats .stat { display: flex; flex-direction: column; gap: 2px; }
.ly-hero-stats .num { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.ly-hero-stats .lbl { font-size: 12.5px; color: var(--text-secondary); }

.ly-hero-stage {
  width: 100%;
  max-width: 1080px;
  min-height: 420px;
  display: flex;
  justify-content: center;
  position: relative;
}
.ly-hero-glow {
  position: absolute;
  inset: -14% -8%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(107, 191, 142, .18), rgba(155, 127, 212, .10) 55%, transparent 78%);
  filter: blur(8px);
  z-index: 0;
}
.ly-hero-screen {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 760px;
}

/* floating widget cards around the hero screen */
.ly-floatcard {
  position: absolute;
  z-index: 4;
  padding: 16px;
  border-radius: 16px;
  background: var(--bg-app);
  box-shadow: var(--neu-x);
}
.ly-floatcard.fc-budget { left: -2%; top: 4%; transform: rotate(-3deg); }
.ly-floatcard.fc-streak { right: -1%; top: -3%; transform: rotate(3deg); }
.ly-floatcard.fc-note   { right: 0%; bottom: 6%; transform: rotate(2deg); }
.ly-floatcard.fc-task   { left: -3%; bottom: 10%; transform: rotate(-2deg); }

/* float animation */
@keyframes lyFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
@keyframes lyGlow {
  0%, 100% { opacity: .85; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.06); }
}
.is-motion .ly-hero-screen { animation: lyFloat 8s ease-in-out infinite; }
.is-motion .ly-hero-glow { animation: lyGlow 9s ease-in-out infinite; }
.is-motion .fc-anim-1 { animation: lyFloat 7.2s ease-in-out infinite; }
.is-motion .fc-anim-2 { animation: lyFloat 8.1s ease-in-out infinite; }
.is-motion .fc-anim-3 { animation: lyFloat 6.6s ease-in-out infinite; }
.is-motion .fc-anim-4 { animation: lyFloat 7.6s ease-in-out infinite; }

/* widget internals */
.fc-w { width: 180px; }
.fc-row { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.fc-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.fc-label { font-size: 12.5px; font-weight: 700; color: var(--text-secondary); }
.fc-task-item { display: flex; align-items: center; gap: 10px; padding: 5px 0; }
.fc-task-item span { font-size: 13px; }
.fc-task-item.done span { text-decoration: line-through; color: var(--text-secondary); }
.fc-bar-track { height: 9px; border-radius: 999px; box-shadow: var(--neu-in-sm); overflow: hidden; }
.fc-bar-fill { height: 100%; border-radius: 999px; }
.fc-streak-num { font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 11px; }
.fc-streak-cells { display: flex; gap: 5px; }
.fc-streak-cells span { width: 16px; height: 16px; border-radius: 5px; }
.fc-streak-cells .on { background: var(--accent-journal); }
.fc-streak-cells .off { background: var(--bg-app); box-shadow: var(--neu-in-sm); }
.fc-note-title { font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.fc-note-body { font-size: 11.5px; line-height: 1.5; color: var(--text-secondary); }

/* ============================================================
   SCREEN MOCKUPS (lightweight, on-brand)
   ============================================================ */
.scr {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-app);
  box-shadow: -10px -10px 30px rgba(255, 255, 255, .7), 16px 18px 44px rgba(60, 40, 15, .15);
}
.scr-pad { padding: 22px; }
.scr-topbar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 18px;
  box-shadow: inset 0 -1px 0 rgba(60, 40, 15, .05);
}
.scr-topbar .tdot { width: 9px; height: 9px; border-radius: 50%; box-shadow: var(--neu-x-xs); }
.scr-topbar .ttitle { margin-left: 10px; font-size: 12.5px; font-weight: 700; color: var(--text-secondary); }
.scr-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.scr-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.scr-grid-2 { display: grid; grid-template-columns: 1.5fr 1fr; gap: 14px; align-items: start; }

.scr-tile {
  padding: 14px;
  border-radius: 14px;
}
.scr-tile h4 { margin: 0; font-size: 11.5px; font-weight: 700; }
.scr-tile .big { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin: 8px 0 2px; }
.scr-tile .sub { font-size: 11px; font-weight: 600; opacity: .82; }
.scr-tile.hue-planner { background: var(--hue-planner); color: #6B5800; box-shadow: -5px -5px 12px rgba(255,255,255,.92), 6px 8px 16px rgba(188,152,40,.30); }
.scr-tile.hue-habits  { background: var(--hue-habits);  color: #8A2E63; box-shadow: -5px -5px 12px rgba(255,255,255,.92), 6px 8px 16px rgba(180,80,140,.30); }
.scr-tile.hue-finance { background: var(--hue-finance); color: #3C471F; box-shadow: -5px -5px 12px rgba(255,255,255,.92), 6px 8px 16px rgba(96,120,48,.32); }
.scr-tile.hue-vision  { background: var(--hue-vision);  color: #2E4E78; box-shadow: -5px -5px 12px rgba(255,255,255,.92), 6px 8px 16px rgba(72,110,168,.30); }

.scr-card {
  padding: 16px;
  border-radius: 14px;
  background: var(--bg-app);
  box-shadow: var(--neu-x-sm);
}
.scr-card .ch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.scr-card .ch h3 { margin: 0; font-size: 15px; font-weight: 700; }
.scr-card .ch .meta { font-size: 11.5px; color: var(--text-secondary); }

.scr-task { display: flex; align-items: center; gap: 10px; padding: 8px 0; box-shadow: inset 0 -1px 0 rgba(60,40,15,.05); }
.scr-task:last-child { box-shadow: none; }
.scr-task .t { flex: 1; font-size: 13px; }
.scr-task.done .t { text-decoration: line-through; color: var(--text-secondary); }
.scr-task .star { font-size: 12px; }

.scr-event { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.scr-event .edot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.scr-event .when { font-size: 11px; color: var(--text-secondary); min-width: 44px; }
.scr-event .what { font-size: 12.5px; font-weight: 500; }

.scr-bar { margin-bottom: 12px; }
.scr-bar .bl { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 12px; }
.scr-bar .bl .lbl { font-weight: 600; }
.scr-bar .bl .val { color: var(--text-secondary); }
.scr-bar .track { height: 11px; border-radius: 999px; box-shadow: var(--neu-in-sm); background: var(--bg-app); overflow: hidden; }
.scr-bar .fill { height: 100%; border-radius: 999px; }

.scr-ledger { display: flex; justify-content: space-between; padding: 9px 0; box-shadow: inset 0 -1px 0 rgba(60,40,15,.05); }
.scr-ledger:last-child { box-shadow: none; }
.scr-ledger .t { font-size: 13px; }
.scr-ledger .amt { font-size: 13px; font-weight: 700; }
.scr-ledger .amt.pos { color: var(--accent-budget); }

/* journal screen */
.scr-journal-grid { display: grid; grid-template-columns: 1fr 0.62fr; gap: 14px; align-items: start; }
.scr-journal-body h2 { margin: 4px 0 12px; font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.scr-journal-body p { margin: 0 0 10px; font-size: 12.5px; line-height: 1.65; color: var(--text-primary); }
.scr-journal-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.scr-journal-meta .d { font-size: 11.5px; color: var(--text-secondary); }
.scr-streak-num { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.scr-streak-cells { display: flex; gap: 5px; margin-top: 12px; }
.scr-streak-cells span { width: 18px; height: 18px; border-radius: 6px; }
.scr-streak-cells .on { background: var(--accent-journal); }
.scr-streak-cells .off { background: var(--bg-app); box-shadow: var(--neu-in-sm); }
.scr-recent { display: flex; justify-content: space-between; padding: 8px 0; box-shadow: inset 0 -1px 0 rgba(60,40,15,.05); }
.scr-recent:last-child { box-shadow: none; }
.scr-recent .t { font-size: 12.5px; }
.scr-recent .d { font-size: 11px; color: var(--text-secondary); }

/* commonplace masonry */
.scr-notes { columns: 3; column-gap: 12px; }
.scr-note { break-inside: avoid; margin-bottom: 12px; }
.scr-note .nh { display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; }
.scr-note h3 { margin: 0 0 7px; font-size: 13.5px; font-weight: 700; letter-spacing: -.01em; }
.scr-note p { margin: 0; font-size: 11.5px; line-height: 1.55; color: var(--text-secondary); }

/* tilt helpers for highlight screens */
.scr-tilt-l { transform: rotate(-1.2deg); }
.scr-tilt-r { transform: rotate(1.2deg); }

/* ============================================================
   MODULE GRID (home + features)
   ============================================================ */
.ly-modgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
  gap: 20px;
}
.ly-modcard {
  height: 100%;
  padding: 24px;
  border-radius: 18px;
  background: var(--bg-app);
  box-shadow: var(--neu-x);
  transition: transform .25s ease, box-shadow .25s ease;
}
.ly-modcard:hover {
  transform: translateY(-4px);
  box-shadow: -9px -9px 20px rgba(255, 255, 255, .9), 11px 13px 28px rgba(60, 40, 15, .14);
}
.ly-modcard .ico-tile {
  width: 44px; height: 44px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--neu-in-sm);
  margin-bottom: 16px;
}
.ly-modcard h3 { margin: 0 0 8px; font-size: 17.5px; font-weight: 700; letter-spacing: -.01em; }
.ly-modcard p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--text-secondary); }

/* generic feature/detail card (no hover-lift) */
.ly-featcard {
  height: 100%;
  padding: 22px;
  border-radius: 16px;
  background: var(--bg-app);
  box-shadow: var(--neu-x);
}
.ly-featcard .ico-tile {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--neu-x-sm);
  margin-bottom: 14px;
  color: var(--text-primary);
}
.ly-featcard h3 { margin: 0 0 7px; font-size: 16.5px; font-weight: 700; }
.ly-featcard p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--text-secondary); }

/* ============================================================
   WALKTHROUGH (interactive tabs)
   ============================================================ */
.ly-walk-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 34px;
}
.ly-walk-tab {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-app);
  box-shadow: var(--neu-x-xs);
  transition: box-shadow .15s, color .15s;
}
.ly-walk-tab.is-active { font-weight: 700; color: var(--text-primary); box-shadow: var(--neu-in-sm); }

.ly-walk-stage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  justify-items: center;
}
.ly-walk-caption { max-width: 560px; text-align: center; min-height: 92px; }
.ly-walk-caption h3 { margin: 0 0 8px; font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.ly-walk-caption p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--text-secondary); }
.ly-walk-frame { width: 100%; max-width: 980px; display: flex; justify-content: center; }
.ly-walk-screen { width: 100%; }

@keyframes lyScreenIn {
  from { opacity: 0; transform: translateY(14px) scale(.985); }
  to   { opacity: 1; transform: none; }
}
.is-motion .ly-walk-anim { animation: lyScreenIn .6s cubic-bezier(.22, 1, .36, 1); }

.ly-walk-dots { display: flex; gap: 8px; }
.ly-walk-dots button {
  width: 9px; height: 9px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  padding: 0;
  background: var(--bg-app);
  box-shadow: var(--neu-in-sm);
  transition: width .3s ease, background .3s ease;
}
.ly-walk-dots button.is-active { width: 26px; background: var(--accent-task); box-shadow: none; }

/* ============================================================
   HIGHLIGHT ROWS (alternating)
   ============================================================ */
.ly-highlights { display: flex; flex-direction: column; gap: 96px; }
.ly-highlight-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.ly-highlight-text { display: flex; flex-direction: column; gap: 18px; }
.ly-highlight-text h2 {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -.03em;
}
.ly-highlight-text > p {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text-secondary);
}
.ly-bullets { display: flex; flex-direction: column; gap: 11px; margin-top: 4px; }
.ly-bullet { display: flex; align-items: center; gap: 12px; }
.ly-bullet .chk {
  width: 26px; height: 26px;
  border-radius: 9px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--neu-x-xs);
}
.ly-bullet span.txt { font-size: 15px; font-weight: 500; }
.ly-highlight-media { display: flex; justify-content: center; }
.ly-highlight-media .scr { max-width: 540px; }

/* number badges (how-it-works) */
.ly-step-badges { display: flex; align-items: center; gap: 14px; }
.ly-step-num {
  width: 54px; height: 54px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--neu-x);
  font-size: 20px;
  font-weight: 800;
}
.ly-step-ico {
  width: 44px; height: 44px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--neu-in-sm);
}

/* ============================================================
   PRINCIPLES
   ============================================================ */
.ly-principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.ly-principle {
  height: 100%;
  padding: 28px;
  border-radius: 18px;
  background: var(--bg-app);
  box-shadow: var(--neu-x);
}
.ly-principle .ico-tile {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--neu-x-sm);
  color: var(--text-primary);
  margin-bottom: 18px;
}
.ly-principle h3 { margin: 0 0 9px; font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.ly-principle p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--text-secondary); }

/* ============================================================
   CLOSING CTA
   ============================================================ */
.ly-cta-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 72px 40px;
  background: var(--bg-app);
  box-shadow: var(--neu-x);
  text-align: center;
}
.ly-cta-card .glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 120%, rgba(107, 191, 142, .16), transparent 60%);
}
.ly-cta-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.ly-cta-inner img { filter: drop-shadow(3px 4px 8px rgba(60, 40, 15, .12)); }
.ly-cta-inner h2 {
  margin: 0;
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.035em;
  max-width: 640px;
}
.ly-cta-inner p {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 480px;
}
.ly-cta-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 4px; }

/* ============================================================
   INNER-PAGE HERO
   ============================================================ */
.ly-pagehero {
  position: relative;
  overflow: hidden;
}
.ly-pagehero .aura {
  position: absolute;
  inset: -40% -10% auto;
  height: 420px;
  background: radial-gradient(ellipse at 50% 0%, rgba(155, 127, 212, .12), transparent 62%);
}
.ly-pagehero-inner {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding: 72px 32px 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.ly-pagehero h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.035em;
  max-width: 760px;
}
.ly-pagehero p {
  margin: 0;
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 560px;
}

/* ============================================================
   PRICING
   ============================================================ */
.ly-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  box-shadow: var(--neu-in-sm);
}
.ly-toggle button {
  border: none;
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 999px;
  color: var(--text-secondary);
  background: transparent;
}
.ly-toggle button.is-active { font-weight: 700; color: var(--text-primary); background: var(--bg-app); box-shadow: var(--neu-x-sm); }

.ly-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
  align-items: stretch;
}
.ly-tier {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 32px;
  border-radius: 22px;
  background: var(--bg-app);
  box-shadow: var(--neu-x);
}
.ly-tier--accent {
  background: var(--hue-finance);
  box-shadow: -7px -7px 16px rgba(255, 255, 255, .9), 10px 14px 30px rgba(96, 120, 48, .34);
}
.ly-tier-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.ly-tier-head h3 { margin: 0; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.ly-tier-badge {
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .5);
  color: #3C471F;
  box-shadow: var(--neu-x-xs);
}
.ly-tier-price { display: flex; align-items: baseline; gap: 6px; margin: 10px 0 4px; }
.ly-tier-price .amount { font-size: 42px; font-weight: 800; letter-spacing: -.03em; }
.ly-tier-price .per { font-size: 15px; font-weight: 600; opacity: .7; }
.ly-tier-blurb { margin: 6px 0 20px; font-size: 14.5px; line-height: 1.55; }
.ly-tier .lny-btn { width: 100%; padding: 13px; border-radius: 12px; font-size: 14.5px; margin-bottom: 22px; }
.ly-tier-feats { display: flex; flex-direction: column; gap: 12px; }
.ly-tier-feat { display: flex; align-items: flex-start; gap: 11px; }
.ly-tier-feat .chk {
  width: 22px; height: 22px;
  border-radius: 7px;
  flex: none;
  margin-top: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--neu-x-xs);
  background: var(--bg-app);
}
.ly-tier-feat span.txt { font-size: 14.5px; line-height: 1.5; }
/* accent tier text → deep sage */
.ly-tier--accent .ly-tier-head h3,
.ly-tier--accent .ly-tier-price,
.ly-tier--accent .ly-tier-feat span.txt { color: #3C471F; }
.ly-tier--accent .ly-tier-blurb { color: #3C471F; opacity: .85; }
.ly-tier--accent .ly-tier-feat .chk { background: rgba(255, 255, 255, .4); }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.ly-faqlist { display: flex; flex-direction: column; gap: 14px; }
.ly-faq {
  padding: 22px 24px;
  border-radius: 16px;
  background: var(--bg-app);
  box-shadow: var(--neu-x);
  transition: box-shadow .2s;
}
.ly-faq.is-open { box-shadow: var(--neu-in-sm); }
.ly-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-sans);
  color: var(--text-primary);
  padding: 0;
}
.ly-faq-q .qt { font-size: 16.5px; font-weight: 700; letter-spacing: -.01em; }
.ly-faq-q .plus {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--neu-x-xs);
  color: var(--text-secondary);
  transition: transform .2s;
}
.ly-faq.is-open .ly-faq-q .plus { transform: rotate(45deg); }
.ly-faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease, opacity .3s; opacity: 0; }
.ly-faq.is-open .ly-faq-a { max-height: 260px; opacity: 1; }
.ly-faq-a p { margin: 14px 0 0; font-size: 15px; line-height: 1.65; color: var(--text-secondary); }

/* ============================================================
   ABOUT
   ============================================================ */
.ly-quote-card {
  padding: 40px;
  border-radius: 22px;
  background: var(--bg-app);
  box-shadow: var(--neu-x);
}
.ly-quote-card p.q {
  margin: 0;
  font-size: 20px;
  line-height: 1.7;
  color: var(--text-primary);
  letter-spacing: -.01em;
}
.ly-quote-by { display: flex; align-items: center; gap: 13px; margin-top: 24px; }
.ly-quote-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  box-shadow: var(--neu-x-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-journal);
  font-weight: 800;
}
.ly-quote-by .name { font-size: 14.5px; font-weight: 700; }
.ly-quote-by .role { font-size: 13px; color: var(--text-secondary); }

.ly-stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  text-align: center;
}
.ly-stats-strip .num { font-size: 44px; font-weight: 800; letter-spacing: -.03em; }
.ly-stats-strip .lbl { font-size: 14px; color: var(--text-secondary); margin-top: 4px; }

/* ============================================================
   CHANGELOG
   ============================================================ */
.ly-changelog { display: flex; flex-direction: column; gap: 22px; }
.ly-clog-entry {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 28px;
  padding: 28px;
  border-radius: 20px;
  background: var(--bg-app);
  box-shadow: var(--neu-x);
}
.ly-clog-ver {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 13px;
  border-radius: 999px;
  box-shadow: var(--neu-in-sm);
}
.ly-clog-date { font-size: 13px; color: var(--text-secondary); margin-top: 10px; }
.ly-clog-body h3 { margin: 0 0 12px; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.ly-clog-items { display: flex; flex-direction: column; gap: 9px; }
.ly-clog-item { display: flex; align-items: flex-start; gap: 11px; }
.ly-clog-item .dot { width: 7px; height: 7px; border-radius: 50%; margin-top: 7px; flex: none; }
.ly-clog-item span.txt { font-size: 14.5px; line-height: 1.55; color: var(--text-secondary); }

/* ============================================================
   LOGIN
   ============================================================ */
.ly-login-split {
  min-height: 100vh;
  background: var(--bg-app);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}
.ly-login-aside {
  position: relative;
  overflow: hidden;
  background: var(--sidebar);
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.ly-login-aside .aura {
  position: absolute;
  inset: auto -20% -30% -20%;
  height: 460px;
  background: radial-gradient(ellipse at 50% 100%, rgba(107, 191, 142, .18), transparent 64%);
}
.ly-login-aside .ly-brand { position: relative; }
.ly-login-aside .copy { position: relative; max-width: 420px; }
.ly-login-aside .copy h2 {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -.03em;
}
.ly-login-aside .copy p {
  margin: 16px 0 0;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--text-secondary);
}
.ly-login-tasks { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.ly-login-task {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 13px;
  background: var(--bg-app);
  box-shadow: var(--neu-x-sm);
}
.ly-login-task span.t { font-size: 14.5px; }
.ly-login-task.done span.t { text-decoration: line-through; color: var(--text-secondary); }
.ly-login-task .edot { margin-left: auto; width: 8px; height: 8px; border-radius: 50%; }
.ly-login-foot { position: relative; font-size: 13px; color: var(--text-secondary); }

.ly-login-formwrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 32px;
}
.ly-login-form { width: 100%; max-width: 380px; }
.ly-login-form > h1 { margin: 0 0 6px; font-size: 28px; font-weight: 800; letter-spacing: -.025em; }
.ly-login-form > .lead { margin: 0 0 26px; font-size: 15px; color: var(--text-secondary); }
.ly-login-fields { display: flex; flex-direction: column; gap: 16px; }

.ly-field { display: block; }
.ly-field .lbl { display: block; font-size: 13px; font-weight: 600; color: var(--text-secondary); margin-bottom: 8px; }
.ly-field .inputwrap {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 15px;
  border-radius: 12px;
  box-shadow: var(--neu-in);
  background: var(--bg-app);
}
.ly-field input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 14.5px;
  color: var(--text-primary);
}
.ly-field .inputwrap:focus-within { box-shadow: var(--neu-in), 0 0 0 2px var(--focus-ring); }

.ly-login-row { display: flex; align-items: center; justify-content: space-between; }
.ly-login-remember { display: flex; align-items: center; gap: 9px; cursor: pointer; }
.ly-login-remember span { font-size: 13.5px; color: var(--text-secondary); }
.ly-login-forgot { font-size: 13.5px; color: var(--accent-task); text-decoration: none; font-weight: 600; }

.ly-login-or { display: flex; align-items: center; gap: 12px; margin: 6px 0; }
.ly-login-or .ln { flex: 1; height: 1px; background: rgba(60, 40, 15, .1); }
.ly-login-or .lbl { font-size: 12.5px; color: var(--text-secondary); }

.ly-login-alt { margin: 22px 0 0; font-size: 13px; color: var(--text-secondary); text-align: center; }
.ly-login-alt a { color: var(--accent-task); text-decoration: none; font-weight: 600; }

.ly-signup-only.is-hidden { display: none; }
.ly-login-only.is-hidden { display: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 920px) {
  .ly-navlinks, .ly-navcta { display: none; }
  .ly-burger { display: inline-flex; }
}

@media (max-width: 860px) {
  .ly-highlight-row { grid-template-columns: 1fr !important; gap: 34px; }
  .ly-highlight-media { order: -1; }
  .ly-clog-entry { grid-template-columns: 1fr; gap: 16px; }
  .ly-footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .scr-notes { columns: 2; }
  .scr-journal-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --ly-sec: 56px; }
  .ly-loginlink { display: none; }
  .ly-section { padding: 56px 20px; }
  .ly-nav { padding: 13px 20px; }
  .ly-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; padding: 48px 20px 32px; }
  .ly-footer-bar { padding-left: 20px; padding-right: 20px; }
  .ly-login-split { grid-template-columns: 1fr; }
  .ly-login-aside { padding: 26px 22px 30px; justify-content: flex-start; gap: 20px; }
  .ly-login-aside .copy h2 { font-size: 26px; }
  .ly-login-tasks, .ly-login-foot { display: none; }
  .ly-hero { padding: 30px 20px 0; }
  .ly-hero-screen { max-width: 100%; }
  .ly-floatcard { display: none; }       /* parallax widgets hidden on phone */
  .ly-hero-stage { min-height: 0; }
  .ly-highlights { gap: 60px; }
  .ly-cta-card { padding: 52px 24px; }
  .scr-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .scr-grid-2 { grid-template-columns: 1fr; }
  .scr-notes { columns: 1; }
}

@media (max-width: 460px) {
  .ly-footer-grid { grid-template-columns: 1fr; }
  .scr-grid-3 { grid-template-columns: 1fr 1fr; }
  .ly-step-badges { gap: 10px; }
}

/* reduced motion — kill all animation + reveal transitions */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .ly-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
