/* New navbar and hero on top of the original landing page. Scoped so styles.css stays in charge of everything else. */
.lp-nav-shell, .lp-hero {
  --bg: #f8f5ec;
  --surface: #ffffff;
  --tint: #f0ece0;
  --line: #e4ded0;
  --ink: #0f1a14;
  --text: #2b332e;
  --muted: #5f6862;
  --green: #0b4a33;
  --green-hover: #0e5c40;
  --green-soft: #e3efe6;
  --leaf: #3fa654;
  --warn: #c7772a;
  --info: #3d74b8;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* spacing tokens */
  --s-25: 2px; --s-50: 4px; --s-75: 8px; --s-100: 12px; --s-200: 16px; --s-300: 24px;
  --s-400: 32px; --s-500: 40px; --s-600: 48px; --s-700: 64px; --s-800: 80px; --s-900: 96px;
}

.lp-nav-shell, .lp-hero { font-family: Manrope, system-ui, sans-serif; color: var(--text); -webkit-font-smoothing: antialiased; }
.lp-nav-shell *, .lp-hero * { box-sizing: border-box; }
:where(.lp-hero) :where(h1, p, figure) { margin: 0; }
.lp-hero { position: relative; background: var(--bg); }
/* ---------- Text styles (B1) ---------- */
.heading-1 { font-size: 3.75rem; line-height: 1; font-weight: 600; letter-spacing: -0.03em; color: var(--ink); }
.heading-2 { font-size: 3rem; line-height: 1; font-weight: 600; letter-spacing: -0.025em; color: var(--ink); }
.heading-3 { font-size: 2.25rem; line-height: 2.5rem; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.heading-4 { font-size: 1.875rem; line-height: 2.25rem; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.heading-6 { font-size: 1.25rem; line-height: 1.75rem; font-weight: 600; color: var(--ink); }
.title-2 { font-size: 1.125rem; line-height: 1.75rem; font-weight: 500; color: var(--ink); }
.title-3 { font-size: 1rem; line-height: 1.5rem; font-weight: 500; color: var(--ink); }
.title-4 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; }
.title-5 { font-size: 0.75rem; line-height: 1rem; font-weight: 500; }
.body-3 { font-size: 1rem; line-height: 1.5rem; font-weight: 400; }
.body-5 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; color: var(--ink); }
.body-6 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 400; }
.button-md { font-size: 1rem; line-height: 1.5rem; font-weight: 600; }
.button-sm { font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; }
.caption-1 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; }
.caption-2 { font-size: 0.875rem; line-height: 1.25rem; font-weight: 400; }
.caption-3 { font-size: 0.75rem; line-height: 1rem; font-weight: 600; }
.caption-4 { font-size: 0.75rem; line-height: 1rem; font-weight: 500; }
.caption-5 { font-size: 0.75rem; line-height: 1rem; font-weight: 400; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--s-300); }

/* ---------- Buttons (B2: 8px / 12px) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-75); padding: var(--s-75) var(--s-100); border-radius: 8px; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: background-color 300ms var(--ease), border-color 300ms var(--ease), transform 300ms var(--ease); }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-hover); }
.btn-secondary { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-secondary:hover { border-color: var(--green); }
.btn-ghost { color: var(--ink); }
.btn-ghost:hover { background: rgba(15, 26, 20, 0.06); }
.btn-light { background: #fff; color: var(--green); }
.btn-light:hover { background: var(--green-soft); }
.btn i { transition: transform 300ms var(--ease); }
.btn:hover i.ph-arrow-right { transform: translateX(var(--s-50)); }

/* ---------- Brand tile (always dark green) ---------- */
.lp-brand { display: inline-flex; align-items: center; gap: var(--s-75); color: var(--ink); }
.brand-tile { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--green); flex: none; }
.brand-tile img { width: 22px; height: 22px; }
.brand-tile.sm { width: 24px; height: 24px; border-radius: 6px; }
.brand-tile.sm img { width: 16px; height: 16px; }
.brand-tile.lg { width: 64px; height: 64px; border-radius: 16px; background: #fff; }
.brand-tile.lg img { width: 40px; height: 40px; }

/* ---------- Navigation (B7) ---------- */
.skip-link { position: fixed; top: var(--s-75); left: var(--s-75); z-index: 100; padding: var(--s-75) var(--s-100); background: var(--ink); color: #fff; border-radius: 8px; transform: translateY(-200%); transition: transform 300ms var(--ease); }
.skip-link:focus { transform: none; }
.lp-nav-shell { position: fixed; top: var(--s-200); left: 0; right: 0; z-index: 50; display: flex; justify-content: center; padding: 0 var(--s-200); pointer-events: none; }
.lp-nav { pointer-events: auto; display: flex; align-items: center; gap: var(--s-75); padding: var(--s-75) var(--s-75) var(--s-75) var(--s-100); border-radius: 16px; position: relative; }
/* The blur lives on a pseudo element so the fixed mobile panel is not trapped inside the bar */
.lp-nav::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: rgba(255, 255, 255, 0.72); border: 1px solid rgba(15, 26, 20, 0.08); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); }
.lp-nav .lp-brand { margin-right: var(--s-200); }
.lp-nav-links { display: flex; gap: var(--s-25); }
.lp-nav-links a:not(.btn) { padding: var(--s-75) var(--s-100); border-radius: 8px; color: var(--text); transition: background-color 300ms var(--ease), color 300ms var(--ease); }
.lp-nav-links a:not(.btn):hover, .lp-nav-links a.is-current { background: rgba(15, 26, 20, 0.06); color: var(--ink); }
.nav-login { margin-left: var(--s-200); }
.nav-cta-mobile { display: none; }
.lp-menu-toggle { display: none; position: relative; width: 40px; height: 40px; border: 0; border-radius: 8px; background: transparent; cursor: pointer; }
.lp-menu-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 500ms var(--ease); }
.lp-menu-toggle span:first-child { transform: translateY(-4px); }
.lp-menu-toggle span:last-child { transform: translateY(4px); }
.lp-menu-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.lp-menu-toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

/* ---------- Hero (B5) ---------- */
.lp-hero { padding: 160px 0 var(--s-900); }
.lp-hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-title { max-width: 680px; background: linear-gradient(90deg, #000000, #666666); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { max-width: 680px; margin-top: var(--s-300); color: var(--text); font-size: 1.125rem; line-height: 1.75rem; }
.lp-hero-actions { display: flex; flex-direction: column; align-items: center; gap: var(--s-200); margin-top: var(--s-500); }
.hero-proof { display: inline-flex; align-items: center; gap: var(--s-75); color: var(--muted); }
.hero-proof i { color: var(--leaf); font-size: 1rem; }

/* App screenshot built in HTML */
.hero-shot { margin-top: var(--s-700); border-radius: 16px; border: 1px solid var(--line); background: var(--surface); overflow: hidden; box-shadow: 0 1px 2px rgba(15, 26, 20, 0.04), 0 24px 64px rgba(15, 26, 20, 0.08); }
.shot-bar { display: flex; align-items: center; gap: var(--s-75); padding: var(--s-100) var(--s-200); border-bottom: 1px solid var(--line); }
.shot-bar span { width: 10px; height: 10px; border-radius: 9999px; background: var(--line); }
.shot-bar b { margin: 0 auto; color: var(--muted); font-weight: 400; }
.shot-body { display: grid; grid-template-columns: 216px 1fr; min-height: 480px; }
.shot-side { display: flex; flex-direction: column; gap: var(--s-25); padding: var(--s-200) var(--s-100); background: #fbfaf6; border-right: 1px solid var(--line); }
.shot-brand { display: flex; align-items: center; gap: var(--s-75); padding: 0 var(--s-75) var(--s-200); color: var(--ink); }
.shot-ws { display: flex; align-items: center; gap: var(--s-75); padding: var(--s-75); border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--ink); margin-bottom: var(--s-200); }
.shot-ws i { margin-left: auto; color: var(--muted); }
.ws-dot { width: 8px; height: 8px; border-radius: 9999px; background: var(--leaf); }
.shot-cap { padding: var(--s-100) var(--s-75) var(--s-50); color: var(--muted); }
.shot-link { display: flex; align-items: center; gap: var(--s-100); padding: var(--s-75); border-radius: 8px; color: var(--text); }
.shot-link i { font-size: 1rem; color: var(--muted); }
.shot-link.is-active { background: #eceae2; color: var(--ink); font-weight: 500; }
.shot-link.is-active i { color: var(--ink); }
.shot-main { display: flex; flex-direction: column; gap: var(--s-300); padding: var(--s-300) var(--s-400); text-align: left; }
.shot-head { display: flex; align-items: flex-start; justify-content: space-between; }
.chip { display: inline-flex; align-items: center; gap: var(--s-50); padding: var(--s-50) var(--s-75); border: 1px solid var(--line); border-radius: 8px; color: var(--ink); }
.shot-ask { display: flex; align-items: center; gap: var(--s-75); padding: var(--s-75) var(--s-75) var(--s-75) var(--s-100); border: 1px solid var(--line); border-radius: 12px; color: var(--muted); }
.shot-ask > i { color: var(--leaf); }
.ask-send { margin-left: auto; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--green); color: #fff; }
.shot-kpis { display: grid; grid-template-columns: repeat(3, 1fr); }
.shot-kpis > div { padding: 0 var(--s-300); border-left: 1px solid var(--line); }
.shot-kpis > div:first-child { padding-left: 0; border-left: 0; }
.shot-kpis .heading-4 .muted { font-size: 1.25rem; }
.shot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-300); }
.shot-panel { display: flex; flex-direction: column; gap: var(--s-25); padding: var(--s-200); border: 1px solid var(--line); border-radius: 12px; }
.shot-panel > .title-4 { color: var(--ink); margin-bottom: var(--s-75); }
.row { display: flex; align-items: center; gap: var(--s-100); padding: var(--s-75) 0; border-top: 1px solid var(--line); }
.row > div { flex: 1; min-width: 0; }
.row time { width: 40px; color: var(--ink); }
.row .link { color: var(--green); }
.dot { width: 8px; height: 8px; border-radius: 9999px; flex: none; }
.dot-warn { background: var(--warn); }
.dot-info { background: var(--info); }
.dot-ok { background: var(--leaf); }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .shot-body { grid-template-columns: 1fr; }
  .shot-side { display: none; }
}

/* ---------- Mobile ---------- */
@media (max-width: 760px) {
  .wrap { padding: 0 var(--s-200); }
  .heading-1 { font-size: 2.25rem; line-height: 2.5rem; }
  .heading-2 { font-size: 1.875rem; line-height: 2.25rem; }
  .heading-3 { font-size: 1.875rem; line-height: 2.25rem; }
  .lp-hero { padding: 128px 0 var(--s-700); }
  .hero-sub { font-size: 1rem; line-height: 1.5rem; }
  .shot-main { padding: var(--s-200); gap: var(--s-200); }
  .shot-kpis > div { padding: 0 var(--s-100); }
  .shot-kpis .heading-4 { font-size: 1.5rem; line-height: 2rem; }
  .shot-cols { grid-template-columns: 1fr; }
  .shot-cols .shot-panel:last-child { display: none; }

  .lp-nav-shell { top: var(--s-100); }
  .lp-nav { width: 100%; justify-content: space-between; }
  .nav-login, .nav-cta { display: none; }
  .lp-menu-toggle { display: block; z-index: 2; }
  .lp-nav-links { position: fixed; inset: 0; z-index: 1; flex-direction: column; gap: var(--s-75); padding: 96px var(--s-300) var(--s-400); background: rgba(248, 245, 236, 0.94); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); opacity: 0; visibility: hidden; transition: opacity 500ms var(--ease), visibility 0s linear 500ms; }
  .lp-nav-links a:not(.btn) { font-size: 1.5rem; line-height: 2rem; padding: var(--s-100) 0; }
  .lp-nav-links a:not(.btn):hover { background: transparent; }
  .lp-nav-links .nav-cta-mobile { display: inline-flex; margin-top: var(--s-300); }
  .lp-nav-links > * { opacity: 0; transform: translateY(24px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
  .lp-nav.open .lp-nav-links { opacity: 1; visibility: visible; transition: opacity 500ms var(--ease); }
  .lp-nav.open .lp-nav-links > * { opacity: 1; transform: none; }
  .lp-nav.open .lp-nav-links > :nth-child(1) { transition-delay: 60ms; }
  .lp-nav.open .lp-nav-links > :nth-child(2) { transition-delay: 120ms; }
  .lp-nav.open .lp-nav-links > :nth-child(3) { transition-delay: 180ms; }
  .lp-nav.open .lp-nav-links > :nth-child(4) { transition-delay: 240ms; }
  .lp-nav.open .lp-nav-links > :nth-child(5) { transition-delay: 300ms; }
  .lp-nav .lp-brand { position: relative; z-index: 2; }
}

/* Guard against the original page's global element styles */
.lp-nav-shell a, .lp-hero a { text-decoration: none; }
.lp-hero h1, .lp-hero p, .lp-hero span, .lp-nav-shell span, .lp-nav-shell a { font-family: inherit; font-style: normal; letter-spacing: inherit; }
.lp-hero h1.heading-1 { letter-spacing: -0.03em; }
.lp-hero img, .lp-nav-shell img { display: block; max-width: 100%; }
.lp-nav-shell .btn-primary, .lp-hero .btn-primary { color: #fff; }

/* ---------- Plans (new design, scoped) ---------- */
.lp-plans-section { --s-75: 8px; --s-100: 12px; --s-50: 4px; --bg: #f8f5ec; --surface: #fff; --line: #e4ded0; --ink: #0f1a14; --text: #2b332e; --muted: #5f6862; --green: #0b4a33; --green-hover: #0e5c40; --green-soft: #e3efe6; --leaf: #3fa654; --ease: cubic-bezier(0.22, 1, 0.36, 1);
  padding: 96px 0; background: var(--bg); color: var(--text); font-family: Manrope, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
.lp-plans-section * { box-sizing: border-box; font-family: inherit; font-style: normal; }
:where(.lp-plans-section) :where(h2, p, ul) { margin: 0; }
.lp-plans-section ul { padding: 0; list-style: none; }
.lp-plans-section a { text-decoration: none; }
.lp-plans-section .wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.lp-plans-section .heading-3 { font-size: 2.25rem; line-height: 2.5rem; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
.lp-plans-section .title-3 { font-size: 1rem; line-height: 1.5rem; font-weight: 500; color: var(--ink); }
.lp-plans-section .body-3 { font-size: 1rem; line-height: 1.5rem; }
.lp-plans-section .body-6 { font-size: 0.875rem; line-height: 1.25rem; }
.lp-plans-section .caption-3 { font-size: 0.75rem; line-height: 1rem; font-weight: 600; }
.lp-plans-section .button-md { font-size: 1rem; line-height: 1.5rem; font-weight: 600; }
.lp-plans-section .muted { color: var(--muted); }
.lp-plans-head { display: grid; gap: 16px; max-width: 680px; margin-bottom: 48px; }
.lp-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.lp-plan { display: flex; flex-direction: column; gap: 24px; padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.lp-plan-pro { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.lp-plan .title-3 { display: flex; align-items: center; gap: 8px; }
.lp-badge { padding: 2px 8px; border-radius: 9999px; background: var(--green-soft); color: var(--green); }
.lp-plan-price { display: flex; align-items: baseline; gap: 8px; }
.lp-plan ul { display: grid; gap: 12px; flex: 1; }
.lp-plan li { display: flex; align-items: center; gap: 12px; color: var(--text); }
.lp-plan li i { color: var(--leaf); }
.lp-plans-section .btn-secondary { background: var(--surface); border-color: var(--line); color: var(--ink); }
.lp-plans-section .btn-secondary:hover { border-color: var(--green); }
.lp-plans-section .btn-primary { background: var(--green); color: #fff; }
.lp-plans-section .btn-primary:hover { background: var(--green-hover); }
@media (max-width: 760px) {
  .lp-plans-section { padding: 64px 0; }
  .lp-plans-section .wrap { padding: 0 16px; }
  .lp-plans-section .heading-3 { font-size: 1.875rem; line-height: 2.25rem; }
  .lp-plans { grid-template-columns: 1fr; }
}
