/* ============================================================
   ZONA CRM — Landing page styles
   Typography: Albert Sans (display) + Inter (body) + JetBrains Mono
   Palette: deep ink, sea green, mint accent, paper ground
   ============================================================ */

@font-face {
  font-family: 'Albert Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/AlbertSans-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Albert Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/AlbertSans-Medium.woff2') format('woff2');
}
@font-face {
  font-family: 'Albert Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/AlbertSans-SemiBold.woff2') format('woff2');
}
@font-face {
  font-family: 'Albert Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/AlbertSans-Bold.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 500 600 700;
  font-display: swap;
  src: url('../fonts/Inter-Regular.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/Inter-Medium.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/Inter-SemiBold.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/Inter-Bold.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Reset & base ---------- */

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

:root {
  /* palette */
  --ink:        #0f1f1e;
  --ink-soft:   #4a5856;
  --ink-mute:   #6b7876;
  --deep:       #0d2929;
  --green:      #1d655d;
  --accent:     #26a38a;
  --mint:       #7ec9bd;
  --mint-soft:  #d6ece6;
  --paper:      #f5f6f2;
  --paper-warm: #efefe8;
  --line:       #d9dfda;
  --line-soft:  #e7eae5;
  --white:      #ffffff;

  /* type */
  --display: 'Albert Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --sans:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono:    ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  /* size — base bigger for TV legibility */
  --fs-base: 17px;
  --fs-base-lg: 19px;
  --shell: 1280px;
  --shell-narrow: 1040px;
  --radius: 12px;
  --radius-lg: 18px;

  /* shadow */
  --shadow-sm: 0 1px 0 rgba(15, 31, 30, 0.04), 0 4px 12px -4px rgba(15, 31, 30, 0.08);
  --shadow-md: 0 2px 0 rgba(15, 31, 30, 0.04), 0 12px 32px -12px rgba(15, 31, 30, 0.18);
  --shadow-lg: 0 4px 0 rgba(15, 31, 30, 0.04), 0 32px 64px -16px rgba(15, 31, 30, 0.22);
}

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

html { font-size: 16px; }
@media (min-width: 1280px) { html { font-size: 17px; } }
@media (min-width: 1600px) { html { font-size: 18px; } }

body {
  margin: 0;
  background: var(--paper);
  background-image: radial-gradient(1200px 600px at 80% -10%, rgba(38, 163, 138, 0.08), transparent 70%),
                    radial-gradient(900px 500px at 0% 30%, rgba(13, 41, 41, 0.05), transparent 70%),
                    radial-gradient(1100px 700px at 100% 80%, rgba(38, 163, 138, 0.06), transparent 70%);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-base, 17px);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'ss01', 'cv11';
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--white); }

/* ---------- Layout primitives ---------- */

.shell {
  width: min(100% - 48px, var(--shell));
  margin-inline: auto;
}

.shell-narrow {
  width: min(100% - 48px, var(--shell-narrow));
  margin-inline: auto;
}

.skip {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 1000;
  padding: 12px 20px;
  background: var(--deep);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip:focus { top: 16px; }

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  font-family: var(--display);
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 600;
  color: var(--ink);
}

h1 {
  font-size: clamp(48px, 5.6vw, 84px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
  padding-bottom: 0.08em;
}
h2 {
  font-size: clamp(34px, 4.2vw, 60px);
  letter-spacing: -0.04em;
  line-height: 1.05;
  font-weight: 600;
}
h3 {
  font-size: 24px;
  letter-spacing: -0.025em;
  line-height: 1.25;
  font-weight: 600;
}
h4 {
  font-size: 18px;
  letter-spacing: -0.02em;
  font-weight: 600;
}

p { margin: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 20px;
}
.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(38, 163, 138, 0.12);
}
.eyebrow.invert {
  color: var(--mint);
}
.eyebrow.invert::before {
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(126, 201, 189, 0.14);
}

.lead {
  font-size: 21px;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 600px;
  margin: 0;
  font-weight: 400;
  letter-spacing: -0.005em;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
}
.btn .arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}
.btn:hover .arrow { transform: translate(2px, -2px); }

.btn-primary {
  background: var(--deep);
  border-color: var(--deep);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--green);
  border-color: var(--green);
}

.btn-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-outline:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.btn-light-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: var(--white);
}
.btn-light-outline:hover {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

.btn-light {
  background: var(--white);
  border-color: var(--white);
  color: var(--deep);
}
.btn-light:hover {
  background: var(--mint-soft);
  border-color: var(--mint-soft);
  color: var(--deep);
}

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

.btn-sm { height: 40px; padding: 0 16px; font-size: 13.5px; }
.btn-lg { height: 56px; padding: 0 28px; font-size: 16px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 246, 242, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line-soft);
}
.nav-wrap {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}
.brand-mark { display: block; height: 40px; width: auto; min-width: 180px; }

.nav-primary {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-primary a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.18s ease;
}
.nav-primary a:hover { color: var(--ink); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 16px 24px 24px;
  background: var(--paper);
  border-bottom: 1px solid var(--line-soft);
  gap: 4px;
}
.mobile-menu a {
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu a:last-of-type { border-bottom: 0; }
.mobile-menu a.mobile-menu-cta {
  color: var(--accent);
  font-weight: 600;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu .btn { margin-top: 16px; justify-content: center; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 96px 0 112px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 80% 0%, rgba(38, 163, 138, 0.10), transparent 60%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(13, 41, 41, 0.06), transparent 60%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero h1 {
  margin: 0 0 28px;
  font-family: var(--display);
  font-size: clamp(38px, 5.6vw, 78px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 600;
  max-width: 14ch;
}
.hero h1 .accent-wrap {
  white-space: nowrap;
}
.hero h1 .accent {
  color: var(--accent);
  font-style: normal;
}
.hero h1 .stroke {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  padding-bottom: 0.45em;
  margin-bottom: -0.1em;
}
.hero h1 .stroke::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: 0.1em;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--mint));
  border-radius: 2px;
  pointer-events: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 36px 0 32px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13.5px;
  color: var(--ink-mute);
}
.hero-meta .dot {
  width: 4px;
  height: 4px;
  background: var(--line);
  border-radius: 50%;
}

/* Hero visual mockup */
.hero-visual {
  position: relative;
}
.mockup {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.mockup-bar {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 18px;
  background: var(--paper-warm);
  border-bottom: 1px solid var(--line-soft);
}
.mockup-bar i {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line);
}
.mockup-bar i:first-child { background: #f0b8b3; }
.mockup-bar i:nth-child(2) { background: #f0d8b3; }
.mockup-bar i:nth-child(3) { background: var(--mint); }
.mockup-bar small {
  margin-left: 12px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}

.mockup-body { padding: 22px 24px 26px; }

.mock-section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.mock-section-label span {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
}
.mock-section-label a {
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
}

.mock-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 18px;
  background: var(--paper-warm);
  border-radius: 10px;
  margin-bottom: 24px;
}
.mock-stats > div { display: flex; flex-direction: column; gap: 4px; }
.mock-stats b {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.mock-stats small {
  font-size: 11.5px;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
}

.mock-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mock-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  transition: border-color 0.15s ease;
}
.mock-row:hover { border-color: var(--line); }
.mock-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
  letter-spacing: 0;
}
.mock-avatar.a { background: linear-gradient(135deg, var(--deep), var(--green)); }
.mock-avatar.b { background: linear-gradient(135deg, var(--green), var(--accent)); }
.mock-avatar.c { background: linear-gradient(135deg, var(--accent), var(--mint)); }
.mock-avatar.d { background: linear-gradient(135deg, #4d7c75, var(--green)); }

.mock-info { flex: 1; min-width: 0; }
.mock-info b {
  display: block;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.mock-info small {
  display: block;
  font-size: 12.5px;
  color: var(--ink-mute);
  margin-top: 2px;
}
.mock-tag {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--paper-warm);
  color: var(--ink-soft);
}
.mock-tag.hot { background: #fde9d8; color: #b56a25; }
.mock-tag.warm { background: var(--mint-soft); color: var(--green); }
.mock-tag.cold { background: #e7ecf5; color: #426893; }

/* Floating activity card */
.float-card {
  position: absolute;
  background: var(--white);
  border-radius: 10px;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  max-width: 240px;
  white-space: normal;
}
.float-card .ic {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--mint-soft);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.float-card .ic::after {
  content: '';
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
}
.float-card b {
  font-family: var(--display);
  font-weight: 600;
  font-size: 12.5px;
  display: block;
  color: var(--ink);
  line-height: 1.25;
}
.float-card small {
  display: block;
  font-size: 11px;
  color: var(--ink-mute);
  line-height: 1.3;
}
.float-card.tl {
  top: 56px;
  left: -28px;
  z-index: 3;
}
.float-card.br {
  bottom: 26px;
  right: 18px;
  z-index: 3;
  max-width: 210px;
  padding: 10px 12px;
  gap: 10px;
  box-shadow: 0 12px 28px -8px rgba(15, 31, 30, 0.18), 0 2px 6px rgba(15, 31, 30, 0.05);
}
.float-card.br .ic {
  width: 22px;
  height: 22px;
}
.float-card.br b {
  font-size: 12px;
}
.float-card.br small {
  font-size: 10.5px;
}
.hero-visual {
  position: relative;
  z-index: 1;
  padding: 56px 48px 56px;
  margin: -56px -48px;
}
.mockup {
  position: relative;
  z-index: 2;
}
@media (max-width: 880px) {
  .float-card.tl, .float-card.br { display: none; }
}

/* ---------- Trust strip ---------- */

.trust {
  padding: 32px 0 56px;
  border-bottom: 1px solid var(--line-soft);
}
.trust-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-label {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
}
.trust-logos {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  color: var(--ink-soft);
  letter-spacing: -0.02em;
}
.trust-logos span {
  opacity: 0.55;
  transition: opacity 0.2s ease;
}
.trust-logos span:hover { opacity: 1; }

/* ---------- Modules grid ---------- */

.section {
  padding: 128px 0;
}
@media (min-width: 1280px) {
  .section { padding: 144px 0; }
}
.section.tight { padding: 96px 0; }
.section.dark {
  background: var(--deep);
  color: var(--white);
}
.section.dark h2,
.section.dark h3 { color: var(--white); }
.section.dark p,
.section.dark .lead { color: rgba(255, 255, 255, 0.72); }

.section-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: end;
  margin-bottom: 64px;
}
.section-head > div:first-child { max-width: 580px; }
.section-head h2 { margin: 12px 0 0; }
.section-head .lead { margin-top: 18px; }
.section-head.right { grid-template-columns: 1fr 1.2fr; }

.modules {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.module {
  background: var(--paper);
  padding: 44px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 360px;
  position: relative;
}
.module-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--mint-soft);
  display: grid;
  place-items: center;
  margin-bottom: 8px;
}
.module-icon svg { width: 22px; height: 22px; stroke: var(--green); fill: none; stroke-width: 1.6; }
.module h3 {
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: -0.025em;
  line-height: 1.2;
  font-weight: 600;
  margin: 0;
}
.module p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}
.module .module-visual {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px dashed var(--line);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-mute);
}

/* ---------- Stats band ---------- */

.stats {
  background: var(--white);
  padding: 64px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  align-items: start;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 24px 0 0;
}
.stat + .stat {
  border-left: 1px solid var(--line-soft);
  padding-left: 32px;
}
.stat b {
  font-family: var(--display);
  font-size: clamp(40px, 4.5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}
.stat b small {
  font-size: 0.5em;
  color: var(--accent);
  font-weight: 600;
  margin-left: 2px;
  letter-spacing: -0.02em;
}
.stat p {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.5;
}

/* ---------- Showcase (large feature) ---------- */

.showcase {
  padding: 112px 0;
  background: var(--paper);
}
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px;
  align-items: center;
}
.showcase-text h2 { margin: 12px 0 24px; }
.showcase-text .lead { margin-bottom: 36px; max-width: 460px; }
.showcase-points {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 12px;
}
.showcase-points li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  list-style: none;
  padding: 0;
}
.showcase-points li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 9px;
  flex-shrink: 0;
}
.showcase-points b {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  display: block;
  color: var(--ink);
  margin-bottom: 2px;
}
.showcase-points span {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* Showcase visual: kanban-style mockup */
.kanban {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-md);
}
.kanban-col {
  background: var(--paper-warm);
  border-radius: 8px;
  padding: 12px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.kanban-col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px 8px;
  border-bottom: 1px dashed var(--line);
  margin-bottom: 6px;
}
.kanban-col-head b {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.kanban-col-head small {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-mute);
}
.kanban-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 13px;
}
.kanban-card b {
  display: block;
  font-weight: 600;
  color: var(--ink);
  font-size: 13px;
  margin-bottom: 4px;
}
.kanban-card small {
  display: block;
  font-size: 11.5px;
  color: var(--ink-mute);
  margin-bottom: 8px;
}
.kanban-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.kanban-foot .dot-row { display: flex; gap: 4px; }
.kanban-foot .dot-row i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--mint);
  font-size: 9px;
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
}
.kanban-foot .price {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
}

/* ---------- Pricing ---------- */

.pricing {
  background: var(--paper-warm);
  padding: 112px 0;
}
.pricing-head {
  text-align: center;
  margin: 0 auto 56px;
  max-width: 620px;
}
.pricing-head .lead { margin: 18px auto 0; text-align: center; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.plan {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.plan:hover {
  border-color: var(--line);
  transform: translateY(-2px);
}
.plan.featured {
  border-color: var(--deep);
  border-width: 2px;
  background: var(--deep);
  color: var(--white);
}
.plan.featured h3 { color: var(--white); }
.plan.featured .plan-price b { color: var(--white); }
.plan.featured .plan-desc { color: rgba(255,255,255,0.72); }
.plan.featured .plan-features li { color: rgba(255,255,255,0.85); }
.plan.featured .plan-features li::before { background: var(--mint); }

.plan-badge {
  position: absolute;
  top: -10px;
  right: 28px;
  background: var(--accent);
  color: var(--white);
  font-size: 11px;
  letter-spacing: 0.12em;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 99px;
  text-transform: uppercase;
}

.plan-head { margin-bottom: 24px; }
.plan-name {
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.06em;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 8px;
}
.plan.featured .plan-name { color: var(--mint); }
.plan h3 {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0 0 6px;
  color: var(--ink);
}
.plan-desc {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.55;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 16px 0 24px;
  padding: 16px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.plan.featured .plan-price { border-color: rgba(255,255,255,0.12); }
.plan-price b {
  font-family: var(--display);
  font-size: 42px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}
.plan-price small {
  font-size: 14px;
  color: var(--ink-mute);
  font-weight: 500;
}
.plan.featured .plan-price small { color: rgba(255,255,255,0.6); }

/* ---------- FAQ (details) ---------- */

details.faq-item {
  background: var(--paper);
  padding: 32px 36px;
  gap: 12px;
  min-height: 0;
  cursor: pointer;
}
details.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  font-family: var(--display);
  font-size: clamp(18px, 1.4vw, 21px);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.018em;
  line-height: 1.35;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::marker { display: none; }
details.faq-item .faq-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--mint-soft);
  color: var(--green);
  display: grid;
  place-items: center;
  font-size: 19px;
  font-weight: 400;
  transition: transform 0.2s ease, background 0.2s ease;
  font-family: var(--display);
}
details.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: var(--accent);
  color: var(--white);
}
details.faq-item .faq-answer {
  margin-top: 16px;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 760px;
}

/* ---------- Demo form ---------- */

.form-status {
  font-size: 13px;
  margin-top: 12px;
  min-height: 20px;
  color: var(--ink-soft);
}
.form-status.is-error { color: #b85c3a; }
.form-status.is-success { color: var(--green); }

.demo-form-shell { width: 100%; }
.mockup-body label {
  display: block;
  width: 100%;
  margin-top: 16px;
}
.mockup-body label:first-child { margin-top: 0; }
.mockup-body label > span.label-text {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}
.mockup-body label.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.mockup-body input[type=text],
.mockup-body input[type=email],
.mockup-body input[type=tel],
.mockup-body select,
.mockup-body textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  font-size: 16px;
  font-family: var(--sans);
  color: var(--ink);
  box-sizing: border-box;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.mockup-body textarea { resize: vertical; min-height: 110px; display: block; line-height: 1.55; }
.mockup-body input:focus,
.mockup-body select:focus,
.mockup-body textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--mint-soft);
}

.modules.faq-list {
  background: var(--line-soft);
  grid-template-columns: 1fr;
}
.modules.faq-list > .faq-item {
  background: var(--white);
  border-radius: 0;
}
.modules.faq-list > .faq-item:first-child {
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
}
.modules.faq-list > .faq-item:last-child {
  border-bottom-left-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.plan-features li::before {
  content: '';
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3 8.5l3 3 7-7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3 8.5l3 3 7-7' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/contain no-repeat;
  margin-top: 3px;
}

.plan .btn { width: 100%; justify-content: center; }

/* ---------- Final CTA ---------- */

.final-cta {
  background: var(--deep);
  color: var(--white);
  padding: 96px 0 112px;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  top: -160px;
  right: -160px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(38,163,138,0.22), transparent 65%);
  pointer-events: none;
}
.final-cta-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
.final-cta-inner h2 {
  color: var(--white);
  font-size: clamp(36px, 4.4vw, 56px);
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 16px 0 0;
}
.final-cta-inner h2 .accent { color: var(--mint); }
.final-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

/* ---------- Footer ---------- */

.site-footer {
  background: #091e1e;
  color: rgba(255, 255, 255, 0.6);
  padding: 80px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand p {
  font-size: 13.5px;
  line-height: 1.6;
  margin: 24px 0 0;
  max-width: 300px;
  color: rgba(255, 255, 255, 0.55);
}
.footer-brand .brand-mark { filter: brightness(0) invert(1); }
.footer-col h4 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 600;
  margin: 0 0 16px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.4);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom .locale {
  font-family: var(--mono);
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .section-head.right { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .stat + .stat { border-left: 0; padding-left: 0; }
  .stat:nth-child(odd) { border-left: 1px solid var(--line-soft); padding-left: 32px; }
  .showcase-grid { grid-template-columns: 1fr; gap: 48px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
  .final-cta-inner { grid-template-columns: 1fr; }
  .final-cta-actions { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 760px) {
  :root { --shell: calc(100% - 32px); }
  .section { padding: 80px 0; }
  .hero { padding: 64px 0 80px; }
  .nav-primary { display: none; }
  .nav-cta .btn-outline { display: none; }
  .menu-toggle { display: flex; }
  .mobile-menu[data-open="true"] { display: flex; }
  .nav-cta .btn-primary { display: none; }
  .site-header .brand-mark { height: 52px; width: 216px; }
  .site-header .brand-mark .brand-tagline { display: none; }
  .site-header .menu-toggle { width: 40px; height: 40px; }
  .hero h1 { font-size: 24px; line-height: 1.25; letter-spacing: -0.015em; max-width: 100%; }
  .hero h1 .stroke { padding-bottom: 0.4em; }
  .modules { grid-template-columns: 1fr; }
  .module { padding: 32px 28px; min-height: 0; }
  .stats-grid { grid-template-columns: 1fr; gap: 24px; }
  .stat, .stat:nth-child(odd) { padding-left: 0; border-left: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .kanban { grid-template-columns: 1fr; }
  .trust-row { flex-direction: column; align-items: flex-start; gap: 20px; }
}

@media (max-width: 480px) {
  h1 { font-size: 44px; }
  h2 { font-size: 32px; }
  .footer-top { grid-template-columns: 1fr; }
  .plan { padding: 28px 24px; }
}