.home {
  --purple: #6935ce;
  --rule: #dcd4e8;
  width: min(1160px, 100%);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px) 64px;
}
.home h1, .home h2, .home h3 { margin: 0; padding: 0; border: 0; line-height: 1.08; }
.home h1 { font-size: clamp(40px, 5.4vw, 72px); letter-spacing: -.045em; }
.home h2 { font-size: clamp(30px, 3.5vw, 46px); letter-spacing: -.035em; }
.home h3 { font-size: clamp(22px, 2.4vw, 29px); letter-spacing: -.02em; }
.home p { font-size: 19px; line-height: 1.5; }
.home a { color: inherit; text-underline-offset: .2em; }
.home a:hover { color: var(--purple); }
.home a:focus-visible { outline: 3px solid var(--purple); outline-offset: 4px; }
.home .home-button {
  display: inline-block; background: var(--purple); color: white; padding: 12px 22px;
  font-size: 18px; font-weight: 700; border-radius: 5px; text-decoration: none;
}
.home .home-button:hover { background: #5227a6; color: white; }
.home-hero, .home-comparison {
  display: grid; grid-template-columns: 1.12fr 1fr; gap: clamp(24px, 5vw, 68px);
  align-items: center; padding: clamp(34px, 5.5vw, 74px) 0;
}
.home-hero p { max-width: 42ch; }
.home-alt { display: inline-block; margin: 12px 0 0; font-weight: 600; }
.home-hero .home-button { margin-right: 16px; }
.home-projection {
  width: 100%; padding: clamp(20px, 3vw, 32px); border-radius: 14px;
  background: #f1ebfb; color: #31204b;
}
.home-projection figcaption { text-align: left; font-style: normal; font-weight: 600; }
.home-projection > strong { display: block; font-size: clamp(38px, 4vw, 54px); line-height: 1.1; }
.home-projection > span, .home-legend { font-size: 15px; }
.home-bars { display: flex; gap: 5%; height: 128px; margin-top: 12px; padding-bottom: 22px; }
.home-bars > div { flex: 1; position: relative; display: flex; align-items: end; }
.home-bar { width: 100%; height: var(--height); border-radius: 3px 3px 0 0; background: linear-gradient(to top,#6835c9 var(--capital),#b99be6 var(--capital)); }
.home-bars small { position: absolute; top: 100%; width: 100%; text-align: center; }
.home-legend { display: flex; flex-wrap: wrap; gap: 16px; }
.home-legend span::before { content: ''; display: inline-block; width: 10px; height: 10px; background: #6835c9; margin-right: 6px; }
.home-legend span + span::before { background: #b99be6; }
.home-projection p { font-size: 14px; margin: 10px 0 0; max-width: none; }
.home-comparison, .home-tools, .home-guides, .home-learn { border-top: 1px solid var(--rule); }
.home-comparison table { width: 100%; border-collapse: collapse; text-align: left; }
.home-comparison caption { text-align: left; font-weight: 700; margin-bottom: 12px; font-size: 20px; }
.home-comparison thead { background: #f3f1f6; }
.home-comparison th, .home-comparison td { padding: 12px; border-bottom: 1px solid var(--rule); }
.home-comparison td { line-height: 1.4; }
.home-comparison td strong { display: block; }
.home-comparison img { width: 72px; height: 38px; object-fit: contain; }
.home-tools, .home-guides, .home-learn { padding: clamp(30px, 4vw, 55px) 0; }
.home-tool-grid, .home-guides > div { display: grid; gap: 24px; margin-top: 24px; }
.home-tool-grid { grid-template-columns: repeat(3,1fr); }
.home-tool-grid a { display: block; background: #f5f5f7; padding: 20px; text-decoration: none; }
.home-tool-grid a:hover h3, .home-guides a:hover h3 { text-decoration: underline; }
.home-tool-grid img { width: 36px; height: 36px; object-fit: contain; margin-bottom: 14px; }
.home-tool-grid p { margin: 10px 0 0; color: #333; font-size: 17px; }
.home-guides > div { grid-template-columns: repeat(2,1fr); }
.home-guides img { display: block; width: 100%; aspect-ratio: 2/1; object-fit: contain; margin-bottom: 12px; }
.home-guides a { text-decoration: none; }
.home-learn ul { display: flex; flex-wrap: wrap; padding: 0; gap: 12px 28px; list-style: none; font-size: 19px; }
@media (max-width: 720px) {
  .home-hero, .home-comparison, .home-tool-grid, .home-guides > div { grid-template-columns: 1fr; }
  .home-tool-grid { gap: 12px; }
}
