:root,
[data-theme='light'] {
  --z_bg: #f2f4f6;
  --z_bg2: #e8ecef;
  --z_panel: #f8f9fb;
  --z_panel_h: #eef1f4;
  --z_ink: #2f3439;
  --z_mute: #5c6570;
  --z_line: #dde2e8;
  --z_acc: #3d9468;
  --z_acc2: #357a58;
  --z_cyan: #5a9f7a;
  --z_glow: rgba(61, 148, 104, 0.18);
  --z_sh: 0 6px 22px rgba(20, 24, 32, 0.06);
  --z_rad: 16px;
  --z_w: 1140px;
  --z_nav: 72px;
  --z_ico: #3d9468;
  --z_mesh: none;
  color-scheme: light;
}

/* Оранжевая «Warm Ember» тема удалена — используем палитру /home/ */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--z_ink);
  background: var(--z_bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--z_acc); text-decoration: none; }
a:hover { text-decoration: underline; }

.v2-wrap {
  max-width: var(--z_w);
  margin: 0 auto;
  padding: 0 20px;
}

.v2-wrap--narrow { max-width: 760px; }

.v2-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--z_acc), var(--z_cyan));
  -webkit-mask: var(--z_mask) center / contain no-repeat;
  mask: var(--z_mask) center / contain no-repeat;
}

.v2-icon--xl { width: 40px; height: 40px; }

.v2-icon--curriculum { --z_mask: url(/icons/curriculum.svg); }
.v2-icon--pencil { --z_mask: url(/icons/pencil.svg); }
.v2-icon--schedule { --z_mask: url(/icons/schedule.svg); }
.v2-icon--calendar { --z_mask: url(/icons/calendar.svg); }
.v2-icon--chat { --z_mask: url(/icons/chat.svg); }
.v2-icon--analytics { --z_mask: url(/icons/analytics.svg); }
.v2-icon--notifications { --z_mask: url(/icons/notifications.svg); }
.v2-icon--users { --z_mask: url(/icons/users.svg); }
.v2-icon--groups { --z_mask: url(/icons/groups.svg); }
.v2-icon--logs { --z_mask: url(/icons/logs.svg); }
.v2-icon--requests { --z_mask: url(/icons/requests.svg); }
.v2-icon--export { --z_mask: url(/icons/export.svg); }
.v2-icon--db-import { --z_mask: url(/icons/db-import-white.svg); }
.v2-icon--logo { --z_mask: url(/icons/curriculum.svg); width: 22px; height: 22px; background: #fff; }
.v2-icon--theme-dark { --z_mask: url(/icons/theme-dark.svg); background: var(--z_ink); }
.v2-icon--theme-light { --z_mask: url(/icons/theme-light.svg); background: var(--z_ink); }

[data-theme='light'] .v2-icon--db-import { --z_mask: url(/icons/db-import-dark.svg); }

.v2-btn-icon .v2-icon { width: 18px; height: 18px; }
.v2-btn-icon { display: inline-flex; align-items: center; justify-content: center; }

.v2-check {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 6px;
  background: var(--z_cyan);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
  vertical-align: -2px;
}

.v2-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  z-index: 200;
  background: linear-gradient(90deg, var(--z_acc), #6aab88);
  box-shadow: none;
  opacity: 0.85;
  transition: width 0.08s linear;
}

.v2-cursor-glow {
  display: none !important;
}

.v2-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--z_nav);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--z_line);
  background: color-mix(in srgb, var(--z_bg) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.v2-nav .v2-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.v2-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.v2-brand:hover { text-decoration: none; }

.v2-logo {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--z_acc), #5a9f7a);
  display: grid;
  place-items: center;
  box-shadow: 0 2px 8px rgba(61, 148, 104, 0.18);
}

.v2-brand-text strong {
  display: block;
  font-size: 15px;
  letter-spacing: -0.02em;
}

.v2-brand-text span {
  display: block;
  font-size: 11px;
  color: var(--z_mute);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.v2-nav-links {
  display: none;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  font-weight: 500;
}

.v2-nav-links a {
  color: var(--z_mute);
  text-decoration: none;
  position: relative;
  padding: 4px 0;
}

.v2-nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--z_acc), var(--z_cyan));
  border-radius: 2px;
  transition: width 0.25s ease;
}

.v2-nav-links a:hover,
.v2-nav-links a.is-active {
  color: var(--z_ink);
  text-decoration: none;
}

.v2-nav-links a.is-active::after,
.v2-nav-links a:hover::after { width: 100%; }

.v2-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.v2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 11px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.v2-btn:hover { text-decoration: none; }

.v2-btn-primary {
  background: var(--z_acc);
  color: #fff;
  box-shadow: 0 2px 10px rgba(61, 148, 104, 0.22);
}

.v2-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(61, 148, 104, 0.26); }

.v2-btn-ghost {
  background: var(--z_panel);
  color: var(--z_ink);
  border: 1px solid var(--z_line);
}

.v2-btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 10px;
  background: var(--z_panel);
  border: 1px solid var(--z_line);
  color: var(--z_ink);
}

.v2-btn-lg { padding: 14px 28px; font-size: 15px; }

.v2-btn-icon .v2-theme-icon[hidden] { display: none; }

@media (min-width: 900px) {
  .v2-nav-links { display: flex; }
}

.v2-hero {
  position: relative;
  padding: 56px 0 48px;
  overflow: hidden;
}

.v2-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--z_mesh);
  pointer-events: none;
}

.v2-hero-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.6;
  background-image:
    linear-gradient(rgba(61, 148, 104, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 148, 104, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%);
}

.v2-hero-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.v2-deco {
  position: absolute;
  width: 40px;
  height: 40px;
  opacity: 0.18;
  background: linear-gradient(135deg, var(--z_acc), var(--z_cyan));
  -webkit-mask: var(--z_mask) center / contain no-repeat;
  mask: var(--z_mask) center / contain no-repeat;
  animation: v2-deco-float 12s ease-in-out infinite;
}

.v2-deco--book {
  --z_mask: url(/icons/curriculum.svg);
  top: 18%;
  left: 8%;
  width: 36px;
  height: 36px;
  animation-delay: 0s;
}

.v2-deco--star {
  --z_mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M12 2l2.4 7.4H18l-6 4.6 2.3 7L12 17.8 7.7 19l2.3-7-6-4.6h3.6z'/%3E%3C/svg%3E");
  top: 12%;
  right: 12%;
  width: 28px;
  height: 28px;
  animation-delay: -3s;
}

.v2-deco--pencil {
  --z_mask: url(/icons/pencil.svg);
  bottom: 22%;
  right: 18%;
  width: 32px;
  height: 32px;
  animation-delay: -6s;
}

.v2-deco--grade {
  --z_mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M5 3h14a2 2 0 012 2v14a2 2 0 01-2 2H5a2 2 0 01-2-2V5a2 2 0 012-2zm2 4v2h10V7H7zm0 4v2h6v-2H7z'/%3E%3C/svg%3E");
  bottom: 30%;
  left: 5%;
  width: 30px;
  height: 30px;
  animation-delay: -9s;
}

@keyframes v2-deco-float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.12; }
  25% { transform: translate(8px, -12px) rotate(8deg); opacity: 0.22; }
  50% { transform: translate(-6px, 8px) rotate(-5deg); opacity: 0.15; }
  75% { transform: translate(10px, 4px) rotate(4deg); opacity: 0.2; }
}

.v2-hero-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.v2-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: v2-float 14s ease-in-out infinite;
}

.v2-orb--1 {
  width: 320px;
  height: 320px;
  background: rgba(61, 148, 104, 0.35);
  top: 10%;
  left: -5%;
}

.v2-orb--2 {
  width: 260px;
  height: 260px;
  background: rgba(90, 159, 122, 0.25);
  top: 30%;
  right: 5%;
  animation-delay: -4s;
}

.v2-orb--3 {
  width: 200px;
  height: 200px;
  background: rgba(53, 122, 88, 0.2);
  bottom: 10%;
  left: 40%;
  animation-delay: -8s;
}

@keyframes v2-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(24px, -18px) scale(1.05); }
  66% { transform: translate(-16px, 12px) scale(0.95); }
}

.v2-hero-grid {
  position: relative;
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 960px) {
  .v2-hero-grid { grid-template-columns: 1.05fr 0.95fr; }
}

.v2-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: #e6f0ea;
  color: var(--z_acc2);
  border: 1px solid #c5dccf;
  margin-bottom: 18px;
}

.v2-badge a { color: inherit; font-weight: 700; }

.v2-badge-icon { width: 16px; height: 16px; }

.v2-hero-title {
  margin: 0 0 18px;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--z_ink);
}

.v2-hero-title__line { display: block; }

.v2-hero-title__gradient {
  display: block;
  color: inherit;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  animation: none;
}

@keyframes v2-shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.v2-hero-lead {
  margin: 0 0 28px;
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--z_mute);
  max-width: 54ch;
}

.v2-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.v2-hero-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 14px;
  color: var(--z_mute);
}

.v2-hero-visual {
  position: relative;
  perspective: 1200px;
}

.v2-hero-visual__frame {
  position: relative;
  border-radius: 20px;
  padding: 12px;
  background: var(--z_panel);
  border: 1px solid var(--z_line);
  box-shadow: var(--z_sh);
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
  animation: v2-hero-float 6s ease-in-out infinite;
}

@keyframes v2-hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.v2-hero-visual__frame img {
  border-radius: 12px;
  width: 100%;
}

.v2-hero-visual__shine {
  position: absolute;
  inset: 12px;
  border-radius: 12px;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.08) 50%, transparent 60%);
  pointer-events: none;
  animation: v2-shine 4s ease-in-out infinite;
}

@keyframes v2-shine {
  0%, 100% { opacity: 0; transform: translateX(-30%); }
  50% { opacity: 1; transform: translateX(30%); }
}

.v2-hero-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--z_panel) 92%, transparent);
  border: 1px solid var(--z_line);
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(8px);
  animation: v2-float-badge 5s ease-in-out infinite;
}

.v2-hero-float--1 { top: 8%; right: -4%; animation-delay: 0s; }
.v2-hero-float--2 { bottom: 18%; left: -6%; animation-delay: -2.5s; }

@keyframes v2-float-badge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.v2-hero-caption {
  margin: 12px 4px 0;
  font-size: 13px;
  color: var(--z_mute);
  text-align: center;
}

.v2-marquee {
  overflow: hidden;
  border-block: 1px solid var(--z_line);
  background: var(--z_bg2);
  padding: 14px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.v2-marquee__track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: v2-marquee 28s linear infinite;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--z_mute);
}

.v2-marquee__track span {
  display: flex;
  align-items: center;
  gap: 48px;
}

.v2-marquee__track span::after {
  content: '◆';
  font-size: 8px;
  color: var(--z_acc);
  opacity: 0.6;
}

@keyframes v2-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.v2-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 48px auto 64px;
  position: relative;
  z-index: 2;
}

@media (min-width: 640px) {
  .v2-stats { grid-template-columns: repeat(4, 1fr); }
}

.v2-stat {
  text-align: center;
  padding: 22px 14px;
  border-radius: var(--z_rad);
  background: var(--z_panel);
  border: 1px solid var(--z_line);
  box-shadow: var(--z_sh);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.v2-stat:hover {
  transform: translateY(-4px);
  border-color: rgba(61, 148, 104, 0.35);
}

.v2-stat strong {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--z_acc);
}

.v2-stat span {
  font-size: 12px;
  color: var(--z_mute);
}

.v2-section { padding: 64px 0; position: relative; }

.v2-section--how { background: var(--z_bg2); }

.v2-section--features {
  background: linear-gradient(180deg, transparent, rgba(61, 148, 104, 0.04), transparent);
}

.v2-section-head {
  margin-bottom: 36px;
  max-width: 680px;
}

.v2-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--z_cyan);
}

.v2-section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.v2-section-head p {
  margin: 0;
  color: var(--z_mute);
  font-size: 1.05rem;
}

.v2-compare {
  display: grid;
  gap: 16px;
  align-items: stretch;
}

@media (min-width: 800px) {
  .v2-compare { grid-template-columns: 1fr auto 1fr; }
}

.v2-compare-card {
  padding: 24px;
  border-radius: var(--z_rad);
  border: 1px solid var(--z_line);
  background: var(--z_panel);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.v2-compare-card:hover { transform: translateY(-3px); }

.v2-compare-card--accent {
  border-color: rgba(61, 148, 104, 0.4);
  box-shadow: 0 0 0 1px rgba(61, 148, 104, 0.15), var(--z_sh);
}

.v2-compare-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 1rem;
}

.v2-compare-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--z_mute);
  font-size: 14px;
  line-height: 1.65;
}

.v2-compare-arrow {
  display: none;
  align-self: center;
  font-size: 28px;
  color: var(--z_acc);
  font-weight: 300;
}

@media (min-width: 800px) {
  .v2-compare-arrow { display: block; }
}

.v2-feature-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.v2-feature-tab {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--z_line);
  background: var(--z_panel);
  color: var(--z_mute);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.v2-feature-tab:hover {
  border-color: rgba(61, 148, 104, 0.35);
  color: var(--z_ink);
}

.v2-feature-tab.is-active {
  background: linear-gradient(135deg, rgba(61, 148, 104, 0.2), rgba(90, 159, 122, 0.1));
  border-color: rgba(61, 148, 104, 0.45);
  color: var(--z_ink);
  box-shadow: 0 4px 20px rgba(61, 148, 104, 0.15);
}

.v2-feature-preview {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  margin-bottom: 28px;
  border-radius: var(--z_rad);
  background: var(--z_panel);
  border: 1px solid var(--z_line);
  transition: opacity 0.25s ease;
}

.v2-feature-preview.is-changing { opacity: 0.5; }

.v2-feature-preview__icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(61, 148, 104, 0.12);
  flex-shrink: 0;
}

.v2-feature-preview h3 { margin: 0 0 8px; font-size: 1.1rem; }
.v2-feature-preview p { margin: 0; color: var(--z_mute); font-size: 15px; }

.v2-grid-3 { display: grid; gap: 18px; }

@media (min-width: 720px) {
  .v2-grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.v2-grid-2 { display: grid; gap: 18px; }

@media (min-width: 720px) {
  .v2-grid-2 { grid-template-columns: repeat(2, 1fr); }
}

.v2-card {
  padding: 24px;
  border-radius: var(--z_rad);
  background: var(--z_panel);
  border: 1px solid var(--z_line);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.v2-card:hover {
  border-color: rgba(61, 148, 104, 0.35);
  box-shadow: 0 16px 40px rgba(61, 148, 104, 0.12);
}

.v2-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(61, 148, 104, 0.12);
  margin-bottom: 14px;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.v2-card:hover .v2-card-icon {
  background: rgba(61, 148, 104, 0.18);
  box-shadow: 0 4px 16px rgba(61, 148, 104, 0.15);
}

.v2-card h3 { margin: 0 0 8px; font-size: 1.05rem; }

.v2-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--z_mute);
  line-height: 1.55;
}

/* Role cards — без цветных полос, с glow на hover */
.v2-role-card {
  position: relative;
  overflow: hidden;
  cursor: default;
}

.v2-role-card__glow {
  position: absolute;
  top: -40%;
  right: -20%;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--z_role-glow, rgba(61, 148, 104, 0.15)), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.v2-role-card[data-role="admin"] { --z_role-glow: rgba(61, 148, 104, 0.2); }
.v2-role-card[data-role="tutor"] { --z_role-glow: rgba(61, 148, 104, 0.22); }
.v2-role-card[data-role="student"] { --z_role-glow: rgba(90, 159, 122, 0.2); }
.v2-role-card[data-role="parent"] { --z_role-glow: rgba(52, 211, 153, 0.18); }

.v2-role-card:hover .v2-role-card__glow {
  opacity: 1;
  transform: scale(1.15);
}

.v2-role-card:hover .v2-card-icon {
  background: rgba(61, 148, 104, 0.18);
  transform: scale(1.08) rotate(-3deg);
}

.v2-role-card .v2-card-icon {
  transition: transform 0.3s ease, background 0.3s ease;
}

.v2-ripple {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61, 148, 104, 0.25), transparent 70%);
  pointer-events: none;
  animation: v2-ripple-out 0.6s ease-out forwards;
  z-index: 0;
}

@keyframes v2-ripple-out {
  from { transform: scale(0); opacity: 1; }
  to { transform: scale(2.5); opacity: 0; }
}

.v2-role-card h3,
.v2-role-card p,
.v2-role-card .v2-card-icon {
  position: relative;
  z-index: 1;
}

.v2-roles-grid .v2-role-card:nth-child(1) { animation-delay: 0s; }
.v2-roles-grid .v2-role-card:nth-child(2) { animation-delay: -2s; }
.v2-roles-grid .v2-role-card:nth-child(3) { animation-delay: -4s; }
.v2-roles-grid .v2-role-card:nth-child(4) { animation-delay: -6s; }

.v2-steps {
  display: grid;
  gap: 16px;
  counter-reset: step;
  position: relative;
}

@media (min-width: 800px) {
  .v2-steps { grid-template-columns: repeat(3, 1fr); }
  .v2-steps::before {
    content: '';
    position: absolute;
    top: 38px;
    left: 16%;
    right: 16%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--z_acc), var(--z_cyan), transparent);
    opacity: 0.35;
    z-index: 0;
    animation: v2-line-pulse 3s ease-in-out infinite;
  }
}

@keyframes v2-line-pulse {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 0.55; }
}

.v2-step {
  padding: 22px;
  border-radius: var(--z_rad);
  background: var(--z_bg2);
  border: 1px solid var(--z_line);
  counter-increment: step;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.v2-step:hover {
  transform: translateY(-4px);
  border-color: rgba(61, 148, 104, 0.35);
}

.v2-step::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--z_acc);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}

.v2-step-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(61, 148, 104, 0.1);
  margin-bottom: 12px;
}

.v2-step h3 { margin: 0 0 8px; font-size: 1rem; }
.v2-step p { margin: 0; color: var(--z_mute); font-size: 14px; }

.v2-faq { display: grid; gap: 10px; }

.v2-faq-item {
  border-radius: 14px;
  border: 1px solid var(--z_line);
  background: var(--z_panel);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.v2-faq-item[open] { border-color: rgba(61, 148, 104, 0.35); }

.v2-faq-item summary {
  padding: 16px 20px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

.v2-faq-item summary::after {
  content: '+';
  font-size: 20px;
  color: var(--z_acc);
  transition: transform 0.2s ease;
}

.v2-faq-item[open] summary::after { transform: rotate(45deg); }

.v2-faq-item p {
  margin: 0;
  padding: 0 20px 16px;
  color: var(--z_mute);
  font-size: 14px;
  line-height: 1.6;
}

.v2-person {
  padding: 24px;
  border-radius: var(--z_rad);
  background: var(--z_panel);
  border: 1px solid var(--z_line);
  transition: transform 0.2s ease;
}

.v2-person h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
}

.v2-person-icon { width: 20px; height: 20px; }

.v2-person-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
}

.v2-person-links small {
  display: block;
  color: var(--z_mute);
  font-size: 12px;
  margin-bottom: 2px;
}

.v2-person-highlight {
  animation: v2-pulse 2.5s ease;
  border-color: rgba(61, 148, 104, 0.6) !important;
  box-shadow: 0 0 0 3px rgba(61, 148, 104, 0.2), var(--z_sh) !important;
}

@keyframes v2-pulse {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.02); }
}

.v2-cta-band {
  position: relative;
  margin: 48px 0 0;
  padding: 48px 32px;
  border-radius: 24px;
  text-align: center;
  background: linear-gradient(135deg, #eef3ef 0%, #e6eee9 100%);
  border: 1px solid #d4e0d8;
  overflow: hidden;
}

.v2-cta-band__orbs {
  display: none;
}

@keyframes v2-cta-pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.v2-cta-band h2,
.v2-cta-band p,
.v2-cta-band .v2-btn {
  position: relative;
  z-index: 1;
}

.v2-cta-band h2 {
  margin: 0 0 10px;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
}

.v2-cta-band p {
  margin: 0 0 22px;
  color: var(--z_mute);
}

.v2-footer {
  padding: 40px 0 56px;
  border-top: 1px solid var(--z_line);
  text-align: center;
}

.v2-footer p {
  margin: 0 0 8px;
  color: var(--z_mute);
  font-size: 14px;
}

.v2-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  margin-top: 12px;
  font-size: 14px;
}

.v2-burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.v2-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--z_ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.v2-burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.v2-burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.v2-burger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 900px) {
  .v2-burger { display: none; }
}

.v2-mobile-menu {
  display: none;
  position: fixed;
  inset: var(--z_nav) 0 0 0;
  background: var(--z_bg);
  padding: 24px 20px;
  z-index: 99;
  border-top: 1px solid var(--z_line);
}

.v2-mobile-menu.open {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.v2-mobile-menu a {
  font-size: 18px;
  font-weight: 600;
  color: var(--z_ink);
  text-decoration: none;
  padding: 8px 0;
}

code {
  font-family: ui-monospace, monospace;
  font-size: 0.9em;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(61, 148, 104, 0.12);
}

.v2-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.v2-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.v2-reveal--delay { transition-delay: 0.12s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .v2-reveal { opacity: 1; transform: none; }
  .v2-cursor-glow { display: none; }
}

/* CUCL shell integration: product pages use cucl-nav instead of v2-nav */
body:has(.cucl-nav) .v2-nav { display: none !important; }
body:has(.cucl-nav) .v2-mobile-menu { display: none !important; }
body:has(.cucl-nav) .v2-scroll-progress { display: none !important; }
body:has(.cucl-nav) .v2-footer { display: none !important; }
body:has(.cucl-nav) .v2-hero { padding-top: 24px; }

.v2-section {
  opacity: 0.92;
  transform: translateY(12px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.v2-section.is-inview {
  opacity: 1;
  transform: translateY(0);
}

.v2-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(680px, 88%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(61, 148, 104, 0.22), transparent);
  pointer-events: none;
}

.v2-section { position: relative; }

#_tmSwitch, .v2-btn-icon#_tmSwitch { display: none !important; }

/* SEO block */
.v2-seo-grid {
  display: grid;
  gap: 18px;
  margin-bottom: 8px;
}

@media (min-width: 720px) {
  .v2-seo-grid { grid-template-columns: repeat(3, 1fr); }
}

.v2-seo-card {
  padding: 22px;
  border-radius: 16px;
  border: 1px solid var(--z_line);
  background: var(--z_panel);
  box-shadow: var(--z_sh);
}

.v2-seo-card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}

.v2-seo-card p {
  margin: 0;
  font-size: 14px;
  color: var(--z_mute);
  line-height: 1.55;
}

.v2-seo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.v2-seo-tags li {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--z_mute);
  border: 1px solid var(--z_line);
  background: var(--z_panel);
}
