/* CreaterOS Studio — Signal / 01
   Editorial dark surfaces, warm broadcast color, kinetic orbital artwork. */

:root {
  --font-display: 'Space Grotesk', 'DM Sans', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Space Mono', ui-monospace, SFMono-Regular, monospace;
  --accent-1: #ff6847;
  --accent-2: #ffb45d;
  --accent-3: #c7f36b;
  --gradient: linear-gradient(118deg, #ff6847 0%, #ff9a54 60%, #ffc66d 100%);
  --gradient-soft: linear-gradient(118deg, rgba(255,104,71,.15), rgba(255,180,93,.07));
  --ok: #b8ee72;
  --warn: #ffc16c;
  --bad: #ff746d;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --sidebar-w: 258px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --bg: #090a0c;
  --bg-elev: #101114;
  --surface: rgba(255,255,255,.035);
  --surface-2: rgba(255,255,255,.065);
  --surface-solid: #141519;
  --border: rgba(255,255,255,.085);
  --border-strong: rgba(255,255,255,.15);
  --text: #f2f0eb;
  --text-2: #aaa9a5;
  --text-3: #72736f;
  --input-bg: rgba(255,255,255,.045);
  --shadow: 0 28px 70px -36px rgba(0,0,0,.9);
  --glow-opacity: 1;
  color-scheme: dark;
}

[data-theme='light'] {
  --bg: #f4f2ec;
  --bg-elev: #faf9f5;
  --surface: rgba(255,255,255,.76);
  --surface-2: rgba(25,25,23,.055);
  --surface-solid: #fffefa;
  --border: rgba(30,29,26,.09);
  --border-strong: rgba(30,29,26,.17);
  --text: #1c1b19;
  --text-2: #565550;
  --text-3: #89877f;
  --input-bg: #fffefa;
  --shadow: 0 22px 56px -30px rgba(48,38,23,.25);
  --glow-opacity: .42;
  color-scheme: light;
}
[data-theme='light'] body::after { opacity: .035; mix-blend-mode: multiply; }
[data-theme='light'] .card:not(.hero-card):not(.broadcast-card) {
  border-color: rgba(37,34,29,.1);
  background: linear-gradient(145deg,rgba(255,255,255,.96),rgba(255,255,255,.72));
  box-shadow: inset 0 1px rgba(255,255,255,.98),0 20px 48px -36px rgba(52,43,29,.24);
}
[data-theme='light'] .card:not(.hero-card):not(.broadcast-card):hover { border-color: rgba(219,97,65,.24); box-shadow: inset 0 1px rgba(255,255,255,.98),0 26px 54px -34px rgba(52,43,29,.3); }
[data-theme='light'] .landing-nav { background: rgba(248,247,242,.83); border-color: rgba(37,34,29,.09); }
[data-theme='light'] .auth-form-wrap { background: rgba(246,244,238,.84); }
[data-theme='light'] .auth-card { border-color: rgba(37,34,29,.11); background: linear-gradient(145deg,rgba(255,255,255,.96),rgba(255,255,255,.78)); box-shadow: inset 0 1px white,0 28px 70px -44px rgba(44,37,26,.28); }
[data-theme='light'] .auth-card input { background: rgba(255,255,255,.82); }
[data-theme='light'] .sticky-save { border-color: rgba(37,34,29,.12); background: rgba(255,255,255,.92); box-shadow: 0 18px 40px -28px rgba(44,37,26,.3); }
[data-theme='light'] .step { border-color: rgba(37,34,29,.1); background: rgba(255,255,255,.76); }

html { scroll-behavior: smooth; }
body {
  position: relative;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 48rem 30rem at 86% -10%, rgba(255,104,71,.105), transparent 70%),
    radial-gradient(ellipse 38rem 28rem at 5% 44%, rgba(114,105,83,.075), transparent 72%),
    linear-gradient(rgba(255,255,255,.014) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.014) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px;
  background-attachment: fixed;
}
body::before {
  z-index: -1;
  opacity: var(--glow-opacity);
  background:
    radial-gradient(30rem 25rem at 90% 20%, rgba(255,104,71,.16), transparent 74%),
    radial-gradient(26rem 22rem at 30% 105%, rgba(255,180,93,.055), transparent 75%),
    radial-gradient(1px 1px at 18% 28%, rgba(255,255,255,.7), transparent 2px),
    radial-gradient(1px 1px at 82% 62%, rgba(255,255,255,.5), transparent 2px);
  background-size: auto, auto, 180px 140px, 230px 190px;
  animation: ambient-drift 28s ease-in-out infinite alternate;
}
body::after {
  content: '';
  position: fixed;
  z-index: 50;
  inset: 0;
  pointer-events: none;
  opacity: .1;
  background-image: repeating-linear-gradient(0deg, transparent 0 3px, rgba(255,255,255,.045) 4px);
  mix-blend-mode: overlay;
}
::selection { background: rgba(255,104,71,.38); }
h1, h2, h3, h4 { letter-spacing: -.055em; }
h1 { font-size: clamp(2.3rem, 5vw, 4.45rem); line-height: .98; }
h2 { font-size: clamp(1.9rem, 3vw, 2.8rem); line-height: 1.03; }
.eyebrow, .signal-label, .feature-index, .studio-breadcrumb, .stage-coordinate,
.float-card small, .brand-edition, .workflow-title > span {
  font-family: var(--font-mono);
  letter-spacing: .1em;
}
.eyebrow { font-size: .64rem; color: var(--text-3); }
.gradient-text { background-image: linear-gradient(110deg, #ff7950, #ffc273 72%, #f4d4a0); }
.link { color: #ff9a70; }
[data-theme='light'] .link { color: #b74328; }

/* Brand, buttons and controls */
.brand { gap: .68rem; font-size: 1.18rem; letter-spacing: -.06em; }
.brand-mark {
  position: relative;
  width: 34px;
  height: 34px;
  overflow: hidden;
  border-radius: 11px;
  background: linear-gradient(145deg, #ff6847, #e84932 64%, #b7362d);
  box-shadow: 0 8px 28px -11px rgba(255,104,71,.95), inset 0 1px rgba(255,255,255,.42);
  transform: rotate(-4deg);
}
.brand-mark::after { content: ''; position: absolute; inset: 5px; border: 1px solid rgba(255,255,255,.36); border-radius: 8px; transform: rotate(12deg); }
.brand-mark svg { position: relative; z-index: 1; width: 17px; height: 17px; }
.brand-edition { color: var(--text-3); font-size: .55rem; font-weight: 400; letter-spacing: .12em; padding-left: .75rem; border-left: 1px solid var(--border-strong); margin-left: .2rem; }
.btn {
  height: 40px;
  border-radius: 10px;
  border-color: var(--border);
  background: rgba(255,255,255,.045);
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: -.015em;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); border-color: var(--border-strong); background: rgba(255,255,255,.085); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(108deg, #ff6746, #f37942 54%, #e99a4b);
  box-shadow: 0 10px 26px -15px rgba(255,104,71,.95), inset 0 1px rgba(255,255,255,.4);
}
.btn-primary::before { content: ''; position: absolute; z-index: -1; inset: 0; transform: translateX(-130%) skewX(-18deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent); transition: transform .65s var(--ease); }
.btn-primary:hover { background: linear-gradient(108deg, #ff7658, #f7834c 54%, #f1a656); box-shadow: 0 15px 34px -14px rgba(255,104,71,.9), inset 0 1px rgba(255,255,255,.5); }
.btn-primary:hover::before { transform: translateX(130%) skewX(-18deg); }
.btn-ghost { color: var(--text-2); }
.btn-ghost:hover { background: rgba(255,255,255,.065); color: var(--text); }
.btn-lg { height: 50px; border-radius: 11px; padding-inline: 1.2rem; }
.btn-sm { height: 34px; border-radius: 8px; }
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible { outline-color: var(--accent-1); }
input:focus, select:focus, textarea:focus { border-color: var(--accent-1); box-shadow: 0 0 0 4px rgba(255,104,71,.14); }

/* App shell */
.shell { grid-template-columns: var(--sidebar-w) minmax(0,1fr); }
.sidebar {
  gap: 1.3rem;
  padding: 1.25rem .9rem 1rem;
  border-right-color: rgba(255,255,255,.075);
  background: linear-gradient(180deg, rgba(15,16,18,.95), rgba(10,11,13,.91));
  box-shadow: 20px 0 70px -58px rgba(0,0,0,.9);
}
[data-theme='light'] .sidebar { background: rgba(249,248,244,.92); }
.sidebar > .brand { padding: 0 .45rem .9rem; border-bottom: 1px solid var(--border); }
.sidebar .eyebrow { padding: 0 .7rem .55rem; }
.sidebar-section { gap: .32rem; }
.sidebar-section.scroll { margin-inline: -.15rem; padding-inline: .15rem; }
.nav-item {
  position: relative;
  min-height: 42px;
  padding: .52rem .68rem;
  border-radius: 9px;
  gap: .68rem;
  font-size: .85rem;
  letter-spacing: -.012em;
  transition: color .2s, background .2s, transform .2s var(--ease), border-color .2s;
}
.nav-item:hover { background: rgba(255,255,255,.06); transform: translateX(2px); }
.nav-item.active { background: linear-gradient(90deg, rgba(255,104,71,.14), rgba(255,104,71,.035)); border-color: rgba(255,140,101,.14); color: var(--text); }
.nav-item.active::before { content: ''; position: absolute; left: -1px; top: 9px; bottom: 9px; width: 2px; background: var(--accent-1); border-radius: 2px; box-shadow: 0 0 10px rgba(255,104,71,.8); }
.nav-item .meta strong { font-size: .85rem; }
.nav-item .meta span { font-size: .69rem; }
.nav-item .avatar { width: 30px; height: 30px; }
.status-dot.ok { background: var(--accent-3); box-shadow: 0 0 12px rgba(199,243,107,.65); }
.add-account { min-height: 39px; border-style: solid; border-color: var(--border); justify-content: flex-start; margin-top: .45rem; }
.add-account:hover { border-color: rgba(255,104,71,.55); color: #ff9a70; }
.user-chip { margin-top: .1rem; background: rgba(255,255,255,.035); border-color: var(--border); }
.user-chip:hover { background: rgba(255,255,255,.065); }
.user-chip .meta strong { font-size: .82rem; }
.user-chip .meta span { font-size: .67rem; }
.main { padding: 2rem clamp(1.25rem, 4vw, 4.25rem) 4rem; }
.main-inner { max-width: 1440px; animation: page-arrive .55s var(--ease) both; }
.page-head { margin-bottom: 1.8rem; }
.page-head h1 { font-size: clamp(2.05rem,4vw,3.2rem); }
.page-head p { font-size: .95rem; }
.studio-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: .2rem 0 1.1rem; color: var(--text-3); }
.studio-breadcrumb { display: flex; align-items: center; gap: .62rem; min-width: 0; font-size: .62rem; letter-spacing: .08em; }
.studio-breadcrumb strong { color: var(--text-2); font-family: var(--font-body); font-size: .77rem; font-weight: 600; letter-spacing: -.02em; }
.studio-breadcrumb i { font-style: normal; color: rgba(255,255,255,.25); }
.studio-date { display: inline-flex; align-items: center; gap: .48rem; white-space: nowrap; font: 400 .65rem var(--font-mono); letter-spacing: .02em; color: var(--text-3); }
.studio-date .signal-dot { width: 6px; height: 6px; }
.studio-date-sep { color: var(--border-strong); }
.signal-dot { display: inline-block; width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--accent-3); box-shadow: 0 0 0 0 rgba(199,243,107,.4); animation: signal-ping 2.8s ease-out infinite; }

/* Broadcast hero */
.bento { gap: 1rem; }
.card {
  border-radius: 17px;
  border-color: rgba(255,255,255,.09);
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.022));
  box-shadow: 0 22px 56px -44px rgba(0,0,0,.9), inset 0 1px rgba(255,255,255,.035);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  transition: border-color .3s, transform .35s var(--ease), background .3s;
}
.card:hover { border-color: rgba(255,255,255,.15); }
.card-glow::before { background: linear-gradient(130deg, rgba(255,135,96,.5), transparent 35%, transparent 72%, rgba(255,194,109,.24)); opacity: .65; }
.hero-card {
  min-height: 286px;
  padding: 1.85rem 1.9rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  isolation: isolate;
  background:
    radial-gradient(ellipse 35rem 21rem at 83% 55%, rgba(255,104,71,.14), transparent 69%),
    linear-gradient(110deg, #16171a 0%, #121315 58%, #171513 100%);
  border-color: rgba(255,255,255,.12);
}
.hero-card::after {
  content: '';
  position: absolute;
  z-index: -1;
  top: -35%; right: -9%; width: 61%; height: 170%;
  pointer-events: none;
  opacity: .56;
  background: radial-gradient(ellipse, rgba(255,126,82,.19), rgba(255,186,105,.055) 38%, transparent 71%);
  animation: stage-glow 8s ease-in-out infinite alternate;
}
.hero-card .hero-top, .hero-card .hero-actions { position: relative; z-index: 2; max-width: 67%; }
.hero-card .hero-top { align-items: flex-start; gap: 1rem; }
.hero-card .hero-top h1 { margin-top: .55rem !important; font-size: clamp(1.9rem,3.05vw,2.6rem); line-height: .98; letter-spacing: -.075em; text-shadow: 0 9px 50px rgba(255,117,75,.16); }
.hero-card .hero-top .avatar-ring { padding: 2px; background: linear-gradient(140deg, #ffd18e, #ff6548 68%, #812c29); box-shadow: 0 0 0 5px rgba(255,255,255,.025), 0 0 34px rgba(255,104,71,.24); }
.hero-card .hero-top .avatar { border-color: #171719; }
.hero-card .hero-actions { margin-top: 1.8rem; padding-top: 0; gap: .5rem; }
.hero-card .hero-actions .btn:not(.btn-primary) { background: rgba(255,255,255,.055); border-color: rgba(255,255,255,.09); }
.hero-card .hero-actions .btn-ghost { background: transparent !important; border-color: transparent !important; }
.stage-visual { position: absolute; z-index: 1; top: 50%; right: 3.5%; width: min(34%, 290px); aspect-ratio: 1; transform: translateY(-50%); pointer-events: none; }
.stage-visual::before { content: ''; position: absolute; inset: 13%; border-radius: 50%; background: radial-gradient(circle, rgba(255,128,83,.14), transparent 69%); filter: blur(8px); }
.stage-orbit { position: absolute; inset: 14%; border: 1px solid rgba(255,191,143,.23); border-radius: 50%; box-shadow: 0 0 26px rgba(255,104,71,.045), inset 0 0 20px rgba(255,104,71,.025); }
.stage-orbit-one { transform: rotateX(66deg) rotate(-25deg); animation: orbit-turn 18s linear infinite; }
.stage-orbit-two { inset: 4% 20%; transform: rotate(54deg) scaleY(.72); border-color: rgba(255,255,255,.13); animation: orbit-turn 26s linear infinite reverse; }
.stage-orbit-three { inset: 22% 4%; transform: rotate(-48deg) scaleY(.82); border-color: rgba(255,190,130,.18); animation: orbit-turn 22s linear infinite; }
.stage-core { position: absolute; inset: 34%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.42); border-radius: 32%; color: #fff5e9; background: linear-gradient(145deg, rgba(255,156,105,.96), rgba(220,70,49,.92)); box-shadow: 0 0 0 8px rgba(255,255,255,.035), 0 0 48px rgba(255,111,72,.47), inset 0 1px rgba(255,255,255,.55); transform: rotate(-12deg); animation: core-float 5s ease-in-out infinite; }
.stage-core .icon { width: 29px; height: 29px; transform: rotate(12deg); }
.stage-satellite { position: absolute; top: 12%; right: 18%; width: 27px; height: 27px; display: grid; place-items: center; color: #171714; border: 1px solid rgba(255,255,255,.66); border-radius: 9px; background: #d1f08c; box-shadow: 0 0 26px rgba(199,243,107,.35); animation: satellite-drift 7s ease-in-out infinite; }
.stage-coordinate { position: absolute; right: 3%; bottom: 9%; color: rgba(255,255,255,.32); font-size: .5rem; letter-spacing: .16em; white-space: nowrap; }
.stage-coordinate b { color: var(--accent-3); font-weight: 400; margin-left: .35rem; }
.hero-card + .broadcast-card {
  position: relative;
  min-height: 286px;
  overflow: hidden;
  padding: 1.45rem 1.4rem;
  background:
    radial-gradient(ellipse 19rem 14rem at 105% 0%, rgba(255,134,76,.25), transparent 68%),
    linear-gradient(145deg, #211914, #171411 62%, #171514);
  border-color: rgba(255,175,112,.16);
}
.broadcast-card::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .2; background: repeating-linear-gradient(0deg, transparent 0 28px, rgba(255,255,255,.08) 29px), repeating-linear-gradient(90deg, transparent 0 28px, rgba(255,255,255,.06) 29px); mask-image: linear-gradient(135deg, black, transparent 75%); }
.broadcast-card::after { content: ''; position: absolute; right: -24%; bottom: 5%; width: 140%; height: 35%; border-top: 1px solid rgba(255,174,105,.33); border-radius: 50%; transform: rotate(-16deg); box-shadow: 0 -8px 32px -23px #ff9a58; }
.broadcast-card > * { position: relative; z-index: 1; }
.broadcast-card .stat-label { color: rgba(255,233,213,.55); font: 400 .63rem var(--font-mono); letter-spacing: .12em; text-transform: uppercase; }
.broadcast-card .stat-label .icon { color: #ffa56f; }
.broadcast-card .countdown { margin-top: 1.25rem; font-size: clamp(2.4rem,4.5vw,3.8rem); letter-spacing: -.09em; color: #fff0dd; text-shadow: 0 0 36px rgba(255,139,85,.26); }
.broadcast-card .stat-foot { color: rgba(255,231,211,.7); font-size: .77rem; }
.broadcast-card .stat-foot .faint { color: rgba(255,231,211,.4); }
.broadcast-card .btn { border-color: rgba(255,198,145,.18); background: rgba(255,255,255,.075); }
.broadcast-card .btn-primary { background: linear-gradient(110deg,#ff6847,#e99a4b); }
.hero-top .row.tight { gap: .4rem; }
.hero-top .chip { height: 26px; font-size: .72rem; background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.12); }
.hero-top .pill { background: rgba(199,243,107,.12); color: var(--accent-3); }
.hero-top .status-dot.ok { background: var(--accent-3); }
.bell { border-color: rgba(255,255,255,.1); background: rgba(10,10,10,.25); backdrop-filter: blur(12px); }

/* Section navigation and dashboard metrics */
.tabs { display: flex; width: 100%; gap: .35rem; margin: 1.45rem 0 1.25rem; padding: 0 0 .5rem; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; background: transparent; }
.tabs a { position: relative; padding: .62rem .85rem; border-radius: 8px 8px 0 0; color: var(--text-3); font-size: .79rem; }
.tabs a:hover { color: var(--text); background: rgba(255,255,255,.035); }
.tabs a.active { color: var(--text); background: transparent; box-shadow: none; }
.tabs a.active::after { content: ''; position: absolute; left: .75rem; right: .75rem; bottom: -.52rem; height: 2px; border-radius: 4px; background: var(--accent-1); box-shadow: 0 0 12px rgba(255,104,71,.55); }
#tab > .bento { gap: .8rem; }
#tab > .bento > .metric-tile { min-height: 127px; padding: 1.15rem 1.2rem; background: linear-gradient(145deg, rgba(255,255,255,.044), rgba(255,255,255,.016)); border-radius: 14px; }
#tab > .bento:first-child > .metric-tile:nth-child(-n + 4)::before { content: none !important; display: none !important; }
#tab > .bento:first-child > .metric-tile:nth-child(-n + 4) .stat-value { background: none; background-image: none; color: #ffad84; -webkit-text-fill-color: currentColor; filter: none; }
.metric-tile .stat-label { font: 400 .63rem var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); }
.metric-tile .stat-label .icon { color: #ff956d; }
.metric-tile .stat-value { margin-top: .8rem; font-size: 2rem; letter-spacing: -.09em; }
.metric-tile .stat-foot { margin-top: .35rem; font-size: .73rem; color: var(--text-3); }
#tab .card-header { margin-bottom: 1rem; }
#tab .card-title { font-size: .98rem; letter-spacing: -.035em; }
#tab .card-title .icon { color: #ff966d; }
#tab .card-sub { font-size: .74rem; }
.feed li { padding: .85rem 0; border-color: rgba(255,255,255,.07); }
.feed .dot { border-radius: 10px; background: rgba(255,255,255,.055); }
.feed .body strong { font-size: .83rem; }
.feed .err { border-left: 2px solid var(--bad); padding-left: .55rem; margin-top: .45rem; }
.timeline li { padding: .7rem 0; }
.timeline .when { border: 1px solid rgba(255,255,255,.075); background: rgba(255,255,255,.045); border-radius: 10px; }
.timeline li:first-child .when { border-color: rgba(255,255,255,.2); background: linear-gradient(145deg,#ff7650,#d7533a); box-shadow: 0 8px 22px -12px rgba(255,104,71,.8); }
.checklist li { font-size: .82rem; }
.checklist .done .tick { background: linear-gradient(135deg,#c7f36b,#86bd4b); color: #17220d; }
.progress { height: 4px; background: rgba(255,255,255,.08); }
.progress span { background: linear-gradient(90deg,#ff6847,#ffbd69 60%,#c7f36b); box-shadow: 0 0 12px rgba(255,159,91,.45); }
.empty-state { padding-block: 2.2rem; }
.connect-hero {
  position: relative;
  max-width: 980px;
  overflow: hidden;
  margin: 2.5rem auto;
  padding: clamp(1.5rem,4vw,3.5rem);
  border: 1px solid rgba(255,255,255,.105);
  border-radius: 22px;
  text-align: left;
  background: radial-gradient(ellipse 27rem 20rem at 94% 12%,rgba(255,104,71,.16),transparent 72%),linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.018));
  box-shadow: var(--shadow);
}
.connect-hero::after { content: ''; position: absolute; z-index: 0; top: 8%; right: 3%; width: min(28vw,270px); aspect-ratio: 1; border: 1px solid rgba(255,190,145,.15); border-radius: 50%; box-shadow: 0 0 0 24px rgba(255,255,255,.018),0 0 0 50px rgba(255,255,255,.012); animation: orbit-turn 32s linear infinite; }
.connect-hero > * { position: relative; z-index: 1; }
.connect-hero .eyebrow { color: #ffac86; }
.connect-hero h1 { max-width: 12ch; margin-top: .8rem !important; font-size: clamp(2.8rem,6vw,5rem); }
.connect-hero > p { max-width: 36rem; font-size: 1rem; line-height: 1.65; }
.connect-orb { width: 82px; height: 82px; margin: 0 0 1.8rem; border-radius: 24px; background: linear-gradient(145deg,#ff9d6a,#e64b38 70%,#ae332b); box-shadow: 0 20px 48px -17px rgba(255,104,71,.72),inset 0 1px rgba(255,255,255,.55); animation: core-float 5s ease-in-out infinite; }
.connect-orb::before { inset: -10px; border-color: rgba(255,177,129,.28); box-shadow: 0 0 0 10px rgba(255,255,255,.02),0 0 32px rgba(255,104,71,.18); }
.connect-orb svg { width: 39px; height: 39px; }
.steps { position: relative; z-index: 1; max-width: 760px; gap: .65rem; margin: 2rem 0; }
.step { padding: 1rem; border-color: rgba(255,255,255,.09); border-radius: 12px; background: rgba(11,12,13,.58); backdrop-filter: blur(14px); }
.step b { width: 25px; height: 25px; border: 1px solid rgba(255,255,255,.32); border-radius: 8px; background: linear-gradient(145deg,#ff7955,#df563e); font: .65rem var(--font-mono); }
.step p { font-size: .77rem; line-height: 1.55; }
.step strong { color: var(--text); }
.connect-hero .callout { max-width: 610px; border-radius: 12px; }

/* All remaining panels and controls use the same quiet, tactile language. */
.mode-card, .access-option, .slot, .folder-pick, .connect-google, .share-hint { border-radius: 12px; }
.mode-card { background: rgba(255,255,255,.03); }
.mode-card:has(input:checked) { box-shadow: 0 0 0 1px var(--accent-1), 0 16px 36px -25px rgba(255,104,71,.8); }
.mode-card:has(input:checked) .mode-icon { background: linear-gradient(135deg,#ff6847,#e99a4b); }
.day input:checked + span { background: rgba(255,104,71,.16); border-color: rgba(255,104,71,.48); }
.sticky-save { border-radius: 13px; background: rgba(18,19,21,.88); }
.post-grid { gap: .9rem; }
.post { padding: .65rem; border-radius: 15px; }
.post-media { border-radius: 10px; overflow: hidden; }
.post img { transition: transform .65s var(--ease), filter .4s; }
.post:hover img { transform: scale(1.035); filter: saturate(1.1); }
.post-body { padding: .6rem .35rem .2rem; }
.post-caption { font-size: .83rem; }
.slot { background: rgba(255,255,255,.028); }
.folder-list { border-radius: 12px; }
.folder-row { border-radius: 9px; }
.pill { letter-spacing: .01em; }
.pill.accent { color: #ff9b79; background: rgba(255,104,71,.12); }
.chip.accent { background: rgba(255,104,71,.12); border-color: rgba(255,104,71,.28); }
.platform-logo { border-radius: 12px; }
.platform-logo.ig { color: #fff; background: linear-gradient(145deg,#ff9b5f,#dc365f 54%,#7540aa); }
.platform-logo.threads { color: #fff; background: #191a1d; }
dialog { border: 1px solid rgba(255,255,255,.14); border-radius: 18px; background: rgba(20,21,23,.96); box-shadow: 0 36px 100px rgba(0,0,0,.7); backdrop-filter: blur(26px); }
dialog::backdrop { background: rgba(4,5,6,.66); backdrop-filter: blur(6px); }
.dialog-head, .drawer-head { border-color: var(--border); }
.drawer { border-radius: 20px 0 0 20px; }
.toast { border-radius: 11px; backdrop-filter: blur(16px); }
.skeleton { background: linear-gradient(100deg,rgba(255,255,255,.035) 20%,rgba(255,255,255,.085) 38%,rgba(255,255,255,.035) 58%); background-size: 220% 100%; animation: skeleton-shimmer 1.6s linear infinite; }

/* Public landing page */
.landing-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 76px;
  padding: 0 clamp(1.25rem,5vw,5.5rem);
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: rgba(9,10,12,.76);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}
.landing-links { display: flex; gap: 2rem; margin: 0 auto; padding-left: 6vw; }
.landing-links a { color: var(--text-2); font-size: .82rem; text-decoration: none; transition: color .2s; }
.landing-links a:hover { color: var(--text); }
.landing-page { max-width: 1480px; margin: 0 auto; padding: 0 clamp(1.25rem,5vw,5.5rem); }
.landing-hero { display: grid; grid-template-columns: minmax(0,1fr) minmax(420px,.94fr); align-items: center; gap: clamp(2rem,5vw,5rem); min-height: min(760px, calc(100vh - 76px)); padding: 3rem 0 5rem; }
.landing-copy { position: relative; z-index: 2; padding: 1rem 0; }
.signal-label { display: inline-flex; align-items: center; gap: .6rem; color: var(--text-3); font-size: .61rem; letter-spacing: .15em; }
.landing-copy h1 { margin: 1.35rem 0 1.45rem; font-size: clamp(3.6rem,7.1vw,7rem); line-height: .89; letter-spacing: -.095em; }
.landing-copy h1 .gradient-text { background-image: linear-gradient(110deg,#ff7250 4%,#ffb262 57%,#eed69f 100%); }
.lead { max-width: 31rem; color: var(--text-2); font-size: clamp(1.02rem,1.35vw,1.16rem); line-height: 1.7; }
.landing-actions { margin-top: 1.9rem; gap: .7rem; }
.landing-actions .btn-primary { gap: .65rem; }
.btn-outline { background: rgba(255,255,255,.02); border-color: rgba(255,255,255,.16); }
.landing-proof { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem; margin-top: 1.6rem; color: var(--text-3); font-size: .7rem; }
.proof-icon { display: grid; width: 25px; height: 25px; place-items: center; margin-right: .1rem; border: 1px solid var(--border); border-radius: 8px; color: var(--accent-3); background: rgba(199,243,107,.06); }
.proof-sep { color: rgba(255,255,255,.17); }
.landing-stage { position: relative; display: grid; place-items: center; min-height: 570px; isolation: isolate; perspective: 900px; }
.landing-stage::before { content: ''; position: absolute; z-index: -2; inset: 10% -9%; border-radius: 50%; background: radial-gradient(ellipse,rgba(255,101,68,.18),rgba(255,170,100,.065) 42%,transparent 72%); filter: blur(22px); animation: stage-glow 7s ease-in-out infinite alternate; }
.landing-stage::after { content: ''; position: absolute; z-index: -2; width: 80%; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.055); border-radius: 50%; box-shadow: 0 0 0 46px rgba(255,255,255,.012),0 0 0 92px rgba(255,255,255,.01); }
.post-preview { position: relative; z-index: 2; width: min(340px,74%); padding: .55rem; border: 1px solid rgba(255,255,255,.42); border-radius: 19px; background: linear-gradient(145deg,rgba(255,255,255,.34),rgba(255,255,255,.07) 26%,rgba(27,28,30,.94) 28%); box-shadow: 0 45px 100px -47px rgba(0,0,0,.94),0 0 0 8px rgba(255,255,255,.025),inset 0 1px rgba(255,255,255,.44); transform: rotateY(-10deg) rotateZ(3deg); animation: preview-float 7s ease-in-out infinite; }
.post-preview-head { display: flex; align-items: center; gap: .55rem; padding: .48rem .42rem .65rem; color: #f9f8f4; }
.post-preview-head .avatar { width: 29px; height: 29px; border: 1.5px solid #ffb45d; }
.post-preview-head strong, .post-preview-head small { display: block; }
.post-preview-head strong { font-size: .72rem; }
.post-preview-head small { margin-top: .06rem; color: #9b9b96; font-size: .56rem; }
.preview-menu { margin-left: auto; color: #a8a8a3; letter-spacing: .12em; }
.post-preview-photo { position: relative; aspect-ratio: .91; overflow: hidden; border-radius: 11px; background: #222; }
.post-preview-photo img { width: 100%; height: 100%; object-fit: cover; animation: photo-breathe 16s ease-in-out infinite alternate; }
.photo-index { position: absolute; right: .65rem; bottom: .65rem; padding: .25rem .4rem; border: 1px solid rgba(255,255,255,.25); border-radius: 5px; color: white; background: rgba(0,0,0,.36); font: .52rem var(--font-mono); backdrop-filter: blur(10px); }
.post-preview-foot { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: .7rem .5rem .35rem; color: #f4f2ec; }
.preview-reactions { display: flex; gap: .63rem; }
.preview-reactions .icon, .preview-save .icon { width: 15px; height: 15px; }
.preview-reactions .icon:first-child { color: #ff795e; }
.post-preview-foot p, .post-preview-foot > small { grid-column: 1 / -1; margin-top: .56rem; font-size: .62rem; line-height: 1.45; }
.post-preview-foot p strong { margin-right: .2rem; }
.post-preview-foot > small { margin-top: .22rem; color: #c18c72; font-size: .55rem; }
.orbit { position: absolute; z-index: 0; width: 112%; height: 40%; border: 1px solid rgba(255,192,145,.21); border-radius: 50%; }
.orbit-a { transform: rotate(-28deg); animation: orbit-turn 26s linear infinite; }
.orbit-b { width: 90%; height: 70%; transform: rotate(53deg); border-color: rgba(255,255,255,.1); animation: orbit-turn 32s linear infinite reverse; }
.stage-coordinate { z-index: 1; color: rgba(255,255,255,.34); font-size: .54rem; letter-spacing: .16em; }
.stage-coordinate span { padding: 0 .4rem; color: var(--accent-1); }
.coordinate-top { position: absolute; top: 7%; left: 2%; }
.coordinate-bottom { position: absolute; right: 1%; bottom: 7%; }
.float-card { position: absolute; z-index: 4; display: flex; align-items: center; gap: .62rem; padding: .72rem .8rem; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; background: rgba(24,24,25,.76); box-shadow: 0 20px 40px -27px rgba(0,0,0,.85), inset 0 1px rgba(255,255,255,.07); backdrop-filter: blur(18px); animation: float-card 6s ease-in-out infinite; }
.float-card small { display: block; color: var(--text-3); font-size: .49rem; letter-spacing: .1em; }
.float-card b { display: block; margin-top: .2rem; color: #f3f0e9; font-size: .71rem; font-weight: 600; }
.float-card em { color: #ff8a65; font-style: normal; }
.float-icon { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 9px; color: #ff9b73; background: rgba(255,104,71,.14); }
.float-icon .icon { width: 16px; height: 16px; }
.float-schedule { top: 17%; left: -1%; animation-delay: -1.5s; }
.float-caption { right: -2%; bottom: 20%; animation-delay: -3.2s; }
.float-live { display: flex; align-items: center; gap: .3rem; margin-left: .15rem; color: var(--accent-3); font: .51rem var(--font-mono); letter-spacing: .06em; }
.float-live i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; box-shadow: 0 0 9px currentColor; }
.float-check { display: grid; width: 22px; height: 22px; place-items: center; margin-left: .3rem; border-radius: 50%; color: #18210f; background: var(--accent-3); }
.float-check .icon { width: 13px; height: 13px; }
.workflow-strip { display: grid; grid-template-columns: 1.05fr repeat(3,1fr); gap: 1.4rem; padding: 2.1rem 0 2.4rem; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); scroll-margin-top: 100px; }
.workflow-title { display: flex; flex-direction: column; justify-content: center; gap: .8rem; padding-right: 1rem; border-right: 1px solid var(--border); }
.workflow-title > span { color: var(--accent-1); font-size: .61rem; }
.workflow-title strong { font: 600 clamp(1.15rem,2vw,1.55rem)/1.07 var(--font-display); letter-spacing: -.055em; }
.workflow-strip article { position: relative; padding: .1rem .55rem .1rem .2rem; }
.workflow-number { position: absolute; top: 0; right: .6rem; color: rgba(255,255,255,.14); font: .64rem var(--font-mono); }
.workflow-icon { display: grid; width: 36px; height: 36px; place-items: center; margin-bottom: .85rem; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; color: #ff9a70; background: linear-gradient(145deg,rgba(255,104,71,.12),rgba(255,255,255,.025)); }
.workflow-icon .icon { width: 17px; height: 17px; }
.workflow-strip h3 { font-size: 1rem; letter-spacing: -.04em; }
.workflow-strip p { max-width: 18rem; margin-top: .38rem; color: var(--text-3); font-size: .75rem; line-height: 1.6; }
.toolkit { padding: 6.4rem 0 5.4rem; scroll-margin-top: 95px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.section-heading h2 { margin-top: .8rem; }
.section-heading > p { max-width: 22rem; margin-bottom: .35rem; color: var(--text-3); font-size: .88rem; line-height: 1.6; }
.feature-bento { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .9rem; }
.feature-card { position: relative; min-height: 236px; padding: 1.35rem; overflow: hidden; border: 1px solid rgba(255,255,255,.09); border-radius: 16px; background: linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.02)); transition: transform .35s var(--ease), border-color .3s, background .3s; }
.feature-card:hover { transform: translateY(-5px); border-color: rgba(255,155,112,.26); background: linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.025)); }
.feature-card-primary { grid-column: span 2; grid-row: span 2; min-height: 495px; background: radial-gradient(ellipse at 65% 18%,rgba(255,104,71,.11),transparent 45%),linear-gradient(145deg,rgba(255,255,255,.06),rgba(255,255,255,.018)); }
.feature-card-wide { grid-column: auto; display: flex; flex-direction: column; align-items: flex-start; gap: .1rem; min-height: 236px; }
.feature-card-wide > div:nth-child(2) { width: 100%; }
.feature-icon { display: grid; width: 42px; height: 42px; place-items: center; margin-bottom: 1.15rem; border: 1px solid rgba(255,155,112,.15); border-radius: 12px; color: #ff9973; background: rgba(255,104,71,.1); }
.feature-icon .icon { width: 19px; height: 19px; }
.feature-icon-violet { color: #bda3ff; border-color: rgba(170,138,255,.17); background: rgba(126,96,202,.12); }
.feature-icon-lime { color: var(--accent-3); border-color: rgba(199,243,107,.18); background: rgba(199,243,107,.08); }
.feature-index { display: block; margin-bottom: .55rem; color: var(--text-3); font-size: .55rem; letter-spacing: .12em; }
.feature-card h3 { font-size: 1.15rem; letter-spacing: -.05em; }
.feature-card p { margin-top: .45rem; color: var(--text-3); font-size: .78rem; line-height: 1.6; }
.feature-card-wide .feature-icon { flex: none; margin: 0 0 1.15rem; }
.feature-card-wide h3 { font-size: 1.08rem; }
.feature-card-wide p { max-width: 27rem; }
.feature-card-wide .icon-link { position: absolute; right: 1.3rem; bottom: 1.3rem; }
.icon-link { display: grid; width: 39px; height: 39px; flex: none; place-items: center; margin-left: auto; border: 1px solid var(--border-strong); border-radius: 50%; color: var(--text); text-decoration: none; transition: background .25s, transform .25s var(--ease); }
.icon-link:hover { transform: rotate(-35deg); color: #fff; border-color: transparent; background: var(--gradient); }
.feature-art { position: relative; display: grid; min-height: 230px; place-items: center; margin: -1.35rem -1.35rem 1.25rem; overflow: hidden; background: radial-gradient(ellipse,rgba(255,116,75,.18),transparent 62%); }
.feature-art::before { content: ''; position: absolute; inset: 0; opacity: .28; background: linear-gradient(rgba(255,255,255,.075) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.075) 1px,transparent 1px); background-size: 27px 27px; mask-image: radial-gradient(ellipse,black,transparent 75%); }
.calendar-core { position: relative; z-index: 1; display: grid; width: 110px; height: 110px; align-content: center; justify-items: center; gap: .55rem; border: 1px solid rgba(255,255,255,.48); border-radius: 29px; color: #fff7eb; background: linear-gradient(145deg,rgba(255,141,91,.94),rgba(207,71,51,.94)); box-shadow: 0 0 0 9px rgba(255,255,255,.035),0 25px 70px -22px rgba(255,104,71,.68),inset 0 1px rgba(255,255,255,.6); transform: rotate(-8deg); animation: core-float 5.5s ease-in-out infinite; }
.calendar-core .icon { width: 24px; height: 24px; }
.calendar-core span { font: .67rem var(--font-mono); letter-spacing: .08em; }
.calendar-orbit { position: absolute; width: 84%; height: 47%; border: 1px solid rgba(255,197,148,.26); border-radius: 50%; }
.calendar-orbit.orbit-a { transform: rotate(-22deg); animation: orbit-turn 22s linear infinite; }
.calendar-orbit.orbit-b { width: 53%; height: 97%; transform: rotate(36deg); border-color: rgba(255,255,255,.12); animation: orbit-turn 29s linear infinite reverse; }
.calendar-spark { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #d0f58a; box-shadow: 0 0 15px #c7f36b; }
.spark-one { top: 24%; right: 25%; animation: satellite-drift 5s ease-in-out infinite; }
.spark-two { bottom: 27%; left: 23%; width: 5px; height: 5px; background: #ffb36c; box-shadow: 0 0 14px #ff9868; animation: satellite-drift 6s ease-in-out infinite reverse; }
.landing-cta { position: relative; display: flex; flex-direction: column; align-items: center; min-height: 370px; justify-content: center; overflow: hidden; margin: 0 0 3rem; padding: 3.5rem 1.5rem; border: 1px solid rgba(255,255,255,.1); border-radius: 22px; text-align: center; background: radial-gradient(ellipse 32rem 20rem at 50% 54%,rgba(255,104,71,.14),transparent 75%),linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.012)); }
.landing-cta .signal-label, .landing-cta h2, .landing-cta p, .landing-cta .btn { position: relative; z-index: 1; }
.landing-cta h2 { margin: 1.15rem 0 .7rem; font-size: clamp(3rem,6vw,5rem); line-height: .9; letter-spacing: -.09em; }
.landing-cta p { margin-bottom: 1.5rem; color: var(--text-2); font-size: .9rem; }
.cta-orbit { position: absolute; width: 77%; height: 180%; border: 1px solid rgba(255,183,137,.1); border-radius: 50%; }
.cta-orbit-one { transform: rotate(18deg); animation: orbit-turn 46s linear infinite; }
.cta-orbit-two { width: 56%; transform: rotate(-31deg); border-color: rgba(255,255,255,.06); animation: orbit-turn 58s linear infinite reverse; }
.landing-foot { padding: 1.5rem clamp(1.25rem,5vw,5.5rem) 2rem; border-top: 1px solid var(--border); color: var(--text-3); font-size: .72rem; }
.landing-foot a { color: var(--text-2); text-decoration: none; }
.landing-foot a:hover { color: var(--text); }

/* Sign-in: quiet counterpart to the loud creator stage. */
.auth { min-height: 100vh; grid-template-columns: minmax(0,1.15fr) minmax(390px,.85fr); background: var(--bg); }
.auth-art { position: relative; min-height: 100vh; overflow: hidden; padding: clamp(2rem,5vw,5.5rem); background: radial-gradient(ellipse at 73% 51%,rgba(255,113,71,.24),transparent 42%),linear-gradient(140deg,#151516,#0c0d0f 58%,#18110d); }
.auth-art::before { content: ''; position: absolute; width: 64vw; height: 64vw; right: -30%; top: 8%; border: 1px solid rgba(255,190,144,.16); border-radius: 50%; box-shadow: 0 0 0 42px rgba(255,255,255,.018),0 0 0 88px rgba(255,255,255,.012),0 0 0 136px rgba(255,255,255,.01); animation: orbit-turn 70s linear infinite; }
.auth-art::after { content: ''; position: absolute; width: 29vw; height: 29vw; right: 4%; top: 26%; border: 1px solid rgba(255,180,129,.15); border-radius: 30%; transform: rotate(31deg); animation: auth-float 8s ease-in-out infinite; }
.auth-art > * { position: relative; z-index: 2; }
.auth-art .brand { color: #f4f1e8; }
.auth-quote { max-width: 7.8ch; margin-top: 25vh; font: 600 clamp(3rem,4.5vw,4.3rem)/.93 var(--font-display); letter-spacing: -.09em; }
.auth-art .muted { max-width: 25rem; color: rgba(245,241,233,.62); }
.auth-art .row { color: rgba(245,241,233,.55); font-size: .72rem; }
.auth-signal-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: .65rem; width: max-content; max-width: 240px; height: auto; padding: .7rem .82rem; border: 1px solid rgba(255,255,255,.2); border-radius: 11px; color: #f7f4ed; background: rgba(29,26,24,.73); box-shadow: 0 18px 38px -25px rgba(0,0,0,.9),inset 0 1px rgba(255,255,255,.08); backdrop-filter: blur(18px); animation: float-card 6s ease-in-out infinite; }
.auth-signal-card > .icon { width: 17px; height: 17px; flex: none; color: #ff9c76; }
.auth-signal-card b, .auth-signal-card span { display: block; }
.auth-signal-card b { font-size: .68rem; font-weight: 600; }
.auth-signal-card span { margin-top: .16rem; color: rgba(255,255,255,.55); font-size: .59rem; }
.auth-signal-top { top: 22%; right: 9%; }
.auth-signal-bottom { right: 15%; bottom: 20%; animation-delay: -3s; }
.auth-form-wrap { position: relative; display: grid; place-items: center; min-height: 100vh; padding: 2rem; background: rgba(9,10,12,.76); }
.auth-card { width: min(100%,430px); padding: clamp(1.5rem,3vw,2.5rem); border: 1px solid var(--border); border-radius: 20px; background: linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.018)); box-shadow: var(--shadow); }
.auth-card h1 { margin-top: 1.7rem; font-size: clamp(2.1rem,4vw,3.2rem); letter-spacing: -.08em; }
.auth-card > .muted { margin-top: .6rem; font-size: .92rem; }
.auth-card .field-label { font-size: .77rem; }
.auth-card input { height: 48px; border-radius: 10px; }
.auth-card .btn-block { height: 48px; }
.auth-card .legal-links { color: var(--text-3); font-size: .7rem; }
#mobile-brand { display: none; }

/* Motion: moving light and controlled entrances, with a full reduced-motion path. */
@keyframes ambient-drift { from { transform: translate3d(-.5%,0,0) scale(1); } to { transform: translate3d(.7%,1.5%,0) scale(1.025); } }
@keyframes page-arrive { from { opacity: 0; transform: translateY(13px); filter: blur(3px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }
@keyframes signal-ping { 0% { box-shadow: 0 0 0 0 rgba(199,243,107,.36); } 75%,100% { box-shadow: 0 0 0 7px rgba(199,243,107,0); } }
@keyframes orbit-turn { to { rotate: 360deg; } }
@keyframes core-float { 0%,100% { translate: 0 0; } 50% { translate: 0 -9px; } }
@keyframes satellite-drift { 0%,100% { translate: 0 0; } 50% { translate: 4px -8px; } }
@keyframes stage-glow { from { opacity: .55; transform: scale(.9); } to { opacity: .95; transform: scale(1.08); } }
@keyframes float-card { 0%,100% { translate: 0 0; } 50% { translate: 0 -9px; } }
@keyframes preview-float { 0%,100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -8px; rotate: .7deg; } }
@keyframes photo-breathe { from { transform: scale(1); } to { transform: scale(1.055); } }
@keyframes auth-float { 0%,100% { translate: 0 0; rotate: 31deg; } 50% { translate: 0 -14px; rotate: 35deg; } }
@keyframes skeleton-shimmer { to { background-position: -220% 0; } }

@media (max-width: 1100px) {
  :root { --sidebar-w: 232px; }
  .main { padding-inline: 1.5rem; }
  .landing-hero { grid-template-columns: minmax(0,1fr) minmax(360px,.9fr); gap: 1.5rem; }
  .landing-stage { min-height: 500px; }
  .landing-copy h1 { font-size: clamp(3.45rem,7vw,5.5rem); }
  .float-schedule { left: -3%; }
  .float-caption { right: -3%; }
}
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { width: min(320px,88vw); transform: translateX(-105%); transition: transform .35s var(--ease); }
  .shell.nav-open .sidebar { transform: translateX(0); }
  .main { padding: 1rem 1.25rem 3rem; }
  .topbar { position: sticky; top: 0; z-index: 25; display: flex; align-items: center; justify-content: space-between; height: 60px; padding: 0 1rem; border-bottom: 1px solid var(--border); background: rgba(9,10,12,.82); backdrop-filter: blur(18px); }
  .topbar .brand { font-size: 1.02rem; }
  .topbar .brand-mark { width: 29px; height: 29px; }
  .topbar .brand::after { content: ''; }
  .landing-nav { padding-inline: 1.25rem; }
  .landing-links { padding-left: 0; }
  .auth { grid-template-columns: minmax(0,1fr) minmax(360px,.9fr); }
  .hero-card, .hero-card + .broadcast-card { min-height: 260px; }
  .hero-card { padding: 1.5rem; }
}
@media (max-width: 700px) {
  .landing-links { display: none; }
  .landing-nav { height: 66px; }
  .brand-edition { display: none; }
  .landing-page { padding-inline: 1.15rem; }
  .landing-hero { grid-template-columns: 1fr; min-height: auto; gap: .7rem; padding: 4.2rem 0 2.5rem; }
  .landing-copy h1 { font-size: clamp(3.3rem,14vw,5.3rem); }
  .landing-copy .lead { max-width: 36rem; font-size: .98rem; }
  .landing-stage { min-height: 480px; margin: -.2rem -1rem 0; }
  .post-preview { width: min(320px,68%); }
  .float-schedule { left: 1%; }
  .float-caption { right: 0; }
  .workflow-strip { grid-template-columns: repeat(3,1fr); gap: 1rem; }
  .workflow-title { grid-column: 1/-1; border: 0; padding: 0 0 .4rem; }
  .workflow-title strong br { display: none; }
  .workflow-strip article { padding: 0; }
  .workflow-number { right: 0; }
  .workflow-strip p { font-size: .71rem; }
  .toolkit { padding: 4.4rem 0 3.2rem; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: .8rem; }
  .section-heading > p { margin: 0; }
  .feature-bento { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .feature-card-primary { min-height: 460px; grid-row: auto; }
  .feature-card-wide { grid-column: auto; }
  .landing-cta { min-height: 340px; }
  .auth { grid-template-columns: 1fr; }
  .auth-art { display: none; }
  .auth-form-wrap { min-height: 100vh; padding: 1.25rem; }
  .auth-card { border: 0; background: transparent; box-shadow: none; padding: 1.5rem .4rem; }
  #mobile-brand { display: inline-flex; }
  .auth-card h1 { margin-top: 2.6rem; }
  .studio-date { max-width: 48%; overflow: hidden; text-overflow: ellipsis; font-size: .56rem; }
  .studio-date-sep { display: none; }
  .studio-breadcrumb { gap: .4rem; font-size: .54rem; }
  .studio-breadcrumb strong { font-size: .7rem; }
  .hero-card, .hero-card + .broadcast-card { min-height: 244px; }
  .hero-card .hero-top, .hero-card .hero-actions { max-width: 75%; }
  .hero-card .hero-top h1 { font-size: clamp(1.8rem,6.2vw,2.35rem); }
  .stage-visual { right: -4%; width: 34%; opacity: .78; }
  .stage-coordinate { display: none; }
  .hero-card .hero-actions { margin-top: 1.4rem; }
  #tab > .bento > .metric-tile { min-height: 110px; padding: .9rem; }
  .metric-tile .stat-value { font-size: 1.6rem; }
}
@media (max-width: 500px) {
  h1 { font-size: 2.3rem; }
  .landing-nav { padding-inline: .95rem; }
  .landing-nav .btn { height: 35px; padding-inline: .65rem; font-size: .75rem; }
  .landing-nav .brand { font-size: 1rem; }
  .landing-nav .brand-mark { width: 29px; height: 29px; }
  .landing-actions { align-items: stretch; flex-direction: column; }
  .landing-actions .btn { width: 100%; }
  .landing-proof { gap: .38rem; font-size: .61rem; }
  .landing-stage { min-height: 410px; }
  .post-preview { width: 70%; }
  .float-card { gap: .43rem; padding: .55rem .58rem; }
  .float-card b { font-size: .62rem; }
  .float-card small { font-size: .43rem; }
  .float-icon { width: 27px; height: 27px; }
  .float-schedule { left: 0; top: 13%; }
  .float-caption { right: 0; bottom: 14%; }
  .float-live { display: none; }
  .workflow-strip { gap: .65rem; }
  .workflow-icon { width: 31px; height: 31px; margin-bottom: .65rem; }
  .workflow-strip h3 { font-size: .87rem; }
  .workflow-strip p { font-size: .64rem; }
  .feature-bento { grid-template-columns: 1fr; }
  .feature-card, .feature-card-primary { grid-column: 1; grid-row: auto; min-height: 205px; }
  .feature-card-primary { min-height: 445px; }
  .feature-card-wide { align-items: flex-start; }
  .feature-card-wide > div:nth-child(2) { min-width: 0; }
  .feature-card-wide .feature-icon { width: 36px; height: 36px; }
  .landing-cta h2 { font-size: 3.4rem; }
  .main { padding-inline: .85rem; }
  .studio-toolbar { align-items: flex-start; }
  .hero-card { padding: 1.2rem; }
  .hero-card .hero-top, .hero-card .hero-actions { max-width: 100%; }
  .stage-visual { top: 34%; right: -12%; width: 45%; opacity: .24; }
  .hero-card .hero-actions { padding-right: 0; }
  .hero-card .hero-actions .btn { height: 36px; padding-inline: .65rem; font-size: .75rem; }
  .hero-card .hero-actions .btn-ghost { display: none; }
  .broadcast-card .countdown { font-size: 2.7rem; }
  #tab > .bento > .metric-tile { grid-column: span 6; }
  .tabs { gap: .05rem; }
  .tabs a { gap: .3rem; padding-inline: .55rem; font-size: .71rem; }
  .tabs a .icon { width: 14px; height: 14px; }
  .page-head { align-items: flex-start; }
  .auth-card { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
