/* Products and Studio share the established Appim theme and typography. */
.brand-home { --brand-blue: #315bea; --brand-pale: #dce5ff; --brand-white: #ffffff; --brand-gap: 24px; }
.brand-hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 48px; padding-block: 64px 84px; }
.brand-hero h1 { margin: 0; font-size: clamp(36px, 4.2vw, 58px); line-height: 1.18; letter-spacing: -.035em; }
.brand-hero h1 span, .brand-section-heading h2 span { color: var(--accent); }
.brand-lead { color: var(--muted); font-size: 18px; line-height: 1.65; margin: 26px 0; max-width: 580px; }
.brand-doors { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.brand-doors .button { gap: 12px; padding-inline: 20px; font-size: 14px; }
.brand-product-scene { position: relative; height: 570px; overflow: hidden; border-radius: 30px; background: var(--brand-blue); }
.brand-scene-label { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 10px; padding: 24px; color: var(--brand-white); font-size: 12px; }
.brand-scene-label span:last-child { opacity: .75; }
.brand-scene-images { position: absolute; inset: 80px 24px 0; display: flex; gap: 18px; align-items: flex-start; }
.brand-scene-images img { width: 52%; height: auto; border-radius: 18px; box-shadow: 0 14px 28px #10235930; }
.scene-calendar { transform: rotate(-5deg); }
.scene-messages { margin-top: 65px; transform: rotate(5deg); }
.brand-icon-row { --dock-icon-size: 56px; position: absolute; bottom: 20px; left: 20px; right: 20px; display: grid; grid-template-columns: repeat(4, 1fr); padding: 18px 10px 14px; gap: 8px; border: 1px solid color-mix(in srgb, var(--surface) 75%, transparent); border-radius: 28px; background: color-mix(in srgb, var(--surface) 64%, transparent); -webkit-backdrop-filter: blur(18px) saturate(145%); backdrop-filter: blur(18px) saturate(145%); box-shadow: inset 0 1px 0 #ffffff60, 0 12px 30px #0c205b26; }
.brand-icon-row a { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; font-size: 11px; font-weight: 600; }
.brand-dock-icon { display: grid; place-items: center; width: var(--dock-icon-size); height: var(--dock-icon-size); border-radius: 24%; overflow: hidden; filter: drop-shadow(0 3px 3px #11224420); transition: translate 220ms ease; }
.brand-icon-row img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 0; }
/* Source artwork has different transparent margins; equalize the visible silhouettes. */
.brand-icon-row a:nth-child(1) img { transform: scale(1.22); }
.brand-icon-row a:nth-child(2) img { transform: scale(1.48); }
.brand-icon-row a:nth-child(4) img { transform: scale(1.16); }
.brand-icon-row a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 12px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .brand-icon-row a:hover .brand-dock-icon { translate: 0 -4px; }
}
@media (prefers-reduced-motion: no-preference) {
  .brand-icon-row a { animation: appim-dock-appear 700ms cubic-bezier(.2,.75,.25,1) both; animation-delay: 160ms; }
  .brand-icon-row a:nth-child(2) { animation-delay: 250ms; }
  .brand-icon-row a:nth-child(3) { animation-delay: 340ms; }
  .brand-icon-row a:nth-child(4) { animation-delay: 430ms; }
}
@keyframes appim-dock-appear {
  from { opacity: 0; transform: translateY(18px) scale(.9); filter: blur(4px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
@media (prefers-reduced-transparency: reduce) {
  .brand-icon-row { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@supports not (backdrop-filter: blur(1px)) {
  .brand-icon-row { background: var(--surface); }
}
.brand-products { padding-block: 44px 76px; }
.brand-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 36px; }
.brand-section-heading h2, .brand-studio h2, .brand-community h2 { margin: 0; font-size: clamp(27px, 3.2vw, 42px); line-height: 1.3; letter-spacing: -.025em; }
.brand-section-heading > p { color: var(--muted); max-width: 290px; font-size: 18px; }
.brand-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--brand-gap); }
.brand-product-card { overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); display: flex; flex-direction: column; }
.brand-card-copy { padding: 28px; flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.brand-card-heading { display: flex; align-items: center; gap: 16px; }
.brand-card-heading img { width: 58px; height: 58px; object-fit: contain; border-radius: 14px; }
.brand-card-heading h3 { font-size: 22px; margin: 0 0 5px; line-height: 1.35; }
.brand-status { color: var(--muted); font-size: 12px; }
.brand-card-copy > p { color: var(--muted); font-size: 16px; line-height: 1.6; margin: 18px 0; }
.brand-detail-link { display: inline-flex; align-items: center; min-height: 44px; gap: 12px; font-weight: 650; color: var(--accent); }
.brand-card-copy .brand-detail-link { margin-top: auto; }
.brand-card-art { height: 230px; display: block; overflow: hidden; background: var(--surface-muted); }
.brand-card-art img { width: 100%; height: 100%; object-fit: cover; }
.brand-mail-art { display: grid; place-items: center; background: var(--accent-soft); }
.brand-mail-art img { width: 210px; height: 210px; object-fit: contain; }
.brand-products-footer { display: flex; gap: 24px; align-items: center; border-bottom: 1px solid var(--line); padding: 26px 0; font-size: 14px; }
.brand-products-footer p { margin: 0 auto 0 0; max-width: 500px; color: var(--muted); }
.brand-products-footer a { color: var(--accent); font-weight: 650; flex-shrink: 0; padding-block: 12px; }
.brand-studio { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 48px; padding-block: 40px 84px; }
.brand-studio .studio-showcase { min-height: 520px; box-shadow: none; }
.brand-studio .showcase-phone-storefront { width: 57%; left: 0; }
.brand-studio .showcase-phone-admin { width: 43%; right: 1%; }
.brand-studio .showcase-product { width: 75%; }
.brand-platforms { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 24px 0 32px; }
.brand-platforms li { border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 14px; }
.brand-studio-copy > .brand-detail-link { display: flex; margin-top: 12px; }
.brand-studio .button { gap: 16px; }
.brand-community { border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding-block: 50px 76px; }
.brand-community p { color: var(--muted); line-height: 1.7; }
.brand-community a { color: var(--accent); }
.catalog-icon.catalog-real-icon img { width: 100%; height: 100%; object-fit: contain; }
.catalog-icon.catalog-real-icon { background: transparent; border: 0; border-radius: 24%; }
.catalog-real-icon img[src$="appim-calendar-launcher.webp"] { transform: scale(1.22); }
.catalog-real-icon img[src$="appim-files-icon.png"] { transform: scale(1.48); }
.catalog-real-icon img[src$="appim-mail-launcher.webp"] { transform: scale(1.16); }
@media (max-width: 1100px) {
  .brand-hero { gap: 28px; }
  .brand-hero h1 { font-size: 40px; }
  .brand-product-scene { height: 500px; }
  .brand-studio { gap: 28px; }
  .brand-studio .showcase-product { width: 88%; right: 6%; }
}
@media (max-width: 767px) {
  .brand-hero { grid-template-columns: 1fr; gap: 28px; padding-block: 30px 36px; }
  .brand-hero h1 { font-size: clamp(29px, 7.9vw, 42px); letter-spacing: -.03em; }
  .brand-lead { font-size: 16px; margin-block: 20px; }
  .brand-doors { display: grid; margin-top: 22px; }
  .brand-doors .button { justify-content: space-between; min-height: 48px; width: 100%; }
  .brand-product-scene { height: 370px; border-radius: 22px; }
  .brand-scene-label { padding: 18px; font-size: 10px; }
  .brand-scene-images { inset: 58px 24px 0; }
  .brand-scene-images img { width: 49%; }
  .brand-icon-row { --dock-icon-size: 44px; bottom: 14px; left: 14px; right: 14px; padding: 14px 6px 12px; border-radius: 24px; }
  .brand-icon-row a { font-size: 10px; }
  .brand-products { padding-block: 24px 32px; }
  .brand-section-heading { display: block; margin-bottom: 24px; }
  .brand-section-heading > p { font-size: 16px; max-width: none; margin: 16px 0 0; }
  .brand-product-grid { grid-template-columns: 1fr; gap: 16px; }
  .brand-card-copy { padding: 20px; }
  .brand-card-heading h3 { font-size: 20px; }
  .brand-card-copy > p { font-size: 15px; margin-block: 14px 6px; }
  .brand-card-art { height: 180px; }
  .brand-mail-art img { width: 160px; height: 160px; }
  .brand-products-footer { flex-wrap: wrap; gap: 8px 24px; padding-block: 20px; }
  .brand-products-footer p { flex-basis: 100%; }
  .brand-studio { grid-template-columns: 1fr; padding-block: 24px 36px; gap: 24px; }
  .brand-studio .studio-showcase { width: 100%; min-height: 390px; border-radius: 22px; }
  .brand-studio .showcase-topline { inset: 12px 18px auto; font-size: 11px; }
  .brand-studio .showcase-phone { top: 62px; }
  .brand-studio .showcase-product { bottom: 16px; min-height: 72px; }
  .brand-community { grid-template-columns: 1fr; gap: 18px; padding-block: 28px 40px; }
}
