/* WorkLume landing — design tokens copied verbatim from src/app/globals.css.
   Keep values in sync; do not fork the palette. */
:root {
  color-scheme: light;
  --bg: #f4f6f1;
  --paper: #fffdf8;
  --paper-mark: #ebe8dc;
  --surface: #ffffff;
  --surface-soft: #f1f7f2;
  --rail: #eef6f1;
  --rail-soft: #e4f0ec;
  --ink: #24302d;
  --muted: #6f7d78;
  --line: #dbe5df;
  --line-strong: #c4d2cc;
  --accent: #86d8c7;
  --accent-strong: #2e7e73;
  --accent-soft: #e3f7f2;
  --chartreuse: #dcefae;
  --blue: #8fb5ee;
  --lavender: #d9cdf4;
  --peach: #f5d1bd;
  --coral: #ee9f9c;
  --amber: #e8bb73;
  --danger: #c45d59;
  --shadow: 0 14px 34px rgba(76, 98, 91, 0.11);
  --shadow-soft: 0 8px 20px rgba(76, 98, 91, 0.08);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(135deg, rgba(217, 205, 244, 0.35), transparent 34%),
    linear-gradient(225deg, rgba(134, 216, 199, 0.28), transparent 38%),
    linear-gradient(180deg, #f9faf6, var(--bg)),
    var(--bg);
  color: var(--ink);
  font-family:
    "Avenir Next", "Inter", "SF Pro Display", "Segoe UI", ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, sans-serif;
  line-height: 1.55;
}

a {
  color: var(--accent-strong);
}

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 20;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--ink);
  font-weight: 780;
  padding: 8px 14px;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 12px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
  min-height: 68px;
}

/* Brand mark — same geometry and classes as the in-app mark
   (src/components/product-dashboard.tsx + src/app/globals.css). */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 42px;
  height: 38px;
  flex: 0 0 auto;
}

.brand-mark-shell {
  fill: var(--accent-strong);
}

.brand-mark-lume {
  fill: none;
  stroke: rgba(255, 255, 255, 0.32);
  stroke-linecap: round;
  stroke-width: 5;
}

.brand-mark-letter {
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5.4;
}

.brand-mark-spark {
  fill: var(--peach);
}

.brand-text {
  display: grid;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 18px;
  font-weight: 840;
}

.brand-text small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  gap: 4px;
  margin-inline: auto;
}

.main-nav a,
.login-link {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  padding: 8px 11px;
  border-radius: var(--radius);
  text-decoration: none;
}

.main-nav a:hover,
.login-link:hover {
  background: var(--accent-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-nav {
  display: flex;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  padding: 2px;
}

.lang-nav a {
  color: var(--muted);
  font-size: 12px;
  font-weight: 780;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border-radius: 6px;
  text-decoration: none;
}

.lang-nav a[aria-current="true"] {
  background: var(--accent-soft);
  color: var(--ink);
}

.lang-nav a:hover {
  color: var(--ink);
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 780;
  padding: 0 20px;
  text-decoration: none;
}

.button-primary {
  background: var(--accent-strong);
  border: 1px solid var(--accent-strong);
  color: #fff;
}

.button-primary:hover {
  background: #256b61;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line-strong);
  color: var(--ink);
}

.button-secondary:hover {
  background: var(--surface);
}

.button-small {
  min-height: 36px;
  font-size: 13px;
  padding: 0 14px;
}

/* Hero */

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 48px;
  align-items: center;
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
  padding: 72px 0 56px;
}

.eyebrow {
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(36px, 5.4vw, 58px);
  font-weight: 840;
  letter-spacing: -0.02em;
  line-height: 1.06;
  margin: 0;
}

.lead {
  color: var(--muted);
  font-size: 18px;
  margin: 20px 0 0;
  max-width: 560px;
}

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

.hero-note {
  color: var(--muted);
  font-size: 13px;
  margin: 14px 0 0;
}

/* Hero mock card — reuses the app's pill/chip vocabulary */
.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  padding: 18px;
}

.hero-card-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.mock-project {
  font-size: 14px;
  font-weight: 780;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.status-pill,
.published-chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
  padding: 0 10px;
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0.02em;
}

.status-pill.live {
  background: var(--accent-soft);
  color: var(--ink);
  gap: 6px;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-strong);
}

.published-chip.invoiced {
  color: var(--accent-strong);
}

.mock-rows {
  list-style: none;
  margin: 0;
  padding: 6px 0;
}

.mock-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 10px 2px;
}

.mock-row:last-child {
  border-bottom: 0;
}

.mock-row-main {
  display: grid;
  min-width: 0;
}

.mock-row-main strong {
  font-size: 13px;
  font-weight: 760;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mock-row-main span {
  color: var(--muted);
  font-size: 12px;
}

.mock-time {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  font-weight: 760;
}

.hero-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
}

.mock-total {
  color: var(--muted);
  font-size: 12px;
}

.mock-total strong {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.chip-submitted {
  color: var(--blue);
}

.chip-approved {
  color: var(--accent-strong);
}

.chip-draft {
  color: var(--muted);
}

/* Trust strip */

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 12px;
}

.trust-item {
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(196, 210, 204, 0.75);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 16px 18px;
}

.trust-item h2 {
  font-size: 14px;
  font-weight: 820;
  margin: 0 0 4px;
}

.trust-item p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

/* Sections */

.section {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
  padding: 64px 0 8px;
}

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

.section-head h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 830;
  letter-spacing: -0.015em;
  line-height: 1.14;
  margin: 0;
}

.section-head p {
  color: var(--muted);
  font-size: 16px;
  margin: 12px 0 0;
}

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

.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 20px;
}

.feature-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
  margin-bottom: 12px;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 6px;
}

.feature-card p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

/* Platforms */

.section-band {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  margin-top: 64px;
  padding: 40px 36px;
  width: min(1120px, calc(100% - 32px));
}

.platform-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.platform-chip {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: inline-flex;
  font-size: 13px;
  font-weight: 780;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
}

.platform-chip .chip-state {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.platform-chip.live {
  background: var(--accent-soft);
  border-color: var(--accent-strong);
}

.platform-chip.live .chip-state {
  color: var(--accent-strong);
}

.migration-note {
  color: var(--muted);
  font-size: 14px;
  margin: 22px 0 0;
}

/* Pricing */

.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.plan-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.plan-card.highlight {
  border: 2px solid var(--accent-strong);
  background: linear-gradient(180deg, var(--accent-soft), var(--surface) 45%);
}

.plan-name {
  font-size: 15px;
  font-weight: 830;
  margin: 0;
}

.plan-tagline {
  color: var(--muted);
  font-size: 12px;
  margin: 2px 0 16px;
}

.plan-price {
  align-items: baseline;
  display: flex;
  gap: 4px;
  min-height: 46px;
}

.plan-price .amount {
  font-size: 32px;
  font-weight: 840;
  letter-spacing: -0.02em;
}

.plan-price .period {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.plan-annual {
  color: var(--muted);
  font-size: 12px;
  margin: 0 0 4px;
  min-height: 16px;
}

.plan-saving {
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 780;
  margin: 0 0 12px;
  min-height: 16px;
}

.plan-features {
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 13px;
  list-style: none;
  margin: 0 0 18px;
  padding: 14px 0 0;
}

.plan-features li {
  padding: 3px 0 3px 18px;
  position: relative;
}

.plan-features li::before {
  background: var(--accent);
  border-radius: 50%;
  content: "";
  height: 6px;
  left: 2px;
  position: absolute;
  top: 11px;
  width: 6px;
}

.plan-card .button {
  margin-top: auto;
}

.pricing-footnote {
  color: var(--muted);
  font-size: 13px;
  margin: 22px 0 0;
  max-width: 760px;
}

/* FAQ */

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 820px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.faq-item summary {
  cursor: pointer;
  font-size: 15px;
  font-weight: 780;
  list-style: none;
  padding: 16px 18px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  color: var(--accent-strong);
  content: "+";
  float: right;
  font-weight: 800;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
  padding: 0 18px 16px;
}

/* Final CTA */

.final-cta {
  background: var(--accent-strong);
  border-radius: calc(var(--radius) + 4px);
  color: #fff;
  margin: 72px auto;
  padding: 52px 36px;
  text-align: center;
  width: min(1120px, calc(100% - 32px));
}

.final-cta h2 {
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 830;
  letter-spacing: -0.015em;
  margin: 0;
}

.final-cta p {
  color: rgba(255, 255, 255, 0.82);
  margin: 12px auto 26px;
  max-width: 480px;
}

.final-cta .button-primary {
  background: #fff;
  border-color: #fff;
  color: var(--accent-strong);
}

.final-cta .button-primary:hover {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
  padding: 44px 0 30px;
}

.footer-seller-label,
.footer-heading {
  color: var(--muted);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0.05em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.footer-seller-name {
  font-size: 15px;
  font-weight: 820;
  margin: 0 0 8px;
}

.footer-seller address {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  gap: 6px;
  align-content: start;
}

.footer-links a {
  color: var(--ink);
  font-size: 13px;
  font-weight: 680;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent-strong);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 16px 0;
}

.footer-bottom p {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
  text-align: center;
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

/* Responsive */

@media (max-width: 960px) {
  .main-nav {
    display: none;
  }

  .feature-grid,
  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .plan-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 52px 0 44px;
  }
}

@media (max-width: 640px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 0;
  }

  .header-actions {
    margin-left: auto;
  }

  .brand-text small {
    display: none;
  }

  .feature-grid,
  .trust-strip,
  .plan-grid {
    grid-template-columns: 1fr;
  }

  .section-band {
    padding: 28px 20px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .final-cta {
    padding: 40px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
