:root {
  color-scheme: light;
  --canvas: #f8f8f5;
  --surface: #fff;
  --ink: #151627;
  --muted: #525366;
  --line: #e2e2e6;
  --violet: #5342ae;
  --tint: #ebe8fa;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  scroll-padding-top: 90px;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-size: 16px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--violet); outline-offset: 4px; border-radius: 4px; }
h1, h2, h3, p, figure { margin: 0; }
.home-wrap { width: min(1192px, calc(100% - 80px)); margin-inline: auto; }
.home-skip { position: absolute; z-index: 20; top: -60px; left: 18px; padding: 10px 16px; background: var(--ink); color: #fff; }
.home-skip:focus { top: 12px; }
.home-header { background: var(--canvas); border-bottom: 1px solid var(--line); }
.home-header-inner { display: flex; justify-content: space-between; align-items: center; gap: 22px; min-height: 72px; }
.home-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 740; letter-spacing: -.045em; line-height: 1; }
.home-brand img { display: block; border-radius: 9px; }
.home-nav, .home-footer nav { display: flex; align-items: center; gap: clamp(16px, 2.9vw, 40px); font-size: 14px; color: var(--muted); }
.home-nav a:hover, .home-footer a:hover { color: var(--violet); }
.home-login, .home-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-size: 14px; font-weight: 650; border-radius: 8px; }
.home-login { padding: 8px 14px; border: 1px solid var(--line); background: var(--surface); }
.home-login:hover { border-color: #a9a6b7; }
.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(30px, 5vw, 77px);
  padding-block: clamp(51px, 7vw, 108px);
}
.home-intro h1 { font-size: clamp(42px, 5.35vw, 76px); line-height: .995; font-weight: 690; letter-spacing: -.067em; }
.home-intro h1 span { color: var(--violet); }
.home-intro p { margin-top: 22px; max-width: 36ch; color: var(--muted); font-size: clamp(16px, 1.5vw, 18px); line-height: 1.62; }
.home-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 23px; margin-top: 28px; }
.home-button { padding: 12px 17px; min-height: 46px; white-space: nowrap; }
.home-primary { background: var(--ink); color: #fff; }
.home-primary:hover { background: #35334f; }
.home-text-link { color: var(--violet); font-size: 14px; font-weight: 650; }
.home-text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.home-preview { padding: clamp(9px, 1.2vw, 16px); background: var(--tint); border: 1px solid #e0dcee; border-radius: 17px; min-width: 0; }
.home-preview-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 2px 2px 12px; font-size: 12px; color: var(--ink); }
.home-preview-top > span:first-child { display: inline-flex; align-items: center; gap: 7px; font-weight: 640; }
.home-preview-label { color: var(--muted); font-size: 11px; }
.home-preview-image { display: block; width: 100%; height: auto; border: 1px solid #dddcea; border-radius: 9px; }
.home-products { padding-block: 30px 58px; border-top: 1px solid var(--line); }
.home-section-heading { margin-bottom: 24px; }
.home-section-heading h2, .home-help h2 { font-size: clamp(29px, 3.7vw, 46px); line-height: 1.1; letter-spacing: -.055em; font-weight: 680; }
.home-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.home-card { display: flex; flex-direction: column; align-items: start; min-width: 0; padding: clamp(17px, 2.1vw, 27px); border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.home-card img { display: block; object-fit: contain; border-radius: 10px; }
.home-card h3 { margin-top: 17px; font-size: 22px; line-height: 1.19; letter-spacing: -.035em; }
.home-card p { margin: 9px 0 19px; font-size: 14px; color: var(--muted); }
.home-card a { margin-top: auto; }
.home-help { display: flex; justify-content: space-between; align-items: center; gap: 20px 35px; padding: clamp(22px, 4vw, 46px); margin-bottom: 54px; border-radius: 14px; background: var(--tint); }
.home-help h2 { font-size: clamp(25px, 3.3vw, 42px); }
.home-help p { margin-top: 10px; max-width: 52ch; color: var(--muted); font-size: 14px; }
.home-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 17px 24px; align-items: center; padding-block: 24px 32px; border-top: 1px solid var(--line); }
.home-footer .home-brand { font-size: 18px; }
.home-footer nav, .home-footer > span { font-size: 12px; color: var(--muted); }
@media (max-width: 900px) {
  .home-wrap { width: calc(100% - 44px); }
  .home-hero { gap: 25px; }
}
@media (max-width: 700px) {
  .home-hero { grid-template-columns: 1fr; padding-block: 44px 37px; gap: 28px; }
  .home-intro h1 { max-width: 13ch; }
  .home-grid { grid-template-columns: 1fr; gap: 10px; }
  .home-products { padding-bottom: 38px; }
  .home-help { align-items: start; flex-direction: column; }
}
@media (max-width: 480px) {
  .home-wrap { width: calc(100% - 32px); }
  .home-header-inner { min-height: 64px; gap: 10px; flex-wrap: wrap; padding-block: 12px; }
  .home-nav { order: 3; width: 100%; gap: 19px; padding-top: 1px; font-size: 13px; }
  .home-intro h1 { font-size: clamp(38px, 11vw, 51px); }
  .home-preview-label { max-width: 11ch; line-height: 1.25; text-align: end; }
  .home-footer nav { flex-wrap: wrap; gap: 9px 18px; }
}
