.catalog-page { display: flex; flex-direction: column; min-height: 100svh; color: #080908; background: #fcfbf6; --blue: #0098d4; --muted: #555d63; }
.catalog-page .wrap { max-width: 1600px; padding-inline: 80px; }
.catalog-page > main { --section-gap: 32px; display: flex; flex-direction: column; justify-content: space-between; flex: 1; width: 100%; margin-block: 0; padding-bottom: 16px; gap: var(--section-gap); }
.products-heading h2::before { content: ''; display: block; width: 36px; height: 2px; background: var(--blue); }
.catalog-hero { display: flex; align-items: flex-start; }
.hero-intro { display: flex; flex-direction: column; align-items: flex-start; flex: 0 0 42%; min-width: 0; gap: var(--section-gap); }
.hero-intro > .code-it-brand { margin-top: 32px; }
.hero-copy { position: relative; z-index: 1; width: 100%; }
.catalog-hero h1 { font-weight: 700; font-size: clamp(46px, 4.3vw, 64px); letter-spacing: -1.5px; line-height: 1.08; margin: 0 0 34px; }
.catalog-hero h1 span { color: var(--blue); }
.hero-copy > p { max-width: 560px; color: var(--muted); font-size: 16px; line-height: 1.35; margin-bottom: 0; }
.hero-art { flex: 0 0 58%; min-width: 0; }
.hero-illustration { display: block; width: 100%; max-width: 100%; height: auto; }
.products { padding-block: 13px 32px; }
.products-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.products-heading h2 { display: flex; align-items: center; gap: 16px; margin: 0; font-size: 16px; font-weight: 600; letter-spacing: 0; text-transform: uppercase; }
.products-heading > p { margin: 0; font-family: 'Oswald', sans-serif; font-size: 21px; font-weight: 600; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.product-card { --accent: #b0c957; --blob: #e8f2c6; --image-rotation: -9deg; position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 312px; padding: 24px; border-radius: 25px; background: #f5fae8; }
.product-card--time-it { --accent: #81baff; --blob: #cee4ff; --image-rotation: 6deg; background: #eef6ff; }
.product-card--streamplify { --accent: #773fc1; --blob: #e3d3fb; --image-rotation: -6deg; background: #f7f1ff; }
.product-card h3 { display: flex; align-items: center; gap: 16px; font-size: 25px; margin: 0 0 32px; }
.product-card h3 > img { flex: 0 0 40px; border-radius: 6px; object-fit: contain; }
.product-content { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-items: center; flex: 1; min-height: 164px; }
.product-content > p { position: relative; z-index: 1; align-self: start; color: var(--muted); font-size: 16px; line-height: 1.34; margin: 0; }
.free-label { font-weight: 700; }
.product-art { position: relative; display: grid; place-items: center; min-width: 0; height: 172px; }
.product-art::before { position: absolute; content: ''; inset: -9px 4px; background: var(--blob); border-radius: 45% 65% 40% 60%; transform: rotate(-18deg); }
.product-card--mopingo .product-art::before { inset: -16px 0; background: url('/assets/images/bg-mini-mopingo.svg') center / contain no-repeat; border-radius: 0; transform: none; }
.product-card--time-it .product-art::before { inset: -16px 0; background: url('/assets/images/bg-mini-time-it.svg') center / contain no-repeat; border-radius: 0; transform: none; }
.product-card--streamplify .product-art::before { inset: -16px 0; background: url('/assets/images/bg-mini-streamplify.svg') center / contain no-repeat; border-radius: 0; transform: none; }
.product-art img { position: relative; display: block; width: calc(100% - 20px); max-width: 180px; height: auto; aspect-ratio: 1; object-fit: cover; border: 4px solid white; border-radius: 16px; box-shadow: 0 8px 18px #17334b26; transform: rotate(var(--image-rotation)); }
.catalog-page .button { min-height: 42px; gap: 20px; padding: 9px 16px; border: 0; border-radius: 16px; color: white; background: #050505; font-size: 16px; font-weight: 600; }
.product-link { --button-accent: var(--accent); align-self: flex-start; margin-top: 22px; }
.catalog-page a.button:hover { background: #252525; }
.catalog-page .button:disabled { cursor: default; }
.catalog-page .button:disabled:hover { transform: none; }
.catalog-page .button > span { font-family: inherit; font-size: 28px; line-height: .7; font-weight: 400; }
.idea-contact { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 1fr 1.2fr 1fr; align-items: center; gap: 40px; background: #050505 url('/assets/images/stroke-2.svg') no-repeat right center; background-size: 140px 100%; color: white; border-radius: 25px; padding: 37px 40px; min-height: 164px; }
.idea-contact h2 { position: relative; justify-self: start; margin: 0; font-size: 60px; font-weight: 700; white-space: nowrap; }
.idea-contact h2::after { content: ''; position: absolute; height: 8px; bottom: -9px; left: 12%; right: 8%; background: url('/assets/images/stroke-1.svg') center / 100% 100% no-repeat; }
.idea-contact p { font-size: 16px; line-height: 1.35; margin: 0; max-width: 340px; }
.catalog-page .idea-link, .catalog-page a.idea-link:hover { background: var(--blue); color: #050505; justify-self: center; }
.catalog-page .catalog-footer { flex-shrink: 0; width: 100%; margin-block: 0; padding-block: 0 16px; }
.error-page { padding-block: 100px; max-width: 700px; }
.error-page h1 { font-size: 48px; line-height: 1.1; }
@media (max-width: 1150px) {
  .catalog-page .wrap { padding-inline: 36px; }
  .product-grid { gap: 16px; }
  .product-card { padding: 20px; }
  .product-content { grid-template-columns: 1fr; }
  .product-art { width: 80%; justify-self: center; }
  .idea-contact { gap: 26px; padding: 32px; }
  .idea-contact h2 { font-size: 46px; }
}
@media (min-width: 761px) and (max-width: 1150px) {
  .product-content { align-content: start; align-items: start; gap: 24px; min-height: 0; }
  .product-art { height: 212px; }
}
@media (max-width: 760px) {
  .catalog-page .wrap { padding-inline: 22px; }
  .hero-intro > .code-it-brand { margin-top: 40px; }
  .catalog-hero { flex-direction: column; gap: 28px; }
  .hero-intro, .hero-art { flex-basis: auto; width: 100%; }
  .hero-art { display: none; }
  .catalog-hero h1 { font-size: 48px; margin-bottom: 24px; }
  .products-heading { flex-direction: column; align-items: flex-start; gap: 14px; }
  .products-heading > p { display: none; }
  .product-grid { grid-template-columns: 1fr; gap: 22px; }
  .product-card { padding: 24px; }
  .product-content { grid-template-columns: 1fr 1fr; }
  .product-content > p { min-height: 0; }
  .product-art { width: 100%; margin-top: 0; }
  .idea-contact { grid-template-columns: 1fr; padding: 30px 25px; gap: 28px; background-image: none; }
  .idea-contact h2 { font-size: 48px; }
  .catalog-page .idea-link { justify-self: start; }
  .error-page { padding-block: 60px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button { transition: none; } }

.hero-copy > p, .product-content > p, .idea-contact p { font-size: 16px; font-weight: 400; line-height: 1.5; }
@media (min-width: 1151px) {
  .catalog-page > main { --section-gap: 56px; }
  .hero-intro > .code-it-brand { margin-top: 16px; }
  .catalog-hero h1 { font-size: 68px; line-height: 1.02; margin-bottom: 28px; }
  .products { display: flex; flex-direction: column; padding-block: 0; }
  .product-grid { flex: 1; }
}
@media (min-width: 1151px) and (max-height: 1050px) {
  .catalog-page > main { --section-gap: 20px; }
  .products-heading { margin-bottom: 16px; }
  .product-card { min-height: 280px; padding: 20px; }
  .product-card h3 { margin-bottom: 16px; }
  .product-art { height: 148px; }
  .product-art img { max-height: 156px; }
  .product-link { margin-top: 18px; }
  .idea-contact { min-height: 140px; padding-block: 24px; }
  .idea-contact h2 { font-size: 52px; }
}
@media (min-width: 1151px) and (max-height: 850px) {
  .catalog-page > main { --section-gap: 10px; padding-bottom: 12px; }
  .products-heading { margin-bottom: 12px; }
  .product-card { padding: 16px; }
  .product-card h3 { margin-bottom: 12px; }
  .product-content { min-height: 148px; }
  .product-content > p { line-height: 1.4; }
  .product-link { margin-top: 14px; }
  .idea-contact { min-height: 128px; padding-block: 16px; }
  .idea-contact h2 { font-size: 48px; }
}
@media (min-width: 1601px) {
  .hero-copy > p, .product-content > p, .idea-contact p { font-size: 20px; }
  .catalog-hero h1 { font-size: 85px; }
  .product-card h3 { font-size: 32px; }
  .idea-contact h2 { font-size: 75px; }
}
