/* Roto Flight Media portal: shared look (rotoflight.com's: white, quiet, one blue) */
:root {
  --ink: #1d1d1f;
  --body: #424245;
  --muted: #6e6e73;
  --faint: #86868b;
  --line: #d2d2d7;
  --line-soft: #e8e8ed;
  --field: #f5f5f7;
  --card: #ffffff;
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --accent-soft: rgba(0, 113, 227, 0.1);
  --danger: #c4161c;
  --ok: #1a7f37;
  --warn-bg: #fff4d6;
  --warn-ink: #7a4b00;
  --mark: rgba(255, 204, 0, 0.32);
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 10px 34px rgba(0, 0, 0, 0.14), 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-soft: 0 2px 10px rgba(0, 0, 0, 0.06);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "Segoe UI", Inter, Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--font); color: var(--ink); background: var(--field); font-size: 15px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgba(0, 113, 227, 0.5); outline-offset: 2px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font: 600 14px/1 var(--font); color: var(--ink); background: var(--card);
  border: 1px solid var(--line); border-radius: 10px; padding: 0 14px; height: 36px;
  cursor: pointer; white-space: nowrap; text-decoration: none;
}
.btn:hover { background: var(--field); text-decoration: none; }
.btn:disabled { opacity: 0.45; cursor: default; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-hover); }
.btn.quiet { background: transparent; border-color: transparent; color: var(--accent); padding: 0 8px; }
.btn.quiet:hover { background: var(--accent-soft); }
.btn.danger { color: var(--danger); }
.btn.big { height: 46px; padding: 0 22px; font-size: 16px; border-radius: 12px; }
.btn.small { height: 30px; font-size: 13px; padding: 0 10px; border-radius: 8px; }

.field { display: grid; gap: 6px; margin: 0 0 12px; }
.field > span { font-size: 13px; font-weight: 600; color: var(--body); }
input[type="text"], input[type="email"], input[type="search"], textarea, select {
  font: 15px/1.4 var(--font); color: var(--ink); background: var(--card);
  border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; width: 100%;
}
textarea { resize: vertical; min-height: 84px; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

.chip { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: var(--field); color: var(--body); }
.chip.blue { background: var(--accent-soft); color: var(--accent); }
.chip.warn { background: var(--warn-bg); color: var(--warn-ink); }
.chip.ok { background: rgba(26, 127, 55, 0.1); color: var(--ok); }
.muted { color: var(--muted); }
.small { font-size: 13px; }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); opacity: 0; pointer-events: none;
  background: #1d1d1f; color: #fff; border-radius: 12px; padding: 11px 16px; font-size: 14px; box-shadow: var(--shadow);
  display: flex; gap: 12px; align-items: center; max-width: min(560px, calc(100vw - 32px)); z-index: 1000; transition: opacity .18s, transform .18s;
}
.toast.on { opacity: 1; transform: translateX(-50%); pointer-events: auto; }
.toast button { background: none; border: 0; color: #4da3ff; font: 600 14px var(--font); cursor: pointer; padding: 0; }

/* the page you land on from a link */
body.gate { display: grid; place-items: center; min-height: 100vh; padding: 16px; }
.gate-card { background: var(--card); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); padding: 34px 30px; max-width: 420px; width: 100%; text-align: center; }
.gate-card h1 { font-size: 22px; margin: 14px 0 8px; line-height: 1.25; }
.gate-card p { color: var(--body); margin: 0 0 22px; }
.gate-mark { width: auto; height: 34px; }
.gate-card form { margin: 0; }
.gate-card .btn.big { width: 100%; }

/* simple pages: home and studio */
.topbar { display: flex; align-items: center; gap: 14px; padding: 12px 20px; background: rgba(255, 255, 255, 0.92); border-bottom: 1px solid var(--line-soft); position: sticky; top: 0; z-index: 10; backdrop-filter: saturate(180%) blur(14px); }
.topbar .mark { height: 26px; width: auto; display: block; }
.topbar .who { margin-left: auto; font-size: 13px; color: var(--muted); display: flex; gap: 12px; align-items: center; }
.wrapper { max-width: 960px; margin: 0 auto; padding: 28px 16px 64px; }
.wrapper h1 { font-size: 28px; margin: 0 0 6px; letter-spacing: -0.01em; }
.lead { color: var(--body); margin: 0 0 24px; }
.card { background: var(--card); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); padding: 20px; margin: 0 0 16px; }
.card h2 { font-size: 17px; margin: 0 0 12px; }
.list { display: grid; gap: 10px; }
.row-link { display: flex; align-items: center; gap: 12px; background: var(--card); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow-soft); color: var(--ink); }
.row-link:hover { text-decoration: none; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1); }
.row-link .grow { flex: 1; min-width: 0; }
.row-link strong { display: block; font-size: 16px; }
.empty { color: var(--muted); padding: 18px 2px; }
