/* Single platform page */
.platform-page{max-width:820px}
.platform-title{font-size:1.5rem;font-weight:800;line-height:1.4}
.platform-note{margin:24px 0 20px;color:var(--muted)}

.service-list-head{margin:32px 0 16px}
.service-grid{margin-bottom:28px}
.service-card{padding:20px}

/* ------------------------------------------------------------------ the platform's brand colors
   A page wrapped in .platform-themed[data-platform] (platform and service pages) takes the platform's two
   colors: --c1 and --c2, written into the page from the dashboard's settings (base/platforms.css explains
   how) along with --on-c, the text color that reads on the gradient between them. */

/* A platform with colors re-points the site's accent at them, so everything below that already uses the
   accent (selected chips, the slider, the count bubble, the buy button, the chosen payment method, focus
   rings) follows without touching each rule. Without colors the site's blue stays. */
.platform-themed[data-colored]{
  --accent:var(--c1);
  --accent-2:var(--c2);
  --accent-soft:color-mix(in srgb,var(--c1) 13%,transparent);
  --accent-line:color-mix(in srgb,var(--c1) 40%,transparent);
  --on-accent:var(--on-c);
  --grad-button:linear-gradient(120deg,var(--c1),var(--c2));
  --shadow-btn:0 8px 28px -10px color-mix(in srgb,var(--c1) 85%,transparent);
  --shadow-btn-hover:0 10px 38px -6px color-mix(in srgb,var(--c1) 100%,transparent);
  --focus-ring:color-mix(in srgb,var(--c1) 32%,transparent);
}

/* Header card of both pages: both colors as soft light in two corners, a solid color strip on top, and a
   solid gradient icon tile. The title mixes the colors with the text color, so it stays readable
   whatever color was chosen. */
.platform-hero{
  padding:28px;gap:16px;
  border-color:color-mix(in srgb,var(--c1) 42%,var(--line));
  background:
    radial-gradient(460px circle at 100% 0%,color-mix(in srgb,var(--c1) 30%,transparent),transparent 62%),
    radial-gradient(460px circle at 0% 100%,color-mix(in srgb,var(--c2) 26%,transparent),transparent 62%),
    var(--card-bg);
}
.platform-hero::after{inset-inline:0;height:4px;opacity:1;background:linear-gradient(90deg,var(--c1),var(--c2))}
.platform-hero .card-icon{
  width:68px;height:68px;border-radius:20px;border:0;color:var(--on-c,var(--c1));
  background:linear-gradient(135deg,var(--c1),var(--c2));
  box-shadow:0 12px 30px -12px color-mix(in srgb,var(--c1) 80%,transparent);
}
.platform-hero .platform-initial{font-size:1.7rem}
.platform-hero .platform-title{
  font-size:1.7rem;
  background:linear-gradient(90deg,color-mix(in srgb,var(--c1) 72%,var(--text)),color-mix(in srgb,var(--c2) 72%,var(--text)));
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.platform-hero p{color:var(--text-soft)}

/* Service cards on the platform page: a full-width color strip, a stronger icon tile and glow, and the
   arrow link in the main color. */
.service-card{
  --glow-mix:38%;
  background:linear-gradient(165deg,color-mix(in srgb,var(--c2) 8%,transparent),transparent 55%),var(--card-bg);
}
.service-card::after{inset-inline:0;height:3px;opacity:1;background:linear-gradient(90deg,var(--c1),var(--c2))}
.service-card .card-icon{
  background:linear-gradient(135deg,color-mix(in srgb,var(--c1) 36%,transparent),color-mix(in srgb,var(--c2) 28%,transparent));
  border-color:color-mix(in srgb,var(--c1) 55%,transparent);
}
.service-card .go{color:var(--c1)}
.service-card:hover{box-shadow:0 20px 44px -24px color-mix(in srgb,var(--c1) 90%,transparent)}
