:root {
  --ink: #1c2430;
  --muted: #5b6570;
  --paper: #f6f3ee;
  --card: #fffdf9;
  --line: #e6dfd4;
  --accent: #3d4f63;
  --accent-soft: #5c6f86;
}
* { box-sizing: border-box; }
body.studio {
  margin: 0;
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  background:
    radial-gradient(900px 420px at 0% 0%, rgba(61, 79, 99, 0.06), transparent 55%),
    var(--paper);
  line-height: 1.7;
}
body.studio :is(button, input, select, .guide-link, .store-btn, .tab-button, .btn, nav a) {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.studio-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 28px 20px 56px;
}
.studio-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow: 0 24px 50px rgba(28, 36, 48, 0.06);
}
.studio-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.studio-tabs button {
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  padding: 10px 16px;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.studio-tabs button:hover { color: var(--ink); }
.studio-tabs button.active {
  color: var(--ink);
  border-bottom-color: var(--accent);
}
.studio-hero { text-align: center; margin-bottom: 36px; }
.studio-kicker {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 10px;
}
.studio-hero h1, .studio-doc h1 {
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.7rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 12px;
}
.studio-lede {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 36rem;
  margin: 0 auto;
}
.studio-guides { max-width: 38rem; margin: 0 auto; }
.studio-guides h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 8px;
}
.studio-guides > p { color: var(--muted); margin: 0 0 14px; font-size: 0.95rem; }
.guide-link {
  display: block;
  text-decoration: none;
  color: var(--ink);
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.guide-link:last-child { border-bottom: 1px solid var(--line); }
.guide-link strong { font-family: inherit; }
.guide-link:hover { color: var(--accent); }
.studio-actions { text-align: center; margin-top: 28px; }
.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  background: var(--accent);
  color: #f7f4ee;
  font-size: 0.9rem;
}
.studio-note { color: #8a8380; font-size: 0.9rem; margin: 28px 0 8px; text-align: center; }
.studio-product { text-align: center; padding: 12px 8px 8px; }
.studio-product .icon { font-size: 3rem; margin-bottom: 12px; }
.studio-product h2 { font-size: 2rem; margin: 0 0 16px; font-weight: 600; }
.studio-product p { color: var(--muted); max-width: 36rem; margin: 0 auto 14px; }
.store-row { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.store-btn {
  display: inline-flex; align-items: center; padding: 11px 18px;
  border-radius: 999px; color: #fff; text-decoration: none; font-size: 0.9rem;
}
.store-google { background: #1f7a3a; }
.store-apple { background: #111; }
.studio-footer {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 28px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.studio-footer a { color: var(--muted); text-decoration: none; }
.studio-footer a:hover { color: var(--ink); }
.tab-content { display: none; }
.tab-content.active { display: block; animation: fade 0.28s ease; }
@keyframes fade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
.studio-doc h2 {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 32px 0 10px;
  letter-spacing: -0.01em;
}
.studio-doc h3 { font-size: 1.05rem; margin: 18px 0 8px; }
.studio-doc p, .studio-doc li { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.studio-doc p { color: #3a414a; }
.studio-doc ul { padding-left: 1.15rem; }
.studio-doc li { margin: 6px 0; color: #3a414a; }
.studio-box {
  background: #f3efe8;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  margin: 14px 0;
}
.studio-crumb {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 18px;
}
.studio-crumb a { color: var(--accent); text-decoration: none; }
.studio-toc {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.92rem;
  color: var(--muted);
  margin: 18px 0 8px;
}
.studio-toc a { color: var(--accent); text-decoration: none; margin-right: 12px; }
.meta { color: var(--muted); font-size: 0.92rem; }
@media (max-width: 720px) {
  .studio-card { padding: 26px 18px; }
  .studio-tabs { flex-wrap: wrap; }
}
