/* Studio home page. Loaded after site.css; uses its variables and base classes. */

.studio-section { padding: 56px 0 8px; }
.studio-section h2, .how-band h2 { font-size: clamp(26px, 4.4vw, 34px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; margin: 4px 0 22px; }
.studio-section h3, .how-band h3 { margin: 0 0 6px; font-size: 17px; font-weight: 700; }
.studio-section p, .how-band p { margin-top: 0; }

/* Hero: fixed ink in both modes ---------------------------------------- */
.studio-hero::before, .studio-hero::after { box-sizing: border-box; } /* the global * rule skips pseudo-elements */
.studio-hero { position: relative; overflow: hidden; background: #141821; color: #FFFFFF; padding: 28px 0 80px; }
.studio-hero::before { /* giant coral ring from the logo, clipped bottom-right */
  content: ""; position: absolute; right: -130px; bottom: -150px; width: 440px; height: 440px;
  border-radius: 50%; border: 56px solid var(--coral); pointer-events: none;
}
.studio-hero::after { /* small sapphire accent */
  content: ""; position: absolute; right: 22%; bottom: -70px; width: 150px; height: 150px;
  border-radius: 50%; background: #1F5FBF; pointer-events: none;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.hero-copy { max-width: 600px; padding-top: 24px; }
.studio-hero h1 { margin: 0 0 16px; font-size: clamp(36px, 6.2vw, 58px); line-height: 1.04; letter-spacing: -0.03em; font-weight: 800; }
.studio-hero .accent { color: var(--coral); white-space: nowrap; }
.hero-sub { margin: 0 0 26px; font-size: 18px; color: #D3D8E0; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.studio-hero .btn-outline { color: #FFFFFF; border-color: rgb(255 255 255 / 55%); }
.studio-hero .btn:focus-visible { outline-color: #FFFFFF; }
.tiles { display: grid; grid-template-columns: repeat(2, 88px); gap: 16px; padding-right: 8px; }
.tiles img, .tiles .slot { width: 88px; height: 88px; border-radius: 22px; box-shadow: 0 10px 26px rgb(0 0 0 / 40%); }
.tiles .slot { border: 2px dashed rgb(255 255 255 / 40%); background: rgb(255 255 255 / 6%); box-shadow: none; }
/* Ring and dot only where they stay clear of the text column (copy is capped at 600px) */
@media (max-width: 1000px) { .studio-hero::before, .studio-hero::after { display: none; } }
@media (max-width: 760px) { .tiles { display: none; } .hero-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .studio-hero { padding-bottom: 48px; }
  .hero-copy { padding-top: 8px; }
}

/* Apps ------------------------------------------------------------------ */
.wr-panel {
  position: relative; display: flex; flex-wrap: wrap; gap: 20px 28px; align-items: flex-end; overflow: hidden;
  padding: 32px 32px 0; border-radius: 26px; color: #FFFFFF;
  background: linear-gradient(180deg, #2C69CC 0%, var(--zafiro) 40%, #174C99 100%);
}
.wr-copy { flex: 1 1 300px; padding-bottom: 32px; }
.wr-icon { display: block; width: 56px; height: 56px; border-radius: 15px; margin-bottom: 12px; }
.wr-copy h3 { font-size: 28px; letter-spacing: -0.02em; font-weight: 800; margin: 0 0 6px; }
.wr-blurb { margin: 0 0 12px; font-size: 18px; }
.wr-points { list-style: none; padding: 0; margin: 0 0 18px; }
.wr-points li { position: relative; padding: 4px 0 4px 26px; }
.wr-points li::before { content: "✓"; position: absolute; left: 0; font-weight: 800; }
.wr-soon { margin: 0 0 14px; }
.badge { display: inline-block; background: #FFFFFF; color: #174C99; font-weight: 700; font-size: 13px; line-height: 1.3; padding: 7px 14px; border-radius: 999px; }
a.badge { position: relative; z-index: 3; text-decoration: none; } /* above the stretched .wr-link */
a.badge:hover { text-decoration: underline; }
a.badge:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 3px; }
.wr-view { margin: 0; font-weight: 800; }
.wr-link { color: #FFFFFF; text-decoration-color: #FFFFFF; }
.wr-link::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: 26px; }
.wr-link:focus-visible { outline: none; }
.wr-link:focus-visible::after { outline: 3px solid #FFFFFF; outline-offset: -8px; }
.wr-panel:hover .wr-link { text-decoration-thickness: 3px; }
.wr-phones { flex: 0 1 auto; display: flex; gap: 12px; align-items: flex-end; justify-content: center; margin: 0 auto; }
.wr-phones img { width: 150px; height: auto; border-radius: 20px 20px 0 0; box-shadow: 0 10px 30px rgb(0 0 0 / 35%); }
.wr-phones img:nth-child(2) { width: 170px; margin-bottom: -14px; }
@media (max-width: 640px) {
  .wr-panel { padding: 24px 20px 0; }
  .wr-phones { width: 100%; gap: 8px; }
  .wr-phones img { width: 29%; max-width: 150px; }
  .wr-phones img:nth-child(2) { width: 33%; max-width: 170px; }
}

.coming-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-top: 14px; }
.card.coming,
:root:not([data-theme="light"]) .card.coming,
:root[data-theme="dark"] .card.coming {
  display: flex; align-items: center; gap: 16px; background: transparent; box-shadow: none; color: var(--muted);
  border: 2px dashed color-mix(in srgb, var(--muted) 50%, transparent);
}
.card.coming strong { color: var(--text); }
.ph-icon { flex: none; width: 54px; height: 54px; border-radius: 15px; background: var(--soft); }

/* How we work: dark band in both modes ---------------------------------- */
.how-band { margin-top: 56px; padding: 56px 0; background: #141821; color: #FFFFFF; }
.how-band .label { color: #B8BFCC; }
.principles { list-style: none; counter-reset: principle; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.principle { counter-increment: principle; background: #1B1F27; border-radius: 20px; padding: 22px; }
.principle::before {
  content: counter(principle); display: flex; align-items: center; justify-content: center; width: 36px; height: 36px;
  margin-bottom: 12px; border-radius: 50%; background: var(--coral); color: #141821; font-weight: 800;
}
.principle p { margin: 0; color: #C9CFD9; font-size: 15px; }

/* What to expect ---------------------------------------------------------- */
.expect-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); }
.card.expect { padding: 20px 22px; }
.card.expect h3 { font-size: 16px; }
.card.expect p { margin: 0; color: var(--muted); font-size: 15px; }

/* FAQ --------------------------------------------------------------------- */
.faq details { background: var(--surface); border-radius: 16px; padding: 0 20px; margin-bottom: 10px; box-shadow: var(--shadow); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .faq details { border: 1px solid var(--line); } }
:root[data-theme="dark"] .faq details { border: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding: 12px 0; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 22px; line-height: 1; font-weight: 600; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--muted); }

/* About ----------------------------------------------------------------- */
.card.about { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; padding: 26px; }
.card.about .logo-light { display: var(--show-logo-light); }
.card.about .logo-dark { display: var(--show-logo-dark); }
.card.about img { flex: none; border-radius: 14px; }
.card.about > div { flex: 1 1 280px; }
.card.about h2 { font-size: 22px; margin: 2px 0 8px; }
.card.about p:last-child { margin: 0; color: var(--muted); }
