/* Homepage product-studio redesign. Loaded after the legacy landing layer so
   the existing markup and interaction contracts remain unchanged. */
.mango-studio {
  --home-ink: #07121c;
  --home-panel: #0b1a27;
  --home-line: rgba(139, 204, 245, .2);
  --home-blue: #46baff;
}
.mango-studio .hero {
  width: min(1440px, calc(100% - 48px));
  min-height: 760px;
  margin-top: 24px;
  padding: 72px clamp(34px, 5vw, 76px) 0;
  overflow: hidden;
  border: 1px solid #1e3a4e;
  border-radius: 28px;
  background:
    radial-gradient(circle at 72% 45%, rgba(26, 155, 234, .22), transparent 28%),
    radial-gradient(circle at 12% 5%, rgba(89, 198, 255, .09), transparent 28%),
    linear-gradient(125deg, #06111b 0%, #0a1c2a 48%, #071019 100%);
  box-shadow: 0 32px 90px rgba(0, 20, 38, .28), inset 0 1px rgba(255, 255, 255, .06);
}
.mango-studio .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image: linear-gradient(rgba(146, 214, 248, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(146, 214, 248, .08) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 78%);
}
.mango-studio .hero-copy { max-width: 600px; padding-top: 34px; }
.mango-studio .hero h1 { max-width: 650px; font-size: clamp(66px, 7.2vw, 112px); line-height: .9; letter-spacing: -.075em; }
.mango-studio .hero-description p { max-width: 430px; color: #b0c6d7; font-size: 14px; }
.mango-studio .hero-art { top: 0; right: -4%; width: 70%; height: 100%; opacity: .98; }
.mango-studio .hero-art::after { background: linear-gradient(90deg, #07121c 0%, rgba(7,18,28,.86) 10%, rgba(7,18,28,.12) 52%, rgba(7,18,28,.1) 100%); }
.mango-studio .hero-art > img { object-position: 54% 50%; mask-image: linear-gradient(to bottom, transparent 0%, #000 8%, #000 82%, transparent 100%); }
.mango-studio .hero-baseline { margin-top: 86px; padding: 25px 0 30px; border-top: 1px solid var(--home-line); }
.mango-studio .hero-coordinate { top: 42px; right: 28px; color: #77a9c9; }
.mango-studio .floating-preview { right: 22px; top: 350px; border-color: rgba(111, 203, 255, .4); background: rgba(4, 18, 29, .8); box-shadow: 0 18px 70px rgba(0, 0, 0, .42); }
.mango-studio .index-signal-strip { margin-top: -34px; border-color: #2a536d; background: rgba(8, 26, 40, .94); box-shadow: 0 22px 60px rgba(0, 17, 34, .28); backdrop-filter: blur(18px); }
.mango-studio .index-signal-strip strong { color: #eef9ff; }
.mango-studio .index-signal-strip span { color: #8eafc4; }
.mango-studio .index-signal-strip > div { border-color: #24465c; }
.mango-studio .about-section { margin-top: 60px; padding-top: 112px; border-top-color: #243b4d; }
.mango-studio .about-section h2 { font-size: clamp(42px, 5vw, 72px); letter-spacing: -.065em; }
.mango-studio .features-section, .mango-studio .create-anything, .mango-studio .experience-cockpit, .mango-studio .work-section, .mango-studio .workflow-section, .mango-studio .toolkit-section, .mango-studio .faq-section { scroll-margin-top: 100px; }
.mango-studio .section-heading { align-items: end; }
.mango-studio .feature-card, .mango-studio .cockpit-shell, .mango-studio .preset-layout { box-shadow: 0 20px 60px rgba(0, 14, 28, .2); }
@media (max-width: 760px) {
  .mango-studio .hero { width: calc(100% - 24px); min-height: 720px; margin-top: 12px; padding: 42px 22px 0; border-radius: 20px; }
  .mango-studio .hero-copy { padding-top: 8px; }
  .mango-studio .hero h1 { font-size: clamp(55px, 14vw, 82px); line-height: .94; }
  .mango-studio .hero-art { top: 270px; right: -34%; width: 136%; height: 430px; opacity: .8; }
  .mango-studio .hero-art::after { background: linear-gradient(180deg, #07121c 0%, rgba(7,18,28,.22) 42%, #07121c 100%); }
  .mango-studio .hero-baseline { margin-top: 400px; padding-top: 18px; gap: 18px; }
  .mango-studio .format-logos { display: none; }
  .mango-studio .hero-coordinate { top: 22px; right: 16px; }
  .mango-studio .floating-preview { top: 440px; right: 10px; width: 160px; }
  .mango-studio .index-signal-strip { margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .mango-studio .hero, .mango-studio .index-signal-strip { box-shadow: none; }
}

/* Icon-box system: distinct, useful, and clearly connected to real tools. */
.mango-studio .feature-card,
.mango-studio .create-anything-grid > a,
.mango-studio .create-anything-grid > article,
.mango-studio .tool-card {
  position: relative;
  border: 1px solid #25445a;
  background: linear-gradient(145deg, rgba(14, 35, 51, .98), rgba(5, 14, 23, .98));
  box-shadow: 0 18px 55px rgba(0, 16, 30, .22), inset 0 1px rgba(255, 255, 255, .045);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}
.mango-studio .feature-card::before,
.mango-studio .create-anything-grid > a::before,
.mango-studio .create-anything-grid > article::before,
.mango-studio .tool-card::before {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: 0;
  opacity: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 12% 0%, rgba(77, 193, 255, .24), transparent 32%);
  transition: opacity 220ms ease;
}
.mango-studio .feature-card:hover,
.mango-studio .create-anything-grid > a:hover,
.mango-studio .create-anything-grid > article:hover,
.mango-studio .tool-card:hover,
.mango-studio .feature-card:focus-within,
.mango-studio .create-anything-grid > a:focus-visible,
.mango-studio .tool-card:focus-visible {
  transform: translateY(-5px);
  border-color: #48bfff;
  box-shadow: 0 24px 70px rgba(0, 76, 128, .26), 0 0 0 1px rgba(72, 191, 255, .15), inset 0 1px rgba(255, 255, 255, .08);
}
.mango-studio .feature-card:hover::before,
.mango-studio .create-anything-grid > a:hover::before,
.mango-studio .create-anything-grid > article:hover::before,
.mango-studio .tool-card:hover::before,
.mango-studio .feature-card:focus-within::before,
.mango-studio .create-anything-grid > a:focus-visible::before,
.mango-studio .tool-card:focus-visible::before { opacity: 1; }
.mango-studio .feature-card > *,
.mango-studio .create-anything-grid > *,
.mango-studio .tool-card > * { position: relative; z-index: 1; }
.mango-studio .feature-grid { gap: 16px; }
.mango-studio .feature-card { border-radius: 20px; }
.mango-studio .card-eyebrow { min-height: 28px; letter-spacing: .14em; color: #b2cee0; }
.mango-studio .card-eyebrow > .icon,
.mango-studio .create-anything-grid .icon,
.mango-studio .tool-card > .icon { color: #68caff; filter: drop-shadow(0 0 11px rgba(30, 159, 235, .4)); }
.mango-studio .create-anything-grid { gap: 14px; }
.mango-studio .create-anything-grid > a,
.mango-studio .create-anything-grid > article {
  min-height: 202px;
  padding: 22px;
  border-radius: 18px;
  justify-content: flex-end;
}
.mango-studio .create-anything-grid > a::after,
.mango-studio .create-anything-grid > article::after {
  position: absolute;
  top: 17px;
  right: 18px;
  color: #5d87a2;
  font: 600 9px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .1em;
}
.mango-studio .create-anything-grid > :nth-child(1)::after { content: "01"; }
.mango-studio .create-anything-grid > :nth-child(2)::after { content: "02"; }
.mango-studio .create-anything-grid > :nth-child(3)::after { content: "03"; }
.mango-studio .create-anything-grid > :nth-child(4)::after { content: "04"; }
.mango-studio .create-anything-grid > :nth-child(5)::after { content: "05"; }
.mango-studio .create-anything-grid > :nth-child(6)::after { content: "06"; }
.mango-studio .create-anything-grid > :nth-child(7)::after { content: "07"; }
.mango-studio .create-anything-grid h3 { margin-top: 34px; font-size: 18px; letter-spacing: -.03em; }
.mango-studio .create-anything-grid span { color: #7eabc6; }
.mango-studio .create-anything-grid > article span { color: #6f7f8d; }
.mango-studio .tool-grid { gap: 14px; }
.mango-studio .tool-card { min-height: 144px; padding: 22px; border-radius: 16px; }
.mango-studio .tool-card h3 { font-size: 15px; letter-spacing: -.02em; }
.mango-studio .tool-card p { color: #9ab6c9; }
.mango-studio .tool-card small { color: #6fa3c2; letter-spacing: .1em; }
.mango-studio .tool-card > span { color: #66caff; transition: transform 180ms ease; }
.mango-studio .tool-card:hover > span { transform: translate(3px, -3px); }
@media (max-width: 900px) {
  .mango-studio .feature-grid { grid-template-columns: 1fr 1fr; }
  .mango-studio .feature-card.studio-card { grid-column: 1 / -1; }
  .mango-studio .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .mango-studio .feature-grid,
  .mango-studio .tool-grid { grid-template-columns: 1fr; }
  .mango-studio .feature-card.studio-card { grid-column: auto; }
  .mango-studio .create-anything-grid > a,
  .mango-studio .create-anything-grid > article { min-height: 160px; }
}
@media (prefers-reduced-motion: reduce) {
  .mango-studio .feature-card,
  .mango-studio .create-anything-grid > a,
  .mango-studio .create-anything-grid > article,
  .mango-studio .tool-card { transition: none; }
}

/* Reference-inspired visual pass: preserve all existing copy and interaction hooks. */
.mango-studio {
  --home-ink: #07111a;
  --home-panel: #f4f8fb;
  --home-line: rgba(7, 32, 51, .12);
  --home-blue: #1597db;
  background: #fbfcfd;
  color: #07111a;
}
.mango-studio .marketing-nav {
  color: #0a2637;
  background: rgba(251, 252, 253, .88);
  border-color: rgba(7, 32, 51, .1);
  box-shadow: 0 8px 28px rgba(28, 86, 118, .06);
}
.mango-studio .marketing-nav .wordmark { color: #07111a; }
.mango-studio .marketing-nav .wordmark span { color: #1597db; }
.mango-studio .marketing-nav nav > a,
.mango-studio .marketing-nav .product-menu > button,
.mango-studio .marketing-nav .mobile-menu { color: #37576a; }
.mango-studio .marketing-nav .btn.primary { background: #c9ff39; border-color: #c9ff39; color: #07111a; box-shadow: none; }
.mango-studio .hero {
  min-height: 690px;
  margin-top: 18px;
  padding-top: 54px;
  border: 0;
  border-radius: 26px;
  background: linear-gradient(180deg, #0b78b6 0%, #0d9ee2 51%, #75d8f4 100%);
  box-shadow: 0 24px 70px rgba(23, 117, 167, .2);
}
.mango-studio .hero::before { opacity: .12; background-size: 86px 86px; }
.mango-studio .hero-art { right: -2%; width: 78%; opacity: .95; mix-blend-mode: screen; }
.mango-studio .hero-art::after { background: linear-gradient(90deg, #0b78b6 0%, rgba(11,120,182,.65) 12%, transparent 55%, rgba(11,120,182,.08)); }
.mango-studio .hero-art > img { object-position: 55% 55%; opacity: .9; mask-image: linear-gradient(to bottom, transparent 0%, #000 10%, #000 90%, transparent 100%); }
.mango-studio .hero-copy { position: relative; z-index: 2; max-width: 610px; }
.mango-studio .hero h1 { color: #fff; font-size: clamp(58px, 6.8vw, 104px); letter-spacing: -.075em; }
.mango-studio .hero h1 em { color: #c5ff38; text-shadow: none; }
.mango-studio .hero-description p,
.mango-studio .hero-trust { color: rgba(255,255,255,.84); }
.mango-studio .eyebrow-pill { color: #e9fbff; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.12); }
.mango-studio .hero-actions .button.blue { background: #c9ff39; border-color: #c9ff39; color: #07111a; }
.mango-studio .hero-actions .button.glass { color: #fff; border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.1); }
.mango-studio .floating-preview { border-color: rgba(255,255,255,.42); background: rgba(5, 56, 88, .58); box-shadow: 0 18px 50px rgba(5, 57, 89, .26); }
.mango-studio .index-signal-strip { margin-top: -25px; border: 0; background: #fff; color: #07111a; box-shadow: 0 16px 44px rgba(22, 80, 112, .13); }
.mango-studio .index-signal-strip strong { color: #07111a; }
.mango-studio .index-signal-strip span { color: #6b7d89; }
.mango-studio .index-signal-strip > div { border-color: rgba(7,32,51,.1); }
.mango-studio .index-signal-strip i { background: #1597db; box-shadow: 0 0 10px rgba(21,151,219,.4); }
.mango-studio .about-section,
.mango-studio .features-section,
.mango-studio .create-anything,
.mango-studio .experience-cockpit,
.mango-studio .work-section,
.mango-studio .workflow-section,
.mango-studio .toolkit-section,
.mango-studio .faq-section { color: #07111a; }
.mango-studio .section-tag,
.mango-studio .section-heading p,
.mango-studio .section-description { color: #617582; }
.mango-studio .about-section h2,
.mango-studio .section-heading h2 { color: #07111a; }
.mango-studio .about-section h2 span,
.mango-studio .section-heading h2 span { color: #1597db; }
.mango-studio .feature-card,
.mango-studio .create-anything-grid > a,
.mango-studio .create-anything-grid > article,
.mango-studio .tool-card { border-color: rgba(7,32,51,.1); background: #fff; box-shadow: 0 16px 42px rgba(25, 73, 101, .1); }
.mango-studio .feature-card h3,
.mango-studio .create-anything-grid h3,
.mango-studio .tool-card h3 { color: #07111a; }
.mango-studio .feature-card p,
.mango-studio .tool-card p { color: #617582; }
.mango-studio .create-anything-grid > a:hover,
.mango-studio .create-anything-grid > article:hover,
.mango-studio .feature-card:hover,
.mango-studio .tool-card:hover { border-color: #1597db; box-shadow: 0 22px 50px rgba(21,151,219,.16); }
.mango-studio .capability-marquee { background: #07111a; color: #fff; }
.mango-studio .experience-cockpit:before { background: radial-gradient(circle at 50% 35%, rgba(21,151,219,.16), transparent 62%); }
.mango-studio .landing-quicknav { background: rgba(255,255,255,.9); border-color: rgba(7,32,51,.12); box-shadow: 0 14px 38px rgba(20,73,101,.12); }
.mango-studio .landing-quicknav a { color: #6b8290; }
.mango-studio .landing-quicknav a:hover,
.mango-studio .landing-quicknav a[aria-current=true] { color: #0879b7; background: #e8f7fd; }
@media (max-width: 760px) {
  .mango-studio .hero { min-height: 720px; margin-top: 10px; border-radius: 20px; }
  .mango-studio .hero-art { opacity: .8; }
  .mango-studio .index-signal-strip { margin-top: 16px; }
}
