.ag, .ag * { box-sizing: border-box; }
.ag {
  font-family: 'Montserrat', -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #16162a;
  --vio: #5b4ce6;
  --vio-d: #4a3bd0;
  --ink: #16162a;
  --mut: #6b6b80;
  --line: #ececf4;
  --soft: #f7f6fd;
}
.ag a { color: var(--vio); text-decoration: none; }
.ag-wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.ag-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--vio);
}
.ag-eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--vio); border-radius: 2px; }
.ag h1, .ag h2, .ag h3 { color: var(--ink); letter-spacing: -.02em; }
.ag h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.05;
}
.ag h2 {
  margin: 0 0 8px;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.15;
}
.ag-lead, .ag-sub { margin: 0; color: var(--mut); line-height: 1.6; }
.ag-lead { font-size: 18px; max-width: 560px; }
.ag-sub { font-size: 16px; max-width: 640px; margin-bottom: 28px; }

.ag-hero {
  background:
    radial-gradient(720px 340px at 88% 0%, #ece9ff 0%, transparent 62%),
    linear-gradient(180deg, #faf9ff, #fff);
  border-bottom: 1px solid #f0eef8;
  padding: 36px 0 28px;
}
.ag-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
  gap: 28px 40px;
  align-items: center;
}
.ag-hero__art { display: flex; justify-content: center; align-items: center; }
.ag-hero__art img {
  width: min(100%, 460px);
  height: auto;
  max-height: 460px;
  object-fit: contain;
  display: block;
}
.ag-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.ag-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 26px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, #7c6bf5, #5b4ce6);
  color: #fff !important;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  text-decoration: none !important;
  box-shadow: 0 14px 28px -16px rgba(91, 76, 230, .85);
  transition: transform .15s, box-shadow .15s, background .15s, color .15s;
}
.ag-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -14px rgba(91, 76, 230, .9);
  color: #fff !important;
}
.ag-btn--ghost {
  background: #fff;
  color: #5b4ce6 !important;
  border-color: #e6e1fb;
  box-shadow: none;
}
.ag-btn--ghost:hover {
  background: #f6f4ff;
  color: #5b4ce6 !important;
  box-shadow: none;
}

.ag-sec { padding: 64px 0; }
.ag-sec--soft { background: var(--soft); }
.ag-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.ag-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 22px 20px;
  box-shadow: 0 8px 24px rgba(20, 15, 55, .04);
}
.ag-sec--soft .ag-card { background: #fff; }
.ag-card__n {
  display: inline-flex;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--vio);
}
.ag-card h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; line-height: 1.3; }
.ag-card p { margin: 0; color: var(--mut); font-size: 15px; line-height: 1.55; }

.ag-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  counter-reset: agstep;
}
.ag-steps li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}
.ag-steps strong {
  display: block;
  margin: 10px 0 8px;
  font-size: 17px;
  line-height: 1.35;
}
.ag-steps p { margin: 0; color: var(--mut); font-size: 14.5px; line-height: 1.55; }
.ag-steps span {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(145deg, #6a5bf0, #4a3bd0);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.ag-split {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
  align-items: start;
}
.ag-list { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ag-list li {
  position: relative;
  padding: 16px 16px 16px 52px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  font-size: 15.5px;
  line-height: 1.45;
  font-weight: 600;
}
.ag-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 16px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #efeaff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b4ce6' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.ag-note {
  background: #161051;
  color: #e7e4f7;
  border-radius: 22px;
  padding: 28px 26px;
}
.ag-note p { margin: 0; font-size: 16px; line-height: 1.55; }
.ag-note strong { display: block; margin-bottom: 8px; color: #fff; font-size: 18px; }

.ag-more { padding: 8px 0 56px; }
.ag-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.ag-pills a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #e3e0f2;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.ag-pills a:hover { border-color: #c8bef8; color: var(--vio); }
.ag-pills a[aria-current="page"] {
  background: #efeaff;
  border-color: transparent;
  color: var(--vio);
}

.ag-cta { padding: 0 24px 72px; }
.ag-cta__in {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 32px;
  border-radius: 28px;
  background: linear-gradient(120deg, #161051, #5a50c0);
  color: #fff;
  text-align: center;
}
.ag-cta h2 { color: #fff; margin-bottom: 8px; }
.ag-cta p {
  margin: 0 auto 20px;
  max-width: 640px;
  color: rgba(255,255,255,.82);
  font-size: 16px;
  line-height: 1.5;
}
.ag-cta .ag-btn {
  background: #fff;
  color: #5b4ce6 !important;
  border-color: #fff;
  box-shadow: 0 10px 26px rgba(35, 20, 90, .18);
}
.ag-cta .ag-btn:hover { background: #efeaff; color: #4a3bd0 !important; }

@media (max-width: 860px) {
  .ag-hero { padding-top: 20px; }
  .ag-hero__grid,
  .ag-grid,
  .ag-steps,
  .ag-split { grid-template-columns: 1fr; }
  .ag-hero__art { order: -1; }
  .ag-hero__art img { width: min(100%, 340px); max-height: 360px; }
  .ag-sec { padding: 44px 0; }
  .ag-cta { padding: 0 16px 48px; }
  .ag-cta__in { padding: 28px 20px; }
  .ag-wrap { padding: 0 16px; }
}
