.g9-page {
  background: #fff;
}

.g9-label {
  display: inline-flex;
  margin: 0 0 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(242, 140, 40, 0.12);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.g9-hero {
  background:
    linear-gradient(rgba(24, 28, 70, 0.72), rgba(24, 28, 70, 0.76)),
    url("../brand-assets/images/homepage-hero-01.webp") center / cover;
  color: #fff;
}

.g9-hero-inner {
  width: min(880px, calc(100% - 40px));
  min-height: 560px;
  margin: 0 auto;
  padding: 96px 0;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.g9-hero h1 {
  max-width: 720px;
  color: #fff;
  font-size: 48px;
  line-height: 1.25;
}

.g9-hero h1 strong {
  color: var(--accent);
}

.g9-hero p:not(.g9-label) {
  max-width: 760px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.82;
}

.g9-hero .button {
  margin-top: 34px;
  min-width: 260px;
}

.g9-summary,
.g9-section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.g9-summary {
  padding: 56px 0 28px;
  display: grid;
  gap: 18px;
}

.g9-summary article,
.g9-process article,
.g9-plan-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.g9-summary article {
  padding: 28px;
}

.g9-summary span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.g9-summary h2 {
  margin-top: 8px;
  color: var(--primary);
  font-size: 22px;
  line-height: 1.4;
}

.g9-summary p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.78;
}

.g9-section {
  padding: 88px 0;
}

.g9-soft {
  width: 100%;
  padding-left: max(20px, calc((100% - 1120px) / 2));
  padding-right: max(20px, calc((100% - 1120px) / 2));
  background: #f5f8ff;
}

.g9-heading {
  max-width: 720px;
  margin: 0 auto 36px;
  text-align: center;
}

.g9-heading h2,
.g9-band h2 {
  color: var(--primary);
  font-size: 34px;
  line-height: 1.35;
}

.g9-heading p:not(.g9-label),
.g9-band p:not(.g9-label) {
  margin-top: 14px;
  color: var(--muted);
}

.g9-process,
.g9-point-grid,
.g9-plan-grid {
  display: grid;
  gap: 18px;
}

.g9-process {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.g9-process article,
.g9-plan-grid article {
  padding: 26px;
  text-align: center;
}

.g9-process strong {
  color: var(--accent);
  font-size: 18px;
  font-weight: 800;
}

.g9-process h3,
.g9-plan-grid strong {
  display: block;
  margin-top: 8px;
  color: var(--primary);
  font-size: 20px;
  line-height: 1.4;
}

.g9-process p,
.g9-plan-grid p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 700;
}

.g9-band {
  min-height: 360px;
  padding: 96px 20px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.g9-band-dark {
  background: #0f172a;
}

.g9-band-dark h2 {
  color: #fff;
}

.g9-band-dark p:not(.g9-label) {
  color: rgba(255, 255, 255, 0.72);
}

.g9-band-light {
  background: #f8fbff;
}

.g9-band .button {
  margin-top: 36px;
  min-width: 280px;
}

.g9-point-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.g9-point-grid article {
  min-height: 0;
  padding: 24px;
  display: grid;
  align-content: start;
  border-radius: 8px;
  color: #fff;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.13);
}

.g9-point-grid span {
  font-size: 13px;
  font-weight: 800;
  opacity: 0.78;
}

.g9-point-grid h3 {
  margin-top: 10px;
  color: #fff;
  font-size: 21px;
  line-height: 1.35;
}

.g9-point-grid p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.68;
}

.g9-point-grid small {
  margin-top: 16px;
  padding: 12px;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.58;
}

.g9-point-grid .purple {
  background: #6d3ef4;
}

.g9-point-grid .blue {
  background: #16a9cf;
}

.g9-point-grid .orange {
  background: #f59e0b;
}

.g9-point-grid .green {
  background: #22c55e;
}

.g9-plan-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.planner-strip,
.chat-preview,
.bar-chart {
  margin-top: 22px;
  border-radius: 8px;
  background: var(--soft);
}

.planner-strip {
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.planner-strip span {
  height: 44px;
  border-radius: 7px;
  background: #dbeafe;
}

.planner-strip span:nth-child(odd) {
  background: #ffedd5;
}

.chat-preview {
  padding: 18px;
  display: grid;
  gap: 10px;
  text-align: left;
}

.chat-preview span {
  display: block;
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 8px;
  background: #dbeafe;
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
}

.chat-preview span:last-child {
  justify-self: end;
  background: #dcfce7;
}

.bar-chart {
  height: 120px;
  padding: 18px;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 10px;
}

.bar-chart span {
  width: 28px;
  border-radius: 8px 8px 0 0;
  background: var(--accent);
}

.bar-chart span:nth-child(1) { height: 42px; }
.bar-chart span:nth-child(2) { height: 62px; }
.bar-chart span:nth-child(3) { height: 76px; }
.bar-chart span:nth-child(4) { height: 92px; background: #6366f1; }
.bar-chart span:nth-child(5) { height: 108px; background: #6366f1; }

@media (max-width: 1024px) {
  .g9-process,
  .g9-point-grid,
  .g9-plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .g9-hero-inner {
    min-height: 560px;
    padding: 76px 0;
  }

  .g9-hero h1 {
    max-width: 360px;
    font-size: 34px;
  }

  .g9-hero p:not(.g9-label) {
    max-width: 360px;
    font-size: 16px;
    line-height: 1.75;
  }

  .g9-section {
    padding: 64px 0;
  }

  .g9-heading h2,
  .g9-band h2 {
    font-size: 28px;
  }

  .g9-process,
  .g9-point-grid,
  .g9-plan-grid {
    grid-template-columns: 1fr;
  }

  .g9-band {
    min-height: 300px;
    padding: 72px 20px;
  }
}

.g9-page p,
.g9-page li,
.g9-page dd,
.g9-page small {
  font-size: 17px;
  font-weight: 700;
}

.g9-underline {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  display: inline;
  text-decoration: none;
}
