/* 451 Studio — light blue-grey site + panel (separate from 451 Atölye chrome) */

:root {
  --st-bg: #eef2f6;
  --st-bg-2: #f7f9fb;
  --st-paper: #ffffff;
  --st-ink: #1e293b;
  --st-muted: #5b6b7c;
  --st-line: #d5dee8;
  --st-blue: #3d6d94;
  --st-blue-2: #4f82ab;
  --st-blue-soft: #d7e4ef;
  --st-shadow: 0 18px 40px rgba(30, 52, 74, 0.08);
  --st-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --st-ui: "Plus Jakarta Sans", system-ui, sans-serif;
  --st-top: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body.studio-site,
body.studio-app {
  margin: 0;
  background: var(--st-bg);
  color: var(--st-ink);
  font-family: var(--st-ui);
  line-height: 1.55;
  --muted: var(--st-muted);
  --accent: var(--st-blue);
  --font-heading: var(--st-display);
}

.language-switcher {
  display: inline-flex;
  gap: 0.25rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.language-switcher-link {
  color: var(--st-muted);
  text-decoration: none;
}

.language-switcher-link.is-active {
  color: var(--st-ink);
}

.studio-site .dashboard-primary-button,
.studio-app .dashboard-primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--st-blue);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
}

a {
  color: var(--st-blue);
}

.studio-messages {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem 0;
  color: var(--st-blue);
  font-weight: 600;
}

.studio-top {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--st-top);
  background: #1c2836;
  border-bottom: 1px solid #2c3d50;
}

.studio-top--app {
  background: #18232f;
}

.studio-top__inner {
  max-width: 1180px;
  height: 100%;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.studio-mark {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 0;
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.studio-mark__img {
  display: block;
  height: 42px;
  width: auto;
  mix-blend-mode: screen;
}

.studio-mark--foot .studio-mark__img {
  height: 48px;
  mix-blend-mode: screen;
}

.studio-top__nav {
  display: flex;
  gap: 1.1rem;
  flex: 1;
}

.studio-top__nav a {
  color: rgba(244, 234, 216, 0.78);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 650;
}

.studio-top__nav a:hover,
.studio-top__nav a.is-active {
  color: #f4ead8;
}

.studio-top__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.studio-top__user {
  max-width: 10rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.82rem;
  color: rgba(244, 234, 216, 0.7);
}

.studio-logout {
  margin: 0;
}

.studio-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
}

.studio-btn--solid {
  background: var(--st-blue);
  color: #fff;
}

.studio-btn--solid:hover {
  background: var(--st-blue-2);
}

.studio-btn--ghost {
  background: transparent;
  color: var(--st-ink);
  border-color: var(--st-line);
}

.studio-top .studio-btn--ghost {
  color: #f4ead8;
  border-color: rgba(244, 234, 216, 0.32);
}

.studio-top .studio-btn--solid {
  background: #e8dcc4;
  color: #1c2836;
}

.studio-top .studio-btn--solid:hover {
  background: #f4ead8;
}

.language-switcher-form {
  display: contents;
}

.studio-top .language-switcher {
  border: 1px solid rgba(244, 234, 216, 0.18);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 3px;
}

.studio-top .language-switcher-sep {
  color: rgba(244, 234, 216, 0.28);
}

.studio-top .language-switcher-link {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: rgba(244, 234, 216, 0.55);
}

.studio-top .language-switcher-link.is-active,
.studio-top .language-switcher-link:hover {
  color: #f4ead8;
}

.studio-btn--lg {
  padding: 0.75rem 1.25rem;
  font-size: 0.95rem;
}

.studio-main {
  min-height: calc(100vh - var(--st-top) - 180px);
}

.studio-main--flush {
  min-height: 0;
}

.studio-main--auth {
  display: flex;
  justify-content: center;
  padding: 3rem 1.25rem 5rem;
}

.studio-app-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.75rem 1.25rem 3rem;
  min-height: calc(100vh - var(--st-top) - 88px);
}

.studio-app--editor .studio-app-main {
  max-width: none;
  padding: 0;
  height: calc(100vh - var(--st-top));
  min-height: 0;
  overflow: hidden;
}

.studio-foot {
  border-top: 1px solid #2c3d50;
  background: #1c2836;
  padding: 2.5rem 1.25rem 3rem;
  color: #d7e0ea;
}

.studio-foot--app {
  padding: 1.1rem 1.25rem;
}

.studio-foot__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.studio-foot__lede {
  color: #9aabbc;
  max-width: 22rem;
  margin: 0.5rem 0 0;
}

.studio-foot__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(8rem, 1fr));
  gap: 1.5rem;
}

.studio-foot h4 {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8ea0b3;
}

.studio-foot a {
  display: block;
  color: #e8eef4;
  text-decoration: none;
  font-size: 0.9rem;
  margin: 0.28rem 0;
}

.studio-cookie {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  display: flex;
  gap: 1rem;
  align-items: center;
  max-width: 28rem;
  padding: 0.9rem 1rem;
  background: var(--st-paper);
  border: 1px solid var(--st-line);
  border-radius: 14px;
  box-shadow: var(--st-shadow);
  font-size: 0.85rem;
}

.studio-cookie__actions {
  display: flex;
  gap: 0.65rem;
  align-items: center;
}

.studio-cookie__ok {
  border: 0;
  background: var(--st-blue);
  color: #fff;
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.st-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.st-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--st-blue);
}

.st-hero {
  padding: 4.5rem 0 4rem;
  background:
    radial-gradient(ellipse 70% 55% at 12% -10%, rgba(61, 109, 148, 0.16), transparent 55%),
    radial-gradient(ellipse 50% 40% at 92% 10%, rgba(180, 196, 210, 0.5), transparent 50%),
    linear-gradient(180deg, #e8eef4 0%, var(--st-bg) 100%);
}

.st-hero h1,
.st-band h2,
.st-reach h2,
.st-feat h2,
.st-faq h2,
.st-cta h2 {
  font-family: var(--st-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 1rem;
  color: var(--st-ink);
}

.st-hero h1 {
  font-size: clamp(2.35rem, 5.2vw, 3.85rem);
}

.st-lede,
.st-cta p {
  color: var(--st-muted);
  font-size: 1.05rem;
  max-width: 38rem;
}

.st-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.95fr);
  gap: 3rem;
  align-items: center;
}

.st-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.st-frame {
  margin: 0;
  padding: 0.7rem 0.7rem 0.85rem;
  background: #f4f7fa;
  border: 1px solid var(--st-line);
  border-radius: 18px;
  box-shadow: var(--st-shadow);
}

.st-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  background: #d7e0ea;
}

.st-frame--wide img {
  aspect-ratio: 16 / 9;
}

.st-section-head {
  max-width: 40rem;
  margin-bottom: 2.25rem;
}

.st-section-head h2 {
  margin-bottom: 0.4rem;
}

.st-section-head--row {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(12rem, 0.8fr);
  gap: 2rem;
  align-items: end;
}

.st-section-head__aside {
  margin: 0 0 0.35rem;
  color: var(--st-muted);
  font-size: 0.98rem;
}

.st-band {
  padding: 5rem 0;
}

.st-steps {
  --st-step-gap: 1.7rem;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--st-step-gap);
  align-items: stretch;
}

.st-steps__col {
  position: relative;
  display: flex;
  min-width: 0;
}

.st-steps__col:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 100%;
  width: var(--st-step-gap);
  height: 2px;
  background: linear-gradient(90deg, #c5d3e0, var(--st-blue), #c5d3e0);
  transform: translateY(-50%);
  pointer-events: none;
}

.st-steps__col:not(:last-child)::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 50%;
  left: calc(100% + var(--st-step-gap) / 2 - 4px);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--st-blue);
  transform: translateY(-50%);
  pointer-events: none;
}

.st-steps__col--opt:not(:last-child)::after,
.st-steps__col:has(+ .st-steps__col--opt)::after {
  background: repeating-linear-gradient(
    90deg,
    #c9a56a 0 5px,
    transparent 5px 9px
  );
}

.st-steps__col--opt:not(:last-child)::before,
.st-steps__col:has(+ .st-steps__col--opt)::before {
  border-color: #c9a56a;
}

.st-steps__card,
.st-steps__opt {
  flex: 1 1 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  padding: 1.55rem 1.35rem 1.5rem;
}

.st-steps__card {
  background: var(--st-paper);
  border: 1px solid var(--st-line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.st-steps__n {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--st-blue);
  margin-bottom: 1.05rem;
}

.st-steps h3 {
  margin: 0 0 0.55rem;
  font-family: var(--st-display);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.st-steps p {
  margin: 0;
  color: var(--st-muted);
  line-height: 1.55;
}

.st-steps__opt {
  color: #f4ead8;
  border: 1.5px dashed #c9a56a;
  background:
    linear-gradient(165deg, #2b3c4f 0%, #1c2836 52%, #16202a 100%);
  box-shadow:
    inset 0 0 0 1px rgba(201, 165, 106, 0.32),
    0 0 0 1px rgba(201, 165, 106, 0.16),
    0 0 0 6px rgba(201, 165, 106, 0.07),
    0 16px 36px rgba(28, 40, 54, 0.16);
}

.st-steps__opt-kicker {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.85rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: rgba(232, 220, 196, 0.16);
  border: 1px solid rgba(201, 165, 106, 0.35);
  color: #e8dcc4;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.st-steps__opt h3 {
  color: #f4ead8;
}

.st-steps__opt p {
  color: rgba(244, 234, 216, 0.72);
}

.st-steps__opt a {
  margin-top: auto;
  padding-top: 1rem;
  align-self: flex-start;
  color: #e8dcc4;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 220, 196, 0.35);
}

.st-steps__opt a:hover {
  border-bottom-color: #e8dcc4;
}

.st-reach {
  position: relative;
  min-height: 28rem;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #15202b;
  color: #eef3f7;
}

.st-reach__media {
  position: absolute;
  inset: 0;
}

.st-reach__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.7) contrast(1.05);
}

.st-reach__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 27, 36, 0.92) 0%, rgba(18, 27, 36, 0.78) 42%, rgba(18, 27, 36, 0.35) 100%);
}

.st-reach__copy {
  position: relative;
  z-index: 1;
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}

.st-reach h2 {
  color: #f4ead8;
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 18ch;
}

.st-reach p {
  max-width: 34rem;
  color: rgba(238, 243, 247, 0.82);
  font-size: 1.05rem;
  margin: 0 0 1.6rem;
}

.st-kicker--light {
  color: #c4d4e4;
}

.studio-btn--on-dark {
  background: #e8dcc4;
  color: #1c2836;
  border-color: transparent;
}

.studio-btn--on-dark:hover {
  background: #f4ead8;
}

.st-reach::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: 5.5rem;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(238, 242, 246, 0) 0%, var(--st-bg) 100%);
}

.st-editor-show {
  margin: 0 0 2rem;
}

.st-feat {
  background: var(--st-bg);
  color: #e8eef4;
  padding: 2.75rem 1.25rem 4.75rem;
}

.st-feat__frame {
  max-width: 1180px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 28px;
  background: #16202a;
  box-shadow: 0 28px 70px rgba(22, 32, 42, 0.16);
  padding-bottom: 2.75rem;
}

.st-feat h2 {
  color: #f4ead8;
  margin-bottom: 0.35rem;
}

.st-feat__stage {
  position: relative;
  min-height: 28rem;
  display: grid;
  align-items: end;
  overflow: hidden;
  margin-bottom: 2.35rem;
}

.st-feat__media {
  position: absolute;
  inset: 0;
}

.st-feat__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(0.72) contrast(1.05);
}

.st-feat__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 24, 32, 0.9) 0%, rgba(16, 24, 32, 0.62) 46%, rgba(16, 24, 32, 0.22) 100%),
    linear-gradient(180deg, rgba(16, 24, 32, 0.12) 0%, rgba(16, 24, 32, 0.55) 100%);
}

.st-feat__copy {
  position: relative;
  z-index: 1;
  padding-top: 6.5rem;
  padding-bottom: 4.25rem;
}

.st-feat__copy h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  max-width: 14ch;
  margin: 0 0 1rem;
}

.st-feat__copy p {
  max-width: 34rem;
  margin: 0;
  color: rgba(232, 238, 244, 0.86);
  font-size: 1.05rem;
  line-height: 1.6;
}

.st-kicker--on-dark {
  color: #c4b396;
}

.st-feat__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.st-feat__list li {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 100%;
  padding: 1.35rem 1.25rem 1.45rem;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(244, 234, 216, 0.07), rgba(244, 234, 216, 0.025));
  border: 1px solid rgba(244, 234, 216, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.st-feat__list li:hover {
  border-color: rgba(196, 179, 150, 0.42);
  background:
    linear-gradient(180deg, rgba(244, 234, 216, 0.12), rgba(244, 234, 216, 0.04));
  transform: translateY(-3px);
}

.st-feat__icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #e6d5b3;
  background:
    radial-gradient(circle at 30% 20%, rgba(244, 234, 216, 0.22), transparent 58%),
    rgba(196, 179, 150, 0.1);
  border: 1px solid rgba(196, 179, 150, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.st-feat__icon svg {
  width: 1.35rem;
  height: 1.35rem;
  display: block;
}

.st-feat__list h3 {
  margin: 0 0 0.4rem;
  font-family: var(--st-display);
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #f4ead8;
}

.st-feat__list p {
  margin: 0;
  color: rgba(232, 238, 244, 0.64);
  font-size: 0.92rem;
  line-height: 1.55;
}

@media (prefers-reduced-motion: reduce) {
  .st-feat__list li,
  .st-feat__list li:hover {
    transition: none;
    transform: none;
  }
}

.st-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--st-line);
  box-shadow: var(--st-shadow);
  background: #d7e0ea;
}

.st-faq {
  padding: 3rem 0 4rem;
}

.st-faq__list {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.65rem;
}

.st-faq details {
  background: var(--st-paper);
  border: 1px solid var(--st-line);
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
}

.st-faq summary {
  cursor: pointer;
  font-weight: 700;
}

.st-faq details p {
  margin: 0.7rem 0 0;
  color: var(--st-muted);
}

.st-cta {
  padding: 0 0 5rem;
}

.st-cta__box {
  background: linear-gradient(180deg, #dce7f0, #eef3f7);
  border: 1px solid var(--st-line);
  border-radius: 20px;
  padding: 2.5rem 1.75rem;
  text-align: center;
}

.st-cta__box .st-lede,
.st-cta__box p {
  margin-left: auto;
  margin-right: auto;
}

.st-cta__box .st-hero__cta {
  justify-content: center;
}

.studio-auth {
  width: min(28rem, 100%);
}

.studio-auth h1 {
  font-family: var(--st-display);
  font-size: 2rem;
  margin: 0 0 0.6rem;
}

.studio-auth__form p {
  display: grid;
  gap: 0.35rem;
  margin: 0 0 0.9rem;
}

.studio-auth__form input {
  width: 100%;
  border: 1px solid var(--st-line);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  font: inherit;
  background: #fff;
}

.studio-auth__form button {
  width: 100%;
}

.studio-auth__error,
.studio-auth__errors {
  color: #b42318;
  font-size: 0.82rem;
}

.studio-auth__links {
  margin-top: 1.1rem;
  font-size: 0.9rem;
}

.studio-site .sx-discover {
  background:
    radial-gradient(ellipse 80% 55% at 12% -10%, rgba(61, 109, 148, 0.12), transparent 55%),
    linear-gradient(180deg, #e8eef4 0%, var(--st-bg) 100%) !important;
}

.studio-site .sx-discover__brand,
.studio-site .sx-discover__title,
.studio-site .sx-discover__lede {
  color: var(--st-ink);
}

.studio-site .sx-showcase {
  color: var(--st-ink);
  min-height: 100vh;
  overflow: hidden;
  background: #e8eef4 !important;
}

.studio-site .sx-showcase__bg {
  display: block;
  filter: blur(26px) saturate(1.15) brightness(1.08);
  transform: scale(1.12);
  opacity: 0.7;
}

.studio-site .sx-showcase__veil {
  display: block;
  background:
    linear-gradient(
      105deg,
      rgba(238, 242, 246, 0.88) 0%,
      rgba(238, 242, 246, 0.7) 42%,
      rgba(238, 242, 246, 0.42) 100%
    );
}

.studio-site .sx-showcase__inner {
  padding: 2rem 1.5rem 4rem;
}

.studio-site .sx-showcase__back {
  color: var(--st-muted);
}

.studio-site .sx-showcase__back:hover {
  color: var(--st-blue);
}

.studio-site .sx-showcase__title,
.studio-site .sx-showcase h1,
.studio-site .sx-showcase h2 {
  color: var(--st-ink);
}

.studio-site .sx-showcase__genre {
  color: var(--st-blue);
}

.studio-site .sx-showcase__subtitle,
.studio-site .sx-showcase__author,
.studio-site .sx-showcase__desc,
.studio-site .sx-cta__hint,
.studio-site .sx-rating__count {
  color: var(--st-muted);
}

.studio-site .sx-showcase__author strong {
  color: var(--st-ink);
}

.studio-site .sx-showcase__cover {
  box-shadow: var(--st-shadow);
}

.studio-site .sx-metric {
  background: #fff;
  border: 1px solid var(--st-line);
}

.studio-site .sx-metric__label {
  color: var(--st-muted);
}

.studio-site .sx-metric__value {
  color: var(--st-ink);
}

.studio-site .sx-cta {
  background: var(--st-blue);
  color: #fff;
  box-shadow: none;
}

.studio-site .sx-cta:hover {
  background: var(--st-blue-2);
  color: #fff;
  box-shadow: none;
}

.studio-site .sx-chapters {
  border-top: 1px solid var(--st-line);
}

.studio-site .sx-chapters h2 {
  color: var(--st-ink);
}

.studio-site .sx-chapters li {
  background: #fff;
  border: 1px solid var(--st-line);
  color: var(--st-ink);
}

.studio-site .sx-chapters li span {
  color: var(--st-blue);
}

.studio-site .sx-stars__star,
.studio-site .sx-stars:hover .sx-stars__star,
.studio-site .sx-rating__stars .fa-regular {
  color: #c5d3e0;
}

.studio-site .sx-stars__star.is-on,
.studio-site .sx-stars__star:hover,
.studio-site .sx-stars__star:hover ~ .sx-stars__star,
.studio-site .sx-stars__star:focus-within,
.studio-site .sx-rating__stars .fa-solid {
  color: var(--st-blue);
}

.studio-site .sx-discover__lede {
  color: var(--st-muted);
}

.studio-site .sx-filters,
.studio-site .sx-book {
  background: var(--st-paper);
  border-color: var(--st-line);
  color: var(--st-ink);
}

.studio-site .sx-book {
  border-radius: 14px;
  padding: 0.75rem 0.75rem 1rem;
  border: 1px solid var(--st-line);
}

.studio-site .sx-book__title {
  color: var(--st-ink);
}

.studio-site .sx-book__by,
.studio-site .sx-book__stats,
.studio-site .sx-toolbar__count {
  color: var(--st-muted);
}

.studio-site .sx-book__stats strong,
.studio-site .sx-book__rating strong {
  color: var(--st-ink);
}

.studio-site .sx-book__rating {
  color: var(--st-blue);
}

.studio-site .sx-book__rating .fa-regular {
  color: #c5d3e0;
}

.studio-site .sx-book__cover,
.studio-site .sx-book--compact .sx-book__cover {
  box-shadow: 0 10px 24px rgba(30, 52, 74, 0.12);
}

.studio-site .sx-book:hover .sx-book__cover,
.studio-site .sx-book--compact:hover .sx-book__cover {
  box-shadow: 0 16px 32px rgba(30, 52, 74, 0.16);
}

.studio-site .sx-shelf--list .sx-book--row {
  background: var(--st-paper);
  border: 1px solid var(--st-line);
}

.studio-site .sx-shelf--list .sx-book--row:hover {
  background: #f7f9fb;
  border-color: var(--st-blue);
}

.studio-site .sx-empty {
  color: var(--st-muted);
  border-color: var(--st-line);
}

.studio-site .sx-pager a,
.studio-site .sx-pager span {
  border-color: var(--st-line);
  color: var(--st-ink);
  background: #fff;
}

.studio-site .sx-pager a:hover,
.studio-site .sx-pager .is-current {
  border-color: var(--st-blue);
  color: var(--st-blue);
  background: var(--st-blue-soft);
}

.studio-site .sx-filters__label {
  color: var(--st-muted);
}

.studio-site .sx-filters__input {
  background: #fff;
  border: 1px solid var(--st-line);
  color: var(--st-ink);
  border-radius: 10px;
}

.studio-site .sx-filters__input:focus {
  outline: none;
  border-color: var(--st-blue);
}

.studio-site .sx-filters__submit {
  background: var(--st-blue);
  color: #fff;
  border-radius: 999px;
  font-weight: 700;
}

.studio-site .sx-filters__submit:hover {
  background: var(--st-blue-2);
}

.studio-site .sx-filters__clear,
.studio-site .sx-toolbar__count,
.studio-site .sx-empty {
  color: var(--st-muted);
}

.studio-site .sx-view-toggle {
  border-color: var(--st-line);
}

.studio-site .sx-view-toggle__btn {
  color: var(--st-muted);
}

.studio-site .sx-view-toggle__btn.is-on {
  background: var(--st-blue-soft);
  color: var(--st-blue);
}

.studio-app .exon-table-wrapper,
.studio-app .exon-expert-table {
  background: var(--st-paper);
  color: var(--st-ink);
  border-color: var(--st-line);
}

.studio-app .exon-expert-table th,
.studio-app .exon-expert-table td {
  color: var(--st-ink);
  border-color: var(--st-line);
}

.studio-app .sd-hero h3,
.studio-app .sd-panel h4,
.studio-app .sd-book-card__title,
.studio-app .sd-insights-title,
.studio-app .sd-bar-row__label,
.studio-app .sd-list-row__name,
.studio-app .exon-table-title {
  color: var(--st-ink) !important;
}

.studio-app .sd-kpi,
.studio-app .sd-panel,
.studio-app .sd-new-book,
.studio-app .sd-book-card {
  background: var(--st-paper) !important;
  border: 1px solid var(--st-line) !important;
  box-shadow: none;
}

.studio-app .sd-facts dt,
.studio-app .sd-facts dd,
.studio-app .sd-quiet,
.studio-app .sd-ring__label,
.studio-app .sd-insights-title,
.studio-app .sd-insights-meta,
.studio-app .sd-insights-sub,
.studio-app .sd-list-row__name,
.studio-app .sd-list-row__meta,
.studio-app .sd-bar-row__label,
.studio-app .sd-bar-row__num {
  color: #1e293b !important;
}

.studio-app .sd-facts dt,
.studio-app .sd-quiet,
.studio-app .sd-ring__label,
.studio-app .sd-insights-meta,
.studio-app .sd-insights-sub,
.studio-app .sd-list-row__meta,
.studio-app .sd-kpi__label,
.studio-app .sd-panel h4 {
  color: #5b6b7c !important;
}

.studio-app .sd-bar-track {
  background: var(--st-blue-soft);
}

.studio-app .sd-ring .track {
  stroke: var(--st-line);
}

.studio-app .sd-insights-cover {
  box-shadow: var(--st-shadow);
}

.studio-app .sd-list-row {
  border-bottom-color: var(--st-line);
}

.studio-app .sd-verify {
  padding: 1rem 1.15rem;
  border-radius: 10px;
  background: #e8f4ef;
  border: 1px solid #b7d8cc;
}

.studio-app .sd-verify p {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e5c4a;
}

.studio-app .dashboard-primary-button {
  background: var(--st-blue);
  color: #fff;
  border: 0;
  box-shadow: none;
}

.studio-app .sd-pill {
  background: var(--st-blue-soft);
  color: var(--st-ink);
}

.studio-app .sd-kpi__value {
  color: var(--st-ink) !important;
}

.studio-app .sd-empty,
.studio-app .sd-empty p {
  color: var(--st-muted) !important;
  text-align: center;
  padding: 1.5rem 1rem;
}

.studio-app .sd-new-book label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--st-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.studio-app .sd-new-book input[type="text"] {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--st-line);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  font: inherit;
  color: var(--st-ink);
  background: #fff;
}

.studio-app .sd-new-book__btn {
  height: 2.7rem;
}

.studio-app .sd-trial-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  border-radius: 14px;
  border: 1px solid var(--st-line);
  background: #e8eef4;
}

.studio-app .sd-trial-banner[hidden] {
  display: none;
}

.studio-app .sd-trial-banner p {
  margin: 0;
  color: var(--st-ink);
  font-size: 0.92rem;
}

.studio-app .sd-book-card__actions a {
  text-decoration: none;
}

.studio-app .studyo-shell {
  --se-bg: #eef2f6;
  --se-panel: #ffffff;
  --se-paper: #eef2f6;
  --se-ink: #1e293b;
  --se-line: #d5dee8;
  --se-muted: #64748b;
  --se-hover: #e8eef4;
  --se-active: rgba(61, 109, 148, 0.16);
  --se-active-ink: #3d6d94;
  --se-accent: #3d6d94;
  height: 100%;
  border: 0;
}

.studio-app .studyo-shell__tree,
.studio-trial .studyo-shell__tree,
.studio-app .studyo-tree,
.studio-trial .studyo-tree {
  background: #fff;
  color: var(--st-ink);
}

.studio-app .studyo-tree__group,
.studio-trial .studyo-tree__group {
  color: var(--st-muted);
}

.studio-trial .studyo-shell {
  --se-bg: #eef2f6;
  --se-panel: #ffffff;
  --se-paper: #eef2f6;
  --se-ink: #1e293b;
  --se-line: #d5dee8;
  --se-muted: #64748b;
  --se-hover: #e8eef4;
  --se-active: rgba(61, 109, 148, 0.16);
  --se-active-ink: #3d6d94;
  --se-accent: #3d6d94;
  flex: 1 1 0%;
  min-height: 0;
  max-width: none;
  margin: 0;
  border: 0;
  border-radius: 0;
}

.studio-site .language-switcher,
.studio-app .language-switcher {
  color: var(--st-muted);
}

@media (max-width: 1040px) {
  .st-steps {
    grid-template-columns: 1fr;
    --st-step-gap: 1.45rem;
  }

  .st-steps__col:not(:last-child)::after {
    top: 100%;
    left: 1.65rem;
    width: 2px;
    height: var(--st-step-gap);
    transform: none;
    background: linear-gradient(180deg, #c5d3e0, var(--st-blue), #c5d3e0);
  }

  .st-steps__col:not(:last-child)::before {
    top: calc(100% + var(--st-step-gap) / 2 - 4px);
    left: calc(1.65rem - 3px);
    transform: none;
  }

  .st-steps__col--opt:not(:last-child)::after,
  .st-steps__col:has(+ .st-steps__col--opt)::after {
    background: repeating-linear-gradient(
      180deg,
      #c9a56a 0 5px,
      transparent 5px 9px
    );
  }
}

@media (max-width: 1100px) {
  .st-feat__list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .st-feat__list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .studio-top__nav {
    display: none;
  }

  .st-hero__grid,
  .st-section-head--row,
  .studio-foot__cols {
    grid-template-columns: 1fr;
  }

  .st-reach__media::after {
    background: linear-gradient(180deg, rgba(18, 27, 36, 0.88) 0%, rgba(18, 27, 36, 0.72) 100%);
  }

  .st-feat {
    padding: 1.75rem 0.85rem 3.5rem;
  }

  .st-feat__frame {
    border-radius: 20px;
    padding-bottom: 1.75rem;
  }

  .st-feat__stage {
    min-height: 20rem;
    margin-bottom: 1.75rem;
  }

  .st-feat__media::after {
    background:
      linear-gradient(180deg, rgba(16, 24, 32, 0.45) 0%, rgba(16, 24, 32, 0.88) 100%);
  }

  .st-feat__copy {
    padding-top: 4.5rem;
    padding-bottom: 2.75rem;
  }

  .st-hero {
    padding-top: 2.5rem;
  }
}
