/* Media.G5 Studio: shared look (Apple-inspired: system fonts, big type, frosted bars, pill buttons) */
:root {
  --bg: #fbfbfd; --card: #f5f5f7; --ink: #1d1d1f; --ink2: #6e6e73; --line: rgba(0,0,0,0.1);
  --accent: #0a63d6; --accent-ink: #fff; --good: #0b5d33; --goodbg: #d8f3e3; --warn: #8a3a0f; --warnbg: #fde6d9; --bad: #a3001b;
  --bar: rgba(251,251,253,0.8); --dark: #1d1d1f; --accent-dark: #4d9bff;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #000; --card: #1c1c1e; --ink: #f5f5f7; --ink2: #a1a1a6; --line: rgba(255,255,255,0.14);
    --accent: #4d9bff; --accent-ink: #00122e; --good: #7be0a8; --goodbg: #0f3d26; --warn: #ffb48a; --warnbg: #4a2410; --bad: #ff7b8f;
    --bar: rgba(0,0,0,0.72); --dark: #1c1c1e; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", system-ui, sans-serif; -webkit-font-smoothing: antialiased; line-height: 1.4; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { letter-spacing: -0.02em; margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
.hide { display: none !important; }
.bar { position: sticky; top: 0; z-index: 20; background: var(--bar); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line); }
.bar-in { max-width: 1080px; margin: 0 auto; padding: 0 16px; min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { font-weight: 600; font-size: 17px; color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border: 0; border-radius: 980px; background: var(--accent); color: var(--accent-ink); font-size: 16px; font-weight: 500; cursor: pointer; text-decoration: none; }
.btn:hover { filter: brightness(1.08); text-decoration: none; }
.btn:disabled { opacity: 0.5; cursor: default; }
.btn.ghost { background: transparent; color: var(--accent); }
.btn.soft { background: var(--card); color: var(--ink); }
.btn.sm { min-height: 34px; padding: 0 14px; font-size: 14px; }
.card { background: var(--card); border-radius: 22px; padding: 24px; }
.note { color: var(--ink2); font-size: 15px; }
.pill { display: inline-flex; align-items: center; min-height: 22px; padding: 0 10px; border-radius: 980px; font-size: 12px; font-weight: 600; background: var(--card); color: var(--ink2); }
.pill.good { background: var(--goodbg); color: var(--good); }
.pill.warn { background: var(--warnbg); color: var(--warn); }
.msg { margin: 12px 0 0; font-size: 15px; min-height: 22px; }
.msg.err { color: var(--bad); }
.msg.ok { color: var(--good); }
input[type=text], input[type=email], input[type=number], input[type=date], input[type=tel], textarea, select { width: 100%; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
label { display: block; font-size: 13px; font-weight: 600; color: var(--ink2); margin: 12px 0 4px; }
label.check { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 400; color: var(--ink); }
label.check input { width: 20px; height: 20px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

.studio { font-weight: 400; color: var(--ink2); }
