/* ============================================================
   DEC — Marketing site stylesheet
   Design tokens mirror the product (app/globals.css):
   warm paper background, warm-gray ink, terracotta accent,
   Instrument Serif display (GFS Didot for Greek glyphs).
   ============================================================ */

:root {
  --bg: oklch(0.985 0.004 90);
  --ink: oklch(0.18 0.01 60);
  --ink-dim: oklch(0.48 0.012 70);
  --ink-ghost: oklch(0.65 0.01 70);
  --card: oklch(1 0 0);
  --muted: oklch(0.955 0.008 85);
  --fill: oklch(0.93 0.01 85);
  --border: oklch(0.9 0.008 85);
  --sidebar: oklch(0.975 0.006 85);
  --header-bg: oklch(0.985 0.004 90 / 0.85);
  --accent: oklch(0.55 0.13 40);
  --accent-soft: oklch(0.96 0.03 40);
  --accent-edge: oklch(0.88 0.06 40);

  /* Dark band palette (matches product dark theme) */
  --dark-bg: oklch(0.16 0.006 60);
  --dark-card: oklch(0.2 0.007 60);
  --dark-ink: oklch(0.94 0.004 90);
  --dark-ink-dim: oklch(0.65 0.01 70);
  --dark-border: oklch(0.3 0.01 60);
  --dark-accent: oklch(0.65 0.14 40);

  --tag-success-bg: oklch(0.96 0.025 155);
  --tag-success-text: oklch(0.42 0.09 155);
  --tag-success-edge: oklch(0.85 0.05 155);
  --tag-warn-bg: oklch(0.96 0.03 80);
  --tag-warn-text: oklch(0.45 0.11 70);
  --tag-warn-edge: oklch(0.86 0.06 75);
  --tag-danger-bg: oklch(0.96 0.025 25);
  --tag-danger-text: oklch(0.45 0.15 25);
  --tag-danger-edge: oklch(0.85 0.07 25);
  --tag-info-bg: oklch(0.96 0.02 240);
  --tag-info-text: oklch(0.45 0.1 240);
  --tag-info-edge: oklch(0.85 0.05 240);

  --radius: 0.75rem;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-serif: "Instrument Serif", "GFS Didot", ui-serif, Georgia, serif;
  --container: 1160px;
  --shadow-lg: 0 24px 60px -20px oklch(0.18 0.01 60 / 0.25), 0 4px 16px -6px oklch(0.18 0.01 60 / 0.1);
  --shadow-sm: 0 2px 10px -2px oklch(0.18 0.01 60 / 0.08);

  color-scheme: light;
}

/* Checkmark bullets — stroke color can't use currentColor in a data URI,
   so each theme carries its own image. */
:root {
  --check-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='oklch(0.55 0.13 40)' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

html.dark {
  --bg: oklch(0.16 0.006 60);
  --ink: oklch(0.94 0.004 90);
  --ink-dim: oklch(0.65 0.01 70);
  --ink-ghost: oklch(0.48 0.01 70);
  --card: oklch(0.2 0.007 60);
  --muted: oklch(0.24 0.008 60);
  --fill: oklch(0.26 0.01 60);
  --border: oklch(0.3 0.01 60);
  --sidebar: oklch(0.13 0.006 60);
  --header-bg: oklch(0.16 0.006 60 / 0.85);
  --accent: oklch(0.65 0.14 40);
  --accent-soft: oklch(0.28 0.05 40);
  --accent-edge: oklch(0.42 0.08 40);

  /* Dark bands stay a step darker than the page so they remain distinct */
  --dark-bg: oklch(0.12 0.006 60);
  --dark-card: oklch(0.16 0.007 60);
  --dark-border: oklch(0.26 0.01 60);

  --tag-success-bg: oklch(0.28 0.05 155);
  --tag-success-text: oklch(0.75 0.13 155);
  --tag-success-edge: oklch(0.38 0.07 155);
  --tag-warn-bg: oklch(0.28 0.06 80);
  --tag-warn-text: oklch(0.78 0.14 80);
  --tag-warn-edge: oklch(0.4 0.08 75);
  --tag-danger-bg: oklch(0.28 0.05 25);
  --tag-danger-text: oklch(0.75 0.14 25);
  --tag-danger-edge: oklch(0.4 0.08 25);
  --tag-info-bg: oklch(0.28 0.04 240);
  --tag-info-text: oklch(0.75 0.11 240);
  --tag-info-edge: oklch(0.4 0.06 240);

  --shadow-lg: 0 24px 60px -20px oklch(0 0 0 / 0.55), 0 4px 16px -6px oklch(0 0 0 / 0.35);
  --shadow-sm: 0 2px 10px -2px oklch(0 0 0 / 0.3);

  --check-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='oklch(0.75 0.13 45)' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  position: relative;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Everything in the page sits above the hero photo backdrop. */
main { position: relative; z-index: 1; }

img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography helpers ---------- */
.micro-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-dim);
}

.micro-label--accent { color: var(--accent); }

.display {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.12;
  text-wrap: balance;
}

.display em {
  font-style: italic;
  color: var(--accent);
}

.lede {
  color: var(--ink-dim);
  font-size: 18px;
  line-height: 1.65;
  text-wrap: pretty;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  font: 600 15px/1.2 var(--font-sans);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--ink);
  color: var(--bg);
}
.btn--primary:hover { opacity: 0.88; transform: translateY(-1px); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn--ghost:hover { background: var(--muted); }

.btn--accent {
  background: var(--accent);
  color: #fff;
}
.btn--accent:hover { opacity: 0.9; transform: translateY(-1px); }

.btn--light {
  background: var(--dark-ink);
  color: var(--dark-bg);
}
.btn--light:hover { opacity: 0.88; transform: translateY(-1px); }

.btn--lg { padding: 15px 28px; font-size: 16px; border-radius: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 20px -12px oklch(0.18 0.01 60 / 0.15);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: 8px;
}
.brand__logo {
  display: block;
  height: 45px;
  width: auto;
}
/* The logo's glyphs are black — flip them to white on dark surfaces
   (the footer sits on the dark band in both themes). */
html.dark .brand__logo,
.site-footer .brand__logo { filter: invert(1); }
.brand__name {
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 18px;
  line-height: 1.1;
}
.brand__sub {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-dim);
  margin-top: 2px;
  white-space: nowrap;
}

.nav__links {
  display: flex;
  gap: 4px;
  margin: 0 auto;
}
.nav__links > a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-dim);
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}
.nav__links > a:hover { color: var(--ink); background: var(--muted); }

.nav__actions { display: flex; align-items: center; gap: 10px; }

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  font-size: 12.5px;
  font-weight: 600;
}
.lang-switch a {
  padding: 6px 10px;
  text-decoration: none;
  color: var(--ink-dim);
  transition: background 0.15s, color 0.15s;
}
.lang-switch a:hover { color: var(--ink); }
.lang-switch a.is-active {
  background: var(--ink);
  color: var(--bg);
}

.nav__login {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  padding: 8px 12px;
}
.nav__login:hover { color: var(--accent); }

.nav .btn { padding: 10px 18px; font-size: 14.5px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  color: var(--ink);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  color: var(--ink-dim);
  transition: color 0.15s, background 0.15s;
  flex: none;
}
.theme-toggle:hover { color: var(--ink); background: var(--muted); }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .icon-sun { display: none; }
html.dark .theme-toggle .icon-sun { display: block; }
html.dark .theme-toggle .icon-moon { display: none; }

/* ---------- Hero backdrop ----------
   A city photo sits behind the header and the hero copy, veiled by a
   translucent wash in the page colour. The wash deepens towards the bottom
   and lands on the solid page colour, so the photo blends into the rest of
   the page instead of ending on a hard edge. */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: clamp(820px, 74vw, 1020px);
  background-color: var(--bg);
  background-image:
    linear-gradient(
      to bottom,
      oklch(0.985 0.004 90 / 0.24) 0%,
      oklch(0.985 0.004 90 / 0.4) 30%,
      oklch(0.985 0.004 90 / 0.78) 54%,
      oklch(0.985 0.004 90 / 0.95) 80%,
      oklch(0.985 0.004 90) 100%
    ),
    url("back-light.jpg");
  background-size: cover;
  background-position: center top;
  pointer-events: none;
  z-index: 0;
}
html.dark .hero-bg {
  background-image:
    linear-gradient(
      to bottom,
      oklch(0.16 0.006 60 / 0.56) 0%,
      oklch(0.16 0.006 60 / 0.86) 42%,
      oklch(0.16 0.006 60 / 0.97) 82%,
      oklch(0.16 0.006 60) 100%
    ),
    url("back-dark.jpg");
}

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 0;
  overflow: hidden;
  position: relative;
}

.hero__inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.hero .display { font-size: clamp(42px, 6.5vw, 74px); }
.hero .lede { max-width: 620px; font-size: clamp(17px, 2vw, 20px); }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--accent-edge);
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero__eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* Brand motto lockup above the headline — light/dark variant swapped per theme */
.hero__motto img {
  display: block;
  width: min(540px, 108vw);
  height: auto;
  padding-bottom: 1.5rem;
}
.hero__motto .motto-dark { display: none; }
html.dark .hero__motto .motto-light { display: none; }
html.dark .hero__motto .motto-dark { display: block; }

.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.hero__note { font-size: 13.5px; color: var(--ink-ghost); }

/* ---------- Product mockup (hero) ---------- */
.mockup-stage {
  margin-top: 64px;
  position: relative;
  padding-bottom: 96px;
}
.mockup-stage::before {
  content: "";
  position: absolute;
  inset: 120px -20vw 0;
  background:
    radial-gradient(60% 90% at 50% 0%, oklch(0.55 0.13 40 / 0.13), transparent 65%),
    linear-gradient(var(--dark-bg), var(--dark-bg));
  z-index: -1;
}

.browser {
  max-width: 1020px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.browser__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--muted);
  border-bottom: 1px solid var(--border);
}
.browser__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.browser__url {
  margin-left: 12px;
  flex: 1;
  max-width: 320px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 11px;
  color: var(--ink-ghost);
}

/* --- Mock app UI shared bits --- */
.mock-app {
  display: grid;
  grid-template-columns: 172px 1fr;
  min-height: 480px;
  font-size: 11px;
  line-height: 1.45;
  text-align: left;
}

.mock-side {
  background: var(--sidebar);
  border-right: 1px solid var(--border);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mock-side__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px 14px;
}
.mock-side__logo {
  width: 22px;
  height: 22px;
  background: var(--ink);
  color: var(--bg);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
}
.mock-side__name { font-weight: 700; font-size: 12px; }
.mock-side__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 6px;
  color: var(--ink-dim);
  font-weight: 500;
}
.mock-side__item.is-active { background: var(--fill); color: var(--ink); font-weight: 600; }
.mock-side__item svg { width: 12px; height: 12px; stroke: currentColor; }
.mock-side__divider {
  font-size: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-ghost);
  padding: 12px 8px 4px;
}

.mock-main { padding: 18px 20px; background: var(--bg); min-width: 0; }
.mock-main__date {
  font-size: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-ghost);
  margin-bottom: 4px;
}
.mock-main__title { font-family: var(--font-serif); font-size: 22px; letter-spacing: -0.01em; }
.mock-main__sub { color: var(--ink-dim); margin-top: 2px; }
.mock-main__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.mock-btn {
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  font-size: 10.5px;
  padding: 7px 12px;
  border-radius: 6px;
  white-space: nowrap;
}

.mock-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 16px;
}
.mock-kpi { background: var(--card); padding: 12px 14px; }
.mock-kpi__label {
  font-size: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-dim);
}
.mock-kpi__value { font-family: var(--font-serif); font-size: 20px; margin-top: 4px; }
.mock-kpi__delta { font-size: 9px; color: var(--tag-success-text); font-weight: 600; }

.mock-panels { display: grid; grid-template-columns: 1.5fr 1fr; gap: 14px; }
.mock-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  min-width: 0;
}
.mock-panel__title { font-weight: 700; font-size: 11.5px; margin-bottom: 10px; }

.mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid var(--muted);
}
.mock-row:first-of-type { border-top: 0; }
.mock-row__main { min-width: 0; }
.mock-row__title { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-row__sub { color: var(--ink-ghost); font-size: 9.5px; }
.mock-row__price { font-weight: 600; white-space: nowrap; }

.pill {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 8.5px;
  font-weight: 600;
  border: 1px solid;
  white-space: nowrap;
}
.pill--success { background: var(--tag-success-bg); color: var(--tag-success-text); border-color: var(--tag-success-edge); }
.pill--warn { background: var(--tag-warn-bg); color: var(--tag-warn-text); border-color: var(--tag-warn-edge); }
.pill--danger { background: var(--tag-danger-bg); color: var(--tag-danger-text); border-color: var(--tag-danger-edge); }
.pill--info { background: var(--tag-info-bg); color: var(--tag-info-text); border-color: var(--tag-info-edge); }

.mock-funnel { display: flex; flex-direction: column; gap: 8px; }
.mock-funnel__row { display: grid; grid-template-columns: 92px 1fr 18px; align-items: center; gap: 8px; }
.mock-funnel__label { color: var(--ink-dim); font-size: 9.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-funnel__track { height: 8px; background: var(--muted); border-radius: 999px; overflow: hidden; }
.mock-funnel__fill { height: 100%; background: var(--accent); border-radius: 999px; }
.mock-funnel__count { font-weight: 600; text-align: right; }

/* ---------- Trust / differentiator strip ---------- */
.strip {
  background: var(--dark-bg);
  color: var(--dark-ink);
  padding: 56px 0;
}
.strip__title {
  text-align: center;
  color: var(--dark-ink-dim);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 32px;
}
.strip__items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--dark-border);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.strip__item {
  background: var(--dark-bg);
  padding: 26px 24px;
  text-align: center;
}
.strip__item strong {
  display: block;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 30px;
  color: var(--dark-ink);
  letter-spacing: -0.01em;
}
.strip__item span {
  display: block;
  margin-top: 6px;
  color: var(--dark-ink-dim);
  font-size: 13px;
}

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section--tint { background: var(--muted); }

.section-head {
  max-width: 680px;
  margin: 0 auto 64px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.section-head .display { font-size: clamp(32px, 4.5vw, 48px); }

/* Feature cards trio */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card__icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-edge);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card__icon svg { width: 20px; height: 20px; }
.card h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.card p { color: var(--ink-dim); font-size: 15px; }

/* Alternating feature rows */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  padding: 56px 0;
}
.feature--flip .feature__copy { order: 2; }
.feature--flip .feature__visual { order: 1; }

.feature__copy { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.feature__copy .display { font-size: clamp(28px, 3.6vw, 40px); }
.feature__copy .lede { font-size: 16.5px; }

.feature__list { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.feature__list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--ink-dim);
}
.feature__list li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--accent-soft) var(--check-icon) center/10px no-repeat;
  border: 1px solid var(--accent-edge);
}
.feature__list strong { color: var(--ink); font-weight: 600; }

.feature__visual { min-width: 0; }

.panel-frame {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 20px;
  font-size: 11px;
  line-height: 1.45;
}
.panel-frame__title { font-weight: 700; font-size: 12.5px; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: center; }

/* Kanban visual */
.mock-kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-kanban__col { background: var(--muted); border-radius: 10px; padding: 10px; min-width: 0; }
.mock-kanban__head {
  font-size: 8.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-dim);
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
}
.mock-kanban__card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 10px;
  margin-bottom: 8px;
  box-shadow: var(--shadow-sm);
}
.mock-kanban__card--lift { transform: rotate(-2deg); box-shadow: var(--shadow-lg); border-color: var(--accent-edge); }
.mock-kanban__price { font-weight: 700; }
.mock-kanban__meta { color: var(--ink-ghost); font-size: 9px; margin-top: 2px; }

/* Portal visual */
.mock-portal { display: flex; flex-direction: column; gap: 10px; }
.mock-portal__link {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--muted);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 10.5px;
  color: var(--ink-dim);
  overflow: hidden;
}
.mock-portal__link code { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 10px; }
.mock-portal__copy { margin-left: auto; background: var(--ink); color: var(--bg); border-radius: 5px; padding: 4px 10px; font-weight: 600; font-size: 9px; white-space: nowrap; }
.mock-portal__log { border-top: 1px solid var(--muted); padding-top: 10px; display: flex; flex-direction: column; gap: 7px; }
.mock-portal__event { display: flex; align-items: center; gap: 8px; color: var(--ink-dim); font-size: 10px; }
.mock-portal__event time { margin-left: auto; color: var(--ink-ghost); font-size: 9px; white-space: nowrap; }
.mock-portal__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--tag-success-text); flex: none; }
.mock-portal__dot--warn { background: var(--tag-warn-text); }
.mock-portal__dot--info { background: var(--tag-info-text); }

/* Doc checklist */
.mock-docs { display: flex; flex-direction: column; }
.mock-doc { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--muted); font-size: 11px; }
.mock-doc:first-child { border-top: 0; }
.mock-doc svg { width: 13px; height: 13px; stroke: var(--ink-ghost); flex: none; }
.mock-doc span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Leases table visual */
.mock-table { width: 100%; border-collapse: collapse; font-size: 10.5px; }
.mock-table th {
  text-align: left;
  font-size: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-ghost);
  padding: 6px 8px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.mock-table td { padding: 9px 8px; border-bottom: 1px solid var(--muted); white-space: nowrap; }
.mock-table td:first-child { font-weight: 600; max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
.mock-table tr:last-child td { border-bottom: 0; }

/* Reports visual */
.mock-report { display: flex; flex-direction: column; gap: 14px; }
.mock-report__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-report__kpi { background: var(--muted); border-radius: 8px; padding: 10px 12px; }
.mock-report__kpi b { display: block; font-family: var(--font-serif); font-weight: 400; font-size: 17px; }
.mock-report__kpi span { font-size: 8.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-dim); font-weight: 600; }
.mock-report__bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; padding-top: 6px; }
.mock-report__bar { flex: 1; background: var(--fill); border-radius: 6px 6px 2px 2px; position: relative; }
.mock-report__bar.is-hot { background: var(--accent); }
.mock-report__months { display: flex; gap: 8px; }
.mock-report__months span { flex: 1; text-align: center; font-size: 8.5px; color: var(--ink-ghost); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px 28px;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-serif);
  font-size: 40px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
}
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--ink-dim); font-size: 15px; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.price-card--featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-lg);
  position: relative;
}
.price-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.price-card h3 { font-size: 18px; font-weight: 700; }
.price-card__desc { color: var(--ink-dim); font-size: 14px; min-height: 42px; }
.price-card__price { font-family: var(--font-serif); font-size: 44px; letter-spacing: -0.02em; margin: 10px 0 0; }
.price-card__price small { font-family: var(--font-sans); font-size: 14px; color: var(--ink-dim); letter-spacing: 0; }
.price-card__period { font-size: 13px; color: var(--ink-ghost); margin-bottom: 16px; }
.price-card .btn { width: 100%; margin-bottom: 20px; }
.price-card ul { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--muted); display: flex; flex-direction: column; gap: 10px; }
.price-card li { display: flex; gap: 10px; font-size: 14px; color: var(--ink-dim); align-items: flex-start; }
.price-card li::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--accent-soft) var(--check-icon) center/9px no-repeat;
  border: 1px solid var(--accent-edge);
}
.pricing-note { text-align: center; color: var(--ink-ghost); font-size: 13.5px; margin-top: 28px; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--border);
}
.faq details:first-of-type { border-top: 1px solid var(--border); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  font-size: 16.5px;
  font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-serif);
  font-size: 26px;
  line-height: 1;
  color: var(--accent);
  transition: transform 0.2s ease;
  flex: none;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__body { padding: 0 4px 24px; color: var(--ink-dim); font-size: 15.5px; max-width: 640px; }

/* ---------- Final CTA ---------- */
.cta {
  background: var(--dark-bg);
  color: var(--dark-ink);
  padding: 110px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 80% at 50% 100%, oklch(0.55 0.13 40 / 0.18), transparent 70%);
  pointer-events: none;
}
.cta__inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.cta .display { font-size: clamp(34px, 5vw, 56px); }
.cta .display em { color: var(--dark-accent); }
.cta .lede { color: var(--dark-ink-dim); max-width: 560px; }
.cta__ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.cta .btn--ghost { color: var(--dark-ink); border-color: var(--dark-border); }
.cta .btn--ghost:hover { background: var(--dark-card); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark-bg);
  color: var(--dark-ink-dim);
  border-top: 1px solid var(--dark-border);
  padding: 64px 0 40px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .brand__name { color: var(--dark-ink); }
.footer-brand .brand__sub { color: var(--dark-ink-dim); }
.footer-brand p { margin-top: 16px; max-width: 280px; font-style: italic; font-family: var(--font-serif); font-size: 16px; color: var(--dark-ink-dim); }
.footer-col h4 {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--dark-ink);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--dark-ink-dim); text-decoration: none; transition: color 0.15s; }
.footer-col a:hover { color: var(--dark-ink); }
.footer-bottom {
  border-top: 1px solid var(--dark-border);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .strip__items { grid-template-columns: repeat(2, 1fr); }
  .cards, .steps, .pricing { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .price-card__desc { min-height: 0; }
  .feature { grid-template-columns: 1fr; padding: 40px 0; }
  .feature--flip .feature__copy { order: 1; }
  .feature--flip .feature__visual { order: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* The full Greek nav needs ~1040px — below that, collapse to the burger menu. */
@media (max-width: 1040px) {
  .nav__links, .nav__login { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav__actions { margin-left: 0; }
  .nav { gap: 12px; }
  .brand { margin-right: auto; }

  .nav__links.is-open {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px 20px;
    box-shadow: var(--shadow-lg);
    margin: 0;
  }

  .nav__links.is-open > a { padding: 12px 14px; font-size: 16px; }

  .nav__links-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
  }
  .nav__links-cta .btn { width: 100%; }
}

@media (min-width: 1041px) {
  .nav__links-cta { display: none; }
}

@media (max-width: 820px) {
  .section { padding: 72px 0; }
  .mock-app { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  .mock-kpis { grid-template-columns: repeat(2, 1fr); }
  .mock-panels { grid-template-columns: 1fr; }
  .mock-kanban { grid-template-columns: repeat(2, 1fr); }
  .mock-kanban__col:nth-child(3) { display: none; }
}

@media (max-width: 560px) {
  .hero { padding-top: 48px; }
  .strip { padding: 44px 0; }
  .strip__items { grid-template-columns: 1fr; }
  .strip__item { padding: 20px 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .btn--lg { width: 100%; }
  .hero__ctas, .cta__ctas { width: 100%; flex-direction: column; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 40px; }
  .mockup-stage { margin-top: 44px; padding-bottom: 56px; }
  .feature { padding: 28px 0; }
  .card, .step, .price-card { padding: 24px 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* Compact header on phones: login + CTA live in the burger menu instead. */
@media (max-width: 520px) {
  .container { padding: 0 18px; }
  .nav { gap: 8px; height: 64px; }
  .nav__actions { gap: 8px; }
  .nav__actions > .btn { display: none; }
  .lang-switch a { padding: 6px 8px; }
  .nav__links.is-open { top: 64px; }
  html { scroll-padding-top: 76px; }
}

@media (max-width: 480px) {
  /* The 4-column lease table can't fit — drop the tenant column. */
  .mock-table th:nth-child(2), .mock-table td:nth-child(2) { display: none; }
  .panel-frame { padding: 14px; }
  .mock-main { padding: 14px; }
  .mock-kanban { gap: 7px; }
  .mock-kanban__col { padding: 7px; }
  .hero .display { font-size: clamp(36px, 11vw, 42px); }
}
