.ak-study-features-page {
  height: 100dvh;
  min-width: 320px;
  overflow: hidden;
  margin: 0;
  padding: 14px 16px;
  background: var(--akee-page);
  color: var(--akee-ink);
  font-family: var(--akee-font);
  letter-spacing: 0;
}

.features-shell {
  width: min(1120px, calc(100vw - 32px));
  height: calc(100dvh - 28px);
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: var(--akee-radius-panel);
  background:
    linear-gradient(rgba(7, 11, 20, 0.8), rgba(5, 8, 15, 0.9)) padding-box,
    linear-gradient(135deg, rgba(255, 255, 255, 0.27), rgba(121, 205, 231, 0.12) 42%, rgba(255, 115, 36, 0.12)) border-box;
  box-shadow: var(--akee-shadow-panel);
  -webkit-backdrop-filter: blur(28px) saturate(120%);
  backdrop-filter: blur(28px) saturate(120%);
}

.features-toolbar {
  position: relative;
  z-index: 20;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(221, 232, 247, 0.11);
  padding: 10px 14px 10px 22px;
  background: rgba(9, 14, 24, 0.92);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  -webkit-backdrop-filter: blur(20px) saturate(125%);
  backdrop-filter: blur(20px) saturate(125%);
}

.features-toolbar-copy {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 20px;
}

.features-toolbar .brand-lockup { flex: 0 0 auto; }

.features-brand {
  width: 176px;
  height: 46px;
  flex: 0 0 auto;
}

.features-brand img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  mix-blend-mode: screen;
  filter: saturate(0.96) drop-shadow(0 8px 18px rgba(255, 105, 30, 0.12));
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
}

.features-toolbar h1 {
  min-width: 0;
  margin: 0;
  color: #fbfcff;
  font-size: 1rem;
  font-weight: 720;
  line-height: 1.4;
}

@media (min-width: 721px) and (max-width: 1000px) {
  .features-toolbar-copy { gap: 14px; }
  .features-brand { width: 100px; height: 40px; }
  .features-toolbar h1 { max-width: 210px; font-size: 0.82rem; }
}

.features-back-button {
  min-height: 44px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(102, 197, 223, 0.34);
  border-radius: var(--akee-radius-control);
  padding: 8px 13px;
  color: #d9f6ff;
  background: rgba(102, 197, 223, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
  font-size: 0.8rem;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.features-back-button:hover {
  border-color: rgba(133, 219, 242, 0.62);
  color: #fff;
  background: rgba(102, 197, 223, 0.16);
  transform: translateY(-1px);
}

.features-back-button .akee-icon {
  width: 17px;
  height: 17px;
}

.features-scroll {
  width: 100%;
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-gutter: stable;
  padding: 34px 28px 56px;
}

.features-document {
  width: min(100%, 900px);
  min-width: 0;
  margin: 0 auto;
  color: var(--akee-ink);
  font-size: 0.91rem;
  line-height: 1.78;
}

.features-document > :first-child { margin-top: 0; }
.features-document > :last-child { margin-bottom: 0; }

.features-document h1,
.features-document h2 {
  color: #fbfcff;
  letter-spacing: 0;
}

.features-document h1 {
  margin: 0 0 20px;
  font-size: 1.38rem;
  font-weight: 720;
  line-height: 1.35;
}

.features-document h2 {
  margin: 30px 0 12px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
}

.features-document p {
  margin: 0 0 13px;
  color: #c9d2df;
}

.features-document strong { color: #fff; font-weight: 760; }

.features-document ul,
.features-document ol {
  display: grid;
  gap: 7px;
  margin: 10px 0 18px;
  padding-left: 24px;
  color: #c9d2df;
}

.features-document li { padding-left: 4px; }
.features-document li::marker { color: var(--akee-blue); font-weight: 720; }

.features-document hr {
  height: 1px;
  margin: 34px 0;
  border: 0;
  background: linear-gradient(90deg, rgba(102, 197, 223, 0.54), rgba(221, 232, 247, 0.12) 40%, transparent);
}

.features-table-wrap {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  margin: 14px 0 24px;
  border: 1px solid rgba(221, 232, 247, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.018);
  scrollbar-width: thin;
  scrollbar-color: var(--akee-line-strong) transparent;
}

.features-document table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  color: #c9d2df;
  font-size: 0.84rem;
  line-height: 1.55;
}

.features-document th,
.features-document td {
  border-bottom: 1px solid rgba(221, 232, 247, 0.1);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.features-document th {
  color: #f8fbff;
  background: rgba(102, 197, 223, 0.075);
  font-weight: 720;
  letter-spacing: 0;
  text-transform: none;
}

.features-document tr:last-child td { border-bottom: 0; }

.features-scroll::-webkit-scrollbar,
.features-table-wrap::-webkit-scrollbar { width: 8px; height: 8px; }

.features-scroll::-webkit-scrollbar-thumb,
.features-table-wrap::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 8px;
  background: var(--akee-line-strong);
  background-clip: padding-box;
}

.features-load-error {
  margin: 0;
  border: 1px solid rgba(255, 141, 131, 0.36);
  border-radius: 8px;
  padding: 14px;
  color: #ffc2bc;
  background: rgba(255, 89, 76, 0.08);
}

@media (max-width: 720px) {
  .ak-study-features-page {
    height: auto;
    min-height: 100dvh;
    overflow: auto;
    padding: 10px;
  }

  .features-shell {
    width: 100%;
    height: auto;
    min-height: calc(100dvh - 20px);
    overflow: visible;
    border-radius: 14px;
  }

  .features-toolbar {
    position: sticky;
    top: 0;
    min-height: 126px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 44px 28px auto;
    column-gap: 10px;
    row-gap: 5px;
    padding: 8px 9px 8px 15px;
  }

  .features-toolbar-copy,
  .features-toolbar .brand-lockup { display: contents; }
  .features-brand { grid-column: 1; grid-row: 1; width: 100px; height: 40px; }
  .features-toolbar .version-tag { grid-column: 1 / -1; grid-row: 2; justify-self: start; }
  .features-toolbar h1 { grid-column: 1 / -1; grid-row: 3; font-size: 0.82rem; }
  .features-back-button { grid-column: 2; grid-row: 1; padding-inline: 10px; font-size: 0.74rem; }

  .features-scroll {
    overflow: visible;
    padding: 26px 17px 42px;
  }

  .features-document { font-size: 0.88rem; }
  .features-document h1 { font-size: 1.22rem; }
  .features-document h2 { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .features-back-button { transition: none; }
  .features-back-button:hover { transform: none; }
}
