/* Feature-page styles — shared */
.feature-hero {
  position: relative;
  padding: clamp(64px, 8vw, 120px) 0 clamp(48px, 6vw, 80px);
  overflow: hidden;
}
.feature-hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(50% 40% at 80% 10%, color-mix(in oklab, var(--accent-soft) 80%, transparent), transparent 70%),
    radial-gradient(45% 40% at 15% 20%, color-mix(in oklab, var(--sky-soft) 80%, transparent), transparent 70%);
  opacity: 0.8;
}
.feature-hero .container { position: relative; z-index: 1; }
.feature-hero .breadcrumb {
  font-size: 13px; color: var(--ink-mute);
  display: flex; gap: 10px; align-items: center; margin-bottom: 32px;
}
.feature-hero .breadcrumb a { color: var(--ink-soft); }
.feature-hero .breadcrumb a:hover { color: var(--ink); }

.feature-hero h1 {
  font-size: clamp(44px, 6.5vw, 80px);
  max-width: 18ch;
  margin-bottom: 24px;
}
.feature-hero h1 em { font-style: italic; color: var(--accent-deep); font-weight: 400; }
.feature-hero .lead { font-size: clamp(18px, 1.4vw, 22px); max-width: 56ch; }
.feature-hero .status {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 6px 14px; border-radius: 999px;
  font-size: 12.5px; color: var(--ink-soft);
  margin-bottom: 20px;
}
.feature-hero .status .dot-live {
  width: 8px; height: 8px; border-radius: 50%; background: oklch(0.7 0.14 150);
  box-shadow: 0 0 0 4px oklch(0.7 0.14 150 / 0.2);
}
.feature-hero-cta { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }

/* Hero illustration area — each feature has its own */
.feature-hero-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center;
}
.feature-hero-art {
  aspect-ratio: 1/1;
  max-width: 520px;
  margin-left: auto;
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

/* How-it-works: numbered flow */
.howto-section { padding: clamp(64px, 8vw, 120px) 0; }
.howto {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  counter-reset: step;
}
.howto .step {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
}
.howto .step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 450;
  letter-spacing: 0.12em;
  color: var(--accent-deep);
}
.howto .step h4 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 450; letter-spacing: -0.01em;
  margin: 0;
}
.howto .step p { font-size: 14.5px; color: var(--ink-soft); margin: 0; line-height: 1.55; }

/* Split section (alternating) */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center;
  padding: clamp(48px, 6vw, 96px) 0;
}
.split.reverse .split-copy { order: 2; }
.split h2 { font-size: clamp(30px, 4vw, 48px); margin-bottom: 20px; }
.split .eyebrow { margin-bottom: 14px; display: block; }
.split p { color: var(--ink-soft); font-size: 16.5px; line-height: 1.6; margin: 0 0 14px; }
.split .bullets { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 12px; }
.split .bullets li { display: flex; gap: 12px; font-size: 15px; color: var(--ink-soft); align-items: flex-start; }
.split .bullets li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-deep); margin-top: 9px; flex-shrink: 0;
}
.split-visual {
  aspect-ratio: 1/1;
  border-radius: var(--radius-xl);
  background: var(--bg-soft);
  overflow: hidden;
  position: relative;
}

/* UI mock (abstract representation of kabinet) */
.ui-mock {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 30px 60px -30px oklch(0.3 0.02 60 / 0.35);
  padding: 16px;
  font-size: 12px;
}
.ui-mock-top {
  display: flex; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); margin-bottom: 12px;
}
.ui-mock-top .t-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.ui-mock-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 12px; color: var(--ink-soft); }
.ui-mock-row + .ui-mock-row { border-top: 1px solid var(--line-soft); }
.ui-mock-badge { background: var(--accent-soft); padding: 3px 8px; border-radius: 999px; font-size: 11px; color: var(--accent-deep); font-weight: 500; }
.ui-mock-badge.live { background: oklch(0.95 0.04 150); color: oklch(0.45 0.1 150); }

/* FAQ/note */
.note {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  font-size: 15px; color: var(--ink-soft);
  border-left: 3px solid var(--accent);
}
.note strong { color: var(--ink); font-weight: 500; }

/* Feature CTA */
.feature-cta {
  background: linear-gradient(135deg, var(--accent-soft), var(--sky-soft));
  border-radius: var(--radius-xl);
  padding: clamp(48px, 7vw, 96px) clamp(32px, 5vw, 64px);
  text-align: center;
}
.feature-cta h2 { font-size: clamp(32px, 4.5vw, 56px); max-width: 20ch; margin: 0 auto 16px; }
.feature-cta .lead { margin: 0 auto 28px; }

/* Related features */
.related {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.related a {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform .15s, border-color .15s;
  display: flex; flex-direction: column; gap: 8px;
}
.related a:hover { transform: translateY(-2px); border-color: var(--accent); }
.related .tag { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); }
.related h4 { font-family: var(--font-display); font-size: 20px; margin: 0; font-weight: 450; letter-spacing: -0.01em; }
.related p { font-size: 14px; color: var(--ink-soft); margin: 0; }

@media (max-width: 900px) {
  .feature-hero-grid, .split { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .split-copy { order: 0; }
  .howto { grid-template-columns: 1fr 1fr; }
  .related { grid-template-columns: 1fr; }
  .feature-hero-art { margin: 0 auto; max-width: 360px; }
}
