:root {
  --as2-bg: #f7f9fc;
  --as2-surface: #ffffff;
  --as2-surface-soft: #f1f5f9;
  --as2-surface-accent: #eef7ea;
  --as2-text: #1f2937;
  --as2-text-soft: #667085;
  --as2-border: #dbe3ec;
  --as2-primary: #5f9f23;
  --as2-primary-dark: #4d861c;
  --as2-secondary: #1e78d7;
  --as2-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
  --as2-radius-xl: 24px;
  --as2-radius-lg: 18px;
  --as2-radius-md: 14px;
  --as2-radius-sm: 10px;
  --as2-max: 1160px;
  --as2-copy: 760px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--as2-bg);
  color: var(--as2-text);
  font-family: Arial, sans-serif;
  line-height: 1.7;
}

.as2-page,
.as2-page * {
  box-sizing: border-box;
}

.as2-page {
  min-height: 100vh;
}

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

.as2-library {
  padding-top: 8px;
}

.as2-library-hero {
  margin-bottom: 28px;
  padding: 34px;
  background: linear-gradient(145deg, #ffffff, #f3f8ff 58%, #f8fbf4);
  border: 1px solid var(--as2-border);
  border-radius: var(--as2-radius-xl);
  box-shadow: var(--as2-shadow);
}

.as2-library-hero h1 {
  margin: 0 0 14px;
  max-width: 13ch;
  line-height: 1.08;
  color: #0f172a;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.as2-library-grid {
  display: grid;
  gap: 22px;
}

.as2-library-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 24px;
  padding: 28px;
  background: var(--as2-surface);
  border: 1px solid var(--as2-border);
  border-radius: var(--as2-radius-xl);
  box-shadow: var(--as2-shadow);
  align-items: center;
}

.as2-library-card h2 {
  margin: 0 0 12px;
  line-height: 1.16;
  color: #0f172a;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.as2-library-card p {
  margin: 0 0 14px;
  color: var(--as2-text-soft);
}

.as2-library-tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 10px;
  color: var(--as2-primary-dark);
  background: rgba(95, 159, 35, 0.12);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.as2-library-card-visual {
  min-height: 220px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(30, 120, 215, 0.12);
  background: linear-gradient(180deg, #ffffff, #eff6ff);
}

.as2-library-card-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.as2-breadcrumbs {
  padding-top: 18px;
  margin-bottom: 22px;
  color: var(--as2-text-soft);
  font-size: 0.95rem;
}

.as2-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.as2-breadcrumbs a {
  color: var(--as2-text-soft);
  text-decoration: none;
}

.as2-breadcrumbs a:hover {
  color: var(--as2-secondary);
}

.as2-hero {
  margin-bottom: 28px;
}

.as2-hero-card {
  background: var(--as2-surface);
  border: 1px solid var(--as2-border);
  border-radius: var(--as2-radius-xl);
  box-shadow: var(--as2-shadow);
  overflow: hidden;
}

.as2-hero-copy {
  padding: 34px 34px 26px;
  display: block;
}

.as2-kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--as2-primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.as2-hero h1,
.as2-article h2,
.as2-article h3,
.as2-sidebar h3,
.as2-related h2 {
  margin: 0 0 16px;
  line-height: 1.18;
  color: #0f172a;
}

.as2-hero h1 {
  max-width: 15ch;
  font-size: clamp(2rem, 4vw, 3.15rem);
}

.as2-hero-copy-main {
  min-width: 0;
}

.as2-hero-lead {
  max-width: 56rem;
  margin-bottom: 14px;
  color: var(--as2-text-soft);
  font-size: 1.1rem;
}

.as2-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 22px;
  color: var(--as2-text-soft);
  font-size: 0.95rem;
}

.as2-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.as2-hero-visual {
  min-height: 280px;
  background:
    radial-gradient(circle at 18% 20%, rgba(95, 159, 35, 0.18), transparent 26%),
    radial-gradient(circle at 82% 28%, rgba(30, 120, 215, 0.18), transparent 22%),
    linear-gradient(135deg, #f5f8fd, #edf4ff 52%, #f6fbf1);
  border-top: 1px solid var(--as2-border);
}

.as2-hero-visual-inner {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 280px;
  padding: 28px 28px 28px 34px;
}

.as2-hero-illustration {
  width: 100%;
  min-height: 180px;
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.78)),
    linear-gradient(145deg, #cfe0fb, #edf5ff);
  border: 1px solid rgba(147, 197, 253, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 18px 40px rgba(15, 23, 42, 0.08);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: center;
  padding: 26px;
}

.as2-hero-illustration-copy strong {
  display: block;
  margin-bottom: 10px;
  color: #0f172a;
  font-size: 1.05rem;
}

.as2-hero-illustration-copy p {
  margin: 0;
  color: var(--as2-text-soft);
}

.as2-hero-illustration-card {
  border-radius: 22px;
  min-height: 142px;
  background:
    radial-gradient(circle at 72% 24%, rgba(30, 120, 215, 0.22), transparent 22%),
    linear-gradient(180deg, #ffffff, #eff6ff);
  border: 1px solid rgba(30, 120, 215, 0.14);
  position: relative;
  overflow: hidden;
}

.as2-hero-illustration-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 2;
}

.as2-hero-illustration-card::before,
.as2-hero-illustration-card::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: linear-gradient(180deg, #f8fbff, #dbeafe);
  border: 1px solid rgba(30, 120, 215, 0.18);
  z-index: 1;
}

.as2-hero-illustration-card::before {
  left: 22%;
  top: 18%;
  width: 40%;
  height: 64%;
}

.as2-hero-illustration-card::after {
  right: 14%;
  top: 24%;
  width: 16%;
  height: 50%;
}

.as2-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 42px;
}

.as2-main {
  min-width: 0;
}

.as2-mobile-toc,
.as2-intro-cta,
.as2-panel,
.as2-cta-band,
.as2-bottom-cta,
.as2-related-card {
  border: 1px solid var(--as2-border);
  border-radius: var(--as2-radius-lg);
  background: var(--as2-surface);
  box-shadow: none;
}

.as2-mobile-toc,
.as2-intro-cta,
.as2-panel,
.as2-bottom-cta {
  margin-bottom: 28px;
  padding: 24px;
}

.as2-mobile-toc {
  display: none;
}

.as2-mobile-toc h3,
.as2-sidebar h3 {
  margin-bottom: 14px;
  color: var(--as2-text-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.as2-mobile-toc ul,
.as2-sidebar ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.as2-mobile-toc li + li,
.as2-sidebar li + li {
  margin-top: 2px;
}

.as2-mobile-toc a,
.as2-sidebar a {
  color: var(--as2-text-soft);
  text-decoration: none;
}

.as2-mobile-toc a:hover,
.as2-sidebar a:hover {
  color: var(--as2-secondary);
}

.as2-intro-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--as2-surface-accent);
}

.as2-intro-cta p {
  margin: 0;
  font-weight: 600;
  flex: 1 1 auto;
}

.as2-intro-cta .as2-button {
  flex: 0 0 290px;
  text-align: center;
}

.as2-article section {
  margin-bottom: 42px;
}

.as2-article h2 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: clamp(1.55rem, 2.2vw, 2.1rem);
}

.as2-num {
  color: var(--as2-primary);
  font-size: 1rem;
  font-weight: 800;
}

.as2-article h3 {
  font-size: 1.15rem;
}

.as2-article p,
.as2-article ul,
.as2-article ol,
.as2-article table {
  margin: 0 0 16px;
}

.as2-article ul,
.as2-article ol {
  padding-left: 22px;
}

.as2-article a {
  color: var(--as2-secondary);
}

.as2-article strong {
  color: #0f172a;
}

.as2-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.as2-media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 22px;
}

.as2-media-card {
  overflow: hidden;
  border: 1px solid #e7edf5;
  border-radius: var(--as2-radius-md);
  background: #fff;
  box-shadow: none;
}

.as2-media-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.as2-media-card h3,
.as2-media-card p {
  margin-left: 18px;
  margin-right: 18px;
}

.as2-media-card h3 {
  margin-top: 16px;
  margin-bottom: 8px;
}

.as2-media-card p {
  margin-top: 0;
  margin-bottom: 18px;
  color: var(--as2-text-soft);
}

.as2-card {
  border: 1px solid #e7edf5;
  border-top: 3px solid rgba(95, 159, 35, 0.22);
  border-radius: var(--as2-radius-md);
  background: #fff;
  padding: 20px;
}

.as2-card p:last-child,
.as2-note p:last-child {
  margin-bottom: 0;
}

.as2-note {
  border-left: 4px solid #d92d20;
  border-radius: var(--as2-radius-sm);
  background: #fff7f7;
  color: #8a2430;
  padding: 14px 16px;
}

.as2-steps {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  counter-reset: as2-step;
}

.as2-steps li {
  position: relative;
  margin-bottom: 14px;
  padding: 18px 18px 18px 62px;
  border: 1px solid #e7edf5;
  border-radius: var(--as2-radius-md);
  background: #fff;
}

.as2-steps li::before {
  counter-increment: as2-step;
  content: counter(as2-step);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--as2-primary);
  color: #fff;
  font-weight: 700;
}

.as2-table-wrap {
  overflow-x: auto;
}

.as2-video-embed {
  position: relative;
  margin: 24px 0 16px;
  overflow: hidden;
  border: 1px solid var(--as2-border);
  border-radius: 20px;
  background: #000;
  box-shadow: none;
}

.as2-video-embed::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

.as2-video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.as2-article table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.96rem;
}

.as2-article th,
.as2-article td {
  padding: 14px 16px;
  border: 1px solid var(--as2-border);
  vertical-align: top;
  text-align: left;
}

.as2-article thead th {
  background: var(--as2-primary);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
}

.as2-article tbody tr:nth-child(odd) td {
  background: #ffffff;
}

.as2-article tbody tr:nth-child(even) td {
  background: #f8fafc;
}

.as2-cta-band {
  background: linear-gradient(135deg, #5f9f23, #467e17);
  color: #fff;
  padding: 32px;
}

.as2-cta-band p,
.as2-cta-band li {
  color: rgba(255, 255, 255, 0.92);
}

.as2-cta-band .as2-button {
  background: #ffffff;
  color: var(--as2-primary-dark);
}

.as2-cta-band .as2-button:hover {
  background: #f3f8ed;
}

.as2-cta-band .as2-button-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.36);
}

.as2-cta-band .as2-button-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.52);
}

.as2-cta-band-inner {
  display: flex;
  align-items: center;
  gap: 22px;
}

.as2-avatar {
  flex: 0 0 88px;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(180deg, #d4f0bf, #8bc34a);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.25);
}

.as2-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.as2-cta-label {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.as2-faq-list {
  display: grid;
  gap: 12px;
}

.as2-faq-item {
  border: 1px solid #e7edf5;
  border-radius: var(--as2-radius-md);
  background: var(--as2-surface);
  overflow: hidden;
}

.as2-faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 18px 20px;
  text-align: left;
  font: inherit;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}

.as2-faq-question::after {
  content: "";
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--as2-text-soft);
  border-bottom: 2px solid var(--as2-text-soft);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.as2-faq-item.is-open .as2-faq-question::after {
  transform: rotate(-135deg);
}

.as2-faq-answer {
  display: none;
  padding: 0 20px 18px;
  color: var(--as2-text-soft);
}

.as2-faq-item.is-open .as2-faq-answer {
  display: block;
}

.as2-button,
.as2-button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.18s ease;
}

.as2-button {
  background: var(--as2-primary);
  color: #fff;
}

.as2-button:hover {
  background: var(--as2-primary-dark);
}

.as2-button-secondary {
  background: #fff;
  color: var(--as2-primary);
  border: 1px solid rgba(95, 159, 35, 0.24);
}

.as2-button-secondary:hover {
  border-color: rgba(95, 159, 35, 0.42);
  background: #f9fdf6;
}

.as2-button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transition: 0.18s ease;
}

.as2-button-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.as2-button-ghost-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(95, 159, 35, 0.24);
  color: var(--as2-text);
  background: #fff;
  transition: 0.18s ease;
}

.as2-button-ghost-dark:hover {
  border-color: rgba(95, 159, 35, 0.42);
  background: #f9fdf6;
}

.as2-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.as2-sidebar-sticky {
  position: sticky;
  top: 28px;
}

.as2-sidebar-card {
  margin-bottom: 22px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.as2-bottom-cta {
  text-align: center;
  background: var(--as2-surface-accent);
}

.as2-sidebar {
  display: block;
}

.as2-sidebar-inner {
  position: sticky;
  top: 28px;
}

.as2-sidebar nav {
  margin-bottom: 22px;
}

.as2-sidebar a {
  display: block;
  padding: 5px 0;
  border-left: 2px solid transparent;
}

.as2-sidebar a:hover {
  border-left-color: transparent;
}

.as2-sidebar-cta {
  border: 1px solid #e4edd8;
  border-radius: var(--as2-radius-md);
  background: var(--as2-surface-accent);
  padding: 18px 18px 16px;
}

.as2-sidebar-cta p {
  margin: 0 0 10px;
  font-size: 0.98rem;
  line-height: 1.55;
}

.as2-sidebar-cta .as2-button-row {
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  margin-top: 14px;
}

.as2-sidebar-cta .as2-button,
.as2-sidebar-cta .as2-button-ghost-dark {
  width: 100%;
  padding-left: 22px;
  padding-right: 22px;
}

.as2-sidebar-cta .as2-button {
  background: var(--as2-primary);
  color: #ffffff;
}

.as2-sidebar-cta .as2-button:hover {
  background: var(--as2-primary-dark);
}

.as2-sidebar-cta .as2-button-ghost-dark {
  background: #ffffff;
  color: #475467;
  border: 1px solid rgba(95, 159, 35, 0.2);
}

.as2-sidebar-cta .as2-button-ghost-dark:hover {
  background: #f9fdf6;
  border-color: rgba(95, 159, 35, 0.38);
}

.as2-related {
  margin-top: 18px;
  padding-top: 12px;
}

.as2-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.as2-related-card {
  padding: 20px;
  text-decoration: none;
  color: inherit;
}

.as2-related-card time {
  color: var(--as2-text-soft);
  font-size: 0.85rem;
}

.as2-related-card h3 {
  margin-top: 10px;
  margin-bottom: 10px;
}

.as2-related-card p {
  margin: 0;
  color: var(--as2-text-soft);
}

@media (max-width: 980px) {
  .as2-library-card,
  .as2-content-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .as2-sidebar {
    display: none;
  }

  .as2-mobile-toc {
    display: block;
  }

  .as2-related-grid,
  .as2-card-grid,
  .as2-media-grid,
  .as2-hero-illustration,
  .as2-hero-visual-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .as2-wrap {
    padding: 0 14px 56px;
  }

  .as2-library-hero,
  .as2-hero-copy,
  .as2-mobile-toc,
  .as2-intro-cta,
  .as2-panel,
  .as2-bottom-cta,
  .as2-cta-band {
    padding: 20px;
  }

  .as2-intro-cta,
  .as2-cta-band-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .as2-library-card {
    padding: 20px;
  }

  .as2-intro-cta .as2-button {
    width: 100%;
    flex-basis: auto;
  }

  .as2-hero h1 {
    max-width: none;
  }
}
