.features-body {
  background: #07101a;
}

.features-header-shell {
  width: min(1240px, calc(100% - 80px));
  padding-top: 16px;
}

.features-header-shell .topbar {
  margin: 0;
  padding: 12px 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
}

.features-header-shell .brand-subtitle {
  display: none;
}

.features-header-shell .topnav {
  gap: 22px;
}

.features-page {
  --feature-line: rgba(211, 225, 240, 0.16);
  --feature-muted: #adbed0;
  --feature-accent: #96e4f0;
  display: block;
  color: #f2f6ff;
}

.features-wrap {
  width: min(1240px, calc(100% - 80px));
  margin-inline: auto;
}

.features-hero {
  width: 100%;
  padding-block: clamp(56px, 8vw, 112px) 74px;
  overflow: hidden;
}

.features-hero-layout {
  display: grid;
  gap: 44px;
  align-items: center;
}

.features-hero-layout--with-image {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.features-hero-copy {
  animation: feature-enter 550ms ease-out both;
}

.features-eyebrow {
  margin: 0 0 20px;
  color: var(--feature-accent);
  font-size: 0.79rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.features-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4.8rem, 8.7vw, 8.3rem);
  font-weight: 600;
  line-height: 0.96;
  letter-spacing: -0.075em;
}

.features-promise {
  margin: 24px 0 16px;
  max-width: 19ch;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2.25rem);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.features-intro {
  max-width: 43ch;
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.7;
  color: var(--feature-muted);
}

.features-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 28px;
}

.features-page .action-btn-blue {
  min-height: 46px;
  padding: 12px 21px;
  border: 0;
  border-radius: 6px;
  background: #96e4f0;
  color: #08202a;
  box-shadow: none;
  font-size: 0.94rem;
}

.features-page .action-btn-blue:hover {
  background: #c0f5fc;
}

.features-text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #dfefff;
  text-decoration: none;
  text-underline-offset: 5px;
  transition: color 160ms ease;
}

.features-text-link:hover {
  color: var(--feature-accent);
  text-decoration: underline;
}

.features-hero-figure {
  min-width: 0;
  margin: 0;
  animation: feature-enter 650ms 90ms ease-out both;
}

.features-hero-figure a {
  display: block;
  border-radius: 10px;
}

.features-hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--feature-line);
  border-radius: 10px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.3);
  transition: transform 240ms ease;
}

.features-hero-figure a:hover img {
  transform: translateY(-4px);
}

.features-hero-figure figcaption {
  margin-top: 14px;
  color: var(--feature-muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.features-index {
  scroll-margin-top: 24px;
}

.features-toolbar {
  position: sticky;
  top: 0;
  z-index: 15;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px auto;
  gap: 22px;
  align-items: end;
  padding-block: 20px;
  border-block: 1px solid var(--feature-line);
  background: rgba(7, 16, 26, 0.96);
  backdrop-filter: blur(16px);
}

.features-toolbar label {
  display: block;
  margin-bottom: 9px;
  font-size: 0.83rem;
  font-weight: 600;
  color: #deebf9;
}

.features-toolbar input,
.features-toolbar select {
  width: 100%;
  height: 48px;
  border: 1px solid rgba(211, 225, 240, 0.28);
  border-radius: 7px;
  padding: 0 14px;
  background: #101e2c;
  color: #f2f6ff;
  font: inherit;
  font-size: 0.94rem;
  color-scheme: dark;
}

.features-toolbar input::placeholder {
  color: #98a9bc;
  opacity: 1;
}

.features-page :is(input, select, button, a, summary):focus-visible {
  outline: 2px solid var(--feature-accent);
  outline-offset: 4px;
}

.features-count {
  align-self: end;
  min-height: 48px;
  margin: 0;
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  white-space: nowrap;
  color: var(--feature-muted);
}

.features-legend {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin: 32px 0 14px;
}

.features-legend dt {
  margin-bottom: 9px;
}

.features-legend dd {
  margin: 0;
  max-width: 38ch;
  color: var(--feature-muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

.features-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #e1ebf5;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.45;
}

.features-status::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: #70d4ff;
}

.features-status--setup::before {
  background: transparent;
  border: 1px solid #70d4ff;
}

.features-status--development::before {
  border-radius: 1px;
  background: #a4adb9;
}

.features-availability-note {
  margin: 16px 0 40px;
  max-width: 95ch;
  font-size: 0.82rem;
  line-height: 1.65;
  color: #98aabd;
}

.features-group {
  border-top: 1px solid var(--feature-line);
  scroll-margin-top: 144px;
}

.features-group:last-child {
  border-bottom: 1px solid var(--feature-line);
}

.features-group > summary {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 32px;
  align-items: start;
  gap: 20px;
  padding-block: 29px;
  list-style: none;
  cursor: pointer;
}

.features-group > summary::-webkit-details-marker {
  display: none;
}

.features-group-number {
  padding-top: 4px;
  color: #8ca3b9;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}

.features-group-summary {
  display: grid;
  gap: 9px;
}

.features-group-title {
  color: #f2f6ff;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.1vw, 1.8rem);
  line-height: 1.25;
  letter-spacing: -0.025em;
  transition: color 160ms ease;
}

.features-group > summary:hover .features-group-title {
  color: var(--feature-accent);
}

.features-group-description {
  color: var(--feature-muted);
  font-size: 0.93rem;
  line-height: 1.55;
}

.features-group-toggle {
  position: relative;
  width: 28px;
  height: 28px;
  margin-top: 2px;
}

.features-group-toggle::before,
.features-group-toggle::after {
  content: "";
  position: absolute;
  top: 13px;
  left: 6px;
  width: 16px;
  height: 1px;
  background: #c8d9e9;
  transition: transform 180ms ease;
}

.features-group-toggle::after {
  transform: rotate(90deg);
}

.features-group[open] .features-group-toggle::after {
  transform: rotate(0deg);
}

.features-group[open] .features-group-content {
  animation: feature-enter 180ms ease-out;
}

.features-group-content {
  padding: 0 0 22px 68px;
}

.features-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.features-item {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.45fr);
  gap: 40px;
  padding-block: 23px;
  border-top: 1px solid rgba(211, 225, 240, 0.09);
  scroll-margin-top: 145px;
}

.features-item h3 {
  margin: 0 0 11px;
  color: #f2f6ff;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
}

.features-item-description p {
  margin: 0;
  color: #bccbdc;
  font-size: 0.93rem;
  line-height: 1.75;
}

.features-expert-label {
  display: block;
  margin-bottom: 5px;
  color: #92b3ce;
  font-size: 0.75rem;
  font-weight: 600;
}

.features-development-note {
  max-width: 88ch;
  margin: 0 0 20px;
  padding-left: 18px;
  border-left: 2px solid #8e9ead;
  color: #c6d2df;
  font-size: 0.92rem;
  line-height: 1.7;
}

.features-empty {
  padding-block: 48px;
  color: var(--feature-muted);
}

.features-empty p {
  margin: 0 0 22px;
  max-width: 60ch;
  line-height: 1.7;
}

.features-final {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-block: 78px 90px;
}

.features-final h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.features-final p {
  max-width: 55ch;
  margin: 0;
  color: var(--feature-muted);
  font-size: 0.96rem;
  line-height: 1.7;
}

.features-final-actions {
  display: grid;
  justify-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.features-page [hidden] {
  display: none !important;
}

@keyframes feature-enter {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1000px) {
  .features-hero-layout--with-image {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .features-hero-copy { max-width: 640px; }
  .features-promise { max-width: none; }
  .features-intro { max-width: 58ch; }
  .features-hero-figure { max-width: 760px; }
  .features-toolbar { grid-template-columns: minmax(0, 1fr) 220px; }
  .features-count { grid-column: 1 / -1; min-height: auto; }
  .features-item { gap: 28px; }
}

@media (max-width: 920px) {
  .features-header-shell { width: calc(100% - 40px); }
  .features-header-shell .topbar { position: relative; gap: 16px; flex-wrap: wrap; }
  .features-header-shell .brand-wrap { justify-content: flex-start; }
  .features-header-shell .topnav { position: static; gap: 12px; flex-wrap: wrap; justify-content: flex-start; }
  .features-header-shell .topnav .language-switcher { position: absolute; top: 12px; right: 0; width: auto; padding-left: 0; border-left: 0; }
  .features-header-shell .topnav .global-nav__link { font-size: 0.83rem; padding-inline: 10px; }
}

@media (max-width: 640px) {
  .features-wrap { width: calc(100% - 40px); }
  .features-hero { padding-block: 50px 44px; }
  .features-hero h1 { font-size: clamp(4.5rem, 22vw, 6rem); }
  .features-promise { max-width: 22ch; }
  .features-hero-actions { gap: 12px; }
  .features-hero-actions .features-text-link { justify-content: center; width: 100%; }
  .features-toolbar { gap: 12px; grid-template-columns: minmax(0, 1fr); padding-block: 14px; position: static; }
  .features-status-field { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 14px; }
  .features-status-field label { margin: 0; }
  .features-count { display: flex; min-height: auto; }
  .features-legend { grid-template-columns: 1fr; gap: 17px; margin-top: 24px; }
  .features-legend > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 15px; }
  .features-legend dd { font-size: 0.8rem; }
  .features-availability-note { margin-bottom: 30px; }
  .features-group > summary { grid-template-columns: minmax(0, 1fr) 28px; gap: 12px; padding-block: 25px; }
  .features-group-number { display: none; }
  .features-group-description { font-size: 0.87rem; }
  .features-group-content { padding-left: 0; }
  .features-item { grid-template-columns: 1fr; gap: 12px; padding-block: 21px; }
  .features-item-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px 16px; }
  .features-item h3 { margin-bottom: 0; }
  .features-item-description p { font-size: 0.9rem; }
  .features-final { flex-direction: column; align-items: stretch; gap: 28px; padding-block: 52px 62px; }
  .features-final-actions { justify-items: stretch; }
  .features-final-actions .features-text-link { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .features-page *, .features-page *::before, .features-page *::after {
    animation: none !important;
    transition: none !important;
  }
}
